ku4web-components 6.5.6 → 6.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. package/angular/index.js +3 -1
  2. package/angular/index.mjs +1 -1
  3. package/dist/cjs/{index-e69a9e98.js → index-4e2544a7.js} +10 -8
  4. package/dist/cjs/index-ad5278ca.js +10 -0
  5. package/dist/cjs/ku4-carousel-controls.cjs.entry.js +2 -2
  6. package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
  7. package/dist/cjs/ku4-carousel.cjs.entry.js +3 -3
  8. package/dist/cjs/ku4-col.cjs.entry.js +1 -1
  9. package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
  10. package/dist/cjs/ku4-feature.cjs.entry.js +2 -2
  11. package/dist/cjs/ku4-focus-trap.cjs.entry.js +26 -26
  12. package/dist/cjs/ku4-form.cjs.entry.js +3 -3
  13. package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
  14. package/dist/cjs/ku4-label.cjs.entry.js +2 -2
  15. package/dist/cjs/ku4-mask.cjs.entry.js +2 -2
  16. package/dist/cjs/ku4-modal.cjs.entry.js +3 -3
  17. package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
  18. package/dist/cjs/ku4-preview.cjs.entry.js +14 -43
  19. package/dist/cjs/ku4-tab-list.cjs.entry.js +4 -4
  20. package/dist/cjs/ku4-tab-panel.cjs.entry.js +3 -3
  21. package/dist/cjs/ku4-tab.cjs.entry.js +3 -3
  22. package/dist/cjs/ku4-table.cjs.entry.js +1 -1
  23. package/dist/cjs/ku4-tooltip.cjs.entry.js +2 -2
  24. package/dist/cjs/ku4-validation.cjs.entry.js +2 -2
  25. package/dist/cjs/ku4web-components.cjs.js +7 -102
  26. package/dist/cjs/loader.cjs.js +2 -18
  27. package/dist/cjs/{shadow-css-42acdd0e.js → shadow-css-abc19485.js} +2 -3
  28. package/dist/esm/{index-3a223c58.js → index-e5173978.js} +10 -8
  29. package/dist/esm/index-f06d1dc2.js +3 -0
  30. package/dist/esm/ku4-carousel-controls.entry.js +2 -2
  31. package/dist/esm/ku4-carousel-slide.entry.js +1 -1
  32. package/dist/esm/ku4-carousel.entry.js +3 -3
  33. package/dist/esm/ku4-col.entry.js +1 -1
  34. package/dist/esm/ku4-drawer.entry.js +1 -1
  35. package/dist/esm/ku4-feature.entry.js +2 -2
  36. package/dist/esm/ku4-focus-trap.entry.js +3 -3
  37. package/dist/esm/ku4-form.entry.js +3 -3
  38. package/dist/esm/ku4-grid.entry.js +1 -1
  39. package/dist/esm/ku4-label.entry.js +2 -2
  40. package/dist/esm/ku4-mask.entry.js +2 -2
  41. package/dist/esm/ku4-modal.entry.js +3 -3
  42. package/dist/esm/ku4-panel.entry.js +1 -1
  43. package/dist/esm/ku4-preview.entry.js +5 -34
  44. package/dist/esm/ku4-tab-list.entry.js +4 -4
  45. package/dist/esm/ku4-tab-panel.entry.js +3 -3
  46. package/dist/esm/ku4-tab.entry.js +3 -3
  47. package/dist/esm/ku4-table.entry.js +1 -1
  48. package/dist/esm/ku4-tooltip.entry.js +2 -2
  49. package/dist/esm/ku4-validation.entry.js +2 -2
  50. package/dist/esm/ku4web-components.js +7 -102
  51. package/dist/esm/loader.js +2 -18
  52. package/dist/{ku4web-components/shadow-css-38a1326b.js → esm/shadow-css-02866686.js} +2 -3
  53. package/dist/esm-es5/{index-3a223c58.js → index-e5173978.js} +2 -1
  54. package/dist/esm-es5/index-f06d1dc2.js +1 -0
  55. package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
  56. package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
  57. package/dist/esm-es5/ku4-carousel.entry.js +1 -1
  58. package/dist/esm-es5/ku4-col.entry.js +1 -1
  59. package/dist/esm-es5/ku4-drawer.entry.js +1 -1
  60. package/dist/esm-es5/ku4-feature.entry.js +1 -1
  61. package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
  62. package/dist/esm-es5/ku4-form.entry.js +1 -1
  63. package/dist/esm-es5/ku4-grid.entry.js +1 -1
  64. package/dist/esm-es5/ku4-label.entry.js +1 -1
  65. package/dist/esm-es5/ku4-mask.entry.js +1 -1
  66. package/dist/esm-es5/ku4-modal.entry.js +1 -1
  67. package/dist/esm-es5/ku4-panel.entry.js +1 -1
  68. package/dist/esm-es5/ku4-preview.entry.js +1 -1
  69. package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
  70. package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
  71. package/dist/esm-es5/ku4-tab.entry.js +1 -1
  72. package/dist/esm-es5/ku4-table.entry.js +1 -1
  73. package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
  74. package/dist/esm-es5/ku4-validation.entry.js +1 -1
  75. package/dist/esm-es5/ku4web-components.js +1 -1
  76. package/dist/esm-es5/loader.js +1 -1
  77. package/dist/esm-es5/shadow-css-02866686.js +12 -0
  78. package/dist/index.js +1 -1
  79. package/dist/ku4web-components/index.esm.js +0 -1
  80. package/dist/ku4web-components/ku4web-components.css +1 -299
  81. package/dist/ku4web-components/ku4web-components.esm.js +1 -129
  82. package/dist/ku4web-components/ku4web-components.js +1 -1
  83. package/dist/ku4web-components/{p-96033515.system.entry.js → p-02eef79e.system.entry.js} +1 -1
  84. package/dist/ku4web-components/p-06b0b9bc.js +2 -0
  85. package/dist/ku4web-components/{p-2ee63f57.system.js → p-0b3bdc7f.system.js} +1 -1
  86. package/dist/ku4web-components/{p-b1680ef4.entry.js → p-155f4481.entry.js} +1 -1
  87. package/dist/ku4web-components/{p-c5448cc1.system.entry.js → p-2723d2b6.system.entry.js} +1 -1
  88. package/dist/ku4web-components/{p-e31755cd.system.entry.js → p-2c79be2e.system.entry.js} +1 -1
  89. package/dist/ku4web-components/p-2df8696a.entry.js +1 -0
  90. package/dist/ku4web-components/{p-046b3990.entry.js → p-364b562f.entry.js} +1 -1
  91. package/dist/ku4web-components/{p-bb698020.system.entry.js → p-3ba44adc.system.entry.js} +1 -1
  92. package/dist/ku4web-components/{p-4ecd9b1d.system.entry.js → p-42d52222.system.entry.js} +1 -1
  93. package/dist/ku4web-components/{p-0f1646ca.system.entry.js → p-4733f8b6.system.entry.js} +1 -1
  94. package/dist/ku4web-components/{p-8173d389.system.entry.js → p-48b0bb76.system.entry.js} +1 -1
  95. package/dist/ku4web-components/p-5109ce9d.system.js +1 -0
  96. package/dist/ku4web-components/{p-ae7ce1fe.system.entry.js → p-55a4a947.system.entry.js} +1 -1
  97. package/dist/ku4web-components/{p-d0f3bec4.js → p-5a51f33e.js} +1 -1
  98. package/dist/ku4web-components/{p-e11fbd79.entry.js → p-5c296352.entry.js} +1 -1
  99. package/dist/ku4web-components/{p-3deab7f6.system.entry.js → p-5e666fe4.system.entry.js} +1 -1
  100. package/dist/ku4web-components/{p-bb5410b5.entry.js → p-6028fc6f.entry.js} +1 -1
  101. package/dist/ku4web-components/{p-72be654e.system.entry.js → p-65643a0b.system.entry.js} +1 -1
  102. package/dist/ku4web-components/{p-4da33ea7.entry.js → p-67a2204b.entry.js} +1 -1
  103. package/dist/ku4web-components/{p-7b6ca6a8.entry.js → p-6ab4928a.entry.js} +1 -1
  104. package/dist/ku4web-components/{p-cfd1b93c.entry.js → p-6e918f89.entry.js} +1 -1
  105. package/dist/ku4web-components/{p-1e19bc01.system.entry.js → p-71cbf981.system.entry.js} +1 -1
  106. package/dist/ku4web-components/{p-7b93a362.system.entry.js → p-7260c454.system.entry.js} +1 -1
  107. package/dist/ku4web-components/{p-5e628256.entry.js → p-731cff07.entry.js} +1 -1
  108. package/dist/ku4web-components/{p-fd3d3f56.system.js → p-8f2e658a.system.js} +2 -1
  109. package/dist/ku4web-components/{p-9e2f37cc.entry.js → p-939f438f.entry.js} +1 -1
  110. package/dist/ku4web-components/{p-6509d3e7.system.entry.js → p-9a6aa058.system.entry.js} +1 -1
  111. package/dist/ku4web-components/{p-da8a8b83.entry.js → p-9db782b0.entry.js} +1 -1
  112. package/dist/ku4web-components/{p-0b777b57.entry.js → p-9ebb7181.entry.js} +1 -1
  113. package/dist/ku4web-components/{p-d42bd64d.entry.js → p-9fcb26bb.entry.js} +1 -1
  114. package/dist/ku4web-components/{p-27647af0.system.entry.js → p-a3b9acd3.system.entry.js} +1 -1
  115. package/dist/ku4web-components/{p-de3b2ba1.entry.js → p-a45df4c1.entry.js} +1 -1
  116. package/dist/ku4web-components/{p-17c2a7ac.system.entry.js → p-b2512286.system.entry.js} +1 -1
  117. package/dist/ku4web-components/{p-ea1961f5.entry.js → p-b334f07e.entry.js} +1 -1
  118. package/dist/ku4web-components/{p-a13796dc.system.entry.js → p-bc388bcc.system.entry.js} +1 -1
  119. package/dist/ku4web-components/p-c00ad706.system.js +13 -0
  120. package/dist/ku4web-components/{p-6515c623.system.entry.js → p-c0dce18b.system.entry.js} +1 -1
  121. package/dist/ku4web-components/{p-1abe6f26.entry.js → p-c46a6ff5.entry.js} +1 -1
  122. package/dist/ku4web-components/p-ccf9d584.js +1 -0
  123. package/dist/ku4web-components/{p-9778d082.system.entry.js → p-e4693cda.system.entry.js} +1 -1
  124. package/dist/ku4web-components/{p-d4877fdf.entry.js → p-e5170dc1.entry.js} +1 -1
  125. package/dist/ku4web-components/{p-0a68e802.entry.js → p-e65f0ac5.entry.js} +1 -1
  126. package/dist/ku4web-components/{p-1a09ae2c.entry.js → p-ea1b0df6.entry.js} +1 -1
  127. package/dist/ku4web-components/{p-5e8921ef.system.entry.js → p-f0dbdb77.system.entry.js} +1 -1
  128. package/dist/ku4web-components/{p-9b01a63a.entry.js → p-f76dfee1.entry.js} +1 -1
  129. package/dist/ku4web-components/{p-a7ab7c23.system.entry.js → p-faa0713d.system.entry.js} +1 -1
  130. package/dist/types/components.d.ts +27 -7
  131. package/package.json +37 -30
  132. package/react/index.js +3 -1
  133. package/react/index.mjs +1 -1
  134. package/vue/index.js +3 -1
  135. package/vue/index.mjs +1 -1
  136. package/vue3/index.js +3 -1
  137. package/vue3/index.mjs +1 -1
  138. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  139. package/dist/cjs/css-shim-f1391d35.js +0 -6
  140. package/dist/cjs/dom-5345ed9a.js +0 -75
  141. package/dist/cjs/index-065185f8.js +0 -3093
  142. package/dist/cjs/index-16f16ed9.js +0 -14
  143. package/dist/cjs/index-436596bf.js +0 -10
  144. package/dist/cjs/index-49d3746b.js +0 -10
  145. package/dist/cjs/uid-a1348ea5.js +0 -11
  146. package/dist/collection/capabilities/a11y/aria.js +0 -26
  147. package/dist/collection/capabilities/angular/index.js +0 -24
  148. package/dist/collection/capabilities/decorators/deprecated.js +0 -20
  149. package/dist/collection/capabilities/decorators/index.js +0 -3
  150. package/dist/collection/capabilities/decorators/memoize.js +0 -7
  151. package/dist/collection/capabilities/dom/isFocusable.js +0 -7
  152. package/dist/collection/capabilities/dom/queryFocusable.js +0 -2
  153. package/dist/collection/capabilities/identity/uid.js +0 -6
  154. package/dist/collection/capabilities/mask/index.js +0 -5
  155. package/dist/collection/capabilities/mask/patterns/date.js +0 -40
  156. package/dist/collection/capabilities/mask/patterns/index.js +0 -7
  157. package/dist/collection/capabilities/react/index.js +0 -25
  158. package/dist/collection/capabilities/testing/html.js +0 -14
  159. package/dist/collection/capabilities/testing/styles.js +0 -14
  160. package/dist/collection/capabilities/vue/index.js +0 -28
  161. package/dist/collection/capabilities/vue3/index.js +0 -26
  162. package/dist/collection/collection-manifest.json +0 -31
  163. package/dist/collection/components/ku4-carousel/ku4-carousel.css +0 -221
  164. package/dist/collection/components/ku4-carousel/ku4-carousel.js +0 -369
  165. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +0 -32
  166. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +0 -112
  167. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +0 -3
  168. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +0 -159
  169. package/dist/collection/components/ku4-col/ku4-col.css +0 -601
  170. package/dist/collection/components/ku4-col/ku4-col.js +0 -288
  171. package/dist/collection/components/ku4-drawer/ku4-drawer.css +0 -56
  172. package/dist/collection/components/ku4-drawer/ku4-drawer.js +0 -163
  173. package/dist/collection/components/ku4-feature/ku4-feature.js +0 -70
  174. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +0 -3
  175. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +0 -441
  176. package/dist/collection/components/ku4-form/ku4-form.js +0 -265
  177. package/dist/collection/components/ku4-grid/ku4-grid.css +0 -751
  178. package/dist/collection/components/ku4-grid/ku4-grid.js +0 -408
  179. package/dist/collection/components/ku4-label/ku4-label.css +0 -36
  180. package/dist/collection/components/ku4-label/ku4-label.js +0 -115
  181. package/dist/collection/components/ku4-mask/ku4-mask.css +0 -3
  182. package/dist/collection/components/ku4-mask/ku4-mask.js +0 -459
  183. package/dist/collection/components/ku4-modal/ku4-modal.css +0 -85
  184. package/dist/collection/components/ku4-modal/ku4-modal.js +0 -231
  185. package/dist/collection/components/ku4-panel/ku4-panel.css +0 -14
  186. package/dist/collection/components/ku4-panel/ku4-panel.js +0 -119
  187. package/dist/collection/components/ku4-preview/ku4-preview.css +0 -23
  188. package/dist/collection/components/ku4-preview/ku4-preview.js +0 -266
  189. package/dist/collection/components/ku4-tab/ku4-tab.css +0 -82
  190. package/dist/collection/components/ku4-tab/ku4-tab.js +0 -191
  191. package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +0 -6
  192. package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +0 -118
  193. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +0 -26
  194. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +0 -166
  195. package/dist/collection/components/ku4-table/ku4-table.css +0 -116
  196. package/dist/collection/components/ku4-table/ku4-table.js +0 -120
  197. package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +0 -56
  198. package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +0 -274
  199. package/dist/collection/components/ku4-validation/ku4-validation.css +0 -19
  200. package/dist/collection/components/ku4-validation/ku4-validation.js +0 -364
  201. package/dist/collection/components/ku4-validation/validate.js +0 -14
  202. package/dist/collection/index.js +0 -1
  203. package/dist/collection/security.js +0 -27
  204. package/dist/esm/app-globals-0f993ce5.js +0 -3
  205. package/dist/esm/css-shim-10e6e2ae.js +0 -4
  206. package/dist/esm/dom-7cd9cf71.js +0 -73
  207. package/dist/esm/index-5448a818.js +0 -3
  208. package/dist/esm/index-6cfd87e4.js +0 -3
  209. package/dist/esm/index-a02dcfc8.js +0 -3057
  210. package/dist/esm/index-aa119486.js +0 -3
  211. package/dist/esm/shadow-css-38a1326b.js +0 -388
  212. package/dist/esm/uid-3716c2c4.js +0 -9
  213. package/dist/esm-es5/index-5448a818.js +0 -1
  214. package/dist/esm-es5/shadow-css-38a1326b.js +0 -12
  215. package/dist/ku4web-components/app-globals-0f993ce5.js +0 -3
  216. package/dist/ku4web-components/app-globals-497eb362.system.js +0 -1
  217. package/dist/ku4web-components/css-shim-10e6e2ae.js +0 -4
  218. package/dist/ku4web-components/css-shim-c8dd4551.system.js +0 -1
  219. package/dist/ku4web-components/dom-67d1e45e.system.js +0 -21
  220. package/dist/ku4web-components/dom-7cd9cf71.js +0 -73
  221. package/dist/ku4web-components/index-1c93827a.system.js +0 -1
  222. package/dist/ku4web-components/index-29f2b09f.system.js +0 -1
  223. package/dist/ku4web-components/index-5d0cb00d.system.js +0 -1
  224. package/dist/ku4web-components/index-6cfd87e4.js +0 -3
  225. package/dist/ku4web-components/index-a02dcfc8.js +0 -3057
  226. package/dist/ku4web-components/index-aa119486.js +0 -3
  227. package/dist/ku4web-components/index.system.js +0 -1
  228. package/dist/ku4web-components/ku4-carousel-controls.entry.js +0 -89
  229. package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +0 -1
  230. package/dist/ku4web-components/ku4-carousel-slide.entry.js +0 -47
  231. package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +0 -1
  232. package/dist/ku4web-components/ku4-carousel.entry.js +0 -175
  233. package/dist/ku4web-components/ku4-carousel.system.entry.js +0 -1
  234. package/dist/ku4web-components/ku4-col.entry.js +0 -75
  235. package/dist/ku4web-components/ku4-col.system.entry.js +0 -1
  236. package/dist/ku4web-components/ku4-drawer.entry.js +0 -35
  237. package/dist/ku4web-components/ku4-drawer.system.entry.js +0 -1
  238. package/dist/ku4web-components/ku4-feature.entry.js +0 -29
  239. package/dist/ku4web-components/ku4-feature.system.entry.js +0 -1
  240. package/dist/ku4web-components/ku4-focus-trap.entry.js +0 -323
  241. package/dist/ku4web-components/ku4-focus-trap.system.entry.js +0 -1
  242. package/dist/ku4web-components/ku4-form.entry.js +0 -120
  243. package/dist/ku4web-components/ku4-form.system.entry.js +0 -1
  244. package/dist/ku4web-components/ku4-grid.entry.js +0 -108
  245. package/dist/ku4web-components/ku4-grid.system.entry.js +0 -1
  246. package/dist/ku4web-components/ku4-label.entry.js +0 -70
  247. package/dist/ku4web-components/ku4-label.system.entry.js +0 -1
  248. package/dist/ku4web-components/ku4-mask.entry.js +0 -343
  249. package/dist/ku4web-components/ku4-mask.system.entry.js +0 -1
  250. package/dist/ku4web-components/ku4-modal.entry.js +0 -80
  251. package/dist/ku4web-components/ku4-modal.system.entry.js +0 -1
  252. package/dist/ku4web-components/ku4-panel.entry.js +0 -49
  253. package/dist/ku4web-components/ku4-panel.system.entry.js +0 -1
  254. package/dist/ku4web-components/ku4-preview.entry.js +0 -128
  255. package/dist/ku4web-components/ku4-preview.system.entry.js +0 -1
  256. package/dist/ku4web-components/ku4-tab-list.entry.js +0 -76
  257. package/dist/ku4web-components/ku4-tab-list.system.entry.js +0 -1
  258. package/dist/ku4web-components/ku4-tab-panel.entry.js +0 -72
  259. package/dist/ku4web-components/ku4-tab-panel.system.entry.js +0 -1
  260. package/dist/ku4web-components/ku4-tab.entry.js +0 -63
  261. package/dist/ku4web-components/ku4-tab.system.entry.js +0 -1
  262. package/dist/ku4web-components/ku4-table.entry.js +0 -79
  263. package/dist/ku4web-components/ku4-table.system.entry.js +0 -1
  264. package/dist/ku4web-components/ku4-tooltip.entry.js +0 -120
  265. package/dist/ku4web-components/ku4-tooltip.system.entry.js +0 -1
  266. package/dist/ku4web-components/ku4-validation.entry.js +0 -162
  267. package/dist/ku4web-components/ku4-validation.system.entry.js +0 -1
  268. package/dist/ku4web-components/ku4web-components.system.js +0 -1
  269. package/dist/ku4web-components/p-016a7b4e.js +0 -1
  270. package/dist/ku4web-components/p-0de744b1.system.js +0 -1
  271. package/dist/ku4web-components/p-791e2dfc.js +0 -1
  272. package/dist/ku4web-components/p-ac7884f3.entry.js +0 -1
  273. package/dist/ku4web-components/p-e7cd2284.system.js +0 -13
  274. package/dist/ku4web-components/shadow-css-7fde17ac.system.js +0 -13
  275. package/dist/ku4web-components/uid-2ed9f227.system.js +0 -1
  276. package/dist/ku4web-components/uid-3716c2c4.js +0 -9
