@watermarkinsights/ripple 3.8.0-2 → 3.8.0-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/{functions-edfdd03f.js → functions-9b5b7f3c.js} +488 -509
  3. package/dist/cjs/{global-ffd0392c.js → global-fad306c8.js} +65 -65
  4. package/dist/cjs/{http-service-9e8c4dd5.js → http-service-494d81de.js} +49 -49
  5. package/dist/cjs/{index-0e7e3668.js → index-cd179539.js} +64 -96
  6. package/dist/cjs/{interfaces-30a74c1f.js → interfaces-a3338581.js} +29 -29
  7. package/dist/cjs/loader.cjs.js +4 -4
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +79 -79
  9. package/dist/cjs/priv-datepicker.cjs.entry.js +674 -674
  10. package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
  11. package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
  12. package/dist/cjs/ripple.cjs.js +4 -4
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +342 -342
  14. package/dist/cjs/wm-button.cjs.entry.js +228 -238
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
  16. package/dist/cjs/wm-chart.cjs.entry.js +475 -475
  17. package/dist/cjs/wm-datepicker.cjs.entry.js +273 -273
  18. package/dist/cjs/wm-input.cjs.entry.js +136 -136
  19. package/dist/cjs/wm-modal-footer.cjs.entry.js +32 -32
  20. package/dist/cjs/wm-modal-header.cjs.entry.js +35 -35
  21. package/dist/cjs/wm-modal.cjs.entry.js +164 -164
  22. package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
  23. package/dist/cjs/wm-network-uploader.cjs.entry.js +422 -422
  24. package/dist/cjs/wm-option_2.cjs.entry.js +497 -497
  25. package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
  26. package/dist/cjs/wm-search.cjs.entry.js +233 -233
  27. package/dist/cjs/wm-snackbar.cjs.entry.js +172 -172
  28. package/dist/cjs/wm-tab-item_3.cjs.entry.js +297 -297
  29. package/dist/cjs/wm-tag-input.cjs.entry.js +581 -581
  30. package/dist/cjs/wm-timepicker.cjs.entry.js +385 -385
  31. package/dist/cjs/wm-toggletip.cjs.entry.js +126 -126
  32. package/dist/cjs/wm-uploader.cjs.entry.js +348 -348
  33. package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
  34. package/dist/collection/collection-manifest.json +2 -10
  35. package/dist/collection/components/wm-action-menu/wm-action-menu.css +1 -0
  36. package/dist/collection/components/wm-action-menu/wm-action-menu.js +460 -460
  37. package/dist/collection/components/wm-button/wm-button.css +3 -1
  38. package/dist/collection/components/wm-button/wm-button.js +491 -503
  39. package/dist/collection/components/wm-chart/priv-chart-popover/priv-chart-popover.css +1 -0
  40. package/dist/collection/components/wm-chart/priv-chart-popover/priv-chart-popover.js +232 -232
  41. package/dist/collection/components/wm-chart/wm-chart-slice.js +115 -115
  42. package/dist/collection/components/wm-chart/wm-chart.css +1 -0
  43. package/dist/collection/components/wm-chart/wm-chart.js +718 -718
  44. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.css +5 -3
  45. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1039 -1039
  46. package/dist/collection/components/wm-datepicker/wm-datepicker.css +3 -1
  47. package/dist/collection/components/wm-datepicker/wm-datepicker.js +483 -483
  48. package/dist/collection/components/wm-input/wm-input.css +3 -1
  49. package/dist/collection/components/wm-input/wm-input.js +423 -423
  50. package/dist/collection/components/wm-menuitem/wm-menuitem.css +1 -0
  51. package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
  52. package/dist/collection/components/wm-modal/wm-modal-footer.css +1 -0
  53. package/dist/collection/components/wm-modal/wm-modal-footer.js +141 -141
  54. package/dist/collection/components/wm-modal/wm-modal-header.css +1 -0
  55. package/dist/collection/components/wm-modal/wm-modal-header.js +92 -92
  56. package/dist/collection/components/wm-modal/wm-modal.css +1 -0
  57. package/dist/collection/components/wm-modal/wm-modal.js +461 -461
  58. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +1 -0
  59. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
  60. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +1 -0
  61. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
  62. package/dist/collection/components/wm-navigator/wm-navigator.css +1 -0
  63. package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
  64. package/dist/collection/components/wm-option/wm-option.css +4 -2
  65. package/dist/collection/components/wm-option/wm-option.js +422 -422
  66. package/dist/collection/components/wm-pagination/wm-pagination.css +1 -0
  67. package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
  68. package/dist/collection/components/wm-search/wm-search.css +1 -0
  69. package/dist/collection/components/wm-search/wm-search.js +480 -480
  70. package/dist/collection/components/wm-select/wm-select.css +4 -2
  71. package/dist/collection/components/wm-select/wm-select.js +720 -720
  72. package/dist/collection/components/wm-snackbar/wm-snackbar.css +4 -2
  73. package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
  74. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +1 -0
  75. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
  76. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +1 -0
  77. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
  78. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +1 -0
  79. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
  80. package/dist/collection/components/wm-tag-input/wm-tag-input.css +4 -2
  81. package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
  82. package/dist/collection/components/wm-timepicker/wm-timepicker.css +4 -2
  83. package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
  84. package/dist/collection/components/wm-toggletip/wm-toggletip.css +3 -1
  85. package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
  86. package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.css +3 -1
  87. package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +753 -753
  88. package/dist/collection/components/wm-uploader/wm-uploader.css +3 -1
  89. package/dist/collection/components/wm-uploader/wm-uploader.js +748 -748
  90. package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
  91. package/dist/collection/dev/scripts.js +20 -20
  92. package/dist/collection/global/__mocks__/functions.js +6 -6
  93. package/dist/collection/global/functions.js +449 -445
  94. package/dist/collection/global/global.js +72 -72
  95. package/dist/collection/global/interfaces.js +49 -49
  96. package/dist/collection/global/services/__mocks__/http-service.js +130 -130
  97. package/dist/collection/global/services/http-service.js +50 -50
  98. package/dist/collection/lang/lang.js +5 -5
  99. package/dist/collection/lang/missing.js +39 -39
  100. package/dist/collection/lang/piglatin.js +93 -93
  101. package/dist/esm/{functions-6cd52dcf.js → functions-a8d1ed3e.js} +488 -510
  102. package/dist/esm/{global-51d6ea5f.js → global-191b6775.js} +65 -65
  103. package/dist/esm/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +49 -49
  104. package/dist/esm/{index-cd8f9ae2.js → index-66f8130e.js} +64 -96
  105. package/dist/esm/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +29 -29
  106. package/dist/esm/loader.js +4 -4
  107. package/dist/esm/polyfills/core-js.js +0 -0
  108. package/dist/esm/polyfills/css-shim.js +1 -1
  109. package/dist/esm/polyfills/dom.js +0 -0
  110. package/dist/esm/polyfills/es5-html-element.js +0 -0
  111. package/dist/esm/polyfills/index.js +0 -0
  112. package/dist/esm/polyfills/system.js +0 -0
  113. package/dist/esm/priv-chart-popover.entry.js +79 -79
  114. package/dist/esm/priv-datepicker.entry.js +674 -674
  115. package/dist/esm/priv-navigator-button.entry.js +19 -19
  116. package/dist/esm/priv-navigator-item.entry.js +24 -24
  117. package/dist/esm/ripple.js +4 -4
  118. package/dist/esm/wm-action-menu_2.entry.js +342 -342
  119. package/dist/esm/wm-button.entry.js +228 -238
  120. package/dist/esm/wm-chart-slice.entry.js +14 -14
  121. package/dist/esm/wm-chart.entry.js +475 -475
  122. package/dist/esm/wm-datepicker.entry.js +273 -273
  123. package/dist/esm/wm-input.entry.js +136 -136
  124. package/dist/esm/wm-modal-footer.entry.js +32 -32
  125. package/dist/esm/wm-modal-header.entry.js +35 -35
  126. package/dist/esm/wm-modal.entry.js +164 -164
  127. package/dist/esm/wm-navigator.entry.js +269 -269
  128. package/dist/esm/wm-network-uploader.entry.js +422 -422
  129. package/dist/esm/wm-option_2.entry.js +497 -497
  130. package/dist/esm/wm-pagination.entry.js +168 -168
  131. package/dist/esm/wm-search.entry.js +233 -233
  132. package/dist/esm/wm-snackbar.entry.js +172 -172
  133. package/dist/esm/wm-tab-item_3.entry.js +297 -297
  134. package/dist/esm/wm-tag-input.entry.js +581 -581
  135. package/dist/esm/wm-timepicker.entry.js +385 -385
  136. package/dist/esm/wm-toggletip.entry.js +126 -126
  137. package/dist/esm/wm-uploader.entry.js +348 -348
  138. package/dist/esm/wm-wrapper.entry.js +13 -13
  139. package/dist/esm-es5/functions-a8d1ed3e.js +15 -0
  140. package/dist/esm-es5/{global-51d6ea5f.js → global-191b6775.js} +1 -1
  141. package/dist/esm-es5/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +1 -1
  142. package/dist/esm-es5/index-66f8130e.js +1 -0
  143. package/dist/esm-es5/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +0 -0
  144. package/dist/esm-es5/loader.js +1 -1
  145. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  146. package/dist/esm-es5/priv-datepicker.entry.js +1 -1
  147. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  148. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  149. package/dist/esm-es5/ripple.js +1 -1
  150. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  151. package/dist/esm-es5/wm-button.entry.js +1 -1
  152. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  153. package/dist/esm-es5/wm-chart.entry.js +1 -1
  154. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  155. package/dist/esm-es5/wm-input.entry.js +1 -1
  156. package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
  157. package/dist/esm-es5/wm-modal-header.entry.js +1 -1
  158. package/dist/esm-es5/wm-modal.entry.js +1 -1
  159. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  160. package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
  161. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  162. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  163. package/dist/esm-es5/wm-search.entry.js +1 -1
  164. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  165. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  166. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  167. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  168. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  169. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  170. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  171. package/dist/loader/index.d.ts +1 -0
  172. package/dist/ripple/p-04bd5281.entry.js +1 -0
  173. package/dist/ripple/p-07353b27.system.js +1 -0
  174. package/dist/ripple/p-0b2a9a9a.entry.js +1 -0
  175. package/dist/ripple/p-0c58f50d.entry.js +1 -0
  176. package/dist/ripple/p-0d8bd4ee.entry.js +1 -0
  177. package/dist/ripple/p-0deeb79c.system.entry.js +1 -0
  178. package/dist/ripple/{p-45ee5b9d.system.entry.js → p-1fa979d7.system.entry.js} +1 -1
  179. package/dist/ripple/p-2145d012.entry.js +1 -0
  180. package/dist/ripple/p-2544cbd6.system.entry.js +1 -0
  181. package/dist/ripple/{p-c19298a5.system.entry.js → p-261ea633.system.entry.js} +1 -1
  182. package/dist/ripple/p-29a232bc.entry.js +1 -0
  183. package/dist/ripple/{p-9a9743f5.system.entry.js → p-2d49a016.system.entry.js} +1 -1
  184. package/dist/ripple/{p-284a9749.system.entry.js → p-2d63611b.system.entry.js} +1 -1
  185. package/dist/ripple/p-32733046.entry.js +1 -0
  186. package/dist/ripple/p-39b93119.entry.js +1 -0
  187. package/dist/ripple/p-3fb2fff9.entry.js +1 -0
  188. package/dist/ripple/{p-888bec42.js → p-43f1298b.js} +0 -0
  189. package/dist/ripple/p-510c5446.system.entry.js +1 -0
  190. package/dist/ripple/p-566a8814.entry.js +1 -0
  191. package/dist/ripple/p-5f3e2db4.entry.js +1 -0
  192. package/dist/ripple/{p-1d7049b5.system.entry.js → p-616d11c9.system.entry.js} +1 -1
  193. package/dist/ripple/p-639ad0f5.system.entry.js +1 -0
  194. package/dist/ripple/p-6a4cc1e1.system.entry.js +1 -0
  195. package/dist/ripple/p-6facd692.entry.js +1 -0
  196. package/dist/ripple/p-764def28.system.entry.js +1 -0
  197. package/dist/ripple/p-78473c96.system.entry.js +1 -0
  198. package/dist/ripple/p-7a684273.entry.js +1 -0
  199. package/dist/ripple/{p-e758db14.system.entry.js → p-7a9aac92.system.entry.js} +1 -1
  200. package/dist/ripple/{p-504579c2.system.entry.js → p-7bc744bf.system.entry.js} +1 -1
  201. package/dist/ripple/p-7c879f30.system.entry.js +1 -0
  202. package/dist/ripple/p-7d6552fb.entry.js +1 -0
  203. package/dist/ripple/{p-83028f2c.js → p-7f41b5fc.js} +1 -1
  204. package/dist/ripple/p-80d598f9.js +16 -0
  205. package/dist/ripple/{p-4ed98fb1.system.entry.js → p-831c3da1.system.entry.js} +1 -1
  206. package/dist/ripple/p-835d8720.system.entry.js +1 -0
  207. package/dist/ripple/p-8b0eb05e.entry.js +1 -0
  208. package/dist/ripple/p-8dab4579.entry.js +1 -0
  209. package/dist/ripple/p-99548d58.system.js +1 -0
  210. package/dist/ripple/p-99db8501.entry.js +1 -0
  211. package/dist/ripple/p-9baa3039.js +1 -0
  212. package/dist/ripple/p-9d02957d.system.js +1 -0
  213. package/dist/ripple/p-a9a28ef6.entry.js +1 -0
  214. package/dist/ripple/p-aa5c6a4a.system.entry.js +1 -0
  215. package/dist/ripple/p-b2f08d3e.system.entry.js +1 -0
  216. package/dist/ripple/{p-a5177480.system.entry.js → p-b3ce2033.system.entry.js} +1 -1
  217. package/dist/ripple/p-b6d1ab55.entry.js +1 -0
  218. package/dist/ripple/p-c6ac6f80.entry.js +1 -0
  219. package/dist/ripple/{p-15759528.system.entry.js → p-cde0c4bd.system.entry.js} +1 -1
  220. package/dist/ripple/p-d0643c9b.entry.js +1 -0
  221. package/dist/ripple/p-d064dbb9.entry.js +1 -0
  222. package/dist/ripple/p-d0d5fd00.entry.js +1 -0
  223. package/dist/ripple/p-eb446a26.system.entry.js +1 -0
  224. package/dist/ripple/{p-aedd95e6.system.js → p-ee93660f.system.js} +1 -1
  225. package/dist/ripple/{p-f2ba1a0f.system.entry.js → p-f04fb2d2.system.entry.js} +1 -1
  226. package/dist/ripple/p-f10fbff8.entry.js +1 -0
  227. package/dist/ripple/p-f3c8868c.entry.js +1 -0
  228. package/dist/ripple/{p-08b7ec08.system.js → p-f5df5903.system.js} +0 -0
  229. package/dist/ripple/p-fc0f044d.system.entry.js +1 -0
  230. package/dist/ripple/{p-a6d6eae7.js → p-fd8070fb.js} +0 -0
  231. package/dist/ripple/{p-088e3c4c.system.entry.js → p-fd991998.system.entry.js} +1 -1
  232. package/dist/ripple/p-fe4dd552.system.js +15 -0
  233. package/dist/ripple/ripple.esm.js +1 -1
  234. package/dist/ripple/ripple.js +1 -1
  235. package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +48 -48
  236. package/dist/types/components/wm-button/wm-button.d.ts +43 -44
  237. package/dist/types/components/wm-chart/priv-chart-popover/priv-chart-popover.d.ts +23 -23
  238. package/dist/types/components/wm-chart/wm-chart-slice.d.ts +11 -11
  239. package/dist/types/components/wm-chart/wm-chart.d.ts +82 -82
  240. package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
  241. package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +42 -42
  242. package/dist/types/components/wm-input/wm-input.d.ts +46 -46
  243. package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
  244. package/dist/types/components/wm-modal/wm-modal-footer.d.ts +15 -15
  245. package/dist/types/components/wm-modal/wm-modal-header.d.ts +12 -12
  246. package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
  247. package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
  248. package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
  249. package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
  250. package/dist/types/components/wm-option/wm-option.d.ts +32 -32
  251. package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
  252. package/dist/types/components/wm-search/wm-search.d.ts +86 -86
  253. package/dist/types/components/wm-select/wm-select.d.ts +66 -66
  254. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
  255. package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
  256. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
  257. package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
  258. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
  259. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
  260. package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
  261. package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
  262. package/dist/types/components/wm-uploader/wm-uploader.d.ts +80 -80
  263. package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
  264. package/dist/types/components.d.ts +24 -74
  265. package/dist/types/global/__mocks__/functions.d.ts +6 -6
  266. package/dist/types/global/functions.d.ts +41 -40
  267. package/dist/types/global/global.d.ts +1 -1
  268. package/dist/types/global/interfaces.d.ts +34 -34
  269. package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
  270. package/dist/types/global/services/http-service.d.ts +4 -4
  271. package/dist/types/lang/lang.d.ts +5 -5
  272. package/dist/types/stencil-public-runtime.d.ts +4 -6
  273. package/package.json +47 -47
  274. package/dist/cjs/wm-navigation-hamburger.cjs.entry.js +0 -56
  275. package/dist/cjs/wm-navigation-item.cjs.entry.js +0 -31
  276. package/dist/cjs/wm-navigation.cjs.entry.js +0 -87
  277. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +0 -86
  278. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +0 -96
  279. package/dist/collection/components/wm-navigation/wm-navigation-item.css +0 -85
  280. package/dist/collection/components/wm-navigation/wm-navigation-item.js +0 -101
  281. package/dist/collection/components/wm-navigation/wm-navigation.css +0 -117
  282. package/dist/collection/components/wm-navigation/wm-navigation.js +0 -142
  283. package/dist/esm/wm-navigation-hamburger.entry.js +0 -52
  284. package/dist/esm/wm-navigation-item.entry.js +0 -27
  285. package/dist/esm/wm-navigation.entry.js +0 -83
  286. package/dist/esm-es5/functions-6cd52dcf.js +0 -15
  287. package/dist/esm-es5/index-cd8f9ae2.js +0 -1
  288. package/dist/esm-es5/wm-navigation-hamburger.entry.js +0 -1
  289. package/dist/esm-es5/wm-navigation-item.entry.js +0 -1
  290. package/dist/esm-es5/wm-navigation.entry.js +0 -1
  291. package/dist/ripple/p-05b44011.system.entry.js +0 -1
  292. package/dist/ripple/p-17fef956.entry.js +0 -1
  293. package/dist/ripple/p-20856a2d.system.js +0 -1
  294. package/dist/ripple/p-2206c8d0.entry.js +0 -1
  295. package/dist/ripple/p-244877c8.entry.js +0 -1
  296. package/dist/ripple/p-2b526a98.entry.js +0 -1
  297. package/dist/ripple/p-2f63e022.system.entry.js +0 -1
  298. package/dist/ripple/p-313b6073.system.js +0 -1
  299. package/dist/ripple/p-323c8fbd.entry.js +0 -1
  300. package/dist/ripple/p-38062c39.js +0 -1
  301. package/dist/ripple/p-3ba3afca.entry.js +0 -1
  302. package/dist/ripple/p-48ab9e16.entry.js +0 -1
  303. package/dist/ripple/p-4999f5dc.entry.js +0 -1
  304. package/dist/ripple/p-4ab257fe.entry.js +0 -1
  305. package/dist/ripple/p-4c0de099.system.entry.js +0 -1
  306. package/dist/ripple/p-4c75587a.system.entry.js +0 -1
  307. package/dist/ripple/p-58a1e616.system.entry.js +0 -1
  308. package/dist/ripple/p-5fd47eac.entry.js +0 -1
  309. package/dist/ripple/p-664c3f62.entry.js +0 -1
  310. package/dist/ripple/p-6923b8f6.system.js +0 -15
  311. package/dist/ripple/p-6e5a35ae.system.entry.js +0 -1
  312. package/dist/ripple/p-741972e8.system.entry.js +0 -1
  313. package/dist/ripple/p-764fa608.entry.js +0 -1
  314. package/dist/ripple/p-77bd8d1b.entry.js +0 -1
  315. package/dist/ripple/p-7ff67db9.entry.js +0 -1
  316. package/dist/ripple/p-8139cdfe.system.js +0 -1
  317. package/dist/ripple/p-864b71bf.system.entry.js +0 -1
  318. package/dist/ripple/p-87b8fddf.entry.js +0 -1
  319. package/dist/ripple/p-8a0450fd.entry.js +0 -1
  320. package/dist/ripple/p-9173f673.entry.js +0 -1
  321. package/dist/ripple/p-9f442b49.system.entry.js +0 -1
  322. package/dist/ripple/p-a2c2f475.system.entry.js +0 -1
  323. package/dist/ripple/p-a3fcdd9f.entry.js +0 -1
  324. package/dist/ripple/p-a588ae81.entry.js +0 -1
  325. package/dist/ripple/p-a8358b36.entry.js +0 -1
  326. package/dist/ripple/p-a88d46f9.system.entry.js +0 -1
  327. package/dist/ripple/p-a8dfec6d.system.entry.js +0 -1
  328. package/dist/ripple/p-b1d25dec.entry.js +0 -1
  329. package/dist/ripple/p-b542340c.system.entry.js +0 -1
  330. package/dist/ripple/p-c401898d.entry.js +0 -1
  331. package/dist/ripple/p-ce81ccb4.system.entry.js +0 -1
  332. package/dist/ripple/p-cfa8106a.system.entry.js +0 -1
  333. package/dist/ripple/p-dadb6c78.js +0 -16
  334. package/dist/ripple/p-db7f5d60.entry.js +0 -1
  335. package/dist/ripple/p-dff01b0a.system.entry.js +0 -1
  336. package/dist/ripple/p-ecb6a2e0.entry.js +0 -1
  337. package/dist/ripple/p-ef344252.entry.js +0 -1
  338. package/dist/ripple/p-f0dfc5d7.entry.js +0 -1
  339. package/dist/ripple/p-f92f2d83.entry.js +0 -1
  340. package/dist/ripple/p-fe0a25c1.entry.js +0 -1
  341. package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +0 -13
  342. package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +0 -10
  343. package/dist/types/components/wm-navigation/wm-navigation.d.ts +0 -19
