@verdocs/web-sdk 1.14.12 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/dist/cjs/{EnvelopeStore-a4231cf7.js → EnvelopeStore-00d2572c.js} +1 -1
  2. package/dist/cjs/{Envelopes-e5ffb6a5.js → Envelopes-43302e10.js} +17 -0
  3. package/dist/cjs/{Permissions-4b710db2.js → Permissions-0229bc30.js} +14 -0
  4. package/dist/cjs/{TemplateStore-f2fb6a62.js → TemplateStore-fe148e97.js} +2 -2
  5. package/dist/cjs/{Templates-24580a13.js → Templates-1a86703d.js} +56 -0
  6. package/dist/cjs/{VerdocsEndpoint-e6517a50.js → VerdocsEndpoint-cb0b1329.js} +138 -32
  7. package/dist/cjs/{index-6528b430.js → index-7c19ba1d.js} +63 -219
  8. package/dist/cjs/ipc-test.cjs.entry.js +37 -0
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/{utils-f4efefe3.js → utils-2c6835c6.js} +15 -4
  11. package/dist/cjs/verdocs-activity-box.cjs.entry.js +132 -0
  12. package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-build.cjs.entry.js +3 -3
  14. package/dist/cjs/verdocs-button-panel_3.cjs.entry.js +4 -4
  15. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-dropdown.cjs.entry.js +88 -0
  17. package/dist/cjs/{verdocs-template-document-page.cjs.entry.js → verdocs-envelope-document-page.cjs.entry.js} +14 -14
  18. package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +4 -4
  19. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +5 -5
  20. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +247 -0
  21. package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/verdocs-field-date.cjs.entry.js +3 -3
  23. package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +3 -3
  24. package/dist/cjs/verdocs-field-initial.cjs.entry.js +3 -3
  25. package/dist/cjs/verdocs-field-payment.cjs.entry.js +3 -3
  26. package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +3 -3
  27. package/dist/cjs/verdocs-field-signature.cjs.entry.js +3 -3
  28. package/dist/cjs/verdocs-field-textarea.cjs.entry.js +4 -4
  29. package/dist/cjs/verdocs-field-textbox.cjs.entry.js +4 -4
  30. package/dist/cjs/verdocs-field-timestamp.cjs.entry.js +3 -3
  31. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
  32. package/dist/cjs/verdocs-organization-card.cjs.entry.js +1 -1
  33. package/dist/cjs/{verdocs-status-indicator.cjs.entry.js → verdocs-pagination_4.cjs.entry.js} +162 -1
  34. package/dist/cjs/verdocs-preview.cjs.entry.js +6 -6
  35. package/dist/cjs/verdocs-quick-functions_3.cjs.entry.js +2 -2
  36. package/dist/cjs/verdocs-radio-button.cjs.entry.js +23 -0
  37. package/dist/cjs/verdocs-search.cjs.entry.js +1 -1
  38. package/dist/cjs/verdocs-send.cjs.entry.js +6 -6
  39. package/dist/cjs/verdocs-sign.cjs.entry.js +4 -4
  40. package/dist/cjs/verdocs-template-attachments_2.cjs.entry.js +236 -0
  41. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +150 -0
  42. package/dist/cjs/{verdocs-template-attachments_4.cjs.entry.js → verdocs-template-fields_4.cjs.entry.js} +242 -233
  43. package/dist/cjs/verdocs-template-name.cjs.entry.js +3 -3
  44. package/dist/cjs/verdocs-template-reminders.cjs.entry.js +13 -3
  45. package/dist/cjs/verdocs-template-visibility.cjs.entry.js +3 -3
  46. package/dist/cjs/verdocs-templates-list.cjs.entry.js +235 -0
  47. package/dist/cjs/verdocs-view.cjs.entry.js +5 -5
  48. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  49. package/dist/collection/collection-manifest.json +8 -1
  50. package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.stories.js +2 -2
  51. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.css +36 -0
  52. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +129 -0
  53. package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.stories.js +19 -0
  54. package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.css +97 -0
  55. package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +204 -0
  56. package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.stories.js +16 -0
  57. package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.css +3 -5
  58. package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.css +15 -0
  59. package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +71 -0
  60. package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.stories.js +10 -0
  61. package/dist/collection/components/envelopes/verdocs-activity-box/verdocs-activity-box.css +130 -0
  62. package/dist/collection/components/envelopes/verdocs-activity-box/verdocs-activity-box.js +246 -0
  63. package/dist/collection/components/envelopes/verdocs-activity-box/verdocs-activity-box.stories.js +15 -0
  64. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.css +99 -0
  65. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +463 -0
  66. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.stories.js +18 -0
  67. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +1 -2
  68. package/dist/collection/components/other/ipctest/ipc-test.css +4 -0
  69. package/dist/collection/components/other/ipctest/ipc-test.js +79 -0
  70. package/dist/collection/components/other/ipctest/ipc-test.stories.js +8 -0
  71. package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.css +48 -0
  72. package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +470 -0
  73. package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.stories.js +16 -0
  74. package/dist/collection/utils/utils.js +12 -2
  75. package/dist/components/Envelopes.js +17 -1
  76. package/dist/components/Permissions.js +13 -1
  77. package/dist/components/TemplateStore.js +1 -1
  78. package/dist/components/Templates.js +56 -1
  79. package/dist/components/VerdocsEndpoint.js +136 -31
  80. package/dist/components/index.d.ts +7 -0
  81. package/dist/components/index.js +7 -0
  82. package/dist/components/index2.js +63 -219
  83. package/dist/components/ipc-test.d.ts +11 -0
  84. package/dist/components/ipc-test.js +142 -0
  85. package/dist/components/utils.js +13 -3
  86. package/dist/components/verdocs-activity-box.d.ts +11 -0
  87. package/dist/components/verdocs-activity-box.js +161 -0
  88. package/dist/components/verdocs-envelope-recipient-summary2.js +1 -1
  89. package/dist/components/verdocs-envelopes-list.d.ts +11 -0
  90. package/dist/components/verdocs-envelopes-list.js +324 -0
  91. package/dist/components/verdocs-field-textarea.js +1 -1
  92. package/dist/components/verdocs-field-textbox.js +1 -1
  93. package/dist/components/verdocs-pagination.d.ts +11 -0
  94. package/dist/components/verdocs-pagination.js +6 -0
  95. package/dist/components/verdocs-pagination2.js +65 -0
  96. package/dist/components/verdocs-quick-filter.d.ts +11 -0
  97. package/dist/components/verdocs-quick-filter.js +6 -0
  98. package/dist/components/verdocs-quick-filter2.js +113 -0
  99. package/dist/components/verdocs-search-activity2.js +1 -1
  100. package/dist/components/verdocs-select-input2.js +1 -1
  101. package/dist/components/verdocs-sign.js +1 -1
  102. package/dist/components/verdocs-spinner.d.ts +11 -0
  103. package/dist/components/verdocs-spinner.js +6 -0
  104. package/dist/components/verdocs-spinner2.js +42 -0
  105. package/dist/components/verdocs-status-indicator.js +1 -7463
  106. package/dist/{esm/verdocs-status-indicator.entry.js → components/verdocs-status-indicator2.js} +31 -9
  107. package/dist/components/verdocs-template-attachments2.js +1 -1
  108. package/dist/components/verdocs-template-create2.js +1 -1
  109. package/dist/components/verdocs-template-document-page2.js +1 -1
  110. package/dist/components/verdocs-template-field-properties2.js +1 -1
  111. package/dist/components/verdocs-template-fields2.js +2 -2
  112. package/dist/components/verdocs-template-name.js +1 -1
  113. package/dist/components/verdocs-template-reminders.js +10 -0
  114. package/dist/components/verdocs-template-roles2.js +1 -1
  115. package/dist/components/verdocs-template-sender2.js +1 -1
  116. package/dist/components/verdocs-template-visibility.js +1 -1
  117. package/dist/components/verdocs-templates-list.d.ts +11 -0
  118. package/dist/components/verdocs-templates-list.js +287 -0
  119. package/dist/components/verdocs-view2.js +2 -2
  120. package/dist/docs.json +980 -64
  121. package/dist/esm/{EnvelopeStore-28f5d8f5.js → EnvelopeStore-2a74a367.js} +1 -1
  122. package/dist/esm/{Envelopes-105a4a8f.js → Envelopes-e69b678a.js} +17 -1
  123. package/dist/esm/{Permissions-7192ef7c.js → Permissions-2ac18553.js} +13 -1
  124. package/dist/esm/{TemplateStore-87c99dfc.js → TemplateStore-c15956ae.js} +2 -2
  125. package/dist/esm/{Templates-67172396.js → Templates-3760f311.js} +56 -1
  126. package/dist/esm/{VerdocsEndpoint-6d7a17ce.js → VerdocsEndpoint-45286fc7.js} +136 -31
  127. package/dist/esm/{index-d264c496.js → index-914ed6f7.js} +63 -219
  128. package/dist/esm/ipc-test.entry.js +33 -0
  129. package/dist/esm/loader.js +1 -1
  130. package/dist/esm/{utils-1bb75f32.js → utils-a8284581.js} +15 -5
  131. package/dist/esm/verdocs-activity-box.entry.js +128 -0
  132. package/dist/esm/verdocs-auth.entry.js +1 -1
  133. package/dist/esm/verdocs-build.entry.js +3 -3
  134. package/dist/esm/verdocs-button-panel_3.entry.js +4 -4
  135. package/dist/esm/verdocs-contact-picker.entry.js +1 -1
  136. package/dist/esm/verdocs-dropdown.entry.js +84 -0
  137. package/dist/esm/{verdocs-template-document-page.entry.js → verdocs-envelope-document-page.entry.js} +14 -14
  138. package/dist/esm/verdocs-envelope-recipient-summary.entry.js +4 -4
  139. package/dist/esm/verdocs-envelope-sidebar.entry.js +5 -5
  140. package/dist/esm/verdocs-envelopes-list.entry.js +243 -0
  141. package/dist/esm/verdocs-field-checkbox.entry.js +3 -3
  142. package/dist/esm/verdocs-field-date.entry.js +3 -3
  143. package/dist/esm/verdocs-field-dropdown.entry.js +3 -3
  144. package/dist/esm/verdocs-field-initial.entry.js +3 -3
  145. package/dist/esm/verdocs-field-payment.entry.js +3 -3
  146. package/dist/esm/verdocs-field-radio-button.entry.js +3 -3
  147. package/dist/esm/verdocs-field-signature.entry.js +3 -3
  148. package/dist/esm/verdocs-field-textarea.entry.js +4 -4
  149. package/dist/esm/verdocs-field-textbox.entry.js +4 -4
  150. package/dist/esm/verdocs-field-timestamp.entry.js +3 -3
  151. package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
  152. package/dist/esm/verdocs-organization-card.entry.js +1 -1
  153. package/dist/esm/verdocs-pagination_4.entry.js +7600 -0
  154. package/dist/esm/verdocs-preview.entry.js +6 -6
  155. package/dist/esm/verdocs-quick-functions_3.entry.js +2 -2
  156. package/dist/esm/verdocs-radio-button.entry.js +19 -0
  157. package/dist/esm/verdocs-search.entry.js +1 -1
  158. package/dist/esm/verdocs-send.entry.js +6 -6
  159. package/dist/esm/verdocs-sign.entry.js +4 -4
  160. package/dist/esm/verdocs-template-attachments_2.entry.js +231 -0
  161. package/dist/esm/verdocs-template-document-page_2.entry.js +145 -0
  162. package/dist/esm/{verdocs-template-attachments_4.entry.js → verdocs-template-fields_4.entry.js} +239 -230
  163. package/dist/esm/verdocs-template-name.entry.js +3 -3
  164. package/dist/esm/verdocs-template-reminders.entry.js +13 -3
  165. package/dist/esm/verdocs-template-visibility.entry.js +3 -3
  166. package/dist/esm/verdocs-templates-list.entry.js +231 -0
  167. package/dist/esm/verdocs-view.entry.js +5 -5
  168. package/dist/esm/verdocs-web-sdk.js +1 -1
  169. package/dist/esm-es5/{EnvelopeStore-28f5d8f5.js → EnvelopeStore-2a74a367.js} +1 -1
  170. package/dist/esm-es5/Envelopes-e69b678a.js +1 -0
  171. package/dist/esm-es5/{Permissions-7192ef7c.js → Permissions-2ac18553.js} +1 -1
  172. package/dist/esm-es5/{TemplateStore-87c99dfc.js → TemplateStore-c15956ae.js} +1 -1
  173. package/dist/esm-es5/Templates-3760f311.js +1 -0
  174. package/dist/esm-es5/VerdocsEndpoint-45286fc7.js +1 -0
  175. package/dist/esm-es5/index-914ed6f7.js +1 -0
  176. package/dist/esm-es5/ipc-test.entry.js +1 -0
  177. package/dist/esm-es5/loader.js +1 -1
  178. package/dist/esm-es5/{utils-1bb75f32.js → utils-a8284581.js} +2 -2
  179. package/dist/esm-es5/verdocs-activity-box.entry.js +1 -0
  180. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  181. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  182. package/dist/esm-es5/verdocs-button-panel_3.entry.js +1 -1
  183. package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
  184. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -0
  185. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -0
  186. package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
  187. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  188. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -0
  189. package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -1
  190. package/dist/esm-es5/verdocs-field-date.entry.js +1 -1
  191. package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -1
  192. package/dist/esm-es5/verdocs-field-initial.entry.js +1 -1
  193. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  194. package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -1
  195. package/dist/esm-es5/verdocs-field-signature.entry.js +1 -1
  196. package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -1
  197. package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -1
  198. package/dist/esm-es5/verdocs-field-timestamp.entry.js +1 -1
  199. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  200. package/dist/esm-es5/verdocs-organization-card.entry.js +1 -1
  201. package/dist/esm-es5/verdocs-pagination_4.entry.js +1 -0
  202. package/dist/esm-es5/verdocs-preview.entry.js +1 -1
  203. package/dist/esm-es5/verdocs-quick-functions_3.entry.js +1 -1
  204. package/dist/esm-es5/verdocs-radio-button.entry.js +1 -0
  205. package/dist/esm-es5/verdocs-search.entry.js +1 -1
  206. package/dist/esm-es5/verdocs-send.entry.js +1 -1
  207. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  208. package/dist/esm-es5/verdocs-template-attachments_2.entry.js +1 -0
  209. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -0
  210. package/dist/esm-es5/verdocs-template-fields_4.entry.js +1 -0
  211. package/dist/esm-es5/verdocs-template-name.entry.js +1 -1
  212. package/dist/esm-es5/verdocs-template-reminders.entry.js +1 -1
  213. package/dist/esm-es5/verdocs-template-visibility.entry.js +1 -1
  214. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -0
  215. package/dist/esm-es5/verdocs-view.entry.js +1 -1
  216. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  217. package/dist/types/components/controls/verdocs-dropdown/verdocs-dropdown.stories.d.ts +1 -1
  218. package/dist/types/components/controls/verdocs-pagination/verdocs-pagination.d.ts +27 -0
  219. package/dist/types/components/controls/verdocs-pagination/verdocs-pagination.stories.d.ts +9 -0
  220. package/dist/types/components/controls/verdocs-quick-filter/verdocs-quick-filter.d.ts +38 -0
  221. package/dist/types/components/controls/verdocs-quick-filter/verdocs-quick-filter.stories.d.ts +9 -0
  222. package/dist/types/components/controls/verdocs-spinner/verdocs-spinner.d.ts +8 -0
  223. package/dist/types/components/controls/verdocs-spinner/verdocs-spinner.stories.d.ts +7 -0
  224. package/dist/types/components/envelopes/verdocs-activity-box/verdocs-activity-box.d.ts +60 -0
  225. package/dist/types/components/envelopes/verdocs-activity-box/verdocs-activity-box.stories.d.ts +10 -0
  226. package/dist/types/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.d.ts +78 -0
  227. package/dist/types/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.stories.d.ts +10 -0
  228. package/dist/types/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.d.ts +1 -1
  229. package/dist/types/components/other/ipctest/ipc-test.d.ts +17 -0
  230. package/dist/types/components/other/ipctest/ipc-test.stories.d.ts +4 -0
  231. package/dist/types/components/templates/verdocs-templates-list/verdocs-templates-list.d.ts +90 -0
  232. package/dist/types/components/templates/verdocs-templates-list/verdocs-templates-list.stories.d.ts +7 -0
  233. package/dist/types/components.d.ts +336 -2
  234. package/dist/types/utils/utils.d.ts +5 -1
  235. package/dist/verdocs-web-sdk/{p-8109a994.system.entry.js → p-01de4163.system.entry.js} +1 -1
  236. package/dist/verdocs-web-sdk/p-0a5390c7.js +1 -0
  237. package/dist/verdocs-web-sdk/p-134aad4b.system.entry.js +1 -0
  238. package/dist/verdocs-web-sdk/p-138fd801.system.js +1 -0
  239. package/dist/verdocs-web-sdk/{p-2d2bdf3c.system.entry.js → p-14638f0c.system.entry.js} +1 -1
  240. package/dist/verdocs-web-sdk/p-18a67b44.system.js +1 -0
  241. package/dist/verdocs-web-sdk/{p-886461cd.system.entry.js → p-1a0cccea.system.entry.js} +1 -1
  242. package/dist/verdocs-web-sdk/p-1cf38cea.system.js +1 -1
  243. package/dist/verdocs-web-sdk/p-23686c43.entry.js +1 -0
  244. package/dist/verdocs-web-sdk/p-244414ca.entry.js +1 -0
  245. package/dist/verdocs-web-sdk/p-2730089c.system.entry.js +1 -0
  246. package/dist/verdocs-web-sdk/{p-5d19f075.entry.js → p-2a32e89a.entry.js} +1 -1
  247. package/dist/verdocs-web-sdk/{p-773a2544.system.entry.js → p-2dbe3de7.system.entry.js} +1 -1
  248. package/dist/verdocs-web-sdk/{p-25870f11.system.entry.js → p-2e164979.system.entry.js} +1 -1
  249. package/dist/verdocs-web-sdk/p-2f0cd03d.system.js +1 -0
  250. package/dist/verdocs-web-sdk/p-2ff7c8c3.entry.js +1 -0
  251. package/dist/verdocs-web-sdk/{p-ac2b339a.system.entry.js → p-3399a2a2.system.entry.js} +1 -1
  252. package/dist/verdocs-web-sdk/{p-12f0c4e0.system.entry.js → p-38434761.system.entry.js} +1 -1
  253. package/dist/verdocs-web-sdk/{p-10bb1e56.entry.js → p-3a10e87d.entry.js} +1 -1
  254. package/dist/verdocs-web-sdk/p-3ad85ae0.system.entry.js +1 -0
  255. package/dist/verdocs-web-sdk/{p-d21e9e04.system.js → p-3cac4136.system.js} +2 -2
  256. package/dist/verdocs-web-sdk/p-3d80bb1e.entry.js +1 -0
  257. package/dist/verdocs-web-sdk/{p-172f5d37.system.entry.js → p-3eccbc81.system.entry.js} +1 -1
  258. package/dist/verdocs-web-sdk/{p-bbdafeac.entry.js → p-3fadef3d.entry.js} +1 -1
  259. package/dist/verdocs-web-sdk/p-40f3a175.js +1 -0
  260. package/dist/verdocs-web-sdk/p-42acf76c.entry.js +1 -0
  261. package/dist/verdocs-web-sdk/{p-18ee4fd5.js → p-4391cd11.js} +1 -1
  262. package/dist/verdocs-web-sdk/{p-ca57cd6e.entry.js → p-46013b8a.entry.js} +1 -1
  263. package/dist/verdocs-web-sdk/{p-43f5476c.entry.js → p-4bbc74d9.entry.js} +1 -1
  264. package/dist/verdocs-web-sdk/{p-991afbb9.entry.js → p-4cdc37f8.entry.js} +1 -1
  265. package/dist/verdocs-web-sdk/{p-a5eebbfa.entry.js → p-4e02f533.entry.js} +1 -1
  266. package/dist/verdocs-web-sdk/{p-f61f02a7.entry.js → p-5b97ae56.entry.js} +1 -1
  267. package/dist/verdocs-web-sdk/{p-c7dbe82b.system.entry.js → p-5ba13ab8.system.entry.js} +1 -1
  268. package/dist/verdocs-web-sdk/{p-1c4f6ae6.entry.js → p-5c2d7886.entry.js} +1 -1
  269. package/dist/verdocs-web-sdk/{p-19450d55.system.entry.js → p-5f2d5110.system.entry.js} +1 -1
  270. package/dist/verdocs-web-sdk/{p-bf850bb9.system.entry.js → p-634a5760.system.entry.js} +1 -1
  271. package/dist/verdocs-web-sdk/p-63abfff5.system.entry.js +1 -0
  272. package/dist/verdocs-web-sdk/{p-e702cf26.entry.js → p-6c267fdd.entry.js} +1 -1
  273. package/dist/verdocs-web-sdk/p-70b42a9c.system.entry.js +1 -0
  274. package/dist/verdocs-web-sdk/{p-9dd19ab5.system.entry.js → p-72a44c93.system.entry.js} +1 -1
  275. package/dist/verdocs-web-sdk/{p-9d90ed3d.system.entry.js → p-783d4ad4.system.entry.js} +1 -1
  276. package/dist/verdocs-web-sdk/{p-2a3de488.system.entry.js → p-7b47d076.system.entry.js} +1 -1
  277. package/dist/verdocs-web-sdk/{p-204f69c7.entry.js → p-7b790d06.entry.js} +1 -1
  278. package/dist/verdocs-web-sdk/{p-7399931a.system.entry.js → p-81f2205b.system.entry.js} +1 -1
  279. package/dist/verdocs-web-sdk/p-831e2651.system.entry.js +1 -0
  280. package/dist/verdocs-web-sdk/{p-d09a9e1b.system.entry.js → p-871f33f9.system.entry.js} +1 -1
  281. package/dist/verdocs-web-sdk/p-89aac159.system.entry.js +1 -0
  282. package/dist/verdocs-web-sdk/p-8d32aca4.system.entry.js +1 -0
  283. package/dist/verdocs-web-sdk/p-90f5a645.entry.js +1 -0
  284. package/dist/verdocs-web-sdk/{p-56c65857.system.entry.js → p-90f5c0fa.system.entry.js} +1 -1
  285. package/dist/verdocs-web-sdk/{p-e5365d23.system.entry.js → p-92917e74.system.entry.js} +1 -1
  286. package/dist/verdocs-web-sdk/{p-b1ffa27a.entry.js → p-92b2d9e4.entry.js} +1 -1
  287. package/dist/verdocs-web-sdk/p-92ca2aef.system.js +1 -0
  288. package/dist/verdocs-web-sdk/p-9416d327.entry.js +1 -0
  289. package/dist/verdocs-web-sdk/{p-c0635249.system.entry.js → p-95332ec8.system.entry.js} +1 -1
  290. package/dist/verdocs-web-sdk/{p-8fcb22ea.entry.js → p-958f9e61.entry.js} +1 -1
  291. package/dist/verdocs-web-sdk/{p-a596cd4f.system.entry.js → p-9f76bbe1.system.entry.js} +1 -1
  292. package/dist/verdocs-web-sdk/p-a4391c14.entry.js +1 -0
  293. package/dist/verdocs-web-sdk/{p-8fb2cf32.js → p-a6ecbbd5.js} +2 -2
  294. package/dist/verdocs-web-sdk/p-a7eef6e9.entry.js +1 -0
  295. package/dist/verdocs-web-sdk/{p-df439631.system.entry.js → p-a824c9a6.system.entry.js} +1 -1
  296. package/dist/verdocs-web-sdk/{p-255a66f9.system.entry.js → p-aefbafc3.system.entry.js} +1 -1
  297. package/dist/verdocs-web-sdk/p-b2a0cef4.entry.js +1 -0
  298. package/dist/verdocs-web-sdk/{p-3ea489e9.js → p-c02c16e1.js} +1 -1
  299. package/dist/verdocs-web-sdk/{p-a78616fe.entry.js → p-c0d8f0db.entry.js} +1 -1
  300. package/dist/verdocs-web-sdk/p-c16d1ce1.js +1 -0
  301. package/dist/verdocs-web-sdk/p-c220af42.js +1 -0
  302. package/dist/verdocs-web-sdk/{p-017dc2a9.entry.js → p-c53aefe5.entry.js} +1 -1
  303. package/dist/verdocs-web-sdk/{p-ededd783.entry.js → p-cb17023f.entry.js} +1 -1
  304. package/dist/verdocs-web-sdk/{p-8dacb527.entry.js → p-cd0eb575.entry.js} +1 -1
  305. package/dist/verdocs-web-sdk/p-cd40a5eb.system.js +1 -0
  306. package/dist/verdocs-web-sdk/{p-1236c197.system.entry.js → p-cd5e4bb2.system.entry.js} +1 -1
  307. package/dist/verdocs-web-sdk/{p-750fabdb.entry.js → p-d0b8de8f.entry.js} +1 -1
  308. package/dist/verdocs-web-sdk/p-d497b3c1.system.entry.js +1 -0
  309. package/dist/verdocs-web-sdk/p-dc9c4361.system.js +1 -0
  310. package/dist/verdocs-web-sdk/{p-7917673a.system.entry.js → p-dee333ac.system.entry.js} +1 -1
  311. package/dist/verdocs-web-sdk/p-e2e972fc.system.entry.js +1 -0
  312. package/dist/verdocs-web-sdk/p-e34783b1.entry.js +1 -0
  313. package/dist/verdocs-web-sdk/p-e646e8ef.system.entry.js +1 -0
  314. package/dist/verdocs-web-sdk/{p-d763dac2.entry.js → p-e6512cc3.entry.js} +1 -1
  315. package/dist/verdocs-web-sdk/{p-d146b48e.entry.js → p-e72c075e.entry.js} +1 -1
  316. package/dist/verdocs-web-sdk/{p-dfbf689b.entry.js → p-e971511e.entry.js} +1 -1
  317. package/dist/verdocs-web-sdk/p-e989b3ce.entry.js +1 -0
  318. package/dist/verdocs-web-sdk/p-eac4674e.system.entry.js +1 -0
  319. package/dist/verdocs-web-sdk/p-efcde7ca.entry.js +1 -0
  320. package/dist/verdocs-web-sdk/{p-237edd0b.entry.js → p-f623b887.entry.js} +1 -1
  321. package/dist/verdocs-web-sdk/{p-8387794f.system.entry.js → p-f6594380.system.entry.js} +1 -1
  322. package/dist/verdocs-web-sdk/p-f7948e0d.js +1 -0
  323. package/dist/verdocs-web-sdk/{p-365a8a00.entry.js → p-f7ea7b36.entry.js} +1 -1
  324. package/dist/verdocs-web-sdk/{p-a6258dde.system.js → p-fb3d4091.system.js} +1 -1
  325. package/dist/verdocs-web-sdk/{p-bcda78a9.system.entry.js → p-fbd3e8df.system.entry.js} +1 -1
  326. package/dist/verdocs-web-sdk/p-fdc4e659.entry.js +1 -0
  327. package/dist/verdocs-web-sdk/{p-3a9d248d.entry.js → p-ff3e5717.entry.js} +1 -1
  328. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  329. package/package.json +3 -2
  330. package/dist/cjs/Roles-9b593b95.js +0 -28
  331. package/dist/cjs/verdocs-dropdown_2.cjs.entry.js +0 -187
  332. package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +0 -241
  333. package/dist/cjs/verdocs-toolbar-icon.cjs.entry.js +0 -51
  334. package/dist/esm/Roles-6eb459df.js +0 -24
  335. package/dist/esm/verdocs-dropdown_2.entry.js +0 -182
  336. package/dist/esm/verdocs-radio-button_3.entry.js +0 -235
  337. package/dist/esm/verdocs-toolbar-icon.entry.js +0 -47
  338. package/dist/esm-es5/Envelopes-105a4a8f.js +0 -1
  339. package/dist/esm-es5/Roles-6eb459df.js +0 -1
  340. package/dist/esm-es5/Templates-67172396.js +0 -1
  341. package/dist/esm-es5/VerdocsEndpoint-6d7a17ce.js +0 -1
  342. package/dist/esm-es5/index-d264c496.js +0 -1
  343. package/dist/esm-es5/verdocs-dropdown_2.entry.js +0 -1
  344. package/dist/esm-es5/verdocs-radio-button_3.entry.js +0 -1
  345. package/dist/esm-es5/verdocs-status-indicator.entry.js +0 -1
  346. package/dist/esm-es5/verdocs-template-attachments_4.entry.js +0 -1
  347. package/dist/esm-es5/verdocs-template-document-page.entry.js +0 -1
  348. package/dist/esm-es5/verdocs-toolbar-icon.entry.js +0 -1
  349. package/dist/verdocs-web-sdk/p-1e8d9829.entry.js +0 -1
  350. package/dist/verdocs-web-sdk/p-27846894.system.entry.js +0 -1
  351. package/dist/verdocs-web-sdk/p-2a5b951c.system.entry.js +0 -1
  352. package/dist/verdocs-web-sdk/p-365a0216.system.js +0 -1
  353. package/dist/verdocs-web-sdk/p-42aa31a9.entry.js +0 -1
  354. package/dist/verdocs-web-sdk/p-4ac861c9.system.js +0 -1
  355. package/dist/verdocs-web-sdk/p-51a3ea62.system.js +0 -1
  356. package/dist/verdocs-web-sdk/p-5df694ab.system.entry.js +0 -1
  357. package/dist/verdocs-web-sdk/p-76b73d80.entry.js +0 -1
  358. package/dist/verdocs-web-sdk/p-789dc7fe.entry.js +0 -1
  359. package/dist/verdocs-web-sdk/p-7a23c2c8.system.js +0 -1
  360. package/dist/verdocs-web-sdk/p-8027431e.js +0 -1
  361. package/dist/verdocs-web-sdk/p-807dbe83.entry.js +0 -1
  362. package/dist/verdocs-web-sdk/p-8229e6df.system.js +0 -1
  363. package/dist/verdocs-web-sdk/p-822ba467.js +0 -1
  364. package/dist/verdocs-web-sdk/p-83535db7.entry.js +0 -1
  365. package/dist/verdocs-web-sdk/p-89f34463.system.entry.js +0 -1
  366. package/dist/verdocs-web-sdk/p-8b85f402.entry.js +0 -1
  367. package/dist/verdocs-web-sdk/p-8c57f5d0.system.js +0 -1
  368. package/dist/verdocs-web-sdk/p-8fd812f4.system.js +0 -1
  369. package/dist/verdocs-web-sdk/p-a3931094.system.entry.js +0 -1
  370. package/dist/verdocs-web-sdk/p-a58691dc.entry.js +0 -1
  371. package/dist/verdocs-web-sdk/p-a654311c.system.entry.js +0 -1
  372. package/dist/verdocs-web-sdk/p-ab01f71e.js +0 -1
  373. package/dist/verdocs-web-sdk/p-ad11a39a.entry.js +0 -1
  374. package/dist/verdocs-web-sdk/p-c4c8af4c.system.entry.js +0 -1
  375. package/dist/verdocs-web-sdk/p-cf790f4f.js +0 -1
  376. package/dist/verdocs-web-sdk/p-d869c39c.js +0 -1
  377. package/dist/verdocs-web-sdk/p-ff662b13.js +0 -1
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};System.register(["./p-934a39b4.system.js","./p-d50523fd.system.js","./p-3cac4136.system.js","./p-5e0c6e7c.system.js","./p-bbee73c8.system.js","./p-18a67b44.system.js","./p-54498887.system.js","./p-327858f0.system.js","./p-7fd7152d.system.js","./p-dc9c4361.system.js"],(function(t){"use strict";var e,r,n,i,o,s,a,u;return{setters:[function(t){e=t.r;r=t.c;n=t.h;i=t.H;o=t.a},function(t){s=t.i},function(t){a=t.d},function(t){u=t.c},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var h='verdocs-pagination{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-pagination .page-button{height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;cursor:pointer;font-weight:600;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#33364b;border:1px solid #654dcb}verdocs-pagination .page-button svg{width:18px;height:18px}verdocs-pagination .page-button.selected{cursor:default;color:#ffffff;background:#654dcb}verdocs-pagination .ellipsis{width:38px;height:38px;display:-ms-flexbox;display:flex;-ms-flex:0 0 38px;flex:0 0 38px;line-height:32px;-ms-flex-pack:center;justify-content:center;color:#33364b}';var f='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5" /></svg>';var l='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5" /></svg>';var c=function(t){var e=t.page,r=t.selected,i=t.onClick;var o;if(e==="first"){o=f}else if(e==="last"){o=l}else{o=String(e+1)}return n("div",{class:"page-button ".concat(e===r?"selected":""),onClick:function(){return i(e)},innerHTML:o})};var p=t("verdocs_pagination",function(){function t(t){e(this,t);this.selectPage=r(this,"selectPage",7);this.selectedPage=0;this.itemCount=1;this.perPage=10}t.prototype.handleSelectPage=function(t){var e;this.selectedPage=t;(e=this.selectPage)===null||e===void 0?void 0:e.emit({selectedPage:t})};t.prototype.render=function(){var t=this;var e=this.itemCount>0?Math.ceil(this.itemCount/this.perPage):0;var r=Math.max(0,this.selectedPage-2);var o=Math.min(e,5);return n(i,null,this.selectedPage>0&&n(c,{page:"first",selected:this.selectedPage,onClick:function(){return t.handleSelectPage(0)}}),r>0&&n("div",{class:"ellipsis"},"..."),s(r,o-r).map((function(e){return n(c,{page:e,selected:t.selectedPage,onClick:function(e){return t.handleSelectPage(+e)}})})),o<e&&n("div",{class:"ellipsis"},"..."),this.selectedPage<e-1&&n(c,{page:"last",selected:this.selectedPage,onClick:function(){return t.handleSelectPage(e-1)}}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=h;var d='verdocs-quick-filter{position:relative;font-family:"Inter", "Barlow", sans-serif}verdocs-quick-filter .control{outline:0;height:34px;display:-ms-flexbox;display:flex;cursor:pointer;border-radius:4px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;background:#ffffff;-webkit-transition:all 100ms ease 0s;transition:all 100ms ease 0s;border:1px solid #cccccc}verdocs-quick-filter .title{padding:0 8px;font-size:14px;max-width:100%;overflow:hidden;color:#33364b;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis}verdocs-quick-filter .title .prefix{display:inline;font-weight:700;margin:0 7px 0 0;color:#4c56cb}verdocs-quick-filter .arrow{width:32px;height:32px;border:none;outline:none;cursor:pointer;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;background:#ffffff;-webkit-transition:color 150ms ease 0s;transition:color 150ms ease 0s}verdocs-quick-filter .arrow svg{-webkit-transition:0.3s;transition:0.3s;fill:#cccccc}verdocs-quick-filter .separator{width:1px;display:block;margin-top:8px;margin-bottom:8px;-ms-flex-item-align:stretch;align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#cccccc}verdocs-quick-filter .items{display:none;z-index:10000;position:absolute;border-radius:4px;background:#ffffff;-webkit-box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px;box-shadow:rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 4px 11px}verdocs-quick-filter .items[data-show]{display:block}verdocs-quick-filter .option{width:100%;border:none;display:block;font-size:14px;text-align:left;background:none;padding:10px 20px;color:#1e2031}verdocs-quick-filter .option:hover{cursor:pointer;background:#4c56cb3f}verdocs-quick-filter .option[disabled]{color:#aaaaaa}verdocs-quick-filter .option[disabled]:hover{cursor:inherit;background:transparent;color:#aaaaaa}verdocs-quick-filter.open .items{display:block}verdocs-quick-filter.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1)}';var v='<svg height="20" width="20" viewBox="0 0 20 20" aria-hidden="true" focusable="false" class="css-8mmkcg"><path d="M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"></path></svg>';var y=t("verdocs_quick_filter",function(){function t(t){e(this,t);this.optionSelected=r(this,"optionSelected",7);this.clickListenerSymbol=new AbortController;this.options=[];this.label="Filter";this.value="";this.placeholder="Select...";this.open=undefined}t.prototype.componentDidLoad=function(){this.popper=u(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-1,14]}}]});window.addEventListener("click",this.clickListener.bind(this),{signal:this.clickListenerSymbol.signal})};t.prototype.disconnectedCallback=function(){this.clickListenerSymbol.abort()};t.prototype.clickListener=function(t){var e=!(t.target==this.el||this.el.contains(t.target));if(e){this.hide()}};t.prototype.handleSelectOption=function(t,e){t.stopPropagation();this.optionSelected.emit(e);this.value=e.value;this.hide()};t.prototype.showDropdown=function(){var t,e;this.open=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})})).catch((function(){}));(e=this.popper)===null||e===void 0?void 0:e.update().catch((function(){}))};t.prototype.handleHideDropdown=function(t){var e,r;if(((e=t===null||t===void 0?void 0:t.target)===null||e===void 0?void 0:e.localName)==="button"&&((r=t===null||t===void 0?void 0:t.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};t.prototype.toggleDropdown=function(t){t.stopPropagation();if(this.open){this.hide()}else{this.showDropdown()}};t.prototype.hide=function(){var t;this.open=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})})).catch((function(){}))};t.prototype.render=function(){var t=this;var e,r,o;var s=(e=this.options)===null||e===void 0?void 0:e.find((function(e){return e.value===t.value}));var u=(r=this.options)===null||r===void 0?void 0:r.reduce((function(t,e){return t.label.length>e.label.length?t:e}));var h=a((u===null||u===void 0?void 0:u.label)||"FILLER","14px Inter, Barlow, sans-serif");var f=a(this.label,"14px Inter, Barlow, sans-serif");var l="".concat(h+f+40,"px");return n(i,{class:{open:!!this.open},style:{minWidth:l,display:"inline-block"}},n("div",{class:"control",onClick:function(e){return t.toggleDropdown(e)},onBlur:function(e){return t.handleHideDropdown(e)}},n("div",{class:"title",ref:function(e){return t.dropdownButton=e}},n("span",{class:"prefix"},this.label,":"),s?s.label:this.placeholder),n("div",{style:{flex:"1"}}),n("div",{class:"separator"}),n("div",{class:"arrow",innerHTML:v,"aria-label":"Open Menu"})),n("div",{class:"items","aria-hidden":!this.open,ref:function(e){return t.dropdownMenu=e},style:{minWidth:l}},(o=this.options)===null||o===void 0?void 0:o.map((function(e){return e.label?n("button",{onClick:function(r){return t.handleSelectOption(r,e)},class:"option ".concat(e.value===t.value?"selected":""),disabled:e.disabled},e.label):n("div",{class:"separator"})}))))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());y.style=d;var m="verdocs-spinner{display:inline-block;border-radius:50%;-webkit-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";var g={border:"3px solid rgba(255, 255, 255, 0.3)",borderTopColor:"#fff"};var w={border:"3px solid rgba(0, 0, 0, 0.3)",borderTopColor:"#333"};var x=t("verdocs_spinner",function(){function t(t){e(this,t);this.size=32;this.mode="light"}t.prototype.render=function(){return n(i,{style:__assign({width:"".concat(this.size,"px"),height:"".concat(this.size,"px"),flex:"0 0 ".concat(this.size,"px")},this.mode==="light"?g:w)})};return t}());x.style=m;var _={};var C=[];function b(t,e){if(Array.isArray(t)){for(var r=0,n=t;r<n.length;r++){var i=n[r];b(i,e)}return}if(typeof t==="object"){for(var i in t){b(i,t[i])}return}A(Object.getOwnPropertyNames(e));_[t]=Object.assign(_[t]||{},e)}function k(t){return _[t]||{}}function M(){return __spreadArray([],new Set(C),true)}function A(t){C.push.apply(C,t)}function O(t,e){var r;var n=t.length;var i=[];for(r=0;r<n;r++){i.push(e(t[r]))}return i}function S(t,e){var r;var n=t.length;var i=[];for(r=0;r<n;r++){if(e(t[r])){i.push(t[r])}}return i}function L(t){return t%360*Math.PI/180}function j(t){return t.toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function T(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function E(t){return t.charAt(0).toUpperCase()+t.slice(1)}function N(t,e,r,n){if(e==null||r==null){n=n||t.bbox();if(e==null){e=n.width/n.height*r}else if(r==null){r=n.height/n.width*e}}return{width:e,height:r}}function I(t,e){var r;var n=t.origin;var i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";var o=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(n!=null){r=Array.isArray(n)?n:typeof n==="object"?[n.x,n.y]:[n,n],i=r[0],o=r[1]}var s=typeof i==="string";var a=typeof o==="string";if(s||a){var u=e.bbox(),h=u.height,f=u.width,l=u.x,c=u.y;if(s){i=i.includes("left")?l:i.includes("right")?l+f:l+f/2}if(a){o=o.includes("top")?c:o.includes("bottom")?c+h:c+h/2}}return[i,o]}var D="http://www.w3.org/2000/svg";var z="http://www.w3.org/1999/xhtml";var P="http://www.w3.org/2000/xmlns/";var B="http://www.w3.org/1999/xlink";var q="http://svgjs.dev/svgjs";var H={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};var V=function(){function t(){}return t}();var R={};var F="___SYMBOL___ROOT___";function Z(t,e){if(e===void 0){e=D}return H.document.createElementNS(e,t)}function Y(t,e){if(e===void 0){e=false}if(t instanceof V)return t;if(typeof t==="object"){return U(t)}if(t==null){return new R[F]}if(typeof t==="string"&&t.charAt(0)!=="<"){return U(H.document.querySelector(t))}var r=e?H.document.createElement("div"):Z("svg");r.innerHTML=t;t=U(r.firstChild);r.removeChild(r.firstChild);return t}function X(t,e){return e&&e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node?e:Z(t)}function G(t){if(!t)return null;if(t.instance instanceof V)return t.instance;if(t.nodeName==="#document-fragment"){return new R.Fragment(t)}var e=E(t.nodeName||"Dom");if(e==="LinearGradient"||e==="RadialGradient"){e="Gradient"}else if(!R[e]){e="Dom"}return new R[e](t)}var U=G;function Q(t,e,r){if(e===void 0){e=t.name}if(r===void 0){r=false}R[e]=t;if(r)R[F]=t;A(Object.getOwnPropertyNames(t.prototype));return t}function W(t){return R[t]}var $=1e3;function J(t){return"Svgjs"+E(t)+$++}function K(t){for(var e=t.children.length-1;e>=0;e--){K(t.children[e])}if(t.id){t.id=J(t.nodeName);return t}return t}function tt(t,e){var r,n;t=Array.isArray(t)?t:[t];for(n=t.length-1;n>=0;n--){for(r in e){t[n].prototype[r]=e[r]}}}function et(t){return function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n=e[e.length-1];if(n&&n.constructor===Object&&!(n instanceof Array)){return t.apply(this,e.slice(0,-1)).attr(n)}else{return t.apply(this,e)}}}function rt(){return this.parent().children()}function nt(){return this.parent().index(this)}function it(){return this.siblings()[this.position()+1]}function ot(){return this.siblings()[this.position()-1]}function st(){var t=this.position();var e=this.parent();e.add(this.remove(),t+1);return this}function at(){var t=this.position();var e=this.parent();e.add(this.remove(),t?t-1:0);return this}function ut(){var t=this.parent();t.add(this.remove());return this}function ht(){var t=this.parent();t.add(this.remove(),0);return this}function ft(t){t=Y(t);t.remove();var e=this.position();this.parent().add(t,e);return this}function lt(t){t=Y(t);t.remove();var e=this.position();this.parent().add(t,e+1);return this}function ct(t){t=Y(t);t.before(this);return this}function pt(t){t=Y(t);t.after(this);return this}b("Dom",{siblings:rt,position:nt,next:it,prev:ot,forward:st,backward:at,front:ut,back:ht,before:ft,after:lt,insertBefore:ct,insertAfter:pt});var dt=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;var vt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;var yt=/rgb\((\d+),(\d+),(\d+)\)/;var mt=/(#[a-z_][a-z0-9\-_]*)/i;var gt=/\)\s*,?\s*/;var wt=/\s/g;var xt=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;var _t=/^rgb\(/;var Ct=/^(\s+)?$/;var bt=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;var kt=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;var Mt=/[\s,]+/;var At=/[MLHVCSQTAZ]/i;function Ot(){var t=this.attr("class");return t==null?[]:t.trim().split(Mt)}function St(t){return this.classes().indexOf(t)!==-1}function Lt(t){if(!this.hasClass(t)){var e=this.classes();e.push(t);this.attr("class",e.join(" "))}return this}function jt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(e){return e!==t})).join(" "))}return this}function Tt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}b("Dom",{classes:Ot,hasClass:St,addClass:Lt,removeClass:jt,toggleClass:Tt});function Et(t,e){var r={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){var e=t.split(/\s*:\s*/);r[e[0]]=e[1]}));return r}if(arguments.length<2){if(Array.isArray(t)){for(var n=0,i=t;n<i.length;n++){var o=i[n];var s=j(o);r[o]=this.node.style[s]}return r}if(typeof t==="string"){return this.node.style[j(t)]}if(typeof t==="object"){for(var o in t){this.node.style[j(o)]=t[o]==null||Ct.test(t[o])?"":t[o]}}}if(arguments.length===2){this.node.style[j(t)]=e==null||Ct.test(e)?"":e}return this}function Nt(){return this.css("display","")}function It(){return this.css("display","none")}function Dt(){return this.css("display")!=="none"}b("Dom",{css:Et,show:Nt,hide:It,visible:Dt});function zt(t,e,r){if(t==null){return this.data(O(S(this.node.attributes,(function(t){return t.nodeName.indexOf("data-")===0})),(function(t){return t.nodeName.slice(5)})))}else if(t instanceof Array){var n={};for(var i=0,o=t;i<o.length;i++){var s=o[i];n[s]=this.data(s)}return n}else if(typeof t==="object"){for(e in t){this.data(e,t[e])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(e){return this.attr("data-"+t)}}else{this.attr("data-"+t,e===null?null:r===true||typeof e==="string"||typeof e==="number"?e:JSON.stringify(e))}return this}b("Dom",{data:zt});function Pt(t,e){if(typeof arguments[0]==="object"){for(var r in t){this.remember(r,t[r])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=e}return this}function Bt(){if(arguments.length===0){this._memory={}}else{for(var t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function qt(){return this._memory=this._memory||{}}b("Dom",{remember:Pt,forget:Bt,memory:qt});function Ht(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 Vt(t){var e=Math.round(t);var r=Math.max(0,Math.min(255,e));var n=r.toString(16);return n.length===1?"0"+n:n}function Rt(t,e){for(var r=e.length;r--;){if(t[e[r]]==null){return false}}return true}function Ft(t,e){var r=Rt(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Rt(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Rt(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Rt(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Rt(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Rt(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};r.space=e||r.space;return r}function Zt(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Yt(t,e,r){if(r<0)r+=1;if(r>1)r-=1;if(r<1/6)return t+(e-t)*6*r;if(r<1/2)return e;if(r<2/3)return t+(e-t)*(2/3-r)*6;return t}var Xt=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.isColor=function(e){return e&&(e instanceof t||this.isRgb(e)||this.test(e))};t.isRgb=function(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"};t.random=function(e,r,n){if(e===void 0){e="vibrant"}var i=Math.random,o=Math.round,s=Math.sin,a=Math.PI;if(e==="vibrant"){var u=(81-57)*i()+57;var h=(83-45)*i()+45;var f=360*i();var l=new t(u,h,f,"lch");return l}else if(e==="sine"){r=r==null?i():r;var c=o(80*s(2*a*r/.5+.01)+150);var p=o(50*s(2*a*r/.5+4.6)+200);var d=o(100*s(2*a*r/.5+2.3)+150);var l=new t(c,p,d);return l}else if(e==="pastel"){var u=(94-86)*i()+86;var h=(26-9)*i()+9;var v=360*i();var l=new t(u,h,v,"lch");return l}else if(e==="dark"){var u=10+10*i();var h=(125-75)*i()+86;var y=360*i();var l=new t(u,h,y,"lch");return l}else if(e==="rgb"){var c=255*i();var p=255*i();var d=255*i();var l=new t(c,p,d);return l}else if(e==="lab"){var u=100*i();var m=256*i()-128;var d=256*i()-128;var l=new t(u,m,d,"lab");return l}else if(e==="grey"){var g=255*i();var l=new t(g,g,g);return l}else{throw new Error("Unsupported random color mode")}};t.test=function(t){return typeof t==="string"&&(xt.test(t)||_t.test(t))};t.prototype.cmyk=function(){var e=this.rgb(),r=e._a,n=e._b,i=e._c;var o=[r,n,i].map((function(t){return t/255})),s=o[0],a=o[1],u=o[2];var h=Math.min(1-s,1-a,1-u);if(h===1){return new t(0,0,0,1,"cmyk")}var f=(1-s-h)/(1-h);var l=(1-a-h)/(1-h);var c=(1-u-h)/(1-h);var p=new t(f,l,c,h,"cmyk");return p};t.prototype.hsl=function(){var e=this.rgb(),r=e._a,n=e._b,i=e._c;var o=[r,n,i].map((function(t){return t/255})),s=o[0],a=o[1],u=o[2];var h=Math.max(s,a,u);var f=Math.min(s,a,u);var l=(h+f)/2;var c=h===f;var p=h-f;var d=c?0:l>.5?p/(2-h-f):p/(h+f);var v=c?0:h===s?((a-u)/p+(a<u?6:0))/6:h===a?((u-s)/p+2)/6:h===u?((s-a)/p+4)/6:0;var y=new t(360*v,100*d,100*l,"hsl");return y};t.prototype.init=function(t,e,r,n,i){if(t===void 0){t=0}if(e===void 0){e=0}if(r===void 0){r=0}if(n===void 0){n=0}if(i===void 0){i="rgb"}t=!t?0:t;if(this.space){for(var o in this.space){delete this[this.space[o]]}}if(typeof t==="number"){i=typeof n==="string"?n:i;n=typeof n==="string"?0:n;Object.assign(this,{_a:t,_b:e,_c:r,_d:n,space:i})}else if(t instanceof Array){this.space=e||(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){var s=Ft(t,e);Object.assign(this,s)}else if(typeof t==="string"){if(_t.test(t)){var a=t.replace(wt,"");var u=yt.exec(a).slice(1,4).map((function(t){return parseInt(t)})),h=u[0],f=u[1],l=u[2];Object.assign(this,{_a:h,_b:f,_c:l,_d:0,space:"rgb"})}else if(xt.test(t)){var c=function(t){return parseInt(t,16)};var p=vt.exec(Ht(t)).map(c),d=p[1],v=p[2],y=p[3];Object.assign(this,{_a:d,_b:v,_c:y,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}var m=this,g=m._a,w=m._b,x=m._c,_=m._d;var C=this.space==="rgb"?{r:g,g:w,b:x}:this.space==="xyz"?{x:g,y:w,z:x}:this.space==="hsl"?{h:g,s:w,l:x}:this.space==="lab"?{l:g,a:w,b:x}:this.space==="lch"?{l:g,c:w,h:x}:this.space==="cmyk"?{c:g,m:w,y:x,k:_}:{};Object.assign(this,C)};t.prototype.lab=function(){var e=this.xyz(),r=e.x,n=e.y,i=e.z;var o=116*n-16;var s=500*(r-n);var a=200*(n-i);var u=new t(o,s,a,"lab");return u};t.prototype.lch=function(){var e=this.lab(),r=e.l,n=e.a,i=e.b;var o=Math.sqrt(Math.pow(n,2)+Math.pow(i,2));var s=180*Math.atan2(i,n)/Math.PI;if(s<0){s*=-1;s=360-s}var a=new t(r,o,s,"lch");return a};t.prototype.rgb=function(){if(this.space==="rgb"){return this}else if(Zt(this.space)){var e=this,r=e.x,n=e.y,i=e.z;if(this.space==="lab"||this.space==="lch"){var o=this,s=o.l,a=o.a,u=o.b;if(this.space==="lch"){var h=this,f=h.c,l=h.h;var c=Math.PI/180;a=f*Math.cos(c*l);u=f*Math.sin(c*l)}var p=(s+16)/116;var d=a/500+p;var v=p-u/200;var y=16/116;var m=.008856;var g=7.787;r=.95047*(Math.pow(d,3)>m?Math.pow(d,3):(d-y)/g);n=1*(Math.pow(p,3)>m?Math.pow(p,3):(p-y)/g);i=1.08883*(Math.pow(v,3)>m?Math.pow(v,3):(v-y)/g)}var w=r*3.2406+n*-1.5372+i*-.4986;var x=r*-.9689+n*1.8758+i*.0415;var _=r*.0557+n*-.204+i*1.057;var C=Math.pow;var b=.0031308;var k=w>b?1.055*C(w,1/2.4)-.055:12.92*w;var M=x>b?1.055*C(x,1/2.4)-.055:12.92*x;var A=_>b?1.055*C(_,1/2.4)-.055:12.92*_;var O=new t(255*k,255*M,255*A);return O}else if(this.space==="hsl"){var S=this,L=S.h,j=S.s,s=S.l;L/=360;j/=100;s/=100;if(j===0){s*=255;var T=new t(s,s,s);return T}var E=s<.5?s*(1+j):s+j-s*j;var N=2*s-E;var k=255*Yt(N,E,L+1/3);var M=255*Yt(N,E,L);var A=255*Yt(N,E,L-1/3);var O=new t(k,M,A);return O}else if(this.space==="cmyk"){var I=this,f=I.c,D=I.m,z=I.y,P=I.k;var k=255*(1-Math.min(1,f*(1-P)+P));var M=255*(1-Math.min(1,D*(1-P)+P));var A=255*(1-Math.min(1,z*(1-P)+P));var O=new t(k,M,A);return O}else{return this}};t.prototype.toArray=function(){var t=this,e=t._a,r=t._b,n=t._c,i=t._d,o=t.space;return[e,r,n,i,o]};t.prototype.toHex=function(){var t=this._clamped().map(Vt),e=t[0],r=t[1],n=t[2];return"#".concat(e).concat(r).concat(n)};t.prototype.toRgb=function(){var t=this._clamped(),e=t[0],r=t[1],n=t[2];var i="rgb(".concat(e,",").concat(r,",").concat(n,")");return i};t.prototype.toString=function(){return this.toHex()};t.prototype.xyz=function(){var e=this.rgb(),r=e._a,n=e._b,i=e._c;var o=[r,n,i].map((function(t){return t/255})),s=o[0],a=o[1],u=o[2];var h=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var f=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92;var l=u>.04045?Math.pow((u+.055)/1.055,2.4):u/12.92;var c=(h*.4124+f*.3576+l*.1805)/.95047;var p=(h*.2126+f*.7152+l*.0722)/1;var d=(h*.0193+f*.1192+l*.9505)/1.08883;var v=c>.008856?Math.pow(c,1/3):7.787*c+16/116;var y=p>.008856?Math.pow(p,1/3):7.787*p+16/116;var m=d>.008856?Math.pow(d,1/3):7.787*d+16/116;var g=new t(v,y,m,"xyz");return g};t.prototype._clamped=function(){var t=this.rgb(),e=t._a,r=t._b,n=t._c;var i=Math.max,o=Math.min,s=Math.round;var a=function(t){return i(0,o(s(t),255))};return[e,r,n].map(a)};return t}();var Gt=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.clone=function(){return new t(this)};t.prototype.init=function(t,e){var r={x:0,y:0};var n=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:e};this.x=n.x==null?r.x:n.x;this.y=n.y==null?r.y:n.y;return this};t.prototype.toArray=function(){return[this.x,this.y]};t.prototype.transform=function(t){return this.clone().transformO(t)};t.prototype.transformO=function(t){if(!Wt.isMatrixLike(t)){t=new Wt(t)}var e=this,r=e.x,n=e.y;this.x=t.a*r+t.c*n+t.e;this.y=t.b*r+t.d*n+t.f;return this};return t}();function Ut(t,e){return new Gt(t,e).transform(this.screenCTM().inverse())}function Qt(t,e,r){return Math.abs(e-t)<(r||1e-6)}var Wt=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.formatTransforms=function(t){var e=t.flip==="both"||t.flip===true;var r=t.flip&&(e||t.flip==="x")?-1:1;var n=t.flip&&(e||t.flip==="y")?-1:1;var i=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;var o=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;var s=t.scale&&t.scale.length?t.scale[0]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleX)?t.scaleX*r:r;var a=t.scale&&t.scale.length?t.scale[1]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleY)?t.scaleY*n:n;var u=t.shear||0;var h=t.rotate||t.theta||0;var f=new Gt(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);var l=f.x;var c=f.y;var p=new Gt(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);var d=p.x;var v=p.y;var y=new Gt(t.translate||t.tx||t.translateX,t.ty||t.translateY);var m=y.x;var g=y.y;var w=new Gt(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);var x=w.x;var _=w.y;return{scaleX:s,scaleY:a,skewX:i,skewY:o,shear:u,theta:h,rx:x,ry:_,tx:m,ty:g,ox:l,oy:c,px:d,py:v}};t.fromArray=function(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}};t.isMatrixLike=function(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null};t.matrixMultiply=function(t,e,r){var n=t.a*e.a+t.c*e.b;var i=t.b*e.a+t.d*e.b;var o=t.a*e.c+t.c*e.d;var s=t.b*e.c+t.d*e.d;var a=t.e+t.a*e.e+t.c*e.f;var u=t.f+t.b*e.e+t.d*e.f;r.a=n;r.b=i;r.c=o;r.d=s;r.e=a;r.f=u;return r};t.prototype.around=function(t,e,r){return this.clone().aroundO(t,e,r)};t.prototype.aroundO=function(t,e,r){var n=t||0;var i=e||0;return this.translateO(-n,-i).lmultiplyO(r).translateO(n,i)};t.prototype.clone=function(){return new t(this)};t.prototype.decompose=function(t,e){if(t===void 0){t=0}if(e===void 0){e=0}var r=this.a;var n=this.b;var i=this.c;var o=this.d;var s=this.e;var a=this.f;var u=r*o-n*i;var h=u>0?1:-1;var f=h*Math.sqrt(r*r+n*n);var l=Math.atan2(h*n,h*r);var c=180/Math.PI*l;var p=Math.cos(l);var d=Math.sin(l);var v=(r*i+n*o)/u;var y=i*f/(v*r-n)||o*f/(v*n+r);var m=s-t+t*p*f+e*(v*p*f-d*y);var g=a-e+t*d*f+e*(v*d*f+p*y);return{scaleX:f,scaleY:y,shear:v,rotate:c,translateX:m,translateY:g,originX:t,originY:e,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};t.prototype.equals=function(e){if(e===this)return true;var r=new t(e);return Qt(this.a,r.a)&&Qt(this.b,r.b)&&Qt(this.c,r.c)&&Qt(this.d,r.d)&&Qt(this.e,r.e)&&Qt(this.f,r.f)};t.prototype.flip=function(t,e){return this.clone().flipO(t,e)};t.prototype.flipO=function(t,e){return t==="x"?this.scaleO(-1,1,e,0):t==="y"?this.scaleO(1,-1,0,e):this.scaleO(-1,-1,t,e||t)};t.prototype.init=function(e){var r=t.fromArray([1,0,0,1,0,0]);e=e instanceof je?e.matrixify():typeof e==="string"?t.fromArray(e.split(Mt).map(parseFloat)):Array.isArray(e)?t.fromArray(e):typeof e==="object"&&t.isMatrixLike(e)?e:typeof e==="object"?(new t).transform(e):arguments.length===6?t.fromArray([].slice.call(arguments)):r;this.a=e.a!=null?e.a:r.a;this.b=e.b!=null?e.b:r.b;this.c=e.c!=null?e.c:r.c;this.d=e.d!=null?e.d:r.d;this.e=e.e!=null?e.e:r.e;this.f=e.f!=null?e.f:r.f;return this};t.prototype.inverse=function(){return this.clone().inverseO()};t.prototype.inverseO=function(){var t=this.a;var e=this.b;var r=this.c;var n=this.d;var i=this.e;var o=this.f;var s=t*n-e*r;if(!s)throw new Error("Cannot invert "+this);var a=n/s;var u=-e/s;var h=-r/s;var f=t/s;var l=-(a*i+h*o);var c=-(u*i+f*o);this.a=a;this.b=u;this.c=h;this.d=f;this.e=l;this.f=c;return this};t.prototype.lmultiply=function(t){return this.clone().lmultiplyO(t)};t.prototype.lmultiplyO=function(e){var r=this;var n=e instanceof t?e:new t(e);return t.matrixMultiply(n,r,this)};t.prototype.multiply=function(t){return this.clone().multiplyO(t)};t.prototype.multiplyO=function(e){var r=this;var n=e instanceof t?e:new t(e);return t.matrixMultiply(r,n,this)};t.prototype.rotate=function(t,e,r){return this.clone().rotateO(t,e,r)};t.prototype.rotateO=function(t,e,r){if(e===void 0){e=0}if(r===void 0){r=0}t=L(t);var n=Math.cos(t);var i=Math.sin(t);var o=this,s=o.a,a=o.b,u=o.c,h=o.d,f=o.e,l=o.f;this.a=s*n-a*i;this.b=a*n+s*i;this.c=u*n-h*i;this.d=h*n+u*i;this.e=f*n-l*i+r*i-e*n+e;this.f=l*n+f*i-e*i-r*n+r;return this};t.prototype.scale=function(t,e,r,n){var i;return(i=this.clone()).scaleO.apply(i,arguments)};t.prototype.scaleO=function(t,e,r,n){if(e===void 0){e=t}if(r===void 0){r=0}if(n===void 0){n=0}if(arguments.length===3){n=r;r=e;e=t}var i=this,o=i.a,s=i.b,a=i.c,u=i.d,h=i.e,f=i.f;this.a=o*t;this.b=s*e;this.c=a*t;this.d=u*e;this.e=h*t-r*t+r;this.f=f*e-n*e+n;return this};t.prototype.shear=function(t,e,r){return this.clone().shearO(t,e,r)};t.prototype.shearO=function(t,e,r){if(e===void 0){e=0}if(r===void 0){r=0}var n=this,i=n.a,o=n.b,s=n.c,a=n.d,u=n.e,h=n.f;this.a=i+o*t;this.c=s+a*t;this.e=u+h*t-r*t;return this};t.prototype.skew=function(t,e,r,n){var i;return(i=this.clone()).skewO.apply(i,arguments)};t.prototype.skewO=function(t,e,r,n){if(e===void 0){e=t}if(r===void 0){r=0}if(n===void 0){n=0}if(arguments.length===3){n=r;r=e;e=t}t=L(t);e=L(e);var i=Math.tan(t);var o=Math.tan(e);var s=this,a=s.a,u=s.b,h=s.c,f=s.d,l=s.e,c=s.f;this.a=a+u*i;this.b=u+a*o;this.c=h+f*i;this.d=f+h*o;this.e=l+c*i-n*i;this.f=c+l*o-r*o;return this};t.prototype.skewX=function(t,e,r){return this.skew(t,0,e,r)};t.prototype.skewY=function(t,e,r){return this.skew(0,t,e,r)};t.prototype.toArray=function(){return[this.a,this.b,this.c,this.d,this.e,this.f]};t.prototype.toString=function(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"};t.prototype.transform=function(e){if(t.isMatrixLike(e)){var r=new t(e);return r.multiplyO(this)}var n=t.formatTransforms(e);var i=this;var o=new Gt(n.ox,n.oy).transform(i),s=o.x,a=o.y;var u=(new t).translateO(n.rx,n.ry).lmultiplyO(i).translateO(-s,-a).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(s,a);if(isFinite(n.px)||isFinite(n.py)){var h=new Gt(s,a).transform(u);var f=isFinite(n.px)?n.px-h.x:0;var l=isFinite(n.py)?n.py-h.y:0;u.translateO(f,l)}u.translateO(n.tx,n.ty);return u};t.prototype.translate=function(t,e){return this.clone().translateO(t,e)};t.prototype.translateO=function(t,e){this.e+=t||0;this.f+=e||0;return this};t.prototype.valueOf=function(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};return t}();function $t(){return new Wt(this.node.getCTM())}function Jt(){if(typeof this.isRoot==="function"&&!this.isRoot()){var t=this.rect(1,1);var e=t.node.getScreenCTM();t.remove();return new Wt(e)}return new Wt(this.node.getScreenCTM())}Q(Wt,"Matrix");function Kt(){if(!Kt.nodes){var t=Y().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");var e=t.path().node;Kt.nodes={svg:t,path:e}}if(!Kt.nodes.svg.node.parentNode){var r=H.document.body||H.document.documentElement;Kt.nodes.svg.addTo(r)}return Kt.nodes}function te(t){return!t.width&&!t.height&&!t.x&&!t.y}function ee(t){return t===H.document||(H.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===H.document}).call(H.document.documentElement,t)}var re=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.addOffset=function(){this.x+=H.window.pageXOffset;this.y+=H.window.pageYOffset;return new t(this)};t.prototype.init=function(t){var e=[0,0,0,0];t=typeof t==="string"?t.split(Mt).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):e;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};t.prototype.isNulled=function(){return te(this)};t.prototype.merge=function(e){var r=Math.min(this.x,e.x);var n=Math.min(this.y,e.y);var i=Math.max(this.x+this.width,e.x+e.width)-r;var o=Math.max(this.y+this.height,e.y+e.height)-n;return new t(r,n,i,o)};t.prototype.toArray=function(){return[this.x,this.y,this.width,this.height]};t.prototype.toString=function(){return this.x+" "+this.y+" "+this.width+" "+this.height};t.prototype.transform=function(e){if(!(e instanceof Wt)){e=new Wt(e)}var r=Infinity;var n=-Infinity;var i=Infinity;var o=-Infinity;var s=[new Gt(this.x,this.y),new Gt(this.x2,this.y),new Gt(this.x,this.y2),new Gt(this.x2,this.y2)];s.forEach((function(t){t=t.transform(e);r=Math.min(r,t.x);n=Math.max(n,t.x);i=Math.min(i,t.y);o=Math.max(o,t.y)}));return new t(r,i,n-r,o-i)};return t}();function ne(t,e,r){var n;try{n=e(t.node);if(te(n)&&!ee(t.node)){throw new Error("Element not in the dom")}}catch(e){n=r(t)}return n}function ie(){var t=function(t){return t.getBBox()};var e=function(t){try{var e=t.clone().addTo(Kt().svg).show();var r=e.node.getBBox();e.remove();return r}catch(e){throw new Error('Getting bbox of element "'.concat(t.node.nodeName,'" is not possible: ').concat(e.toString()))}};var r=ne(this,t,e);var n=new re(r);return n}function oe(t){var e=function(t){return t.getBoundingClientRect()};var r=function(t){throw new Error('Getting rbox of element "'.concat(t.node.nodeName,'" is not possible'))};var n=ne(this,e,r);var i=new re(n);if(t){return i.transform(t.screenCTM().inverseO())}return i.addOffset()}function se(t,e){var r=this.bbox();return t>r.x&&e>r.y&&t<r.x+r.width&&e<r.y+r.height}b({viewbox:{viewbox:function(t,e,r,n){if(t==null)return new re(this.attr("viewBox"));return this.attr("viewBox",new re(t,e,r,n))},zoom:function(t,e){var r=this.attr(["width","height"]),n=r.width,i=r.height;if(!n&&!i||typeof n==="string"||typeof i==="string"){n=this.node.clientWidth;i=this.node.clientHeight}if(!n||!i){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}var o=this.viewbox();var s=n/o.width;var a=i/o.height;var u=Math.min(s,a);if(t==null){return u}var h=u/t;if(h===Infinity)h=Number.MAX_SAFE_INTEGER/100;e=e||new Gt(n/2/s+o.x,i/2/a+o.y);var f=new re(o).transform(new Wt({scale:h,origin:e}));return this.viewbox(f)}}});Q(re,"Box");var ae=function(t){__extends(e,t);function e(e){if(e===void 0){e=[]}var r=[];for(var n=1;n<arguments.length;n++){r[n-1]=arguments[n]}var i=t.apply(this,__spreadArray([e],r,false))||this;if(typeof e==="number")return i;i.length=0;i.push.apply(i,e);return i}return e}(Array);tt([ae],{each:function(t){var e=[];for(var r=1;r<arguments.length;r++){e[r-1]=arguments[r]}if(typeof t==="function"){return this.map((function(e,r,n){return t.call(e,e,r,n)}))}else{return this.map((function(r){return r[t].apply(r,e)}))}},toArray:function(){return Array.prototype.concat.apply([],this)}});var ue=["toArray","constructor","each"];ae.extend=function(t){t=t.reduce((function(t,e){if(ue.includes(e))return t;if(e[0]==="_")return t;t[e]=function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return this.each.apply(this,__spreadArray([e],t,false))};return t}),{});tt([ae],t)};function he(t,e){return new ae(O((e||H.document).querySelectorAll(t),(function(t){return G(t)})))}function fe(t){return he(t,this.node)}function le(t){return G(this.node.querySelector(t))}var ce=0;var pe={};function de(t){var e=t.getEventHolder();if(e===H.window)e=pe;if(!e.events)e.events={};return e.events}function ve(t){return t.getEventTarget()}function ye(t){var e=t.getEventHolder();if(e===H.window)e=pe;if(e.events)e.events={}}function me(t,e,r,n,i){var o=r.bind(n||t);var s=Y(t);var a=de(s);var u=ve(s);e=Array.isArray(e)?e:e.split(Mt);if(!r._svgjsListenerId){r._svgjsListenerId=++ce}e.forEach((function(t){var e=t.split(".")[0];var n=t.split(".")[1]||"*";a[e]=a[e]||{};a[e][n]=a[e][n]||{};a[e][n][r._svgjsListenerId]=o;u.addEventListener(e,o,i||false)}))}function ge(t,e,r,n){var i=Y(t);var o=de(i);var s=ve(i);if(typeof r==="function"){r=r._svgjsListenerId;if(!r)return}e=Array.isArray(e)?e:(e||"").split(Mt);e.forEach((function(t){var e=t&&t.split(".")[0];var a=t&&t.split(".")[1];var u,h;if(r){if(o[e]&&o[e][a||"*"]){s.removeEventListener(e,o[e][a||"*"][r],n||false);delete o[e][a||"*"][r]}}else if(e&&a){if(o[e]&&o[e][a]){for(h in o[e][a]){ge(s,[e,a].join("."),h)}delete o[e][a]}}else if(a){for(t in o){for(u in o[t]){if(a===u){ge(s,[t,a].join("."))}}}}else if(e){if(o[e]){for(u in o[e]){ge(s,[e,u].join("."))}delete o[e]}}else{for(t in o){ge(s,t)}ye(i)}}))}function we(t,e,r,n){var i=ve(t);if(e instanceof H.window.Event){i.dispatchEvent(e)}else{e=new H.window.CustomEvent(e,__assign({detail:r,cancelable:true},n));i.dispatchEvent(e)}return e}var xe=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.addEventListener=function(){};e.prototype.dispatch=function(t,e,r){return we(this,t,e,r)};e.prototype.dispatchEvent=function(t){var e=this.getEventHolder().events;if(!e)return true;var r=e[t.type];for(var n in r){for(var i in r[n]){r[n][i](t)}}return!t.defaultPrevented};e.prototype.fire=function(t,e,r){this.dispatch(t,e,r);return this};e.prototype.getEventHolder=function(){return this};e.prototype.getEventTarget=function(){return this};e.prototype.off=function(t,e,r){ge(this,t,e,r);return this};e.prototype.on=function(t,e,r,n){me(this,t,e,r,n);return this};e.prototype.removeEventListener=function(){};return e}(V);Q(xe,"EventTarget");function _e(){}var Ce={duration:400,ease:">",delay:0};var be={"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"};var ke=function(t){__extends(e,t);function e(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n=t.apply(this,e)||this;n.init.apply(n,e);return n}e.prototype.clone=function(){return new this.constructor(this)};e.prototype.init=function(t){if(typeof t==="number")return this;this.length=0;this.push.apply(this,this.parse(t));return this};e.prototype.parse=function(t){if(t===void 0){t=[]}if(t instanceof Array)return t;return t.trim().split(Mt).map(parseFloat)};e.prototype.toArray=function(){return Array.prototype.concat.apply([],this)};e.prototype.toSet=function(){return new Set(this)};e.prototype.toString=function(){return this.join(" ")};e.prototype.valueOf=function(){var t=[];t.push.apply(t,this);return t};return e}(Array);var Me=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.convert=function(e){return new t(this.value,e)};t.prototype.divide=function(e){e=new t(e);return new t(this/e,this.unit||e.unit)};t.prototype.init=function(e,r){r=Array.isArray(e)?e[1]:r;e=Array.isArray(e)?e[0]:e;this.value=0;this.unit=r||"";if(typeof e==="number"){this.value=isNaN(e)?0:!isFinite(e)?e<0?-34e37:+34e37:e}else if(typeof e==="string"){r=e.match(dt);if(r){this.value=parseFloat(r[1]);if(r[5]==="%"){this.value/=100}else if(r[5]==="s"){this.value*=1e3}this.unit=r[5]}}else{if(e instanceof t){this.value=e.valueOf();this.unit=e.unit}}return this};t.prototype.minus=function(e){e=new t(e);return new t(this-e,this.unit||e.unit)};t.prototype.plus=function(e){e=new t(e);return new t(this+e,this.unit||e.unit)};t.prototype.times=function(e){e=new t(e);return new t(this*e,this.unit||e.unit)};t.prototype.toArray=function(){return[this.value,this.unit]};t.prototype.toJSON=function(){return this.toString()};t.prototype.toString=function(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit};t.prototype.valueOf=function(){return this.value};return t}();var Ae=[];function Oe(t){Ae.push(t)}function Se(t,e,r){var n=this;if(t==null){t={};e=this.node.attributes;for(var i=0,o=e;i<o.length;i++){var s=o[i];t[s.nodeName]=bt.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce((function(t,e){t[e]=n.attr(e);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(e in t)this.attr(e,t[e])}else if(e===null){this.node.removeAttribute(t)}else if(e==null){e=this.node.getAttribute(t);return e==null?be[t]:bt.test(e)?parseFloat(e):e}else{e=Ae.reduce((function(e,r){return r(t,e,n)}),e);if(typeof e==="number"){e=new Me(e)}else if(Xt.isColor(e)){e=new Xt(e)}else if(e.constructor===Array){e=new ke(e)}if(t==="leading"){if(this.leading){this.leading(e)}}else{typeof r==="string"?this.node.setAttributeNS(r,t,e.toString()):this.node.setAttribute(t,e.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}var Le=function(t){__extends(e,t);function e(e,r){var n=t.call(this)||this;n.node=e;n.type=e.nodeName;if(r&&e!==r){n.attr(r)}return n}e.prototype.add=function(t,e){t=Y(t);if(t.removeNamespace&&this.node instanceof H.window.SVGElement){t.removeNamespace()}if(e==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[e]){this.node.insertBefore(t.node,this.node.childNodes[e])}return this};e.prototype.addTo=function(t,e){return Y(t).put(this,e)};e.prototype.children=function(){return new ae(O(this.node.children,(function(t){return G(t)})))};e.prototype.clear=function(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this};e.prototype.clone=function(t){if(t===void 0){t=true}this.writeDataToDom();return new this.constructor(K(this.node.cloneNode(t)))};e.prototype.each=function(t,e){var r=this.children();var n,i;for(n=0,i=r.length;n<i;n++){t.apply(r[n],[n,r]);if(e){r[n].each(t,e)}}return this};e.prototype.element=function(t,r){return this.put(new e(Z(t),r))};e.prototype.first=function(){return G(this.node.firstChild)};e.prototype.get=function(t){return G(this.node.childNodes[t])};e.prototype.getEventHolder=function(){return this.node};e.prototype.getEventTarget=function(){return this.node};e.prototype.has=function(t){return this.index(t)>=0};e.prototype.html=function(t,e){return this.xml(t,e,z)};e.prototype.id=function(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=J(this.type)}return this.attr("id",t)};e.prototype.index=function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)};e.prototype.last=function(){return G(this.node.lastChild)};e.prototype.matches=function(t){var e=this.node;var r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector||null;return r&&r.call(e,t)};e.prototype.parent=function(t){var e=this;if(!e.node.parentNode)return null;e=G(e.node.parentNode);if(!t)return e;do{if(typeof t==="string"?e.matches(t):e instanceof t)return e}while(e=G(e.node.parentNode));return e};e.prototype.put=function(t,e){t=Y(t);this.add(t,e);return t};e.prototype.putIn=function(t,e){return Y(t).add(this,e)};e.prototype.remove=function(){if(this.parent()){this.parent().removeElement(this)}return this};e.prototype.removeElement=function(t){this.node.removeChild(t.node);return this};e.prototype.replace=function(t){t=Y(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t};e.prototype.round=function(t,e){if(t===void 0){t=2}if(e===void 0){e=null}var r=Math.pow(10,t);var n=this.attr(e);for(var i in n){if(typeof n[i]==="number"){n[i]=Math.round(n[i]*r)/r}}this.attr(n);return this};e.prototype.svg=function(t,e){return this.xml(t,e,D)};e.prototype.toString=function(){return this.id()};e.prototype.words=function(t){this.node.textContent=t;return this};e.prototype.wrap=function(t){var e=this.parent();if(!e){return this.addTo(t)}var r=e.index(this);return e.put(t,r).put(this)};e.prototype.writeDataToDom=function(){this.each((function(){this.writeDataToDom()}));return this};e.prototype.xml=function(t,e,r){if(typeof t==="boolean"){r=e;e=t;t=null}if(t==null||typeof t==="function"){e=e==null?true:e;this.writeDataToDom();var n=this;if(t!=null){n=G(n.node.cloneNode(true));if(e){var i=t(n);n=i||n;if(i===false)return""}n.each((function(){var e=t(this);var r=e||this;if(e===false){this.remove()}else if(e&&this!==r){this.replace(r)}}),true)}return e?n.node.outerHTML:n.node.innerHTML}e=e==null?false:e;var o=Z("wrapper",r);var s=H.document.createDocumentFragment();o.innerHTML=t;for(var a=o.children.length;a--;){s.appendChild(o.firstElementChild)}var u=this.parent();return e?this.replace(s)&&u:this.add(s)};return e}(xe);tt(Le,{attr:Se,find:fe,findOne:le});Q(Le,"Dom");var je=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e,r)||this;n.dom={};n.node.instance=n;if(e.hasAttribute("svgjs:data")){n.setData(JSON.parse(e.getAttribute("svgjs:data"))||{})}return n}e.prototype.center=function(t,e){return this.cx(t).cy(e)};e.prototype.cx=function(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)};e.prototype.cy=function(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)};e.prototype.defs=function(){var t=this.root();return t&&t.defs()};e.prototype.dmove=function(t,e){return this.dx(t).dy(e)};e.prototype.dx=function(t){if(t===void 0){t=0}return this.x(new Me(t).plus(this.x()))};e.prototype.dy=function(t){if(t===void 0){t=0}return this.y(new Me(t).plus(this.y()))};e.prototype.getEventHolder=function(){return this};e.prototype.height=function(t){return this.attr("height",t)};e.prototype.move=function(t,e){return this.x(t).y(e)};e.prototype.parents=function(t){if(t===void 0){t=this.root()}var e=typeof t==="string";if(!e){t=Y(t)}var r=new ae;var n=this;while((n=n.parent())&&n.node!==H.document&&n.nodeName!=="#document-fragment"){r.push(n);if(!e&&n.node===t.node){break}if(e&&n.matches(t)){break}if(n.node===this.root().node){return null}}return r};e.prototype.reference=function(t){t=this.attr(t);if(!t)return null;var e=(t+"").match(mt);return e?Y(e[1]):null};e.prototype.root=function(){var t=this.parent(W(F));return t&&t.root()};e.prototype.setData=function(t){this.dom=t;return this};e.prototype.size=function(t,e){var r=N(this,t,e);return this.width(new Me(r.width)).height(new Me(r.height))};e.prototype.width=function(t){return this.attr("width",t)};e.prototype.writeDataToDom=function(){this.node.removeAttribute("svgjs:data");if(Object.keys(this.dom).length){this.node.setAttribute("svgjs:data",JSON.stringify(this.dom))}return t.prototype.writeDataToDom.call(this)};e.prototype.x=function(t){return this.attr("x",t)};e.prototype.y=function(t){return this.attr("y",t)};return e}(Le);tt(je,{bbox:ie,rbox:oe,inside:se,point:Ut,ctm:$t,screenCTM:Jt});Q(je,"Element");var Te={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,e){return e==="color"?t:t+"-"+e}};["fill","stroke"].forEach((function(t){var e={};var r;e[t]=function(e){if(typeof e==="undefined"){return this.attr(t)}if(typeof e==="string"||e instanceof Xt||Xt.isRgb(e)||e instanceof je){this.attr(t,e)}else{for(r=Te[t].length-1;r>=0;r--){if(e[Te[t][r]]!=null){this.attr(Te.prefix(t,Te[t][r]),e[Te[t][r]])}}}return this};b(["Element","Runner"],e)}));b(["Element","Runner"],{matrix:function(t,e,r,n,i,o){if(t==null){return new Wt(this)}return this.attr("transform",new Wt(t,e,r,n,i,o))},rotate:function(t,e,r){return this.transform({rotate:t,ox:e,oy:r},true)},skew:function(t,e,r,n){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:e,oy:r},true):this.transform({skew:[t,e],ox:r,oy:n},true)},shear:function(t,e,r){return this.transform({shear:t,ox:e,oy:r},true)},scale:function(t,e,r,n){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:e,oy:r},true):this.transform({scale:[t,e],ox:r,oy:n},true)},translate:function(t,e){return this.transform({translate:[t,e]},true)},relative:function(t,e){return this.transform({relative:[t,e]},true)},flip:function(t,e){if(t===void 0){t="both"}if(e===void 0){e="center"}if("xybothtrue".indexOf(t)===-1){e=t;t="both"}return this.transform({flip:t,origin:e},true)},opacity:function(t){return this.attr("opacity",t)}});b("radius",{radius:function(t,e){if(e===void 0){e=t}var r=(this._element||this).type;return r==="radialGradient"?this.attr("r",new Me(t)):this.rx(t).ry(e)}});b("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Gt(this.node.getPointAtLength(t))}});b(["Element","Runner"],{font:function(t,e){if(typeof t==="object"){for(e in t)this.font(e,t[e]);return this}return t==="leading"?this.leading(e):t==="anchor"?this.attr("text-anchor",e):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,e):this.attr(t,e)}});var Ee=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].reduce((function(t,e){var r=function(t){if(t===null){this.off(e)}else{this.on(e,t)}return this};t[e]=r;return t}),{});b("Element",Ee);function Ne(){return this.attr("transform",null)}function Ie(){var t=(this.attr("transform")||"").split(gt).slice(0,-1).map((function(t){var e=t.trim().split("(");return[e[0],e[1].split(Mt).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,e){if(e[0]==="matrix"){return t.lmultiply(Wt.fromArray(e[1]))}return t[e[0]].apply(t,e[1])}),new Wt);return t}function De(t,e){if(this===t)return this;var r=this.screenCTM();var n=t.screenCTM().inverse();this.addTo(t,e).untransform().transform(n.multiply(r));return this}function ze(t){return this.toParent(this.root(),t)}function Pe(t,e){if(t==null||typeof t==="string"){var r=new Wt(this).decompose();return t==null?r:r[t]}if(!Wt.isMatrixLike(t)){t=__assign(__assign({},t),{origin:I(t,this)})}var n=e===true?this:e||false;var i=new Wt(n).transform(t);return this.attr("transform",i)}b("Element",{untransform:Ne,matrixify:Ie,toParent:De,toRoot:ze,transform:Pe});var Be=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.flatten=function(t,r){if(t===void 0){t=this}this.each((function(){if(this instanceof e){return this.flatten().ungroup()}}));return this};e.prototype.ungroup=function(t,e){if(t===void 0){t=this.parent()}if(e===void 0){e=t.index(this)}e=e===-1?t.children().length:e;this.each((function(r,n){return n[n.length-r-1].toParent(t,e)}));return this.remove()};return e}(je);Q(Be,"Container");var qe=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("defs",e),r)||this}e.prototype.flatten=function(){return this};e.prototype.ungroup=function(){return this};return e}(Be);Q(qe,"Defs");var He=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(je);Q(He,"Shape");function Ve(t){return this.attr("rx",t)}function Re(t){return this.attr("ry",t)}function Fe(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Ze(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Ye(t){return this.attr("cx",t)}function Xe(t){return this.attr("cy",t)}function Ge(t){return t==null?this.rx()*2:this.rx(new Me(t).divide(2))}function Ue(t){return t==null?this.ry()*2:this.ry(new Me(t).divide(2))}var Qe={__proto__:null,rx:Ve,ry:Re,x:Fe,y:Ze,cx:Ye,cy:Xe,width:Ge,height:Ue};var We=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("ellipse",e),r)||this}e.prototype.size=function(t,e){var r=N(this,t,e);return this.rx(new Me(r.width).divide(2)).ry(new Me(r.height).divide(2))};return e}(He);tt(We,Qe);b("Container",{ellipse:et((function(t,e){if(t===void 0){t=0}if(e===void 0){e=t}return this.put(new We).size(t,e).move(0,0)}))});Q(We,"Ellipse");var $e=function(t){__extends(e,t);function e(e){if(e===void 0){e=H.document.createDocumentFragment()}return t.call(this,e)||this}e.prototype.xml=function(e,r,n){if(typeof e==="boolean"){n=r;r=e;e=null}if(e==null||typeof e==="function"){var i=new Le(Z("wrapper",n));i.add(this.node.cloneNode(true));return i.xml(false,n)}return t.prototype.xml.call(this,e,false,n)};return e}(Le);Q($e,"Fragment");function Je(t,e){return(this._element||this).type==="radialGradient"?this.attr({fx:new Me(t),fy:new Me(e)}):this.attr({x1:new Me(t),y1:new Me(e)})}function Ke(t,e){return(this._element||this).type==="radialGradient"?this.attr({cx:new Me(t),cy:new Me(e)}):this.attr({x2:new Me(t),y2:new Me(e)})}var tr={__proto__:null,from:Je,to:Ke};var er=function(t){__extends(e,t);function e(e,r){return t.call(this,X(e+"Gradient",typeof e==="string"?null:e),r)||this}e.prototype.attr=function(e,r,n){if(e==="transform")e="gradientTransform";return t.prototype.attr.call(this,e,r,n)};e.prototype.bbox=function(){return new re};e.prototype.targets=function(){return he('svg [fill*="'+this.id()+'"]')};e.prototype.toString=function(){return this.url()};e.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};e.prototype.url=function(){return'url("#'+this.id()+'")'};return e}(Be);tt(er,tr);b({Container:{gradient:function(){var t;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return(t=this.defs()).gradient.apply(t,e)}},Defs:{gradient:et((function(t,e){return this.put(new er(t)).update(e)}))}});Q(er,"Gradient");var rr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("pattern",e),r)||this}e.prototype.attr=function(e,r,n){if(e==="transform")e="patternTransform";return t.prototype.attr.call(this,e,r,n)};e.prototype.bbox=function(){return new re};e.prototype.targets=function(){return he('svg [fill*="'+this.id()+'"]')};e.prototype.toString=function(){return this.url()};e.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};e.prototype.url=function(){return'url("#'+this.id()+'")'};return e}(Be);b({Container:{pattern:function(){var t;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return(t=this.defs()).pattern.apply(t,e)}},Defs:{pattern:et((function(t,e,r){return this.put(new rr).update(r).attr({x:0,y:0,width:t,height:e,patternUnits:"userSpaceOnUse"})}))}});Q(rr,"Pattern");var nr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("image",e),r)||this}e.prototype.load=function(t,e){if(!t)return this;var r=new H.window.Image;me(r,"load",(function(t){var n=this.parent(rr);if(this.width()===0&&this.height()===0){this.size(r.width,r.height)}if(n instanceof rr){if(n.width()===0&&n.height()===0){n.size(this.width(),this.height())}}if(typeof e==="function"){e.call(this,t)}}),this);me(r,"load error",(function(){ge(r)}));return this.attr("href",r.src=t,B)};return e}(He);Oe((function(t,e,r){if(t==="fill"||t==="stroke"){if(kt.test(e)){e=r.root().defs().image(e)}}if(e instanceof nr){e=r.root().defs().pattern(0,0,(function(t){t.add(e)}))}return e}));b({Container:{image:et((function(t,e){return this.put(new nr).size(0,0).load(t,e)}))}});Q(nr,"Image");var ir=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.bbox=function(){var t=-Infinity;var e=-Infinity;var r=Infinity;var n=Infinity;this.forEach((function(i){t=Math.max(i[0],t);e=Math.max(i[1],e);r=Math.min(i[0],r);n=Math.min(i[1],n)}));return new re(r,n,t-r,e-n)};e.prototype.move=function(t,e){var r=this.bbox();t-=r.x;e-=r.y;if(!isNaN(t)&&!isNaN(e)){for(var n=this.length-1;n>=0;n--){this[n]=[this[n][0]+t,this[n][1]+e]}}return this};e.prototype.parse=function(t){if(t===void 0){t=[0,0]}var e=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(Mt).map(parseFloat)}if(t.length%2!==0)t.pop();for(var r=0,n=t.length;r<n;r=r+2){e.push([t[r],t[r+1]])}return e};e.prototype.size=function(t,e){var r;var n=this.bbox();for(r=this.length-1;r>=0;r--){if(n.width)this[r][0]=(this[r][0]-n.x)*t/n.width+n.x;if(n.height)this[r][1]=(this[r][1]-n.y)*e/n.height+n.y}return this};e.prototype.toLine=function(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}};e.prototype.toString=function(){var t=[];for(var e=0,r=this.length;e<r;e++){t.push(this[e].join(","))}return t.join(" ")};e.prototype.transform=function(t){return this.clone().transformO(t)};e.prototype.transformO=function(t){if(!Wt.isMatrixLike(t)){t=new Wt(t)}for(var e=this.length;e--;){var r=this[e],n=r[0],i=r[1];this[e][0]=t.a*n+t.c*i+t.e;this[e][1]=t.b*n+t.d*i+t.f}return this};return e}(ke);var or=ir;function sr(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function ar(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function ur(t){var e=this.bbox();return t==null?e.width:this.size(t,e.height)}function hr(t){var e=this.bbox();return t==null?e.height:this.size(e.width,t)}var fr={__proto__:null,MorphArray:or,x:sr,y:ar,width:ur,height:hr};var lr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("line",e),r)||this}e.prototype.array=function(){return new ir([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])};e.prototype.move=function(t,e){return this.attr(this.array().move(t,e).toLine())};e.prototype.plot=function(t,e,r,n){if(t==null){return this.array()}else if(typeof e!=="undefined"){t={x1:t,y1:e,x2:r,y2:n}}else{t=new ir(t).toLine()}return this.attr(t)};e.prototype.size=function(t,e){var r=N(this,t,e);return this.attr(this.array().size(r.width,r.height).toLine())};return e}(He);tt(lr,fr);b({Container:{line:et((function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}return lr.prototype.plot.apply(this.put(new lr),t[0]!=null?t:[0,0,0,0])}))}});Q(lr,"Line");var cr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("marker",e),r)||this}e.prototype.height=function(t){return this.attr("markerHeight",t)};e.prototype.orient=function(t){return this.attr("orient",t)};e.prototype.ref=function(t,e){return this.attr("refX",t).attr("refY",e)};e.prototype.toString=function(){return"url(#"+this.id()+")"};e.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};e.prototype.width=function(t){return this.attr("markerWidth",t)};return e}(Be);b({Container:{marker:function(){var t;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return(t=this.defs()).marker.apply(t,e)}},Defs:{marker:et((function(t,e,r){return this.put(new cr).size(t,e).ref(t/2,e/2).viewbox(0,0,t,e).attr("orient","auto").update(r)}))},marker:{marker:function(t,e,r,n){var i=["marker"];if(t!=="all")i.push(t);i=i.join("-");t=arguments[1]instanceof cr?arguments[1]:this.defs().marker(e,r,n);return this.attr(i,t)}}});Q(cr,"Marker");function pr(t,e){return function(r){if(r==null)return this[t];this[t]=r;if(e)e.call(this);return this}}var dr={"-":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,e,r,n){return function(i){if(i<0){if(t>0){return e/t*i}else if(r>0){return n/r*i}else{return 0}}else if(i>1){if(r<1){return(1-n)/(1-r)*i+(n-r)/(1-r)}else if(t<1){return(1-e)/(1-t)*i+(e-t)/(1-t)}else{return 1}}else{return 3*i*Math.pow(1-i,2)*e+3*Math.pow(i,2)*(1-i)*n+Math.pow(i,3)}}},steps:function(t,e){if(e===void 0){e="end"}e=e.split("-").reverse()[0];var r=t;if(e==="none"){--r}else if(e==="both"){++r}return function(n,i){if(i===void 0){i=false}var o=Math.floor(n*t);var s=n*o%1===0;if(e==="start"||e==="both"){++o}if(i&&s){--o}if(n>=0&&o<0){o=0}if(n<=1&&o>r){o=r}return o/r}}};var vr=function(){function t(){}t.prototype.done=function(){return false};return t}();var yr=function(t){__extends(e,t);function e(e){if(e===void 0){e=Ce.ease}var r=t.call(this)||this;r.ease=dr[e]||e;return r}e.prototype.step=function(t,e,r){if(typeof t!=="number"){return r<1?t:e}return t+(e-t)*this.ease(r)};return e}(vr);var mr=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.stepper=e;return r}e.prototype.done=function(t){return t.done};e.prototype.step=function(t,e,r,n){return this.stepper(t,e,r,n)};return e}(vr);function gr(){var t=(this._duration||500)/1e3;var e=this._overshoot||0;var r=1e-10;var n=Math.PI;var i=Math.log(e/100+r);var o=-i/Math.sqrt(n*n+i*i);var s=3.9/(o*t);this.d=2*o*s;this.k=s*s}var wr=function(t){__extends(e,t);function e(e,r){if(e===void 0){e=500}if(r===void 0){r=0}var n=t.call(this)||this;n.duration(e).overshoot(r);return n}e.prototype.step=function(t,e,r,n){if(typeof t==="string")return t;n.done=r===Infinity;if(r===Infinity)return e;if(r===0)return t;if(r>100)r=16;r/=1e3;var i=n.velocity||0;var o=-this.d*i-this.k*(t-e);var s=t+i*r+o*r*r/2;n.velocity=i+o*r;n.done=Math.abs(e-s)+Math.abs(i)<.002;return n.done?e:s};return e}(mr);tt(wr,{duration:pr("_duration",gr),overshoot:pr("_overshoot",gr)});var xr=function(t){__extends(e,t);function e(e,r,n,i){if(e===void 0){e=.1}if(r===void 0){r=.01}if(n===void 0){n=0}if(i===void 0){i=1e3}var o=t.call(this)||this;o.p(e).i(r).d(n).windup(i);return o}e.prototype.step=function(t,e,r,n){if(typeof t==="string")return t;n.done=r===Infinity;if(r===Infinity)return e;if(r===0)return t;var i=e-t;var o=(n.integral||0)+i*r;var s=(i-(n.error||0))/r;var a=this._windup;if(a!==false){o=Math.max(-a,Math.min(o,a))}n.error=i;n.integral=o;n.done=Math.abs(i)<.001;return n.done?e:t+(this.P*i+this.I*o+this.D*s)};return e}(mr);tt(xr,{windup:pr("_windup"),p:pr("P"),i:pr("I"),d:pr("D")});var _r={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};var Cr={M:function(t,e,r){e.x=r.x=t[0];e.y=r.y=t[1];return["M",e.x,e.y]},L:function(t,e){e.x=t[0];e.y=t[1];return["L",t[0],t[1]]},H:function(t,e){e.x=t[0];return["H",t[0]]},V:function(t,e){e.y=t[0];return["V",t[0]]},C:function(t,e){e.x=t[4];e.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,e){e.x=t[2];e.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,e){e.x=t[2];e.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,e){e.x=t[0];e.y=t[1];return["T",t[0],t[1]]},Z:function(t,e,r){e.x=r.x;e.y=r.y;return["Z"]},A:function(t,e){e.x=t[5];e.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};var br="mlhvqtcsaz".split("");for(var kr=0,Mr=br.length;kr<Mr;++kr){Cr[br[kr]]=function(t){return function(e,r,n){if(t==="H")e[0]=e[0]+r.x;else if(t==="V")e[0]=e[0]+r.y;else if(t==="A"){e[5]=e[5]+r.x;e[6]=e[6]+r.y}else{for(var i=0,o=e.length;i<o;++i){e[i]=e[i]+(i%2?r.y:r.x)}}return Cr[t](e,r,n)}}(br[kr].toUpperCase())}function Ar(t){var e=t.segment[0];return Cr[e](t.segment.slice(1),t.p,t.p0)}function Or(t){return t.segment.length&&t.segment.length-1===_r[t.segment[0].toUpperCase()]}function Sr(t,e){t.inNumber&&Lr(t,false);var r=At.test(e);if(r){t.segment=[e]}else{var n=t.lastCommand;var i=n.toLowerCase();var o=n===i;t.segment=[i==="m"?o?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return r}function Lr(t,e){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=e;t.number="";t.pointSeen=false;t.hasExponent=false;if(Or(t)){jr(t)}}function jr(t){t.inSegment=false;if(t.absolute){t.segment=Ar(t)}t.segments.push(t.segment)}function Tr(t){if(!t.segment.length)return false;var e=t.segment[0].toUpperCase()==="A";var r=t.segment.length;return e&&(r===4||r===5)}function Er(t){return t.lastToken.toUpperCase()==="E"}function Nr(t,e){if(e===void 0){e=true}var r=0;var n="";var i={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:e,p0:new Gt,p:new Gt};while(i.lastToken=n,n=t.charAt(r++)){if(!i.inSegment){if(Sr(i,n)){continue}}if(n==="."){if(i.pointSeen||i.hasExponent){Lr(i,false);--r;continue}i.inNumber=true;i.pointSeen=true;i.number+=n;continue}if(!isNaN(parseInt(n))){if(i.number==="0"||Tr(i)){i.inNumber=true;i.number=n;Lr(i,true);continue}i.inNumber=true;i.number+=n;continue}if(n===" "||n===","){if(i.inNumber){Lr(i,false)}continue}if(n==="-"){if(i.inNumber&&!Er(i)){Lr(i,false);--r;continue}i.number+=n;i.inNumber=true;continue}if(n.toUpperCase()==="E"){i.number+=n;i.hasExponent=true;continue}if(At.test(n)){if(i.inNumber){Lr(i,false)}else if(!Or(i)){throw new Error("parser Error")}else{jr(i)}--r}}if(i.inNumber){Lr(i,false)}if(i.inSegment&&Or(i)){jr(i)}return i.segments}function Ir(t){var e="";for(var r=0,n=t.length;r<n;r++){e+=t[r][0];if(t[r][1]!=null){e+=t[r][1];if(t[r][2]!=null){e+=" ";e+=t[r][2];if(t[r][3]!=null){e+=" ";e+=t[r][3];e+=" ";e+=t[r][4];if(t[r][5]!=null){e+=" ";e+=t[r][5];e+=" ";e+=t[r][6];if(t[r][7]!=null){e+=" ";e+=t[r][7]}}}}}}return e+" "}var Dr=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.bbox=function(){Kt().path.setAttribute("d",this.toString());return new re(Kt.nodes.path.getBBox())};e.prototype.move=function(t,e){var r=this.bbox();t-=r.x;e-=r.y;if(!isNaN(t)&&!isNaN(e)){for(var n=void 0,i=this.length-1;i>=0;i--){n=this[i][0];if(n==="M"||n==="L"||n==="T"){this[i][1]+=t;this[i][2]+=e}else if(n==="H"){this[i][1]+=t}else if(n==="V"){this[i][1]+=e}else if(n==="C"||n==="S"||n==="Q"){this[i][1]+=t;this[i][2]+=e;this[i][3]+=t;this[i][4]+=e;if(n==="C"){this[i][5]+=t;this[i][6]+=e}}else if(n==="A"){this[i][6]+=t;this[i][7]+=e}}}return this};e.prototype.parse=function(t){if(t===void 0){t="M0 0"}if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return Nr(t)};e.prototype.size=function(t,e){var r=this.bbox();var n,i;r.width=r.width===0?1:r.width;r.height=r.height===0?1:r.height;for(n=this.length-1;n>=0;n--){i=this[n][0];if(i==="M"||i==="L"||i==="T"){this[n][1]=(this[n][1]-r.x)*t/r.width+r.x;this[n][2]=(this[n][2]-r.y)*e/r.height+r.y}else if(i==="H"){this[n][1]=(this[n][1]-r.x)*t/r.width+r.x}else if(i==="V"){this[n][1]=(this[n][1]-r.y)*e/r.height+r.y}else if(i==="C"||i==="S"||i==="Q"){this[n][1]=(this[n][1]-r.x)*t/r.width+r.x;this[n][2]=(this[n][2]-r.y)*e/r.height+r.y;this[n][3]=(this[n][3]-r.x)*t/r.width+r.x;this[n][4]=(this[n][4]-r.y)*e/r.height+r.y;if(i==="C"){this[n][5]=(this[n][5]-r.x)*t/r.width+r.x;this[n][6]=(this[n][6]-r.y)*e/r.height+r.y}}else if(i==="A"){this[n][1]=this[n][1]*t/r.width;this[n][2]=this[n][2]*e/r.height;this[n][6]=(this[n][6]-r.x)*t/r.width+r.x;this[n][7]=(this[n][7]-r.y)*e/r.height+r.y}}return this};e.prototype.toString=function(){return Ir(this)};return e}(ke);var zr=function(t){var e=typeof t;if(e==="number"){return Me}else if(e==="string"){if(Xt.isColor(t)){return Xt}else if(Mt.test(t)){return At.test(t)?Dr:ke}else if(dt.test(t)){return Me}else{return Br}}else if(Rr.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return ke}else if(e==="object"){return Vr}else{return Br}};var Pr=function(){function t(t){this._stepper=t||new yr("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}t.prototype.at=function(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)};t.prototype.done=function(){var t=this._context.map(this._stepper.done).reduce((function(t,e){return t&&e}),true);return t};t.prototype.from=function(t){if(t==null){return this._from}this._from=this._set(t);return this};t.prototype.stepper=function(t){if(t==null)return this._stepper;this._stepper=t;return this};t.prototype.to=function(t){if(t==null){return this._to}this._to=this._set(t);return this};t.prototype.type=function(t){if(t==null){return this._type}this._type=t;return this};t.prototype._set=function(t){if(!this._type){this.type(zr(t))}var e=new this._type(t);if(this._type===Xt){e=this._to?e[this._to[4]]():this._from?e[this._from[4]]():e}if(this._type===Vr){e=this._to?e.align(this._to):this._from?e.align(this._from):e}e=e.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(e.length)).map(Object).map((function(t){t.done=true;return t}));return e};return t}();var Br=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.init=function(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this};t.prototype.toArray=function(){return[this.value]};t.prototype.valueOf=function(){return this.value};return t}();var qr=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.init=function(e){if(Array.isArray(e)){e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}}Object.assign(this,t.defaults,e);return this};t.prototype.toArray=function(){var t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]};return t}();qr.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};var Hr=function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0};var Vr=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.align=function(t){var e;var r=this.values;for(var n=0,i=r.length;n<i;++n){if(r[n+1]===t[n+1]){if(r[n+1]===Xt&&t[n+7]!==r[n+7]){var o=t[n+7];var s=new Xt(this.values.splice(n+3,5))[o]().toArray();(e=this.values).splice.apply(e,__spreadArray([n+3,0],s,false))}n+=r[n+2]+2;continue}if(!t[n+1]){return this}var a=(new t[n+1]).toArray();var u=r[n+2]+3;r.splice.apply(r,__spreadArray([n,u,t[n],t[n+1],t[n+2]],a,false));n+=r[n+2]+2}return this};t.prototype.init=function(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};var e=[];for(var r in t){var n=zr(t[r]);var i=new n(t[r]).toArray();e.push(__spreadArray([r,n,i.length],i,true))}e.sort(Hr);this.values=e.reduce((function(t,e){return t.concat(e)}),[]);return this};t.prototype.toArray=function(){return this.values};t.prototype.valueOf=function(){var t={};var e=this.values;while(e.length){var r=e.shift();var n=e.shift();var i=e.shift();var o=e.splice(0,i);t[r]=new n(o)}return t};return t}();var Rr=[Br,qr,Vr];function Fr(t){if(t===void 0){t=[]}Rr.push.apply(Rr,[].concat(t))}function Zr(){tt(Rr,{to:function(t){return(new Pr).type(this.constructor).from(this.toArray()).to(t)},fromArray:function(t){this.init(t);return this},toConsumable:function(){return this.toArray()},morph:function(t,e,r,n,i){var o=function(t,o){return n.step(t,e[o],r,i[o],i)};return this.fromArray(t.map(o))}})}var Yr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("path",e),r)||this}e.prototype.array=function(){return this._array||(this._array=new Dr(this.attr("d")))};e.prototype.clear=function(){delete this._array;return this};e.prototype.height=function(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)};e.prototype.move=function(t,e){return this.attr("d",this.array().move(t,e))};e.prototype.plot=function(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new Dr(t))};e.prototype.size=function(t,e){var r=N(this,t,e);return this.attr("d",this.array().size(r.width,r.height))};e.prototype.width=function(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)};e.prototype.x=function(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)};e.prototype.y=function(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)};return e}(He);Yr.prototype.MorphArray=Dr;b({Container:{path:et((function(t){return this.put(new Yr).plot(t||new Dr)}))}});Q(Yr,"Path");function Xr(){return this._array||(this._array=new ir(this.attr("points")))}function Gr(){delete this._array;return this}function Ur(t,e){return this.attr("points",this.array().move(t,e))}function Qr(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new ir(t))}function Wr(t,e){var r=N(this,t,e);return this.attr("points",this.array().size(r.width,r.height))}var $r={__proto__:null,array:Xr,clear:Gr,move:Ur,plot:Qr,size:Wr};var Jr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("polygon",e),r)||this}return e}(He);b({Container:{polygon:et((function(t){return this.put(new Jr).plot(t||new ir)}))}});tt(Jr,fr);tt(Jr,$r);Q(Jr,"Polygon");var Kr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("polyline",e),r)||this}return e}(He);b({Container:{polyline:et((function(t){return this.put(new Kr).plot(t||new ir)}))}});tt(Kr,fr);tt(Kr,$r);Q(Kr,"Polyline");var tn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("rect",e),r)||this}return e}(He);tt(tn,{rx:Ve,ry:Re});b({Container:{rect:et((function(t,e){return this.put(new tn).size(t,e)}))}});Q(tn,"Rect");var en=function(){function t(){this._first=null;this._last=null}t.prototype.first=function(){return this._first&&this._first.value};t.prototype.last=function(){return this._last&&this._last.value};t.prototype.push=function(t){var e=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){e.prev=this._last;this._last.next=e;this._last=e}else{this._last=e;this._first=e}return e};t.prototype.remove=function(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};t.prototype.shift=function(){var 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};return t}();var rn={nextDraw:null,frames:new en,timeouts:new en,immediates:new en,timer:function(){return H.window.performance||H.window.Date},transforms:[],frame:function(t){var e=rn.frames.push({run:t});if(rn.nextDraw===null){rn.nextDraw=H.window.requestAnimationFrame(rn._draw)}return e},timeout:function(t,e){e=e||0;var r=rn.timer().now()+e;var n=rn.timeouts.push({run:t,time:r});if(rn.nextDraw===null){rn.nextDraw=H.window.requestAnimationFrame(rn._draw)}return n},immediate:function(t){var e=rn.immediates.push(t);if(rn.nextDraw===null){rn.nextDraw=H.window.requestAnimationFrame(rn._draw)}return e},cancelFrame:function(t){t!=null&&rn.frames.remove(t)},clearTimeout:function(t){t!=null&&rn.timeouts.remove(t)},cancelImmediate:function(t){t!=null&&rn.immediates.remove(t)},_draw:function(t){var e=null;var r=rn.timeouts.last();while(e=rn.timeouts.shift()){if(t>=e.time){e.run()}else{rn.timeouts.push(e)}if(e===r)break}var n=null;var i=rn.frames.last();while(n!==i&&(n=rn.frames.shift())){n.run(t)}var o=null;while(o=rn.immediates.shift()){o()}rn.nextDraw=rn.timeouts.first()||rn.frames.first()?H.window.requestAnimationFrame(rn._draw):null}};var nn=function(t){var e=t.start;var r=t.runner.duration();var n=e+r;return{start:e,duration:r,end:n,runner:t.runner}};var on=function(){var t=H.window;return(t.performance||t.Date).now()};var sn=function(t){__extends(e,t);function e(e){if(e===void 0){e=on}var r=t.call(this)||this;r._timeSource=e;r._startTime=0;r._speed=1;r._persist=0;r._nextFrame=null;r._paused=true;r._runners=[];r._runnerIds=[];r._lastRunnerId=-1;r._time=0;r._lastSourceTime=0;r._lastStepTime=0;r._step=r._stepFn.bind(r,false);r._stepImmediate=r._stepFn.bind(r,true);return r}e.prototype.active=function(){return!!this._nextFrame};e.prototype.finish=function(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()};e.prototype.getEndTime=function(){var t=this.getLastRunnerInfo();var e=t?t.runner.duration():0;var r=t?t.start:this._time;return r+e};e.prototype.getEndTimeOfTimeline=function(){var t=this._runners.map((function(t){return t.start+t.runner.duration()}));return Math.max.apply(Math,__spreadArray([0],t,false))};e.prototype.getLastRunnerInfo=function(){return this.getRunnerInfoById(this._lastRunnerId)};e.prototype.getRunnerInfoById=function(t){return this._runners[this._runnerIds.indexOf(t)]||null};e.prototype.pause=function(){this._paused=true;return this._continue()};e.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};e.prototype.play=function(){this._paused=false;return this.updateTime()._continue()};e.prototype.reverse=function(t){var e=this.speed();if(t==null)return this.speed(-e);var r=Math.abs(e);return this.speed(t?-r:r)};e.prototype.schedule=function(t,e,r){if(t==null){return this._runners.map(nn)}var n=0;var i=this.getEndTime();e=e||0;if(r==null||r==="last"||r==="after"){n=i}else if(r==="absolute"||r==="start"){n=e;e=0}else if(r==="now"){n=this._time}else if(r==="relative"){var o=this.getRunnerInfoById(t.id);if(o){n=o.start+e;e=0}}else if(r==="with-last"){var s=this.getLastRunnerInfo();var a=s?s.start:this._time;n=a}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);var u=t.persist();var h={persist:u===null?this._persist:u,start:n+e,runner:t};this._lastRunnerId=t.id;this._runners.push(h);this._runners.sort((function(t,e){return t.start-e.start}));this._runnerIds=this._runners.map((function(t){return t.runner.id}));this.updateTime()._continue();return this};e.prototype.seek=function(t){return this.time(this._time+t)};e.prototype.source=function(t){if(t==null)return this._timeSource;this._timeSource=t;return this};e.prototype.speed=function(t){if(t==null)return this._speed;this._speed=t;return this};e.prototype.stop=function(){this.time(0);return this.pause()};e.prototype.time=function(t){if(t==null)return this._time;this._time=t;return this._continue(true)};e.prototype.unschedule=function(t){var e=this._runnerIds.indexOf(t.id);if(e<0)return this;this._runners.splice(e,1);this._runnerIds.splice(e,1);t.timeline(null);return this};e.prototype.updateTime=function(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this};e.prototype._continue=function(t){if(t===void 0){t=false}rn.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=rn.frame(this._step);return this};e.prototype._stepFn=function(t){if(t===void 0){t=false}var e=this._timeSource();var r=e-this._lastSourceTime;if(t)r=0;var n=this._speed*r+(this._time-this._lastStepTime);this._lastSourceTime=e;if(!t){this._time+=n;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(var i=this._runners.length;i--;){var o=this._runners[i];var s=o.runner;var a=this._time-o.start;if(a<=0){s.reset()}}var u=false;for(var h=0,f=this._runners.length;h<f;h++){var o=this._runners[h];var s=o.runner;var l=n;var a=this._time-o.start;if(a<=0){u=true;continue}else if(a<l){l=a}if(!s.active())continue;var c=s.step(l).done;if(!c){u=true}else if(o.persist!==true){var p=s.duration()-s.time()+this._time;if(p+o.persist<this._time){s.unschedule();--h;--f}}}if(u&&!(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};return e}(xe);b({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new sn;return this._timeline}else{this._timeline=t;return this}}}});var an=function(t){__extends(e,t);function e(r){var n=t.call(this)||this;n.id=e.id++;r=r==null?Ce.duration:r;r=typeof r==="function"?new mr(r):r;n._element=null;n._timeline=null;n.done=false;n._queue=[];n._duration=typeof r==="number"&&r;n._isDeclarative=r instanceof mr;n._stepper=n._isDeclarative?r:new yr;n._history={};n.enabled=true;n._time=0;n._lastTime=0;n._reseted=true;n.transforms=new Wt;n.transformId=1;n._haveReversed=false;n._reverse=false;n._loopsDone=0;n._swing=false;n._wait=0;n._times=1;n._frameId=null;n._persist=n._isDeclarative?true:null;return n}e.sanitise=function(t,e,r){var n=1;var i=false;var o=0;t=t||Ce.duration;e=e||Ce.delay;r=r||"last";if(typeof t==="object"&&!(t instanceof vr)){e=t.delay||e;r=t.when||r;i=t.swing||i;n=t.times||n;o=t.wait||o;t=t.duration||Ce.duration}return{duration:t,delay:e,swing:i,times:n,wait:o,when:r}};e.prototype.active=function(t){if(t==null)return this.enabled;this.enabled=t;return this};e.prototype.addTransform=function(t,e){this.transforms.lmultiplyO(t);return this};e.prototype.after=function(t){return this.on("finished",t)};e.prototype.animate=function(t,r,n){var i=e.sanitise(t,r,n);var o=new e(i.duration);if(this._timeline)o.timeline(this._timeline);if(this._element)o.element(this._element);return o.loop(i).schedule(i.delay,i.when)};e.prototype.clearTransform=function(){this.transforms=new Wt;return this};e.prototype.clearTransformsFromQueue=function(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((function(t){return!t.isTransform}))}};e.prototype.delay=function(t){return this.animate(0,t)};e.prototype.duration=function(){return this._times*(this._wait+this._duration)-this._wait};e.prototype.during=function(t){return this.queue(null,t)};e.prototype.ease=function(t){this._stepper=new yr(t);return this};e.prototype.element=function(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this};e.prototype.finish=function(){return this.step(Infinity)};e.prototype.loop=function(t,e,r){if(typeof t==="object"){e=t.swing;r=t.wait;t=t.times}this._times=t||Infinity;this._swing=e||false;this._wait=r||0;if(this._times===true){this._times=Infinity}return this};e.prototype.loops=function(t){var e=this._duration+this._wait;if(t==null){var r=Math.floor(this._time/e);var n=this._time-r*e;var i=n/this._duration;return Math.min(r+i,this._times)}var o=Math.floor(t);var s=t%1;var a=e*o+this._duration*s;return this.time(a)};e.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};e.prototype.position=function(t){var e=this._time;var r=this._duration;var n=this._wait;var i=this._times;var o=this._swing;var s=this._reverse;var a;if(t==null){var u=function(t){var e=o*Math.floor(t%(2*(n+r))/(n+r));var i=e&&!s||!e&&s;var a=Math.pow(-1,i)*(t%(n+r))/r+i;var u=Math.max(Math.min(a,1),0);return u};var h=i*(n+r)-n;a=e<=0?Math.round(u(1e-5)):e<h?u(e):Math.round(u(h-1e-5));return a}var f=Math.floor(this.loops());var l=o&&f%2===0;var c=l&&!s||s&&l;a=f+(c?t:1-t);return this.loops(a)};e.prototype.progress=function(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())};e.prototype.queue=function(t,e,r,n){this._queue.push({initialiser:t||_e,runner:e||_e,retarget:r,isTransform:n,initialised:false,finished:false});var i=this.timeline();i&&this.timeline()._continue();return this};e.prototype.reset=function(){if(this._reseted)return this;this.time(0);this._reseted=true;return this};e.prototype.reverse=function(t){this._reverse=t==null?!this._reverse:t;return this};e.prototype.schedule=function(t,e,r){if(!(t instanceof sn)){r=e;e=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,e,r);return this};e.prototype.step=function(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;var e=this.position();var r=this._lastPosition!==e&&this._time>=0;this._lastPosition=e;var n=this.duration();var i=this._lastTime<=0&&this._time>0;var o=this._lastTime<n&&this._time>=n;this._lastTime=this._time;if(i){this.fire("start",this)}var s=this._isDeclarative;this.done=!s&&!o&&this._time>=n;this._reseted=false;var a=false;if(r||s){this._initialise(r);this.transforms=new Wt;a=this._run(s?t:e);this.fire("step",this)}this.done=this.done||a&&s;if(o){this.fire("finished",this)}return this};e.prototype.time=function(t){if(t==null){return this._time}var e=t-this._time;this.step(e);return this};e.prototype.timeline=function(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this};e.prototype.unschedule=function(){var t=this.timeline();t&&t.unschedule(this);return this};e.prototype._initialise=function(t){if(!t&&!this._isDeclarative)return;for(var e=0,r=this._queue.length;e<r;++e){var n=this._queue[e];var i=this._isDeclarative||!n.initialised&&t;t=!n.finished;if(i&&t){n.initialiser.call(this);n.initialised=true}}};e.prototype._rememberMorpher=function(t,e){this._history[t]={morpher:e,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){var r=this.timeline();r&&r.play()}};e.prototype._run=function(t){var e=true;for(var r=0,n=this._queue.length;r<n;++r){var i=this._queue[r];var o=i.runner.call(this,t);i.finished=i.finished||o===true;e=e&&i.finished}return e};e.prototype._tryRetarget=function(t,e,r){if(this._history[t]){if(!this._history[t].caller.initialised){var 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,e,r)}else{this._history[t].morpher.to(e)}this._history[t].caller.finished=false;var i=this.timeline();i&&i.play();return true}return false};return e}(xe);an.id=0;var un=function(){function t(t,e,r){if(t===void 0){t=new Wt}if(e===void 0){e=-1}if(r===void 0){r=true}this.transforms=t;this.id=e;this.done=r}t.prototype.clearTransformsFromQueue=function(){};return t}();tt([an,un],{mergeWith:function(t){return new un(t.transforms.lmultiply(this.transforms),t.id)}});var hn=function(t,e){return t.lmultiplyO(e)};var fn=function(t){return t.transforms};function ln(){var t=this._transformationRunners.runners;var e=t.map(fn).reduce(hn,new Wt);this.transform(e);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}var cn=function(){function t(){this.runners=[];this.ids=[]}t.prototype.add=function(t){if(this.runners.includes(t))return;var e=t.id+1;this.runners.push(t);this.ids.push(e);return this};t.prototype.clearBefore=function(t){var e=this.ids.indexOf(t+1)||1;this.ids.splice(0,e,0);this.runners.splice(0,e,new un).forEach((function(t){return t.clearTransformsFromQueue()}));return this};t.prototype.edit=function(t,e){var r=this.ids.indexOf(t+1);this.ids.splice(r,1,t+1);this.runners.splice(r,1,e);return this};t.prototype.getByID=function(t){return this.runners[this.ids.indexOf(t+1)]};t.prototype.length=function(){return this.ids.length};t.prototype.merge=function(){var t=null;for(var e=0;e<this.runners.length;++e){var r=this.runners[e];var n=t&&r.done&&t.done&&(!r._timeline||!r._timeline._runnerIds.includes(r.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(n){this.remove(r.id);var i=r.mergeWith(t);this.edit(t.id,i);t=i;--e}else{t=r}}return this};t.prototype.remove=function(t){var e=this.ids.indexOf(t+1);this.ids.splice(e,1);this.runners.splice(e,1);return this};return t}();b({Element:{animate:function(t,e,r){var n=an.sanitise(t,e,r);var i=this.timeline();return new an(n.duration).loop(n).element(this).timeline(i.play()).schedule(n.delay,n.when)},delay:function(t,e){return this.animate(0,t,e)},_clearTransformRunnersBefore:function(t){this._transformationRunners.clearBefore(t.id)},_currentTransform:function(t){return this._transformationRunners.runners.filter((function(e){return e.id<=t.id})).map(fn).reduce(hn,new Wt)},_addRunner:function(t){this._transformationRunners.add(t);rn.cancelImmediate(this._frameId);this._frameId=rn.immediate(ln.bind(this))},_prepareRunner:function(){if(this._frameId==null){this._transformationRunners=(new cn).add(new un(new Wt(this)))}}}});var pn=function(t,e){return t.filter((function(t){return!e.includes(t)}))};tt(an,{attr:function(t,e){return this.styleAttr("attr",t,e)},css:function(t,e){return this.styleAttr("css",t,e)},styleAttr:function(t,e,r){var n;if(typeof e==="string"){return this.styleAttr(t,(n={},n[e]=r,n))}var i=e;if(this._tryRetarget(t,i))return this;var o=new Pr(this._stepper).to(i);var s=Object.keys(i);this.queue((function(){o=o.from(this.element()[t](s))}),(function(e){this.element()[t](o.at(e).valueOf());return o.done()}),(function(e){var r=Object.keys(e);var n=pn(r,s);if(n.length){var a=this.element()[t](n);var u=new Vr(o.from()).valueOf();Object.assign(u,a);o.from(u)}var h=new Vr(o.to()).valueOf();Object.assign(h,e);o.to(h);s=r;i=e}));this._rememberMorpher(t,o);return this},zoom:function(t,e){if(this._tryRetarget("zoom",t,e))return this;var r=new Pr(this._stepper).to(new Me(t));this.queue((function(){r=r.from(this.element().zoom())}),(function(t){this.element().zoom(r.at(t),e);return r.done()}),(function(t,n){e=n;r.to(t)}));this._rememberMorpher("zoom",r);return this},transform:function(t,e,r){e=t.relative||e;if(this._isDeclarative&&!e&&this._tryRetarget("transform",t)){return this}var n=Wt.isMatrixLike(t);r=t.affine!=null?t.affine:r!=null?r:!n;var i=new Pr(this._stepper).type(r?qr:Wt);var o;var s;var a;var u;var h;function f(){s=s||this.element();o=o||I(t,s);h=new Wt(e?undefined:s);s._addRunner(this);if(!e){s._clearTransformRunnersBefore(this)}}function l(f){if(!e)this.clearTransform();var l=new Gt(o).transform(s._currentTransform(this)),c=l.x,p=l.y;var d=new Wt(__assign(__assign({},t),{origin:[c,p]}));var v=this._isDeclarative&&a?a:h;if(r){d=d.decompose(c,p);v=v.decompose(c,p);var y=d.rotate;var m=v.rotate;var g=[y-360,y,y+360];var w=g.map((function(t){return Math.abs(t-m)}));var x=Math.min.apply(Math,w);var _=w.indexOf(x);d.rotate=g[_]}if(e){if(!n){d.rotate=t.rotate||0}if(this._isDeclarative&&u){v.rotate=u}}i.from(v);i.to(d);var C=i.at(f);u=C.rotate;a=new Wt(C);this.addTransform(a);s._addRunner(this);return i.done()}function c(e){if((e.origin||"center").toString()!==(t.origin||"center").toString()){o=I(e,s)}t=__assign(__assign({},e),{origin:o})}this.queue(f,l,c,true);this._isDeclarative&&this._rememberMorpher("transform",i);return this},x:function(t,e){return this._queueNumber("x",t)},y:function(t){return this._queueNumber("y",t)},dx:function(t){if(t===void 0){t=0}return this._queueNumberDelta("x",t)},dy:function(t){if(t===void 0){t=0}return this._queueNumberDelta("y",t)},dmove:function(t,e){return this.dx(t).dy(e)},_queueNumberDelta:function(t,e){e=new Me(e);if(this._tryRetarget(t,e))return this;var r=new Pr(this._stepper).to(e);var n=null;this.queue((function(){n=this.element()[t]();r.from(n);r.to(n+e)}),(function(e){this.element()[t](r.at(e));return r.done()}),(function(t){r.to(n+new Me(t))}));this._rememberMorpher(t,r);return this},_queueObject:function(t,e){if(this._tryRetarget(t,e))return this;var r=new Pr(this._stepper).to(e);this.queue((function(){r.from(this.element()[t]())}),(function(e){this.element()[t](r.at(e));return r.done()}));this._rememberMorpher(t,r);return this},_queueNumber:function(t,e){return this._queueObject(t,new Me(e))},cx:function(t){return this._queueNumber("cx",t)},cy:function(t){return this._queueNumber("cy",t)},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},size:function(t,e){var r;if(!t||!e){r=this._element.bbox()}if(!t){t=r.width/r.height*e}if(!e){e=r.height/r.width*t}return this.width(t).height(e)},width:function(t){return this._queueNumber("width",t)},height:function(t){return this._queueNumber("height",t)},plot:function(t,e,r,n){if(arguments.length===4){return this.plot([t,e,r,n])}if(this._tryRetarget("plot",t))return this;var i=new Pr(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){i.from(this._element.array())}),(function(t){this._element.plot(i.at(t));return i.done()}));this._rememberMorpher("plot",i);return this},leading:function(t){return this._queueNumber("leading",t)},viewbox:function(t,e,r,n){return this._queueObject("viewbox",new re(t,e,r,n))},update:function(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}});tt(an,{rx:Ve,ry:Re,from:Je,to:Ke});Q(an,"Runner");var dn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}var n=t.call(this,X("svg",e),r)||this;n.namespace();return n}e.prototype.defs=function(){if(!this.isRoot())return this.root().defs();return G(this.node.querySelector("defs"))||this.put(new qe)};e.prototype.isRoot=function(){return!this.node.parentNode||!(this.node.parentNode instanceof H.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"};e.prototype.namespace=function(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:D,version:"1.1"}).attr("xmlns:xlink",B,P).attr("xmlns:svgjs",q,P)};e.prototype.removeNamespace=function(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,P).attr("xmlns:svgjs",null,P)};e.prototype.root=function(){if(this.isRoot())return this;return t.prototype.root.call(this)};return e}(Be);b({Container:{nested:et((function(){return this.put(new dn)}))}});Q(dn,"Svg",true);var vn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("symbol",e),r)||this}return e}(Be);b({Container:{symbol:et((function(){return this.put(new vn)}))}});Q(vn,"Symbol");function yn(t){if(this._build===false){this.clear()}this.node.appendChild(H.document.createTextNode(t));return this}function mn(){return this.node.getComputedTextLength()}function gn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.x}return this.attr("x",this.attr("x")+t-e.x)}function wn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.y}return this.attr("y",this.attr("y")+t-e.y)}function xn(t,e,r){if(r===void 0){r=this.bbox()}return this.x(t,r).y(e,r)}function _n(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.cx}return this.attr("x",this.attr("x")+t-e.cx)}function Cn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.cy}return this.attr("y",this.attr("y")+t-e.cy)}function bn(t,e,r){if(r===void 0){r=this.bbox()}return this.cx(t,r).cy(e,r)}function kn(t){return this.attr("x",t)}function Mn(t){return this.attr("y",t)}function An(t,e){return this.ax(t).ay(e)}function On(t){this._build=!!t;return this}var Sn={__proto__:null,plain:yn,length:mn,x:gn,y:wn,move:xn,cx:_n,cy:Cn,center:bn,ax:kn,ay:Mn,amove:An,build:On};var Ln=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}var n=t.call(this,X("text",e),r)||this;n.dom.leading=new Me(1.3);n._rebuild=true;n._build=false;return n}e.prototype.leading=function(t){if(t==null){return this.dom.leading}this.dom.leading=new Me(t);return this.rebuild()};e.prototype.rebuild=function(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){var e=this;var r=0;var n=this.dom.leading;this.each((function(t){var i=H.window.getComputedStyle(this.node).getPropertyValue("font-size");var o=n*new Me(i);if(this.dom.newLined){this.attr("x",e.attr("x"));if(this.text()==="\n"){r+=o}else{this.attr("dy",t?o+r:0);r=0}}}));this.fire("rebuild")}return this};e.prototype.setData=function(t){this.dom=t;this.dom.leading=new Me(t.leading||1.3);return this};e.prototype.text=function(t){if(t===undefined){var e=this.node.childNodes;var r=0;t="";for(var n=0,i=e.length;n<i;++n){if(e[n].nodeName==="textPath"){if(n===0)r=1;continue}if(n!==r&&e[n].nodeType!==3&&G(e[n]).dom.newLined===true){t+="\n"}t+=e[n].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(var o=0,s=t.length;o<s;o++){this.newLine(t[o])}}return this.build(false).rebuild()};return e}(He);tt(Ln,Sn);b({Container:{text:et((function(t){if(t===void 0){t=""}return this.put(new Ln).text(t)})),plain:et((function(t){if(t===void 0){t=""}return this.put(new Ln).plain(t)}))}});Q(Ln,"Text");var jn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}var n=t.call(this,X("tspan",e),r)||this;n._build=false;return n}e.prototype.dx=function(t){return this.attr("dx",t)};e.prototype.dy=function(t){return this.attr("dy",t)};e.prototype.newLine=function(){this.dom.newLined=true;var t=this.parent();if(!(t instanceof Ln)){return this}var e=t.index(this);var r=H.window.getComputedStyle(this.node).getPropertyValue("font-size");var n=t.dom.leading*new Me(r);return this.dy(e?n:0).attr("x",t.x())};e.prototype.text=function(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};return e}(He);tt(jn,Sn);b({Tspan:{tspan:et((function(t){if(t===void 0){t=""}var e=new jn;if(!this._build){this.clear()}return this.put(e).text(t)}))},Text:{newLine:function(t){if(t===void 0){t=""}return this.tspan(t).newLine()}}});Q(jn,"Tspan");var Tn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("circle",e),r)||this}e.prototype.radius=function(t){return this.attr("r",t)};e.prototype.rx=function(t){return this.attr("r",t)};e.prototype.ry=function(t){return this.rx(t)};e.prototype.size=function(t){return this.radius(new Me(t).divide(2))};return e}(He);tt(Tn,{x:Fe,y:Ze,cx:Ye,cy:Xe,width:Ge,height:Ue});b({Container:{circle:et((function(t){if(t===void 0){t=0}return this.put(new Tn).size(t).move(0,0)}))}});Q(Tn,"Circle");var En=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("clipPath",e),r)||this}e.prototype.remove=function(){this.targets().forEach((function(t){t.unclip()}));return t.prototype.remove.call(this)};e.prototype.targets=function(){return he('svg [clip-path*="'+this.id()+'"]')};return e}(Be);b({Container:{clip:et((function(){return this.defs().put(new En)}))},Element:{clipper:function(){return this.reference("clip-path")},clipWith:function(t){var e=t instanceof En?t:this.parent().clip().add(t);return this.attr("clip-path",'url("#'+e.id()+'")')},unclip:function(){return this.attr("clip-path",null)}}});Q(En,"ClipPath");var Nn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("foreignObject",e),r)||this}return e}(je);b({Container:{foreignObject:et((function(t,e){return this.put(new Nn).size(t,e)}))}});Q(Nn,"ForeignObject");function In(t,e){this.children().forEach((function(r,n){var i;try{i=r.bbox()}catch(t){return}var o=new Wt(r);var s=o.translate(t,e).transform(o.inverse());var a=new Gt(i.x,i.y).transform(s);r.move(a.x,a.y)}));return this}function Dn(t){return this.dmove(t,0)}function zn(t){return this.dmove(0,t)}function Pn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.height;return this.size(e.width,t,e)}function Bn(t,e,r){if(t===void 0){t=0}if(e===void 0){e=0}if(r===void 0){r=this.bbox()}var n=t-r.x;var i=e-r.y;return this.dmove(n,i)}function qn(t,e,r){if(r===void 0){r=this.bbox()}var n=N(this,t,e,r);var i=n.width/r.width;var o=n.height/r.height;this.children().forEach((function(t,e){var n=new Gt(r).transform(new Wt(t).inverse());t.scale(i,o,n.x,n.y)}));return this}function Hn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.width;return this.size(t,e.height,e)}function Vn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.x;return this.move(t,e.y,e)}function Rn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.y;return this.move(e.x,t,e)}var Fn={__proto__:null,dmove:In,dx:Dn,dy:zn,height:Pn,move:Bn,size:qn,width:Hn,x:Vn,y:Rn};var Zn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("g",e),r)||this}return e}(Be);tt(Zn,Fn);b({Container:{group:et((function(){return this.put(new Zn)}))}});Q(Zn,"G");var Yn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("a",e),r)||this}e.prototype.target=function(t){return this.attr("target",t)};e.prototype.to=function(t){return this.attr("href",t,B)};return e}(Be);tt(Yn,Fn);b({Container:{link:et((function(t){return this.put(new Yn).to(t)}))},Element:{unlink:function(){var t=this.linker();if(!t)return this;var e=t.parent();if(!e){return this.remove()}var r=e.index(t);e.add(this,r);t.remove();return this},linkTo:function(t){var e=this.linker();if(!e){e=new Yn;this.wrap(e)}if(typeof t==="function"){t.call(e,e)}else{e.to(t)}return this},linker:function(){var t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});Q(Yn,"A");var Xn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("mask",e),r)||this}e.prototype.remove=function(){this.targets().forEach((function(t){t.unmask()}));return t.prototype.remove.call(this)};e.prototype.targets=function(){return he('svg [mask*="'+this.id()+'"]')};return e}(Be);b({Container:{mask:et((function(){return this.defs().put(new Xn)}))},Element:{masker:function(){return this.reference("mask")},maskWith:function(t){var e=t instanceof Xn?t:this.parent().mask().add(t);return this.attr("mask",'url("#'+e.id()+'")')},unmask:function(){return this.attr("mask",null)}}});Q(Xn,"Mask");var Gn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("stop",e),r)||this}e.prototype.update=function(t){if(typeof t==="number"||t instanceof Me){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 Me(t.offset));return this};return e}(je);b({Gradient:{stop:function(t,e,r){return this.put(new Gn).update(t,e,r)}}});Q(Gn,"Stop");function Un(t,e){if(!t)return"";if(!e)return t;var r=t+"{";for(var n in e){r+=T(n)+":"+e[n]+";"}r+="}";return r}var Qn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("style",e),r)||this}e.prototype.addText=function(t){if(t===void 0){t=""}this.node.textContent+=t;return this};e.prototype.font=function(t,e,r){if(r===void 0){r={}}return this.rule("@font-face",__assign({fontFamily:t,src:e},r))};e.prototype.rule=function(t,e){return this.addText(Un(t,e))};return e}(je);b("Dom",{style:function(t,e){return this.put(new Qn).rule(t,e)},fontface:function(t,e,r){return this.put(new Qn).font(t,e,r)}});Q(Qn,"Style");var Wn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("textPath",e),r)||this}e.prototype.array=function(){var t=this.track();return t?t.array():null};e.prototype.plot=function(t){var e=this.track();var r=null;if(e){r=e.plot(t)}return t==null?r:this};e.prototype.track=function(){return this.reference("href")};return e}(Ln);b({Container:{textPath:et((function(t,e){if(!(t instanceof Ln)){t=this.text(t)}return t.path(e)}))},Text:{path:et((function(t,e){if(e===void 0){e=true}var r=new Wn;if(!(t instanceof Yr)){t=this.defs().path(t)}r.attr("href","#"+t,B);var n;if(e){while(n=this.node.firstChild){r.node.appendChild(n)}}return this.put(r)})),textPath:function(){return this.findOne("textPath")}},Path:{text:et((function(t){if(!(t instanceof Ln)){t=(new Ln).addTo(this.parent()).text(t)}return t.path(this)})),targets:function(){var t=this;return he("svg textPath").filter((function(e){return(e.attr("href")||"").includes(t.id())}))}}});Wn.prototype.MorphArray=Dr;Q(Wn,"TextPath");var $n=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,X("use",e),r)||this}e.prototype.use=function(t,e){return this.attr("href",(e||"")+"#"+t,B)};return e}(He);b({Container:{use:et((function(t,e){return this.put(new $n).use(t,e)}))}});Q($n,"Use");var Jn=Y;tt([dn,vn,nr,rr,cr],k("viewbox"));tt([lr,Kr,Jr,Yr],k("marker"));tt(Ln,k("Text"));tt(Yr,k("Path"));tt(qe,k("Defs"));tt([Ln,jn],k("Tspan"));tt([tn,We,er,an],k("radius"));tt(xe,k("EventTarget"));tt(Le,k("Dom"));tt(je,k("Element"));tt(He,k("Shape"));tt([Be,$e],k("Container"));tt(er,k("Gradient"));tt(an,k("Runner"));ae.extend(M());Fr([Me,Xt,re,Wt,ke,ir,Dr,Gt]);Zr();function Kn(){var t={entities:[]};var e;var r=[];function n(t,r,n){e=Jn().addTo(t).size(r,n);e.entities=[];e.lines=e.group();e.labels=e.group()}function i(t,e){var r;var n=t.group().attr({id:e.id});t.entities.push(n);e.background_color=e.background_color?e.background_color:"#f06";e.color=e.color?e.color:"#ffffff";e.radius=e.radius?e.radius:0;n.entity=n.rect(e.width,e.height).cx(e.width/2).cy(e.height/2).attr((r={fill:"#ffffff",stroke:e.color},r["stroke-width"]=2,r)).radius(e.radius);if(e.class){n.entity.attr("class",e.class)}n.plain(e.text).cx(14).cy(e.height/2+6).attr({fill:e.color});n.move(e.x,e.y)}function o(){if(t.labels&&t.labels.length>0){t.labels.forEach((function(t){e.labels.text(t.value).x(t.x).y(t.y)}))}}function s(t,e){e.forEach((function(e){return a(t,e)}))}function a(t,e){var r="";var n=e.color||"#4c56cb";var i=t.findOne("#"+e.from.element);var o=t.findOne("#"+e.to.element);var s=u(e,i,o);r+=f(i,e.from.point)+","+l(i,e.from.point)+" ";s.forEach((function(t){return r+=t.x+","+t.y+" "}));if(e.to.point==="top"){r+=f(o,e.to.point)+","+l(o,e.to.point)+" "}else if(e.to.point==="bottom"){r+=f(o,e.to.point)+","+l(o,e.to.point)+" "}else{r+=f(o,e.to.point)+","+l(o,e.to.point)+" "}if(!e.polyline){e.polyline=t.lines.polyline(r).fill("none").stroke({color:n,width:2,linecap:"round",linejoin:"round"}).attr("id",e.id)}else{e.polyline.plot(r)}}function u(t,e,r){var n=[];var i=l(e,t.from.point);var o=l(r,t.to.point);var s=f(e,t.from.point);var a=f(r,t.to.point);var u=h(t.from.point);var c=h(t.to.point);var p=u-c;if(p===0){if(t.from.point==="top"){if(i<=o){n.push({x:s,y:i-20});n.push({x:a,y:i-20})}else{n.push({x:s,y:o-20});n.push({x:a,y:o-20})}}else if(t.from.point==="bottom"){if(i<=o){n.push({x:s,y:o+20});n.push({x:a,y:o+20})}else{n.push({x:s,y:i+20});n.push({x:a,y:i+20})}}else{if(s<=a){n.push({x:a+20,y:i});n.push({x:a+20,y:o})}else{n.push({x:s+20,y:i});n.push({x:s+20,y:o})}}}if(p===2||p===-2){if(s!==a){n.push({x:s,y:o+(i-o)/2});n.push({x:a,y:o+(i-o)/2})}}if(p===1||p===-1||p===3||p===-3){if(t.from.point==="top"){if(i<o+20){n.push({x:s,y:i-20});n.push({x:a+20,y:i-20});n.push({x:a+20,y:o})}else{n.push({x:s,y:o})}}if(t.from.point==="bottom"){if(i>o-20){n.push({x:s,y:i+20});n.push({x:a+20,y:i+20});n.push({x:a+20,y:o})}else{n.push({x:s,y:o})}}}return n}function h(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function f(t,e){var r=t.entity.attr("width");var n=t.entity.attr("x");switch(e){case"top":case"bottom":return n+r/2;default:return n-r/2}}function l(t,e){var r=t.entity.attr("height");var n=t.entity.attr("y");switch(e){case"top":return n;case"bottom":return n+r;default:return n}}function c(){e.entities.forEach((function(t){return t.remove()}));e.entities=[];r=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((function(t){return{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((function(t){t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));o();t.entities.forEach((function(t){return i(e,t)}));r=t.lines;s(e,r)}function p(e){t=e;c()}return{initalize:n,update:p}}var ti='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 .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}';var ei='<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>';var 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>';var ni='<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>';var ii='<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>';var oi='<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>';var si='<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>';var ai='<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>';var ui='<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>';var hi='<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>';var fi='<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>';var li='<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>';var ci='<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>';var pi='<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>';var di='<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>';var vi='<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>';var yi='<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>';var mi='<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>';var gi='<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>';var wi='<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>';var 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="#50BE80"/></svg>';var _i=140;var Ci=40;var bi=40;var ki=t("verdocs_status_indicator",function(){function t(t){e(this,t);this.recipientStatusIcons=[];this.size="normal";this.theme="light";this.status=undefined;this.envelope=undefined;this.isOpen=undefined;this.containerId="verdocs-status-indicator-".concat(Math.random().toString(36).substring(2,11))}t.prototype.componentDidLoad=function(){var t=this;var e;this.popper=u(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((e=this.envelope)===null||e===void 0?void 0:e.recipients){var r=[];this.envelope.recipients.forEach((function(t){var e=t.sequence-1;r[e]||(r[e]=[]);var n="r-".concat(e,"-").concat(r[e].length);r[e].push(__assign(__assign({},t),{id:n}))}));var n=Object.keys(r).length;var i=n*Ci+(n+1)*bi;var o=0;Object.values(r).forEach((function(t){var e=t.length*_i+(t.length+1)*bi;if(e>o){o=e}}));var s=[];var a=[];var h=[];var f=bi;Object.entries(r).forEach((function(e){var n=e[0],i=e[1];var u=i.length*(_i+bi);var l=o-u;var c=bi/2+l/2;i.forEach((function(e,i){var o;var u=(e.full_name||"Unknown").toUpperCase().split(" "),l=u[0],p=u[1];var d="".concat(l," ").concat(p===null||p===void 0?void 0:p.substring(0,1));var v={id:e.id,text:d,icon:t.getStatusIcon(e.status),x:i*(_i+bi)+c,y:f,width:_i,height:Ci,color:t.getStatusColor(e.status),radius:8};s.push(v);h.push({icon:t.getStatusIcon(e.status),x:i*(_i+bi)+c+(_i-32),y:f+Ci/2-13});(o=r[+n-1])===null||o===void 0?void 0:o.forEach((function(r){var n={id:"line-".concat(r.id,"-").concat(v.id),from:{element:r.id,point:"bottom"},to:{element:v.id,point:"top"},color:t.getStatusColor(e.status)};a.push(n)}))}));f+=Ci+bi}));this.recipientStatusIcons=h;var l=Kn();l.initalize("#".concat(this.containerId),o,i);l.update({entities:s,lines:a})}};t.prototype.showDropdown=function(){var t,e;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));(e=this.popper)===null||e===void 0?void 0:e.update()};t.prototype.handleHideDropdown=function(t){var e,r;if(((e=t===null||t===void 0?void 0:t.target)===null||e===void 0?void 0:e.localName)==="button"&&((r=t===null||t===void 0?void 0:t.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};t.prototype.toggleDropdown=function(){if(this.isOpen){this.hide()}else{this.showDropdown()}};t.prototype.hide=function(){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((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})}))};t.prototype.getStatusColor=function(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"}};t.prototype.getStatusIcon=function(t){switch(t){case"accepted":return this.theme==="light"?ri:ei;case"complete":return this.theme==="light"?si:oi;case"in progress":return this.theme==="light"?fi:hi;case"canceled":return this.theme==="light"?ii:ni;case"declined":return this.theme==="light"?ui:ai;case"invited":return this.theme==="light"?fi:hi;case"opened":return this.theme==="light"?ci:li;case"signed":return this.theme==="light"?yi:vi;case"submitted":return this.theme==="light"?xi:wi;case"some-signed":return this.theme==="light"?gi:mi;default:case"pending":return this.theme==="light"?di:pi}};t.prototype.getStatusMessage=function(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}};t.prototype.render=function(){var t=this;var e,r;var o=this.status||((e=this.envelope)===null||e===void 0?void 0:e.status)||"pending"||"accepted";if(!this.status&&((r=this.envelope)===null||r===void 0?void 0:r.recipients)){var s=this.envelope.recipients.filter((function(t){return t.status==="submitted"}));if(s.length>0&&s.length!==this.envelope.recipients.length){o="some-signed"}}var a=this.getStatusIcon(o);var u=this.getStatusMessage(o);return n(i,{ref:function(e){return t.summaryComponent=e},class:"".concat(this.theme," ").concat(this.size," ").concat(this.envelope?"has-document":""),"aria-label":"Click to View Details",onClick:function(e){e.stopPropagation();e.preventDefault();t.envelope&&t.toggleDropdown()},onBlur:function(e){return t.envelope&&t.handleHideDropdown(e)}},n("span",{class:"icon",innerHTML:a}),n("span",{class:"content"},u),n("div",{class:"detail-panel",ref:function(e){return t.detailPanel=e}},n("div",{id:"".concat(this.containerId)}),this.recipientStatusIcons.map((function(t){return n("span",{innerHTML:t.icon,style:{position:"absolute",top:"".concat(t.y,"px"),left:"".concat(t.x,"px")}})}))))};return t}());ki.style=ti}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){e("f",Pe);function t(e){"@babel/helpers - typeof";return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e){if(e===null||e===true||e===false){return NaN}var t=Number(e);if(isNaN(t)){return t}return t<0?Math.ceil(t):Math.floor(t)}function r(e,t){if(t.length<e){throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}}function a(e){r(1,arguments);var n=Object.prototype.toString.call(e);if(e instanceof Date||t(e)==="object"&&n==="[object Date]"){return new Date(e.getTime())}else if(typeof e==="number"||n==="[object Number]"){return new Date(e)}else{if((typeof e==="string"||n==="[object String]")&&typeof console!=="undefined"){console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");console.warn((new Error).stack)}return new Date(NaN)}}function i(e,t){r(2,arguments);var i=a(e).getTime();var o=n(t);return new Date(i+o)}var o={};function u(){return o}function s(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));t.setUTCFullYear(e.getFullYear());return e.getTime()-t.getTime()}function d(e){r(1,arguments);return e instanceof Date||t(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function l(e){r(1,arguments);if(!d(e)&&typeof e!=="number"){return false}var t=a(e);return!isNaN(Number(t))}function c(e,t){r(2,arguments);var a=n(t);return i(e,-a)}var f=864e5;function v(e){r(1,arguments);var t=a(e);var n=t.getTime();t.setUTCMonth(0,1);t.setUTCHours(0,0,0,0);var i=t.getTime();var o=n-i;return Math.floor(o/f)+1}function h(e){r(1,arguments);var t=1;var n=a(e);var i=n.getUTCDay();var o=(i<t?7:0)+i-t;n.setUTCDate(n.getUTCDate()-o);n.setUTCHours(0,0,0,0);return n}function m(e){r(1,arguments);var t=a(e);var n=t.getUTCFullYear();var i=new Date(0);i.setUTCFullYear(n+1,0,4);i.setUTCHours(0,0,0,0);var o=h(i);var u=new Date(0);u.setUTCFullYear(n,0,4);u.setUTCHours(0,0,0,0);var s=h(u);if(t.getTime()>=o.getTime()){return n+1}else if(t.getTime()>=s.getTime()){return n}else{return n-1}}function g(e){r(1,arguments);var t=m(e);var n=new Date(0);n.setUTCFullYear(t,0,4);n.setUTCHours(0,0,0,0);var a=h(n);return a}var w=6048e5;function b(e){r(1,arguments);var t=a(e);var n=h(t).getTime()-g(t).getTime();return Math.round(n/w)+1}function y(e,t){var i,o,s,d,l,c,f,v;r(1,arguments);var h=u();var m=n((i=(o=(s=(d=t===null||t===void 0?void 0:t.weekStartsOn)!==null&&d!==void 0?d:t===null||t===void 0?void 0:(l=t.locale)===null||l===void 0?void 0:(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&s!==void 0?s:h.weekStartsOn)!==null&&o!==void 0?o:(f=h.locale)===null||f===void 0?void 0:(v=f.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&i!==void 0?i:0);if(!(m>=0&&m<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}var g=a(e);var w=g.getUTCDay();var b=(w<m?7:0)+w-m;g.setUTCDate(g.getUTCDate()-b);g.setUTCHours(0,0,0,0);return g}function p(e,t){var i,o,s,d,l,c,f,v;r(1,arguments);var h=a(e);var m=h.getUTCFullYear();var g=u();var w=n((i=(o=(s=(d=t===null||t===void 0?void 0:t.firstWeekContainsDate)!==null&&d!==void 0?d:t===null||t===void 0?void 0:(l=t.locale)===null||l===void 0?void 0:(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&s!==void 0?s:g.firstWeekContainsDate)!==null&&o!==void 0?o:(f=g.locale)===null||f===void 0?void 0:(v=f.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(w>=1&&w<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var b=new Date(0);b.setUTCFullYear(m+1,0,w);b.setUTCHours(0,0,0,0);var p=y(b,t);var T=new Date(0);T.setUTCFullYear(m,0,w);T.setUTCHours(0,0,0,0);var M=y(T,t);if(h.getTime()>=p.getTime()){return m+1}else if(h.getTime()>=M.getTime()){return m}else{return m-1}}function T(e,t){var a,i,o,s,d,l,c,f;r(1,arguments);var v=u();var h=n((a=(i=(o=(s=t===null||t===void 0?void 0:t.firstWeekContainsDate)!==null&&s!==void 0?s:t===null||t===void 0?void 0:(d=t.locale)===null||d===void 0?void 0:(l=d.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&o!==void 0?o:v.firstWeekContainsDate)!==null&&i!==void 0?i:(c=v.locale)===null||c===void 0?void 0:(f=c.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);var m=p(e,t);var g=new Date(0);g.setUTCFullYear(m,0,h);g.setUTCHours(0,0,0,0);var w=y(g,t);return w}var M=6048e5;function C(e,t){r(1,arguments);var n=a(e);var i=y(n,t).getTime()-T(n,t).getTime();return Math.round(i/M)+1}function D(e,t){var n=e<0?"-":"";var r=Math.abs(e).toString();while(r.length<t){r="0"+r}return n+r}var x={y:function e(t,n){var r=t.getUTCFullYear();var a=r>0?r:1-r;return D(n==="yy"?a%100:a,n.length)},M:function e(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):D(r+1,2)},d:function e(t,n){return D(t.getUTCDate(),n.length)},a:function e(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function e(t,n){return D(t.getUTCHours()%12||12,n.length)},H:function e(t,n){return D(t.getUTCHours(),n.length)},m:function e(t,n){return D(t.getUTCMinutes(),n.length)},s:function e(t,n){return D(t.getUTCSeconds(),n.length)},S:function e(t,n){var r=n.length;var a=t.getUTCMilliseconds();var i=Math.floor(a*Math.pow(10,r-3));return D(i,n.length)}};var k={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};var P={G:function e(t,n,r){var a=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function e(t,n,r){if(n==="yo"){var a=t.getUTCFullYear();var i=a>0?a:1-a;return r.ordinalNumber(i,{unit:"year"})}return x.y(t,n)},Y:function e(t,n,r,a){var i=p(t,a);var o=i>0?i:1-i;if(n==="YY"){var u=o%100;return D(u,2)}if(n==="Yo"){return r.ordinalNumber(o,{unit:"year"})}return D(o,n.length)},R:function e(t,n){var r=m(t);return D(r,n.length)},u:function e(t,n){var r=t.getUTCFullYear();return D(r,n.length)},Q:function e(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return D(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function e(t,n,r){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return D(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function e(t,n,r){var a=t.getUTCMonth();switch(n){case"M":case"MM":return x.M(t,n);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function e(t,n,r){var a=t.getUTCMonth();switch(n){case"L":return String(a+1);case"LL":return D(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function e(t,n,r,a){var i=C(t,a);if(n==="wo"){return r.ordinalNumber(i,{unit:"week"})}return D(i,n.length)},I:function e(t,n,r){var a=b(t);if(n==="Io"){return r.ordinalNumber(a,{unit:"week"})}return D(a,n.length)},d:function e(t,n,r){if(n==="do"){return r.ordinalNumber(t.getUTCDate(),{unit:"date"})}return x.d(t,n)},D:function e(t,n,r){var a=v(t);if(n==="Do"){return r.ordinalNumber(a,{unit:"dayOfYear"})}return D(a,n.length)},E:function e(t,n,r){var a=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function e(t,n,r,a){var i=t.getUTCDay();var o=(i-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return D(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function e(t,n,r,a){var i=t.getUTCDay();var o=(i-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return D(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function e(t,n,r){var a=t.getUTCDay();var i=a===0?7:a;switch(n){case"i":return String(i);case"ii":return D(i,n.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function e(t,n,r){var a=t.getUTCHours();var i=a/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function e(t,n,r){var a=t.getUTCHours();var i;if(a===12){i=k.noon}else if(a===0){i=k.midnight}else{i=a/12>=1?"pm":"am"}switch(n){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function e(t,n,r){var a=t.getUTCHours();var i;if(a>=17){i=k.evening}else if(a>=12){i=k.afternoon}else if(a>=4){i=k.morning}else{i=k.night}switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function e(t,n,r){if(n==="ho"){var a=t.getUTCHours()%12;if(a===0)a=12;return r.ordinalNumber(a,{unit:"hour"})}return x.h(t,n)},H:function e(t,n,r){if(n==="Ho"){return r.ordinalNumber(t.getUTCHours(),{unit:"hour"})}return x.H(t,n)},K:function e(t,n,r){var a=t.getUTCHours()%12;if(n==="Ko"){return r.ordinalNumber(a,{unit:"hour"})}return D(a,n.length)},k:function e(t,n,r){var a=t.getUTCHours();if(a===0)a=24;if(n==="ko"){return r.ordinalNumber(a,{unit:"hour"})}return D(a,n.length)},m:function e(t,n,r){if(n==="mo"){return r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"})}return x.m(t,n)},s:function e(t,n,r){if(n==="so"){return r.ordinalNumber(t.getUTCSeconds(),{unit:"second"})}return x.s(t,n)},S:function e(t,n){return x.S(t,n)},X:function e(t,n,r,a){var i=a._originalDate||t;var o=i.getTimezoneOffset();if(o===0){return"Z"}switch(n){case"X":return U(o);case"XXXX":case"XX":return W(o);case"XXXXX":case"XXX":default:return W(o,":")}},x:function e(t,n,r,a){var i=a._originalDate||t;var o=i.getTimezoneOffset();switch(n){case"x":return U(o);case"xxxx":case"xx":return W(o);case"xxxxx":case"xxx":default:return W(o,":")}},O:function e(t,n,r,a){var i=a._originalDate||t;var o=i.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+S(o,":");case"OOOO":default:return"GMT"+W(o,":")}},z:function e(t,n,r,a){var i=a._originalDate||t;var o=i.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+S(o,":");case"zzzz":default:return"GMT"+W(o,":")}},t:function e(t,n,r,a){var i=a._originalDate||t;var o=Math.floor(i.getTime()/1e3);return D(o,n.length)},T:function e(t,n,r,a){var i=a._originalDate||t;var o=i.getTime();return D(o,n.length)}};function S(e,t){var n=e>0?"-":"+";var r=Math.abs(e);var a=Math.floor(r/60);var i=r%60;if(i===0){return n+String(a)}var o=t||"";return n+String(a)+o+D(i,2)}function U(e,t){if(e%60===0){var n=e>0?"-":"+";return n+D(Math.abs(e)/60,2)}return W(e,t)}function W(e,t){var n=t||"";var r=e>0?"-":"+";var a=Math.abs(e);var i=D(Math.floor(a/60),2);var o=D(a%60,2);return r+i+n+o}var Y=function e(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}};var E=function e(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}};var O=function e(t,n){var r=t.match(/(P+)(p+)?/)||[];var a=r[1];var i=r[2];if(!i){return Y(t,n)}var o;switch(a){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",Y(a,n)).replace("{{time}}",E(i,n))};var N={p:E,P:O};var q=["D","DD"];var H=["YY","YYYY"];function z(e){return q.indexOf(e)!==-1}function F(e){return H.indexOf(e)!==-1}function L(e,t,n){if(e==="YYYY"){throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}else if(e==="YY"){throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}else if(e==="D"){throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}else if(e==="DD"){throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}}var X={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var j=function e(t,n,r){var a;var i=X[t];if(typeof i==="string"){a=i}else if(n===1){a=i.one}else{a=i.other.replace("{{count}}",n.toString())}if(r!==null&&r!==void 0&&r.addSuffix){if(r.comparison&&r.comparison>0){return"in "+a}else{return a+" ago"}}return a};function Q(e){return function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var n=t.width?String(t.width):e.defaultWidth;var r=e.formats[n]||e.formats[e.defaultWidth];return r}}var G={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"};var B={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"};var A={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"};var R={date:Q({formats:G,defaultWidth:"full"}),time:Q({formats:B,defaultWidth:"full"}),dateTime:Q({formats:A,defaultWidth:"full"})};var J={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var _=function e(t,n,r,a){return J[t]};function I(e){return function(t,n){var r=n!==null&&n!==void 0&&n.context?String(n.context):"standalone";var a;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth;var o=n!==null&&n!==void 0&&n.width?String(n.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var u=e.defaultWidth;var s=n!==null&&n!==void 0&&n.width?String(n.width):e.defaultWidth;a=e.values[s]||e.values[u]}var d=e.argumentCallback?e.argumentCallback(t):t;return a[d]}}var V={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]};var K={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]};var $={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]};var Z={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]};var ee={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}};var te={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};var ne=function e(t,n){var r=Number(t);var a=r%100;if(a>20||a<10){switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}}return r+"th"};var re={ordinalNumber:ne,era:I({values:V,defaultWidth:"wide"}),quarter:I({values:K,defaultWidth:"wide",argumentCallback:function e(t){return t-1}}),month:I({values:$,defaultWidth:"wide"}),day:I({values:Z,defaultWidth:"wide"}),dayPeriod:I({values:ee,defaultWidth:"wide",formattingValues:te,defaultFormattingWidth:"wide"})};function ae(e){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r=n.width;var a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth];var i=t.match(a);if(!i){return null}var o=i[0];var u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth];var s=Array.isArray(u)?oe(u,(function(e){return e.test(o)})):ie(u,(function(e){return e.test(o)}));var d;d=e.valueCallback?e.valueCallback(s):s;d=n.valueCallback?n.valueCallback(d):d;var l=t.slice(o.length);return{value:d,rest:l}}}function ie(e,t){for(var n in e){if(e.hasOwnProperty(n)&&t(e[n])){return n}}return undefined}function oe(e,t){for(var n=0;n<e.length;n++){if(t(e[n])){return n}}return undefined}function ue(e){return function(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r=t.match(e.matchPattern);if(!r)return null;var a=r[0];var i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var u=t.slice(a.length);return{value:o,rest:u}}}var se=/^(\d+)(th|st|nd|rd)?/i;var de=/\d+/i;var le={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i};var ce={any:[/^b/i,/^(a|c)/i]};var fe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i};var ve={any:[/1/i,/2/i,/3/i,/4/i]};var he={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i};var me={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]};var ge={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i};var we={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]};var be={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i};var ye={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}};var pe={ordinalNumber:ue({matchPattern:se,parsePattern:de,valueCallback:function e(t){return parseInt(t,10)}}),era:ae({matchPatterns:le,defaultMatchWidth:"wide",parsePatterns:ce,defaultParseWidth:"any"}),quarter:ae({matchPatterns:fe,defaultMatchWidth:"wide",parsePatterns:ve,defaultParseWidth:"any",valueCallback:function e(t){return t+1}}),month:ae({matchPatterns:he,defaultMatchWidth:"wide",parsePatterns:me,defaultParseWidth:"any"}),day:ae({matchPatterns:ge,defaultMatchWidth:"wide",parsePatterns:we,defaultParseWidth:"any"}),dayPeriod:ae({matchPatterns:be,defaultMatchWidth:"any",parsePatterns:ye,defaultParseWidth:"any"})};var Te={code:"en-US",formatDistance:j,formatLong:R,formatRelative:_,localize:re,match:pe,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Me=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;var Ce=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;var De=/^'([^]*?)'?$/;var xe=/''/g;var ke=/[a-zA-Z]/;function Pe(e,t,i){var o,d,f,v,h,m,g,w,b,y,p,T,M,C,D,x,k,S;r(2,arguments);var U=String(t);var W=u();var Y=(o=(d=i===null||i===void 0?void 0:i.locale)!==null&&d!==void 0?d:W.locale)!==null&&o!==void 0?o:Te;var E=n((f=(v=(h=(m=i===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&m!==void 0?m:i===null||i===void 0?void 0:(g=i.locale)===null||g===void 0?void 0:(w=g.options)===null||w===void 0?void 0:w.firstWeekContainsDate)!==null&&h!==void 0?h:W.firstWeekContainsDate)!==null&&v!==void 0?v:(b=W.locale)===null||b===void 0?void 0:(y=b.options)===null||y===void 0?void 0:y.firstWeekContainsDate)!==null&&f!==void 0?f:1);if(!(E>=1&&E<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var O=n((p=(T=(M=(C=i===null||i===void 0?void 0:i.weekStartsOn)!==null&&C!==void 0?C:i===null||i===void 0?void 0:(D=i.locale)===null||D===void 0?void 0:(x=D.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&M!==void 0?M:W.weekStartsOn)!==null&&T!==void 0?T:(k=W.locale)===null||k===void 0?void 0:(S=k.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&p!==void 0?p:0);if(!(O>=0&&O<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}if(!Y.localize){throw new RangeError("locale must contain localize property")}if(!Y.formatLong){throw new RangeError("locale must contain formatLong property")}var q=a(e);if(!l(q)){throw new RangeError("Invalid time value")}var H=s(q);var X=c(q,H);var j={firstWeekContainsDate:E,weekStartsOn:O,locale:Y,_originalDate:q};var Q=U.match(Ce).map((function(e){var t=e[0];if(t==="p"||t==="P"){var n=N[t];return n(e,Y.formatLong)}return e})).join("").match(Me).map((function(n){if(n==="''"){return"'"}var r=n[0];if(r==="'"){return Se(n)}var a=P[r];if(a){if(!(i!==null&&i!==void 0&&i.useAdditionalWeekYearTokens)&&F(n)){L(n,t,String(e))}if(!(i!==null&&i!==void 0&&i.useAdditionalDayOfYearTokens)&&z(n)){L(n,t,String(e))}return a(X,n,Y.localize,j)}if(r.match(ke)){throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`")}return n})).join("");return Q}function Se(e){var t=e.match(De);if(!t){return e}return t[1].replace(xe,"'")}}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,n){function s(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):s(e.value).then(o,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,s&&(i=o[0]&2?s["return"]:o[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,o[1])).done)return i;if(s=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];s=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-934a39b4.system.js","./p-54498887.system.js","./p-365a0216.system.js","./p-a6258dde.system.js","./p-187b20b7.system.js","./p-ca13070e.system.js","./p-b4d11d90.system.js","./p-4ac861c9.system.js"],(function(e){"use strict";var t,r,n,s,i,o,a,l;return{setters:[function(e){t=e.r;r=e.c;n=e.h;s=e.H},function(){},function(e){i=e.V},function(e){o=e.g},function(e){a=e.S},function(e){l=e.V},function(){},function(){}],execute:function(){var d=function(e,t,r){return e.api.post("/templates/".concat(t,"/reminder/"),r).then((function(e){return e.data}))};var c=function(e,t,r,n){return e.api.put("/templates/".concat(t,"/reminder/").concat(r),n).then((function(e){return e.data}))};var u=function(e,t,r){return e.api.delete("/templates/".concat(t,"/reminder/").concat(r)).then((function(e){return e.data}))};var p='verdocs-template-reminders{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-template-reminders.loading{min-height:300px;position:relative;display:block}verdocs-template-reminders.empty{display:none}verdocs-template-reminders form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-reminders form h5{font-size:16px;font-weight:bold;color:#4c56cb;margin:0 0 20px 0}verdocs-template-reminders form label{font-size:16px;font-weight:500;margin:0 0 6px 0;color:#33364b}verdocs-template-reminders form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-template-reminders form input:focus{outline:none}verdocs-template-reminders form .input-row{display:-ms-flexbox;display:flex;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-reminders form .input-row label{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-reminders form .input-row verdocs-text-input{margin:0;display:-ms-flexbox;display:flex;-ms-flex:0 0 60px;flex:0 0 60px}verdocs-template-reminders form .input-row verdocs-text-input input{text-align:center}verdocs-template-reminders form .input-row verdocs-checkbox{display:-ms-flexbox;display:flex;-ms-flex:0 0 40px;flex:0 0 40px;-ms-flex-pack:center;justify-content:center}verdocs-template-reminders .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-template-reminders ::-webkit-input-placeholder{color:#aaaaaa}verdocs-template-reminders ::-moz-placeholder{color:#aaaaaa}verdocs-template-reminders :-ms-input-placeholder{color:#aaaaaa}verdocs-template-reminders ::-ms-input-placeholder{color:#aaaaaa}verdocs-template-reminders ::placeholder{color:#aaaaaa}';var m=e("verdocs_template_reminders",function(){function e(e){t(this,e);this.close=r(this,"close",7);this.sdkError=r(this,"sdkError",7);this.store=null;this.endpoint=i.getDefault();this.templateId="";this.showPlanBlocker=false;this.sendReminders=false;this.firstReminderDays="1";this.reminderDays="1";this.dirty=false}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,n,s,i,l;return __generator(this,(function(d){switch(d.label){case 0:d.trys.push([0,2,,3]);this.endpoint.loadSession();if(!this.templateId){console.log("[ROLES] Missing required template ID ".concat(this.templateId));return[2]}if(!this.endpoint.session){console.log("[ROLES] Unable to start builder session, must be authenticated");return[2]}i=this;return[4,o(this.endpoint,this.templateId,true)];case 1:i.store=d.sent();this.sendReminders=!!((t=(e=this.store)===null||e===void 0?void 0:e.state)===null||t===void 0?void 0:t.reminder_id);this.dirty=false;return[3,3];case 2:l=d.sent();console.log("[TEMPLATE REMINDERS] Error loading template",l);(r=this.sdkError)===null||r===void 0?void 0:r.emit(new a(l.message,(n=l.response)===null||n===void 0?void 0:n.status,(s=l.response)===null||s===void 0?void 0:s.data));return[3,3];case 3:return[2]}}))}))};e.prototype.handleCancel=function(e){var t,r,n;e.stopPropagation();this.sendReminders=!!((r=(t=this.store)===null||t===void 0?void 0:t.state)===null||r===void 0?void 0:r.reminder_id);this.dirty=false;(n=this.close)===null||n===void 0?void 0:n.emit()};e.prototype.handleSave=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,s,i,p,m,f,h,v,y,b,x;return __generator(this,(function(g){switch(g.label){case 0:e.stopPropagation();g.label=1;case 1:g.trys.push([1,12,,13]);if(!this.sendReminders)return[3,8];h={setup_time:+this.firstReminderDays,interval_time:+this.reminderDays};if(!!((r=(t=this.store)===null||t===void 0?void 0:t.state)===null||r===void 0?void 0:r.reminder_id))return[3,4];return[4,d(this.endpoint,this.templateId,h)];case 2:g.sent();v=this;return[4,o(this.endpoint,this.templateId,true)];case 3:v.store=g.sent();return[3,7];case 4:return[4,c(this.endpoint,this.templateId,(n=this.store)===null||n===void 0?void 0:n.state.reminder_id,h)];case 5:g.sent();y=this;return[4,o(this.endpoint,this.templateId,true)];case 6:y.store=g.sent();g.label=7;case 7:return[3,11];case 8:return[4,u(this.endpoint,this.templateId,(s=this.store)===null||s===void 0?void 0:s.state.reminder_id)];case 9:g.sent();b=this;return[4,o(this.endpoint,this.templateId,true)];case 10:b.store=g.sent();g.label=11;case 11:return[3,13];case 12:x=g.sent();console.log("[TEMPLATE REMINDERS] Unable to update reminders",x);l(x.message);(i=this.sdkError)===null||i===void 0?void 0:i.emit(new a(x.message,(p=x.response)===null||p===void 0?void 0:p.status,(m=x.response)===null||m===void 0?void 0:m.data));return[3,13];case 13:this.dirty=false;(f=this.close)===null||f===void 0?void 0:f.emit();return[2]}}))}))};e.prototype.render=function(){var e=this;var t,r;if(!this.endpoint.session){return n(s,null,n("verdocs-component-error",{message:"You must be authenticated to use this module."}))}if(!this.endpoint.session||!((r=(t=this.store)===null||t===void 0?void 0:t.state)===null||r===void 0?void 0:r.isLoaded)){return n(s,{class:"empty"})}return n(s,null,n("form",{onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},n("h5",null,"Reminders"),n("div",{class:"input-row"},n("label",{htmlFor:"verdocs-send-reminders"},"Send Automatic Reminders"),n("verdocs-checkbox",{id:"verdocs-send-reminders",name:"automatic-reminders",checked:this.sendReminders,value:"on",onInput:function(t){e.sendReminders=t.target.checked;e.dirty=true}})),n("div",{class:"input-row"},n("label",{htmlFor:"verdocs-first-reminder-days"},"Days Before First Reminder"),n("verdocs-text-input",{id:"verdocs-first-reminder-days",type:"number",value:this.firstReminderDays,onInput:function(t){e.firstReminderDays=t.target.value;e.dirty=true},disabled:!this.sendReminders})),n("div",{class:"input-row"},n("label",{htmlFor:"verdocs-days-between-reminders"},"Days Between Reminders"),n("verdocs-text-input",{id:"verdocs-days-between-reminders",type:"number",value:this.reminderDays,onInput:function(t){e.reminderDays=t.target.value;e.dirty=true},disabled:!this.sendReminders})),n("div",{class:"buttons"},n("verdocs-button",{size:"small",variant:"outline",label:"Cancel",disabled:!this.dirty,onClick:function(t){return e.handleCancel(t)}}),n("verdocs-button",{size:"small",label:"Save",disabled:!this.dirty,onClick:function(t){return e.handleSave(t)}}))),this.showPlanBlocker&&n("verdocs-ok-dialog",{heading:"Upgrade to access this feature",message:"Please upgrade your plan to access this feature.",onNext:function(){return e.showPlanBlocker=false}}))};return e}());m.style=p}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,n){function s(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):s(e.value).then(o,a)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,s&&(i=o[0]&2?s["return"]:o[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,o[1])).done)return i;if(s=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];s=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-934a39b4.system.js","./p-54498887.system.js","./p-cd40a5eb.system.js","./p-fb3d4091.system.js","./p-187b20b7.system.js","./p-ca13070e.system.js","./p-b4d11d90.system.js","./p-92ca2aef.system.js"],(function(e){"use strict";var t,r,n,s,i,o,a,l;return{setters:[function(e){t=e.r;r=e.c;n=e.h;s=e.H},function(){},function(e){i=e.V},function(e){o=e.g},function(e){a=e.S},function(e){l=e.V},function(){},function(){}],execute:function(){var d=function(e,t,r){return e.api.post("/templates/".concat(t,"/reminder/"),r).then((function(e){return e.data}))};var c=function(e,t,r,n){return e.api.put("/templates/".concat(t,"/reminder/").concat(r),n).then((function(e){return e.data}))};var u=function(e,t,r){return e.api.delete("/templates/".concat(t,"/reminder/").concat(r)).then((function(e){return e.data}))};var p='verdocs-template-reminders{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-template-reminders.loading{min-height:300px;position:relative;display:block}verdocs-template-reminders.empty{display:none}verdocs-template-reminders form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-reminders form h5{font-size:16px;font-weight:bold;color:#4c56cb;margin:0 0 20px 0}verdocs-template-reminders form label{font-size:16px;font-weight:500;margin:0 0 6px 0;color:#33364b}verdocs-template-reminders form input{border:none;font-size:18px;padding:3px 6px 3px 0;background:transparent;border-bottom:1px solid #33364b}verdocs-template-reminders form input:focus{outline:none}verdocs-template-reminders form .input-row{display:-ms-flexbox;display:flex;margin:0 0 10px 0;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-template-reminders form .input-row label{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-reminders form .input-row verdocs-text-input{margin:0;display:-ms-flexbox;display:flex;-ms-flex:0 0 60px;flex:0 0 60px}verdocs-template-reminders form .input-row verdocs-text-input input{text-align:center}verdocs-template-reminders form .input-row verdocs-checkbox{display:-ms-flexbox;display:flex;-ms-flex:0 0 40px;flex:0 0 40px;-ms-flex-pack:center;justify-content:center}verdocs-template-reminders .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-template-reminders ::-webkit-input-placeholder{color:#aaaaaa}verdocs-template-reminders ::-moz-placeholder{color:#aaaaaa}verdocs-template-reminders :-ms-input-placeholder{color:#aaaaaa}verdocs-template-reminders ::-ms-input-placeholder{color:#aaaaaa}verdocs-template-reminders ::placeholder{color:#aaaaaa}';var m=e("verdocs_template_reminders",function(){function e(e){t(this,e);this.close=r(this,"close",7);this.sdkError=r(this,"sdkError",7);this.store=null;this.endpoint=i.getDefault();this.templateId="";this.showPlanBlocker=false;this.sendReminders=false;this.firstReminderDays="1";this.reminderDays="1";this.dirty=false}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,n,s,i,l;return __generator(this,(function(d){switch(d.label){case 0:d.trys.push([0,2,,3]);this.endpoint.loadSession();if(!this.templateId){console.log("[ROLES] Missing required template ID ".concat(this.templateId));return[2]}if(!this.endpoint.session){console.log("[ROLES] Unable to start builder session, must be authenticated");return[2]}i=this;return[4,o(this.endpoint,this.templateId,true)];case 1:i.store=d.sent();this.sendReminders=!!((t=(e=this.store)===null||e===void 0?void 0:e.state)===null||t===void 0?void 0:t.reminder_id);this.dirty=false;return[3,3];case 2:l=d.sent();console.log("[TEMPLATE REMINDERS] Error loading template",l);(r=this.sdkError)===null||r===void 0?void 0:r.emit(new a(l.message,(n=l.response)===null||n===void 0?void 0:n.status,(s=l.response)===null||s===void 0?void 0:s.data));return[3,3];case 3:return[2]}}))}))};e.prototype.handleCancel=function(e){var t,r,n;e.stopPropagation();this.sendReminders=!!((r=(t=this.store)===null||t===void 0?void 0:t.state)===null||r===void 0?void 0:r.reminder_id);this.dirty=false;(n=this.close)===null||n===void 0?void 0:n.emit()};e.prototype.handleSave=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,s,i,p,m,f,h,v,y,b,x;return __generator(this,(function(g){switch(g.label){case 0:e.stopPropagation();g.label=1;case 1:g.trys.push([1,12,,13]);if(!this.sendReminders)return[3,8];h={setup_time:+this.firstReminderDays,interval_time:+this.reminderDays};if(!!((r=(t=this.store)===null||t===void 0?void 0:t.state)===null||r===void 0?void 0:r.reminder_id))return[3,4];return[4,d(this.endpoint,this.templateId,h)];case 2:g.sent();v=this;return[4,o(this.endpoint,this.templateId,true)];case 3:v.store=g.sent();return[3,7];case 4:return[4,c(this.endpoint,this.templateId,(n=this.store)===null||n===void 0?void 0:n.state.reminder_id,h)];case 5:g.sent();y=this;return[4,o(this.endpoint,this.templateId,true)];case 6:y.store=g.sent();g.label=7;case 7:return[3,11];case 8:return[4,u(this.endpoint,this.templateId,(s=this.store)===null||s===void 0?void 0:s.state.reminder_id)];case 9:g.sent();b=this;return[4,o(this.endpoint,this.templateId,true)];case 10:b.store=g.sent();g.label=11;case 11:return[3,13];case 12:x=g.sent();console.log("[TEMPLATE REMINDERS] Unable to update reminders",x);l(x.message);(i=this.sdkError)===null||i===void 0?void 0:i.emit(new a(x.message,(p=x.response)===null||p===void 0?void 0:p.status,(m=x.response)===null||m===void 0?void 0:m.data));return[3,13];case 13:this.dirty=false;(f=this.close)===null||f===void 0?void 0:f.emit();return[2]}}))}))};e.prototype.render=function(){var e=this;var t,r;if(!this.endpoint.session){return n(s,null,n("verdocs-component-error",{message:"You must be authenticated to use this module."}))}if(!this.endpoint.session||!((r=(t=this.store)===null||t===void 0?void 0:t.state)===null||r===void 0?void 0:r.isLoaded)){return n(s,{class:"empty"})}return n(s,null,n("form",{onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},n("h5",null,"Reminders"),n("div",{class:"input-row"},n("label",{htmlFor:"verdocs-send-reminders"},"Send Automatic Reminders"),n("verdocs-checkbox",{id:"verdocs-send-reminders",name:"automatic-reminders",checked:this.sendReminders,value:"on",onInput:function(t){e.sendReminders=t.target.checked;e.dirty=true}})),n("div",{class:"input-row"},n("label",{htmlFor:"verdocs-first-reminder-days"},"Days Before First Reminder"),n("verdocs-text-input",{id:"verdocs-first-reminder-days",type:"number",value:this.firstReminderDays,onInput:function(t){e.firstReminderDays=t.target.value;e.dirty=true},disabled:!this.sendReminders})),n("div",{class:"input-row"},n("label",{htmlFor:"verdocs-days-between-reminders"},"Days Between Reminders"),n("verdocs-text-input",{id:"verdocs-days-between-reminders",type:"number",value:this.reminderDays,onInput:function(t){e.reminderDays=t.target.value;e.dirty=true},disabled:!this.sendReminders})),n("div",{class:"buttons"},n("verdocs-button",{size:"small",variant:"outline",label:"Cancel",disabled:!this.dirty,onClick:function(t){return e.handleCancel(t)}}),n("verdocs-button",{size:"small",label:"Save",disabled:!this.dirty,onClick:function(t){return e.handleSave(t)}}))),this.showPlanBlocker&&n("verdocs-ok-dialog",{heading:"Upgrade to access this feature",message:"Please upgrade your plan to access this feature.",onNext:function(){return e.showPlanBlocker=false}}))};return e}());m.style=p}}}));