@@ -1 +0,0 @@
1
- System.register([],(function(){"use strict";return{execute:function(){var t=undefined&&undefined.__assign||function(){return(t=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var s in e=arguments[r])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t}).apply(this,arguments)},e=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function r(t){return o(s(t=n(t)),t)}function n(t){return t.replace(l.comments,"").replace(l.port,"")}function s(t){var r=new e;r.start=0,r.end=t.length;for(var n=r,s=0,o=t.length;s<o;s++)if(t[s]===u){n.rules||(n.rules=[]);var i=n,a=i.rules[i.rules.length-1]||null;(n=new e).start=s+1,n.parent=i,n.previous=a,i.rules.push(n)}else t[s]===c&&(n.end=s+1,n=n.parent||r);return r}function o(t,e){var r=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent){var n=t.previous?t.previous.end:t.parent.start;r=(r=(r=i(r=e.substring(n,t.start-1))).replace(l.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=t.parsedSelector=t.selector=r.trim();t.atRule=0===s.indexOf(h),t.atRule?0===s.indexOf(f)?t.type=a.MEDIA_RULE:s.match(l.keyframesRule)&&(t.type=a.KEYFRAMES_RULE,t.keyframesName=t.selector.split(l.multipleSpaces).pop()):0===s.indexOf(p)?t.type=a.MIXIN_RULE:t.type=a.STYLE_RULE}var u=t.rules;if(u)for(var c=0,v=u.length,d=void 0;c<v&&(d=u[c]);c++)o(d,e);return t}function i(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var t=arguments[1],e=6-t.length;e--;)t="0"+t;return"\\"+t}))}var a={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},u="{",c="}",l={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},p="--",f="@media",h="@";function v(t,e,r){t.lastIndex=0;var n=e.substring(r).match(t);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var d=/\bvar\(/,m=/\B--[\w-]+\s*:/,g=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,y=/^[\t ]+\n/gm;function S(t,e,r){return t[e]?t[e]:r?M(r,t):""}function b(t,e){for(var r=0,n=e;n<t.length;n++){var s=t[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function E(t,e){var r=v(d,t,e);if(!r)return null;var n=b(t,r.start),s=t.substring(r.end,n-1).split(","),o=s[0],i=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:i.length>0?i.join(",").trim():void 0}}function x(t,e,r){var n=E(t,r);if(!n)return e.push(t.substring(r,t.length)),t.length;var s=n.propName,o=null!=n.fallback?I(n.fallback):void 0;return e.push(t.substring(r,n.start),(function(t){return S(t,s,o)})),n.end}function M(t,e){for(var r="",n=0;n<t.length;n++){var s=t[n];r+="string"==typeof s?s:s(e)}return r}function w(t,e){for(var r=!1,n=!1,s=e;s<t.length;s++){var o=t[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function C(t){for(var e="",r=0;;){var n=v(m,t,r),s=n?n.start:t.length;if(e+=t.substring(r,s),!n)break;r=w(t,s)}return e}function I(t){var e=0;t=C(t=t.replace(g,"")).replace(y,"");for(var r=[];e<t.length;)e=x(t,r,e);return r}function R(t){var e={};t.forEach((function(t){t.declarations.forEach((function(t){e[t.prop]=t.value}))}));for(var r={},n=Object.entries(e),s=function(t){var e=!1;if(n.forEach((function(t){var n=t[0],s=M(t[1],r);s!==r[n]&&(r[n]=s,e=!0)})),!e)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function k(t,e){if(void 0===e&&(e=0),!t.rules)return[];var r=[];return t.rules.filter((function(t){return t.type===a.STYLE_RULE})).forEach((function(t){var n=O(t.cssText);n.length>0&&t.parsedSelector.split(",").forEach((function(t){t=t.trim(),r.push({selector:t,declarations:n,specificity:_(),nu:e})})),e++})),r}function _(t){return 1}var A="!important",L=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function O(t){for(var e,r=[];e=L.exec(t.trim());){var n=T(e[2]),s=n.value,o=n.important;r.push({prop:e[1].trim(),value:I(s),important:o})}return r}function T(t){var e=(t=t.replace(/\s+/gim," ").trim()).endsWith(A);return e&&(t=t.slice(0,t.length-A.length).trim()),{value:t,important:e}}function U(t,e,r){var n=[],s=N(e,t);return r.forEach((function(t){return n.push(t)})),s.forEach((function(t){return n.push(t)})),$(P(n).filter((function(e){return G(t,e.selector)})))}function N(t,e){for(var r=[];e;){var n=t.get(e);n&&r.push(n),e=e.parentElement}return r}function P(t){var e=[];return t.forEach((function(t){e.push.apply(e,t.selectors)})),e}function $(t){return t.sort((function(t,e){return t.specificity===e.specificity?t.nu-e.nu:t.specificity-e.specificity})),t}function G(t,e){return":root"===e||"html"===e||t.matches(e)}function H(t){var e=r(t),n=I(t);return{original:t,template:n,selectors:k(e),usesCssVars:n.length>1}}function V(t,e){if(t.some((function(t){return t.styleEl===e})))return!1;var r=H(e.textContent);return r.styleEl=e,t.push(r),!0}function Y(t){var e=R(P(t));t.forEach((function(t){t.usesCssVars&&(t.styleEl.textContent=M(t.template,e))}))}function j(e,r){var n=e.template.map((function(t){return"string"==typeof t?q(t,e.scopeId,r):t})),s=e.selectors.map((function(n){return t(t({},n),{selector:q(n.selector,e.scopeId,r)})}));return t(t({},e),{template:n,selectors:s,scopeId:r})}function q(t,e,r){return t=F(t,"\\.".concat(e),".".concat(r))}function F(t,e,r){return t.replace(new RegExp(e,"g"),r)}function B(t,e){return K(t,e),D(t,e).then((function(){Y(e)}))}function W(t,e){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){K(t,e)&&Y(e)})).observe(document.head,{childList:!0})}function D(t,e){for(var r=[],n=t.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(X(t,e,n[s]));return Promise.all(r)}function K(t,e){return Array.from(t.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(t){return V(e,t)})).some(Boolean)}function X(t,e,r){var n=r.href;return fetch(n).then((function(t){return t.text()})).then((function(s){if(Z(s)&&r.parentNode){Q(s)&&(s=tt(s,n));var o=t.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,V(e,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(t){console.error(t)}))}var z=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function Z(t){return t.indexOf("var(")>-1||z.test(t)}var J=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function Q(t){return J.lastIndex=0,J.test(t)}function tt(t,e){var r=e.replace(/[^/]*$/,"");return t.replace(J,(function(t,e){var n=r+e;return t.replace(e,n)}))}var et=function(){function t(t,e){this.win=t,this.doc=e,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return t.prototype.i=function(){var t=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(e){t.win.requestAnimationFrame((function(){W(t.doc,t.globalScopes),B(t.doc,t.globalScopes).then((function(){return e()}))}))})))},t.prototype.addLink=function(t){var e=this;return X(this.doc,this.globalScopes,t).then((function(){e.updateGlobal()}))},t.prototype.addGlobalStyle=function(t){V(this.globalScopes,t)&&this.updateGlobal()},t.prototype.createHostStyle=function(t,e,r,n){if(this.hostScopeMap.has(t))throw new Error("host style already created");var s=this.registerHostTemplate(r,e,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=e="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(t,o),this.hostScopeMap.set(t,j(s,e)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=M(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(t,s)):o.textContent=r,o},t.prototype.removeHost=function(t){var e=this.hostStyleMap.get(t);e&&e.remove(),this.hostStyleMap.delete(t),this.hostScopeMap.delete(t)},t.prototype.updateHost=function(t){var e=this.hostScopeMap.get(t);if(e&&e.usesCssVars&&e.isScoped){var r=this.hostStyleMap.get(t);if(r){var n=R(U(t,this.hostScopeMap,this.globalScopes));r.textContent=M(e.template,n)}}},t.prototype.updateGlobal=function(){Y(this.globalScopes)},t.prototype.registerHostTemplate=function(t,e,r){var n=this.scopesMap.get(e);return n||((n=H(t)).scopeId=e,n.isScoped=r,this.scopesMap.set(e,n)),n},t}();!function(t){!t||t.__cssshim||t.CSS&&t.CSS.supports&&t.CSS.supports("color","var(--c)")||(t.__cssshim=new et(t,t.document))}("undefined"!=typeof window&&window)}}}));
@@ -1,21 +0,0 @@
1
- System.register([],(function(){"use strict";return{execute:function(){(function(){var t=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function e(e){var n=t.has(e);e=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e);return!n&&e}function n(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function o(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function i(t,e,n){n=void 0===n?new Set:n;for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var a=r;e(a);var c=a.localName;if("link"===c&&"import"===a.getAttribute("rel")){r=a.import;if(r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)i(r,e,n);r=o(t,a);continue}else if("template"===c){r=o(t,a);continue}if(a=a.__CE_shadowRoot)for(a=a.firstChild;a;a=a.nextSibling)i(a,e,n)}r=r.firstChild?r.firstChild:o(t,r)}}function r(t,e,n){t[e]=n}function a(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1}function c(t,e,n){t.a.set(e,n);t.g.set(n.constructorFunction,n)}function l(t,e){t.b=!0;t.c.push(e)}function s(t,e){t.b=!0;t.f.push(e)}function u(t,e){t.b&&i(e,(function(e){return f(t,e)}))}function f(t,e){if(t.b&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.c.length;n++)t.c[n](e);for(n=0;n<t.f.length;n++)t.f[n](e)}}function p(t,e){var n=[];i(e,(function(t){return n.push(t)}));for(e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):m(t,o)}}function h(t,e){var n=[];i(e,(function(t){return n.push(t)}));for(e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function d(t,e,n){n=void 0===n?{}:n;var o=n.u||new Set,r=n.i||function(e){return m(t,e)},a=[];i(e,(function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0);n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(o);i.delete(n);d(t,n,{u:i,i:r})}}))}else a.push(e)}),o);if(t.b)for(e=0;e<a.length;e++)f(t,a[e]);for(e=0;e<a.length;e++)r(a[e])}function m(t,e){if(void 0===e.__CE_state){var o=e.ownerDocument;if(o.defaultView||o.__CE_isImportDocument&&o.__CE_hasRegistry)if(o=t.a.get(e.localName)){o.constructionStack.push(e);var i=o.constructorFunction;try{try{if(new i!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(c){throw e.__CE_state=2,c}e.__CE_state=1;e.__CE_definition=o;if(o.attributeChangedCallback)for(o=o.observedAttributes,i=0;i<o.length;i++){var r=o[i],a=e.getAttribute(r);null!==a&&t.attributeChangedCallback(e,r,null,a,null)}n(e)&&t.connectedCallback(e)}}}a.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)};a.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)};a.prototype.attributeChangedCallback=function(t,e,n,o,i){var r=t.__CE_definition;r.attributeChangedCallback&&-1<r.observedAttributes.indexOf(e)&&r.attributeChangedCallback.call(t,e,n,o,i)};function y(t){var e=document;this.c=t;this.a=e;this.b=void 0;d(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function b(t){t.b&&t.b.disconnect()}y.prototype.f=function(t){var e=this.a.readyState;"interactive"!==e&&"complete"!==e||b(this);for(e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)d(this.c,n[o])};function v(){var t=this;this.b=this.a=void 0;this.c=new Promise((function(e){t.b=e;t.a&&e(t.a)}))}function g(t){if(t.a)throw Error("Already resolved.");t.a=void 0;t.b&&t.b(void 0)}function w(t){this.c=!1;this.a=t;this.j=new Map;this.f=function(t){return t()};this.b=!1;this.g=[];this.o=new y(t)}w.prototype.l=function(t,n){var o=this;if(!(n instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!e(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.a.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=i("connectedCallback");var l=i("disconnectedCallback");var s=i("adoptedCallback");var u=i("attributeChangedCallback");var f=n.observedAttributes||[]}catch(p){return}finally{this.c=!1}n={localName:t,constructorFunction:n,connectedCallback:a,disconnectedCallback:l,adoptedCallback:s,attributeChangedCallback:u,observedAttributes:f,constructionStack:[]};c(this.a,t,n);this.g.push(n);this.b||(this.b=!0,this.f((function(){return E(o)})))};w.prototype.i=function(t){d(this.a,t)};function E(t){if(!1!==t.b){t.b=!1;for(var e=t.g,n=[],o=new Map,i=0;i<e.length;i++)o.set(e[i].localName,[]);d(t.a,document,{i:function(e){if(void 0===e.__CE_state){var i=e.localName,r=o.get(i);r?r.push(e):t.a.a.get(i)&&n.push(e)}}});for(i=0;i<n.length;i++)m(t.a,n[i]);for(;0<e.length;){var r=e.shift();i=r.localName;r=o.get(r.localName);for(var a=0;a<r.length;a++)m(t.a,r[a]);(i=t.j.get(i))&&g(i)}}}w.prototype.get=function(t){if(t=this.a.a.get(t))return t.constructorFunction};w.prototype.m=function(t){if(!e(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var n=this.j.get(t);if(n)return n.c;n=new v;this.j.set(t,n);this.a.a.get(t)&&!this.g.some((function(e){return e.localName===t}))&&g(n);return n.c};w.prototype.s=function(t){b(this.o);var e=this.f;this.f=function(n){return t((function(){return e(n)}))}};window.CustomElementRegistry=w;w.prototype.define=w.prototype.l;w.prototype.upgrade=w.prototype.i;w.prototype.get=w.prototype.get;w.prototype.whenDefined=w.prototype.m;w.prototype.polyfillWrapFlushCallback=w.prototype.s;var _=window.Document.prototype.createElement,C=window.Document.prototype.createElementNS,N=window.Document.prototype.importNode,S=window.Document.prototype.prepend,T=window.Document.prototype.append,D=window.DocumentFragment.prototype.prepend,k=window.DocumentFragment.prototype.append,A=window.Node.prototype.cloneNode,O=window.Node.prototype.appendChild,j=window.Node.prototype.insertBefore,L=window.Node.prototype.removeChild,M=window.Node.prototype.replaceChild,x=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),H=window.Element.prototype.attachShadow,R=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,F=window.Element.prototype.setAttribute,I=window.Element.prototype.removeAttribute,z=window.Element.prototype.getAttributeNS,U=window.Element.prototype.setAttributeNS,W=window.Element.prototype.removeAttributeNS,q=window.Element.prototype.insertAdjacentElement,B=window.Element.prototype.insertAdjacentHTML,$=window.Element.prototype.prepend,V=window.Element.prototype.append,X=window.Element.prototype.before,G=window.Element.prototype.after,J=window.Element.prototype.replaceWith,K=window.Element.prototype.remove,Q=window.HTMLElement,Y=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Z=window.HTMLElement.prototype.insertAdjacentElement,tt=window.HTMLElement.prototype.insertAdjacentHTML;var et=new function(){};function nt(){var t=st;window.HTMLElement=function(){function e(){var e=this.constructor,n=t.g.get(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=_.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,f(t,o),o;n=o.length-1;var i=o[n];if(i===et)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");o[n]=et;Object.setPrototypeOf(i,e.prototype);f(t,i);return i}e.prototype=Q.prototype;Object.defineProperty(e.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e});return e}()}function ot(t,e,o){function i(e){return function(o){for(var i=[],r=0;r<arguments.length;++r)i[r]=arguments[r];r=[];for(var a=[],c=0;c<i.length;c++){var l=i[c];l instanceof Element&&n(l)&&a.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}e.apply(this,i);for(i=0;i<a.length;i++)h(t,a[i]);if(n(this))for(i=0;i<r.length;i++)a=r[i],a instanceof Element&&p(t,a)}}void 0!==o.h&&(e.prepend=i(o.h));void 0!==o.append&&(e.append=i(o.append))}function it(){var t=st;r(Document.prototype,"createElement",(function(e){if(this.__CE_hasRegistry){var n=t.a.get(e);if(n)return new n.constructorFunction}e=_.call(this,e);f(t,e);return e}));r(Document.prototype,"importNode",(function(e,n){e=N.call(this,e,!!n);this.__CE_hasRegistry?d(t,e):u(t,e);return e}));r(Document.prototype,"createElementNS",(function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.a.get(n);if(o)return new o.constructorFunction}e=C.call(this,e,n);f(t,e);return e}));ot(t,Document.prototype,{h:S,append:T})}function rt(){function t(t,o){Object.defineProperty(t,"textContent",{enumerable:o.enumerable,configurable:!0,get:o.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)o.set.call(this,t);else{var i=void 0;if(this.firstChild){var r=this.childNodes,a=r.length;if(0<a&&n(this)){i=Array(a);for(var c=0;c<a;c++)i[c]=r[c]}}o.set.call(this,t);if(i)for(t=0;t<i.length;t++)h(e,i[t])}}})}var e=st;r(Node.prototype,"insertBefore",(function(t,o){if(t instanceof DocumentFragment){var i=Array.prototype.slice.apply(t.childNodes);t=j.call(this,t,o);if(n(this))for(o=0;o<i.length;o++)p(e,i[o]);return t}i=n(t);o=j.call(this,t,o);i&&h(e,t);n(this)&&p(e,t);return o}));r(Node.prototype,"appendChild",(function(t){if(t instanceof DocumentFragment){var o=Array.prototype.slice.apply(t.childNodes);t=O.call(this,t);if(n(this))for(var i=0;i<o.length;i++)p(e,o[i]);return t}o=n(t);i=O.call(this,t);o&&h(e,t);n(this)&&p(e,t);return i}));r(Node.prototype,"cloneNode",(function(t){t=A.call(this,!!t);this.ownerDocument.__CE_hasRegistry?d(e,t):u(e,t);return t}));r(Node.prototype,"removeChild",(function(t){var o=n(t),i=L.call(this,t);o&&h(e,t);return i}));r(Node.prototype,"replaceChild",(function(t,o){if(t instanceof DocumentFragment){var i=Array.prototype.slice.apply(t.childNodes);t=M.call(this,t,o);if(n(this))for(h(e,o),o=0;o<i.length;o++)p(e,i[o]);return t}i=n(t);var r=M.call(this,t,o),a=n(this);a&&h(e,o);i&&h(e,t);a&&p(e,t);return r}));x&&x.get?t(Node.prototype,x):l(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++){var n=this.childNodes[e];n.nodeType!==Node.COMMENT_NODE&&t.push(n.textContent)}return t.join("")},set:function(t){for(;this.firstChild;)L.call(this,this.firstChild);null!=t&&""!==t&&O.call(this,document.createTextNode(t))}})}))}function at(t){function e(e){return function(o){for(var i=[],r=0;r<arguments.length;++r)i[r]=arguments[r];r=[];for(var a=[],c=0;c<i.length;c++){var l=i[c];l instanceof Element&&n(l)&&a.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)r.push(l);else r.push(l)}e.apply(this,i);for(i=0;i<a.length;i++)h(t,a[i]);if(n(this))for(i=0;i<r.length;i++)a=r[i],a instanceof Element&&p(t,a)}}var o=Element.prototype;void 0!==X&&(o.before=e(X));void 0!==X&&(o.after=e(G));void 0!==J&&r(o,"replaceWith",(function(e){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var r=[],a=0;a<o.length;a++){var c=o[a];c instanceof Element&&n(c)&&r.push(c);if(c instanceof DocumentFragment)for(c=c.firstChild;c;c=c.nextSibling)i.push(c);else i.push(c)}a=n(this);J.apply(this,o);for(o=0;o<r.length;o++)h(t,r[o]);if(a)for(h(t,this),o=0;o<i.length;o++)r=i[o],r instanceof Element&&p(t,r)}));void 0!==K&&r(o,"remove",(function(){var e=n(this);K.call(this);e&&h(t,this)}))}function ct(){function t(t,e){Object.defineProperty(t,"innerHTML",{enumerable:e.enumerable,configurable:!0,get:e.get,set:function(t){var o=this,r=void 0;n(this)&&(r=[],i(this,(function(t){t!==o&&r.push(t)})));e.set.call(this,t);if(r)for(var c=0;c<r.length;c++){var l=r[c];1===l.__CE_state&&a.disconnectedCallback(l)}this.ownerDocument.__CE_hasRegistry?d(a,this):u(a,this);return t}})}function e(t,e){r(t,"insertAdjacentElement",(function(t,o){var i=n(o);t=e.call(this,t,o);i&&h(a,o);n(t)&&p(a,o);return t}))}function o(t,e){function n(t,e){for(var n=[];t!==e;t=t.nextSibling)n.push(t);for(e=0;e<n.length;e++)d(a,n[e])}r(t,"insertAdjacentHTML",(function(t,o){t=t.toLowerCase();if("beforebegin"===t){var i=this.previousSibling;e.call(this,t,o);n(i||this.parentNode.firstChild,this)}else if("afterbegin"===t)i=this.firstChild,e.call(this,t,o),n(this.firstChild,i);else if("beforeend"===t)i=this.lastChild,e.call(this,t,o),n(i||this.firstChild,null);else if("afterend"===t)i=this.nextSibling,e.call(this,t,o),n(this.nextSibling,i);else throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}))}var a=st;H&&r(Element.prototype,"attachShadow",(function(t){t=H.call(this,t);var e=a;if(e.b&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.c.length;n++)e.c[n](t)}return this.__CE_shadowRoot=t}));R&&R.get?t(Element.prototype,R):Y&&Y.get?t(HTMLElement.prototype,Y):s(a,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return A.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,o=C.call(document,this.namespaceURI,this.localName);for(o.innerHTML=t;0<n.childNodes.length;)L.call(n,n.childNodes[0]);for(t=e?o.content:o;0<t.childNodes.length;)O.call(n,t.childNodes[0])}})}));r(Element.prototype,"setAttribute",(function(t,e){if(1!==this.__CE_state)return F.call(this,t,e);var n=P.call(this,t);F.call(this,t,e);e=P.call(this,t);a.attributeChangedCallback(this,t,n,e,null)}));r(Element.prototype,"setAttributeNS",(function(t,e,n){if(1!==this.__CE_state)return U.call(this,t,e,n);var o=z.call(this,t,e);U.call(this,t,e,n);n=z.call(this,t,e);a.attributeChangedCallback(this,e,o,n,t)}));r(Element.prototype,"removeAttribute",(function(t){if(1!==this.__CE_state)return I.call(this,t);var e=P.call(this,t);I.call(this,t);null!==e&&a.attributeChangedCallback(this,t,e,null,null)}));r(Element.prototype,"removeAttributeNS",(function(t,e){if(1!==this.__CE_state)return W.call(this,t,e);var n=z.call(this,t,e);W.call(this,t,e);var o=z.call(this,t,e);n!==o&&a.attributeChangedCallback(this,e,n,o,t)}));Z?e(HTMLElement.prototype,Z):q?e(Element.prototype,q):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");tt?o(HTMLElement.prototype,tt):B?o(Element.prototype,B):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");ot(a,Element.prototype,{h:$,append:V});at(a)}var lt=window.customElements;if(!lt||lt.forcePolyfill||"function"!=typeof lt.define||"function"!=typeof lt.get){var st=new a;nt();it();ot(st,DocumentFragment.prototype,{h:D,append:k});rt();ct();document.__CE_hasRegistry=!0;var ut=new w(st);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:ut})}}).call(self);"string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var t=document.querySelector("base");return t&&t.href?t.href:document.URL}});"function"!==typeof window.CustomEvent&&(window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail);return n},window.CustomEvent.prototype=window.Event.prototype);(function(t,e,n){t.composedPath||(t.composedPath=function(){if(this.path)return this.path;var t=this.target;for(this.path=[];null!==t.parentNode;)this.path.push(t),t=t.parentNode;this.path.push(e,n);return this.path})})(Event.prototype,document,window);
2
- /*!
3
- Element.closest and Element.matches
4
- https://github.com/jonathantneal/closest
5
- Creative Commons Zero v1.0 Universal
6
- */(function(t){"function"!==typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){t=(this.document||this.ownerDocument).querySelectorAll(t);for(var e=0;t[e]&&t[e]!==this;)++e;return!!t[e]});"function"!==typeof t.closest&&(t.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null})})(window.Element.prototype);
7
- /*!
8
- Element.getRootNode()
9
- */(function(t){function e(t){t=n(t);return t&&11===t.nodeType?e(t.host):t}function n(t){return t&&t.parentNode?n(t.parentNode):t}"function"!==typeof t.getRootNode&&(t.getRootNode=function(t){return t&&t.composed?e(this):n(this)})})(Element.prototype);
10
- /*!
11
- Element.isConnected()
12
- */(function(t){"isConnected"in t||Object.defineProperty(t,"isConnected",{configurable:!0,enumerable:!0,get:function(){var t=this.getRootNode({composed:!0});return t&&9===t.nodeType}})})(Element.prototype);
13
- /*!
14
- Element.remove()
15
- */(function(t){t.forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}))})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
16
- /*!
17
- Element.classList
18
- */!function(t){"classList"in t||Object.defineProperty(t,"classList",{get:function(){var t=this,e=(t.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){e.length>0?t.setAttribute("class",e.join(" ")):t.removeAttribute("class")}return""===e[0]&&e.splice(0,1),e.toggle=function(t,o){void 0!==o?o?e.add(t):e.remove(t):-1!==e.indexOf(t)?e.splice(e.indexOf(t),1):e.push(t),n()},e.add=function(){for(var t=[].slice.call(arguments),o=0,i=t.length;o<i;o++)-1===e.indexOf(t[o])&&e.push(t[o]);n()},e.remove=function(){for(var t=[].slice.call(arguments),o=0,i=t.length;o<i;o++)-1!==e.indexOf(t[o])&&e.splice(e.indexOf(t[o]),1);n()},e.item=function(t){return e[t]},e.contains=function(t){return-1!==e.indexOf(t)},e.replace=function(t,o){-1!==e.indexOf(t)&&e.splice(e.indexOf(t),1,o),n()},e.value=t.getAttribute("class")||"",e}})}(Element.prototype);
19
- /*!
20
- DOMTokenList
21
- */(function(t){try{document.body.classList.add()}catch(o){var e=t.add,n=t.remove;t.add=function(){for(var t=0;t<arguments.length;t++)e.call(this,arguments[t])};t.remove=function(){for(var t=0;t<arguments.length;t++)n.call(this,arguments[t])}}})(DOMTokenList.prototype)}}}));
@@ -1,73 +0,0 @@
1
- /*
2
- Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
3
- */
4
- (function(){
5
- var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function g(a){var b=aa.has(a);a=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);return !b&&a}function l(a){var b=a.isConnected;if(void 0!==b)return b;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return !(!a||!(a.__CE_isImportDocument||a instanceof Document))}
6
- function n(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
7
- function p(a,b,d){d=void 0===d?new Set:d;for(var c=a;c;){if(c.nodeType===Node.ELEMENT_NODE){var e=c;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){c=e.import;if(c instanceof Node&&!d.has(c))for(d.add(c),c=c.firstChild;c;c=c.nextSibling)p(c,b,d);c=n(a,e);continue}else if("template"===f){c=n(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)p(e,b,d);}c=c.firstChild?c.firstChild:n(a,c);}}function r(a,b,d){a[b]=d;}function u(){this.a=new Map;this.g=new Map;this.c=[];this.f=[];this.b=!1;}function ba(a,b,d){a.a.set(b,d);a.g.set(d.constructorFunction,d);}function ca(a,b){a.b=!0;a.c.push(b);}function da(a,b){a.b=!0;a.f.push(b);}function v(a,b){a.b&&p(b,function(b){return w(a,b)});}function w(a,b){if(a.b&&!b.__CE_patched){b.__CE_patched=!0;for(var d=0;d<a.c.length;d++)a.c[d](b);for(d=0;d<a.f.length;d++)a.f[d](b);}}
8
- function x(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state?a.connectedCallback(c):y(a,c);}}function z(a,b){var d=[];p(b,function(b){return d.push(b)});for(b=0;b<d.length;b++){var c=d[b];1===c.__CE_state&&a.disconnectedCallback(c);}}
9
- function A(a,b,d){d=void 0===d?{}:d;var c=d.u||new Set,e=d.i||function(b){return y(a,b)},f=[];p(b,function(b){if("link"===b.localName&&"import"===b.getAttribute("rel")){var d=b.import;d instanceof Node&&(d.__CE_isImportDocument=!0,d.__CE_hasRegistry=!0);d&&"complete"===d.readyState?d.__CE_documentLoadHandled=!0:b.addEventListener("load",function(){var d=b.import;if(!d.__CE_documentLoadHandled){d.__CE_documentLoadHandled=!0;var f=new Set(c);f.delete(d);A(a,d,{u:f,i:e});}});}else f.push(b);},c);if(a.b)for(b=
10
- 0;b<f.length;b++)w(a,f[b]);for(b=0;b<f.length;b++)e(f[b]);}
11
- function y(a,b){if(void 0===b.__CE_state){var d=b.ownerDocument;if(d.defaultView||d.__CE_isImportDocument&&d.__CE_hasRegistry)if(d=a.a.get(b.localName)){d.constructionStack.push(b);var c=d.constructorFunction;try{try{if(new c!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{d.constructionStack.pop();}}catch(t){throw b.__CE_state=2,t;}b.__CE_state=1;b.__CE_definition=d;if(d.attributeChangedCallback)for(d=d.observedAttributes,c=0;c<d.length;c++){var e=
12
- d[c],f=b.getAttribute(e);null!==f&&a.attributeChangedCallback(b,e,null,f,null);}l(b)&&a.connectedCallback(b);}}}u.prototype.connectedCallback=function(a){var b=a.__CE_definition;b.connectedCallback&&b.connectedCallback.call(a);};u.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;b.disconnectedCallback&&b.disconnectedCallback.call(a);};
13
- u.prototype.attributeChangedCallback=function(a,b,d,c,e){var f=a.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b)&&f.attributeChangedCallback.call(a,b,d,c,e);};function B(a){var b=document;this.c=a;this.a=b;this.b=void 0;A(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}));}function C(a){a.b&&a.b.disconnect();}B.prototype.f=function(a){var b=this.a.readyState;"interactive"!==b&&"complete"!==b||C(this);for(b=0;b<a.length;b++)for(var d=a[b].addedNodes,c=0;c<d.length;c++)A(this.c,d[c]);};function ea(){var a=this;this.b=this.a=void 0;this.c=new Promise(function(b){a.b=b;a.a&&b(a.a);});}function D(a){if(a.a)throw Error("Already resolved.");a.a=void 0;a.b&&a.b(void 0);}function E(a){this.c=!1;this.a=a;this.j=new Map;this.f=function(b){return b()};this.b=!1;this.g=[];this.o=new B(a);}
14
- E.prototype.l=function(a,b){var d=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!g(a))throw new SyntaxError("The element name '"+a+"' is not valid.");if(this.a.a.get(a))throw Error("A custom element with name '"+a+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var c=function(b){var a=e[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function.");
15
- return a},e=b.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=c("connectedCallback");var t=c("disconnectedCallback");var k=c("adoptedCallback");var h=c("attributeChangedCallback");var m=b.observedAttributes||[];}catch(q){return}finally{this.c=!1;}b={localName:a,constructorFunction:b,connectedCallback:f,disconnectedCallback:t,adoptedCallback:k,attributeChangedCallback:h,observedAttributes:m,constructionStack:[]};ba(this.a,
16
- a,b);this.g.push(b);this.b||(this.b=!0,this.f(function(){return fa(d)}));};E.prototype.i=function(a){A(this.a,a);};
17
- function fa(a){if(!1!==a.b){a.b=!1;for(var b=a.g,d=[],c=new Map,e=0;e<b.length;e++)c.set(b[e].localName,[]);A(a.a,document,{i:function(b){if(void 0===b.__CE_state){var e=b.localName,f=c.get(e);f?f.push(b):a.a.a.get(e)&&d.push(b);}}});for(e=0;e<d.length;e++)y(a.a,d[e]);for(;0<b.length;){var f=b.shift();e=f.localName;f=c.get(f.localName);for(var t=0;t<f.length;t++)y(a.a,f[t]);(e=a.j.get(e))&&D(e);}}}E.prototype.get=function(a){if(a=this.a.a.get(a))return a.constructorFunction};
18
- E.prototype.m=function(a){if(!g(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.j.get(a);if(b)return b.c;b=new ea;this.j.set(a,b);this.a.a.get(a)&&!this.g.some(function(b){return b.localName===a})&&D(b);return b.c};E.prototype.s=function(a){C(this.o);var b=this.f;this.f=function(d){return a(function(){return b(d)})};};window.CustomElementRegistry=E;E.prototype.define=E.prototype.l;E.prototype.upgrade=E.prototype.i;E.prototype.get=E.prototype.get;
19
- E.prototype.whenDefined=E.prototype.m;E.prototype.polyfillWrapFlushCallback=E.prototype.s;var F=window.Document.prototype.createElement,G=window.Document.prototype.createElementNS,ha=window.Document.prototype.importNode,ia=window.Document.prototype.prepend,ja=window.Document.prototype.append,ka=window.DocumentFragment.prototype.prepend,la=window.DocumentFragment.prototype.append,H=window.Node.prototype.cloneNode,I=window.Node.prototype.appendChild,J=window.Node.prototype.insertBefore,K=window.Node.prototype.removeChild,L=window.Node.prototype.replaceChild,M=Object.getOwnPropertyDescriptor(window.Node.prototype,
20
- "textContent"),N=window.Element.prototype.attachShadow,O=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),P=window.Element.prototype.getAttribute,Q=window.Element.prototype.setAttribute,R=window.Element.prototype.removeAttribute,S=window.Element.prototype.getAttributeNS,T=window.Element.prototype.setAttributeNS,U=window.Element.prototype.removeAttributeNS,ma=window.Element.prototype.insertAdjacentElement,na=window.Element.prototype.insertAdjacentHTML,oa=window.Element.prototype.prepend,
21
- pa=window.Element.prototype.append,V=window.Element.prototype.before,qa=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,sa=window.Element.prototype.remove,ta=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ua=window.HTMLElement.prototype.insertAdjacentElement,va=window.HTMLElement.prototype.insertAdjacentHTML;var wa=new function(){};function xa(){var a=X;window.HTMLElement=function(){function b(){var b=this.constructor,c=a.g.get(b);if(!c)throw Error("The custom element being constructed was not registered with `customElements`.");var e=c.constructionStack;if(0===e.length)return e=F.call(document,c.localName),Object.setPrototypeOf(e,b.prototype),e.__CE_state=1,e.__CE_definition=c,w(a,e),e;c=e.length-1;var f=e[c];if(f===wa)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");
22
- e[c]=wa;Object.setPrototypeOf(f,b.prototype);w(a,f);return f}b.prototype=ta.prototype;Object.defineProperty(b.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});return b}();}function Y(a,b,d){function c(b){return function(d){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var f=[],m=0;m<e.length;m++){var q=e[m];q instanceof Element&&l(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)c.push(q);else c.push(q);}b.apply(this,e);for(e=0;e<f.length;e++)z(a,f[e]);if(l(this))for(e=0;e<c.length;e++)f=c[e],f instanceof Element&&x(a,f);}}void 0!==d.h&&(b.prepend=c(d.h));void 0!==d.append&&(b.append=c(d.append));}function ya(){var a=X;r(Document.prototype,"createElement",function(b){if(this.__CE_hasRegistry){var d=a.a.get(b);if(d)return new d.constructorFunction}b=F.call(this,b);w(a,b);return b});r(Document.prototype,"importNode",function(b,d){b=ha.call(this,b,!!d);this.__CE_hasRegistry?A(a,b):v(a,b);return b});r(Document.prototype,"createElementNS",function(b,d){if(this.__CE_hasRegistry&&(null===b||"http://www.w3.org/1999/xhtml"===b)){var c=a.a.get(d);if(c)return new c.constructorFunction}b=G.call(this,b,
23
- d);w(a,b);return b});Y(a,Document.prototype,{h:ia,append:ja});}function za(){function a(a,c){Object.defineProperty(a,"textContent",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)c.set.call(this,a);else {var d=void 0;if(this.firstChild){var e=this.childNodes,k=e.length;if(0<k&&l(this)){d=Array(k);for(var h=0;h<k;h++)d[h]=e[h];}}c.set.call(this,a);if(d)for(a=0;a<d.length;a++)z(b,d[a]);}}});}var b=X;r(Node.prototype,"insertBefore",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);
24
- a=J.call(this,a,c);if(l(this))for(c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);c=J.call(this,a,c);e&&z(b,a);l(this)&&x(b,a);return c});r(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=I.call(this,a);if(l(this))for(var e=0;e<c.length;e++)x(b,c[e]);return a}c=l(a);e=I.call(this,a);c&&z(b,a);l(this)&&x(b,a);return e});r(Node.prototype,"cloneNode",function(a){a=H.call(this,!!a);this.ownerDocument.__CE_hasRegistry?A(b,a):v(b,
25
- a);return a});r(Node.prototype,"removeChild",function(a){var c=l(a),e=K.call(this,a);c&&z(b,a);return e});r(Node.prototype,"replaceChild",function(a,c){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=L.call(this,a,c);if(l(this))for(z(b,c),c=0;c<e.length;c++)x(b,e[c]);return a}e=l(a);var f=L.call(this,a,c),d=l(this);d&&z(b,c);e&&z(b,a);d&&x(b,a);return f});M&&M.get?a(Node.prototype,M):ca(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],
26
- b=0;b<this.childNodes.length;b++){var f=this.childNodes[b];f.nodeType!==Node.COMMENT_NODE&&a.push(f.textContent);}return a.join("")},set:function(a){for(;this.firstChild;)K.call(this,this.firstChild);null!=a&&""!==a&&I.call(this,document.createTextNode(a));}});});}function Aa(a){function b(b){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=[];for(var k=[],h=0;h<c.length;h++){var m=c[h];m instanceof Element&&l(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)d.push(m);else d.push(m);}b.apply(this,c);for(c=0;c<k.length;c++)z(a,k[c]);if(l(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&x(a,k);}}var d=Element.prototype;void 0!==V&&(d.before=b(V));void 0!==V&&(d.after=b(qa));void 0!==ra&&
27
- r(d,"replaceWith",function(b){for(var e=[],c=0;c<arguments.length;++c)e[c]=arguments[c];c=[];for(var d=[],k=0;k<e.length;k++){var h=e[k];h instanceof Element&&l(h)&&d.push(h);if(h instanceof DocumentFragment)for(h=h.firstChild;h;h=h.nextSibling)c.push(h);else c.push(h);}k=l(this);ra.apply(this,e);for(e=0;e<d.length;e++)z(a,d[e]);if(k)for(z(a,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&x(a,d);});void 0!==sa&&r(d,"remove",function(){var b=l(this);sa.call(this);b&&z(a,this);});}function Ba(){function a(a,b){Object.defineProperty(a,"innerHTML",{enumerable:b.enumerable,configurable:!0,get:b.get,set:function(a){var e=this,d=void 0;l(this)&&(d=[],p(this,function(a){a!==e&&d.push(a);}));b.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var t=d[f];1===t.__CE_state&&c.disconnectedCallback(t);}this.ownerDocument.__CE_hasRegistry?A(c,this):v(c,this);return a}});}function b(a,b){r(a,"insertAdjacentElement",function(a,e){var d=l(e);a=b.call(this,a,e);d&&z(c,e);l(a)&&x(c,e);return a});}
28
- function d(a,b){function e(a,b){for(var e=[];a!==b;a=a.nextSibling)e.push(a);for(b=0;b<e.length;b++)A(c,e[b]);}r(a,"insertAdjacentHTML",function(a,c){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;b.call(this,a,c);e(d||this.parentNode.firstChild,this);}else if("afterbegin"===a)d=this.firstChild,b.call(this,a,c),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,b.call(this,a,c),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,b.call(this,a,c),e(this.nextSibling,
29
- d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");});}var c=X;N&&r(Element.prototype,"attachShadow",function(a){a=N.call(this,a);var b=c;if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var e=0;e<b.c.length;e++)b.c[e](a);}return this.__CE_shadowRoot=a});O&&O.get?a(Element.prototype,O):W&&W.get?a(HTMLElement.prototype,W):da(c,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return H.call(this,!0).innerHTML},
30
- set:function(a){var b="template"===this.localName,c=b?this.content:this,e=G.call(document,this.namespaceURI,this.localName);for(e.innerHTML=a;0<c.childNodes.length;)K.call(c,c.childNodes[0]);for(a=b?e.content:e;0<a.childNodes.length;)I.call(c,a.childNodes[0]);}});});r(Element.prototype,"setAttribute",function(a,b){if(1!==this.__CE_state)return Q.call(this,a,b);var e=P.call(this,a);Q.call(this,a,b);b=P.call(this,a);c.attributeChangedCallback(this,a,e,b,null);});r(Element.prototype,"setAttributeNS",function(a,
31
- b,d){if(1!==this.__CE_state)return T.call(this,a,b,d);var e=S.call(this,a,b);T.call(this,a,b,d);d=S.call(this,a,b);c.attributeChangedCallback(this,b,e,d,a);});r(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return R.call(this,a);var b=P.call(this,a);R.call(this,a);null!==b&&c.attributeChangedCallback(this,a,b,null,null);});r(Element.prototype,"removeAttributeNS",function(a,b){if(1!==this.__CE_state)return U.call(this,a,b);var d=S.call(this,a,b);U.call(this,a,b);var e=S.call(this,
32
- a,b);d!==e&&c.attributeChangedCallback(this,b,d,e,a);});ua?b(HTMLElement.prototype,ua):ma?b(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");va?d(HTMLElement.prototype,va):na?d(Element.prototype,na):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(c,Element.prototype,{h:oa,append:pa});Aa(c);}var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new u;xa();ya();Y(X,DocumentFragment.prototype,{h:ka,append:la});za();Ba();document.__CE_hasRegistry=!0;var customElements=new E(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements});}}).call(self);
33
-
34
- // Polyfill document.baseURI
35
- "string"!==typeof document.baseURI&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var a=document.querySelector("base");return a&&a.href?a.href:document.URL}});
36
-
37
- // Polyfill CustomEvent
38
- "function"!==typeof window.CustomEvent&&(window.CustomEvent=function(c,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var b=document.createEvent("CustomEvent");b.initCustomEvent(c,a.bubbles,a.cancelable,a.detail);return b},window.CustomEvent.prototype=window.Event.prototype);
39
-
40
- // Event.composedPath
41
- (function(b,c,d){b.composedPath||(b.composedPath=function(){if(this.path)return this.path;var a=this.target;for(this.path=[];null!==a.parentNode;)this.path.push(a),a=a.parentNode;this.path.push(c,d);return this.path});})(Event.prototype,document,window);
42
-
43
- /*!
44
- Element.closest and Element.matches
45
- https://github.com/jonathantneal/closest
46
- Creative Commons Zero v1.0 Universal
47
- */
48
- (function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return !!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode;}return null});})(window.Element.prototype);
49
-
50
- /*!
51
- Element.getRootNode()
52
- */
53
- (function(c){function d(a){a=b(a);return a&&11===a.nodeType?d(a.host):a}function b(a){return a&&a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)});})(Element.prototype);
54
-
55
- /*!
56
- Element.isConnected()
57
- */
58
- (function(a){"isConnected"in a||Object.defineProperty(a,"isConnected",{configurable:!0,enumerable:!0,get:function(){var a=this.getRootNode({composed:!0});return a&&9===a.nodeType}});})(Element.prototype);
59
-
60
- /*!
61
- Element.remove()
62
- */
63
- (function(b){b.forEach(function(a){a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
64
-
65
- /*!
66
- Element.classList
67
- */
68
- !function(e){'classList'in e||Object.defineProperty(e,"classList",{get:function(){var e=this,t=(e.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class");}return ""===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n();},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n();},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n();},t.item=function(e){return t[e]},t.contains=function(e){return -1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n();},t.value=e.getAttribute("class")||"",t}});}(Element.prototype);
69
-
70
- /*!
71
- DOMTokenList
72
- */
73
- (function(b){try{document.body.classList.add();}catch(e){var c=b.add,d=b.remove;b.add=function(){for(var a=0;a<arguments.length;a++)c.call(this,arguments[a]);};b.remove=function(){for(var a=0;a<arguments.length;a++)d.call(this,arguments[a]);};}})(DOMTokenList.prototype);
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r["throw"](e))}catch(t){i(t)}}function s(e){e.done?n(e.value):o(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(u){a=[6,u];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(exports){"use strict";return{execute:function(){var _this=this;var t=function(){function e(){}e.isNull=function(e){return null===e};e.isEmpty=function(t){return e.isString(t)&&""===t||e.isArray(t)&&t.length<1||e.isObjectLiteral(t)&&Object.keys(t).length<1};e.isUndefined=function(e){return void 0===e};e.isZero=function(e){return 0===e};e.exists=function(t){return!(e.isUndefined(t)||e.isNull(t))};e.isNullOrEmpty=function(t){return!e.exists(t)||e.isEmpty(t)};e.isArray=function(e){return Array.isArray(e)};e.isBool=function(e){return"boolean"==typeof e};e.isTrue=function(t){return e.isBool(t)&&!0===t};e.isFalse=function(t){return e.isBool(t)&&!1===t};e.isDate=function(e){return e instanceof Date};e.isNumber=function(e){return("number"==typeof e||e instanceof Number)&&!isNaN(e)};e.isEven=function(e){return this.isNumber(e)&&!this.isZero(e)&&e%2==0};e.isOdd=function(e){return this.isNumber(e)&&!this.isZero(e)&&!this.isEven(e)};e.isString=function(e){return"string"==typeof e||e instanceof String};e.isFunction=function(e){return e instanceof Function};e.isAsyncFunction=function(t){try{return"AsyncFunction"===Object.getPrototypeOf(t).constructor.name||e.isFunction(t)&&/^async/.test(t.toString())||e.isFunction(t().then)}catch(t){return!1}};e.isPromise=function(e){return e instanceof Promise};e.isObject=function(t){return e.exists(t)&&"object"==typeof t&&!(e.isBool(t)||e.isNumber(t)||e.isDate(t)||e.isArray(t)||e.isString(t)||e.isFunction(t))};e.isObjectLiteral=function(t){return e.isObject(t)&&t.constructor==={}.constructor};e.isTruthy=function(t){return!e.isFalsy(t)};e.isFalsy=function(t){return e.isZero(t)||e.isFalse(t)||e.isNullOrEmpty(t)||isNaN(t)};return e}();function e(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return"".concat.apply("",e)}function r(e){var t=[];for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}return t.reduce((function(e,t,n){return e.replace(new RegExp("\\{".concat(n,"\\}"),"g"),t&&t.toString?t.toString():t)}),e)}function i(e){return s(n(e))}function s(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/^[\s\n]*/,""):e}function n(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/[\s\n]*$/,""):e}var a=Object.freeze({__proto__:null,build:e,chunk:function(e,n){if(n===void 0){n=0}if(!t.isString(e)||Number.isNaN(n)||n<0)return[];if(n<e.length){var r=0;var o=n||e.length,i=[];for(;r<e.length;)i.push(e.slice(r,r+o)),r+=o;return i}return[e]},format:r,trim:i,trimStart:s,trimEnd:n,capitalize:function(e){if(e===void 0){e=""}return(e||"").charAt(0).toUpperCase()+(e||"").slice(1).toLowerCase()},mask:function(e,n,r){if(r===void 0){r="_"}return t.isFunction(n)?n(e):t.isString(n)&&e.split("").reduce((function(e,t){return e.replace(new RegExp(r),t)}),n)},unmask:function(e,n,r){if(r===void 0){r="_"}var o=new RegExp(r);return t.isFunction(n)?n(e):t.isString(n)&&e.length===n.length&&n.split("").every((function(t,n){return o.test(t)||t===e.charAt(n)}))?e.split("").reduce((function(e,t,r){return o.test(t)||!o.test(n.charAt(r))&&n.charAt(r)===t?e:e+t}),""):e}});function h(e,t){try{return e()}catch(n){return t}}var l;h.async=function(e,t){return __awaiter(_this,void 0,void 0,(function(){var n;return __generator(this,(function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);return[4,e()];case 1:return[2,r.sent()];case 2:n=r.sent();return[2,t];case 3:return[2]}}))}))};var d=function(){function e(e,t,n){if(t<1||t>12)throw new Error("Invalid month at Assert.DayPoint");if(n<1||n>y(t,e))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(e,t-1,n):new Date,this._day=this._value.getDay(),this._date=n,this._month=t,this._year=e}Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{get:function(){return this._day},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"date",{get:function(){return this._date},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{get:function(){return this._month},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){return this._year},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"shortYear",{get:function(){var e=this._year.toString();return parseInt(e.substr(e.length-2))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekday",{get:function(){var e=this._day;return e>0&&e<6},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{get:function(){return!this.isWeekday},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isLeapYear",{get:function(){return f(this._year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"nextDay",{get:function(){return p(this,1,0,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"prevDay",{get:function(){return p(this,-1,0,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"nextMonth",{get:function(){return p(this,0,1,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"prevMonth",{get:function(){return p(this,0,-1,0)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"nextYear",{get:function(){return p(this,0,0,1)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"prevYear",{get:function(){return p(this,0,0,-1)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"firstDayOfMonth",{get:function(){return new e(this._year,this._month,1)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"lastDayOfMonth",{get:function(){return new e(this._year,this._month,y(this._month,this._year))},enumerable:false,configurable:true});e.prototype.add=function(e,t,n){function r(e,t,n){var r=e,o=t;for(;o--;)r=r[n];return r}var o=Math.abs,i=o(e),a=o(n),u=o(t),s=n<0?"prevDay":"nextDay",c=t<0?"prevMonth":"nextMonth";return r(r(r(this,i,e<0?"prevYear":"nextYear"),u,c),a,s)};e.prototype.isBefore=function(e){return!(this.isAfter(e)||this.equals(e))};e.prototype.isAfter=function(e){var t=this._year,n=e.year,r=this._month,o=e.month;return t>n||t===n&&r>o||t===n&&r===o&&this._date>e.date};e.prototype.equals=function(e){return this._year===e.year&&this._month===e.month&&this._date===e.date};e.prototype.toString=function(e){if(e===void 0){e="mm/dd/yyyy"}var t=/y{3,}/i.test(e)?this._year:this.shortYear,n=this._month,o=this._date,i=/m{2}/i.test(e)&&n<10?"0{1}":"{1}",a=/d{2}/i.test(e)&&o<10?"0{2}":"{2}";return r(e.replace(/y+/gi,"{0}").replace(/m+/gi,i).replace(/d+/gi,a),t,n,o)};e.prototype.toDate=function(){return this._value};e.prototype.toJson=function(){return this._value.toJSON()};e.canParse=function(n){return t.isString(n)||t.isNumber(n)||t.isDate(n)?!isNaN(new Date(n).valueOf()):n instanceof e};e.parse=function(n){if(n instanceof e)return n;var o=t.isString(n)?i(n).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):n;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(o)){var a=o.split("-"),u=a[0];a.push(u),a.shift(),o=a.join("/")}var s=new Date(o);if(!t.exists(o)||Number.isNaN(s.valueOf()))throw new Error(r("Cannot parse value= {0}",o));return new e(s.getFullYear(),s.getMonth()+1,s.getDate())};e.tryParse=function(t){return h((function(){return e.parse(t)}),null)};e.assumeNow=function(t){l=e.parse(t)};Object.defineProperty(e,"today",{get:function(){return l||e.parse(new Date)},enumerable:false,configurable:true});return e}();function y(e,n){return 2===e?f(n)?29:28:e<8&&t.isEven(e)||e>7&&t.isOdd(e)?30:31}function f(t){var n=t.toString().split(/\B/);return parseFloat(e(n[n.length-2],n[n.length-1]))%4==0}function p(e,t,n,r){var o=e.month,i=e.year,a=e.date,u=n,s=r;var c=a+t,l=o+u,f=i+s;if(a+t>y(o,i)&&(c=1,l=o+u+1),a+t<1){var p=e.prevMonth;c=y(p.month,p.year),l=o+u-1}return l>12&&(l=1,f=i+s+1),l<1&&(l=12,f=i+s-1),new d(f,l,c)}function m(e,t){if(t===void 0){t=0}var n=Math.pow(10,-t);return Math.round(parseFloat((e*n).toFixed(Math.abs(t))))/n}function g(e,t){if(t===void 0){t=0}return m(e+5*Math.pow(10,t-1),t)}function _(e,t){if(t===void 0){t=0}return 0===e?0:m(e-5*Math.pow(10,t-1),t)}function w(e,t){if(t===void 0){t=0}return e<0?g(e,t):_(e,t)}function x(e){var t=function(e,n,r){if(n===void 0){n=0}if(r===void 0){r=1}return 0<e?t(--e,r,n+r):n};return t(e)}function v(e){var t=0,n=1,r=0;for(;e>1;)r=t,t=n,n+=r,e--;return e<1?t:n}function b(e,t){if(t===void 0){t=0}var n=parseInt(e);return Number.isNaN(n)?t:n}var N=Object.freeze({__proto__:null,random:function(e,t){if(e===void 0){e=0}if(t===void 0){t=1}return Math.random()*(t-e)+e},round:m,roundUp:g,roundDown:_,roundTowardZero:w,gcd:function e(t,n){return 0===n?Math.abs(t):e(n,t%n)},fib:x,fib2:v,fibArray:function(e){return Array(e).fill(0).map((function(){return x(--e)})).reverse()},fib2Array:function(e){return Array(e).fill(0).map((function(){return v(--e)})).reverse()},tryParseInt:b,tryParseFloat:function(e,t){if(t===void 0){t=0}var n=parseFloat(e);return Number.isNaN(n)?t:n}});var $=function(){function e(e,n){if(e===void 0){e=0}if(n===void 0){n=0}if(!t.isNumber(e)||!t.isNumber(n))throw new Error("Coord requires numeric x and y values");this._x=e,this._y=n}Object.defineProperty(e.prototype,"x",{get:function(){return this._x},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"y",{get:function(){return this._y},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"value",{get:function(){return{x:this.x,y:this.y}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"half",{get:function(){return this.divide(new e(2,2))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"abs",{get:function(){return new e(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});e.prototype.equals=function(e){return this.x===e.x&&this.y===e.y};e.prototype.add=function(t){return new e(this.x+t.x,this.y+t.y)};e.prototype.subtract=function(t){return new e(this.x-t.x,this.y-t.y)};e.prototype.multiply=function(t){return new e(this.x*t.x,this.y*t.y)};e.prototype.divide=function(t){return new e(this.x/t.x,this.y/t.y)};e.prototype.round=function(t){if(t===void 0){t=0}return new e(m(this.x,t),m(this.y,t))};e.prototype.toString=function(){return"(".concat(this.x,",").concat(this.y,")")};e.canParse=function(n){return t.isArray(n)?!(Number.isNaN(n[0])||Number.isNaN(n[1])):t.isObjectLiteral(n)&&"x"in n&&"y"in n?!(Number.isNaN(n.x)||Number.isNaN(n.y)):n instanceof e};e.parse=function(n){return t.exists(n)?n instanceof e?n:t.isArray(n)?new e(n[0],n[1]):t.isObjectLiteral(n)&&t.exists(n.x)&&t.exists(n.y)?new e(n.x,n.y):null:null};e.tryParse=function(t){return h((function(){return e.parse(t)}),null)};return e}();var F=function(e){__extends(t,e);function t(t,n){if(t===void 0){t=0}if(n===void 0){n=0}var r=this;r=e.call(this,t,n)||this,r._lengthSquared=Math.pow(t,2)+Math.pow(n,2),r._magnitude=Math.sqrt(r._lengthSquared),r._unitNormalX=0===t&&0===n?0:t/r._magnitude,r._unitNormalY=0===t&&0===n?0:n/r._magnitude;return r}Object.defineProperty(t.prototype,"magnitude",{get:function(){return this._magnitude},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isZero",{get:function(){return 0===this.x&&0===this.y},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"normal",{get:function(){return new t(this._unitNormalX,this._unitNormalY)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"invert",{get:function(){return new t(-this.x,-this.y)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"norm",{get:function(){return new t(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"perpendicular",{get:function(){return new t(-this.y,this.x)},enumerable:false,configurable:true});t.prototype.equals=function(e){return e instanceof t&&this.x===e.x&&this.y===e.y};t.prototype.add=function(e){return e instanceof t?new t(this.x+e.x,this.y+e.y):null};t.prototype.dot=function(e){return e instanceof t?this.x*e.x+this.y*e.y:null};t.prototype.perpendicularAtTo=function(e){if(!(e instanceof t))return null;var n=e.add(this.projectionOfOnto(e).invert);return new t(n.x,n.y)};t.prototype.projectionOfOnto=function(e){if(!(e instanceof t))return null;var n=e.normal.scale(this.dot(e.normal));return new t(n.x,n.y)};t.prototype.scale=function(e){return new t(this.x*e,this.y*e)};t.prototype.unitNormalDot=function(e){return e instanceof t?this.normal.x*e.normal.x+this.normal.y*e.normal.y:null};t.prototype.reflect=function(e){if(!(e instanceof t))return null;if(e.isZero)return this;var n=e.normal;return this.add(n.scale(2*n.dot(this)).invert)};t.prototype.round=function(e){if(e===void 0){e=0}return new t(m(this.x,e),m(this.y,e))};return t}($);var O=function(e){__extends(t,e);function t(t,n){return e.call(this,t,n)||this}t.prototype.isAbove=function(e){return this.y<e.y};t.prototype.isBelow=function(e){return this.y>e.y};t.prototype.isLeftOf=function(e){return this.x<e.x};t.prototype.isRightOf=function(e){return this.x>e.x};t.prototype.distanceFrom=function(e){return new F(this.x-e.x,this.y-e.y)};t.prototype.distanceTo=function(e){return this.distanceFrom(e).invert};t.canParse=function(e){return e instanceof t||$.canParse(e)};t.parse=function(e){if(e instanceof t)return e;var n=$.parse(e);return new t(n.x,n.y)};t.tryParse=function(e){return h((function(){return t.parse(e)}),null)};return t}($);function k(e){var t=isNaN(parseInt(e))||e<0||e>24?24:e,n=Math.random().toString().substring(2),r=Math.random().toString().substring(2);return n.concat(r).substring(0,t)}function Z(){return function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}()}var R=Object.freeze({__proto__:null,uid:k,uuid:Z,suid:function(){return Symbol(k())},suuid:function(){return Symbol(Z())}});Object.freeze({__proto__:null,pattern:function(e){return e.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\")},escape:function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});var Cookie=function(){function e(){}e.serialize=function(e,n){if(n===void 0){n=defaultParams}try{if(t.isUndefined(e))throw new Error;var r=Object.assign(defaultParams,n),o=r.name,i=r.expires,u=r.path,s=r.domain,c=r.secure,l=kvPair(o,e),f=d.canParse(i)?kvPair("; expires",d.parse(i).toDate().toGMTString()):"",p=u?kvPair("; path",u.split("/").map((function(e){return encodeURIComponent(e)})).join("/")):"",h=s?kvPair("; domain",encodeURIComponent(s)):"";return l+f+p+h+(c?"; secure":"")}catch(t){throw new Error(a.format("Cannot serialize {0}",e))}};e.deserialize=function(e){try{return read$1(e)[1]}catch(t){throw new Error(a.format("Cannot deserialize {0}",e))}};e.read=function(e){try{var n=read$1(e),r=n[0],o=n[1];return{name:r,value:o}}catch(t){throw new Error(a.format("Cannot read {0}",e))}};return e}();var defaultParams={name:R.uid(),expires:d.today.nextYear.toDate(),path:"/",domain:null,secure:!1},kvPair=function(e,t){return"".concat(e,"=").concat(t)},read$1=function(e){return/;/.test(e)?e.substring(0,e.search(";")).split("="):e.split("=")};var Device=function(){function e(){}Object.defineProperty(e,"orientation",{get:function(){var t=window.screen,n=(t.orientation||{}).type||t.mozOrientation||t.msOrientation,r=window.orientation;return n===e.landscapePrimary||90===r?e.landscapePrimary:n===e.landscapeSecondary||-90===r?e.landscapeSecondary:n===e.portraitPrimary||0===r?e.portraitPrimary:n===e.portraitSecondary||180===r?e.portraitSecondary:void 0},enumerable:false,configurable:true});Object.defineProperty(e,"landscapePrimary",{get:function(){return"landscape-primary"},enumerable:false,configurable:true});Object.defineProperty(e,"landscapeSecondary",{get:function(){return"landscape-secondary"},enumerable:false,configurable:true});Object.defineProperty(e,"portraitPrimary",{get:function(){return"portrait-primary"},enumerable:false,configurable:true});Object.defineProperty(e,"portraitSecondary",{get:function(){return"portrait-secondary"},enumerable:false,configurable:true});Object.defineProperty(e,"isMobile",{get:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(window.navigator.userAgent)},enumerable:false,configurable:true});return e}();exports("a",Device);var onPreventScroll=new Set,onResumeScroll=new Set;var scroll,lastPageYOffset,lastPageXOffset,scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1;var Document=function(){function n(){}Object.defineProperty(n,"scrollbarWidth",{get:function(){return window.innerWidth-document.documentElement.clientWidth},enumerable:false,configurable:true});Object.defineProperty(n,"isScrollPrevented",{get:function(){return t.exists(n.scrollY)},enumerable:false,configurable:true});n.preventScroll=function(){try{onPreventScroll.forEach((function(e){return e()}))}catch(e){}n.position=document.body.style.position,n.offsetY=document.body.style.top,n.offsetX=document.body.style.left,n.width=document.body.style.width,n.height=document.body.style.height,n.documentWidth=document.documentElement.style.width,n.documentWidth=document.documentElement.style.width,n.documentHeight=document.documentElement.style.height,n.overflowY=document.documentElement.style.overflowY,n.scrollX=window.scrollX||window.pageXOffset,n.scrollY=window.scrollY||window.pageYOffset;var e=n.scrollbarWidth;document.body.style.position="fixed",document.body.style.left="-".concat(n.scrollX,"px"),document.body.style.top="calc(-".concat(n.scrollY,"px - ").concat(window.getComputedStyle(document.body)["padding-top"]," - ").concat(window.getComputedStyle(document.body)["margin-top"],")"),document.body.style.width="calc(100vw - ".concat(e,"px - ").concat(window.getComputedStyle(document.body)["padding-left"]," - ").concat(window.getComputedStyle(document.body)["padding-right"]," - ").concat(window.getComputedStyle(document.body)["margin-left"]," - ").concat(window.getComputedStyle(document.body)["margin-right"],")"),document.documentElement.style.width="100wh",document.documentElement.style.height="100vh",document.documentElement.style.overflowY=e&&"scroll"};n.resumeScroll=function(){try{onResumeScroll.forEach((function(e){return e()}))}catch(e){}document.body.style.position=n.position,document.body.style.top=n.offsetY,document.body.style.left=n.offsetX,document.body.style.width=n.width,document.body.style.height=n.height,document.documentElement.style.width=n.documentWidth,document.documentElement.style.height=n.documentHeight,document.documentElement.style.overflowY=n.overflowY,window.scrollTo(n.scrollX,n.scrollY),n.position=null,n.offsetY=null,n.offsetX=null,n.width=null,n.height=null,n.documentWidth=null,n.documentHeight=null,n.overflowY=null,n.scrollX=null,n.scrollY=null};n.onPreventScroll=function(e){onPreventScroll.add(e)};n.onResumeScroll=function(e){onResumeScroll.add(e)};Object.defineProperty(n,"scroll",{get:function(){return scroll||(scroll=new Scroll,lastPageYOffset=window.pageYOffset,lastPageXOffset=window.pageXOffset,scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1,window.addEventListener("unload",(function(){return scroll.unload()}))),scroll},enumerable:false,configurable:true});return n}();exports("D",Document);var updateScrollValue=function(){var e=window.pageYOffset,t=window.pageXOffset;scrollIsDown=e>lastPageYOffset,scrollIsUp=e<lastPageYOffset,scrollIsRight=t>lastPageXOffset,scrollIsLeft=t<lastPageXOffset,lastPageYOffset=e||window.pageYOffset,lastPageXOffset=t||window.pageXOffset};var Scroll=function(){function e(){document.addEventListener("scroll",updateScrollValue,{passive:!0})}Object.defineProperty(e.prototype,"down",{get:function(){return scrollIsDown},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"up",{get:function(){return scrollIsUp},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"left",{get:function(){return scrollIsLeft},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"right",{get:function(){return scrollIsRight},enumerable:false,configurable:true});e.prototype.unload=function(){document.removeEventListener("scroll",updateScrollValue),scrollIsDown=!1,scrollIsUp=!1,scrollIsLeft=!1,scrollIsRight=!1,lastPageYOffset=window.pageYOffset,lastPageXOffset=window.pageXOffset,scroll=null};return e}();function encodeBase64(e,n){if(n===void 0){n=!1}if(!t.isString(e))throw new Error("Cannot encode non-string values.");var r=window.btoa(e);return n?r.replace(/=/g,""):r}function decodeBase64(e){if(!t.isString(e))throw new Error("Cannot encode non-string values.");return window.atob(e)}function encodeUtf8(e){if(!t.isString(e))throw new Error("Cannot encode non-string values.");return decodeURIComponent(encodeURIComponent(e))}function decodeUtf8(e){if(!t.isString(e))throw new Error("Cannot decode non-string values.");return decodeURIComponent(encodeURIComponent(e))}var Json=function(){function Json(){}Json.serialize=function(e){if(t.isFunction(e))return;if(!t.exists(e))return e;if(!t.isArray(e)&&!t.isObject(e))return e.toString();var n=t.isArray(e)?"[{0}]":"{{0}}",r=[];return Object.keys(e).forEach((function(n){var o=e[n];if(t.isUndefined(o))return;var i=t.isNumber(o)?o:t.isDate(o)?'"'.concat(d.parse(o).toJson(),'"'):t.isString(o)?'"'.concat(serializeString(o),'"'):Json.serialize(o);r[r.length]=(t.isObject(e)&&!t.isArray(e)?'"'.concat(n,'":'):"")+i})),a.format(n,r)};Json.deserialize=function(e){return/function|(=$)/i.test(e)?e:Json.deserialize_unsafe(e)};Json.deserialize_unsafe=function(value){try{var result_1=t.isString(value)&&!/^0/.test(value)?eval("(".concat(deserializeString(value),")")):value;return t.exists(result_1)?t.isNullOrEmpty(result_1.tagName)&&(t.isObject(result_1)||t.isArray(result_1))?(Object.keys(result_1).forEach((function(e){var n=result_1[e];(t.isObject(n)||t.isArray(n))&&(result_1[e]=Json.deserialize(n)),/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(n)&&d.canParse(n)&&(result_1[e]=d.parse(n).toDate())})),result_1):/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(result_1)?d.parse(result_1).toDate():result_1:result_1}catch(e){throw new Error(a.format("Cannot deserialize {0}",value))}};Json.encode=function(e,t){if(t===void 0){t=!1}try{return encodeBase64(Json.serialize(e),t)}catch(t){throw new Error(a.format("Cannot encode {0}",e))}};Json.decode=function(e){try{return Json.deserialize(decodeBase64(e))}catch(t){throw new Error(a.format("Cannot decode {0}",e))}};return Json}();function serializeString(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\//g,"/").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}function deserializeString(e){return e.replace(/\\\//g,"/").replace(/\\\\f/g,"\\f").replace(/\\\\n/g,"\\n").replace(/\\\\r/g,"\\r").replace(/\\\\t/g,"\\t")}var QueryString=function(){function e(){}e.serialize=function(e){try{var n="";return Object.keys(e).forEach((function(r){var o=e[r],i=t.isDate(o)?d.parse(o).toJson():o;n+=a.format("&{0}={1}",encodeURIComponent(r),encodeURIComponent(Json.serialize(i)))})),n.replace(/^&/,"")}catch(t){throw new Error(a.format("Cannot serialize {0}",e))}};e.deserialize=function(e){if(/\??[^\s"'<>]+=[^\s"'<>]+/.test(e)){var t=e.replace(/.*\?/,"").split("&"),n={};return t.forEach((function(e){var t=e.split("="),r=t[0],o=t[1],i=/^null$|^true$|^false$|^\d+(\.\d+?)?$|^\[.*]$|^{.*}$/.test(o)?o:'"'.concat(o,'"');n[decodeURIComponent(r)]=Json.deserialize(decodeURIComponent(i))})),n}};return e}();var worker=function(e){var t=e.toString(),n=t.indexOf("{")+1,r=t.lastIndexOf("}"),o=/(=>)/.test(t)&&!/{/gm.test(t)?"".concat(t.replace("=>","=> {"),"}"):t.substring(n,r),i=new self.Blob([o],{type:"text/javascript"});return new Worker(URL.createObjectURL(i))},connection=function(){var e=self.indexedDB||self.mozIndexedDB||self.webkitIndexedDB||self.msIndexedDB;function t(t){if(!/^[A-z][A-z0-9]*$/.test(t))throw new Error("Invalid collection name. Must be alphanumeric and begin with an alpha character");return new Promise((function(n,r){try{var o=e.open(t);o.onerror=function(){r(new Error("Error opening IndexedDB."))},o.onupgradeneeded=function(e){e.target.result.createObjectStore(t,{autoIncrement:!1})},o.onsuccess=function(){n(o.result)}}catch(e){r(e)}}))}onmessage=function(e){var n=e.data[0],r=e.data[1],o=e.data[2];try{"read"===n&&function(e){return t(e).then((function(t){return new Promise((function(n,r){var o=t.transaction([e],"readonly").objectStore(e).get(1);o.onsuccess=function(e){t.close(),n(e.target.result)},o.onerror=function(){t.close(),r(o.error)}}))}))}(r).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])})),"write"===n&&function(e,n){return t(e).then((function(t){return new Promise((function(r,o){var i=t.transaction([e],"readwrite").objectStore(e).put(n,1);i.onsuccess=function(e){t.close(),r(e.target.result)},i.onerror=function(){t.close(),o(i.error)}}))}))}(r,o).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])})),"remove"===n&&function(e){return t(e).then((function(t){return new Promise((function(n,r){var o=t.transaction([e],"readwrite").objectStore(e).delete(1);o.onsuccess=function(e){t.close(),n(e.target.result)},o.onerror=function(){t.close(),r(o.error)}}))}))}(r).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])})),"drop"===n&&function(e){return t(e).then((function(t){return t.onversionchange=function(){return t.close()},new Promise((function(t,n){var r=indexedDB.deleteDatabase(e);r.onsuccess=function(){t(!0)},r.onerror=function(){n(r.error)},r.onblocked=function(){n(r.error)}}))}))}(r).then((function(e){return postMessage([n,r,e])})).catch((function(e){return postMessage(["error",e.message])}))}catch(e){postMessage(["error",e.message])}}};var validCollection=/^[A-z]+$/;var connectionThread;var Store=function(){function e(){}Object.defineProperty(e,"connected",{get:function(){return t.exists(connectionThread)},enumerable:false,configurable:true});e.connect=function(){try{return e.connected||(connectionThread=worker(connection)),e}catch(t){throw new Error("Store could not connect.")}};e.disconnect=function(){try{if(e.connected)return connectionThread.terminate(),connectionThread=null,e}catch(t){throw new Error("Store could not be disconnected.")}};e.read=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,r){if(validCollection.test(e))if(t.exists(connectionThread)){var o=function(t){var i=t.data,a=i[0],u=i[1],s=i[2];"error"===a&&u===e&&(r(new Error(s)),connectionThread.removeEventListener("message",o)),"read"===a&&u===e&&(n(s),connectionThread.removeEventListener("message",o))};connectionThread.addEventListener("message",o),connectionThread.postMessage(["read",e])}else r(new Error("Cannot read disconnected Store."));else r(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.write=function(e,n){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){return[2,new Promise((function(r,o){if(validCollection.test(e))if(t.exists(connectionThread)){var i=function(t){var n=t.data,a=n[0],u=n[1],s=n[2];"error"===a&&u===e&&(o(new Error(s)),connectionThread.removeEventListener("message",i)),"write"===a&&u===e&&(r(s),connectionThread.removeEventListener("message",i))};connectionThread.addEventListener("message",i),connectionThread.postMessage(["write",e,n])}else o(Error("Cannot write disconnected Store."));else o(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.remove=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,r){if(validCollection.test(e))if(t.exists(connectionThread)){var o=function(t){var i=t.data,a=i[0],u=i[1],s=i[2];"error"===a&&u===e&&(r(new Error(s)),connectionThread.removeEventListener("message",o)),"remove"===a&&u===e&&(n(s),connectionThread.removeEventListener("message",o))};connectionThread.addEventListener("message",o),connectionThread.postMessage(["remove",e])}else r(Error("Cannot write disconnected Store."));else r(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.delete=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,new Promise((function(n,r){if(!t.isNullOrEmpty(e)&&validCollection.test(e))if(t.exists(connectionThread)){var o=function(t){var i=t.data,a=i[0],u=i[1],s=i[2];"error"===a&&u===e&&(r(new Error(s)),connectionThread.removeEventListener("message",o)),"drop"===a&&u===e&&(n(s),connectionThread.removeEventListener("message",o))};connectionThread.addEventListener("message",o),connectionThread.postMessage(["drop",e])}else r(Error("Cannot drop disconnected Store."));else r(new Error("Invalid collection name must contain only alpha characters."))}))]}))}))};e.save=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:t.trys.push([0,2,,3]);return[4,navigator.storage.persist()];case 1:return[2,t.sent()];case 2:e=t.sent();return[2,!1];case 3:return[2]}}))}))};e.estimate=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,r,o,i,a;return __generator(this,(function(u){switch(u.label){case 0:u.trys.push([0,2,,3]);e=navigator.storage||navigator.webkitPersistentStorage;return[4,e.estimate()];case 1:t=u.sent()||{},n=t.quota,r=n===void 0?NaN:n,o=t.usage,i=o===void 0?NaN:o;return[2,{quota:r,usage:i,free:"".concat(N.roundUp((r-i)/r*100,-4),"%"),used:"".concat(N.roundUp(i/r*100,-4),"%")}];case 2:a=u.sent();return[2,{}];case 3:return[2]}}))}))};e.saved=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:t.trys.push([0,2,,3]);return[4,navigator.storage.persisted()];case 1:return[2,t.sent()];case 2:e=t.sent();return[2,!1];case 3:return[2]}}))}))};return e}();var Dto=function(){function e(e,n){if(e===void 0){e={}}if(!t.isArray(e)&&!t.isObject(e))throw new TypeError("Dto value must be Array or object literal");this._value=e,this._name=n}Object.defineProperty(e.prototype,"value",{get:function(){return t.isArray(this._value)?__spreadArray([],this._value,true):__assign({},this._value)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:false,configurable:true});e.prototype.read=function(e){return t.exists(e)?!t.isArray(this._value)||t.isNumber(e)?this._value[e]:void 0:this.value};e.prototype.remove=function(e){return t.isString(e)&&t.exists(e)&&delete this._value[e],t.isFunction(e)&&this._value.splice(this._value.findIndex(e),1),this};e.prototype.write=function(e,n){return t.isNullOrEmpty(e)||(t.isArray(this._value)?(t.isUndefined(n)&&this._value.push(e),t.isNumber(e)&&(this._value[e]=n)):this._value[e]=n),this};e.prototype.update=function(e){var n=Object.assign(this.value,e);return this._value=t.isArray(this._value)?Object.values(n):n,this};e.prototype.clear=function(){return this._value=t.isArray(this._value)?[]:{},this};e.prototype.save=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:Store.connect();return[4,Store.write(this.name,this.encode(!0,!0))];case 1:e.sent();return[4,Store.save()];case 2:return[2,e.sent()]}}))}))};e.prototype.saveAs=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.name=e,Store.connect();return[4,Store.delete(this.name)];case 1:return[2,(t.sent(),this.save())]}}))}))};e.prototype.delete=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:Store.connect();return[4,Store.delete(this.name)];case 1:return[2,(e.sent(),this)]}}))}))};e.prototype.encode=function(e,t){if(e===void 0){e=!1}if(t===void 0){t=!1}var n=Json.serialize(this._value);return encodeBase64(t?encodeURIComponent(n):n,e)};e.decode=function(t,n){var r=decodeBase64(t),o=decodeURIComponent(r);return new e(Json.deserialize(o),n)};e.prototype.toFormData=function(){var e=this.value,t=new window.FormData;return Object.keys(e).forEach((function(n){return t.append(n,e[n])})),t};e.prototype.toJson=function(){return Json.serialize(this._value)};e.prototype.toQueryString=function(){return QueryString.serialize(this._value)};e.parseFormData=function(t){var n={};for(var r=0,o=t.entries();r<o.length;r++){var i=o[r],a=i[0],u=i[1];n[a]=u}return new e(n)};e.parseJson=function(t){return new e(Json.deserialize(t))};e.parseJwt=function(n){try{var r=n.split("."),o=r[1];return new e(JSON.parse(window.atob(o)))}catch(t){throw new SyntaxError("Cannot parseJwt: ".concat(n))}};e.parseQueryString=function(t){return new e(QueryString.deserialize(t))};e.load=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,(Store.connect(),Store.read(t).then((function(r){try{return e.decode(r,t)}catch(n){return}})).catch((function(){})))]}))}))};return e}();var Event=function(){function e(){}e.mute=function(e){return!!t.exists(e)&&(t.isFunction(e.preventDefault)&&e.preventDefault(),t.isFunction(e.stopPropagation)&&e.stopPropagation(),t.isFunction(e.stopImmediatePropagation)&&e.stopImmediatePropagation(),t.exists(e.cancelBubble)&&(e.cancelBubble=!0),!1)};return e}();exports("E",Event);var readFieldNames=function(e){var t=e.getAttribute("id"),n=__spreadArray([],e.querySelectorAll("[name]"),true).map((function(e){return e.name})),r=t?__spreadArray([],document.querySelectorAll('[form="'.concat(t,'"]')),true).map((function(e){return e.name})):[];return __spreadArray(__spreadArray([],n,true),r,true)},readData=function(e){return new window.FormData(e)},read=function(e){var n={};try{readData(e).forEach((function(e,r){var o=n[r];t.isArray(o)?n[r].push(e):t.exists(o)?n[r]=[n[r],e]:n[r]=e}))}catch(t){__spreadArray([],e.elements,true).forEach((function(e){var t=e.name,r=e.type,o=e.value,i=e.files;if("file"===r)n[t]=i[0];else if("checkbox"===r||"radio"===r)e.checked&&(n[t]=o);else if(e.multiple){var a=[];e.querySelectorAll("option").forEach((function(e){return e.selected&&a.push(e.value)})),n[t]=a.length<2?a[0]:a}else n[t]=o}))}return n},readJson=function(e){return JSON.stringify(read(e))},write=function(e,n){__spreadArray([],e.elements,true).forEach((function(e){/^select$/i.test(e.nodeName)?t.isArray(n[e.name])?__spreadArray([],e.options,true).forEach((function(t){t.selected=n[e.name].indexOf(t.value)>=0})):t.exists(n[e.name])&&(e.value=n[e.name]):t.exists(n[e.name])&&("checkbox"===e.type||"radio"===e.type?e.checked=n[e.name]===e.value:e.value=n[e.name])}))};var index=exports("i",{readFieldNames:readFieldNames,read:read,readData:readData,readJson:readJson,write:write});var Key=function(){function e(e,t,n){if(n===void 0){n={}}this.key=e,this.msKey=t||e,this.altKey=n.altKey||!1,this.ctrlKey=n.ctrlKey||!1,this.metaKey=n.metaKey||!1,this.shiftKey=n.shiftKey||!1}Object.defineProperty(e.prototype,"alt",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.ctrlKey,i=t.metaKey,a=t.shiftKey;return new e(n,r,{altKey:!0,ctrlKey:o,metaKey:i,shiftKey:a})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ctrl",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.altKey,i=t.metaKey,a=t.shiftKey;return new e(n,r,{altKey:o,ctrlKey:!0,metaKey:i,shiftKey:a})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"meta",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.altKey,i=t.ctrlKey,a=t.shiftKey;return new e(n,r,{altKey:o,ctrlKey:i,metaKey:!0,shiftKey:a})},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"shift",{get:function(){var t=this,n=t.key,r=t.msKey,o=t.altKey,i=t.ctrlKey,a=t.metaKey;return new e(n,r,{altKey:o,ctrlKey:i,metaKey:a,shiftKey:!0})},enumerable:false,configurable:true});e.prototype.equals=function(t){return t instanceof e&&this.altKey===t.altKey&&this.ctrlKey===t.ctrlKey&&this.metaKey===t.metaKey&&this.shiftKey===t.shiftKey&&(this.key===t.key||this.msKey===t.msKey)};e.prototype.didFire=function(t){var n=t.code,r=t.key,o=t.altKey,i=t.ctrlKey,a=t.metaKey,u=t.shiftKey,s="Dead"===r?n:r;return t&&("ANY"===this.key||this.equals(new e(s,s,{altKey:o,ctrlKey:i,metaKey:a,shiftKey:u})))};Object.defineProperty(e,"press",{get:function(){return"keypress"},enumerable:false,configurable:true});Object.defineProperty(e,"down",{get:function(){return"keydown"},enumerable:false,configurable:true});Object.defineProperty(e,"up",{get:function(){return"keyup"},enumerable:false,configurable:true});Object.defineProperty(e,"any",{get:function(){return new e("ANY")},enumerable:false,configurable:true});Object.defineProperty(e,"esc",{get:function(){return new e("Escape","Esc")},enumerable:false,configurable:true});Object.defineProperty(e,"enter",{get:function(){return new e("Enter")},enumerable:false,configurable:true});Object.defineProperty(e,"space",{get:function(){return new e(" ","Spacebar")},enumerable:false,configurable:true});Object.defineProperty(e,"tab",{get:function(){return new e("Tab")},enumerable:false,configurable:true});Object.defineProperty(e,"left",{get:function(){return new e("ArrowLeft","Left")},enumerable:false,configurable:true});Object.defineProperty(e,"right",{get:function(){return new e("ArrowRight","Right")},enumerable:false,configurable:true});return e}();exports("K",Key);var Keyboard=function(){function e(){}e.on=function(e,t,n,r){var o=function(e){return t.didFire(e)?n(e,t):null};return window.addEventListener(e,o,r),{unsubscribe:function(){window.removeEventListener(e,o)}}};e.onKeyPress=function(t,n,r){return e.on(Key.press,t,n,r)};e.onKeyDown=function(t,n,r){return e.on(Key.down,t,n,r)};e.onKeyUp=function(t,n,r){return e.on(Key.up,t,n,r)};return e}();var Swipe=function(){function e(e,t){if(t===void 0){t=0}this.didTouchStart=this.didTouchStart.bind(this),this.didTouchEnd=this.didTouchEnd.bind(this),this.didTouchMove=this.didTouchMove.bind(this),e.addEventListener("touchstart",this.didTouchStart,{capture:!1,passive:!0}),e.addEventListener("touchend",this.didTouchEnd,{capture:!1,passive:!0}),e.addEventListener("touchmove",this.didTouchMove,{capture:!1,passive:!0}),this.element=e,this.tolerance=t,this.didSwipeLeft=function(){},this.didSwipeRight=function(){},this.didMove=function(){}}e.prototype.onLeft=function(e){return this.didSwipeLeft=e,this};e.prototype.onRight=function(e){return this.didSwipeRight=e,this};e.prototype.onMove=function(e){return this.didMove=e,this};e.prototype.destroy=function(){var e=this.element;return e.removeEventListener("touchstart",this.didTouchStart,{capture:!1}),e.removeEventListener("touchend",this.didTouchEnd,{capture:!1}),e.removeEventListener("touchmove",this.didTouchMove,{capture:!1}),this};e.prototype.didTouchStart=function(e){var t=e.touches[0];this.touchStartPoint=new O(t.pageX,t.pageY)};e.prototype.didTouchEnd=function(e){var t=e.changedTouches[0],n=this.touchStartPoint,r=new O(t.pageX,t.pageY);r.isLeftOf(n)&&Math.abs(r.distanceFrom(n).x)>this.tolerance&&this.didSwipeLeft(e),r.isRightOf(n)&&Math.abs(r.distanceFrom(n).x)>this.tolerance&&this.didSwipeRight(e)};e.prototype.didTouchMove=function(e){var t=e.touches[0],n=this.touchStartPoint,r=new O(t.pageX,t.pageY);this.didMove({distance:r.distanceFrom(n),up:r.isAbove(n),down:r.isBelow(n),left:r.isLeftOf(n),right:r.isRightOf(n)})};return e}();exports("S",Swipe)}}}));
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):a(e.value).then(i,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(s){i=[6,s];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","ku4web-components");var a=e("B",{allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,cssVarShim:false,devTools:false,disconnectedCallback:true,dynamicImportShim:false,element:false,event:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:true,isTesting:true,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:true,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,safari10:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,shadowDomShim:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:false,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true});var o={};var i;var s;var l;var f;var c=0;var u=false;var d=false;var $=false;var v=false;var h=null;var m=0;var p=false;var g=e("w",typeof window!=="undefined"?window:{});var y=e("C",a.cssVarShim?g.CSS:null);var b=e("d",g.document||{head:{}});var w=e("H",g.HTMLElement||function(){function e(){}return e}());var S=e("p",{$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}});var N=function(e){Object.assign(S,e)};var R=a.shadowDomShim&&a.shadowDom?function(){return(b.head.attachShadow+"").indexOf("[native")>-1}():true;var C=function(){var e=false;try{b.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(t){}return e}();var L=e("a",(function(e){return Promise.resolve(e)}));var x=a.constructableCSS?function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}():false;var T={};var k=function(e,t,n,r){if(a.hostListener&&n){if(a.hostListenerTargetParent){if(r){n=n.filter((function(e){var t=e[0];return t&32}))}else{n=n.filter((function(e){var t=e[0];return!(t&32)}))}}n.map((function(n){var r=n[0],o=n[1],i=n[2];var s=a.hostListenerTarget?D(e,r):e;var l=_(t,i);var f=A(r);S.ael(s,o,l,f);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return S.rel(s,o,l,f)}))}))}};var _=function(e,t){return function(n){try{if(a.lazyLoad){if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}else{e.$hostElement$[t](n)}}catch(r){zt(r)}}};var D=function(e,t){if(a.hostListenerTargetDocument&&t&4)return b;if(a.hostListenerTargetWindow&&t&8)return g;if(a.hostListenerTargetBody&&t&16)return b.body;if(a.hostListenerTargetParent&&t&32)return e.parentElement;return e};var A=function(e){return C?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var E="r";var O="o";var P="s";var I="t";var z="s-id";var j="sty-id";var M="c-id";var B="{visibility:hidden}[hydrated]{visibility:inherit}";var U="http://www.w3.org/1999/xlink";var F=function(e,t){if(t===void 0){t=""}if(a.profile&&performance.mark){var n="st:".concat(e,":").concat(t,":").concat(c++);performance.mark(n);return function(){return performance.measure("[Stencil] ".concat(e,"() <").concat(t,">"),n)}}else{return function(){return}}};var H=function(e,t){if(a.profile&&performance.mark){if(performance.getEntriesByName(e).length===0){performance.mark(e)}return function(){if(performance.getEntriesByName(t).length===0){performance.measure(t,e)}}}else{return function(){return}}};var V=function(e){var t;var n=Et(e);if(!n){return undefined}var r=n.$flags$;var a=n.$hostElement$;return t={renderCount:n.$renderCount$,flags:{hasRendered:!!(r&2),hasConnected:!!(r&1),isWaitingForChildren:!!(r&4),isConstructingInstance:!!(r&8),isQueuedForUpdate:!!(r&16),hasInitializedComponent:!!(r&32),hasLoadedComponent:!!(r&64),isWatchReady:!!(r&128),isListenReady:!!(r&256),needsRerender:!!(r&512)},instanceValues:n.$instanceValues$,ancestorComponent:n.$ancestorComponent$,hostElement:a,lazyInstance:n.$lazyInstance$,vnode:n.$vnode$,modeName:n.$modeName$,onReadyPromise:n.$onReadyPromise$,onReadyResolve:n.$onReadyResolve$,onInstancePromise:n.$onInstancePromise$,onInstanceResolve:n.$onInstanceResolve$,onRenderResolve:n.$onRenderResolve$,queuedListeners:n.$queuedListeners$,rmListeners:n.$rmListeners$},t["s-id"]=a["s-id"],t["s-cr"]=a["s-cr"],t["s-lr"]=a["s-lr"],t["s-p"]=a["s-p"],t["s-rc"]=a["s-rc"],t["s-sc"]=a["s-sc"],t};var W=function(){if(a.devTools){var e=g.stencil=g.stencil||{};var t=e.inspect;e.inspect=function(e){var n=V(e);if(!n&&typeof t==="function"){n=t(e)}return n}}};var q=new WeakMap;var Q=function(e,t,n){var r=Wt.get(e);if(x&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}Wt.set(e,r)};var K=function(e,t,n,r){var o=J(t,n);var i=Wt.get(o);if(!a.attachStyles){return o}e=e.nodeType===11?e:b;if(i){if(typeof i==="string"){e=e.head||e;var s=q.get(e);var l=void 0;if(!s){q.set(e,s=new Set)}if(!s.has(o)){if(a.hydrateClientSide&&e.host&&(l=e.querySelector("[".concat(j,'="').concat(o,'"]')))){l.innerHTML=i}else{if(a.cssVarShim&&S.$cssShim$){l=S.$cssShim$.createHostStyle(r,o,i,!!(t.$flags$&10));var f=l["s-sc"];if(f){o=f;s=null}}else{l=b.createElement("style");l.innerHTML=i}if(a.hydrateServerSide||a.hotModuleReplacement){l.setAttribute(j,o)}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(o)}}}else if(a.constructableCSS&&!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return o};var X=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var o=F("attachStyles",t.$tagName$);var i=K(a.shadowDom&&R&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);if((a.shadowDom||a.scoped)&&a.cssAnnotations&&r&10){n["s-sc"]=i;n.classList.add(i+"-h");if(a.scoped&&r&2){n.classList.add(i+"-s")}}o()};var J=function(e,t){return"sc-"+(a.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$)};var G=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(e){return qt.map((function(t){return t(e)})).find((function(e){return!!e}))};var Z=function(e){return qt.push(e)};var ee=function(e){return Et(e).$modeName$};var te={};var ne="http://www.w3.org/2000/svg";var re="http://www.w3.org/1999/xhtml";var ae=function(e){return e!=null};var oe=function(e){e=typeof e;return e==="object"||e==="function"};var ie=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var o=null;var i=null;var s=null;var l=false;var f=false;var c=[];var u=function(t){for(var n=0;n<t.length;n++){o=t[n];if(Array.isArray(o)){u(o)}else if(o!=null&&typeof o!=="boolean"){if(l=typeof e!=="function"&&!oe(o)){o=String(o)}else if(a.isDev&&typeof e!=="function"&&o.$flags$===undefined){Mt("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.")}if(l&&f){c[c.length-1].$text$+=o}else{c.push(l?se(null,o):o)}f=l}}};u(n);if(t){if(a.isDev&&e==="input"){$e(t)}if(a.vdomKey&&t.key){i=t.key}if(a.slotRelocation&&t.name){s=t.name}if(a.vdomClass){var d=t.className||t.class;if(d){t.class=typeof d!=="object"?d:Object.keys(d).filter((function(e){return d[e]})).join(" ")}}}if(a.isDev&&c.some(fe)){Mt("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function.")}if(a.vdomFunctional&&typeof e==="function"){return e(t===null?{}:t,c,ce)}var $=se(e,null);$.$attrs$=t;if(c.length>0){$.$children$=c}if(a.vdomKey){$.$key$=i}if(a.slotRelocation){$.$name$=s}return $}));var se=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};if(a.vdomAttribute){n.$attrs$=null}if(a.vdomKey){n.$key$=null}if(a.slotRelocation){n.$name$=null}return n};var le=e("f",{});var fe=function(e){return e&&e.$tag$===le};var ce={forEach:function(e,t){return e.map(ue).forEach(t)},map:function(e,t){return e.map(ue).map(t).map(de)}};var ue=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var de=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return ie.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var n=se(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var $e=function(e){var t=Object.keys(e);var n=t.indexOf("value");if(n===-1){return}var r=t.indexOf("type");var a=t.indexOf("min");var o=t.indexOf("max");var i=t.indexOf("step");if(n<r||n<a||n<o||n<i){Bt('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var ve=function(e,t,n,r,o,i){if(n!==r){var s=It(e,t);var l=t.toLowerCase();if(a.vdomClass&&t==="class"){var f=e.classList;var c=me(n);var u=me(r);f.remove.apply(f,c.filter((function(e){return e&&!u.includes(e)})));f.add.apply(f,u.filter((function(e){return e&&!c.includes(e)})))}else if(a.vdomStyle&&t==="style"){if(a.updatable){for(var d in n){if(!r||r[d]==null){if(!a.hydrateServerSide&&d.includes("-")){e.style.removeProperty(d)}else{e.style[d]=""}}}}for(var d in r){if(!n||r[d]!==n[d]){if(!a.hydrateServerSide&&d.includes("-")){e.style.setProperty(d,r[d])}else{e.style[d]=r[d]}}}}else if(a.vdomKey&&t==="key");else if(a.vdomRef&&t==="ref"){if(r){r(e)}}else if(a.vdomListener&&(a.lazyLoad?!s:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(It(g,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(n){S.rel(e,t,n,false)}if(r){S.ael(e,t,r,false)}}else if(a.vdomPropOrAttr){var $=oe(r);if((s||$&&r!==null)&&!o){try{if(!e.tagName.includes("-")){var v=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=v){e[t]=v}}else{e[t]=r}}catch(m){}}var h=false;if(a.vdomXlink){if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(a.vdomXlink&&h){e.removeAttributeNS(U,t)}else{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!$){r=r===true?"":r;if(a.vdomXlink&&h){e.setAttributeNS(U,t,r)}else{e.setAttribute(t,r)}}}}};var he=/\s/;var me=function(e){return!e?[]:e.split(he)};var pe=function(e,t,n,r){var o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||te;var s=t.$attrs$||te;if(a.updatable){for(r in i){if(!(r in s)){ve(o,r,i[r],undefined,n,t.$flags$)}}}for(r in s){ve(o,r,i[r],s[r],n,t.$flags$)}};var ge=function(e,t,n,r){var o=t.$children$[n];var f=0;var c;var d;var h;if(a.slotRelocation&&!u){$=true;if(o.$tag$==="slot"){if(i){r.classList.add(i+"-s")}o.$flags$|=o.$children$?2:1}}if(a.isDev&&o.$elm$){Mt("The JSX ".concat(o.$text$!==null?'"'.concat(o.$text$,'" text'):'"'.concat(o.$tag$,'" element')," node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes"))}if(a.vdomText&&o.$text$!==null){c=o.$elm$=b.createTextNode(o.$text$)}else if(a.slotRelocation&&o.$flags$&1){c=o.$elm$=a.isDebug||a.hydrateServerSide?Ee(o):b.createTextNode("")}else{if(a.svg&&!v){v=o.$tag$==="svg"}c=o.$elm$=a.svg?b.createElementNS(v?ne:re,a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$):b.createElement(a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$);if(a.svg&&v&&o.$tag$==="foreignObject"){v=false}if(a.vdomAttribute){pe(null,o,v)}if((a.shadowDom||a.scoped)&&ae(i)&&c["s-si"]!==i){c.classList.add(c["s-si"]=i)}if(o.$children$){for(f=0;f<o.$children$.length;++f){d=ge(e,o,f,c);if(d){c.appendChild(d)}}}if(a.svg){if(o.$tag$==="svg"){v=false}else if(c.tagName==="foreignObject"){v=true}}}if(a.slotRelocation){c["s-hn"]=l;if(o.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=s;c["s-sn"]=o.$name$||"";h=e&&e.$children$&&e.$children$[n];if(h&&h.$tag$===o.$tag$&&e.$elm$){ye(e.$elm$,false)}}}return c};var ye=function(e,t){S.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==l&&a["s-ol"]){Ce(a).insertBefore(a,Re(a));a["s-ol"].remove();a["s-ol"]=undefined;$=true}if(t){ye(a,t)}}S.$flags$&=~1};var be=function(e,t,n,r,o,i){var s=a.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;var f;if(a.shadowDom&&s.shadowRoot&&s.tagName===l){s=s.shadowRoot}for(;o<=i;++o){if(r[o]){f=ge(null,n,o,e);if(f){r[o].$elm$=f;s.insertBefore(f,a.slotRelocation?Re(t):t)}}}};var we=function(e,t,n,r,o){for(;t<=n;++t){if(r=e[t]){o=r.$elm$;De(r);if(a.slotRelocation){d=true;if(o["s-ol"]){o["s-ol"].remove()}else{ye(o,true)}}o.remove()}}};var Se=function(e,t,n,r){var o=0;var i=0;var s=0;var l=0;var f=t.length-1;var c=t[0];var u=t[f];var d=r.length-1;var $=r[0];var v=r[d];var h;var m;while(o<=f&&i<=d){if(c==null){c=t[++o]}else if(u==null){u=t[--f]}else if($==null){$=r[++i]}else if(v==null){v=r[--d]}else if(Ne(c,$)){Le(c,$);c=t[++o];$=r[++i]}else if(Ne(u,v)){Le(u,v);u=t[--f];v=r[--d]}else if(Ne(c,v)){if(a.slotRelocation&&(c.$tag$==="slot"||v.$tag$==="slot")){ye(c.$elm$.parentNode,false)}Le(c,v);e.insertBefore(c.$elm$,u.$elm$.nextSibling);c=t[++o];v=r[--d]}else if(Ne(u,$)){if(a.slotRelocation&&(c.$tag$==="slot"||v.$tag$==="slot")){ye(u.$elm$.parentNode,false)}Le(u,$);e.insertBefore(u.$elm$,c.$elm$);u=t[--f];$=r[++i]}else{s=-1;if(a.vdomKey){for(l=o;l<=f;++l){if(t[l]&&t[l].$key$!==null&&t[l].$key$===$.$key$){s=l;break}}}if(a.vdomKey&&s>=0){m=t[s];if(m.$tag$!==$.$tag$){h=ge(t&&t[i],n,s,e)}else{Le(m,$);t[s]=undefined;h=m.$elm$}$=r[++i]}else{h=ge(t&&t[i],n,i,e);$=r[++i]}if(h){if(a.slotRelocation){Ce(c.$elm$).insertBefore(h,Re(c.$elm$))}else{c.$elm$.parentNode.insertBefore(h,c.$elm$)}}}}if(o>f){be(e,r[d+1]==null?null:r[d+1].$elm$,n,r,i,d)}else if(a.updatable&&i>d){we(t,o,f)}};var Ne=function(e,t){if(e.$tag$===t.$tag$){if(a.slotRelocation&&e.$tag$==="slot"){return e.$name$===t.$name$}if(a.vdomKey){return e.$key$===t.$key$}return true}return false};var Re=function(e){return e&&e["s-ol"]||e};var Ce=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var Le=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var o=t.$children$;var i=t.$tag$;var s=t.$text$;var l;if(!a.vdomText||s===null){if(a.svg){v=i==="svg"?true:i==="foreignObject"?false:v}if(a.vdomAttribute||a.reflect){if(a.slot&&i==="slot");else{pe(e,t,v)}}if(a.updatable&&r!==null&&o!==null){Se(n,r,t,o)}else if(o!==null){if(a.updatable&&a.vdomText&&e.$text$!==null){n.textContent=""}be(n,null,t,o,0,o.length-1)}else if(a.updatable&&r!==null){we(r,0,r.length-1)}if(a.svg&&v&&i==="svg"){v=false}}else if(a.vdomText&&a.slotRelocation&&(l=n["s-cr"])){l.parentNode.textContent=s}else if(a.vdomText&&e.$text$!==s){n.data=s}};var xe=function(e){var t=e.childNodes;var n;var r;var a;var o;var i;var s;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||i!==""){if(s===1&&i===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}xe(n)}}};var Te=[];var ke=function(e){var t;var n;var r;var a;var o;var i;var s=0;var l=e.childNodes;var f=l.length;for(;s<f;s++){t=l[s];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(i=r.length-1;i>=0;i--){n=r[i];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(_e(n,a)){o=Te.find((function(e){return e.$nodeToRelocate$===n}));d=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{Te.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){Te.map((function(e){if(_e(e.$nodeToRelocate$,n["s-sn"])){o=Te.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!Te.some((function(e){return e.$nodeToRelocate$===n}))){Te.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){ke(t)}}};var _e=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var De=function(e){if(a.vdomRef){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(De)}};var Ae=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var o=e.$vnode$||se(null,null);var f=fe(t)?t:ie(null,null,t);l=n.tagName;if(a.isDev&&Array.isArray(t)&&t.some(fe)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'.concat(l.toLowerCase(),'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n '))}if(a.reflect&&r.$attrsToReflect$){f.$attrs$=f.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return f.$attrs$[r]=n[t]}))}f.$tag$=null;f.$flags$|=4;e.$vnode$=f;f.$elm$=o.$elm$=a.shadowDom?n.shadowRoot||n:n;if(a.scoped||a.shadowDom){i=n["s-sc"]}if(a.slotRelocation){s=n["s-cr"];u=R&&(r.$flags$&1)!==0;d=false}Le(o,f);if(a.slotRelocation){S.$flags$|=1;if($){ke(f.$elm$);var c=void 0;var v=void 0;var h=void 0;var m=void 0;var p=void 0;var g=void 0;var y=0;for(;y<Te.length;y++){c=Te[y];v=c.$nodeToRelocate$;if(!v["s-ol"]){h=a.isDebug||a.hydrateServerSide?Oe(v):b.createTextNode("");h["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=h,v)}}for(y=0;y<Te.length;y++){c=Te[y];v=c.$nodeToRelocate$;if(c.$slotRefNode$){m=c.$slotRefNode$.parentNode;p=c.$slotRefNode$.nextSibling;h=v["s-ol"];while(h=h.previousSibling){g=h["s-nr"];if(g&&g["s-sn"]===v["s-sn"]&&m===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){p=g;break}}}if(!p&&m!==v.parentNode||v.nextSibling!==p){if(v!==p){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}m.insertBefore(v,p)}}}else{if(v.nodeType===1){v.hidden=true}}}}if(d){xe(f.$elm$)}S.$flags$&=~1;Te.length=0}};var Ee=function(e){return b.createComment("<slot".concat(e.$name$?' name="'+e.$name$+'"':"","> (host=").concat(l.toLowerCase(),")"))};var Oe=function(e){return b.createComment("org-location for "+(e.localName?"<".concat(e.localName,"> (host=").concat(e["s-hn"],")"):"[".concat(e.textContent,"]")))};var Pe=e("g",(function(e){return a.lazyLoad?Et(e).$hostElement$:e}));var Ie=e("e",(function(e,t,n){var r=Pe(e);return{emit:function(e){if(a.isDev&&!r.isConnected){Bt('The "'.concat(t,'" event was emitted, but the dispatcher node is no longer connected to the dom.'))}return ze(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var ze=function(e,t,n){var r=S.ce(t,n);e.dispatchEvent(r);return r};var je=function(e,t){if(a.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var Me=function(e,t){if(a.taskQueue&&a.updatable){e.$flags$|=16}if(a.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}je(e,e.$ancestorComponent$);var n=function(){return Be(e,t)};return a.taskQueue?nn(n):n()};var Be=function(e,t){var n=e.$hostElement$;var r=F("scheduleUpdate",e.$cmpMeta$.$tagName$);var o=a.lazyLoad?e.$lazyInstance$:n;var i;if(t){if(a.lazyLoad&&a.hostListener){e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return Qe(o,t,n)}));e.$queuedListeners$=null}}Xe(n,"componentWillLoad");if(a.cmpWillLoad){i=Qe(o,"componentWillLoad")}}else{Xe(n,"componentWillUpdate");if(a.cmpWillUpdate){i=Qe(o,"componentWillUpdate")}}Xe(n,"componentWillRender");if(a.cmpWillRender){i=Ke(i,(function(){return Qe(o,"componentWillRender")}))}r();return Ke(i,(function(){return Ue(e,o,t)}))};var Ue=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,o,i,s,l,f;return __generator(this,(function(c){switch(c.label){case 0:n=e.$hostElement$;o=F("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(a.style&&r){X(e)}s=F("render",e.$cmpMeta$.$tagName$);if(a.isDev){e.$flags$|=1024}if(!a.hydrateServerSide)return[3,2];return[4,Fe(e,t,n)];case 1:c.sent();return[3,3];case 2:Fe(e,t,n);c.label=3;case 3:if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.updateHost(n)}if(a.isDev){e.$renderCount$++;e.$flags$&=~1024}if(a.hydrateServerSide){try{Ge(n);if(r){if(e.$cmpMeta$.$flags$&1){n["s-en"]=""}else if(e.$cmpMeta$.$flags$&2){n["s-en"]="c"}}}catch(u){zt(u,n)}}if(a.asyncLoading&&i){i.map((function(e){return e()}));n["s-rc"]=undefined}s();o();if(a.asyncLoading){l=n["s-p"];f=function(){return Ve(e)};if(l.length===0){f()}else{Promise.all(l).then(f);e.$flags$|=4;l.length=0}}else{Ve(e)}return[2]}}))}))};var Fe=function(e,t,n){var r=a.allRenderFn?true:false;var o=a.lazyLoad?true:false;var i=a.taskQueue?true:false;var s=a.updatable?true:false;try{h=t;t=r?t.render():t.render&&t.render();if(s&&i){e.$flags$&=~16}if(s||o){e.$flags$|=2}if(a.hasRenderFn||a.reflect){if(a.vdomRender||a.reflect){if(a.hydrateServerSide){return Promise.resolve(t).then((function(t){return Ae(e,t)}))}else{Ae(e,t)}}else{n.textContent=t}}}catch(l){zt(l,e.$hostElement$)}h=null;return null};var He=function(){return h};var Ve=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=F("postUpdate",t);var o=a.lazyLoad?e.$lazyInstance$:n;var i=e.$ancestorComponent$;if(a.cmpDidRender){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidRender");if(a.isDev){e.$flags$&=~1024}}Xe(n,"componentDidRender");if(!(e.$flags$&64)){e.$flags$|=64;if(a.asyncLoading&&a.cssAnnotations){Je(n)}if(a.cmpDidLoad){if(a.isDev){e.$flags$|=2048}Qe(o,"componentDidLoad");if(a.isDev){e.$flags$&=~2048}}Xe(n,"componentDidLoad");r();if(a.asyncLoading){e.$onReadyResolve$(n);if(!i){qe(t)}}}else{if(a.cmpDidUpdate){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidUpdate");if(a.isDev){e.$flags$&=~1024}}Xe(n,"componentDidUpdate");r()}if(a.hotModuleReplacement){n["s-hmr-load"]&&n["s-hmr-load"]()}if(a.method&&a.lazyLoad){e.$onInstanceResolve$(n)}if(a.asyncLoading){if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){en((function(){return Me(e,false)}))}e.$flags$&=~(4|512)}};var We=function(e){if(a.updatable){var t=Et(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){Me(t,false)}return n}return false};var qe=function(e){if(a.cssAnnotations){Je(b.documentElement)}if(a.asyncQueue){S.$flags$|=2}en((function(){return ze(g,"appload",{detail:{namespace:r}})}));if(a.profile&&performance.measure){performance.measure("[Stencil] ".concat(r," initial load (by ").concat(e,")"),"st:app:start")}};var Qe=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(r){zt(r)}}return undefined};var Ke=function(e,t){return e&&e.then?e.then(t):t()};var Xe=function(e,t){if(a.lifecycleDOMEvents){ze(e,"stencil_"+t,{bubbles:true,composed:true,detail:{namespace:r}})}};var Je=function(e){return a.hydratedClass?e.classList.add("hydrated"):a.hydratedAttribute?e.setAttribute("hydrated",""):undefined};var Ge=function(e){var t=e.children;if(t!=null){for(var n=0,r=t.length;n<r;n++){var a=t[n];if(typeof a.connectedCallback==="function"){a.connectedCallback()}Ge(a)}}};var Ye=function(e,t,n,r){var o=F("hydrateClient",t);var i=e.shadowRoot;var s=[];var l=[];var f=a.shadowDom&&i?[]:null;var c=r.$vnode$=se(t,null);if(!S.$orgLocNodes$){et(b.body,S.$orgLocNodes$=new Map)}e[z]=n;e.removeAttribute(z);Ze(c,s,l,f,e,e,n);s.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=S.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&R&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}S.$orgLocNodes$.delete(n)}));if(a.shadowDom&&i){f.map((function(e){if(e){i.appendChild(e)}}))}o()};var Ze=function(e,t,n,r,o,i,s){var l;var f;var c;var u;if(i.nodeType===1){l=i.getAttribute(M);if(l){f=l.split(".");if(f[0]===s||f[0]==="0"){c={$flags$:0,$hostId$:f[0],$nodeId$:f[1],$depth$:f[2],$index$:f[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(c);i.removeAttribute(M);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;e=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){Ze(e,t,n,r,o,i.childNodes[u],s)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){Ze(e,t,n,r,o,i.shadowRoot.childNodes[u],s)}}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===s||f[1]==="0"){l=f[0];c={$flags$:0,$hostId$:f[1],$nodeId$:f[2],$depth$:f[3],$index$:f[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(l===I){c.$elm$=i.nextSibling;if(c.$elm$&&c.$elm$.nodeType===3){c.$text$=c.$elm$.textContent;t.push(c);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c;if(r&&c.$depth$==="0"){r[c.$index$]=c.$elm$}}}else if(c.$hostId$===s){if(l===P){c.$tag$="slot";if(f[5]){i["s-sn"]=c.$name$=f[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(a.shadowDom&&r){c.$elm$=b.createElement(c.$tag$);if(c.$name$){c.$elm$.setAttribute("name",c.$name$)}i.parentNode.insertBefore(c.$elm$,i);i.remove();if(c.$depth$==="0"){r[c.$index$]=c.$elm$}}n.push(c);if(!e.$children$){e.$children$=[]}e.$children$[c.$index$]=c}else if(l===E){if(a.shadowDom&&r){i.remove()}else if(a.slotRelocation){o["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var d=se(null,i.textContent);d.$elm$=i;d.$index$="0";e.$children$=[d]}};var et=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){et(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){et(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===O){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var tt=function(e,t){if(e!=null&&!oe(e)){if(a.propBoolean&&t&4){return e==="false"?false:e===""||!!e}if(a.propNumber&&t&2){return parseFloat(e)}if(a.propString&&t&1){return String(e)}return e}return e};var nt=function(e,t){return Et(e).$instanceValues$.get(t)};var rt=function(e,t,n,r){var o=Et(e);var i=a.lazyLoad?o.$hostElement$:e;var s=o.$instanceValues$.get(t);var l=o.$flags$;var f=a.lazyLoad?o.$lazyInstance$:i;n=tt(n,r.$members$[t][0]);var c=Number.isNaN(s)&&Number.isNaN(n);var u=n!==s&&!c;if((!a.lazyLoad||!(l&8)||s===undefined)&&u){o.$instanceValues$.set(t,n);if(a.isDev){if(o.$flags$&1024){Bt('The state/prop "'.concat(t,'" changed during rendering. This can potentially lead to infinite-loops and other bugs.'),"\nElement",i,"\nNew value",n,"\nOld value",s)}else if(o.$flags$&2048){Bt('The state/prop "'.concat(t,'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"'),"\nElement",i,"\nNew value",n,"\nOld value",s)}}if(!a.lazyLoad||f){if(a.watchCallback&&r.$watchers$&&l&128){var d=r.$watchers$[t];if(d){d.map((function(e){try{f[e](n,s,t)}catch(r){zt(r,i)}}))}}if(a.updatable&&(l&(2|16))===2){if(a.cmpShouldUpdate&&f.componentShouldUpdate){if(f.componentShouldUpdate(n,s,t)===false){return}}Me(o,false)}}}};var at=function(e,t,n){if(a.member&&t.$members$){if(a.watchCallback&&e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var o=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if((a.prop||a.state)&&(i&31||(!a.lazyLoad||n&2)&&i&32)){Object.defineProperty(o,r,{get:function(){return nt(this,r)},set:function(e){if(a.isDev){var o=Et(this);if((n&1)===0&&(o.$flags$&8)===0&&(i&31)!==0&&(i&1024)===0){Bt('@Prop() "'.concat(r,'" on <').concat(t.$tagName$,"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability"))}}rt(this,r,e,t)},configurable:true,enumerable:true})}else if(a.lazyLoad&&a.method&&n&1&&i&64){Object.defineProperty(o,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=Et(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(a.observeAttribute&&(!a.lazyLoad||n&1)){var i=new Map;o.attributeChangedCallback=function(e,t,n){var r=this;S.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(o.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var o=r[1]||n;i.set(o,n);if(a.reflect&&r[0]&512){t.$attrsToReflect$.push([n,o])}return o}))}}return e};var ot=function(e,r,o,i,s){return __awaiter(n,void 0,void 0,(function(){var n,l,f,c,u,d,$;return __generator(this,(function(v){switch(v.label){case 0:if(!((a.lazyLoad||a.hydrateServerSide||a.style)&&(r.$flags$&32)===0))return[3,7];if(!(a.lazyLoad||a.hydrateClientSide))return[3,3];r.$flags$|=32;s=Vt(o,r,i);if(!s.then)return[3,2];n=H("st:load:".concat(o.$tagName$,":").concat(r.$modeName$),"[Stencil] Load module for <".concat(o.$tagName$,">"));return[4,s];case 1:s=v.sent();n();v.label=2;case 2:if((a.isDev||a.isDebug)&&!s){throw new Error('Constructor for "'.concat(o.$tagName$,"#").concat(r.$modeName$,'" was not found'))}if(a.member&&!s.isProxied){if(a.watchCallback){o.$watchers$=s.watchers}at(s,o,2);s.isProxied=true}l=F("createInstance",o.$tagName$);if(a.member){r.$flags$|=8}try{new s(r)}catch(h){zt(h)}if(a.member){r.$flags$&=~8}if(a.watchCallback){r.$flags$|=128}l();it(r.$lazyInstance$);return[3,4];case 3:s=e.constructor;r.$flags$|=32;customElements.whenDefined(o.$tagName$).then((function(){return r.$flags$|=128}));v.label=4;case 4:if(!(a.style&&s.style))return[3,7];f=s.style;if(a.mode&&typeof f!=="string"){f=f[r.$modeName$=Y(e)];if(a.hydrateServerSide&&r.$modeName$){e.setAttribute("s-mode",r.$modeName$)}}c=J(o,r.$modeName$);if(!!Wt.has(c))return[3,7];u=F("registerStyles",o.$tagName$);if(!(!a.hydrateServerSide&&a.shadowDom&&a.shadowDomShim&&o.$flags$&8))return[3,6];return[4,t.import("./shadow-css-7fde17ac.system.js").then((function(e){return e.scopeCss(f,c,false)}))];case 5:f=v.sent();v.label=6;case 6:Q(c,f,!!(o.$flags$&1));u();v.label=7;case 7:d=r.$ancestorComponent$;$=function(){return Me(r,true)};if(a.asyncLoading&&d&&d["s-rc"]){d["s-rc"].push($)}else{$()}return[2]}}))}))};var it=function(e){if(a.lazyLoad&&a.connectedCallback){Qe(e,"connectedCallback")}};var st=function(e){if((S.$flags$&1)===0){var t=Et(e);var n=t.$cmpMeta$;var r=F("connectedCallback",n.$tagName$);if(a.hostListenerTargetParent){k(e,t,n.$listeners$,true)}if(!(t.$flags$&1)){t.$flags$|=1;var o=void 0;if(a.hydrateClientSide){o=e.getAttribute(z);if(o){if(a.shadowDom&&R&&n.$flags$&1){var i=a.mode?K(e.shadowRoot,n,e.getAttribute("s-mode")):K(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}Ye(e,n.$tagName$,o,t)}}if(a.slotRelocation&&!o){if(a.hydrateServerSide||(a.slot||a.shadowDom)&&n.$flags$&(4|8)){lt(e)}}if(a.asyncLoading){var s=e;while(s=s.parentNode||s.host){if(a.hydrateClientSide&&s.nodeType===1&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){je(t,t.$ancestorComponent$=s);break}}}if(a.prop&&!a.hydrateServerSide&&n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}if(a.initializeNextTick){en((function(){return ot(e,t,n)}))}else{ot(e,t,n)}}else{k(e,t,n.$listeners$,false);it(t.$lazyInstance$)}r()}};var lt=function(e){var t=e["s-cr"]=b.createComment(a.isDebug?"content-ref (host=".concat(e.localName,")"):"");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var ft=function(e){if((S.$flags$&1)===0){var t=Et(e);var n=a.lazyLoad?t.$lazyInstance$:e;if(a.hostListener){if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.removeHost(e)}if(a.lazyLoad&&a.disconnectedCallback){Qe(n,"disconnectedCallback")}if(a.cmpDidUnload){Qe(n,"componentDidUnload")}}};var ct=function(e,t){customElements.define(t[1],ut(e,t))};var ut=function(e,t){var n={$flags$:t[0],$tagName$:t[1]};if(a.member){n.$members$=t[2]}if(a.hostListener){n.$listeners$=t[3]}if(a.watchCallback){n.$watchers$=e.$watchers$}if(a.reflect){n.$attrsToReflect$=[]}if(a.shadowDom&&!R&&n.$flags$&1){n.$flags$|=8}var r=e.prototype.connectedCallback;var o=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__registerHost:function(){Pt(this,n)},connectedCallback:function(){st(this);if(a.connectedCallback&&r){r.call(this)}},disconnectedCallback:function(){ft(this);if(a.disconnectedCallback&&o){o.call(this)}},__attachShadow:function(){if(R){if(a.shadowDelegatesFocus){this.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}else{this.attachShadow({mode:"open"})}}else{this.shadowRoot=this}}});e.is=n.$tagName$;return at(e,n,1|2)};var dt=function(e){if(a.style&&a.mode&&!a.lazyLoad){var t=Y(e);var n=Et(e);if(n.$modeName$!==t){var r=n.$cmpMeta$;var o=e["s-sc"];var i=J(r,t);var s=e.constructor.style[t];var l=r.$flags$;if(s){if(!Wt.has(i)){Q(i,s,!!(l&1))}n.$modeName$=t;e.classList.remove(o+"-h",o+"-s");X(n);We(e)}}}};var $t=function(e,t,n){var r=Et(e);r.$flags$=1;e["s-hmr-load"]=function(){delete e["s-hmr-load"]};ot(e,r,t,n)};var vt=function(e){var t=e.cloneNode;e.cloneNode=function(e){var n=this;var r=a.shadowDom?n.shadowRoot&&R:false;var o=t.call(n,r?e:false);if(a.slot&&!r&&e){var i=0;var s=void 0,l=void 0;var f=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;i<n.childNodes.length;i++){s=n.childNodes[i]["s-nr"];l=f.every((function(e){return!n.childNodes[i][e]}));if(s){if(a.appendChildSlotFix&&o.__appendChild){o.__appendChild(s.cloneNode(true))}else{o.appendChild(s.cloneNode(true))}}if(l){o.appendChild(n.childNodes[i].cloneNode(true))}}}return o}};var ht=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=gt(e);var n=yt(this.childNodes,t);if(n){var r=bt(n,t);var a=r[r.length-1];return a.parentNode.insertBefore(e,a.nextSibling)}return this.__appendChild(e)}};var mt=function(e,t){if(a.scoped&&t.$flags$&2){var n=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",n);Object.defineProperty(e,"textContent",{get:function(){var e;var t=yt(this.childNodes,"");if(((e=t===null||t===void 0?void 0:t.nextSibling)===null||e===void 0?void 0:e.nodeType)===3){return t.nextSibling.textContent}else if(t){return t.textContent}else{return this.__textContent}},set:function(e){var t;var n=yt(this.childNodes,"");if(((t=n===null||n===void 0?void 0:n.nextSibling)===null||t===void 0?void 0:t.nodeType)===3){n.nextSibling.textContent=e}else if(n){n.textContent=e}else{this.__textContent=e;var r=this["s-cr"];if(r){this.insertBefore(r,this.firstChild)}}}})}};var pt=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((S.$flags$&1)===0&&Et(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return n.from(e)}})}};var gt=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var yt=function(e,t){var n=0;var r;for(;n<e.length;n++){r=e[n];if(r["s-sr"]&&r["s-sn"]===t){return r}r=yt(r.childNodes,t);if(r){return r}}return null};var bt=function(e,t){var n=[e];while((e=e.nextSibling)&&e["s-sn"]===t){n.push(e)}return n};var wt=e("b",(function(e,t){if(t===void 0){t={}}if(a.profile&&performance.mark){performance.mark("st:app:start")}W();var n=F("bootstrapLazy");var r=[];var o=t.exclude||[];var i=g.customElements;var s=b.head;var l=s.querySelector("meta[charset]");var f=b.createElement("style");var c=[];var u=b.querySelectorAll("[".concat(j,"]"));var d;var $=true;var v=0;Object.assign(S,t);S.$resourcesUrl$=new URL(t.resourcesUrl||"./",b.baseURI).href;if(a.asyncQueue){if(t.syncQueue){S.$flags$|=4}}if(a.hydrateClientSide){S.$flags$|=2}if(a.hydrateClientSide&&a.shadowDom){for(;v<u.length;v++){Q(u[v].getAttribute(j),G(u[v].innerHTML),true)}}e.map((function(e){e[1].map((function(n){var s={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};if(a.member){s.$members$=n[2]}if(a.hostListener){s.$listeners$=n[3]}if(a.reflect){s.$attrsToReflect$=[]}if(a.watchCallback){s.$watchers$={}}if(a.shadowDom&&!R&&s.$flags$&1){s.$flags$|=8}var l=a.transformTagName&&t.transformTagName?t.transformTagName(s.$tagName$):s.$tagName$;var f=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Pt(t,s);if(a.shadowDom&&s.$flags$&1){if(R){if(a.shadowDelegatesFocus){t.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)})}else{t.attachShadow({mode:"open"})}}else if(!a.hydrateServerSide&&!("shadowRoot"in t)){t.shadowRoot=t}}if(a.slotChildNodesFix){pt(t,s)}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if($){c.push(this)}else{S.jmp((function(){return st(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;S.jmp((function(){return ft(e)}))};t.prototype.componentOnReady=function(){return Et(this).$onReadyPromise$};return t}(HTMLElement);if(a.cloneNodeFix){vt(f.prototype)}if(a.appendChildSlotFix){ht(f.prototype)}if(a.hotModuleReplacement){f.prototype["s-hmr"]=function(e){$t(this,s,e)}}if(a.scopedSlotTextContentFix){mt(f.prototype,s)}s.$lazyBundleId$=e[0];if(!o.includes(l)&&!i.get(l)){r.push(l);i.define(l,at(f,s,1))}}))}));if(a.invisiblePrehydration&&(a.hydratedClass||a.hydratedAttribute)){f.innerHTML=r+B;f.setAttribute("data-styles","");s.insertBefore(f,l?l.nextSibling:s.firstChild)}$=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{if(a.profile){S.jmp((function(){return d=setTimeout(qe,30,"timeout")}))}else{S.jmp((function(){return d=setTimeout(qe,30)}))}}n()}));var St=function(e){var t=new URL(e,S.$resourcesUrl$);return t.origin!==g.location.origin?t.href:t.pathname};var Nt=function(e){return S.$resourcesUrl$=e};var Rt=function(e,t){var n=function(){var e=b.querySelector(t);if(!e){e=b.createElement(t);b.body.appendChild(e)}return typeof e.componentOnReady==="function"?e.componentOnReady():Promise.resolve(e)};var r=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n().then((function(t){return t.create.apply(t,e)}))};return{create:r,componentOnReady:n}};var Ct=function(e,t){if(t in T){return T[t]}else if(t==="window"){return g}else if(t==="document"){return b}else if(t==="isServer"||t==="isPrerender"){return a.hydrateServerSide?true:false}else if(t==="isClient"){return a.hydrateServerSide?false:true}else if(t==="resourcesUrl"||t==="publicPath"){return St(".")}else if(t==="queue"){return{write:nn,read:tn,tick:{then:function(e){return en(e)}}}}return undefined};var Lt=function(e,t){if(e!=null){var n={hostIds:0,rootLevelIds:0,staticComponents:new Set(t)};var r=[];xt(e,e.body,n,r);r.forEach((function(t){if(t!=null){var r=t["s-nr"];var a=r["s-host-id"];var o=r["s-node-id"];var i="".concat(a,".").concat(o);if(a==null){a=0;n.rootLevelIds++;o=n.rootLevelIds;i="".concat(a,".").concat(o);if(r.nodeType===1){r.setAttribute(M,i)}else if(r.nodeType===3){if(a===0){var s=r.nodeValue.trim();if(s===""){t.remove();return}}var l=e.createComment(i);l.nodeValue="".concat(I,".").concat(i);r.parentNode.insertBefore(l,r)}}var f="".concat(O,".").concat(i);var c=t.parentElement;if(c){if(c["s-en"]===""){f+="."}else if(c["s-en"]==="c"){f+=".c"}}t.nodeValue=f}}))}};var xt=function(e,t,n,r){if(t==null){return}if(t["s-nr"]!=null){r.push(t)}if(t.nodeType===1){t.childNodes.forEach((function(t){var a=Et(t);if(a!=null&&!n.staticComponents.has(t.nodeName.toLowerCase())){var o={nodeIds:0};Tt(e,t,a.$vnode$,n,o)}xt(e,t,n,r)}))}};var Tt=function(e,t,n,r,a){if(n!=null){var o=++r.hostIds;t.setAttribute(z,o);if(t["s-cr"]!=null){t["s-cr"].nodeValue="".concat(E,".").concat(o)}if(n.$children$!=null){var i=0;n.$children$.forEach((function(t,n){kt(e,t,a,o,i,n)}))}if(t&&n&&n.$elm$&&!t.hasAttribute("c-id")){var s=t.parentElement;if(s&&s.childNodes){var l=Array.from(s.childNodes);var f=l.find((function(e){return e.nodeType===8&&e["s-sr"]}));if(f){var c=l.indexOf(t)-1;n.$elm$.setAttribute(M,"".concat(f["s-host-id"],".").concat(f["s-node-id"],".0.").concat(c))}}}}};var kt=function(e,t,n,r,a,o){var i=t.$elm$;if(i==null){return}var s=n.nodeIds++;var l="".concat(r,".").concat(s,".").concat(a,".").concat(o);i["s-host-id"]=r;i["s-node-id"]=s;if(i.nodeType===1){i.setAttribute(M,l)}else if(i.nodeType===3){var f=i.parentNode;var c=f.nodeName;if(c!=="STYLE"&&c!=="SCRIPT"){var u="".concat(I,".").concat(l);var d=e.createComment(u);f.insertBefore(d,i)}}else if(i.nodeType===8){if(i["s-sr"]){var $=i["s-sn"]||"";var v="".concat(P,".").concat(l,".").concat($);i.nodeValue=v}}if(t.$children$!=null){var h=a+1;t.$children$.forEach((function(t,a){kt(e,t,n,r,h,a)}))}};var _t=function(e){return Object.assign(S,e)};var Dt=function(e,t){return t};var At=new WeakMap;var Et=function(e){return At.get(e)};var Ot=e("r",(function(e,t){return At.set(t.$lazyInstance$=e,t)}));var Pt=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};if(a.isDev){n.$renderCount$=0}if(a.method&&a.lazyLoad){n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}if(a.asyncLoading){n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}k(e,n,t.$listeners$,false);return At.set(e,n)};var It=function(e,t){return t in e};var zt=function(e,t){return(f||console.error)(e,t)};var jt=a.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var Mt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.error.apply(console,__spreadArray(__spreadArray([],jt,false),e,false))};var Bt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.warn.apply(console,__spreadArray(__spreadArray([],jt,false),e,false))};var Ut=e("c",(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.info.apply(console,__spreadArray(__spreadArray([],jt,false),e,false))}));var Ft=function(e){return f=e};var Ht=new Map;var Vt=function(e,n,r){var o=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;if(a.isDev&&typeof i!=="string"){Mt("Trying to lazily load component <".concat(e.$tagName$,'> with style mode "').concat(n.$modeName$,'", but it does not exist.'));return undefined}var s=!a.hotModuleReplacement?Ht.get(i):false;if(s){return s[o]}return t.import("./".concat(i,".entry.js").concat(a.hotModuleReplacement&&r?"?s-hmr="+r:"")).then((function(e){if(!a.hotModuleReplacement){Ht.set(i,e)}return e[o]}),zt)};var Wt=new Map;var qt=[];var Qt=[];var Kt=[];var Xt=[];var Jt=function(e,t){return function(n){e.push(n);if(!p){p=true;if(t&&S.$flags$&4){en(Zt)}else{S.raf(Zt)}}}};var Gt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(n){zt(n)}}e.length=0};var Yt=function(e,t){var n=0;var r=0;while(n<e.length&&(r=performance.now())<t){try{e[n++](r)}catch(a){zt(a)}}if(n===e.length){e.length=0}else if(n!==0){e.splice(0,n)}};var Zt=function(){if(a.asyncQueue){m++}Gt(Qt);if(a.asyncQueue){var e=(S.$flags$&6)===2?performance.now()+14*Math.ceil(m*(1/10)):Infinity;Yt(Kt,e);Yt(Xt,e);if(Kt.length>0){Xt.push.apply(Xt,Kt);Kt.length=0}if(p=Qt.length+Kt.length+Xt.length>0){S.raf(Zt)}else{m=0}}else{Gt(Kt);if(p=Qt.length>0){S.raf(Zt)}}};var en=function(e){return L().then(e)};var tn=Jt(Qt,false);var nn=Jt(Kt,true);var rn={isDev:a.isDev?true:false,isBrowser:true,isServer:false,isTesting:a.isTesting?true:false}}}}));
@@ -1 +0,0 @@
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 __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function u(t){try{s(n.next(t))}catch(e){o(e)}}function a(t){try{s(n["throw"](t))}catch(e){o(e)}}function s(t){t.done?r(t.value):i(t.value).then(u,a)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return s([t,e])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){r.label=u[1];break}if(u[0]===6&&r.label<o[1]){r.label=o[1];o=u;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(u);break}if(o[2])r.ops.pop();r.trys.pop();continue}u=e.call(t,r)}catch(a){u=[6,a];i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var e=this;var r=function(){function t(){}t.isNull=function(t){return null===t};t.isEmpty=function(e){return t.isString(e)&&""===e||t.isArray(e)&&e.length<1||t.isObjectLiteral(e)&&Object.keys(e).length<1};t.isUndefined=function(t){return void 0===t};t.isZero=function(t){return 0===t};t.exists=function(e){return!(t.isUndefined(e)||t.isNull(e))};t.isNullOrEmpty=function(e){return!t.exists(e)||t.isEmpty(e)};t.isArray=function(t){return Array.isArray(t)};t.isBool=function(t){return"boolean"==typeof t};t.isTrue=function(e){return t.isBool(e)&&!0===e};t.isFalse=function(e){return t.isBool(e)&&!1===e};t.isDate=function(t){return t instanceof Date};t.isNumber=function(t){return("number"==typeof t||t instanceof Number)&&!isNaN(t)};t.isEven=function(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0};t.isOdd=function(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)};t.isString=function(t){return"string"==typeof t||t instanceof String};t.isFunction=function(t){return t instanceof Function};t.isAsyncFunction=function(e){try{return"AsyncFunction"===Object.getPrototypeOf(e).constructor.name||t.isFunction(e)&&/^async/.test(e.toString())||t.isFunction(e().then)}catch(t){return!1}};t.isPromise=function(t){return t instanceof Promise};t.isObject=function(e){return t.exists(e)&&"object"==typeof e&&!(t.isBool(e)||t.isNumber(e)||t.isDate(e)||t.isArray(e)||t.isString(e)||t.isFunction(e))};t.isObjectLiteral=function(e){return t.isObject(e)&&e.constructor==={}.constructor};t.isTruthy=function(e){return!t.isFalsy(e)};t.isFalsy=function(e){return t.isZero(e)||t.isFalse(e)||t.isNullOrEmpty(e)||isNaN(e)};return t}();t("t",r);function n(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}return"".concat.apply("",t)}function i(t){var e=[];for(var r=1;r<arguments.length;r++){e[r-1]=arguments[r]}return e.reduce((function(t,e,r){return t.replace(new RegExp("\\{".concat(r,"\\}"),"g"),e&&e.toString?e.toString():e)}),t)}function o(t){return u(a(t))}function u(t){return r.exists(t)&&r.isFunction(t.replace)?t.replace(/^[\s\n]*/,""):t}function a(t){return r.exists(t)&&r.isFunction(t.replace)?t.replace(/[\s\n]*$/,""):t}var s=t("a",Object.freeze({__proto__:null,build:n,chunk:function(t,e){if(e===void 0){e=0}if(!r.isString(t)||Number.isNaN(e)||e<0)return[];if(e<t.length){var n=0;var i=e||t.length,o=[];for(;n<t.length;)o.push(t.slice(n,n+i)),n+=i;return o}return[t]},format:i,trim:o,trimStart:u,trimEnd:a,capitalize:function(t){if(t===void 0){t=""}return(t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(t,e,n){if(n===void 0){n="_"}return r.isFunction(e)?e(t):r.isString(e)&&t.split("").reduce((function(t,e){return t.replace(new RegExp(n),e)}),e)},unmask:function(t,e,n){if(n===void 0){n="_"}var i=new RegExp(n);return r.isFunction(e)?e(t):r.isString(e)&&t.split("").reduce((function(t,r,n){return!i.test(r)&&i.test(e.charAt(n))?t+r:t}),"")}}));var c=function(){function t(t,e,r){if(t===void 0){t=""}if(e===void 0){e=""}if(r===void 0){r=""}this._first=t||"",this._middle=e||"",this._last=r||""}Object.defineProperty(t.prototype,"first",{get:function(){return this._first},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"middle",{get:function(){return this._middle},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"last",{get:function(){return this._last},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"full",{get:function(){var t=r.isNullOrEmpty(this.middle)?"F L":"F M L";return o(this.toString(t).replace(/\s+/," "))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"initials",{get:function(){var t=r.isNullOrEmpty(this.middle)?"f.l.":"f.m.l.";return o(this.toString(t).replace(/\s{2,}/,""))},enumerable:false,configurable:true});t.prototype.equals=function(t){return r.exists(t)&&t.first===this.first&&t.middle===this.middle&&t.last===this.last};t.prototype.toString=function(t){var e=this.first.charAt(0),n=this.middle.charAt(0),i=this.last.charAt(0);return r.isNullOrEmpty(t)?this.full:t.replace(/([FfMmLl])/g,"{$1}").replace("{F}",this.first).replace("{M}",this.middle).replace("{L}",this.last).replace("{f}",e).replace("{m}",n).replace("{l}",i)};return t}();var f=t("o",(function(t){return t.reduce((function(t,e){return t.includes(e)||t.push(e),t}),[])}));var l=function(){function t(t){this._list=t,this._head=0}Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.length<1},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"index",{get:function(){return this._head},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"length",{get:function(){return this._list.length},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"current",{get:function(){return this._list[this._head]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"next",{get:function(){var t=this.length;var e=this._head;return this._head=e++<t-1?e:0,this.current},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prev",{get:function(){var t=this.length;var e=this._head;return this._head=--e<0?t-1:e,this.current},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"peekNext",{get:function(){var t=this.length,e=this._head;return this._list[e+1<t?e+1:0]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"peekPrev",{get:function(){var t=this.length,e=this._head;return this._list[e-1<0?t-1:e-1]},enumerable:false,configurable:true});return t}();t("c",l);function p(t,e){try{return t()}catch(r){return e}}var h;p.async=function(t,r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,t()];case 1:return[2,n.sent()];case 2:e=n.sent();return[2,r];case 3:return[2]}}))}))};var y=function(){function t(t,e,r){if(e<1||e>12)throw new Error("Invalid month at Assert.DayPoint");if(r<1||r>d(e,t))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(t,e-1,r):new Date,this._day=this._value.getDay(),this._date=r,this._month=e,this._year=t}Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"day",{get:function(){return this._day},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"date",{get:function(){return this._date},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"month",{get:function(){return this._month},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"year",{get:function(){return this._year},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"shortYear",{get:function(){var t=this._year.toString();return parseInt(t.substr(t.length-2))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWeekday",{get:function(){var t=this._day;return t>0&&t<6},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isWeekend",{get:function(){return!this.isWeekday},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isLeapYear",{get:function(){return b(this._year)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nextDay",{get:function(){return v(this,1,0,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prevDay",{get:function(){return v(this,-1,0,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nextMonth",{get:function(){return v(this,0,1,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prevMonth",{get:function(){return v(this,0,-1,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nextYear",{get:function(){return v(this,0,0,1)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"prevYear",{get:function(){return v(this,0,0,-1)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"firstDayOfMonth",{get:function(){return new t(this._year,this._month,1)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"lastDayOfMonth",{get:function(){return new t(this._year,this._month,d(this._month,this._year))},enumerable:false,configurable:true});t.prototype.add=function(t,e,r){function n(t,e,r){var n=t,i=e;for(;i--;)n=n[r];return n}var i=Math.abs,o=i(t),u=i(r),a=i(e),s=r<0?"prevDay":"nextDay",c=e<0?"prevMonth":"nextMonth";return n(n(n(this,o,t<0?"prevYear":"nextYear"),a,c),u,s)};t.prototype.isBefore=function(t){return!(this.isAfter(t)||this.equals(t))};t.prototype.isAfter=function(t){var e=this._year,r=t.year,n=this._month,i=t.month;return e>r||(e===r&&n>i||e===r&&n===i&&this._date>t.date)};t.prototype.equals=function(t){return this._year===t.year&&this._month===t.month&&this._date===t.date};t.prototype.toString=function(t){if(t===void 0){t="mm/dd/yyyy"}var e=/y{3,}/i.test(t)?this._year:this.shortYear,r=this._month,n=this._date,o=/m{2}/i.test(t)&&r<10?"0{1}":"{1}",u=/d{2}/i.test(t)&&n<10?"0{2}":"{2}";return i(t.replace(/y+/gi,"{0}").replace(/m+/gi,o).replace(/d+/gi,u),e,r,n)};t.prototype.toDate=function(){return this._value};t.prototype.toJson=function(){return this._value.toJSON()};t.canParse=function(e){return r.isString(e)||r.isNumber(e)||r.isDate(e)?!isNaN(new Date(e).valueOf()):e instanceof t};t.parse=function(e){if(e instanceof t)return e;var n=r.isString(e)?o(e).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):e;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(n)){var u=n.split("-"),a=u[0];u.push(a),u.shift(),n=u.join("/")}var s=new Date(n);if(!r.exists(n)||Number.isNaN(s.valueOf()))throw new Error(i("Cannot parse value= {0}",n));return new t(s.getFullYear(),s.getMonth()+1,s.getDate())};t.tryParse=function(e){return p((function(){return t.parse(e)}),null)};t.assumeNow=function(e){h=t.parse(e)};Object.defineProperty(t,"today",{get:function(){return h||t.parse(new Date)},enumerable:false,configurable:true});return t}();function d(t,e){return 2===t?b(e)?29:28:t<8&&r.isEven(t)||t>7&&r.isOdd(t)?30:31}function b(t){var e=t.toString().split(/\B/);return parseFloat(n(e[e.length-2],e[e.length-1]))%4==0}function v(t,e,r,n){var i=t.month,o=t.year,u=t.date,a=r,s=n;var c=u+e,f=i+a,l=o+s;if(u+e>d(i,o)&&(c=1,f=i+a+1),u+e<1){var p=t.prevMonth;c=d(p.month,p.year),f=i+a-1}return f>12&&(f=1,l=o+s+1),f<1&&(f=12,l=o+s-1),new y(l,f,c)}function g(t,e){if(e===void 0){e=0}var r=Math.pow(10,-e);return Math.round(parseFloat((t*r).toFixed(Math.abs(e))))/r}function m(t,e){if(e===void 0){e=0}return g(t+5*Math.pow(10,e-1),e)}function _(t,e){if(e===void 0){e=0}if(0===t)return 0;return g(t-5*Math.pow(10,e-1),e)}function w(t,e){if(e===void 0){e=0}return t<0?m(t,e):_(t,e)}function x(t){var e=function(t,r,n){if(r===void 0){r=0}if(n===void 0){n=1}return 0<t?e(--t,n,r+n):r};return e(t)}function O(t){var e=0,r=1,n=0;for(;t>1;)n=e,e=r,r+=n,t--;return t<1?e:r}function j(t,e){if(e===void 0){e=0}var r=parseInt(t);return Number.isNaN(r)?e:r}var P=Object.freeze({__proto__:null,random:function(t,e){if(t===void 0){t=0}if(e===void 0){e=1}return Math.random()*(e-t)+t},round:g,roundUp:m,roundDown:_,roundTowardZero:w,gcd:function t(e,r){return 0===r?Math.abs(e):t(r,e%r)},fib:x,fib2:O,fibArray:function(t){return Array(t).fill(0).map((function(){return x(--t)})).reverse()},fib2Array:function(t){return Array(t).fill(0).map((function(){return O(--t)})).reverse()},tryParseInt:j,tryParseFloat:function(t,e){if(e===void 0){e=0}var r=parseFloat(t);return Number.isNaN(r)?e:r}});var N=function(){function t(t,e){if(t===void 0){t=0}if(!r.isNumber(t))throw new Error("Money requires valid numeric amount.");var n=w(t);this._cents=/\./.test(t)?parseFloat(t.toString().replace(/\d+\./,".")):0,this._dollars=n,this._currency=e||"$",this._value=t}Object.defineProperty(t.prototype,"cents",{get:function(){return this._cents},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"dollars",{get:function(){return this._dollars},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"currency",{get:function(){return this._currency},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});t.prototype.add=function(e){return S(this,e),new t(this.value+e.value,this.currency)};t.prototype.subtract=function(e){return S(this,e),new t(this.value-e.value,this.currency)};t.prototype.multiply=function(e){if(!r.isNumber(e))throw new Error("Invalid factor ".concat(e));return new t(this.value*e,this.currency)};t.prototype.divide=function(e){if(!r.isNumber(e))throw new Error("Invalid divisor ".concat(e));return new t(this.value/e,this.currency)};t.prototype.equals=function(t){return this.isOfCurrency(t)&&this.value===t.value};t.prototype.isGreaterThan=function(t){return S(this,t),this.value>t.value};t.prototype.isLessThan=function(t){return S(this,t),this.value<t.value};Object.defineProperty(t.prototype,"nearestWhole",{get:function(){return new t(g(this.value,0),this.currency)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"nearestDollar",{get:function(){return this.nearestWhole},enumerable:false,configurable:true});t.prototype.round=function(e){if(e===void 0){e=-2}return new t(g(this.value,e),this.currency)};t.prototype.roundDown=function(e){if(e===void 0){e=-2}return new t(_(this.value,e),this.currency)};t.prototype.roundUp=function(e){if(e===void 0){e=-2}return new t(m(this.value,e),this.currency)};t.prototype.exchange=function(e,r){return new t(this.multiply(e).value,r)};t.prototype.isOfCurrency=function(t){return this.currency===t.currency};t.prototype.toString=function(t,e){if(t===void 0){t="d.c2"}var r=/d(.)c(\d+)/.exec(t),n=r[1],i=r[2],o=e||{".":",",",":"."}[n],u=function(t,e){if(0===t)return"0";var r=t.toString().replace(/[^\d]/,"").split(/\B/);var n=0;return r.reverse().reduce((function(t,r){return n>0&&!(n%3)&&(t.push(e),n=0),t.push(r),n++,t}),[]).reverse().join("").replace(/[^\d]$/,"")}(this.dollars,o||","),a=function(t,e){var r=t.toString().replace(/[^\d]|0\./g,""),n="0".repeat(e);return"".concat(r).concat(n).slice(0,e)}(this.cents,j(i,2)),s="".concat(this.currency).concat(u).concat(n).concat(a);return this.value<0?"(".concat(s,")"):s};t.zero=function(e){return new t(0,e)};t.isMoney=function(e){return e instanceof t};t.canParse=function(e){try{return t.parse(e),!0}catch(e){return!1}};t.parse=function(e){if(r.isNumber(e))return new t(e);var n=e;if(/,\d{2}$/.test(e)){var i=e.split(","),o=i.pop();n="".concat(i.join().replace(/\./g,","),".").concat(o)}var u=/(\(.*\))|(-)/.test(n),a=u?1:0,s=n.match(/[^\d.,-]/g),c=r.isArray(s)?s[a]:null,f=parseFloat(n.replace(/[^\d.]/g,""));return new t(u?-f:f,c)};t.tryParse=function(e){return p((function(){return t.parse(e)}),null)};return t}();function S(t,e){if(!t.isOfCurrency(e))throw new Error("Invalid operation on non-conforming currencies. ".concat(t.currency," !== ").concat(e.currency))}var A=function(){function t(t,e){if(t===void 0){t=0}if(e===void 0){e=0}if(!r.isNumber(t)||!r.isNumber(e))throw new Error("Coord requires numeric x and y values");this._x=t,this._y=e}Object.defineProperty(t.prototype,"x",{get:function(){return this._x},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"y",{get:function(){return this._y},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return{x:this.x,y:this.y}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"half",{get:function(){return this.divide(new t(2,2))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"abs",{get:function(){return new t(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});t.prototype.equals=function(t){return this.x===t.x&&this.y===t.y};t.prototype.add=function(e){return new t(this.x+e.x,this.y+e.y)};t.prototype.subtract=function(e){return new t(this.x-e.x,this.y-e.y)};t.prototype.multiply=function(e){return new t(this.x*e.x,this.y*e.y)};t.prototype.divide=function(e){return new t(this.x/e.x,this.y/e.y)};t.prototype.round=function(e){if(e===void 0){e=0}return new t(g(this.x,e),g(this.y,e))};t.prototype.toString=function(){return"(".concat(this.x,",").concat(this.y,")")};t.canParse=function(e){return r.isArray(e)?!(Number.isNaN(e[0])||Number.isNaN(e[1])):r.isObjectLiteral(e)&&"x"in e&&"y"in e?!(Number.isNaN(e.x)||Number.isNaN(e.y)):e instanceof t};t.parse=function(e){return r.exists(e)?e instanceof t?e:r.isArray(e)?new t(e[0],e[1]):r.isObjectLiteral(e)&&r.exists(e.x)&&r.exists(e.y)?new t(e.x,e.y):null:null};t.tryParse=function(e){return p((function(){return t.parse(e)}),null)};return t}();var F=function(t){__extends(e,t);function e(e,r){if(e===void 0){e=0}if(r===void 0){r=0}var n=this;n=t.call(this,e,r)||this,n._lengthSquared=Math.pow(e,2)+Math.pow(r,2),n._magnitude=Math.sqrt(n._lengthSquared),n._unitNormalX=0===e&&0===r?0:e/n._magnitude,n._unitNormalY=0===e&&0===r?0:r/n._magnitude;return n}Object.defineProperty(e.prototype,"magnitude",{get:function(){return this._magnitude},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isZero",{get:function(){return 0===this.x&&0===this.y},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"normal",{get:function(){return new e(this._unitNormalX,this._unitNormalY)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invert",{get:function(){return new e(-this.x,-this.y)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"norm",{get:function(){return new e(Math.abs(this.x),Math.abs(this.y))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"perpendicular",{get:function(){return new e(-this.y,this.x)},enumerable:false,configurable:true});e.prototype.equals=function(t){return t instanceof e&&this.x===t.x&&this.y===t.y};e.prototype.add=function(t){return t instanceof e?new e(this.x+t.x,this.y+t.y):null};e.prototype.dot=function(t){return t instanceof e?this.x*t.x+this.y*t.y:null};e.prototype.perpendicularAtTo=function(t){if(!(t instanceof e))return null;var r=t.add(this.projectionOfOnto(t).invert);return new e(r.x,r.y)};e.prototype.projectionOfOnto=function(t){if(!(t instanceof e))return null;var r=t.normal.scale(this.dot(t.normal));return new e(r.x,r.y)};e.prototype.scale=function(t){return new e(this.x*t,this.y*t)};e.prototype.unitNormalDot=function(t){return t instanceof e?this.normal.x*t.normal.x+this.normal.y*t.normal.y:null};e.prototype.reflect=function(t){if(!(t instanceof e))return null;if(t.isZero)return this;var r=t.normal;return this.add(r.scale(2*r.dot(this)).invert)};e.prototype.round=function(t){if(t===void 0){t=0}return new e(g(this.x,t),g(this.y,t))};return e}(A);var M=function(t){__extends(e,t);function e(e,r){return t.call(this,e,r)||this}e.prototype.isAbove=function(t){return this.y<t.y};e.prototype.isBelow=function(t){return this.y>t.y};e.prototype.isLeftOf=function(t){return this.x<t.x};e.prototype.isRightOf=function(t){return this.x>t.x};e.prototype.distanceFrom=function(t){return new F(this.x-t.x,this.y-t.y)};e.prototype.distanceTo=function(t){return this.distanceFrom(t).invert};e.canParse=function(t){return t instanceof e||A.canParse(t)};e.parse=function(t){if(t instanceof e)return t;var r=A.parse(t);return new e(r.x,r.y)};e.tryParse=function(t){return p((function(){return e.parse(t)}),null)};return e}(A);var E=function(){function t(t,e,r,n){if(t===void 0){t=0}if(e===void 0){e=0}if(r===void 0){r=0}if(n===void 0){n=0}this.origin=new M(t,e),this.dimensions=new A(r,n),this.diagonal=M.parse(this.origin.add(this.dimensions)),this.center=this.diagonal.half}t.prototype.contains=function(t){return this.origin.isAbove(t)&&this.origin.isLeftOf(t)&&this.diagonal.isRightOf(t)&&this.diagonal.isBelow(t)};t.prototype.aspectToFit=function(e){var r=this.dimensions,n=e.dimensions,i=n.x,o=n.y;var u=r.x,a=r.y;return u>a&&0!==u?(a*=i/u,u=i,a>o&&(a=o,u*=a/r.y)):a>o&&(u*=o/a,a=o),new t(this.origin.x,this.origin.y,u,a)};return t}();t("M",E);var B=function(){function t(){if(this.constructor===t)throw new Error("Cannot instantiate abstract class: AbstractSpecification")}t.prototype.and=function(t){return new D(this,t)};t.prototype.or=function(t){return new I(this,t)};t.prototype.xor=function(t){return new T(this,t)};t.prototype.not=function(t){return new $(this,t)};t.prototype.isSatisfiedBy=function(){throw new Error("Abstract method must be implemented.")};return t}();var D=function(t){__extends(e,t);function e(e,r){var n=this;n=t.call(this)||this,n._specificationA=e,n._specificationB=r;return n}e.prototype.isSatisfiedBy=function(t){return this._specificationA.isSatisfiedBy(t)&&this._specificationB.isSatisfiedBy(t)};return e}(B);var I=function(t){__extends(e,t);function e(e,r){var n=this;n=t.call(this)||this,n._specificationA=e,n._specificationB=r;return n}e.prototype.isSatisfiedBy=function(t){return this._specificationA.isSatisfiedBy(t)||this._specificationB.isSatisfiedBy(t)};return e}(B);var T=function(t){__extends(e,t);function e(e,r){var n=this;n=t.call(this)||this,n._specificationA=e,n._specificationB=r;return n}e.prototype.isSatisfiedBy=function(t){return!this._specificationA.isSatisfiedBy(t)!=!this._specificationB.isSatisfiedBy(t)};return e}(B);var $=function(t){__extends(e,t);function e(e){var r=this;r=t.call(this)||this,r._specification=e;return r}e.prototype.isSatisfiedBy=function(t){return!this._specification.isSatisfiedBy(t)};return e}(B);var z=function(){function t(){if(this.constructor===t)throw new Error("Cannot instantiate abstract class.")}t.prototype.execute=function(){throw new Error("Abstract method must be implemented.")};return t}();var L=t("j",(function(t,e,r){if(r===void 0){r=!1}var n;return function(){var i=[];for(var o=0;o<arguments.length;o++){i[o]=arguments[o]}var u=r&&!n;clearTimeout(n),n=setTimeout((function(){n=null,r||t.apply(void 0,i)}),e),u&&t.apply(void 0,i)}})),k=function(t,e){return r.isPromise(t)||r.isAsyncFunction(t)?r.isFunction(t.then)?t.then((function(t){return t&&e()})):t().then((function(t){return t&&e()})):r.isFunction(t)&&t?t()&&e():r.isTrue(t)&&e()};var C=function(){function t(t){this._milliseconds=t}Object.defineProperty(t.prototype,"isRunning",{get:function(){return r.exists(this._intervalId)},enumerable:false,configurable:true});t.prototype.onInterval=function(t){return this.clear(),this._didInterval=t,this};t.prototype.start=function(){var t=this;return this.clear(),this._intervalId=setInterval((function(){t._didInterval()}),this._milliseconds),this};t.prototype.clear=function(){return clearInterval(this._intervalId),this._intervalId=null,this};return t}();t("L",C);var q=function(t){return setTimeout(t,0)};var Y=function(){function t(t){this._milliseconds=t}Object.defineProperty(t.prototype,"isRunning",{get:function(){return r.exists(this._timeoutId)},enumerable:false,configurable:true});t.prototype.onTimeout=function(t){return this.clear(),this._didTimeout=t,this};t.prototype.start=function(){var t=this;return this.clear(),this._timeoutId=setTimeout((function(){t._didTimeout()}),this._milliseconds),this};t.prototype.clear=function(){return clearTimeout(this._timeoutId),this._timeoutId=null,this};return t}();t("C",Y);var Z=t("Y",(function(t){return new Promise((function(e){return setTimeout(e,t)}))}));function R(t){var e=isNaN(parseInt(t))||t<0||t>24?24:t,r=Math.random().toString().substring(2),n=Math.random().toString().substring(2);return r.concat(n).substring(0,e)}function U(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}var W=t("R",Object.freeze({__proto__:null,uid:R,uuid:U,suid:function(){return Symbol(R())},suuid:function(){return Symbol(U())}}));var G=Object.freeze({__proto__:null,pattern:function(t){return t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\")},escape:function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i})}}}));
@@ -1,3 +0,0 @@
1
- class t{static isNull(t){return null===t}static isEmpty(e){return t.isString(e)&&""===e||t.isArray(e)&&e.length<1||t.isObjectLiteral(e)&&Object.keys(e).length<1}static isUndefined(t){return void 0===t}static isZero(t){return 0===t}static exists(e){return !(t.isUndefined(e)||t.isNull(e))}static isNullOrEmpty(e){return !t.exists(e)||t.isEmpty(e)}static isArray(t){return Array.isArray(t)}static isBool(t){return "boolean"==typeof t}static isTrue(e){return t.isBool(e)&&!0===e}static isFalse(e){return t.isBool(e)&&!1===e}static isDate(t){return t instanceof Date}static isNumber(t){return ("number"==typeof t||t instanceof Number)&&!isNaN(t)}static isEven(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0}static isOdd(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)}static isString(t){return "string"==typeof t||t instanceof String}static isFunction(t){return t instanceof Function}static isAsyncFunction(e){try{return "AsyncFunction"===Object.getPrototypeOf(e).constructor.name||t.isFunction(e)&&/^async/.test(e.toString())||t.isFunction(e().then)}catch(t){return !1}}static isPromise(t){return t instanceof Promise}static isObject(e){return t.exists(e)&&"object"==typeof e&&!(t.isBool(e)||t.isNumber(e)||t.isDate(e)||t.isArray(e)||t.isString(e)||t.isFunction(e))}static isObjectLiteral(e){return t.isObject(e)&&e.constructor==={}.constructor}static isTruthy(e){return !t.isFalsy(e)}static isFalsy(e){return t.isZero(e)||t.isFalse(e)||t.isNullOrEmpty(e)||isNaN(e)}}function e(...t){return "".concat(...t)}function r(t,...e){return e.reduce(((t,e,r)=>t.replace(new RegExp(`\\{${r}\\}`,"g"),e&&e.toString?e.toString():e)),t)}function i(t){return s(n(t))}function s(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/^[\s\n]*/,""):e}function n(e){return t.exists(e)&&t.isFunction(e.replace)?e.replace(/[\s\n]*$/,""):e}var a=Object.freeze({__proto__:null,build:e,chunk:function(e,r=0){if(!t.isString(e)||Number.isNaN(r)||r<0)return [];if(r<e.length){let t=0;const i=r||e.length,s=[];for(;t<e.length;)s.push(e.slice(t,t+i)),t+=i;return s}return [e]},format:r,trim:i,trimStart:s,trimEnd:n,capitalize:function(t=""){return (t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(e,r,i="_"){return t.isFunction(r)?r(e):t.isString(r)&&e.split("").reduce(((t,e)=>t.replace(new RegExp(i),e)),r)},unmask:function(e,r,i="_"){const s=new RegExp(i);return t.isFunction(r)?r(e):t.isString(r)&&e.split("").reduce(((t,e,i)=>!s.test(e)&&s.test(r.charAt(i))?t+e:t),"")}});class u{_first;_middle;_last;constructor(t="",e="",r=""){this._first=t||"",this._middle=e||"",this._last=r||"";}get first(){return this._first}get middle(){return this._middle}get last(){return this._last}get full(){const e=t.isNullOrEmpty(this.middle)?"F L":"F M L";return i(this.toString(e).replace(/\s+/," "))}get initials(){const e=t.isNullOrEmpty(this.middle)?"f.l.":"f.m.l.";return i(this.toString(e).replace(/\s{2,}/,""))}equals(e){return t.exists(e)&&e.first===this.first&&e.middle===this.middle&&e.last===this.last}toString(e){const r=this.first.charAt(0),i=this.middle.charAt(0),s=this.last.charAt(0);return t.isNullOrEmpty(e)?this.full:e.replace(/([FfMmLl])/g,"{$1}").replace("{F}",this.first).replace("{M}",this.middle).replace("{L}",this.last).replace("{f}",r).replace("{m}",i).replace("{l}",s)}}var o=t=>t.reduce(((t,e)=>(t.includes(e)||t.push(e),t)),[]);class c{_list;_head;constructor(t){this._list=t,this._head=0;}get isEmpty(){return this.length<1}get index(){return this._head}get length(){return this._list.length}get current(){return this._list[this._head]}get next(){const{length:t}=this;let e=this._head;return this._head=e++<t-1?e:0,this.current}get prev(){const{length:t}=this;let e=this._head;return this._head=--e<0?t-1:e,this.current}get peekNext(){const{length:t}=this,e=this._head;return this._list[e+1<t?e+1:0]}get peekPrev(){const{length:t}=this,e=this._head;return this._list[e-1<0?t-1:e-1]}}function h(t,e){try{return t()}catch{return e}}let l;h.async=async(t,e)=>{try{return await t()}catch{return e}};class d{constructor(t,e,r){if(e<1||e>12)throw new Error("Invalid month at Assert.DayPoint");if(r<1||r>y(e,t))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(t,e-1,r):new Date,this._day=this._value.getDay(),this._date=r,this._month=e,this._year=t;}get value(){return this._value}get day(){return this._day}get date(){return this._date}get month(){return this._month}get year(){return this._year}get shortYear(){const t=this._year.toString();return parseInt(t.substr(t.length-2))}get isWeekday(){const t=this._day;return t>0&&t<6}get isWeekend(){return !this.isWeekday}get isLeapYear(){return f(this._year)}get nextDay(){return p(this,1,0,0)}get prevDay(){return p(this,-1,0,0)}get nextMonth(){return p(this,0,1,0)}get prevMonth(){return p(this,0,-1,0)}get nextYear(){return p(this,0,0,1)}get prevYear(){return p(this,0,0,-1)}get firstDayOfMonth(){return new d(this._year,this._month,1)}get lastDayOfMonth(){return new d(this._year,this._month,y(this._month,this._year))}add(t,e,r){function i(t,e,r){let i=t,s=e;for(;s--;)i=i[r];return i}const{abs:s}=Math,n=s(t),a=s(r),u=s(e),o=r<0?"prevDay":"nextDay",c=e<0?"prevMonth":"nextMonth";return i(i(i(this,n,t<0?"prevYear":"nextYear"),u,c),a,o)}isBefore(t){return !(this.isAfter(t)||this.equals(t))}isAfter(t){const e=this._year,r=t.year,i=this._month,s=t.month;return e>r||(e===r&&i>s||e===r&&i===s&&this._date>t.date)}equals(t){return this._year===t.year&&this._month===t.month&&this._date===t.date}toString(t="mm/dd/yyyy"){const e=/y{3,}/i.test(t)?this._year:this.shortYear,i=this._month,s=this._date,n=/m{2}/i.test(t)&&i<10?"0{1}":"{1}",a=/d{2}/i.test(t)&&s<10?"0{2}":"{2}";return r(t.replace(/y+/gi,"{0}").replace(/m+/gi,n).replace(/d+/gi,a),e,i,s)}toDate(){return this._value}toJson(){return this._value.toJSON()}static canParse(e){return t.isString(e)||t.isNumber(e)||t.isDate(e)?!isNaN(new Date(e).valueOf()):e instanceof d}static parse(e){if(e instanceof d)return e;let s=t.isString(e)?i(e).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):e;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(s)){const t=s.split("-"),[e]=t;t.push(e),t.shift(),s=t.join("/");}const n=new Date(s);if(!t.exists(s)||Number.isNaN(n.valueOf()))throw new Error(r("Cannot parse value= {0}",s));return new d(n.getFullYear(),n.getMonth()+1,n.getDate())}static tryParse(t){return h((()=>d.parse(t)),null)}static assumeNow(t){l=d.parse(t);}static get today(){return l||d.parse(new Date)}}function y(e,r){return 2===e?f(r)?29:28:e<8&&t.isEven(e)||e>7&&t.isOdd(e)?30:31}function f(t){const r=t.toString().split(/\B/);return parseFloat(e(r[r.length-2],r[r.length-1]))%4==0}function p(t,e,r,i){const s=t.month,n=t.year,a=t.date,u=r,o=i;let c=a+e,h=s+u,l=n+o;if(a+e>y(s,n)&&(c=1,h=s+u+1),a+e<1){const e=t.prevMonth;c=y(e.month,e.year),h=s+u-1;}return h>12&&(h=1,l=n+o+1),h<1&&(h=12,l=n+o-1),new d(l,h,c)}function m(t,e=0){const r=Math.pow(10,-e);return Math.round(parseFloat((t*r).toFixed(Math.abs(e))))/r}function g(t,e=0){return m(t+5*Math.pow(10,e-1),e)}function _(t,e=0){if(0===t)return 0;return m(t-5*Math.pow(10,e-1),e)}function w(t,e=0){return t<0?g(t,e):_(t,e)}function x(t){const e=(t,r=0,i=1)=>0<t?e(--t,i,r+i):r;return e(t)}function v(t){let e=0,r=1,i=0;for(;t>1;)i=e,e=r,r+=i,t--;return t<1?e:r}function b(t,e=0){const r=parseInt(t);return Number.isNaN(r)?e:r}var N=Object.freeze({__proto__:null,random:function(t=0,e=1){return Math.random()*(e-t)+t},round:m,roundUp:g,roundDown:_,roundTowardZero:w,gcd:function t(e,r){return 0===r?Math.abs(e):t(r,e%r)},fib:x,fib2:v,fibArray:function(t){return Array(t).fill(0).map((()=>x(--t))).reverse()},fib2Array:function(t){return Array(t).fill(0).map((()=>v(--t))).reverse()},tryParseInt:b,tryParseFloat:function(t,e=0){const r=parseFloat(t);return Number.isNaN(r)?e:r}});class S{constructor(e=0,r){if(!t.isNumber(e))throw new Error("Money requires valid numeric amount.");const i=w(e);this._cents=/\./.test(e)?parseFloat(e.toString().replace(/\d+\./,".")):0,this._dollars=i,this._currency=r||"$",this._value=e;}get cents(){return this._cents}get dollars(){return this._dollars}get currency(){return this._currency}get value(){return this._value}add(t){return A(this,t),new S(this.value+t.value,this.currency)}subtract(t){return A(this,t),new S(this.value-t.value,this.currency)}multiply(e){if(!t.isNumber(e))throw new Error(`Invalid factor ${e}`);return new S(this.value*e,this.currency)}divide(e){if(!t.isNumber(e))throw new Error(`Invalid divisor ${e}`);return new S(this.value/e,this.currency)}equals(t){return this.isOfCurrency(t)&&this.value===t.value}isGreaterThan(t){return A(this,t),this.value>t.value}isLessThan(t){return A(this,t),this.value<t.value}get nearestWhole(){return new S(m(this.value,0),this.currency)}get nearestDollar(){return this.nearestWhole}round(t=-2){return new S(m(this.value,t),this.currency)}roundDown(t=-2){return new S(_(this.value,t),this.currency)}roundUp(t=-2){return new S(g(this.value,t),this.currency)}exchange(t,e){return new S(this.multiply(t).value,e)}isOfCurrency(t){return this.currency===t.currency}toString(t="d.c2",e){const[,r,i]=/d(.)c(\d+)/.exec(t),s=e||{".":",",",":"."}[r],n=function(t,e){if(0===t)return "0";const r=t.toString().replace(/[^\d]/,"").split(/\B/);let i=0;return r.reverse().reduce(((t,r)=>(i>0&&!(i%3)&&(t.push(e),i=0),t.push(r),i++,t)),[]).reverse().join("").replace(/[^\d]$/,"")}(this.dollars,s||","),a=function(t,e){const r=t.toString().replace(/[^\d]|0\./g,""),i="0".repeat(e);return `${r}${i}`.slice(0,e)}(this.cents,b(i,2)),u=`${this.currency}${n}${r}${a}`;return this.value<0?`(${u})`:u}static zero(t){return new S(0,t)}static isMoney(t){return t instanceof S}static canParse(t){try{return S.parse(t),!0}catch(t){return !1}}static parse(e){if(t.isNumber(e))return new S(e);let r=e;if(/,\d{2}$/.test(e)){const t=e.split(","),i=t.pop();r=`${t.join().replace(/\./g,",")}.${i}`;}const i=/(\(.*\))|(-)/.test(r),s=i?1:0,n=r.match(/[^\d.,-]/g),a=t.isArray(n)?n[s]:null,u=parseFloat(r.replace(/[^\d.]/g,""));return new S(i?-u:u,a)}static tryParse(t){return h((()=>S.parse(t)),null)}}function A(t,e){if(!t.isOfCurrency(e))throw new Error(`Invalid operation on non-conforming currencies. ${t.currency} !== ${e.currency}`)}class ${constructor(e=0,r=0){if(!t.isNumber(e)||!t.isNumber(r))throw new Error("Coord requires numeric x and y values");this._x=e,this._y=r;}get x(){return this._x}get y(){return this._y}get value(){return {x:this.x,y:this.y}}get half(){return this.divide(new $(2,2))}get abs(){return new $(Math.abs(this.x),Math.abs(this.y))}equals(t){return this.x===t.x&&this.y===t.y}add(t){return new $(this.x+t.x,this.y+t.y)}subtract(t){return new $(this.x-t.x,this.y-t.y)}multiply(t){return new $(this.x*t.x,this.y*t.y)}divide(t){return new $(this.x/t.x,this.y/t.y)}round(t=0){return new $(m(this.x,t),m(this.y,t))}toString(){return `(${this.x},${this.y})`}static canParse(e){return t.isArray(e)?!(Number.isNaN(e[0])||Number.isNaN(e[1])):t.isObjectLiteral(e)&&"x"in e&&"y"in e?!(Number.isNaN(e.x)||Number.isNaN(e.y)):e instanceof $}static parse(e){return t.exists(e)?e instanceof $?e:t.isArray(e)?new $(e[0],e[1]):t.isObjectLiteral(e)&&t.exists(e.x)&&t.exists(e.y)?new $(e.x,e.y):null:null}static tryParse(t){return h((()=>$.parse(t)),null)}}class F extends ${constructor(t=0,e=0){super(t,e),this._lengthSquared=Math.pow(t,2)+Math.pow(e,2),this._magnitude=Math.sqrt(this._lengthSquared),this._unitNormalX=0===t&&0===e?0:t/this._magnitude,this._unitNormalY=0===t&&0===e?0:e/this._magnitude;}get magnitude(){return this._magnitude}get isZero(){return 0===this.x&&0===this.y}get normal(){return new F(this._unitNormalX,this._unitNormalY)}get invert(){return new F(-this.x,-this.y)}get norm(){return new F(Math.abs(this.x),Math.abs(this.y))}get perpendicular(){return new F(-this.y,this.x)}equals(t){return t instanceof F&&this.x===t.x&&this.y===t.y}add(t){return t instanceof F?new F(this.x+t.x,this.y+t.y):null}dot(t){return t instanceof F?this.x*t.x+this.y*t.y:null}perpendicularAtTo(t){if(!(t instanceof F))return null;const e=t.add(this.projectionOfOnto(t).invert);return new F(e.x,e.y)}projectionOfOnto(t){if(!(t instanceof F))return null;const e=t.normal.scale(this.dot(t.normal));return new F(e.x,e.y)}scale(t){return new F(this.x*t,this.y*t)}unitNormalDot(t){return t instanceof F?this.normal.x*t.normal.x+this.normal.y*t.normal.y:null}reflect(t){if(!(t instanceof F))return null;if(t.isZero)return this;const e=t.normal;return this.add(e.scale(2*e.dot(this)).invert)}round(t=0){return new F(m(this.x,t),m(this.y,t))}}class O extends ${constructor(t,e){super(t,e);}isAbove(t){return this.y<t.y}isBelow(t){return this.y>t.y}isLeftOf(t){return this.x<t.x}isRightOf(t){return this.x>t.x}distanceFrom(t){return new F(this.x-t.x,this.y-t.y)}distanceTo(t){return this.distanceFrom(t).invert}static canParse(t){return t instanceof O||$.canParse(t)}static parse(t){if(t instanceof O)return t;const e=$.parse(t);return new O(e.x,e.y)}static tryParse(t){return h((()=>O.parse(t)),null)}}class M{constructor(t=0,e=0,r=0,i=0){this.origin=new O(t,e),this.dimensions=new $(r,i),this.diagonal=O.parse(this.origin.add(this.dimensions)),this.center=this.diagonal.half;}contains(t){return this.origin.isAbove(t)&&this.origin.isLeftOf(t)&&this.diagonal.isRightOf(t)&&this.diagonal.isBelow(t)}aspectToFit(t){const e=this.dimensions,r=t.dimensions,i=r.x,s=r.y;let n=e.x,a=e.y;return n>a&&0!==n?(a*=i/n,n=i,a>s&&(a=s,n*=a/e.y)):a>s&&(n*=s/a,a=s),new M(this.origin.x,this.origin.y,n,a)}}class B{constructor(){if(this.constructor===B)throw new Error("Cannot instantiate abstract class: AbstractSpecification")}and(t){return new E(this,t)}or(t){return new I(this,t)}xor(t){return new D(this,t)}not(t){return new T(this,t)}isSatisfiedBy(){throw new Error("Abstract method must be implemented.")}}class E extends B{constructor(t,e){super(),this._specificationA=t,this._specificationB=e;}isSatisfiedBy(t){return this._specificationA.isSatisfiedBy(t)&&this._specificationB.isSatisfiedBy(t)}}class I extends B{constructor(t,e){super(),this._specificationA=t,this._specificationB=e;}isSatisfiedBy(t){return this._specificationA.isSatisfiedBy(t)||this._specificationB.isSatisfiedBy(t)}}class D extends B{constructor(t,e){super(),this._specificationA=t,this._specificationB=e;}isSatisfiedBy(t){return !this._specificationA.isSatisfiedBy(t)!=!this._specificationB.isSatisfiedBy(t)}}class T extends B{constructor(t){super(),this._specification=t;}isSatisfiedBy(t){return !this._specification.isSatisfiedBy(t)}}class P{constructor(){if(this.constructor===P)throw new Error("Cannot instantiate abstract class.")}execute(){throw new Error("Abstract method must be implemented.")}}var j=(t,e,r=!1)=>{let i;return (...s)=>{const n=r&&!i;clearTimeout(i),i=setTimeout((()=>{i=null,r||t(...s);}),e),n&&t(...s);}},z=(e,r)=>t.isPromise(e)||t.isAsyncFunction(e)?t.isFunction(e.then)?e.then((t=>t&&r())):e().then((t=>t&&r())):t.isFunction(e)&&e?e()&&r():t.isTrue(e)&&r();class L{_milliseconds;_intervalId;_didInterval;constructor(t){this._milliseconds=t;}get isRunning(){return t.exists(this._intervalId)}onInterval(t){return this.clear(),this._didInterval=t,this}start(){return this.clear(),this._intervalId=setInterval((()=>{this._didInterval();}),this._milliseconds),this}clear(){return clearInterval(this._intervalId),this._intervalId=null,this}}var q=t=>setTimeout(t,0);class C{_milliseconds;_timeoutId;_didTimeout;constructor(t){this._milliseconds=t;}get isRunning(){return t.exists(this._timeoutId)}onTimeout(t){return this.clear(),this._didTimeout=t,this}start(){return this.clear(),this._timeoutId=setTimeout((()=>{this._didTimeout();}),this._milliseconds),this}clear(){return clearTimeout(this._timeoutId),this._timeoutId=null,this}}var Y=t=>new Promise((e=>setTimeout(e,t)));function k(t){const e=isNaN(parseInt(t))||t<0||t>24?24:t,r=Math.random().toString().substring(2),i=Math.random().toString().substring(2);return r.concat(i).substring(0,e)}function Z(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}var R=Object.freeze({__proto__:null,uid:k,uuid:Z,suid:function(){return Symbol(k())},suuid:function(){return Symbol(Z())}});var U=Object.freeze({__proto__:null,pattern:t=>t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:t=>t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});
2
-
3
- export { C, L, M, R, Y, a, c, j, o, t };