@@ -1,15 +0,0 @@
1
- var en={"chart.clickToSeeDetails":[{type:0,value:"Click or use arrow keys to see details."}],"chart.hiddenPercentages":[{type:0,value:"Percentages smaller than 5% are not shown when too close to each other."}],"chart.infoButton":[{type:0,value:"Button. Click for more information."}],"chart.interactiveChart":[{type:0,value:"Interactive chart. Use arrow keys to browse elements, press Tab to exit."}],"date.april":[{type:0,value:"April"}],"date.august":[{type:0,value:"August"}],"date.calendarView":[{type:0,value:"Calendar View"}],"date.currentMonth":[{type:0,value:"current month"}],"date.december":[{type:0,value:"December"}],"date.february":[{type:0,value:"February"}],"date.format":[{options:{int:{value:[{type:0,value:"dd/mm/yyyy"}]},other:{value:[{type:0,value:"yyyy/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/yyyy"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/yyyy"}],"date.formatISO":[{type:0,value:"yyyy/mm/dd"}],"date.formatUS":[{type:0,value:"mm/dd/yyyy"}],"date.fr":[{type:0,value:"Fr"}],"date.friday":[{type:0,value:"Friday"}],"date.instructions":[{type:0,value:"Use arrows to select a date in the table. Tab left or right to buttons for selecting previous month, next month, or the month selection table."}],"date.invalidDate":[{type:0,value:"Please enter a valid date in the format "},{options:{int:{value:[{type:0,value:"dd/mm/yyyy"}]},other:{value:[{type:0,value:"yyyy/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/yyyy"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"January"}],"date.july":[{type:0,value:"July"}],"date.june":[{type:0,value:"June"}],"date.march":[{type:0,value:"March"}],"date.may":[{type:0,value:"May"}],"date.mo":[{type:0,value:"Mo"}],"date.monday":[{type:0,value:"Monday"}],"date.november":[{type:0,value:"November"}],"date.october":[{type:0,value:"October"}],"date.requiredDateError":[{type:0,value:"A date is required."}],"date.sa":[{type:0,value:"Sa"}],"date.saturday":[{type:0,value:"Saturday"}],"date.selectMonth":[{type:0,value:"Activate to select a month."}],"date.selectNextMonth":[{type:0,value:"Select next month"}],"date.selectNextYear":[{type:0,value:"Select next year"}],"date.selectPreviousMonth":[{type:0,value:"Select previous month"}],"date.selectPreviousYear":[{type:0,value:"Select previous year"}],"date.selectYear":[{type:0,value:"Activate to select a year."}],"date.september":[{type:0,value:"September"}],"date.su":[{type:0,value:"Su"}],"date.sunday":[{type:0,value:"Sunday"}],"date.th":[{type:0,value:"Th"}],"date.thursday":[{type:0,value:"Thursday"}],"date.today":[{type:0,value:"today"}],"date.tu":[{type:0,value:"Tu"}],"date.tuesday":[{type:0,value:"Tuesday"}],"date.we":[{type:0,value:"We"}],"date.wednesday":[{type:0,value:"Wednesday"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" characters allowed."}],"global.characterLimitReached":[{type:0,value:"No additional characters will be entered."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" of "},{style:null,type:2,value:"y"},{type:0,value:" characters entered."}],"global.closeVerb":[{type:0,value:"Close"}],"global.genericError":[{type:0,value:"An error occurred. Please try again."}],"global.newWindowLink":[{type:0,value:"Opens in a new window."}],"global.next":[{type:0,value:"next"}],"global.previous":[{type:0,value:"previous"}],"global.requiredError":[{type:0,value:"This field is required."}],"global.requiredField":[{type:0,value:"required field"}],"input.numberError":[{type:0,value:"Please enter a valid number."}],"navigator.WatermarkAppNavigation":[{type:0,value:"Watermark App Navigation"}],"navigator.logout":[{type:0,value:"Log Out"}],"navigator.userinfo":[{type:0,value:"User information"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"User information and product navigator"}],"navigator.userinfoLabel":[{type:0,value:"for "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Watermark Apps"}],"search.jumpToResult":[{type:0,value:"Jump to search result in list"}],"search.nextResult":[{type:0,value:"Press to hear next matching result"}],"search.previousResult":[{type:0,value:"Press to hear previous matching result"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"No results"}]},one:{value:[{type:0,value:"1 result"}]},other:{value:[{type:7},{type:0,value:" results"}]}},pluralType:"cardinal",type:6,value:"numResults"},{type:0,value:" found"}],"search.typeToFilterResults":[{type:0,value:"Type to filter the results"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"No results found"}]},other:{value:[{type:1,value:"current"},{type:0,value:" of "},{type:1,value:"numResults"},{type:0,value:" results"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"All selected"}],"select.multiPlaceholder":[{type:0,value:"Make a selection"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 existing option."}]},other:{value:[{type:7},{type:0,value:" existing options."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Search and select a tag."}],"tagInput.helpTextEditable":[{type:0,value:"Press the Enter or Comma key to add a new tag."}],"tagInput.maxTagsReached":[{type:0,value:"The maximum amount of tags has been reached, no additional tags can be added."}],"tagInput.placeholderAdd":[{type:0,value:"Add a new tag"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Add or search for a tag"}],"tagInput.placeholderSearch":[{type:0,value:"Search and select a tag"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" added."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" has already been added."}],"tagInput.tagAreaInstructions":[{type:0,value:"tag selection. Press Backspace or Delete to remove a tag."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" removed"}],"tagInput.tagsAddedCounter":[{type:0,value:"Tags added: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Please enter a valid time."}],"time.requiredError":[{type:0,value:"A time is required."}],"time.selectTime":[{type:0,value:"Select time"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"More information"}],"uploader.duplicateName":[{type:0,value:"A file with this name already exists."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" was deleted."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" could not be deleted."}],"uploader.fileTooLarge":[{type:0,value:"The selected file is too large. Maximum file size is "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"The number of selected files exceeds the limit."}],"uploader.fileUploadLimit":[{type:0,value:"You have reached the file upload limit."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 file added"}]},other:{value:[{type:7},{type:0,value:" files added"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 file uploading"}]},other:{value:[{type:7},{type:0,value:" files uploading"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Finished uploading"}],"uploader.invalidFileType":[{type:0,value:"The file type is invalid. Accepted types: "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Upload progress: "},{type:1,value:"percentage"},{type:0,value:"%"}]};var fr={"chart.clickToSeeDetails":[{type:0,value:"Cliquez ou utilisez les flèches directionnelles pour plus d'information."}],"chart.hiddenPercentages":[{type:0,value:"Les pourcentages contigus de moins de 5% ne sont pas affichés."}],"chart.infoButton":[{type:0,value:"Bouton. Activer pour plus d'informations."}],"chart.interactiveChart":[{type:0,value:"Graphique interactif. Utilisez les touches directionnelles pour parcourir les éléments, tabulation pour sortir."}],"date.april":[{type:0,value:"Avril"}],"date.august":[{type:0,value:"Août"}],"date.calendarView":[{type:0,value:"Voir le calendrier"}],"date.currentMonth":[{type:0,value:"Mois actuel"}],"date.december":[{type:0,value:"Décembre"}],"date.february":[{type:0,value:"Février"}],"date.format":[{options:{int:{value:[{type:0,value:"jj/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/jj"}]},us:{value:[{type:0,value:"mm/jj/aaaa"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"jj/mm/aaaa"}],"date.formatISO":[{type:0,value:"aaaa/mm/jj"}],"date.formatUS":[{type:0,value:"mm/jj/aaaa"}],"date.fr":[{type:0,value:"Ve"}],"date.friday":[{type:0,value:"Vendredi"}],"date.instructions":[{type:0,value:"Utilisez les flèches directionnelles pour choisir une date dans le tableau. La touche tabulation permet d'accéder aux boutons de sélection du mois."}],"date.invalidDate":[{type:0,value:"Entrez une date valide au format "},{options:{int:{value:[{type:0,value:"jj/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/jj"}]},us:{value:[{type:0,value:"mm/jj/aaaa"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Janvier"}],"date.july":[{type:0,value:"Juillet"}],"date.june":[{type:0,value:"Juin"}],"date.march":[{type:0,value:"Mars"}],"date.may":[{type:0,value:"Mai"}],"date.mo":[{type:0,value:"Lu"}],"date.monday":[{type:0,value:"Lundi"}],"date.november":[{type:0,value:"Novembre"}],"date.october":[{type:0,value:"Octobre"}],"date.requiredDateError":[{type:0,value:"Vous devez renseigner une date."}],"date.sa":[{type:0,value:"Sa"}],"date.saturday":[{type:0,value:"Samedi"}],"date.selectMonth":[{type:0,value:"Activer pour sélectionner le mois."}],"date.selectNextMonth":[{type:0,value:"Sélectionner le mois suivant"}],"date.selectNextYear":[{type:0,value:"Sélectionner l'année suivante"}],"date.selectPreviousMonth":[{type:0,value:"Sélectionner le mois prédédent"}],"date.selectPreviousYear":[{type:0,value:"Sélectionner l'année prédédente"}],"date.selectYear":[{type:0,value:"Activer pour sélectionner l'année."}],"date.september":[{type:0,value:"Septembre"}],"date.su":[{type:0,value:"Di"}],"date.sunday":[{type:0,value:"Dimanche"}],"date.th":[{type:0,value:"Je"}],"date.thursday":[{type:0,value:"Jeudi"}],"date.today":[{type:0,value:"aujourd'hui"}],"date.tu":[{type:0,value:"Ma"}],"date.tuesday":[{type:0,value:"Mardi"}],"date.we":[{type:0,value:"Me"}],"date.wednesday":[{type:0,value:"Mercredi"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" caractères autorisés."}],"global.characterLimitReached":[{type:0,value:"Aucun autre caractère ne peut être ajouté."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" caractères sur "},{style:null,type:2,value:"y"},{type:0,value:" ajoutés."}],"global.closeVerb":[{type:0,value:"Fermer"}],"global.genericError":[{type:0,value:"Une erreur s'est produite. Veuillez réessayer."}],"global.newWindowLink":[{type:0,value:"S'ouvre dans une nouvelle fenêtre."}],"global.next":[{type:0,value:"suivant"}],"global.previous":[{type:0,value:"précédent"}],"global.requiredError":[{type:0,value:"Ce champ est requis."}],"global.requiredField":[{type:0,value:"champ requis"}],"input.numberError":[{type:0,value:"Entrez un nombre valide."}],"navigator.WatermarkAppNavigation":[{type:0,value:"Navigation des Apps Watermark"}],"navigator.logout":[{type:0,value:"Se déconnecter"}],"navigator.userinfo":[{type:0,value:"Informations utilisateur"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Informations utilisateur et navigateur de produits"}],"navigator.userinfoLabel":[{type:0,value:"pour "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Apps Watermark"}],"search.jumpToResult":[{type:0,value:"Aller au résultat"}],"search.nextResult":[{type:0,value:"Activer pour entendre le résultat suivant"}],"search.previousResult":[{type:0,value:"Activer pour entendre le résultat précédent"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"Aucun résultat"}]},one:{value:[{type:0,value:"1 résultat"}]},other:{value:[{type:7},{type:0,value:" résultats"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"search.typeToFilterResults":[{type:0,value:"Tapez pour filtrer les résultats"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"Aucun résultat"}]},other:{value:[{type:0,value:"Résultat "},{type:1,value:"current"},{type:0,value:" de "},{type:1,value:"numResults"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Tous sélectionnés"}],"select.multiPlaceholder":[{type:0,value:"Faites une sélection"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 option existante."}]},other:{value:[{type:7},{type:0,value:" options existantes."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Recherchez et sélectionnez une étiquette."}],"tagInput.helpTextEditable":[{type:0,value:"Appuyez sur Entrée ou insérez une virgule pour ajouter une nouvelle étiquette."}],"tagInput.maxTagsReached":[{type:0,value:"Le nombre maximal d'étiquettes est atteint, aucune autre ne peut être ajoutée."}],"tagInput.placeholderAdd":[{type:0,value:"Ajoutez une nouvelle étiquette"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Ajoutez ou recherchez une étiquette"}],"tagInput.placeholderSearch":[{type:0,value:"Recherchez et sélectionnez une étiquette"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" ajoutée."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" a déjà été ajoutée."}],"tagInput.tagAreaInstructions":[{type:0,value:"selection d'étiquettes. Touche retour arrière ou supprimer pour enlever une étiquette."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" enlevée"}],"tagInput.tagsAddedCounter":[{type:0,value:"Étiquette ajoutée : "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Entrez une heure valide."}],"time.requiredError":[{type:0,value:"Vous devez renseigner une heure."}],"time.selectTime":[{type:0,value:"Choisissez une heure"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"Plus d'information"}],"uploader.duplicateName":[{type:0,value:"Un fichier du même nom existe déjà."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" a été supprimé."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" n'a pas pu être supprimé."}],"uploader.fileTooLarge":[{type:0,value:"Le fichier sélectionné est trop lourd. La taille maximum est de "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"Le nombre de fichiers selectionnés dépasse la limite."}],"uploader.fileUploadLimit":[{type:0,value:"Vous avez atteint le nombre maximum de fichiers."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 fichier ajouté"}]},other:{value:[{type:7},{type:0,value:" fichiers ajoutés"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 fichier"}]},other:{value:[{type:7},{type:0,value:" fichiers"}]}},pluralType:"cardinal",type:6,value:"num"},{type:0,value:" en cours de téléchargement."}],"uploader.finishedUploading":[{type:0,value:"Téléchargement terminé"}],"uploader.invalidFileType":[{type:0,value:"Le type du fichier est invalide. Fichiers acceptés : "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Progression de l'envoi: "},{type:1,value:"percentage"},{type:0,value:"%"}]};var es={"chart.clickToSeeDetails":[{type:0,value:"Haga clic o utilice las flechas para ver los detalles."}],"chart.hiddenPercentages":[{type:0,value:"Los porcentajes menores a 5 % no se mostrarán si se encuentran demasiado cerca entre ellos."}],"chart.infoButton":[{type:0,value:"Botón. Haga clic para obtener más información"}],"chart.interactiveChart":[{type:0,value:"Cuadro interactivo. Utilice las teclas de flechas para buscar elementos, presione la tecla Tab para salir."}],"date.april":[{type:0,value:"Abril"}],"date.august":[{type:0,value:"Agosto"}],"date.calendarView":[{type:0,value:"Vista de calendario"}],"date.currentMonth":[{type:0,value:"mes en curso"}],"date.december":[{type:0,value:"Diciembre"}],"date.february":[{type:0,value:"Febrero"}],"date.format":[{options:{int:{value:[{type:0,value:"dd/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/aaaa"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/aaaa"}],"date.formatISO":[{type:0,value:"aaaa/mm/dd"}],"date.formatUS":[{type:0,value:"mm/dd/aaaa"}],"date.fr":[{type:0,value:"Vi"}],"date.friday":[{type:0,value:"Viernes"}],"date.instructions":[{type:0,value:"Utilice las flechas para seleccionar una fecha en la tabla. Presione los botones izquierdo o derecho para seleccionar el mes anterior, el mes siguiente o la tabla de selección de mes."}],"date.invalidDate":[{type:0,value:"Escriba una fecha válida en el formato "},{options:{int:{value:[{type:0,value:"dd/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/aaaa"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Enero"}],"date.july":[{type:0,value:"Julio"}],"date.june":[{type:0,value:"Junio"}],"date.march":[{type:0,value:"Marzo"}],"date.may":[{type:0,value:"Mayo"}],"date.mo":[{type:0,value:"Lu"}],"date.monday":[{type:0,value:"Lunes"}],"date.november":[{type:0,value:"Noviembre"}],"date.october":[{type:0,value:"Octubre"}],"date.requiredDateError":[{type:0,value:"La fecha se require."}],"date.sa":[{type:0,value:"Sá"}],"date.saturday":[{type:0,value:"Sábado"}],"date.selectMonth":[{type:0,value:"Active para seleccionar un mes."}],"date.selectNextMonth":[{type:0,value:"Seleccionar el mes siguiente"}],"date.selectNextYear":[{type:0,value:"Seleccionar el año siguiente"}],"date.selectPreviousMonth":[{type:0,value:"Seleccionar el mes anterior"}],"date.selectPreviousYear":[{type:0,value:"Seleccionar el año anterior"}],"date.selectYear":[{type:0,value:"Active para seleccionar un año."}],"date.september":[{type:0,value:"Septiembre"}],"date.su":[{type:0,value:"Do"}],"date.sunday":[{type:0,value:"Domingo"}],"date.th":[{type:0,value:"Ju"}],"date.thursday":[{type:0,value:"Jueves"}],"date.today":[{type:0,value:"hoy"}],"date.tu":[{type:0,value:"Ma"}],"date.tuesday":[{type:0,value:"Martes"}],"date.we":[{type:0,value:"Mi"}],"date.wednesday":[{type:0,value:"Miércoles"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" caracteres permitido."}],"global.characterLimitReached":[{type:0,value:"No se grabaran caracteres adicionales."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" de "},{style:null,type:2,value:"y"},{type:0,value:" caracteres ingresados."}],"global.closeVerb":[{type:0,value:"Cerrar"}],"global.genericError":[{type:0,value:"Se produjo un error. Vuelva a intentarlo."}],"global.newWindowLink":[{type:0,value:"Se abre en una nueva ventana."}],"global.next":[{type:0,value:"siguiente"}],"global.previous":[{type:0,value:"anterior"}],"global.requiredError":[{type:0,value:"Se require este campo de ingreso."}],"global.requiredField":[{type:0,value:"Campo de ingreso requerido"}],"input.numberError":[{type:0,value:"Ingrese un numero valido por favor."}],"navigator.WatermarkAppNavigation":[{type:0,value:"Navegación de la aplicación de Watermark"}],"navigator.logout":[{type:0,value:"Cerrar sesión"}],"navigator.userinfo":[{type:0,value:"Información de Usuario"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Información de Usuario y Navegador de Productos"}],"navigator.userinfoLabel":[{type:0,value:"para "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Aplicaciones de Watermark"}],"search.jumpToResult":[{type:0,value:"Salte para buscar resultados en la lista"}],"search.nextResult":[{type:0,value:"Presione para escuchar el siguiente resultado coincidente"}],"search.previousResult":[{type:0,value:"Presione para escuchar el resultado coincidente anterior"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"No se encontraron resultados"}]},one:{value:[{type:0,value:"Se encontró un resultado"}]},other:{value:[{type:7},{type:0,value:" resultados encontrados"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"search.typeToFilterResults":[{type:0,value:"Escriba para filtrar los resultados"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"No se encontraron resultados"}]},one:{value:[{type:0,value:"1 de 1 resultado encontrado"}]},other:{value:[{type:1,value:"current"},{type:0,value:" de "},{type:1,value:"numResults"},{type:0,value:" resultados encontrados"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Todo seleccionado"}],"select.multiPlaceholder":[{type:0,value:"Haga una elección"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"solo una opcion existe."}]},other:{value:[{type:7},{type:0,value:" opciones existen."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Buscsa y selecciona una etiqueta."}],"tagInput.helpTextEditable":[{type:0,value:"Presione la tecla de enter o coma para agregar una nueva etiqueta."}],"tagInput.maxTagsReached":[{type:0,value:"Se ha alcanzado el limite máximo de etiquetas, no se pueden agregar etiquetas adicionales."}],"tagInput.placeholderAdd":[{type:0,value:"Agrega una nueva etiqueta"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Agrega o busca por una etiqueta"}],"tagInput.placeholderSearch":[{type:0,value:"Buscsa y selecciona una etiqueta"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" agregada."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" ya ha side añadida."}],"tagInput.tagAreaInstructions":[{type:0,value:"Selección de etiquetas. Presione la tecla retroceso o eliminar para quitar una etiqueta."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" quitado"}],"tagInput.tagsAddedCounter":[{type:0,value:"Etiquetas añadidas: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Ingrese un tiempo valido por favor."}],"time.requiredError":[{type:0,value:"Se require una hora. "}],"time.selectTime":[{type:0,value:"Selecciona hora"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"Más información"}],"uploader.duplicateName":[{type:0,value:"Ya existe un archivo con este nombre."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" se eliminó."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" no se pudo eliminar."}],"uploader.fileTooLarge":[{type:0,value:"El archivo seleccionado es muy grande. El tamaño máximo de archivo es "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"El número de archivos seleccionados excede el límite."}],"uploader.fileUploadLimit":[{type:0,value:"Alcanzó el límite de carga de archivos."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 archivo agregado"}]},other:{value:[{type:7},{type:0,value:" archivos agregados"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 archivo cargando"}]},other:{value:[{type:7},{type:0,value:" archivos cargandos"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Finalizó la carga"}],"uploader.invalidFileType":[{type:0,value:"El tipo de archivo no es válido. Tipos aceptados: "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Progreso de la carga: "},{type:1,value:"percentage"},{type:0,value:"%"}]};var pig={"chart.clickToSeeDetails":[{type:0,value:"Ickclay oryay useyay arrowyay eyskay otay eesay etailsday."}],"chart.hiddenPercentages":[{type:0,value:"Ercentagespay allersmay anthay 5% areyay otnay ownshay enwhay ootay oseclay otay eachyay otheryay."}],"chart.infoButton":[{type:0,value:"Uttonbay. Ickclay orfay oremay informationyay."}],"chart.interactiveChart":[{type:0,value:"Interactiveyay artchay. Useyay arrowyay eyskay otay owsebray elementsyay, esspray Abtay otay exityay."}],"date.april":[{type:0,value:"Aprilyay"}],"date.august":[{type:0,value:"Augustyay"}],"date.calendarView":[{type:0,value:"Alendarcay Iewvay"}],"date.currentMonth":[{type:0,value:"urrentcay onthmay"}],"date.december":[{type:0,value:"Ecemberday"}],"date.february":[{type:0,value:"Ebruaryfay"}],"date.format":[{options:{int:{value:[{type:0,value:"dd/mm/yyyyay"}]},other:{value:[{type:0,value:"yyyy/mm/dday"}]},us:{value:[{type:0,value:"mm/dd/yyyyay"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/yyyyay"}],"date.formatISO":[{type:0,value:"yyyy/mm/dday"}],"date.formatUS":[{type:0,value:"mm/dd/yyyyay"}],"date.fr":[{type:0,value:"Fray"}],"date.friday":[{type:0,value:"Idayfray"}],"date.instructions":[{type:0,value:"Useyay arrowsyay otay electsay ayay ateday inyay ethay abletay. Abtay eftlay oryay ightray otay uttonsbay orfay electingsay eviouspray onthmay, extnay onthmay, oryay ethay onthmay electionsay abletay."}],"date.invalidDate":[{type:0,value:"Easeplay enteryay ayay alidvay ateday inyay ethay ormatfay "},{options:{int:{value:[{type:0,value:"dd/mm/yyyyay"}]},other:{value:[{type:0,value:"yyyy/mm/dday"}]},us:{value:[{type:0,value:"mm/dd/yyyyay"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Anuaryjay"}],"date.july":[{type:0,value:"Ulyjay"}],"date.june":[{type:0,value:"Unejay"}],"date.march":[{type:0,value:"Archmay"}],"date.may":[{type:0,value:"Aymay"}],"date.mo":[{type:0,value:"Omay"}],"date.monday":[{type:0,value:"Ondaymay"}],"date.november":[{type:0,value:"Ovembernay"}],"date.october":[{type:0,value:"Octoberyay"}],"date.requiredDateError":[{type:0,value:"Ayay ateday isyay equiredray."}],"date.sa":[{type:0,value:"Asay"}],"date.saturday":[{type:0,value:"Aturdaysay"}],"date.selectMonth":[{type:0,value:"Activateyay otay electsay ayay onthmay."}],"date.selectNextMonth":[{type:0,value:"Electsay extnay onthmay"}],"date.selectNextYear":[{type:0,value:"Electsay extnay earyay"}],"date.selectPreviousMonth":[{type:0,value:"Electsay eviouspray onthmay"}],"date.selectPreviousYear":[{type:0,value:"Electsay eviouspray earyay"}],"date.selectYear":[{type:0,value:"Activateyay otay electsay ayay earyay."}],"date.september":[{type:0,value:"Eptembersay"}],"date.su":[{type:0,value:"Usay"}],"date.sunday":[{type:0,value:"Undaysay"}],"date.th":[{type:0,value:"Thay"}],"date.thursday":[{type:0,value:"Ursdaythay"}],"date.today":[{type:0,value:"odaytay"}],"date.tu":[{type:0,value:"Utay"}],"date.tuesday":[{type:0,value:"Uesdaytay"}],"date.we":[{type:0,value:"Eway"}],"date.wednesday":[{type:0,value:"Ednesdayway"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" aracterschay allowedyay."}],"global.characterLimitReached":[{type:0,value:"Onay additionalyay aracterschay illway ebay enteredyay."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" ofyay "},{style:null,type:2,value:"y"},{type:0,value:" aracterschay enteredyay."}],"global.closeVerb":[{type:0,value:"Oseclay"}],"global.genericError":[{type:0,value:"Anyay erroryay occurredyay. Easeplay tryay againyay."}],"global.newWindowLink":[{type:0,value:"Opensyay inyay ayay ewnay indowway."}],"global.next":[{type:0,value:"extnay"}],"global.previous":[{type:0,value:"eviouspray"}],"global.requiredError":[{type:0,value:"Isthay ieldfay isyay equiredray."}],"global.requiredField":[{type:0,value:"equiredray ieldfay"}],"input.numberError":[{type:0,value:"Easeplay enteryay ayay alidvay umbernay."}],"navigator.WatermarkAppNavigation":[{type:0,value:"Atermarkway Appyay Avigationnay"}],"navigator.logout":[{type:0,value:"Oglay Outyay"}],"navigator.userinfo":[{type:0,value:"Useryay informationyay"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Useryay informationyay andyay oductpray avigatornay"}],"navigator.userinfoLabel":[{type:0,value:"orfay "},{type:1,value:"name"},{type:0,value:", emailyay "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Atermarkway Appsyay"}],"search.jumpToResult":[{type:0,value:"Umpjay otay earchsay esultray inyay istlay"}],"search.nextResult":[{type:0,value:"Esspray otay earhay extnay atchingmay esultray"}],"search.previousResult":[{type:0,value:"Esspray otay earhay eviouspray atchingmay esultray"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"Onay esultsray"}]},one:{value:[{type:0,value:"1 esultray"}]},other:{value:[{type:7},{type:0,value:" esultsray"}]}},pluralType:"cardinal",type:6,value:"numResults"},{type:0,value:" oundfay"}],"search.typeToFilterResults":[{type:0,value:"Etypay otay ilterfay ethay esultsray"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"Onay esultsray oundfay"}]},other:{value:[{type:1,value:"current"},{type:0,value:" ofyay "},{type:1,value:"numResults"},{type:0,value:" esultsray"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Allyay electedsay"}],"select.multiPlaceholder":[{type:0,value:"Akemay ayay electionsay"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 existingyay optionyay."}]},other:{value:[{type:7},{type:0,value:" existingyay optionsyay."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Earchsay andyay electsay ayay agtay."}],"tagInput.helpTextEditable":[{type:0,value:"Esspray ethay Enteryay oryay Ommacay eykay otay addyay ayay ewnay agtay."}],"tagInput.maxTagsReached":[{type:0,value:"Ethay aximummay amountyay ofyay agstay ashay eenbay eachedray, onay additionalyay agstay ancay ebay addedyay."}],"tagInput.placeholderAdd":[{type:0,value:"Addyay ayay ewnay agtay"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Addyay oryay earchsay orfay ayay agtay"}],"tagInput.placeholderSearch":[{type:0,value:"Earchsay andyay electsay ayay agtay"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" addedyay."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" ashay alreadyyay eenbay addedyay."}],"tagInput.tagAreaInstructions":[{type:0,value:"agtay electionsay. Esspray Ackspacebay oryay Eleteday otay emoveray ayay agtay."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" emovedray"}],"tagInput.tagsAddedCounter":[{type:0,value:"Agstay addedyay: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Easeplay enteryay ayay alidvay imetay."}],"time.requiredError":[{type:0,value:"Ayay imetay isyay equiredray."}],"time.selectTime":[{type:0,value:"Electsay imetay"}],"time.timeFormat":[{type:0,value:"hh:mmay"}],"toggletip.moreInformation":[{type:0,value:"Oremay informationyay"}],"uploader.duplicateName":[{type:0,value:"Ayay ilefay ithway isthay amenay alreadyyay existsyay."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" asway eletedday."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" ouldcay otnay ebay eletedday."}],"uploader.fileTooLarge":[{type:0,value:"Ethay electedsay ilefay isyay ootay argelay. Aximummay ilefay izesay isyay "},{type:1,value:"size"},{type:0,value:"Mbay"}],"uploader.fileUploadExceeded":[{type:0,value:"Ethay umbernay ofyay electedsay ilesfay exceedsyay ethay imitlay."}],"uploader.fileUploadLimit":[{type:0,value:"Ouyay avehay eachedray ethay ilefay uploadyay imitlay."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 ilefay addedyay"}]},other:{value:[{type:7},{type:0,value:" ilesfay addedyay"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 ilefay uploadingyay"}]},other:{value:[{type:7},{type:0,value:" ilesfay uploadingyay"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Inishedfay uploadingyay"}],"uploader.invalidFileType":[{type:0,value:"Ethay ilefay etypay isyay invalidyay. Acceptedyay estypay: "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Uploadyay ogresspray: "},{type:1,value:"percentage"},{type:0,value:"%"}]};var lang=Object.freeze({__proto__:null,en:en,fr:fr,es:es,pig:pig});
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var extendStatics=function(e,t){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};return extendStatics(e,t)};function __extends(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");extendStatics(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}var __assign=function(){__assign=Object.assign||function e(t){for(var a,r=1,i=arguments.length;r<i;r++){a=arguments[r];for(var n in a)if(Object.prototype.hasOwnProperty.call(a,n))t[n]=a[n]}return t};return __assign.apply(this,arguments)};function __spreadArray(e,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,n;r<i;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))}var ErrorKind;(function(e){e[e["EXPECT_ARGUMENT_CLOSING_BRACE"]=1]="EXPECT_ARGUMENT_CLOSING_BRACE";e[e["EMPTY_ARGUMENT"]=2]="EMPTY_ARGUMENT";e[e["MALFORMED_ARGUMENT"]=3]="MALFORMED_ARGUMENT";e[e["EXPECT_ARGUMENT_TYPE"]=4]="EXPECT_ARGUMENT_TYPE";e[e["INVALID_ARGUMENT_TYPE"]=5]="INVALID_ARGUMENT_TYPE";e[e["EXPECT_ARGUMENT_STYLE"]=6]="EXPECT_ARGUMENT_STYLE";e[e["INVALID_NUMBER_SKELETON"]=7]="INVALID_NUMBER_SKELETON";e[e["INVALID_DATE_TIME_SKELETON"]=8]="INVALID_DATE_TIME_SKELETON";e[e["EXPECT_NUMBER_SKELETON"]=9]="EXPECT_NUMBER_SKELETON";e[e["EXPECT_DATE_TIME_SKELETON"]=10]="EXPECT_DATE_TIME_SKELETON";e[e["UNCLOSED_QUOTE_IN_ARGUMENT_STYLE"]=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE";e[e["EXPECT_SELECT_ARGUMENT_OPTIONS"]=12]="EXPECT_SELECT_ARGUMENT_OPTIONS";e[e["EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE"]=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE";e[e["INVALID_PLURAL_ARGUMENT_OFFSET_VALUE"]=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE";e[e["EXPECT_SELECT_ARGUMENT_SELECTOR"]=15]="EXPECT_SELECT_ARGUMENT_SELECTOR";e[e["EXPECT_PLURAL_ARGUMENT_SELECTOR"]=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR";e[e["EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT"]=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT";e[e["EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT"]=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT";e[e["INVALID_PLURAL_ARGUMENT_SELECTOR"]=19]="INVALID_PLURAL_ARGUMENT_SELECTOR";e[e["DUPLICATE_PLURAL_ARGUMENT_SELECTOR"]=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR";e[e["DUPLICATE_SELECT_ARGUMENT_SELECTOR"]=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR";e[e["MISSING_OTHER_CLAUSE"]=22]="MISSING_OTHER_CLAUSE";e[e["INVALID_TAG"]=23]="INVALID_TAG";e[e["INVALID_TAG_NAME"]=25]="INVALID_TAG_NAME";e[e["UNMATCHED_CLOSING_TAG"]=26]="UNMATCHED_CLOSING_TAG";e[e["UNCLOSED_TAG"]=27]="UNCLOSED_TAG"})(ErrorKind||(ErrorKind={}));var TYPE;(function(e){e[e["literal"]=0]="literal";e[e["argument"]=1]="argument";e[e["number"]=2]="number";e[e["date"]=3]="date";e[e["time"]=4]="time";e[e["select"]=5]="select";e[e["plural"]=6]="plural";e[e["pound"]=7]="pound";e[e["tag"]=8]="tag"})(TYPE||(TYPE={}));var SKELETON_TYPE;(function(e){e[e["number"]=0]="number";e[e["dateTime"]=1]="dateTime"})(SKELETON_TYPE||(SKELETON_TYPE={}));function isLiteralElement(e){return e.type===TYPE.literal}function isArgumentElement(e){return e.type===TYPE.argument}function isNumberElement(e){return e.type===TYPE.number}function isDateElement(e){return e.type===TYPE.date}function isTimeElement(e){return e.type===TYPE.time}function isSelectElement(e){return e.type===TYPE.select}function isPluralElement(e){return e.type===TYPE.plural}function isPoundElement(e){return e.type===TYPE.pound}function isTagElement(e){return e.type===TYPE.tag}function isNumberSkeleton(e){return!!(e&&typeof e==="object"&&e.type===SKELETON_TYPE.number)}function isDateTimeSkeleton(e){return!!(e&&typeof e==="object"&&e.type===SKELETON_TYPE.dateTime)}var SPACE_SEPARATOR_REGEX=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var DATE_TIME_REGEX=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function parseDateTimeSkeleton(e){var t={};e.replace(DATE_TIME_REGEX,(function(e){var a=e.length;switch(e[0]){case"G":t.era=a===4?"long":a===5?"narrow":"short";break;case"y":t.year=a===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][a-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][a-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=a===4?"short":a===5?"narrow":"short";break;case"e":if(a<4){throw new RangeError("`e..eee` (weekday) patterns are not supported")}t.weekday=["short","long","narrow","short"][a-4];break;case"c":if(a<4){throw new RangeError("`c..ccc` (weekday) patterns are not supported")}t.weekday=["short","long","narrow","short"][a-4];break;case"a":t.hour12=true;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12";t.hour=["numeric","2-digit"][a-1];break;case"H":t.hourCycle="h23";t.hour=["numeric","2-digit"][a-1];break;case"K":t.hourCycle="h11";t.hour=["numeric","2-digit"][a-1];break;case"k":t.hourCycle="h24";t.hour=["numeric","2-digit"][a-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][a-1];break;case"s":t.second=["numeric","2-digit"][a-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=a<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}));return t}var WHITE_SPACE_REGEX=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function parseNumberSkeletonFromString(e){if(e.length===0){throw new Error("Number skeleton cannot be empty")}var t=e.split(WHITE_SPACE_REGEX).filter((function(e){return e.length>0}));var a=[];for(var r=0,i=t;r<i.length;r++){var n=i[r];var o=n.split("/");if(o.length===0){throw new Error("Invalid number skeleton")}var l=o[0],s=o.slice(1);for(var u=0,c=s;u<c.length;u++){var p=c[u];if(p.length===0){throw new Error("Invalid number skeleton")}}a.push({stem:l,options:s})}return a}function icuUnitToEcma(e){return e.replace(/^(.*?)-/,"")}var FRACTION_PRECISION_REGEX=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;var SIGNIFICANT_PRECISION_REGEX=/^(@+)?(\+|#+)?[rs]?$/g;var INTEGER_WIDTH_REGEX=/(\*)(0+)|(#+)(0+)|(0+)/g;var CONCISE_INTEGER_WIDTH_REGEX=/^(0+)$/;function parseSignificantPrecision(e){var t={};if(e[e.length-1]==="r"){t.roundingPriority="morePrecision"}else if(e[e.length-1]==="s"){t.roundingPriority="lessPrecision"}e.replace(SIGNIFICANT_PRECISION_REGEX,(function(e,a,r){if(typeof r!=="string"){t.minimumSignificantDigits=a.length;t.maximumSignificantDigits=a.length}else if(r==="+"){t.minimumSignificantDigits=a.length}else if(a[0]==="#"){t.maximumSignificantDigits=a.length}else{t.minimumSignificantDigits=a.length;t.maximumSignificantDigits=a.length+(typeof r==="string"?r.length:0)}return""}));return t}function parseSign(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function parseConciseScientificAndEngineeringStem(e){var t;if(e[0]==="E"&&e[1]==="E"){t={notation:"engineering"};e=e.slice(2)}else if(e[0]==="E"){t={notation:"scientific"};e=e.slice(1)}if(t){var a=e.slice(0,2);if(a==="+!"){t.signDisplay="always";e=e.slice(2)}else if(a==="+?"){t.signDisplay="exceptZero";e=e.slice(2)}if(!CONCISE_INTEGER_WIDTH_REGEX.test(e)){throw new Error("Malformed concise eng/scientific notation")}t.minimumIntegerDigits=e.length}return t}function parseNotationOptions(e){var t={};var a=parseSign(e);if(a){return a}return t}function parseNumberSkeleton(e){var t={};for(var a=0,r=e;a<r.length;a++){var i=r[a];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent";t.scale=100;continue;case"currency":t.style="currency";t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=false;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit";t.unit=icuUnitToEcma(i.options[0]);continue;case"compact-short":case"K":t.notation="compact";t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact";t.compactDisplay="long";continue;case"scientific":t=__assign(__assign(__assign({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return __assign(__assign({},e),parseNotationOptions(t))}),{}));continue;case"engineering":t=__assign(__assign(__assign({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return __assign(__assign({},e),parseNotationOptions(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol";t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code";t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name";t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1){throw new RangeError("integer-width stems only accept a single optional option")}i.options[0].replace(INTEGER_WIDTH_REGEX,(function(e,a,r,i,n,o){if(a){t.minimumIntegerDigits=r.length}else if(i&&n){throw new Error("We currently do not support maximum integer digits")}else if(o){throw new Error("We currently do not support exact integer digits")}return""}));continue}if(CONCISE_INTEGER_WIDTH_REGEX.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(FRACTION_PRECISION_REGEX.test(i.stem)){if(i.options.length>1){throw new RangeError("Fraction-precision stems only accept a single optional option")}i.stem.replace(FRACTION_PRECISION_REGEX,(function(e,a,r,i,n,o){if(r==="*"){t.minimumFractionDigits=a.length}else if(i&&i[0]==="#"){t.maximumFractionDigits=i.length}else if(n&&o){t.minimumFractionDigits=n.length;t.maximumFractionDigits=n.length+o.length}else{t.minimumFractionDigits=a.length;t.maximumFractionDigits=a.length}return""}));var n=i.options[0];if(n==="w"){t=__assign(__assign({},t),{trailingZeroDisplay:"stripIfInteger"})}else if(n){t=__assign(__assign({},t),parseSignificantPrecision(n))}continue}if(SIGNIFICANT_PRECISION_REGEX.test(i.stem)){t=__assign(__assign({},t),parseSignificantPrecision(i.stem));continue}var o=parseSign(i.stem);if(o){t=__assign(__assign({},t),o)}var l=parseConciseScientificAndEngineeringStem(i.stem);if(l){t=__assign(__assign({},t),l)}}return t}var _a;var SPACE_SEPARATOR_START_REGEX=new RegExp("^".concat(SPACE_SEPARATOR_REGEX.source,"*"));var SPACE_SEPARATOR_END_REGEX=new RegExp("".concat(SPACE_SEPARATOR_REGEX.source,"*$"));function createLocation(e,t){return{start:e,end:t}}var hasNativeStartsWith=!!String.prototype.startsWith;var hasNativeFromCodePoint=!!String.fromCodePoint;var hasNativeFromEntries=!!Object.fromEntries;var hasNativeCodePointAt=!!String.prototype.codePointAt;var hasTrimStart=!!String.prototype.trimStart;var hasTrimEnd=!!String.prototype.trimEnd;var hasNativeIsSafeInteger=!!Number.isSafeInteger;var isSafeInteger=hasNativeIsSafeInteger?Number.isSafeInteger:function(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991};var REGEX_SUPPORTS_U_AND_Y=true;try{var re=RE("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");REGEX_SUPPORTS_U_AND_Y=((_a=re.exec("a"))===null||_a===void 0?void 0:_a[0])==="a"}catch(e){REGEX_SUPPORTS_U_AND_Y=false}var startsWith=hasNativeStartsWith?function e(t,a,r){return t.startsWith(a,r)}:function e(t,a,r){return t.slice(r,r+a.length)===a};var fromCodePoint=hasNativeFromCodePoint?String.fromCodePoint:function e(){var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}var r="";var i=t.length;var n=0;var o;while(i>n){o=t[n++];if(o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r};var fromEntries=hasNativeFromEntries?Object.fromEntries:function e(t){var a={};for(var r=0,i=t;r<i.length;r++){var n=i[r],o=n[0],l=n[1];a[o]=l}return a};var codePointAt=hasNativeCodePointAt?function e(t,a){return t.codePointAt(a)}:function e(t,a){var r=t.length;if(a<0||a>=r){return undefined}var i=t.charCodeAt(a);var n;return i<55296||i>56319||a+1===r||(n=t.charCodeAt(a+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536};var trimStart=hasTrimStart?function e(t){return t.trimStart()}:function e(t){return t.replace(SPACE_SEPARATOR_START_REGEX,"")};var trimEnd=hasTrimEnd?function e(t){return t.trimEnd()}:function e(t){return t.replace(SPACE_SEPARATOR_END_REGEX,"")};function RE(e,t){return new RegExp(e,t)}var matchIdentifierAtIndex;if(REGEX_SUPPORTS_U_AND_Y){var IDENTIFIER_PREFIX_RE_1=RE("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");matchIdentifierAtIndex=function e(t,a){var r;IDENTIFIER_PREFIX_RE_1.lastIndex=a;var i=IDENTIFIER_PREFIX_RE_1.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else{matchIdentifierAtIndex=function e(t,a){var r=[];while(true){var i=codePointAt(t,a);if(i===undefined||_isWhiteSpace(i)||_isPatternSyntax(i)){break}r.push(i);a+=i>=65536?2:1}return fromCodePoint.apply(void 0,r)}}var Parser=function(){function e(e,t){if(t===void 0){t={}}this.message=e;this.position={offset:0,line:1,column:1};this.ignoreTag=!!t.ignoreTag;this.requiresOtherClause=!!t.requiresOtherClause;this.shouldParseSkeletons=!!t.shouldParseSkeletons}e.prototype.parse=function(){if(this.offset()!==0){throw Error("parser can only be used once")}return this.parseMessage(0,"",false)};e.prototype.parseMessage=function(e,t,a){var r=[];while(!this.isEOF()){var i=this.char();if(i===123){var n=this.parseArgument(e,a);if(n.err){return n}r.push(n.val)}else if(i===125&&e>0){break}else if(i===35&&(t==="plural"||t==="selectordinal")){var o=this.clonePosition();this.bump();r.push({type:TYPE.pound,location:createLocation(o,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(a){break}else{return this.error(ErrorKind.UNMATCHED_CLOSING_TAG,createLocation(this.clonePosition(),this.clonePosition()))}}else if(i===60&&!this.ignoreTag&&_isAlpha(this.peek()||0)){var n=this.parseTag(e,t);if(n.err){return n}r.push(n.val)}else{var n=this.parseLiteral(e,t);if(n.err){return n}r.push(n.val)}}return{val:r,err:null}};e.prototype.parseTag=function(e,t){var a=this.clonePosition();this.bump();var r=this.parseTagName();this.bumpSpace();if(this.bumpIf("/>")){return{val:{type:TYPE.literal,value:"<".concat(r,"/>"),location:createLocation(a,this.clonePosition())},err:null}}else if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,true);if(i.err){return i}var n=i.val;var o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!_isAlpha(this.char())){return this.error(ErrorKind.INVALID_TAG,createLocation(o,this.clonePosition()))}var l=this.clonePosition();var s=this.parseTagName();if(r!==s){return this.error(ErrorKind.UNMATCHED_CLOSING_TAG,createLocation(l,this.clonePosition()))}this.bumpSpace();if(!this.bumpIf(">")){return this.error(ErrorKind.INVALID_TAG,createLocation(o,this.clonePosition()))}return{val:{type:TYPE.tag,value:r,children:n,location:createLocation(a,this.clonePosition())},err:null}}else{return this.error(ErrorKind.UNCLOSED_TAG,createLocation(a,this.clonePosition()))}}else{return this.error(ErrorKind.INVALID_TAG,createLocation(a,this.clonePosition()))}};e.prototype.parseTagName=function(){var e=this.offset();this.bump();while(!this.isEOF()&&_isPotentialElementNameChar(this.char())){this.bump()}return this.message.slice(e,this.offset())};e.prototype.parseLiteral=function(e,t){var a=this.clonePosition();var r="";while(true){var i=this.tryParseQuote(t);if(i){r+=i;continue}var n=this.tryParseUnquoted(e,t);if(n){r+=n;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var l=createLocation(a,this.clonePosition());return{val:{type:TYPE.literal,value:r,location:l},err:null}};e.prototype.tryParseLeftAngleBracket=function(){if(!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_isAlphaOrSlash(this.peek()||0))){this.bump();return"<"}return null};e.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39){return null}switch(this.peek()){case 39:this.bump();this.bump();return"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal"){break}return null;default:return null}this.bump();var t=[this.char()];this.bump();while(!this.isEOF()){var a=this.char();if(a===39){if(this.peek()===39){t.push(39);this.bump()}else{this.bump();break}}else{t.push(a)}this.bump()}return fromCodePoint.apply(void 0,t)};e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF()){return null}var a=this.char();if(a===60||a===123||a===35&&(t==="plural"||t==="selectordinal")||a===125&&e>0){return null}else{this.bump();return fromCodePoint(a)}};e.prototype.parseArgument=function(e,t){var a=this.clonePosition();this.bump();this.bumpSpace();if(this.isEOF()){return this.error(ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,createLocation(a,this.clonePosition()))}if(this.char()===125){this.bump();return this.error(ErrorKind.EMPTY_ARGUMENT,createLocation(a,this.clonePosition()))}var r=this.parseIdentifierIfPossible().value;if(!r){return this.error(ErrorKind.MALFORMED_ARGUMENT,createLocation(a,this.clonePosition()))}this.bumpSpace();if(this.isEOF()){return this.error(ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,createLocation(a,this.clonePosition()))}switch(this.char()){case 125:{this.bump();return{val:{type:TYPE.argument,value:r,location:createLocation(a,this.clonePosition())},err:null}}case 44:{this.bump();this.bumpSpace();if(this.isEOF()){return this.error(ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,createLocation(a,this.clonePosition()))}return this.parseArgumentOptions(e,t,r,a)}default:return this.error(ErrorKind.MALFORMED_ARGUMENT,createLocation(a,this.clonePosition()))}};e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition();var t=this.offset();var a=matchIdentifierAtIndex(this.message,t);var r=t+a.length;this.bumpTo(r);var i=this.clonePosition();var n=createLocation(e,i);return{value:a,location:n}};e.prototype.parseArgumentOptions=function(e,t,a,r){var i;var n=this.clonePosition();var o=this.parseIdentifierIfPossible().value;var l=this.clonePosition();switch(o){case"":return this.error(ErrorKind.EXPECT_ARGUMENT_TYPE,createLocation(n,l));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();var c=this.parseSimpleArgStyleIfPossible();if(c.err){return c}var p=trimEnd(c.val);if(p.length===0){return this.error(ErrorKind.EXPECT_ARGUMENT_STYLE,createLocation(this.clonePosition(),this.clonePosition()))}var y=createLocation(u,this.clonePosition());s={style:p,styleLocation:y}}var d=this.tryParseArgumentClose(r);if(d.err){return d}var v=createLocation(r,this.clonePosition());if(s&&startsWith(s===null||s===void 0?void 0:s.style,"::",0)){var m=trimStart(s.style.slice(2));if(o==="number"){var c=this.parseNumberSkeletonFromString(m,s.styleLocation);if(c.err){return c}return{val:{type:TYPE.number,value:a,location:v,style:c.val},err:null}}else{if(m.length===0){return this.error(ErrorKind.EXPECT_DATE_TIME_SKELETON,v)}var p={type:SKELETON_TYPE.dateTime,pattern:m,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?parseDateTimeSkeleton(m):{}};var f=o==="date"?TYPE.date:TYPE.time;return{val:{type:f,value:a,location:v,style:p},err:null}}}return{val:{type:o==="number"?TYPE.number:o==="date"?TYPE.date:TYPE.time,value:a,location:v,style:(i=s===null||s===void 0?void 0:s.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var h=this.clonePosition();this.bumpSpace();if(!this.bumpIf(",")){return this.error(ErrorKind.EXPECT_SELECT_ARGUMENT_OPTIONS,createLocation(h,__assign({},h)))}this.bumpSpace();var g=this.parseIdentifierIfPossible();var E=0;if(o!=="select"&&g.value==="offset"){if(!this.bumpIf(":")){return this.error(ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,createLocation(this.clonePosition(),this.clonePosition()))}this.bumpSpace();var c=this.tryParseDecimalInteger(ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ErrorKind.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err){return c}this.bumpSpace();g=this.parseIdentifierIfPossible();E=c.val}var T=this.tryParsePluralOrSelectOptions(e,o,t,g);if(T.err){return T}var d=this.tryParseArgumentClose(r);if(d.err){return d}var _=createLocation(r,this.clonePosition());if(o==="select"){return{val:{type:TYPE.select,value:a,options:fromEntries(T.val),location:_},err:null}}else{return{val:{type:TYPE.plural,value:a,options:fromEntries(T.val),offset:E,pluralType:o==="plural"?"cardinal":"ordinal",location:_},err:null}}}default:return this.error(ErrorKind.INVALID_ARGUMENT_TYPE,createLocation(n,l))}};e.prototype.tryParseArgumentClose=function(e){if(this.isEOF()||this.char()!==125){return this.error(ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,createLocation(e,this.clonePosition()))}this.bump();return{val:true,err:null}};e.prototype.parseSimpleArgStyleIfPossible=function(){var e=0;var t=this.clonePosition();while(!this.isEOF()){var a=this.char();switch(a){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'")){return this.error(ErrorKind.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,createLocation(r,this.clonePosition()))}this.bump();break}case 123:{e+=1;this.bump();break}case 125:{if(e>0){e-=1}else{return{val:this.message.slice(t.offset,this.offset()),err:null}}break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}};e.prototype.parseNumberSkeletonFromString=function(e,t){var a=[];try{a=parseNumberSkeletonFromString(e)}catch(e){return this.error(ErrorKind.INVALID_NUMBER_SKELETON,t)}return{val:{type:SKELETON_TYPE.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?parseNumberSkeleton(a):{}},err:null}};e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,r){var i;var n=false;var o=[];var l=new Set;var s=r.value,u=r.location;while(true){if(s.length===0){var c=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,ErrorKind.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err){return p}u=createLocation(c,this.clonePosition());s=this.message.slice(c.offset,this.offset())}else{break}}if(l.has(s)){return this.error(t==="select"?ErrorKind.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ErrorKind.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u)}if(s==="other"){n=true}this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{")){return this.error(t==="select"?ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,createLocation(this.clonePosition(),this.clonePosition()))}var d=this.parseMessage(e+1,t,a);if(d.err){return d}var v=this.tryParseArgumentClose(y);if(v.err){return v}o.push([s,{value:d.val,location:createLocation(y,this.clonePosition())}]);l.add(s);this.bumpSpace();i=this.parseIdentifierIfPossible(),s=i.value,u=i.location}if(o.length===0){return this.error(t==="select"?ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR:ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,createLocation(this.clonePosition(),this.clonePosition()))}if(this.requiresOtherClause&&!n){return this.error(ErrorKind.MISSING_OTHER_CLAUSE,createLocation(this.clonePosition(),this.clonePosition()))}return{val:o,err:null}};e.prototype.tryParseDecimalInteger=function(e,t){var a=1;var r=this.clonePosition();if(this.bumpIf("+"));else if(this.bumpIf("-")){a=-1}var i=false;var n=0;while(!this.isEOF()){var o=this.char();if(o>=48&&o<=57){i=true;n=n*10+(o-48);this.bump()}else{break}}var l=createLocation(r,this.clonePosition());if(!i){return this.error(e,l)}n*=a;if(!isSafeInteger(n)){return this.error(t,l)}return{val:n,err:null}};e.prototype.offset=function(){return this.position.offset};e.prototype.isEOF=function(){return this.offset()===this.message.length};e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}};e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length){throw Error("out of bound")}var t=codePointAt(this.message,e);if(t===undefined){throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"))}return t};e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}};e.prototype.bump=function(){if(this.isEOF()){return}var e=this.char();if(e===10){this.position.line+=1;this.position.column=1;this.position.offset+=1}else{this.position.column+=1;this.position.offset+=e<65536?1:2}};e.prototype.bumpIf=function(e){if(startsWith(this.message,e,this.offset())){for(var t=0;t<e.length;t++){this.bump()}return true}return false};e.prototype.bumpUntil=function(e){var t=this.offset();var a=this.message.indexOf(e,t);if(a>=0){this.bumpTo(a);return true}else{this.bumpTo(this.message.length);return false}};e.prototype.bumpTo=function(e){if(this.offset()>e){throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()))}e=Math.min(e,this.message.length);while(true){var t=this.offset();if(t===e){break}if(t>e){throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"))}this.bump();if(this.isEOF()){break}}};e.prototype.bumpSpace=function(){while(!this.isEOF()&&_isWhiteSpace(this.char())){this.bump()}};e.prototype.peek=function(){if(this.isEOF()){return null}var e=this.char();var t=this.offset();var a=this.message.charCodeAt(t+(e>=65536?2:1));return a!==null&&a!==void 0?a:null};return e}();function _isAlpha(e){return e>=97&&e<=122||e>=65&&e<=90}function _isAlphaOrSlash(e){return _isAlpha(e)||e===47}function _isPotentialElementNameChar(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function _isWhiteSpace(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function _isPatternSyntax(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function pruneLocation(e){e.forEach((function(e){delete e.location;if(isSelectElement(e)||isPluralElement(e)){for(var t in e.options){delete e.options[t].location;pruneLocation(e.options[t].value)}}else if(isNumberElement(e)&&isNumberSkeleton(e.style)){delete e.style.location}else if((isDateElement(e)||isTimeElement(e))&&isDateTimeSkeleton(e.style)){delete e.style.location}else if(isTagElement(e)){pruneLocation(e.children)}}))}function parse(e,t){if(t===void 0){t={}}t=__assign({shouldParseSkeletons:true,requiresOtherClause:true},t);var a=new Parser(e,t).parse();if(a.err){var r=SyntaxError(ErrorKind[a.err.kind]);r.location=a.err.location;r.originalMessage=a.err.message;throw r}if(!(t===null||t===void 0?void 0:t.captureLocation)){pruneLocation(a.val)}return a.val}function memoize(e,t){var a=t&&t.cache?t.cache:cacheDefault;var r=t&&t.serializer?t.serializer:serializerDefault;var i=t&&t.strategy?t.strategy:strategyDefault;return i(e,{cache:a,serializer:r})}function isPrimitive(e){return e==null||typeof e==="number"||typeof e==="boolean"}function monadic(e,t,a,r){var i=isPrimitive(r)?r:a(r);var n=t.get(i);if(typeof n==="undefined"){n=e.call(this,r);t.set(i,n)}return n}function variadic(e,t,a){var r=Array.prototype.slice.call(arguments,3);var i=a(r);var n=t.get(i);if(typeof n==="undefined"){n=e.apply(this,r);t.set(i,n)}return n}function assemble(e,t,a,r,i){return a.bind(t,e,r,i)}function strategyDefault(e,t){var a=e.length===1?monadic:variadic;return assemble(e,this,a,t.cache.create(),t.serializer)}function strategyVariadic(e,t){return assemble(e,this,variadic,t.cache.create(),t.serializer)}function strategyMonadic(e,t){return assemble(e,this,monadic,t.cache.create(),t.serializer)}var serializerDefault=function(){return JSON.stringify(arguments)};function ObjectWithoutPrototypeCache(){this.cache=Object.create(null)}ObjectWithoutPrototypeCache.prototype.get=function(e){return this.cache[e]};ObjectWithoutPrototypeCache.prototype.set=function(e,t){this.cache[e]=t};var cacheDefault={create:function e(){return new ObjectWithoutPrototypeCache}};var strategies={variadic:strategyVariadic,monadic:strategyMonadic};var ErrorCode;(function(e){e["MISSING_VALUE"]="MISSING_VALUE";e["INVALID_VALUE"]="INVALID_VALUE";e["MISSING_INTL_API"]="MISSING_INTL_API"})(ErrorCode||(ErrorCode={}));var FormatError=function(e){__extends(t,e);function t(t,a,r){var i=e.call(this,t)||this;i.code=a;i.originalMessage=r;return i}t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};return t}(Error);var InvalidValueError=function(e){__extends(t,e);function t(t,a,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ErrorCode.INVALID_VALUE,i)||this}return t}(FormatError);var InvalidValueTypeError=function(e){__extends(t,e);function t(t,a,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),ErrorCode.INVALID_VALUE,r)||this}return t}(FormatError);var MissingValueError=function(e){__extends(t,e);function t(t,a){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(a,'"'),ErrorCode.MISSING_VALUE,a)||this}return t}(FormatError);var PART_TYPE;(function(e){e[e["literal"]=0]="literal";e[e["object"]=1]="object"})(PART_TYPE||(PART_TYPE={}));function mergeLiteral(e){if(e.length<2){return e}return e.reduce((function(e,t){var a=e[e.length-1];if(!a||a.type!==PART_TYPE.literal||t.type!==PART_TYPE.literal){e.push(t)}else{a.value+=t.value}return e}),[])}function isFormatXMLElementFn(e){return typeof e==="function"}function formatToParts(e,t,a,r,i,n,o){if(e.length===1&&isLiteralElement(e[0])){return[{type:PART_TYPE.literal,value:e[0].value}]}var l=[];for(var s=0,u=e;s<u.length;s++){var c=u[s];if(isLiteralElement(c)){l.push({type:PART_TYPE.literal,value:c.value});continue}if(isPoundElement(c)){if(typeof n==="number"){l.push({type:PART_TYPE.literal,value:a.getNumberFormat(t).format(n)})}continue}var p=c.value;if(!(i&&p in i)){throw new MissingValueError(p,o)}var y=i[p];if(isArgumentElement(c)){if(!y||typeof y==="string"||typeof y==="number"){y=typeof y==="string"||typeof y==="number"?String(y):""}l.push({type:typeof y==="string"?PART_TYPE.literal:PART_TYPE.object,value:y});continue}if(isDateElement(c)){var d=typeof c.style==="string"?r.date[c.style]:isDateTimeSkeleton(c.style)?c.style.parsedOptions:undefined;l.push({type:PART_TYPE.literal,value:a.getDateTimeFormat(t,d).format(y)});continue}if(isTimeElement(c)){var d=typeof c.style==="string"?r.time[c.style]:isDateTimeSkeleton(c.style)?c.style.parsedOptions:undefined;l.push({type:PART_TYPE.literal,value:a.getDateTimeFormat(t,d).format(y)});continue}if(isNumberElement(c)){var d=typeof c.style==="string"?r.number[c.style]:isNumberSkeleton(c.style)?c.style.parsedOptions:undefined;if(d&&d.scale){y=y*(d.scale||1)}l.push({type:PART_TYPE.literal,value:a.getNumberFormat(t,d).format(y)});continue}if(isTagElement(c)){var v=c.children,m=c.value;var f=i[m];if(!isFormatXMLElementFn(f)){throw new InvalidValueTypeError(m,"function",o)}var h=formatToParts(v,t,a,r,i,n);var g=f(h.map((function(e){return e.value})));if(!Array.isArray(g)){g=[g]}l.push.apply(l,g.map((function(e){return{type:typeof e==="string"?PART_TYPE.literal:PART_TYPE.object,value:e}})))}if(isSelectElement(c)){var E=c.options[y]||c.options.other;if(!E){throw new InvalidValueError(c.value,y,Object.keys(c.options),o)}l.push.apply(l,formatToParts(E.value,t,a,r,i));continue}if(isPluralElement(c)){var E=c.options["=".concat(y)];if(!E){if(!Intl.PluralRules){throw new FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ErrorCode.MISSING_INTL_API,o)}var T=a.getPluralRules(t,{type:c.pluralType}).select(y-(c.offset||0));E=c.options[T]||c.options.other}if(!E){throw new InvalidValueError(c.value,y,Object.keys(c.options),o)}l.push.apply(l,formatToParts(E.value,t,a,r,i,y-(c.offset||0)));continue}}return mergeLiteral(l)}function mergeConfig(e,t){if(!t){return e}return __assign(__assign(__assign({},e||{}),t||{}),Object.keys(e).reduce((function(a,r){a[r]=__assign(__assign({},e[r]),t[r]||{});return a}),{}))}function mergeConfigs(e,t){if(!t){return e}return Object.keys(e).reduce((function(a,r){a[r]=mergeConfig(e[r],t[r]);return a}),__assign({},e))}function createFastMemoizeCache$1(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function createDefaultFormatters(e){if(e===void 0){e={number:{},dateTime:{},pluralRules:{}}}return{getNumberFormat:memoize((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.NumberFormat).bind.apply(e,__spreadArray([void 0],t,false)))}),{cache:createFastMemoizeCache$1(e.number),strategy:strategies.variadic}),getDateTimeFormat:memoize((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.DateTimeFormat).bind.apply(e,__spreadArray([void 0],t,false)))}),{cache:createFastMemoizeCache$1(e.dateTime),strategy:strategies.variadic}),getPluralRules:memoize((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.PluralRules).bind.apply(e,__spreadArray([void 0],t,false)))}),{cache:createFastMemoizeCache$1(e.pluralRules),strategy:strategies.variadic})}}var IntlMessageFormat=function(){function e(t,a,r,i){var n=this;if(a===void 0){a=e.defaultLocale}this.formatterCache={number:{},dateTime:{},pluralRules:{}};this.format=function(e){var t=n.formatToParts(e);if(t.length===1){return t[0].value}var a=t.reduce((function(e,t){if(!e.length||t.type!==PART_TYPE.literal||typeof e[e.length-1]!=="string"){e.push(t.value)}else{e[e.length-1]+=t.value}return e}),[]);if(a.length<=1){return a[0]||""}return a};this.formatToParts=function(e){return formatToParts(n.ast,n.locales,n.formatters,n.formats,e,undefined,n.message)};this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}};this.getAst=function(){return n.ast};if(typeof t==="string"){this.message=t;if(!e.__parse){throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`")}this.ast=e.__parse(t,{ignoreTag:i===null||i===void 0?void 0:i.ignoreTag})}else{this.ast=t}if(!Array.isArray(this.ast)){throw new TypeError("A message must be provided as a String or AST.")}this.formats=mergeConfigs(e.formats,r);this.locales=a;this.formatters=i&&i.formatters||createDefaultFormatters(this.formatterCache)}Object.defineProperty(e,"defaultLocale",{get:function(){if(!e.memoizedDefaultLocale){e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale}return e.memoizedDefaultLocale},enumerable:false,configurable:true});e.memoizedDefaultLocale=null;e.__parse=parse;e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};return e}();var IntlErrorCode;(function(e){e["FORMAT_ERROR"]="FORMAT_ERROR";e["UNSUPPORTED_FORMATTER"]="UNSUPPORTED_FORMATTER";e["INVALID_CONFIG"]="INVALID_CONFIG";e["MISSING_DATA"]="MISSING_DATA";e["MISSING_TRANSLATION"]="MISSING_TRANSLATION"})(IntlErrorCode||(IntlErrorCode={}));var IntlError=function(e){__extends(t,e);function t(a,r,i){var n=this;var o=i?i instanceof Error?i:new Error(String(i)):undefined;n=e.call(this,"[@formatjs/intl Error ".concat(a,"] ").concat(r," \n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this;n.code=a;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(n,t)}return n}return t}(Error);var UnsupportedFormatterError=function(e){__extends(t,e);function t(t,a){return e.call(this,IntlErrorCode.UNSUPPORTED_FORMATTER,t,a)||this}return t}(IntlError);var InvalidConfigError=function(e){__extends(t,e);function t(t,a){return e.call(this,IntlErrorCode.INVALID_CONFIG,t,a)||this}return t}(IntlError);var MissingDataError=function(e){__extends(t,e);function t(t,a){return e.call(this,IntlErrorCode.MISSING_DATA,t,a)||this}return t}(IntlError);var IntlFormatError=function(e){__extends(t,e);function t(t,a,r){return e.call(this,IntlErrorCode.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(a,"\n"),r)||this}return t}(IntlError);var MessageFormatError=function(e){__extends(t,e);function t(t,a,r,i){var n=e.call(this,"".concat(t," \nMessageID: ").concat(r===null||r===void 0?void 0:r.id,"\nDefault Message: ").concat(r===null||r===void 0?void 0:r.defaultMessage,"\nDescription: ").concat(r===null||r===void 0?void 0:r.description," \n"),a,i)||this;n.descriptor=r;return n}return t}(IntlFormatError);var MissingTranslationError=function(e){__extends(t,e);function t(t,a){var r=e.call(this,IntlErrorCode.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(a,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;r.descriptor=t;return r}return t}(IntlError);function filterProps(e,t,a){if(a===void 0){a={}}return t.reduce((function(t,r){if(r in e){t[r]=e[r]}else if(r in a){t[r]=a[r]}return t}),{})}var defaultErrorHandler=function(e){};var DEFAULT_INTL_CONFIG={formats:{},messages:{},timeZone:undefined,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:true,onError:defaultErrorHandler};function createIntlCache(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function createFastMemoizeCache(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function createFormatters(e){if(e===void 0){e=createIntlCache()}var t=Intl.RelativeTimeFormat;var a=Intl.ListFormat;var r=Intl.DisplayNames;var i=memoize((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.DateTimeFormat).bind.apply(e,__spreadArray([void 0],t,false)))}),{cache:createFastMemoizeCache(e.dateTime),strategy:strategies.variadic});var n=memoize((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.NumberFormat).bind.apply(e,__spreadArray([void 0],t,false)))}),{cache:createFastMemoizeCache(e.number),strategy:strategies.variadic});var o=memoize((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.PluralRules).bind.apply(e,__spreadArray([void 0],t,false)))}),{cache:createFastMemoizeCache(e.pluralRules),strategy:strategies.variadic});return{getDateTimeFormat:i,getNumberFormat:n,getMessageFormat:memoize((function(e,t,a,r){return new IntlMessageFormat(e,t,a,__assign({formatters:{getNumberFormat:n,getDateTimeFormat:i,getPluralRules:o}},r||{}))}),{cache:createFastMemoizeCache(e.message),strategy:strategies.variadic}),getRelativeTimeFormat:memoize((function(){var e=[];for(var a=0;a<arguments.length;a++){e[a]=arguments[a]}return new(t.bind.apply(t,__spreadArray([void 0],e,false)))}),{cache:createFastMemoizeCache(e.relativeTime),strategy:strategies.variadic}),getPluralRules:o,getListFormat:memoize((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(a.bind.apply(a,__spreadArray([void 0],e,false)))}),{cache:createFastMemoizeCache(e.list),strategy:strategies.variadic}),getDisplayNames:memoize((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(r.bind.apply(r,__spreadArray([void 0],e,false)))}),{cache:createFastMemoizeCache(e.displayNames),strategy:strategies.variadic})}}function getNamedFormat(e,t,a,r){var i=e&&e[t];var n;if(i){n=i[a]}if(n){return n}r(new UnsupportedFormatterError("No ".concat(t," format named: ").concat(a)))}function invariant(e,t,a){if(a===void 0){a=Error}if(!e){throw new a(t)}}function setTimeZoneInOptions(e,t){return Object.keys(e).reduce((function(a,r){a[r]=__assign({timeZone:t},e[r]);return a}),{})}function deepMergeOptions(e,t){var a=Object.keys(__assign(__assign({},e),t));return a.reduce((function(a,r){a[r]=__assign(__assign({},e[r]||{}),t[r]||{});return a}),{})}function deepMergeFormatsAndSetTimeZone(e,t){if(!t){return e}var a=IntlMessageFormat.formats;return __assign(__assign(__assign({},a),e),{date:deepMergeOptions(setTimeZoneInOptions(a.date,t),setTimeZoneInOptions(e.date||{},t)),time:deepMergeOptions(setTimeZoneInOptions(a.time,t),setTimeZoneInOptions(e.time||{},t))})}function formatMessage(e,t,a,r,i){var n=e.locale,o=e.formats,l=e.messages,s=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,p=e.onError,y=e.timeZone,d=e.defaultRichTextElements;if(a===void 0){a={id:""}}var v=a.id,m=a.defaultMessage;invariant(!!v,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var f=String(v);var h=l&&Object.prototype.hasOwnProperty.call(l,f)&&l[f];if(Array.isArray(h)&&h.length===1&&h[0].type===TYPE.literal){return h[0].value}if(!r&&h&&typeof h==="string"&&!d){return h.replace(/'\{(.*?)\}'/gi,"{$1}")}r=__assign(__assign({},d),r||{});o=deepMergeFormatsAndSetTimeZone(o,y);u=deepMergeFormatsAndSetTimeZone(u,y);if(!h){if(c===false&&h===""){return h}if(!m||n&&n.toLowerCase()!==s.toLowerCase()){p(new MissingTranslationError(a,n))}if(m){try{var g=t.getMessageFormat(m,s,u,i);return g.format(r)}catch(e){p(new MessageFormatError('Error formatting default message for: "'.concat(f,'", rendering default message verbatim'),n,a,e));return typeof m==="string"?m:f}}return f}try{var g=t.getMessageFormat(h,n,o,__assign({formatters:t},i||{}));return g.format(r)}catch(e){p(new MessageFormatError('Error formatting message: "'.concat(f,'", using ').concat(m?"default message":"id"," as fallback."),n,a,e))}if(m){try{var g=t.getMessageFormat(m,s,u,i);return g.format(r)}catch(e){p(new MessageFormatError('Error formatting the default message for: "'.concat(f,'", rendering message verbatim'),n,a,e))}}if(typeof h==="string"){return h}if(typeof m==="string"){return m}return f}var DATE_TIME_FORMAT_OPTIONS=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function getFormatter$2(e,t,a,r){var i=e.locale,n=e.formats,o=e.onError,l=e.timeZone;if(r===void 0){r={}}var s=r.format;var u=__assign(__assign({},l&&{timeZone:l}),s&&getNamedFormat(n,t,s,o));var c=filterProps(r,DATE_TIME_FORMAT_OPTIONS,u);if(t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle){c=__assign(__assign({},c),{hour:"numeric",minute:"numeric"})}return a(i,c)}function formatDate(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return getFormatter$2(e,"date",t,o).format(l)}catch(t){e.onError(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function formatTime(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return getFormatter$2(e,"time",t,o).format(l)}catch(t){e.onError(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function formatDateTimeRange(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=a[2],l=o===void 0?{}:o;var s=e.timeZone,u=e.locale,c=e.onError;var p=filterProps(l,DATE_TIME_FORMAT_OPTIONS,s?{timeZone:s}:{});try{return t(u,p).formatRange(i,n)}catch(e){c(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function formatDateToParts(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return getFormatter$2(e,"date",t,o).formatToParts(l)}catch(t){e.onError(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting date.",t))}return[]}function formatTimeToParts(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return getFormatter$2(e,"time",t,o).formatToParts(l)}catch(t){e.onError(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting time.",t))}return[]}var DISPLAY_NAMES_OPTONS=["localeMatcher","style","type","fallback"];function formatDisplayName(e,t,a,r){var i=e.locale,n=e.onError;var o=Intl.DisplayNames;if(!o){n(new FormatError('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',ErrorCode.MISSING_INTL_API))}var l=filterProps(r,DISPLAY_NAMES_OPTONS);try{return t(i,l).of(a)}catch(e){n(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting display name.",e))}}var LIST_FORMAT_OPTIONS=["localeMatcher","type","style"];var now=Date.now();function generateToken(e){return"".concat(now,"_").concat(e,"_").concat(now)}function formatList(e,t,a,r){if(r===void 0){r={}}var i=formatListToParts(e,t,a,r).reduce((function(e,t){var a=t.value;if(typeof a!=="string"){e.push(a)}else if(typeof e[e.length-1]==="string"){e[e.length-1]+=a}else{e.push(a)}return e}),[]);return i.length===1?i[0]:i}function formatListToParts(e,t,a,r){var i=e.locale,n=e.onError;if(r===void 0){r={}}var o=Intl.ListFormat;if(!o){n(new FormatError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',ErrorCode.MISSING_INTL_API))}var l=filterProps(r,LIST_FORMAT_OPTIONS);try{var s={};var u=a.map((function(e,t){if(typeof e==="object"){var a=generateToken(t);s[a]=e;return a}return String(e)}));return t(i,l).formatToParts(u).map((function(e){return e.type==="literal"?e:__assign(__assign({},e),{value:s[e.value]||e.value})}))}catch(e){n(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting list.",e))}return a}var PLURAL_FORMAT_OPTIONS=["localeMatcher","type"];function formatPlural(e,t,a,r){var i=e.locale,n=e.onError;if(r===void 0){r={}}if(!Intl.PluralRules){n(new FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ErrorCode.MISSING_INTL_API))}var o=filterProps(r,PLURAL_FORMAT_OPTIONS);try{return t(i,o).select(a)}catch(e){n(new IntlFormatError("Error formatting plural.",i,e))}return"other"}var RELATIVE_TIME_FORMAT_OPTIONS=["numeric","style"];function getFormatter$1(e,t,a){var r=e.locale,i=e.formats,n=e.onError;if(a===void 0){a={}}var o=a.format;var l=!!o&&getNamedFormat(i,"relative",o,n)||{};var s=filterProps(a,RELATIVE_TIME_FORMAT_OPTIONS,l);return t(r,s)}function formatRelativeTime(e,t,a,r,i){if(i===void 0){i={}}if(!r){r="second"}var n=Intl.RelativeTimeFormat;if(!n){e.onError(new FormatError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',ErrorCode.MISSING_INTL_API))}try{return getFormatter$1(e,t,i).format(a,r)}catch(t){e.onError(new IntlFormatError("Error formatting relative time.",e.locale,t))}return String(a)}var NUMBER_FORMAT_OPTIONS=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function getFormatter(e,t,a){var r=e.locale,i=e.formats,n=e.onError;if(a===void 0){a={}}var o=a.format;var l=o&&getNamedFormat(i,"number",o,n)||{};var s=filterProps(a,NUMBER_FORMAT_OPTIONS,l);return t(r,s)}function formatNumber(e,t,a,r){if(r===void 0){r={}}try{return getFormatter(e,t,r).format(a)}catch(t){e.onError(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting number.",t))}return String(a)}function formatNumberToParts(e,t,a,r){if(r===void 0){r={}}try{return getFormatter(e,t,r).formatToParts(a)}catch(t){e.onError(new IntlError(IntlErrorCode.FORMAT_ERROR,"Error formatting number.",t))}return[]}function messagesContainString(e){var t=e?e[Object.keys(e)[0]]:undefined;return typeof t==="string"}function verifyConfigMessages(e){if(e.defaultRichTextElements&&messagesContainString(e.messages||{})){console.warn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}}function createIntl(e,t){var a=createFormatters(t);var r=__assign(__assign({},DEFAULT_INTL_CONFIG),e);var i=r.locale,n=r.defaultLocale,o=r.onError;if(!i){if(o){o(new InvalidConfigError('"locale" was not configured, using "'.concat(n,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')))}r.locale=r.defaultLocale||"en"}else if(!Intl.NumberFormat.supportedLocalesOf(i).length&&o){o(new MissingDataError('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(n,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}else if(!Intl.DateTimeFormat.supportedLocalesOf(i).length&&o){o(new MissingDataError('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(n,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}verifyConfigMessages(r);return __assign(__assign({},r),{formatters:a,formatNumber:formatNumber.bind(null,r,a.getNumberFormat),formatNumberToParts:formatNumberToParts.bind(null,r,a.getNumberFormat),formatRelativeTime:formatRelativeTime.bind(null,r,a.getRelativeTimeFormat),formatDate:formatDate.bind(null,r,a.getDateTimeFormat),formatDateToParts:formatDateToParts.bind(null,r,a.getDateTimeFormat),formatTime:formatTime.bind(null,r,a.getDateTimeFormat),formatDateTimeRange:formatDateTimeRange.bind(null,r,a.getDateTimeFormat),formatTimeToParts:formatTimeToParts.bind(null,r,a.getDateTimeFormat),formatPlural:formatPlural.bind(null,r,a.getPluralRules),formatMessage:formatMessage.bind(null,r,a),formatList:formatList.bind(null,r,a.getListFormat),formatListToParts:formatListToParts.bind(null,r,a.getListFormat),formatDisplayName:formatDisplayName.bind(null,r,a.getDisplayNames)})}var DEFAULT_LANGUAGE="en";function getBrowserLang(){var e=document.documentElement.getAttribute("lang");if(!!e){return e}else if(window.navigator&&window.navigator.language){var t=window.navigator.languages?window.navigator.languages[0]:window.navigator.language;return t.slice(0,2)}else{return DEFAULT_LANGUAGE}}var cache=createIntlCache();var locale=getBrowserLang();var intl=createIntl({locale:locale,defaultLocale:"en",messages:lang[locale]||en},cache);function generateId(){return"wmcl-"+Math.random().toString(36).substr(2,10)}function debounce(e,t){var a;return function(){var r=this;var i=function(){return e.apply(r,arguments)};clearTimeout(a);a=setTimeout(i,t)}}function getTextDir(){var e=document.querySelector("html").getAttribute("dir");return e?e.toLowerCase():""}function getPosition(e){var t=e.getBoundingClientRect();var a=t.x;var r=t.y;if(!a){if(getTextDir()==="rtl"){a=t.right}else{a=t.left}r=t.top}return{x:a,y:r}}function findParentWithScrollbar(e){while(!!e){if(e.scrollHeight>e.clientHeight&&["scroll","auto"].includes(window.getComputedStyle(e).overflowY)){return e}e=e.parentElement}}function findParentWithHiddenOverflow(e){while(!!e){if(window.getComputedStyle(e).overflowY!=="visible"){return e}e=e.parentElement}}function getClosableElementMeasurements(e,t){var a=findParentWithHiddenOverflow(e);return{closableElHeight:t.clientHeight,closableElWidth:t.clientWidth,spaceAbove:a?e.getBoundingClientRect().top-a.getBoundingClientRect().top:e.getBoundingClientRect().top,spaceBelow:a?a.getBoundingClientRect().bottom-e.getBoundingClientRect().bottom:document.documentElement.clientHeight-e.getBoundingClientRect().bottom,spaceLeft:a?e.getBoundingClientRect().left-a.getBoundingClientRect().left:e.getBoundingClientRect().left,spaceRight:a?a.getBoundingClientRect().right-e.getBoundingClientRect().right:document.documentElement.clientWidth-e.getBoundingClientRect().right}}function shouldOpenUp(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var i=getClosableElementMeasurements(e,t),n=i.closableElHeight,o=i.spaceAbove,l=i.spaceBelow;var s=n>l+r&&n<=o+a;return s}function shouldOpenDown(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var i=getClosableElementMeasurements(e,t),n=i.closableElHeight,o=i.spaceAbove,l=i.spaceBelow;var s=n>o+a&&n<=l+r;return s}function shouldShiftRight(e,t){var a=getClosableElementMeasurements(e,t),r=a.closableElWidth,i=a.spaceLeft,n=a.spaceRight;var o=r>i&&n>i;return o}function shouldShiftLeft(e,t){var a=getClosableElementMeasurements(e,t),r=a.closableElWidth,i=a.spaceLeft,n=a.spaceRight;var o=r>n&&i>n;return o}function adjustTooltipPosition(e,t,a){a.style.top="";a.style.left="";var r=getClosableElementMeasurements(t,a),i=r.spaceLeft,n=r.spaceRight,o=r.spaceBelow,l=r.spaceAbove;var s=a.getBoundingClientRect().width;var u=a.getBoundingClientRect().height;var c=l>u;var p=o>u;var y=i-24>s;var d=n-24>s;var v=function(e){return!c?e.replace("top","bottom"):e};var m=function(e){return!p&&c?e.replace("bottom","top"):e};var f=function(e,t){if(!y&&d){e=e.replace("left","right")}else if(!y&&!d){e=t}return e};var h=function(e,t){if(!d&&y){e=e.replace("right","left")}else if(!d&&!y){e=t}return e};switch(e){case"left":e=f(e,"bottom");case"right":e=h(e,"bottom");case"top-left":e=f(e,"top");e=v(e);case"top-right":e=h(e,"top");e=v(e);case"bottom-left":e=f(e,"bottom");e=m(e);case"bottom-right":e=h(e,"bottom");e=m(e);case"top":e=v(e);case"bottom":e=m(e)}return e}function hasRoomRight(e,t){var a=0;if(e.type==="click"){a=e.clientX}else if(e.type==="focus"){a=0}else{var r=e;while(r){if(r.tagName=="BODY"){var i=r.scrollLeft||document.documentElement.scrollLeft;a+=r.offsetLeft-i+r.clientLeft}else{a+=r.offsetLeft-r.scrollLeft+r.clientLeft}r=r.offsetParent}}return window.innerWidth-a>=t}function checkForActiveElInShadow(e){while(e&&e.shadowRoot){e=e.shadowRoot.activeElement}return e}function checkForFocusableElInShadow(e){var t=["button","a","input","select","textarea","wm-button","wm-search","wm-select","wm-action-menu","wm-tab-item","wm-datepicker"];var a=e;t.forEach((function(e){if(a&&a.shadowRoot){var t=a.shadowRoot.querySelector(e);if(t){if(e.startsWith("wm-")){a=checkForFocusableElInShadow(t)}else{a=t}}}}));return a}function isFocusable(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null){return true}if(e.disabled){return false}switch(e.nodeName){case"A":return!!e.href&&e.rel!="ignore";case"INPUT":return e.type!="hidden"&&e.type!="file";case"BUTTON":case"SELECT":case"TEXTAREA":case"WM-BUTTON":case"WM-SELECT":case"WM-ACTION-MENU":case"WM-DATEPICKER":case"WM-TIMEPICKER":case"WM-INPUT":case"WM-TAG-INPUT":case"WM-TAB-ITEM":case"WM-SEARCH":return true;default:return false}}function getFirstFocusableDescendant(e){if(isFocusable(e)){return checkForFocusableElInShadow(e)}else if(e.childNodes.length>0){e.childNodes.forEach((function(e){var t=getFirstFocusableDescendant(e);return t&&checkForFocusableElInShadow(t)}))}}function hasValidType(e,t){var a=t.split(" ");var r=e.name&&e.name.split(".");var i=r&&r.length>1&&r[r.length-1];return i?a.includes(i.toLowerCase()):!!e.type?getAcceptedMimeTypesList(a).includes(e.type):true}function getAcceptedMimeTypesList(e){var t={aac:["audio/aac"],abw:["application/x-abiword"],arc:["application/x-freearc"],avi:["video/x-msvideo"],azw:["application/vnd.amazon.ebook"],bin:["application/octet-stream"],bmp:["image/bmp"],bz:["application/x-bzip"],bz2:["application/x-bzip2"],csh:["application/x-csh"],css:["text/css"],csv:["text/csv"],doc:["application/msword"],docx:["application/vnd.openxmlformats-officedocument.wordprocessingml.document"],eot:["application/vnd.ms-fontobject"],epub:["application/epub+zip"],gz:["application/gzip"],gif:["image/gif"],htm:["text/html"],html:["text/html"],ico:["image/vnd.microsoft.icon"],ics:["text/calendar"],jar:["application/java-archive"],jpeg:["image/jpeg"],jpg:["image/jpeg"],js:["text/javascript"],json:["application/json"],jsonld:["application/ld+json"],log:["text/plain"],mid:["audio/x-midi"],midi:["audio/x-midi"],mjs:["text/javascript"],mp3:["audio/mpeg"],mpeg:["video/mpeg"],mpkg:["application/vnd.apple.installer+xml"],odp:["application/vnd.oasis.opendocument.presentation"],ods:["application/vnd.oasis.opendocument.spreadsheet"],odt:["application/vnd.oasis.opendocument.text"],oga:["audio/ogg"],ogv:["video/ogg"],ogx:["application/ogg"],opus:["audio/opus"],otf:["font/otf"],png:["image/png"],pdf:["application/pdf"],php:["application/php"],ppt:["application/vnd.ms-powerpoint"],pptx:["application/vnd.openxmlformats-officedocument.presentationml.presentation"],rar:["application/vnd.rar","application/x-rar","application/x-rar-compressed"],rtf:["application/rtf"],sh:["application/x-sh"],svg:["image/svg+xml"],swf:["application/x-shockwave-flash"],tar:["application/x-tar"],tif:["image/tiff"],tiff:["image/tiff"],ts:["video/mp2t"],ttf:["font/ttf"],txt:["text/plain"],vsd:["application/vnd.visio"],wav:["audio/wav"],weba:["audio/webm"],webm:["video/webm"],webp:["image/webp"],woff:["font/woff"],woff2:["font/woff2"],xhtml:["application/xhtml+xml"],xls:["application/vnd.ms-excel"],xlsx:["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],xml:["application/xml","text/xml"],xul:["application/vnd.mozilla.xul+xml"],zip:["application/zip","application/x-zip-compressed","multipart/x-zip"],"3gp":["video/3gpp","audio/3gpp"],"3g2":["video/3gpp2","audio/3gpp2"],"7z":["application/x-7z-compressed"]};return e.reduce((function(e,a){return e.concat(t[a])}),[])}function snakeCaseToCamelCase(e){var t=/^([a-z0-9]*)(_[a-z0-9]*)*$/g;if(t.test(e)){var a="";var r=e.split("_");r.forEach((function(e,t){a+=t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1)}));return a}else{return e}}function getNewIndexToFocus(e,t,a){var r=e;if(t==="ArrowDown"){r=(e+1)%a}if(t==="ArrowUp"){r=e===0?a-1:e-1}return r}function isRelatedTarget(e,t){var a=t.split(" ");return e.relatedTarget&&a.includes(e.relatedTarget.id)}export{adjustTooltipPosition as a,getPosition as b,checkForActiveElInShadow as c,debounce as d,isRelatedTarget as e,findParentWithScrollbar as f,generateId as g,checkForFocusableElInShadow as h,intl as i,getFirstFocusableDescendant as j,getNewIndexToFocus as k,shouldOpenUp as l,shouldOpenDown as m,shouldShiftRight as n,shouldShiftLeft as o,hasValidType as p,getTextDir as q,hasRoomRight as r,snakeCaseToCamelCase as s};
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function o(e){try{l(n.next(e))}catch(e){s(e)}}function i(e){try{l(n["throw"](e))}catch(e){s(e)}}function l(e){e.done?r(e.value):a(e.value).then(o,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,o;return o={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(s=o[0]&2?a["return"]:o[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,o[1])).done)return s;if(a=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(s=r.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){r.label=o[1];break}if(o[0]===6&&r.label<s[1]){r.label=s[1];s=o;break}if(s&&r.label<s[2]){r.label=s[2];r.ops.push(o);break}if(s[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,s;n<a;n++){if(s||!(n in t)){if(!s)s=Array.prototype.slice.call(t,0,n);s[n]=t[n]}}return e.concat(s||Array.prototype.slice.call(t))};var NAMESPACE="ripple";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],s=r[2];var o=getHostListenerTarget(e,n);var i=hostListenerProxy(t,s);var l=hostListenerOpts(n);plt.ael(o,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(o,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;return e};var hostListenerOpts=function(e){return(e&2)!==0};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var XLINK_NS="http://www.w3.org/1999/xlink";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var s=styles.get(a);e=e.nodeType===11?e:doc;if(s){if(typeof s==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var i=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{{i=doc.createElement("style");i.innerHTML=s}e.insertBefore(i,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[s],false)}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var s=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=s;r.classList.add(s+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var s=null;var o=false;var i=false;var l=[];var u=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&i){l[l.length-1].$text$+=a}else{l.push(o?newVNode(null,a):a)}i=o}}};u(r);if(t){if(t.key){s=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var c=newVNode(e,null);c.$attrs$=t;if(l.length>0){c.$children$=l}{c.$key$=s}return c};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var setAccessor=function(e,t,r,n,a,s){if(r!==n){var o=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var u=parseClassList(r);var f=parseClassList(n);l.remove.apply(l,u.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(r){plt.rel(e,t,r,false)}if(n){plt.ael(e,t,n,false)}}else{var $=isComplexType(n);if((o||$&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var d=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=d){e[t]=d}}else{e[t]=n}}catch(e){}}var v=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){t=i;v=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(v){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||s&4||a)&&!$){n=n===true?"":n;if(v){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var s=e&&e.$attrs$||EMPTY_OBJ;var o=t.$attrs$||EMPTY_OBJ;{for(n in s){if(!(n in o)){setAccessor(a,n,s[n],undefined,r,t.$flags$)}}}for(n in o){setAccessor(a,n,s[n],o[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var s=0;var o;var i;if(a.$text$!==null){o=a.$elm$=doc.createTextNode(a.$text$)}else{if(!isSvgMode){isSvgMode=a.$tag$==="svg"}o=a.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.$tag$);if(isSvgMode&&a.$tag$==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.$children$){for(s=0;s<a.$children$.length;++s){i=createElm(e,a,s);if(i){o.appendChild(i)}}}{if(a.$tag$==="svg"){isSvgMode=false}else if(o.tagName==="foreignObject"){isSvgMode=true}}}return o};var addVnodes=function(e,t,r,n,a,s){var o=e;var i;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=s;++a){if(n[a]){i=createElm(null,r,a);if(i){n[a].$elm$=i;o.insertBefore(i,t)}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;callNodeRefs(n);a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var s=0;var o=0;var i=0;var l=t.length-1;var u=t[0];var f=t[l];var c=n.length-1;var $=n[0];var d=n[c];var v;var p;while(a<=l&&s<=c){if(u==null){u=t[++a]}else if(f==null){f=t[--l]}else if($==null){$=n[++s]}else if(d==null){d=n[--c]}else if(isSameVnode(u,$)){patch(u,$);u=t[++a];$=n[++s]}else if(isSameVnode(f,d)){patch(f,d);f=t[--l];d=n[--c]}else if(isSameVnode(u,d)){patch(u,d);e.insertBefore(u.$elm$,f.$elm$.nextSibling);u=t[++a];d=n[--c]}else if(isSameVnode(f,$)){patch(f,$);e.insertBefore(f.$elm$,u.$elm$);f=t[--l];$=n[++s]}else{o=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===$.$key$){o=i;break}}}if(o>=0){p=t[o];if(p.$tag$!==$.$tag$){v=createElm(t&&t[s],r,o)}else{patch(p,$);t[o]=undefined;v=p.$elm$}$=n[++s]}else{v=createElm(t&&t[s],r,s);$=n[++s]}if(v){{u.$elm$.parentNode.insertBefore(v,u.$elm$)}}}}if(a>l){addVnodes(e,n[c+1]==null?null:n[c+1].$elm$,r,n,s,c)}else if(s>c){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var s=t.$tag$;var o=t.$text$;if(o===null){{isSvgMode=s==="svg"?true:s==="foreignObject"?false:isSvgMode}{if(s==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}if(isSvgMode&&s==="svg"){isSvgMode=false}}else if(e.$text$!==o){r.data=o}};var callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var s=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;if(n.$attrsToReflect$){s.$attrs$=s.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return s.$attrs$[n]=r[t]}))}s.$tag$=null;s.$flags$|=4;e.$vnode$=s;s.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(a,s)};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.$queuedListeners$=null}}{a=safeCall(n,"componentWillLoad")}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,s,o,i,l;return __generator(this,(function(u){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);s=n["s-rc"];if(r){attachStyles(e)}o=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(s){s.map((function(e){return e()}));n["s-rc"]=undefined}o();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render&&t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$lazyInstance$;var s=e.$ancestorComponent$;{safeCall(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!s){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var s=a.$hostElement$;var o=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(i&8)||o===undefined)&&r!==o){a.$instanceValues$.set(t,r);if(l){if(n.$watchers$&&i&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{l[e](r,o,t)}catch(e){consoleError(e,s)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],s=e[1][0];if(s&31||r&2&&s&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&s&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=getHostRef(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var s=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=s.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;s.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,s,o,i,l,u;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=f.sent();e();f.label=2;case 2:if(!a.isProxied){{r.$watchers$=a.watchers}proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}n();if(a.style){s=a.style;o=getScopeId(r);if(!styles.has(o)){i=createTime("registerStyles",r.$tagName$);registerStyle(o,s,!!(r.$flags$&1));i()}}f.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.$listeners$)}n()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var s=win.customElements;var o=doc.head;var i=o.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var f;var c=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var o=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(c){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(o)&&!s.get(o)){n.push(o);s.define(o,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");o.insertBefore(l,i?i.nextSibling:o.firstChild)}c=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.$listeners$);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var s=cmpModules.get(a);if(s){return s[n]}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,createEvent as c,forceUpdate as f,getElement as g,h,promiseResolve as p,registerInstance as r};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,g as getElement}from"./index-cd8f9ae2.js";var wmNavigationHamburgerCss=':host{width:3.75rem;height:3.75rem}button{width:100%;height:100%;border:none;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);background-color:transparent;outline:none;padding:0}button.user-is-tabbing:focus{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}button.user-is-tabbing:focus::-moz-focus-inner{border:0}button:hover{background-color:#d7d6d9}.icon:before{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f35c";font-size:1.5rem;color:#575195}@media screen and (min-width: 1024px){button{display:none}}';var NavigationHamburger=function(){function n(n){registerInstance(this,n);this.isTabbing=false;this.open=false}n.prototype.toggleTabbingOn=function(){this.isTabbing=true};n.prototype.toggleTabbingOff=function(){this.isTabbing=false};n.prototype.handleNavigationStateChanged=function(n){this.open=n.detail.open};n.prototype.componentWillLoad=function(){this.el.focus=function(){this.shadowRoot.querySelector("button").focus()};if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}if(!this.navId){console.error("wm-navigation-hamburger: nav-id is a required prop")}};n.prototype.componentDidLoad=function(){this.nav=document.getElementById(this.navId);if(!this.nav){console.error("wm-navigation-hamburger: wm-navigation with id ".concat(this.navId," was not found"))}};n.prototype.render=function(){var n=this;return h("button",{class:"".concat(this.isTabbing?"user-is-tabbing":""),"aria-expanded":this.open,"aria-controls":this.navId,onClick:function(){return n.nav.open=!n.nav.open}},h("span",{class:"icon"}))};Object.defineProperty(n.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();NavigationHamburger.style=wmNavigationHamburgerCss;export{NavigationHamburger as wm_navigation_hamburger};
@@ -1 +0,0 @@
1
- import{r as registerInstance,h,H as Host}from"./index-cd8f9ae2.js";var wmNavigationItemCss='.link{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:inherit;text-decoration:none;min-height:4.5rem;text-align:center;padding:1.25rem 0.5rem;font-weight:500;outline:none;position:relative}.link:hover{background-color:#f2f2f2}.link .icon{font-size:1.375rem;color:#6b6b6b}.link .text{font-size:0.875rem}.link.user-is-tabbing:focus{-webkit-box-shadow:inset 0 2px 2px 0 rgba(244, 243, 246, 0.2), inset 0 2px 2px 0 rgba(0, 0, 0, 0.1), inset 0 0 4px 3px #61279e;box-shadow:inset 0 2px 2px 0 rgba(244, 243, 246, 0.2), inset 0 2px 2px 0 rgba(0, 0, 0, 0.1), inset 0 0 4px 3px #61279e}.link.active{background-color:#e9e7ec}.link.active:before{content:"";background-color:#575195;position:absolute;height:100%;width:5px;left:0}.link.active .text{color:#575195}.link.active .icon{color:#575195}';var NavigationItem=function(){function t(t){registerInstance(this,t);this.isTabbing=false}t.prototype.toggleTabbingOn=function(){this.isTabbing=true};t.prototype.toggleTabbingOff=function(){this.isTabbing=false};t.prototype.componentWillLoad=function(){if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}};t.prototype.render=function(){return h(Host,{role:"listitem"},h("a",{class:"link ".concat(this.active?"active":""," ").concat(this.isTabbing?"user-is-tabbing":""),href:this.href},h("div",{class:"icon"},h("slot",null)),h("div",{class:"text"},this.text)))};return t}();NavigationItem.style=wmNavigationItemCss;export{NavigationItem as wm_navigation_item};
@@ -1 +0,0 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-cd8f9ae2.js";import{i as intl}from"./functions-6cd52dcf.js";var wmNavigationCss=".nav{-webkit-box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);-moz-box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:7.5625rem;background-color:#fff;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;font-size:0.875rem;height:100%;z-index:10}.navlist{margin:0;padding:0}.toggle-wrapper{display:none}@media screen and (max-width: 1023px){.nav{-ms-transition:transform 0.33s ease;-webkit-transition:transform 0.33s ease;-moz-transition:transform 0.33s ease;-webkit-transition:-webkit-transform 0.33s ease;transition:-webkit-transform 0.33s ease;transition:transform 0.33s ease;transition:transform 0.33s ease, -webkit-transform 0.33s ease;position:fixed;top:0;bottom:0;left:0;z-index:100;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.nav ul{visibility:hidden}.nav[aria-expanded=true]{-webkit-transform:translateX(0);transform:translateX(0)}.nav[aria-expanded=true] ul{visibility:visible}.nav .toggle-wrapper{display:inline-block;min-height:5rem;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.overlay{width:100vw;height:100vh;max-width:none;max-height:none;position:fixed !important;top:0;bottom:0;left:0;right:0;-webkit-transform:translate(0%, 0%);transform:translate(0%, 0%);background-color:rgba(25, 25, 25, 0.4);-ms-transition:opacity 0.5s ease-out;-webkit-transition:opacity 0.5s ease-out;-moz-transition:opacity 0.5s ease-out;transition:opacity 0.5s ease-out}}";var Navigation=function(){function t(t){registerInstance(this,t);this.wmNavigationStateChanged=createEvent(this,"wmNavigationStateChanged",7);this.open=false;this.isTabbing=false;this.openTooltipMessage=intl.formatMessage({id:"global.openVerb",defaultMessage:"Open",description:"For a button, to open a user interface element"});this.closeTooltipMessage=intl.formatMessage({id:"global.closeVerb",defaultMessage:"Close",description:"For a button, to close a user interface element"})}Object.defineProperty(t.prototype,"ariaExpanded",{get:function(){return window.innerWidth<1024?this.open.toString():undefined},enumerable:false,configurable:true});t.prototype.toggleTabbingOn=function(){this.isTabbing=true};t.prototype.toggleTabbingOff=function(){this.isTabbing=false};t.prototype.componentWillLoad=function(){if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}this.el.focus=function(){this.shadowRoot.querySelector(".toggle").focus()}};t.prototype.componentDidLoad=function(){this.hamburgerBtn=document.querySelector("wm-navigation-hamburger")};t.prototype.updateHamburgerState=function(){var t=this;this.wmNavigationStateChanged.emit({open:this.open});if(this.open){setTimeout((function(){return t.toggleEl.focus()}),250)}else{this.hamburgerBtn&&this.hamburgerBtn.focus()}};t.prototype.renderOverlay=function(){var t=this;return h("div",{class:"overlay",onClick:function(){t.open=false}})};t.prototype.render=function(){var t=this;return h(Host,null,this.open?this.renderOverlay():"",h("nav",{class:"nav","aria-expanded":this.ariaExpanded},h("div",{class:"toggle-wrapper"},h("wm-button",{ref:function(e){return t.toggleEl=e},class:"toggle ".concat(this.isTabbing?"user-is-tabbing":""),"button-type":"navigational",icon:this.open?"f156":"f35c","icon-size":"2rem",tooltip:this.open?this.closeTooltipMessage:this.openTooltipMessage,"tooltip-position":"left",tabIndex:this.open?undefined:-1,onClick:function(){t.open=!t.open}})),h("ul",{class:"navlist"},h("slot",null))))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["updateHamburgerState"]}},enumerable:false,configurable:true});return t}();Navigation.style=wmNavigationCss;export{Navigation as wm_navigation};
@@ -1 +0,0 @@
1
- System.register(["./p-20856a2d.system.js","./p-6923b8f6.system.js"],(function(e){"use strict";var t,r,a,i,s,o,l,n,p;return{setters:[function(e){t=e.r;r=e.c;a=e.h;i=e.H;s=e.g},function(e){o=e.i;l=e.e;n=e.h;p=e.g}],execute:function(){var d=':host,wm-datepicker{font-family:inherit}:host *,wm-datepicker *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper,wm-datepicker .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label,wm-datepicker .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required,wm-datepicker .wrapper .label .required{color:#c0392b}:host .wrapper.label-left,wm-datepicker .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper,wm-datepicker .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label,wm-datepicker .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label,wm-datepicker .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label,wm-datepicker .wrapper.invalid .label{color:#c0392b}:host .wrapper.invalid .label:after,wm-datepicker .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f026";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after,[dir=RTL] wm-datepicker .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label,wm-datepicker .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper,wm-datepicker .wrapper{position:relative}:host .wrapper .required,wm-datepicker .wrapper .required{color:#c4431c}:host .wrapper .inner-wrapper,wm-datepicker .wrapper .inner-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:2.5rem;border:1px solid;border-color:rgba(35, 35, 35, 0.6);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;max-width:236px;-ms-flex-pack:justify;justify-content:space-between;position:relative}:host .wrapper .inner-wrapper .date-input,wm-datepicker .wrapper .inner-wrapper .date-input{-moz-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none;font-size:0.875rem;padding:0.625rem 0.9375rem 0.5rem;min-width:0;height:100%;-ms-flex:1;flex:1;margin:0}:host .wrapper .inner-wrapper .date-input:disabled,wm-datepicker .wrapper .inner-wrapper .date-input:disabled{background-color:#f0f0f0;color:#737373}:host .wrapper .inner-wrapper .date-input:focus,wm-datepicker .wrapper .inner-wrapper .date-input:focus{outline:none}:host .wrapper.invalid .inner-wrapper,wm-datepicker .wrapper.invalid .inner-wrapper{-webkit-box-shadow:0 0 0 1px #c0392b;-moz-box-shadow:0 0 0 1px #c0392b;box-shadow:0 0 0 1px #c0392b;border-color:#c0392b}:host .wrapper.invalid .error,wm-datepicker .wrapper.invalid .error{margin-top:4px;margin-bottom:4px;display:block;top:100%;left:0;font-style:italic;font-size:0.875rem;color:#c0392b}:host .wrapper.focus .inner-wrapper,wm-datepicker .wrapper.focus .inner-wrapper{-webkit-box-shadow:0 0 0 1px #20cbd4;-moz-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;outline:none;border-color:#20cbd4}:host .user-is-tabbing .toggle:focus:not(:active),wm-datepicker .user-is-tabbing .toggle:focus:not(:active){border:none;z-index:11}';var h=e("wm_datepicker",function(){function e(e){t(this,e);this.wmDatepickerNewValidValue=r(this,"wmDatepickerNewValidValue",7);this.value="";this.disabled=false;this.dateFormat="US";this.errorMessage="";this.labelPosition="top";this.label="";this.requiredField=false;this.displayError="";this.lastCommittedValue=this.value;this.parsableEntry=/^(\d{1}|\d{2}|\d{4})[\-\.\/]\d{1,2}[\-\.\/](\d{1}|\d{2}|\d{4})$/;this.isoEntry=/^\d\d\d\d[-]\d\d[-]\d\d$/;this.eightDigitsEntry=/^\d{8}$/;this.dateFormats={US:o.formatMessage({id:"date.formatUS",defaultMessage:"mm/dd/yyyy"}),INT:o.formatMessage({id:"date.formatINT",defaultMessage:"dd/mm/yyyy"}),ISO:o.formatMessage({id:"date.formatISO",defaultMessage:"yyyy/mm/dd"})}}e.prototype.handleTabbingOn=function(){this.dpWrapper&&this.dpWrapper.classList.add("user-is-tabbing")};e.prototype.handleTabbingOff=function(){this.dpWrapper&&this.dpWrapper.classList.remove("user-is-tabbing")};e.prototype.handleError=function(){if(this.errorMessage){this.generateError()}else{this.clearError();this.processInput()}};e.prototype.handleInput=function(e){this.value=e.target.value};e.prototype.handleBlur=function(e){var t=this.preventValidation&&l(e,this.preventValidation);if(!t){this.processInput()}this.dpWrapper.classList.remove("focus")};e.prototype.focusHandler=function(){this.dpWrapper.classList.add("focus")};e.prototype.handlePopupClosed=function(){this.el.tabIndex=0;this.el.focus()};e.prototype.handlePopupBlurred=function(e){if(e.detail.relatedTarget!==this.el){var t=new CustomEvent("blur");t.relatedTarget=e.detail.relatedTarget;this.el.dispatchEvent(t)}};e.prototype.getActiveElement=function(){return n(document.activeElement)};e.prototype.handleCellTriggered=function(e){var t=e.detail;var r=t.getAttribute("data-year")+"-"+t.getAttribute("data-month")+"-"+t.textContent;this.inputEl.value=this.reformatDate(this.dateFormat,r);this.processInput();var a=new CustomEvent("input");this.el.dispatchEvent(a)};e.prototype.processInput=function(e){var t=!e&&this.requiredField;var r=this.inputEl.value;if(this.eightDigitsEntry.test(this.inputEl.value)){this.inputEl.value=this.addSlashes(this.inputEl.value)}if(this.parsableEntry.test(this.inputEl.value)){r=this.reformatDate("ISO",this.inputEl.value);this.inputEl.value=this.reformatDate(this.dateFormat,r);if(this.isValidDate(r)){if(this.errorMessage){this.generateError()}else{this.clearError()}}else if(this.inputEl.value.length){this.generateError()}}else if(this.inputEl.value.length||t||this.errorMessage){this.generateError()}else if(!this.inputEl.value.length&&!t){this.clearError()}if(r!==this.lastCommittedValue){this.value=r;var a=new CustomEvent("change");this.el.dispatchEvent(a);this.lastCommittedValue=this.value}if(this.isValidDate(r)&&r!==this.lastValidValue){this.wmDatepickerNewValidValue.emit();this.lastValidValue=r}};e.prototype.reformatDate=function(e,t){if(!t){return""}else if(!this.parsableEntry.test(t)){return t}else{var r=t.replace(/[\-\.]/gi,"/").split("/");switch(e){case"US":case this.dateFormats["US"]:return r[1].padStart(2,"0")+"/"+r[2].padStart(2,"0")+"/"+r[0].padStart(4,"20");case"INT":case this.dateFormats["INT"]:return r[2].padStart(2,"0")+"/"+r[1].padStart(2,"0")+"/"+r[0].padStart(4,"20");case"ISO":case this.dateFormats["ISO"]:if(this.dateFormat==="US"||this.dateFormat===this.dateFormats["US"]){return r[2].padStart(4,"20")+"-"+r[0].padStart(2,"0")+"-"+r[1].padStart(2,"0")}else if(this.dateFormat==="INT"||this.dateFormat===this.dateFormats["INT"]){return r[2].padStart(4,"20")+"-"+r[1].padStart(2,"0")+"-"+r[0].padStart(2,"0")}else if(this.dateFormat==="ISO"||this.dateFormat===this.dateFormats["ISO"]){return r[0].padStart(4,"20")+"-"+r[1].padStart(2,"0")+"-"+r[2].padStart(2,"0")}default:return r.join("/")}}};e.prototype.isValidDate=function(e){if(!e||!this.isoEntry.test(e)){return false}else{var t=e.split("-");var r=parseInt(t[2],10);var a=parseInt(t[1],10);var i=parseInt(t[0],10);if(i<1e3||i>3e3||a==0||a>12)return false;var s=[31,28,31,30,31,30,31,31,30,31,30,31];if(i%400==0||i%100!=0&&i%4==0)s[1]=29;return r>0&&r<=s[a-1]}};e.prototype.generateError=function(){var e=o.formatMessage({id:"date.requiredDateError",defaultMessage:"A date is required."});var t=o.formatMessage({id:"date.invalidDate",defaultMessage:"Please enter a valid date in the format {dateFormat, select, us {mm/dd/yyyy} int {dd/mm/yyyy} other {yyyy/mm/dd}}."},{dateFormat:this.dateFormat.toLowerCase()});if(this.errorMessage){this.displayError=this.errorMessage}else if(this.inputEl.value.length){this.displayError=t}else if(!this.inputEl.value.length&&this.requiredField){this.displayError=e}};e.prototype.clearError=function(){this.displayError=""};e.prototype.addSlashes=function(e){if(this.dateFormat==="ISO"||this.dateFormat===this.dateFormats["ISO"]){return e.substring(0,4)+"/"+e.substring(4,6)+"/"+e.substring(6)}else{return e.substring(0,2)+"/"+e.substring(2,4)+"/"+e.substring(4)}};e.prototype.componentWillLoad=function(){this.el.focus=function(){if(!this.disabled){this.shadowRoot.querySelector("input").focus()}};if(this.label===""){console.error("You must include a label prop for the datepicker input (for accessibility reasons), even if the label position is none.")}if(this.errorMessage){this.generateError()}this.uid=this.el.id?this.el.id:p();if(this.value&&this.isValidDate(this.value)){this.lastValidValue=this.value}};e.prototype.componentDidLoad=function(){this.inputEl.value=this.reformatDate(this.dateFormat,this.value);this.processInput(true)};e.prototype.render=function(){var e=this;var t=o.formatMessage({id:"date.format",defaultMessage:"{dateFormat, select, us {mm/dd/yyyy} int {dd/mm/yyyy} other {yyyy/mm/dd}}"},{dateFormat:this.dateFormat.toLowerCase()});return a(i,{id:this.uid,onBlur:function(){e.el.removeAttribute("tabindex")},"aria-busy":"false",class:"".concat(this.displayError?"invalid":""),invalid:this.displayError?"true":null},a("div",{ref:function(t){return e.dpWrapper=t},class:"wrapper label-".concat(this.labelPosition," ").concat(this.displayError?"invalid":"")},a("div",{class:"label-wrapper"},this.labelPosition!=="none"&&a("label",{id:"datepickerLabel-".concat(this.uid),htmlFor:"date-input-".concat(this.uid),class:"label",title:"".concat(this.label," (").concat(t,")")},this.label,this.requiredField&&a("span",{"aria-hidden":"true",class:"required"},"*"))),a("div",null,a("div",{class:"inner-wrapper"},a("input",{disabled:this.disabled,type:"text",id:"date-input-".concat(this.uid),class:"date-input",name:"date",placeholder:t,onFocus:this.focusHandler.bind(this),onInput:function(t){return e.handleInput(t)},onBlur:function(t){return e.handleBlur(t)},ref:function(t){return e.inputEl=t},"aria-describedby":"error-".concat(this.uid),"aria-controls":"popup-".concat(this.uid),"aria-label":this.label,required:this.requiredField}),a("priv-datepicker",{disabled:this.disabled,date:this.lastValidValue?new Date(this.lastValidValue):new Date,parentId:this.uid})),a("div",{id:"error-".concat(this.uid),class:"error","aria-live":"assertive","aria-atomic":"true"},this.displayError))))};Object.defineProperty(e.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{errorMessage:["handleError"]}},enumerable:false,configurable:true});return e}());h.style=d}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as r,g as a}from"./p-38062c39.js";import{g as s,i as o,d as n,l as d}from"./p-dadb6c78.js";let p=class{constructor(i){t(this,i),this.wmTagInputChanged=e(this,"wmTagInputChanged",7),this.labelPosition="top",this.options="",this.selectedTags="",this.addNew=!0,this.characterLimit=50,this.uid=this.el.id?this.el.id:s(),this.openUp=!1,this.isExpanded=!1,this.tagsList=this.csvToArray(this.selectedTags),this.optionsList=this.csvToArray(this.options),this.charCount=0,this.liveRegionMessage="",this.tagAreaInstructions=o.formatMessage({id:"tagInput.tagAreaInstructions",defaultMessage:"tag selection. Press Backspace or Delete to remove a tag."}),this.maxTagsReachedMessage=o.formatMessage({id:"tagInput.maxTagsReached",defaultMessage:"The maximum amount of tags has been reached, no additional tags can be added."}),this.debouncedResize=n((()=>{this.positionInput()}),30)}get focusedElement(){return this.el.shadowRoot.activeElement}get listItemEls(){return Array.from(this.dropdownEl.querySelectorAll("li"))}get tagEls(){return Array.from(this.tagAreaEl.querySelectorAll(".tag"))}get optionEls(){return Array.from(this.dropdownEl.querySelectorAll(".option"))}generateTagAddedMessage(t){return o.formatMessage({id:"tagInput.tagAdded",defaultMessage:"{tagName} added.",description:"A confirmation for adding a tag."},{tagName:t})}generateTagAlreadyAddedMessage(t){return o.formatMessage({id:"tagInput.tagAlreadyAdded",defaultMessage:"{tagName} has already been added.",description:"An alert for adding a tag that is already present."},{tagName:t})}generateTagCounterMessage(t,e){return o.formatMessage({id:"tagInput.tagsAddedCounter",defaultMessage:"Tags added: {x, number}/{y, number}",description:"For the user to understand how close they are to the tag limit."},{x:t,y:e})}generateCharacterLimitLabel(t){return o.formatMessage({id:"global.characterLimit",defaultMessage:"{limit, number} characters allowed.",description:"for screen readers"},{limit:t})}componentWillLoad(){this.placeholder||(this.placeholder=this.createPlaceholderDefault(this.addNew,!!this.options)),this.label||console.error("wm-tag-input must have a label property"),this.el.focus=function(){this.selectedTags?this.shadowRoot.querySelector("ul.tag-area").focus():this.shadowRoot.querySelector("input").focus()},this.consolidateSelectedTags()}componentDidLoad(){this.tagEls.forEach((t=>t.classList.remove("highlight")))}componentDidRender(){this.positionInput()}consolidateSelectedTags(){this.tagsList.forEach((t=>{this.includesCaseInsensitive(this.optionsList,t)||(this.options+=`${this.options.length>0?",":""}${t}`)})),this.optionsList=this.csvToArray(this.options)}createPlaceholderDefault(t,e){const i=o.formatMessage({id:"tagInput.placeholderAddAndSearch",defaultMessage:"Add or search for a tag",description:"Placeholder text. Use imperative"}),r=o.formatMessage({id:"tagInput.placeholderSearch",defaultMessage:"Search and select a tag",description:"Placeholder text. Use imperative"}),a=o.formatMessage({id:"tagInput.placeholderAdd",defaultMessage:"Add a new tag",description:"Placeholder text. Use imperative"});let s="";return t&&e?s=i:!t&&e?s=r:t&&(s=a),s}reflectSelectedTags(){this.selectedTags=this.listToCSV(this.tagsList),this.wmTagInputChanged.emit({value:this.tagsList})}closeIfNotElOrChild(t){t.target!==this.el&&!this.el.shadowRoot.contains(t.target)&&this.isExpanded&&this.closeDropdown()}handleResize(){this.debouncedResize()}handleInputKeyDown(t){switch(/^.$/.test(t.key)&&this.inputEl.value.length>=this.characterLimit&&this.announceCharacterLimitWarning(this.inputEl.value.length,this.characterLimit),t.stopPropagation(),t.key){case"Enter":case",":t.preventDefault(),this.submitInput(this.addNew,this.inputEl.value.trim());break;case"ArrowDown":t.preventDefault(),this.handleInputArrowDown();break;case"ArrowUp":t.preventDefault(),this.handleInputArrowUp();break;case"Escape":this.isExpanded&&this.closeDropdown();break;case"ArrowLeft":case"Backspace":this.handleInputBackspace()}}handleInputChanged(t){this.charCount=t.length,this.charCount>=this.characterLimit-5&&this.announceCharacterLimitWarning(this.charCount,this.characterLimit),this.announceExistingOptions(),this.isExpanded||this.openDropdown()}submitInput(t,e){const i=e.match(/\S/);t&&i&&(this.tagsList=this.addTag(e),this.optionsList=this.addOption(e),this.resetInput(),this.maxTags&&this.tagsList.length>=this.maxTags&&this.tagAreaEl.focus())}handleInputArrowDown(){this.isExpanded?this.moveDownListItem():this.openDropdown()}handleInputArrowUp(){this.isExpanded?this.moveUpListItem():this.openDropdown()}handleInputBackspace(){""===this.inputEl.value&&this.tagsList.length>0&&window.requestAnimationFrame((()=>{this.tagAreaEl.focus(),this.focusTag(this.tagEls[this.tagEls.length-1])}))}handleListItemKeyDown(t){const e=t.target;switch(t.key){case"Enter":case" ":t.preventDefault(),e.click();break;case"ArrowDown":t.preventDefault(),this.moveDownListItem();break;case"ArrowUp":t.preventDefault(),this.moveUpListItem();break;case"Escape":this.focusedElement!==this.inputEl?this.inputEl.focus():this.closeDropdown()}}handleListItemClick(t){const e=t.target.dataset.option.trim()||"";this.includesCaseInsensitive(this.tagsList,e)?this.announce(this.generateTagAlreadyAddedMessage(e)):(this.announce(this.generateTagAddedMessage(e)),this.resetInput(),this.tagsList=this.addTag(e),this.optionsList=this.addOption(e),this.focusedListItem=null,(this.maxTags&&this.tagsList.length>=this.maxTags?this.tagAreaEl:this.inputEl).focus())}handleTagAreaKeyDown(t){switch(t.key){case"ArrowLeft":case"ArrowUp":t.preventDefault(),this.moveLeftTag();break;case"ArrowRight":case"ArrowDown":t.preventDefault(),this.moveRightTag();break;case"Backspace":case"Delete":this.handleTagAreaDelete()}}handleTagAreaDelete(){this.focusedTag&&this.focusedTag.dataset.tag&&(this.removeTag(this.focusedTag.dataset.tag),0===this.tagsList.length?this.inputEl.focus():this.focusedTag===this.tagEls[this.tagEls.length-1]&&(this.focusedTag=this.tagEls[this.tagEls.length-2],this.focusTag(this.focusedTag)))}handleBlur(t,e){t.relatedTarget!==e&&!this.el.shadowRoot.contains(t.relatedTarget)&&(this.closeDropdown(),this.fieldWrapperEl.classList.remove("focused"))}handleTagAreaFocus(){this.closeDropdown(),this.focusedTag||(this.focusedTag=this.tagEls[0]),this.focusTag(this.focusedTag)}handleRemoveButtonClick(t){this.moveLeftTag(),this.removeTag(t)}moveDownListItem(){if(this.listItemEls.length>0){const t=this.listItemEls[0];this.focusListItem(this.focusedListItem&&this.focusedListItem.nextElementSibling?this.focusedListItem.nextElementSibling:t)}}moveUpListItem(){if(this.listItemEls.length>0){const t=this.listItemEls[this.listItemEls.length-1];this.focusedListItem?this.focusedListItem.previousElementSibling?this.focusListItem(this.focusedListItem.previousElementSibling):(this.focusedListItem=null,this.inputEl.focus()):this.focusListItem(t)}}moveLeftTag(){const t=this.tagEls[this.tagEls.length-1];this.focusedTag=this.focusedTag&&this.tagEls.includes(this.focusedTag.previousElementSibling)?this.focusedTag.previousElementSibling:t,this.focusTag(this.focusedTag)}moveRightTag(){const t=this.tagEls[0];this.focusedTag=this.focusedTag&&this.tagEls.includes(this.focusedTag.nextElementSibling)?this.focusedTag.nextElementSibling:t,this.focusTag(this.focusedTag)}addOption(t){let e=this.optionsList;return this.includesCaseInsensitive(this.optionsList,t)||(e=e.concat(t)),e}removeOption(t){this.optionsList=this.filterCaseInsensitive(this.optionsList,t)}addTag(t){let e=this.tagsList;const i=this.includesCaseInsensitive(this.tagsList,t),r=this.optionsList.filter((e=>e.toLowerCase()===t.toLowerCase()))[0];return i||(this.announce(this.generateTagAddedMessage(t)),e=e.concat(r||t)),e}removeTag(t){const e=o.formatMessage({id:"tagInput.tagRemoved",defaultMessage:"{tag} removed"},{tag:t});this.announce(e),this.tagsList=this.filterCaseInsensitive(this.tagsList,t);const i=this.csvToArray(this.options);this.includesCaseInsensitive(this.optionsList,t)&&!this.includesCaseInsensitive(i,t)&&this.removeOption(t)}focusListItem(t){this.focusedListItem=t,t.focus()}focusTag(t){this.focusedTag=t,this.tagAreaEl.setAttribute("aria-activedescendant",this.focusedTag.id)}clearTagFocus(){this.tagAreaEl.removeAttribute("aria-activedescendant"),this.focusedTag=null}openDropdown(){this.openUp=d(this.el,this.dropdownEl,this.el.clientHeight,-2),this.isExpanded=!0}closeDropdown(){this.focusedListItem=null,this.isExpanded=!1}clearListItemFocus(){this.focusedListItem=null,this.listItemEls.forEach((t=>{t.tabIndex=-1,t.classList.remove("focused")}))}resetInput(){this.charCount=0,this.inputEl.value=""}announce(t){this.liveRegionEl.textContent===t&&(t+=" "),this.liveRegionMessage=t}announceExistingOptions(){window.requestAnimationFrame((()=>{const t=o.formatMessage({id:"tagInput.existingOptions",defaultMessage:"{num, plural, one {1 existing option.} other {# existing options.}}"},{num:this.optionEls.length});this.optionEls.length>0&&this.announce(t)}))}announceCharacterLimitWarning(t,e){const i=o.formatMessage({id:"global.charactersEntered",defaultMessage:"{x, number} of {y, number} characters entered.",description:"for screen readers"},{x:t,y:e}),r=o.formatMessage({id:"global.characterLimitReached",defaultMessage:"No additional characters will be entered.",description:"for screen readers"});this.announce(`${i}${t>=e?" "+r:""}`)}positionInput(){const t=this.tagEls[this.tagEls.length-1];this.inputEl.style.position="static",this.inputEl.style.width="100%",t&&this.tagAreaEl.getBoundingClientRect().right-t.getBoundingClientRect().right>=150&&(this.inputEl.style.position="absolute",this.inputEl.style.top=t.offsetTop.toString()+"px",this.inputEl.style.width=(this.tagAreaEl.getBoundingClientRect().right-t.getBoundingClientRect().right-8).toString()+"px")}listToCSV(t){return t.join(",")}csvToArray(t){return t?t.split(/, ?/):[]}includesCaseInsensitive(t,e){return t.map((t=>t.toLowerCase())).includes(e.toLowerCase())}filterCaseInsensitive(t,e){return t.filter((t=>t.toLowerCase()!==e.toLowerCase()))}sortCaseInsensitive(t){return t.sort(((t,e)=>(t=t.toLowerCase())>(e=e.toLowerCase())?1:t<e?-1:0))}renderTags(){return this.tagsList.map(((t,e)=>{const r=`tag${e+1}`;return i("li",{id:r,class:"tag highlight "+(this.focusedTag&&this.focusedTag.id===r?"focused":""),"data-tag":t,role:"option"},t,i("button",{class:"remove-btn",tabIndex:-1,onClick:()=>this.handleRemoveButtonClick(t)}))}))}renderListItems(t){return t=this.sortCaseInsensitive(t),this.inputEl&&this.inputEl.value&&(t=this.optionsList.filter((t=>t.toLowerCase().includes(this.inputEl.value.toLowerCase())))),t.map(((t,e)=>{const r=`option${e+1}`,a=this.focusedListItem&&this.focusedListItem.id===r,s=this.includesCaseInsensitive(this.tagsList,t);return i("li",{class:"option "+(a?"focused":""),role:"option",id:r,"data-option":t,tabIndex:a?0:-1,"aria-selected":s?"true":"false","aria-disabled":s?"true":"false",onKeyDown:t=>this.handleListItemKeyDown(t),onBlur:t=>this.handleBlur(t,this.el),onClick:t=>this.handleListItemClick(t)},t)}))}renderAddNewButton(){const t=this.inputEl.value.match(/\S/),e=this.includesCaseInsensitive(this.optionsList,this.inputEl.value.trim());if(this.addNew&&t&&!e){const t="add-new-btn",e=this.focusedListItem&&this.focusedListItem.id===t;return i("li",{role:"option",class:"add-new-btn "+(e?"focused":""),id:t,"data-option":this.inputEl.value,onKeyDown:t=>this.handleListItemKeyDown(t),onBlur:t=>this.handleBlur(t,this.el),onClick:t=>this.handleListItemClick(t),tabIndex:e?0:-1},`Add "${this.inputEl.value.trim()}"`)}return""}renderHelpText(){const t=o.formatMessage({id:"tagInput.helpTextCanSelect",defaultMessage:"Search and select a tag.",description:"Placeholder text. Use imperative"}),e=o.formatMessage({id:"tagInput.helpTextEditable",defaultMessage:"Press the Enter or Comma key to add a new tag.",description:"Placeholder text. Use imperative"});let i="";return this.optionsList.length>0&&(i+=t),this.addNew&&(i+=" "+e),i}renderTagCounter(){if(this.maxTags)return i("div",{class:"lower-row"},i("div",{id:"max-tags"},this.generateTagCounterMessage(this.tagsList.length,this.maxTags),this.tagsList.length>=this.maxTags&&i("span",{class:"sr-only"},this.maxTagsReachedMessage)))}render(){const t=this.focusedElement&&(this.focusedElement===this.inputEl||this.focusedElement===this.tagAreaEl||this.focusedElement.classList.contains("add-new-btn")||this.optionsList.length>0&&this.listItemEls.includes(this.focusedElement));return i(r,{id:this.uid},i("div",{class:`wrapper label-${this.labelPosition}`},i("div",{class:"label-wrapper"},i("label",{class:"label",htmlFor:`input${this.uid}`},this.label)),i("div",{class:"field-wrapper "+(t?"focused":""),ref:t=>this.fieldWrapperEl=t},i("div",{class:"upper-row"},i("div",{class:"tags-and-input-wrapper"},i("ul",{ref:t=>this.tagAreaEl=t,class:"tag-area",role:"listbox","aria-orientation":"horizontal","aria-label":`${this.label} ${this.tagsList.length>0?this.tagAreaInstructions:""}`,tabindex:this.tagsList.length>0?0:-1,"aria-describedby":"info max-tags",onFocus:()=>this.handleTagAreaFocus(),onBlur:t=>{this.clearTagFocus(),this.handleBlur(t,this.el)},onKeyDown:t=>this.handleTagAreaKeyDown(t)},this.renderTags()),i("input",{id:`input${this.uid}`,class:this.maxTags&&this.tagsList.length>=this.maxTags?"hidden":"",role:"combobox",ref:t=>this.inputEl=t,autocomplete:"off","aria-controls":"dropdown","aria-describedby":"help-text","aria-label":`${this.label} ${this.generateCharacterLimitLabel(this.characterLimit)}`,"aria-expanded":this.isExpanded?"true":"false",placeholder:this.placeholder,maxLength:this.characterLimit,onInput:()=>this.handleInputChanged(this.inputEl.value),onBlur:t=>{this.handleBlur(t,this.el)},onFocus:()=>{this.openDropdown(),this.clearListItemFocus()},onKeyDown:t=>this.handleInputKeyDown(t)})),i("div",{class:"character-count"},this.charCount,"/",this.characterLimit)),this.renderTagCounter(),i("div",{class:`dropdown-wrapper ${this.isExpanded?"open":""} ${this.openUp?"upwards":""}`,ref:t=>this.dropdownEl=t},i("div",{id:"help-text",class:"help-text"},this.renderHelpText()),i("ul",{class:"dropdown",id:"dropdown",role:"listbox","aria-multiselectable":"true","aria-expanded":!!this.isExpanded&&"true","aria-label":this.label,tabindex:-1},this.inputEl&&this.renderAddNewButton(),this.renderListItems(this.optionsList)))),this.info?i("div",{id:"info",class:"info-text"},this.info):"",i("div",{class:"sr-only","aria-live":"assertive",ref:t=>this.liveRegionEl=t,"aria-atomic":"true"},this.liveRegionMessage)))}get el(){return a(this)}static get watchers(){return{tagsList:["reflectSelectedTags"]}}};p.style=':host,wm-tag-input{font-family:inherit;width:100%}:host *,wm-tag-input *{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px}:host .wrapper,wm-tag-input .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label,wm-tag-input .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required,wm-tag-input .wrapper .label .required{color:#c0392b}:host .wrapper.label-left,wm-tag-input .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper,wm-tag-input .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label,wm-tag-input .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label,wm-tag-input .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label,wm-tag-input .wrapper.invalid .label{color:#c0392b}:host .wrapper.invalid .label:after,wm-tag-input .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f026";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after,[dir=RTL] wm-tag-input .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label,wm-tag-input .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper,wm-tag-input .wrapper{width:100%;position:relative}:host .field-wrapper,wm-tag-input .field-wrapper{position:relative;width:100%;min-height:2.5rem;border:1px solid #4a4a4a;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px}:host .field-wrapper.focused,wm-tag-input .field-wrapper.focused{-webkit-box-shadow:0 0 0 1px #20cbd4;-moz-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;outline:none;border-color:#20cbd4}:host .character-count,wm-tag-input .character-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:5rem;background-color:rgba(74, 74, 74, 0.05);font-size:0.875rem;font-weight:500;-ms-flex-item-align:stretch;align-self:stretch}:host .tags-and-input-wrapper,wm-tag-input .tags-and-input-wrapper{position:relative;width:100%;padding:0.5rem 0.25rem;margin-bottom:-0.5rem}:host .upper-row,wm-tag-input .upper-row{width:100%;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}:host .lower-row,wm-tag-input .lower-row{width:100%;border-radius:0 0 3px 3px}:host #max-tags,wm-tag-input #max-tags{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:1.875rem;background-color:#6b6b6b;padding:0.5rem 1rem;color:white;font-size:0.875rem}:host .tag-area,wm-tag-input .tag-area{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0}:host .tag-area:focus,wm-tag-input .tag-area:focus{outline:none}:host .tag-area [role=option],wm-tag-input .tag-area [role=option]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;height:1.75rem;list-style:none;color:#4a4a4a;background-color:rgba(3, 0, 0, 0.1);padding:0.5rem 0.625rem;margin-bottom:0.5rem;margin-right:0.25rem;margin-left:0.25rem;-webkit-transition:background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);white-space:pre}:host .tag-area [role=option].highlight,wm-tag-input .tag-area [role=option].highlight{-webkit-animation:fadeIn 1s;animation:fadeIn 1s}@-webkit-keyframes fadeIn{0%{background-color:rgba(3, 0, 0, 0.1)}50%{background-color:#c8dfcc}100%{background-color:rgba(3, 0, 0, 0.1)}}@keyframes fadeIn{0%{background-color:rgba(3, 0, 0, 0.1)}50%{background-color:#c8dfcc}100%{background-color:rgba(3, 0, 0, 0.1)}}:host .tag-area [role=option].focused,wm-tag-input .tag-area [role=option].focused{background-color:#d1d1d1}:host .tag-area [role=option] .remove-btn,wm-tag-input .tag-area [role=option] .remove-btn{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:1.25rem;width:1.25rem;border:1px solid #575195;color:#575195;border-radius:50%;padding:0;margin-left:0.5rem;cursor:pointer;-webkit-transition:background-color 500ms cubic-bezier(0.4, 0, 0.2, 1), color 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:background-color 500ms cubic-bezier(0.4, 0, 0.2, 1), color 500ms cubic-bezier(0.4, 0, 0.2, 1)}:host .tag-area [role=option] .remove-btn:hover,wm-tag-input .tag-area [role=option] .remove-btn:hover{color:white;background-color:#575195}:host .tag-area [role=option] .remove-btn:before,wm-tag-input .tag-area [role=option] .remove-btn:before{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f156"}:host input,wm-tag-input input{font-family:inherit;border:none;height:1.75rem;padding:0;margin-bottom:0.5rem;margin-right:0.25rem;padding-left:0.5rem;right:0px}:host input.hidden,wm-tag-input input.hidden{display:none}:host input:focus,wm-tag-input input:focus{outline:none}:host .dropdown-wrapper,wm-tag-input .dropdown-wrapper{margin:0;padding:0;-webkit-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-ms-transition:transform 0.25s ease;-webkit-transition:transform 0.25s ease;-moz-transition:transform 0.25s ease;-webkit-transition:-webkit-transform 0.25s ease;transition:-webkit-transform 0.25s ease;transition:transform 0.25s ease;transition:transform 0.25s ease, -webkit-transform 0.25s ease;-ms-transform:scale(1, 0);-webkit-transform:scale(1, 0);-moz-transform:scale(1, 0);transform:scale(1, 0);-ms-transform-origin:center top;-webkit-transform-origin:center top;-moz-transform-origin:center top;transform-origin:center top;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;position:absolute;top:calc(100% + 2px);right:0;background:#fff;z-index:100;width:100%;font-size:0.875rem}:host .dropdown-wrapper .dropdown,wm-tag-input .dropdown-wrapper .dropdown{-webkit-overflow-scrolling:touch;overflow:auto;max-height:12.5rem;margin:0;padding:0}:host .dropdown-wrapper.open,wm-tag-input .dropdown-wrapper.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1)}:host .dropdown-wrapper.upwards,wm-tag-input .dropdown-wrapper.upwards{top:unset;bottom:calc(100% + 2px);-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}:host .dropdown-wrapper li,:host .dropdown-wrapper div,wm-tag-input .dropdown-wrapper li,wm-tag-input .dropdown-wrapper div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0 1rem;background:#fff;list-style:none;height:2.6875rem;white-space:pre}:host .dropdown-wrapper li[role=option],:host .dropdown-wrapper li.add-new-btn,:host .dropdown-wrapper div[role=option],:host .dropdown-wrapper div.add-new-btn,wm-tag-input .dropdown-wrapper li[role=option],wm-tag-input .dropdown-wrapper li.add-new-btn,wm-tag-input .dropdown-wrapper div[role=option],wm-tag-input .dropdown-wrapper div.add-new-btn{cursor:pointer;color:#575195;font-weight:bold;width:100%;border:none}:host .dropdown-wrapper li[role=option][aria-selected=true],:host .dropdown-wrapper li.add-new-btn[aria-selected=true],:host .dropdown-wrapper div[role=option][aria-selected=true],:host .dropdown-wrapper div.add-new-btn[aria-selected=true],wm-tag-input .dropdown-wrapper li[role=option][aria-selected=true],wm-tag-input .dropdown-wrapper li.add-new-btn[aria-selected=true],wm-tag-input .dropdown-wrapper div[role=option][aria-selected=true],wm-tag-input .dropdown-wrapper div.add-new-btn[aria-selected=true]{color:#6b6b6b;font-style:italic;font-weight:normal;cursor:unset}:host .dropdown-wrapper li[role=option]:hover:not([aria-selected=true]),:host .dropdown-wrapper li[role=option].focused,:host .dropdown-wrapper li.add-new-btn:hover:not([aria-selected=true]),:host .dropdown-wrapper li.add-new-btn.focused,:host .dropdown-wrapper div[role=option]:hover:not([aria-selected=true]),:host .dropdown-wrapper div[role=option].focused,:host .dropdown-wrapper div.add-new-btn:hover:not([aria-selected=true]),:host .dropdown-wrapper div.add-new-btn.focused,wm-tag-input .dropdown-wrapper li[role=option]:hover:not([aria-selected=true]),wm-tag-input .dropdown-wrapper li[role=option].focused,wm-tag-input .dropdown-wrapper li.add-new-btn:hover:not([aria-selected=true]),wm-tag-input .dropdown-wrapper li.add-new-btn.focused,wm-tag-input .dropdown-wrapper div[role=option]:hover:not([aria-selected=true]),wm-tag-input .dropdown-wrapper div[role=option].focused,wm-tag-input .dropdown-wrapper div.add-new-btn:hover:not([aria-selected=true]),wm-tag-input .dropdown-wrapper div.add-new-btn.focused{outline:none;background:#f4f4f4}:host .dropdown-wrapper li.help-text,:host .dropdown-wrapper div.help-text,wm-tag-input .dropdown-wrapper li.help-text,wm-tag-input .dropdown-wrapper div.help-text{color:#4a4a4a;min-height:2.6875rem;padding-top:0.25rem;padding-bottom:0.25rem}:host .dropdown-wrapper li:not(:last-child),:host .dropdown-wrapper div:not(:last-child),wm-tag-input .dropdown-wrapper li:not(:last-child),wm-tag-input .dropdown-wrapper div:not(:last-child){border-bottom:2px solid rgba(46, 27, 70, 0.05)}:host .info-text,wm-tag-input .info-text{font-style:italic;margin-top:0.25rem}:host .sr-only,wm-tag-input .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}';export{p as wm_tag_input}
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{f(n.next(e))}catch(e){i(e)}}function s(e){try{f(n["throw"](e))}catch(e){i(e)}}function f(e){e.done?r(e.value):a(e.value).then(l,s)}f((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return f([e,t])}}function f(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="ripple";var a;var i;var l=false;var s=false;var f=typeof window!=="undefined"?window:{};var o=f.document||{head:{}};var u={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var $=e("p",(function(e){return Promise.resolve(e)}));var c=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var s=d(t,i);var f=h(n);u.ael(l,a,s,f);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return u.rel(l,a,s,f)}))}))}};var d=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){we(e)}}};var p=function(e,t){if(t&4)return o;if(t&8)return f;return e};var h=function(e){return(e&2)!==0};var m="{visibility:hidden}.hydrated{visibility:inherit}";var g="http://www.w3.org/1999/xlink";var y=function(e,t){if(t===void 0){t=""}{return function(){return}}};var w=function(e,t){{return function(){return}}};var b=new WeakMap;var _=function(e,t,r){var n=Se.get(e);if(c&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Se.set(e,n)};var S=function(e,t,r,n){var a=k(t);var i=Se.get(a);e=e.nodeType===11?e:o;if(i){if(typeof i==="string"){e=e.head||e;var l=b.get(e);var s=void 0;if(!l){b.set(e,l=new Set)}if(!l.has(a)){{{s=o.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var R=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=y("attachStyles",t.$tagName$);var i=S(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var k=function(e,t){return"sc-"+e.$tagName$};var x={};var N="http://www.w3.org/2000/svg";var L="http://www.w3.org/1999/xhtml";var j=function(e){return e!=null};var E=function(e){e=typeof e;return e==="object"||e==="function"};var P=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var s=false;var f=[];var o=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){o(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!E(a)){a=String(a)}if(l&&s){f[f.length-1].$text$+=a}else{f.push(l?C(null,a):a)}s=l}}};o(r);if(t){if(t.key){i=t.key}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var $=C(e,null);$.$attrs$=t;if(f.length>0){$.$children$=f}{$.$key$=i}return $}));var C=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var O=e("H",{});var A=function(e){return e&&e.$tag$===O};var M=function(e,t,r,n,a,i){if(r!==n){var l=ye(e,t);var s=t.toLowerCase();if(t==="class"){var o=e.classList;var $=T(r);var c=T(n);o.remove.apply(o,$.filter((function(e){return e&&!c.includes(e)})));o.add.apply(o,c.filter((function(e){return e&&!$.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(ye(f,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(r){u.rel(e,t,r,false)}if(n){u.ael(e,t,n,false)}}else{var d=E(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var h=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(h){e.removeAttributeNS(g,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(h){e.setAttributeNS(g,t,n)}else{e.setAttribute(t,n)}}}}};var I=/\s/;var T=function(e){return!e?[]:e.split(I)};var q=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||x;var l=t.$attrs$||x;{for(n in i){if(!(n in l)){M(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){M(a,n,i[n],l[n],r,t.$flags$)}};var z=function(e,t,r,n){var i=t.$children$[r];var s=0;var f;var u;if(i.$text$!==null){f=i.$elm$=o.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}f=i.$elm$=o.createElementNS(l?N:L,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{q(null,i,l)}if(j(a)&&f["s-si"]!==a){f.classList.add(f["s-si"]=a)}if(i.$children$){for(s=0;s<i.$children$.length;++s){u=z(e,i,s);if(u){f.appendChild(u)}}}{if(i.$tag$==="svg"){l=false}else if(f.tagName==="foreignObject"){l=true}}}return f};var B=function(e,t,r,n,a,l){var s=e;var f;if(s.shadowRoot&&s.tagName===i){s=s.shadowRoot}for(;a<=l;++a){if(n[a]){f=z(null,r,a);if(f){n[a].$elm$=f;s.insertBefore(f,t)}}}};var U=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;W(n);a.remove()}}};var H=function(e,t,r,n){var a=0;var i=0;var l=0;var s=0;var f=t.length-1;var o=t[0];var u=t[f];var $=n.length-1;var c=n[0];var v=n[$];var d;var p;while(a<=f&&i<=$){if(o==null){o=t[++a]}else if(u==null){u=t[--f]}else if(c==null){c=n[++i]}else if(v==null){v=n[--$]}else if(V(o,c)){D(o,c);o=t[++a];c=n[++i]}else if(V(u,v)){D(u,v);u=t[--f];v=n[--$]}else if(V(o,v)){D(o,v);e.insertBefore(o.$elm$,u.$elm$.nextSibling);o=t[++a];v=n[--$]}else if(V(u,c)){D(u,c);e.insertBefore(u.$elm$,o.$elm$);u=t[--f];c=n[++i]}else{l=-1;{for(s=a;s<=f;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===c.$key$){l=s;break}}}if(l>=0){p=t[l];if(p.$tag$!==c.$tag$){d=z(t&&t[i],r,l)}else{D(p,c);t[l]=undefined;d=p.$elm$}c=n[++i]}else{d=z(t&&t[i],r,i);c=n[++i]}if(d){{o.$elm$.parentNode.insertBefore(d,o.$elm$)}}}}if(a>f){B(e,n[$+1]==null?null:n[$+1].$elm$,r,n,i,$)}else if(i>$){U(t,a,f)}};var V=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var D=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var s=t.$text$;if(s===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{q(e,t,l)}}if(n!==null&&a!==null){H(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}B(r,null,t,a,0,a.length-1)}else if(n!==null){U(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==s){r.data=s}};var W=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(W)}};var F=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||C(null,null);var s=A(t)?t:P(null,null,t);i=r.tagName;if(n.$attrsToReflect$){s.$attrs$=s.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return s.$attrs$[n]=r[t]}))}s.$tag$=null;s.$flags$|=4;e.$vnode$=s;s.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}D(l,s)};var G=e("g",(function(e){return he(e).$hostElement$}));var J=e("c",(function(e,t,r){var n=G(e);return{emit:function(e){return K(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var K=function(e,t,r){var n=u.ce(t,r);e.dispatchEvent(n);return n};var Q=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var X=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}Q(e,e.$ancestorComponent$);var r=function(){return Y(e,t)};return Ee(r)};var Y=function(e,t){var r=y("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return ae(n,t,r)}));e.$queuedListeners$=null}}{a=ae(n,"componentWillLoad")}}r();return ie(a,(function(){return Z(e,n,t)}))};var Z=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,s,f;return __generator(this,(function(o){r=e.$hostElement$;a=y("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){R(e)}l=y("render",e.$cmpMeta$.$tagName$);{ee(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{s=r["s-p"];f=function(){return te(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.$flags$|=4;s.length=0}}return[2]}))}))};var ee=function(e,t,r){try{t=t.render&&t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{F(e,t)}}}}catch(t){we(t,e.$hostElement$)}return null};var te=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=y("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{ae(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{le(r)}{ae(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){ne()}}}else{{ae(a,"componentDidUpdate")}n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){je((function(){return X(e,false)}))}e.$flags$&=~(4|512)}};var re=e("f",(function(e){{var t=he(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){X(t,false)}return r}}));var ne=function(e){{le(o.documentElement)}je((function(){return K(f,"appload",{detail:{namespace:n}})}))};var ae=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){we(e)}}return undefined};var ie=function(e,t){return e&&e.then?e.then(t):t()};var le=function(e){return e.classList.add("hydrated")};var se=function(e,t){if(e!=null&&!E(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var fe=function(e,t){return he(e).$instanceValues$.get(t)};var oe=function(e,t,r,n){var a=he(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var s=a.$flags$;var f=a.$lazyInstance$;r=se(r,n.$members$[t][0]);if((!(s&8)||l===undefined)&&r!==l){a.$instanceValues$.set(t,r);if(f){if(n.$watchers$&&s&128){var o=n.$watchers$[t];if(o){o.map((function(e){try{f[e](r,l,t)}catch(e){we(e,i)}}))}}if((s&(2|16))===2){X(a,false)}}}};var ue=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return fe(this,n)},set:function(e){oe(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=he(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;u.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var $e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,s,f,o;return __generator(this,(function(u){switch(u.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=_e(n);if(!i.then)return[3,2];e=w();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}ue(i,n,2);i.isProxied=true}r=y("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){we(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(i.style){a=i.style;l=k(n);if(!Se.has(l)){s=y("registerStyles",n.$tagName$);_(l,a,!!(n.$flags$&1));s()}}u.label=3;case 3:f=t.$ancestorComponent$;o=function(){return X(t,true)};if(f&&f["s-rc"]){f["s-rc"].push(o)}else{o()}return[2]}}))}))};var ce=function(e){if((u.$flags$&1)===0){var t=he(e);var r=t.$cmpMeta$;var n=y("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){Q(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{$e(e,t,r)}}else{v(e,t,r.$listeners$)}n()}};var ve=function(e){if((u.$flags$&1)===0){var t=he(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var de=e("b",(function(e,t){if(t===void 0){t={}}var r=y();var n=[];var a=t.exclude||[];var i=f.customElements;var l=o.head;var s=l.querySelector("meta[charset]");var $=o.createElement("style");var c=[];var v;var d=true;Object.assign(u,t);u.$resourcesUrl$=new URL(t.resourcesUrl||"./",o.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;ge(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){c.push(this)}else{u.jmp((function(){return ce(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;u.jmp((function(){return ve(e)}))};t.prototype.componentOnReady=function(){return he(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,ue(s,r,1))}}))}));{$.innerHTML=n+m;$.setAttribute("data-styles","");l.insertBefore($,s?s.nextSibling:l.firstChild)}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{u.jmp((function(){return v=setTimeout(ne,30)}))}}r()}));var pe=new WeakMap;var he=function(e){return pe.get(e)};var me=e("r",(function(e,t){return pe.set(t.$lazyInstance$=e,t)}));var ge=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}v(e,r,t.$listeners$);return pe.set(e,r)};var ye=function(e,t){return t in e};var we=function(e,t){return(0,console.error)(e,t)};var be=new Map;var _e=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=be.get(i);if(l){return l[a]}return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{be.set(i,e)}return e[a]}),we)};var Se=new Map;var Re=[];var ke=[];var xe=function(e,t){return function(r){e.push(r);if(!s){s=true;if(t&&u.$flags$&4){je(Le)}else{u.raf(Le)}}}};var Ne=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){we(e)}}e.length=0};var Le=function(){Ne(Re);{Ne(ke);if(s=Re.length>0){u.raf(Le)}}};var je=function(e){return $().then(e)};var Ee=xe(ke,true)}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as i,g as s}from"./p-38062c39.js";import{i as a}from"./p-dadb6c78.js";let o=class{constructor(t){e(this,t),this.heading="",this.subheading="",this.closeTooltipMessage=a.formatMessage({id:"global.closeVerb",defaultMessage:"Close",description:"For a button, to close a user interface element"})}focusFirstEl(){this.closeButtonEl.focus()}componentWillLoad(){this.uid=this.el.parentElement.uid}emitParentCloseEvent(){this.el.parentElement.emitCloseEvent()}render(){return t(i,null,t("div",{class:"wm-wrapper"},t("div",null,t("h2",{class:"title",id:`wm-modal-heading-text-${this.uid}`},this.heading,t("span",{class:"subtitle"},this.subheading))),t("wm-button",{"button-type":"navigational",icon:"f156",tooltip:this.closeTooltipMessage,"tooltip-position":"left",id:`wm-modal-close-${this.uid}`,ref:e=>this.closeButtonEl=e,onClick:()=>this.emitParentCloseEvent()})))}get el(){return s(this)}};o.style="wm-modal-header{-webkit-border-radius:5px 5px 0 0px;-moz-border-radius:5px 5px 0 0px;-ms-border-radius:5px 5px 0 0px;border-radius:5px 5px 0 0px;margin-bottom:-1px}wm-modal-header .wm-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}wm-modal-header .wm-wrapper .title{margin:0;font-weight:600;font-size:1.125rem;color:#4a4a4a;line-height:normal}wm-modal-header .wm-wrapper .title .subtitle{display:block;font-size:0.875rem;font-weight:normal}wm-modal-header .wm-wrapper .title:focus{outline:none}";export{o as wm_modal_header}
@@ -1 +0,0 @@
1
- import{r as t,c as e}from"./p-38062c39.js";let s=class{constructor(s){t(this,s),this.wmChartSliceUpdated=e(this,"wmChartSliceUpdated",7)}componentDidLoad(){if(parseInt(this.amount)>0&&!this.legend)throw new Error("wm-chart-slice was provided an amount value without a legend. The legend is required unless the amount is 0 or left empty. For more information see https://components.watermarkinsights.com/chart")}componentDidUpdate(){this.wmChartSliceUpdated.emit()}};export{s as wm_chart_slice}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as a,g as s}from"./p-38062c39.js";import{i as n}from"./p-dadb6c78.js";let o=class{constructor(i){t(this,i),this.wmNavigationStateChanged=e(this,"wmNavigationStateChanged",7),this.open=!1,this.isTabbing=!1,this.openTooltipMessage=n.formatMessage({id:"global.openVerb",defaultMessage:"Open",description:"For a button, to open a user interface element"}),this.closeTooltipMessage=n.formatMessage({id:"global.closeVerb",defaultMessage:"Close",description:"For a button, to close a user interface element"})}get ariaExpanded(){return window.innerWidth<1024?this.open.toString():void 0}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}componentWillLoad(){document.body.classList.contains("wmcl-user-is-tabbing")&&this.toggleTabbingOn(),this.el.focus=function(){this.shadowRoot.querySelector(".toggle").focus()}}componentDidLoad(){this.hamburgerBtn=document.querySelector("wm-navigation-hamburger")}updateHamburgerState(){this.wmNavigationStateChanged.emit({open:this.open}),this.open?setTimeout((()=>this.toggleEl.focus()),250):this.hamburgerBtn&&this.hamburgerBtn.focus()}renderOverlay(){return i("div",{class:"overlay",onClick:()=>{this.open=!1}})}render(){return i(a,null,this.open?this.renderOverlay():"",i("nav",{class:"nav","aria-expanded":this.ariaExpanded},i("div",{class:"toggle-wrapper"},i("wm-button",{ref:t=>this.toggleEl=t,class:"toggle "+(this.isTabbing?"user-is-tabbing":""),"button-type":"navigational",icon:this.open?"f156":"f35c","icon-size":"2rem",tooltip:this.open?this.closeTooltipMessage:this.openTooltipMessage,"tooltip-position":"left",tabIndex:this.open?void 0:-1,onClick:()=>{this.open=!this.open}})),i("ul",{class:"navlist"},i("slot",null))))}get el(){return s(this)}static get watchers(){return{open:["updateHamburgerState"]}}};o.style=".nav{-webkit-box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);-moz-box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:7.5625rem;background-color:#fff;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;font-size:0.875rem;height:100%;z-index:10}.navlist{margin:0;padding:0}.toggle-wrapper{display:none}@media screen and (max-width: 1023px){.nav{-ms-transition:transform 0.33s ease;-webkit-transition:transform 0.33s ease;-moz-transition:transform 0.33s ease;-webkit-transition:-webkit-transform 0.33s ease;transition:-webkit-transform 0.33s ease;transition:transform 0.33s ease;transition:transform 0.33s ease, -webkit-transform 0.33s ease;position:fixed;top:0;bottom:0;left:0;z-index:100;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.nav ul{visibility:hidden}.nav[aria-expanded=true]{-webkit-transform:translateX(0);transform:translateX(0)}.nav[aria-expanded=true] ul{visibility:visible}.nav .toggle-wrapper{display:inline-block;min-height:5rem;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.overlay{width:100vw;height:100vh;max-width:none;max-height:none;position:fixed !important;top:0;bottom:0;left:0;right:0;-webkit-transform:translate(0%, 0%);transform:translate(0%, 0%);background-color:rgba(25, 25, 25, 0.4);-ms-transition:opacity 0.5s ease-out;-webkit-transition:opacity 0.5s ease-out;-moz-transition:opacity 0.5s ease-out;transition:opacity 0.5s ease-out}}";export{o as wm_navigation}
@@ -1 +0,0 @@
1
- System.register(["./p-20856a2d.system.js","./p-6923b8f6.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,l;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g;r=t.f},function(t){s=t.d;l=t.g}],execute:function(){var b=":host{font-family:inherit;display:inline-block}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .tab-item{list-style-type:none;height:100%;display:inline-block}:host .tab-item .tab{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;color:#575195;text-decoration:none;letter-spacing:0.7px;font-size:0.875rem;font-weight:500;opacity:1;position:relative;text-transform:uppercase;display:inline-block;height:3.3333333333em;line-height:3.3333333333em;padding-right:1.5rem;padding-left:1.5rem}:host .tab-item .tab[aria-selected=true]{font-weight:700;opacity:1;background:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)) bottom/0 0 no-repeat;background:linear-gradient(currentColor, currentColor) bottom/0 0 no-repeat;background-size:calc(100% - 50px) 3px}:host .tab-item .tab[aria-selected=true].dark{color:#fff}:host .tab-item .tab,:host .tab-item .tab:hover,:host .tab-item .tab:active{outline:none}:host .tab-item .tab:focus{outline:none}:host .tab-item .tab.dark:not([aria-selected=true]){opacity:0.8;color:#fff}:host .tab-item .tab.user-is-tabbing:focus:not(:active){outline:none;-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}:host .tab-item .tab.user-is-tabbing:focus:not(:active)::-moz-focus-inner{border:0}:host.hide{display:none}";var c=t("wm_tab_item",function(){function t(t){var n=this;e(this,t);this.wmTabSelected=i(this,"wmTabSelected",7);this.tabSelected=i(this,"tabSelected",7);this.keydownOnTabItem=i(this,"keydownOnTabItem",7);this.tabItemLoaded=i(this,"tabItemLoaded",7);this.selected=false;this.show=true;this.tabId="";this.tabClicked=function(t){t.preventDefault();n.wmTabSelected.emit({tabId:n.tabId});n.tabSelected.emit({tabId:n.tabId})};this.tabPressed=function(t){var e=t.key;if(e==="Enter"||e===" "){t.preventDefault();n.wmTabSelected.emit({tabId:n.tabId});n.tabSelected.emit({tabId:n.tabId})}else if(e.includes("Arrow")){t.preventDefault();n.keydownOnTabItem.emit({tabItem:n.el,key:t.key})}}}Object.defineProperty(t.prototype,"parentTabList",{get:function(){return this.el.parentElement},enumerable:false,configurable:true});t.prototype.toggleTabbingOn=function(){this.linkEl&&this.linkEl.classList.add("user-is-tabbing")};t.prototype.toggleTabbingOff=function(){this.linkEl&&this.linkEl.classList.remove("user-is-tabbing")};t.prototype.componentWillLoad=function(){this.el.focus=function(){var t=this.shadowRoot.querySelector("a");t&&t.focus()}};t.prototype.componentDidLoad=function(){this.tabItemLoaded.emit()};t.prototype.render=function(){var t=this;var e=this.show?"":"hide ";e+=this.parentTabList&&this.parentTabList.customBackground=="dark"?"dark":"";var i={};var o=this.parentTabList&&this.parentTabList.customPadding;if(o){var r=parseInt(o,10)*2||0;var s=o.split(/([0-9]+)/).pop();i={"padding-left":this.parentTabList.customPadding,"padding-right":this.parentTabList.customPadding,"background-size":"calc(100% - ".concat(r).concat(s,") 3px")}}return n(a,{role:"presentation"},n("li",{class:"tab-item",role:"presentation"},n("a",{class:"tab ".concat(e),style:i,role:"tab",ref:function(e){return t.linkEl=e},onClick:this.tabClicked,id:"tab-link-".concat(this.tabId),onKeyDown:function(e){return t.tabPressed(e)},"aria-selected":this.selected?"true":"false",tabindex:this.selected?0:-1},n("slot",null))))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());c.style=b;var d=":host,wm-tab-list{position:relative;white-space:nowrap;height:100%;display:block}:host *,wm-tab-list *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .tabcontainer,wm-tab-list .tabcontainer{margin:0;margin-left:-24px;width:100%;height:4.0625rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:0}:host .tabcontainer.dark,wm-tab-list .tabcontainer.dark{background:#353b48;margin:0}:host wm-select,wm-tab-list wm-select{padding:0.375rem 0}";var u=t("wm_tab_list",function(){function t(t){var n=this;e(this,t);this.wmTabSelected=i(this,"wmTabSelected",7);this.tabSelected=i(this,"tabSelected",7);this.controllerEnabled=false;this.getSelectedTabItem=function(){return n.tabItems.filter((function(t){return t.selected}))[0]};this.debouncedSetLayout=s((function(){if(!n.listWidth){n.setListWidth()}r(n.el)}),250)}Object.defineProperty(t.prototype,"menuLayout",{get:function(){if(this.listWidth){return this.el.offsetWidth<this.listWidth-24}else{return false}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"tabItems",{get:function(){return Array.from(this.el.querySelectorAll("wm-tab-item"))},enumerable:false,configurable:true});t.prototype.getLinkEl=function(t){return t.shadowRoot.querySelector("a")};Object.defineProperty(t.prototype,"panels",{get:function(){var t=Array.from(document.querySelectorAll("wm-tab-panel"));var e=this.tabItems.map((function(t){return t.tabId}));return t.filter((function(t){return e.includes(t.tabId)}))},enumerable:false,configurable:true});t.prototype.getPanel=function(t){return this.panels.find((function(e){return e.tabId===t}))};t.prototype.setListWidth=function(){var t=this.tabItems.reduce((function(t,e){return t+e.offsetWidth}),0);this.listWidth=t&&t>0?t:this.listWidth};t.prototype.setSelected=function(t){this.tabItems.map((function(e){return e.selected=e.tabId===t}));var e=this.panels.length===1&&this.tabItems.length>1;if(e){var i=this.getSelectedTabItem();this.setAttributesOnPanel(this.panels[0],i);this.panels[0].active=true}else{this.panels.map((function(e){return e.active=e.tabId===t}))}};t.prototype.showItems=function(){this.tabItems.map((function(t){return t.show=true}))};t.prototype.hideItems=function(){this.tabItems.map((function(t){return t.show=false}))};t.prototype.componentWillLoad=function(){this.el.focus=function(){var t=Array.from(this.querySelectorAll("wm-tab-item"));var e=t.filter((function(t){return t.selected}))[0];e&&e.focus()}};t.prototype.componentDidLoad=function(){this.setLayout();var t=this.selectedTab||this.tabItems[0].tabId;this.setSelected(t)};t.prototype.tabItemLoaded=function(t){this.setAriaOnPanelAndTab(t.target)};t.prototype.setAriaOnPanelAndTab=function(t){var e=this.getPanel(t.tabId);if(!e){if(this.panels.length===1){this.setAttributesOnTab(t,this.panels[0])}}else{this.setAttributesOnPanel(e,t);this.setAttributesOnTab(t,e)}};t.prototype.setAttributesOnTab=function(t,e){var i=this.getLinkEl(t);if(i){i.setAttribute("aria-controls",e.id);i.setAttribute("href","#".concat(e.id))}};t.prototype.removeAttributesOnTab=function(t){var e=this.getLinkEl(t);if(e){e.removeAttribute("aria-controls");e.removeAttribute("href")}};t.prototype.setAttributesOnPanel=function(t,e){var i=this.getLinkEl(e);if(i){t.setAttribute("aria-labelledby",i.id);t.setAttribute("tab-id",e.tabId)}};t.prototype.handleTabSelected=function(t){if(this.controllerEnabled){this.setSelected(t.detail.tabId)}};t.prototype.handleKeydown=function(t){var e=t.detail.key;var i=this.tabItems.indexOf(t.detail.tabItem);if(e==="ArrowLeft"||e==="ArrowRight"){this.handleLeftRightArrow(i,e)}if(e==="ArrowDown"||e==="ArrowUp"){this.handleUpDownArrow(e)}};t.prototype.handleLeftRightArrow=function(t,e){if(e){t=e==="ArrowLeft"?t-1:t+1}if(t<0){t=this.tabItems.length-1}else if(t===this.tabItems.length){t=0}var i=this.tabItems[t];this.getLinkEl(i).focus()};t.prototype.handleUpDownArrow=function(t){if(t==="ArrowDown"){if(this.selectedTab){var e=this.getPanel(this.selectedTab);if(e){e.focus()}}}};t.prototype.setLayout=function(){this.debouncedSetLayout()};t.prototype.renderMenuOrTabs=function(){if(this.menuLayout){this.hideItems();return n("wm-select",{label:"Tab Selection","label-position":"none"},this.renderOptions())}else{this.showItems();var t={};if(this.customPadding){t={"margin-left":"-"+this.customPadding}}return n("ul",{class:"tabcontainer ".concat(this.customBackground||""),style:t,role:"tablist"},n("slot",null))}};t.prototype.renderOptions=function(){var t=this;return this.tabItems.map((function(e){return n("wm-option",{id:"tab-link-".concat(e.tabId),selected:e.tabId===t.selectedTab,onClick:function(i){i.preventDefault();t.wmTabSelected.emit({tabId:e.tabId});t.tabSelected.emit({tabId:e.tabId})}},e.textContent)}))};t.prototype.render=function(){return n(a,{class:this.menuLayout?"menu":""},this.renderMenuOrTabs())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["setSelected"]}},enumerable:false,configurable:true});return t}());u.style=d;var h="wm-tab-panel{visibility:inherit}wm-tab-panel.tab-hidden{display:none}wm-tab-panel:active{outline:none}wm-tab-panel:focus{outline:none}wm-tab-panel.user-is-tabbing:focus{outline:-webkit-focus-ring-color auto 5px}";var p=t("wm_tab_panel",function(){function t(t){e(this,t);this.tabPanelLoaded=i(this,"tabPanelLoaded",7);this.active=false;this.tabId=""}t.prototype.componentWillLoad=function(){!this.el.id&&this.el.setAttribute("id",l())};t.prototype.componentDidLoad=function(){this.tabPanelLoaded.emit({tabId:this.tabId})};t.prototype.toggleTabbingOn=function(){this.el.classList.add("user-is-tabbing")};t.prototype.toggleTabbingOff=function(){this.el.classList.remove("user-is-tabbing")};t.prototype.render=function(){var t=this;return n(a,{role:"tabpanel","aria-hidden":this.active?"false":"true",class:{"tab-hidden":!this.active},onBlur:function(){return t.el.tabIndex=-1},tabIndex:-1})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());p.style=h}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function i(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r["throw"](t))}catch(t){o(t)}}function s(t){t.done?n(t.value):a(t.value).then(i,u)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){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:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(e){return s([t,e])}}function s(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=e.call(t,n)}catch(t){i=[6,t];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var e=this;var n=t("g",(function(t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:return[4,fetch(t)];case 1:e=n.sent();if(!(!!e&&!!e.ok))return[3,3];return[4,e.json()];case 2:return[2,n.sent()];case 3:throw new Error(e.statusText)}}))}))}));var r=t("a",(function(t,n){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:return[4,fetch(t,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(n)})];case 1:e=r.sent();if(!(!!e&&!!e.ok))return[3,3];return[4,e.json()];case 2:return[2,r.sent()];case 3:throw new Error(e.statusText)}}))}))}));var a=t("d",(function(t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:return[4,fetch(t,{method:"DELETE"})];case 1:e=n.sent();if(!(!!e&&!!e.ok))return[3,3];return[4,e.json()];case 2:return[2,n.sent()];case 3:throw new Error(e.statusText)}}))}))}));var o=t("p",(function(t,e,n){return new Promise((function(r,a){var o=new XMLHttpRequest;o.upload.addEventListener("progress",(function(t){return n(t)}));o.addEventListener("readystatechange",(function(){if(this.readyState===4&&this.status===200){r(this)}else if(this.readyState===4&&this.status!==200){a()}}));o.onerror=function(){return a()};o.open("PUT",t,true);o.setRequestHeader("Content-Disposition",'attachment;filename="'.concat(e.name,'"'));o.send(e)}))}))}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as i,H as e,g as r}from"./p-38062c39.js";import{i as n}from"./p-dadb6c78.js";let s=class{constructor(i){t(this,i),this.wmChartPopoverButtonTriggered=o(this,"wmChartPopoverButtonTriggered",7),this.open=!1,this.coords={},this.popoverWidth=168,this.popoverClicked=!1}handleClickOnDocument(){this.open=this.popoverClicked,this.popoverClicked=!1}handleClick(t){let o=!1;this.btnEl&&(o=t.target===this.btnEl||this.btnEl.contains(t.target)),this.popoverClicked=!o&&(t.target===this.el||this.el.contains(t.target))}renderLiveRegion(){if(this.liveRegion){this.liveRegion.innerHTML="";const t=document.createElement("div"),o=document.createElement("span");o.innerHTML=this.popoverTitle+" "||"",t.appendChild(o);const i=document.createElement("span");if(i.innerHTML=this.popoverText+" "||"",t.appendChild(i),this.buttonText){const o=document.createElement("span");o.innerHTML=this.buttonText+" "+n.formatMessage({id:"chart.infoButton",defaultMessage:"Button. Click for more information."}),t.appendChild(o)}this.liveRegion.appendChild(t)}}positionPopover(){this.el.style.top=this.coords.y+"px",this.el.style.left=window.innerWidth-this.coords.x>=this.popoverWidth+10?this.coords.x+"px":this.coords.x-this.popoverWidth+"px"}render(){return i(e,null,this.open?i("div",{"aria-hidden":"true",class:"popover"},i("h1",{class:"title"},this.popoverTitle),i("p",{class:"text"},this.popoverText),this.buttonText?i("button",{tabindex:"-1",focusable:"false",ref:t=>this.btnEl=t,class:"popover-button",onClick:()=>{this.sliceRef&&(this.sliceRef.click(),this.wmChartPopoverButtonTriggered.emit(this.sliceRef)),this.open=!1}},i("svg",{class:"btn-icon",height:"9",width:"9"},i("path",{fill:"#575195",d:"M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z"})),i("span",{class:"button-text"},this.buttonText)):""):"",i("div",{ref:t=>this.liveRegion=t,class:"live-region sr-only","aria-live":"polite","aria-atomic":"true"},this.open&&this.renderLiveRegion()))}get el(){return r(this)}static get watchers(){return{coords:["positionPopover"]}}};s.style="priv-chart-popover{position:fixed;z-index:10;border-radius:0.1875rem;-webkit-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);-moz-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);background-color:#fff;font-size:0.875rem;text-align:left}priv-chart-popover.user-is-tabbing .button-text{background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 3px;background-position:0 1em;border-radius:0;line-height:normal}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.popover{width:10.5rem;padding:0.625rem 0.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box}.popover h1.title{font-size:1em;font-weight:500;margin:0;padding-top:0;padding-left:0;padding-bottom:0.25rem}.popover .text{margin:0;margin-bottom:0.5rem}.popover .popover-button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;display:inline-block;margin-left:1rem;padding-left:0;padding-right:0;height:auto;border:none;background:transparent;cursor:pointer;text-decoration:none;letter-spacing:0;text-transform:none;text-align:initial;font-size:0.875rem;font-weight:700;color:#575195;line-height:normal}.popover .popover-button .btn-icon{position:absolute;top:0.1875rem;left:-1rem}.popover .popover-button:focus{outline:none}.popover .popover-button::-moz-focus-inner{border:0;outline:none}.popover .popover-button:hover{text-decoration:none;background:none;color:#454077}.popover .popover-button:hover span{text-decoration:underline}";export{s as priv_chart_popover}