@watermarkinsights/ripple 5.6.0-0 → 5.6.0-2

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 (250) hide show
  1. package/dist/cjs/{app-globals-89d660d0.js → app-globals-2eb5411e.js} +1 -1
  2. package/dist/cjs/{chartFunctions-878f8139.js → chartFunctions-800ea87d.js} +1 -1
  3. package/dist/cjs/{functions-05e7ad5a.js → functions-c6e27c75.js} +6 -0
  4. package/dist/cjs/index-788526f5.js +12 -0
  5. package/dist/cjs/{intl-2b550151.js → intl-9f836d29.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/priv-calendar.cjs.entry.js +1 -1
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +1 -1
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  11. package/dist/cjs/priv-option-list.cjs.entry.js +385 -0
  12. package/dist/cjs/ripple.cjs.js +2 -2
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +3 -3
  14. package/dist/cjs/wm-button.cjs.entry.js +2 -2
  15. package/dist/cjs/wm-chart.cjs.entry.js +3 -3
  16. package/dist/cjs/wm-date-range.cjs.entry.js +1 -1
  17. package/dist/cjs/wm-datepicker.cjs.entry.js +10 -12
  18. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  19. package/dist/cjs/wm-file.cjs.entry.js +2 -2
  20. package/dist/cjs/wm-input.cjs.entry.js +3 -3
  21. package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
  22. package/dist/cjs/wm-modal-footer.cjs.entry.js +1 -1
  23. package/dist/cjs/wm-modal-header.cjs.entry.js +3 -3
  24. package/dist/cjs/wm-modal.cjs.entry.js +3 -3
  25. package/dist/cjs/wm-navigation_3.cjs.entry.js +6 -6
  26. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  27. package/dist/cjs/wm-nested-select.cjs.entry.js +296 -0
  28. package/dist/cjs/wm-optgroup.cjs.entry.js +57 -0
  29. package/dist/cjs/wm-option_2.cjs.entry.js +34 -339
  30. package/dist/cjs/wm-pagination.cjs.entry.js +2 -2
  31. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
  32. package/dist/cjs/wm-search.cjs.entry.js +4 -4
  33. package/dist/cjs/wm-snackbar.cjs.entry.js +4 -4
  34. package/dist/cjs/wm-tab-item_3.cjs.entry.js +4 -4
  35. package/dist/cjs/wm-tag-input.cjs.entry.js +5 -5
  36. package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
  37. package/dist/cjs/wm-textarea.cjs.entry.js +3 -3
  38. package/dist/cjs/wm-timepicker.cjs.entry.js +3 -3
  39. package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
  40. package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
  41. package/dist/collection/collection-manifest.json +5 -2
  42. package/dist/collection/components/datepickers/wm-datepicker.js +9 -11
  43. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +104 -0
  44. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +717 -0
  45. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +378 -0
  46. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +581 -0
  47. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +77 -0
  48. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +197 -0
  49. package/dist/collection/components/{wm-select → selects/wm-select}/wm-select.css +0 -74
  50. package/dist/collection/components/{wm-select → selects/wm-select}/wm-select.js +17 -384
  51. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  52. package/dist/collection/components/wm-button/wm-button.js +1 -1
  53. package/dist/collection/components/wm-file/wm-file.js +1 -1
  54. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  55. package/dist/collection/components/wm-input/wm-input.js +1 -1
  56. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  57. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  58. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  59. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  60. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  61. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  62. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  63. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  64. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  65. package/dist/collection/components/wm-option/wm-option.js +35 -9
  66. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  67. package/dist/collection/components/wm-search/wm-search.js +2 -2
  68. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  69. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  70. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  71. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  72. package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
  73. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  74. package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
  75. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  76. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  77. package/dist/collection/dev/nested-select.js +62 -0
  78. package/dist/collection/global/functions.js +5 -0
  79. package/dist/esm/{app-globals-9946ecbe.js → app-globals-bbc3f842.js} +1 -1
  80. package/dist/esm/{chartFunctions-00fd6f23.js → chartFunctions-7e5619f6.js} +1 -1
  81. package/dist/esm/{functions-25781571.js → functions-046fc5a3.js} +6 -1
  82. package/dist/esm/index-130e07bb.js +12 -0
  83. package/dist/esm/{intl-df3d34d1.js → intl-0822738a.js} +1 -1
  84. package/dist/esm/loader.js +2 -2
  85. package/dist/esm/priv-calendar.entry.js +1 -1
  86. package/dist/esm/priv-chart-popover.entry.js +1 -1
  87. package/dist/esm/priv-navigator-button.entry.js +1 -1
  88. package/dist/esm/priv-navigator-item.entry.js +1 -1
  89. package/dist/esm/priv-option-list.entry.js +381 -0
  90. package/dist/esm/ripple.js +2 -2
  91. package/dist/esm/wm-action-menu_2.entry.js +3 -3
  92. package/dist/esm/wm-button.entry.js +2 -2
  93. package/dist/esm/wm-chart.entry.js +3 -3
  94. package/dist/esm/wm-date-range.entry.js +1 -1
  95. package/dist/esm/wm-datepicker.entry.js +10 -12
  96. package/dist/esm/wm-file-list.entry.js +1 -1
  97. package/dist/esm/wm-file.entry.js +2 -2
  98. package/dist/esm/wm-input.entry.js +3 -3
  99. package/dist/esm/wm-line-chart.entry.js +3 -3
  100. package/dist/esm/wm-modal-footer.entry.js +1 -1
  101. package/dist/esm/wm-modal-header.entry.js +3 -3
  102. package/dist/esm/wm-modal.entry.js +3 -3
  103. package/dist/esm/wm-navigation_3.entry.js +6 -6
  104. package/dist/esm/wm-navigator.entry.js +1 -1
  105. package/dist/esm/wm-nested-select.entry.js +292 -0
  106. package/dist/esm/wm-optgroup.entry.js +53 -0
  107. package/dist/esm/wm-option_2.entry.js +34 -339
  108. package/dist/esm/wm-pagination.entry.js +2 -2
  109. package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
  110. package/dist/esm/wm-search.entry.js +4 -4
  111. package/dist/esm/wm-snackbar.entry.js +4 -4
  112. package/dist/esm/wm-tab-item_3.entry.js +4 -4
  113. package/dist/esm/wm-tag-input.entry.js +5 -5
  114. package/dist/esm/wm-tag-option.entry.js +1 -1
  115. package/dist/esm/wm-textarea.entry.js +3 -3
  116. package/dist/esm/wm-timepicker.entry.js +3 -3
  117. package/dist/esm/wm-toggletip.entry.js +3 -3
  118. package/dist/esm/wm-uploader.entry.js +4 -4
  119. package/dist/esm-es5/{app-globals-9946ecbe.js → app-globals-bbc3f842.js} +1 -1
  120. package/dist/esm-es5/{chartFunctions-00fd6f23.js → chartFunctions-7e5619f6.js} +1 -1
  121. package/dist/esm-es5/{functions-25781571.js → functions-046fc5a3.js} +1 -1
  122. package/dist/esm-es5/index-130e07bb.js +1 -1
  123. package/dist/esm-es5/{intl-df3d34d1.js → intl-0822738a.js} +1 -1
  124. package/dist/esm-es5/loader.js +1 -1
  125. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  126. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  127. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  128. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  129. package/dist/esm-es5/priv-option-list.entry.js +1 -0
  130. package/dist/esm-es5/ripple.js +1 -1
  131. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  132. package/dist/esm-es5/wm-button.entry.js +1 -1
  133. package/dist/esm-es5/wm-chart.entry.js +1 -1
  134. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  135. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  136. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  137. package/dist/esm-es5/wm-file.entry.js +1 -1
  138. package/dist/esm-es5/wm-input.entry.js +1 -1
  139. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  140. package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
  141. package/dist/esm-es5/wm-modal-header.entry.js +1 -1
  142. package/dist/esm-es5/wm-modal.entry.js +1 -1
  143. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  144. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  145. package/dist/esm-es5/wm-nested-select.entry.js +1 -0
  146. package/dist/esm-es5/wm-optgroup.entry.js +1 -0
  147. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  148. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  149. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  150. package/dist/esm-es5/wm-search.entry.js +1 -1
  151. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  152. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  153. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  154. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  155. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  156. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  157. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  158. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  159. package/dist/ripple/{p-041e579b.entry.js → p-05f0f2e9.entry.js} +1 -1
  160. package/dist/ripple/{p-a1a2f8c9.system.entry.js → p-06792553.system.entry.js} +1 -1
  161. package/dist/ripple/{p-b80d9402.system.entry.js → p-0b7a64cd.system.entry.js} +1 -1
  162. package/dist/ripple/{p-d5ba9de1.system.entry.js → p-0db47768.system.entry.js} +1 -1
  163. package/dist/ripple/{p-67a7f0b0.entry.js → p-1123b0fd.entry.js} +1 -1
  164. package/dist/ripple/{p-3423a9b6.system.entry.js → p-140d2dad.system.entry.js} +1 -1
  165. package/dist/ripple/{p-56766bb2.entry.js → p-1727c66e.entry.js} +1 -1
  166. package/dist/ripple/{p-2d619f83.entry.js → p-179e4aee.entry.js} +1 -1
  167. package/dist/ripple/{p-6e60631a.entry.js → p-18d3ad51.entry.js} +1 -1
  168. package/dist/ripple/{p-bcff8b3a.entry.js → p-1a474fb3.entry.js} +1 -1
  169. package/dist/ripple/p-1ed0a315.system.entry.js +1 -0
  170. package/dist/ripple/{p-376efca9.entry.js → p-200298b3.entry.js} +1 -1
  171. package/dist/ripple/{p-3b4045f8.system.entry.js → p-22704516.system.entry.js} +1 -1
  172. package/dist/ripple/{p-f54e9ed0.js → p-28169294.js} +1 -1
  173. package/dist/ripple/p-28a88d69.entry.js +1 -0
  174. package/dist/ripple/{p-13fc2164.entry.js → p-28a89430.entry.js} +1 -1
  175. package/dist/ripple/{p-298c2675.entry.js → p-29388a85.entry.js} +1 -1
  176. package/dist/ripple/{p-1f09134c.entry.js → p-2952dc73.entry.js} +1 -1
  177. package/dist/ripple/p-2ec551cc.entry.js +1 -0
  178. package/dist/ripple/{p-e85b1f40.entry.js → p-30aa965a.entry.js} +1 -1
  179. package/dist/ripple/{p-155224a2.system.entry.js → p-341d27c6.system.entry.js} +1 -1
  180. package/dist/ripple/p-354a97f2.entry.js +1 -0
  181. package/dist/ripple/{p-3b5f4364.system.entry.js → p-35f78ec6.system.entry.js} +1 -1
  182. package/dist/ripple/{p-417c8e46.system.entry.js → p-381d004e.system.entry.js} +1 -1
  183. package/dist/ripple/{p-b41ef3db.entry.js → p-39de670a.entry.js} +1 -1
  184. package/dist/ripple/{p-b7307be6.system.entry.js → p-3ad563c4.system.entry.js} +1 -1
  185. package/dist/ripple/{p-0ff41567.system.entry.js → p-3ea3db64.system.entry.js} +1 -1
  186. package/dist/ripple/p-42925871.entry.js +1 -0
  187. package/dist/ripple/p-46f449d2.system.js +1 -0
  188. package/dist/ripple/{p-e2fe86a7.system.entry.js → p-540f74b1.system.entry.js} +1 -1
  189. package/dist/ripple/{p-a88bf1c5.js → p-58a073f2.js} +1 -1
  190. package/dist/ripple/{p-7fb95b89.entry.js → p-61666258.entry.js} +1 -1
  191. package/dist/ripple/p-64449b64.entry.js +1 -0
  192. package/dist/ripple/p-68fc8da3.system.entry.js +1 -0
  193. package/dist/ripple/p-6e95e98c.system.js +1 -0
  194. package/dist/ripple/{p-aab56a37.system.entry.js → p-7135f074.system.entry.js} +1 -1
  195. package/dist/ripple/{p-eca8daaf.system.js → p-71ddeb97.system.js} +1 -1
  196. package/dist/ripple/{p-d93c51dd.system.entry.js → p-772c4fd2.system.entry.js} +1 -1
  197. package/dist/ripple/{p-17ac5779.js → p-7b5be38a.js} +1 -1
  198. package/dist/ripple/{p-eb14b354.entry.js → p-833c05ca.entry.js} +1 -1
  199. package/dist/ripple/{p-88cfd58d.js → p-8789b4c9.js} +1 -1
  200. package/dist/ripple/{p-fc529ba1.system.entry.js → p-8dd54304.system.entry.js} +1 -1
  201. package/dist/ripple/p-9420679d.entry.js +1 -0
  202. package/dist/ripple/{p-8b56f9d8.system.entry.js → p-96697a65.system.entry.js} +1 -1
  203. package/dist/ripple/p-974ca7a4.system.entry.js +1 -0
  204. package/dist/ripple/{p-b8168f35.system.entry.js → p-97e62c9d.system.entry.js} +1 -1
  205. package/dist/ripple/{p-a9d89ac8.system.js → p-98bf2ccb.system.js} +1 -1
  206. package/dist/ripple/{p-6fe35d1e.system.entry.js → p-ac47e6f5.system.entry.js} +1 -1
  207. package/dist/ripple/{p-5051034b.entry.js → p-b116fb2d.entry.js} +1 -1
  208. package/dist/ripple/{p-03708b88.system.js → p-b6df0519.system.js} +1 -1
  209. package/dist/ripple/{p-6d0e5159.system.entry.js → p-bb28c2c7.system.entry.js} +1 -1
  210. package/dist/ripple/{p-672ae2cb.entry.js → p-c171f37b.entry.js} +1 -1
  211. package/dist/ripple/{p-41eb6a2e.system.entry.js → p-c2fc7204.system.entry.js} +1 -1
  212. package/dist/ripple/{p-4ea1e503.entry.js → p-c9dc5cfa.entry.js} +1 -1
  213. package/dist/ripple/{p-17bb1157.system.entry.js → p-ca6bbd68.system.entry.js} +1 -1
  214. package/dist/ripple/{p-f17fd62b.entry.js → p-cb85c4a7.entry.js} +1 -1
  215. package/dist/ripple/{p-6d56676e.system.entry.js → p-cc5b07b1.system.entry.js} +1 -1
  216. package/dist/ripple/{p-f09e2c22.entry.js → p-d6502e2e.entry.js} +1 -1
  217. package/dist/ripple/{p-c2181de0.entry.js → p-d78dad3d.entry.js} +1 -1
  218. package/dist/ripple/{p-a62e7532.entry.js → p-d7b7c350.entry.js} +1 -1
  219. package/dist/ripple/{p-2fd12dd9.entry.js → p-dde32280.entry.js} +1 -1
  220. package/dist/ripple/{p-7eab6bea.system.entry.js → p-dfaa6a61.system.entry.js} +1 -1
  221. package/dist/ripple/{p-5ece78e5.system.entry.js → p-e25e8ed7.system.entry.js} +1 -1
  222. package/dist/ripple/{p-b0c566b5.system.entry.js → p-e2c9204d.system.entry.js} +1 -1
  223. package/dist/ripple/p-e2de8541.system.entry.js +1 -0
  224. package/dist/ripple/{p-ac40417b.system.entry.js → p-e562e32d.system.entry.js} +1 -1
  225. package/dist/ripple/{p-ecb6c756.entry.js → p-ea407923.entry.js} +1 -1
  226. package/dist/ripple/p-ea9c152f.entry.js +1 -0
  227. package/dist/ripple/{p-748f8a97.system.entry.js → p-f02dce0f.system.entry.js} +1 -1
  228. package/dist/ripple/{p-ea0dfadf.system.entry.js → p-f38622dc.system.entry.js} +1 -1
  229. package/dist/ripple/{p-5caaf651.system.entry.js → p-f8c7adab.system.entry.js} +1 -1
  230. package/dist/ripple/{p-298bde1b.entry.js → p-fb3cfb8b.entry.js} +1 -1
  231. package/dist/ripple/{p-48d0ef98.system.entry.js → p-fdb4cf9e.system.entry.js} +1 -1
  232. package/dist/ripple/{p-0af94825.entry.js → p-feb80dd1.entry.js} +1 -1
  233. package/dist/ripple/{p-2ef49c84.entry.js → p-ff0e05e4.entry.js} +1 -1
  234. package/dist/ripple/ripple.esm.js +1 -1
  235. package/dist/ripple/ripple.js +1 -1
  236. package/dist/types/components/{wm-select/wm-select.d.ts → selects/priv-option-list/priv-option-list.d.ts} +37 -65
  237. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +55 -0
  238. package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +16 -0
  239. package/dist/types/components/selects/wm-select/wm-select.d.ts +53 -0
  240. package/dist/types/components/wm-option/wm-option.d.ts +2 -1
  241. package/dist/types/components.d.ts +148 -2
  242. package/dist/types/global/functions.d.ts +1 -0
  243. package/package.json +3 -3
  244. package/dist/ripple/p-050f17c4.system.js +0 -1
  245. package/dist/ripple/p-418ed08c.system.entry.js +0 -1
  246. package/dist/ripple/p-4670ccb4.system.js +0 -1
  247. package/dist/ripple/p-4baaf026.entry.js +0 -1
  248. package/dist/ripple/p-6e2cd09a.entry.js +0 -1
  249. package/dist/ripple/p-8e72de50.entry.js +0 -1
  250. package/dist/ripple/p-fabe4ca4.entry.js +0 -1
@@ -0,0 +1 @@
1
+ System.register([],(function(e){"use strict";return{execute:function(){e({A:zt,B:Qt,E:Jt,F:da,G:fa,H:ga,I:ba,J:Na,K:Ia,M:Zt,a:wa,b:Ha,c:Aa,d:Yt,e:Kt,f:la,g:qt,h:ia,j:Sa,k:$t,l:oa,m:pa,n:sa,o:ca,p:ea,q:ta,r:aa,s:na,t:va,u:ya,v:Ea,w:Ba,x:ha,y:Wt,z:Xt});var t={"chart.clickToSeeDetails":[{type:0,value:"Click or use arrow keys to see details."}],"chart.hiddenValues":[{type:0,value:"Values are hidden when too close together."}],"chart.infoButton":[{type:0,value:"Button. Click for more information."}],"chart.instructions":[{type:0,value:"Use arrow keys to browse elements, press Tab to exit."}],"chart.roleDescription":[{type:0,value:"Interactive chart"}],"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.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.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.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"}],"file.actionMenuLabel":[{type:0,value:"Actions"}],"file.clearErrorLabel":[{type:0,value:"Clear "},{type:1,value:"fileName"},{type:0,value:" error"}],"file.clearErrorText":[{type:0,value:"Clear"}],"file.deleteAction":[{type:0,value:"Delete File"}],"file.deleteButtonTooltip":[{type:0,value:"Delete"}],"file.downloadAction":[{type:0,value:"Download File"}],"file.downloadButtonTooltip":[{type:0,value:"Download"}],"file.previewAction":[{type:0,value:"Preview File"}],"file.previewButtonTooltip":[{type:0,value:"Preview"}],"navigation.mainNavigation":[{type:0,value:"Main"}],"navigation.showNavigation":[{type:0,value:"Show navigation"}],"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.allOptionsDeselected":[{type:0,value:"All options deselected"}],"select.allOptionsSelected":[{type:0,value:"All options selected"}],"select.allSelected":[{type:0,value:"All selected"}],"select.deselectAll":[{type:0,value:"Deselect All"}],"select.multiPlaceholder":[{type:0,value:"Make a selection"}],"select.noSearchResults":[{type:0,value:"No results found. Please try your search again."}],"select.searchPlaceholder":[{type:0,value:"Search"}],"select.searchResultsFound":[{offset:0,options:{one:{value:[{type:0,value:"1 option found"}]},other:{value:[{type:7},{type:0,value:" options found"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.selectAll":[{type:0,value:"Select All"}],"tagInput.addNewHelpText":[{type:0,value:"Press the Enter or Comma key to add a new tag."}],"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.maxTagsReached":[{type:0,value:"No more tags can be added because the limit has been reached."}],"tagInput.noResults":[{type:0,value:"No results match your search."}],"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.selectionHelpText":[{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.tagLocked":[{type:1,value:"tagName"},{type:0,value:" is locked and cannot be removed."}],"tagInput.tagRemoved":[{type:1,value:"tagName"},{type:0,value:" removed."}],"tagInput.tagsAdded":[{type:0,value:"Tags added"}],"time.selectTime":[{type:0,value:"Select time"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"More information"}]};var a={"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.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.openVerb":[{type:0,value:"Ouvrir"}],"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."}],"navigation.mainNavigation":[{type:0,value:"Principale"}],"navigation.showNavigation":[{type:0,value:"Ouvrir la navigation"}],"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:"%"}],"uploader.waitToUpload":[{type:0,value:"Attendez la fin du chargement en cours pour ajouter de nouveaux fichiers."}]};var r={"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.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 n={"chart.clickToSeeDetails":[{type:0,value:"Ickclay oryay useyay arrowyay eyskay otay eesay etailsday."}],"chart.hiddenValues":[{type:0,value:"Aluesvay areyay iddenhay enwhay ootay oseclay ogethertay."}],"chart.infoButton":[{type:0,value:"Uttonbay. Ickclay orfay oremay informationyay."}],"chart.instructions":[{type:0,value:"Useyay arrowyay eyskay otay owsebray elementsyay, esspray Abtay otay exityay."}],"chart.roleDescription":[{type:0,value:"Interactiveyay artchay"}],"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.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.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.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"}],"file.actionMenuLabel":[{type:0,value:"Actionsyay"}],"file.clearErrorLabel":[{type:0,value:"Earclay "},{type:1,value:"fileName"},{type:0,value:" erroryay"}],"file.clearErrorText":[{type:0,value:"Earclay"}],"file.deleteAction":[{type:0,value:"Eleteday Ilefay"}],"file.deleteButtonTooltip":[{type:0,value:"Eleteday"}],"file.downloadAction":[{type:0,value:"Ownloadday Ilefay"}],"file.downloadButtonTooltip":[{type:0,value:"Ownloadday"}],"file.previewAction":[{type:0,value:"Eviewpray Ilefay"}],"file.previewButtonTooltip":[{type:0,value:"Eviewpray"}],"navigation.mainNavigation":[{type:0,value:"Ainmay"}],"navigation.showNavigation":[{type:0,value:"Owshay avigationnay"}],"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.allOptionsDeselected":[{type:0,value:"Allyay optionsyay eselectedday"}],"select.allOptionsSelected":[{type:0,value:"Allyay optionsyay electedsay"}],"select.allSelected":[{type:0,value:"Allyay electedsay"}],"select.deselectAll":[{type:0,value:"Eselectday Allyay"}],"select.multiPlaceholder":[{type:0,value:"Akemay ayay electionsay"}],"select.noSearchResults":[{type:0,value:"Onay esultsray oundfay. Easeplay tryay ouryay earchsay againyay."}],"select.searchPlaceholder":[{type:0,value:"Earchsay"}],"select.searchResultsFound":[{offset:0,options:{one:{value:[{type:0,value:"1 optionyay oundfay"}]},other:{value:[{type:7},{type:0,value:" optionsyay oundfay"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.selectAll":[{type:0,value:"Electsay Allyay"}],"tagInput.addNewHelpText":[{type:0,value:"Esspray ethay Enteryay oryay Ommacay eykay otay addyay ayay ewnay agtay."}],"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.maxTagsReached":[{type:0,value:"Onay oremay agstay ancay ebay addedyay ecausebay ethay imitlay ashay eenbay eachedray."}],"tagInput.noResults":[{type:0,value:"Onay esultsray atchmay ouryay earchsay."}],"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.selectionHelpText":[{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.tagLocked":[{type:1,value:"tagName"},{type:0,value:" isyay ockedlay andyay annotcay ebay emovedray."}],"tagInput.tagRemoved":[{type:1,value:"tagName"},{type:0,value:" emovedray."}],"tagInput.tagsAdded":[{type:0,value:"Agstay addedyay"}],"time.selectTime":[{type:0,value:"Electsay imetay"}],"time.timeFormat":[{type:0,value:"hh:mmay"}],"toggletip.moreInformation":[{type:0,value:"Oremay informationyay"}]};var i=Object.freeze({__proto__:null,en:t,fr:a,es:r,pig:n});var u=function(e,t){u=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 u(e,t)};function o(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");u(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}var l=function(){l=Object.assign||function e(t){for(var a,r=1,n=arguments.length;r<n;r++){a=arguments[r];for(var i in a)if(Object.prototype.hasOwnProperty.call(a,i))t[i]=a[i]}return t};return l.apply(this,arguments)};function s(e,t){var a={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0)a[r]=e[r];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++){if(t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n]))a[r[n]]=e[r[n]]}return a}function h(e,t,a){if(a||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError==="function"?SuppressedError:function(e,t,a){var r=new Error(a);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};var c;(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"})(c||(c={}));var v;(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"})(v||(v={}));var y;(function(e){e[e["number"]=0]="number";e[e["dateTime"]=1]="dateTime"})(y||(y={}));function p(e){return e.type===v.literal}function d(e){return e.type===v.argument}function f(e){return e.type===v.number}function m(e){return e.type===v.date}function g(e){return e.type===v.time}function b(e){return e.type===v.select}function H(e){return e.type===v.plural}function w(e){return e.type===v.pound}function B(e){return e.type===v.tag}function E(e){return!!(e&&typeof e==="object"&&e.type===y.number)}function A(e){return!!(e&&typeof e==="object"&&e.type===y.dateTime)}var T=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var I=/(?:[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 S(e){var t={};e.replace(I,(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?"long":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 M=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function N(e){if(e.length===0){throw new Error("Number skeleton cannot be empty")}var t=e.split(M).filter((function(e){return e.length>0}));var a=[];for(var r=0,n=t;r<n.length;r++){var i=n[r];var u=i.split("/");if(u.length===0){throw new Error("Invalid number skeleton")}var o=u[0],l=u.slice(1);for(var s=0,h=l;s<h.length;s++){var c=h[s];if(c.length===0){throw new Error("Invalid number skeleton")}}a.push({stem:o,options:l})}return a}function R(e){return e.replace(/^(.*?)-/,"")}var L=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;var O=/^(@+)?(\+|#+)?[rs]?$/g;var D=/(\*)(0+)|(#+)(0+)|(0+)/g;var x=/^(0+)$/;function P(e){var t={};if(e[e.length-1]==="r"){t.roundingPriority="morePrecision"}else if(e[e.length-1]==="s"){t.roundingPriority="lessPrecision"}e.replace(O,(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 k(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 j(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(!x.test(e)){throw new Error("Malformed concise eng/scientific notation")}t.minimumIntegerDigits=e.length}return t}function _(e){var t={};var a=k(e);if(a){return a}return t}function F(e){var t={};for(var a=0,r=e;a<r.length;a++){var n=r[a];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent";t.scale=100;continue;case"currency":t.style="currency";t.currency=n.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=R(n.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=l(l(l({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return l(l({},e),_(t))}),{}));continue;case"engineering":t=l(l(l({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return l(l({},e),_(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(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1){throw new RangeError("integer-width stems only accept a single optional option")}n.options[0].replace(D,(function(e,a,r,n,i,u){if(a){t.minimumIntegerDigits=r.length}else if(n&&i){throw new Error("We currently do not support maximum integer digits")}else if(u){throw new Error("We currently do not support exact integer digits")}return""}));continue}if(x.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(L.test(n.stem)){if(n.options.length>1){throw new RangeError("Fraction-precision stems only accept a single optional option")}n.stem.replace(L,(function(e,a,r,n,i,u){if(r==="*"){t.minimumFractionDigits=a.length}else if(n&&n[0]==="#"){t.maximumFractionDigits=n.length}else if(i&&u){t.minimumFractionDigits=i.length;t.maximumFractionDigits=i.length+u.length}else{t.minimumFractionDigits=a.length;t.maximumFractionDigits=a.length}return""}));var i=n.options[0];if(i==="w"){t=l(l({},t),{trailingZeroDisplay:"stripIfInteger"})}else if(i){t=l(l({},t),P(i))}continue}if(O.test(n.stem)){t=l(l({},t),P(n.stem));continue}var u=k(n.stem);if(u){t=l(l({},t),u)}var o=j(n.stem);if(o){t=l(l({},t),o)}}return t}var U={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function C(e,t){var a="";for(var r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){var i=0;while(r+1<e.length&&e.charAt(r+1)===n){i++;r++}var u=1+(i&1);var o=i<2?1:3+(i>>1);var l="a";var s=G(t);if(s=="H"||s=="k"){o=0}while(o-- >0){a+=l}while(u-- >0){a=s+a}}else if(n==="J"){a+="H"}else{a+=n}}return a}function G(e){var t=e.hourCycle;if(t===undefined&&e.hourCycles&&e.hourCycles.length){t=e.hourCycles[0]}if(t){switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}}var a=e.language;var r;if(a!=="root"){r=e.maximize().region}var n=U[r||""]||U[a||""]||U["".concat(a,"-001")]||U["001"];return n[0]}var V;var q=new RegExp("^".concat(T.source,"*"));var z=new RegExp("".concat(T.source,"*$"));function Y(e,t){return{start:e,end:t}}var W=!!String.prototype.startsWith&&"_a".startsWith("a",1);var K=!!String.fromCodePoint;var Z=!!Object.fromEntries;var J=!!String.prototype.codePointAt;var X=!!String.prototype.trimStart;var Q=!!String.prototype.trimEnd;var $=!!Number.isSafeInteger;var ee=$?Number.isSafeInteger:function(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991};var te=true;try{var ae=se("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");te=((V=ae.exec("a"))===null||V===void 0?void 0:V[0])==="a"}catch(e){te=false}var re=W?function e(t,a,r){return t.startsWith(a,r)}:function e(t,a,r){return t.slice(r,r+a.length)===a};var ne=K?String.fromCodePoint:function e(){var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}var r="";var n=t.length;var i=0;var u;while(n>i){u=t[i++];if(u>1114111)throw RangeError(u+" is not a valid code point");r+=u<65536?String.fromCharCode(u):String.fromCharCode(((u-=65536)>>10)+55296,u%1024+56320)}return r};var ie=Z?Object.fromEntries:function e(t){var a={};for(var r=0,n=t;r<n.length;r++){var i=n[r],u=i[0],o=i[1];a[u]=o}return a};var ue=J?function e(t,a){return t.codePointAt(a)}:function e(t,a){var r=t.length;if(a<0||a>=r){return undefined}var n=t.charCodeAt(a);var i;return n<55296||n>56319||a+1===r||(i=t.charCodeAt(a+1))<56320||i>57343?n:(n-55296<<10)+(i-56320)+65536};var oe=X?function e(t){return t.trimStart()}:function e(t){return t.replace(q,"")};var le=Q?function e(t){return t.trimEnd()}:function e(t){return t.replace(z,"")};function se(e,t){return new RegExp(e,t)}var he;if(te){var ce=se("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");he=function e(t,a){var r;ce.lastIndex=a;var n=ce.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else{he=function e(t,a){var r=[];while(true){var n=ue(t,a);if(n===undefined||fe(n)||me(n)){break}r.push(n);a+=n>=65536?2:1}return ne.apply(void 0,r)}}var ve=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.locale=t.locale;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 n=this.char();if(n===123){var i=this.parseArgument(e,a);if(i.err){return i}r.push(i.val)}else if(n===125&&e>0){break}else if(n===35&&(t==="plural"||t==="selectordinal")){var u=this.clonePosition();this.bump();r.push({type:v.pound,location:Y(u,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(a){break}else{return this.error(c.UNMATCHED_CLOSING_TAG,Y(this.clonePosition(),this.clonePosition()))}}else if(n===60&&!this.ignoreTag&&ye(this.peek()||0)){var i=this.parseTag(e,t);if(i.err){return i}r.push(i.val)}else{var i=this.parseLiteral(e,t);if(i.err){return i}r.push(i.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:v.literal,value:"<".concat(r,"/>"),location:Y(a,this.clonePosition())},err:null}}else if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,true);if(n.err){return n}var i=n.val;var u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ye(this.char())){return this.error(c.INVALID_TAG,Y(u,this.clonePosition()))}var o=this.clonePosition();var l=this.parseTagName();if(r!==l){return this.error(c.UNMATCHED_CLOSING_TAG,Y(o,this.clonePosition()))}this.bumpSpace();if(!this.bumpIf(">")){return this.error(c.INVALID_TAG,Y(u,this.clonePosition()))}return{val:{type:v.tag,value:r,children:i,location:Y(a,this.clonePosition())},err:null}}else{return this.error(c.UNCLOSED_TAG,Y(a,this.clonePosition()))}}else{return this.error(c.INVALID_TAG,Y(a,this.clonePosition()))}};e.prototype.parseTagName=function(){var e=this.offset();this.bump();while(!this.isEOF()&&de(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 n=this.tryParseQuote(t);if(n){r+=n;continue}var i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}var u=this.tryParseLeftAngleBracket();if(u){r+=u;continue}break}var o=Y(a,this.clonePosition());return{val:{type:v.literal,value:r,location:o},err:null}};e.prototype.tryParseLeftAngleBracket=function(){if(!this.isEOF()&&this.char()===60&&(this.ignoreTag||!pe(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 ne.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 ne(a)}};e.prototype.parseArgument=function(e,t){var a=this.clonePosition();this.bump();this.bumpSpace();if(this.isEOF()){return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Y(a,this.clonePosition()))}if(this.char()===125){this.bump();return this.error(c.EMPTY_ARGUMENT,Y(a,this.clonePosition()))}var r=this.parseIdentifierIfPossible().value;if(!r){return this.error(c.MALFORMED_ARGUMENT,Y(a,this.clonePosition()))}this.bumpSpace();if(this.isEOF()){return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Y(a,this.clonePosition()))}switch(this.char()){case 125:{this.bump();return{val:{type:v.argument,value:r,location:Y(a,this.clonePosition())},err:null}}case 44:{this.bump();this.bumpSpace();if(this.isEOF()){return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Y(a,this.clonePosition()))}return this.parseArgumentOptions(e,t,r,a)}default:return this.error(c.MALFORMED_ARGUMENT,Y(a,this.clonePosition()))}};e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition();var t=this.offset();var a=he(this.message,t);var r=t+a.length;this.bumpTo(r);var n=this.clonePosition();var i=Y(e,n);return{value:a,location:i}};e.prototype.parseArgumentOptions=function(e,t,a,r){var n;var i=this.clonePosition();var u=this.parseIdentifierIfPossible().value;var o=this.clonePosition();switch(u){case"":return this.error(c.EXPECT_ARGUMENT_TYPE,Y(i,o));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();var p=this.parseSimpleArgStyleIfPossible();if(p.err){return p}var d=le(p.val);if(d.length===0){return this.error(c.EXPECT_ARGUMENT_STYLE,Y(this.clonePosition(),this.clonePosition()))}var f=Y(h,this.clonePosition());s={style:d,styleLocation:f}}var m=this.tryParseArgumentClose(r);if(m.err){return m}var g=Y(r,this.clonePosition());if(s&&re(s===null||s===void 0?void 0:s.style,"::",0)){var b=oe(s.style.slice(2));if(u==="number"){var p=this.parseNumberSkeletonFromString(b,s.styleLocation);if(p.err){return p}return{val:{type:v.number,value:a,location:g,style:p.val},err:null}}else{if(b.length===0){return this.error(c.EXPECT_DATE_TIME_SKELETON,g)}var H=b;if(this.locale){H=C(b,this.locale)}var d={type:y.dateTime,pattern:H,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?S(H):{}};var w=u==="date"?v.date:v.time;return{val:{type:w,value:a,location:g,style:d},err:null}}}return{val:{type:u==="number"?v.number:u==="date"?v.date:v.time,value:a,location:g,style:(n=s===null||s===void 0?void 0:s.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var B=this.clonePosition();this.bumpSpace();if(!this.bumpIf(",")){return this.error(c.EXPECT_SELECT_ARGUMENT_OPTIONS,Y(B,l({},B)))}this.bumpSpace();var E=this.parseIdentifierIfPossible();var A=0;if(u!=="select"&&E.value==="offset"){if(!this.bumpIf(":")){return this.error(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Y(this.clonePosition(),this.clonePosition()))}this.bumpSpace();var p=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,c.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err){return p}this.bumpSpace();E=this.parseIdentifierIfPossible();A=p.val}var T=this.tryParsePluralOrSelectOptions(e,u,t,E);if(T.err){return T}var m=this.tryParseArgumentClose(r);if(m.err){return m}var I=Y(r,this.clonePosition());if(u==="select"){return{val:{type:v.select,value:a,options:ie(T.val),location:I},err:null}}else{return{val:{type:v.plural,value:a,options:ie(T.val),offset:A,pluralType:u==="plural"?"cardinal":"ordinal",location:I},err:null}}}default:return this.error(c.INVALID_ARGUMENT_TYPE,Y(i,o))}};e.prototype.tryParseArgumentClose=function(e){if(this.isEOF()||this.char()!==125){return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,Y(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(c.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Y(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=N(e)}catch(e){return this.error(c.INVALID_NUMBER_SKELETON,t)}return{val:{type:y.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?F(a):{}},err:null}};e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,r){var n;var i=false;var u=[];var o=new Set;var l=r.value,s=r.location;while(true){if(l.length===0){var h=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_SELECTOR,c.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err){return v}s=Y(h,this.clonePosition());l=this.message.slice(h.offset,this.offset())}else{break}}if(o.has(l)){return this.error(t==="select"?c.DUPLICATE_SELECT_ARGUMENT_SELECTOR:c.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s)}if(l==="other"){i=true}this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{")){return this.error(t==="select"?c.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:c.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Y(this.clonePosition(),this.clonePosition()))}var p=this.parseMessage(e+1,t,a);if(p.err){return p}var d=this.tryParseArgumentClose(y);if(d.err){return d}u.push([l,{value:p.val,location:Y(y,this.clonePosition())}]);o.add(l);this.bumpSpace();n=this.parseIdentifierIfPossible(),l=n.value,s=n.location}if(u.length===0){return this.error(t==="select"?c.EXPECT_SELECT_ARGUMENT_SELECTOR:c.EXPECT_PLURAL_ARGUMENT_SELECTOR,Y(this.clonePosition(),this.clonePosition()))}if(this.requiresOtherClause&&!i){return this.error(c.MISSING_OTHER_CLAUSE,Y(this.clonePosition(),this.clonePosition()))}return{val:u,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 n=false;var i=0;while(!this.isEOF()){var u=this.char();if(u>=48&&u<=57){n=true;i=i*10+(u-48);this.bump()}else{break}}var o=Y(r,this.clonePosition());if(!n){return this.error(e,o)}i*=a;if(!ee(i)){return this.error(t,o)}return{val:i,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=ue(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(re(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()&&fe(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 ye(e){return e>=97&&e<=122||e>=65&&e<=90}function pe(e){return ye(e)||e===47}function de(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 fe(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function me(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 ge(e){e.forEach((function(e){delete e.location;if(b(e)||H(e)){for(var t in e.options){delete e.options[t].location;ge(e.options[t].value)}}else if(f(e)&&E(e.style)){delete e.style.location}else if((m(e)||g(e))&&A(e.style)){delete e.style.location}else if(B(e)){ge(e.children)}}))}function be(e,t){if(t===void 0){t={}}t=l({shouldParseSkeletons:true,requiresOtherClause:true},t);var a=new ve(e,t).parse();if(a.err){var r=SyntaxError(c[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)){ge(a.val)}return a.val}function He(e,t){var a=t&&t.cache?t.cache:Re;var r=t&&t.serializer?t.serializer:Me;var n=t&&t.strategy?t.strategy:Te;return n(e,{cache:a,serializer:r})}function we(e){return e==null||typeof e==="number"||typeof e==="boolean"}function Be(e,t,a,r){var n=we(r)?r:a(r);var i=t.get(n);if(typeof i==="undefined"){i=e.call(this,r);t.set(n,i)}return i}function Ee(e,t,a){var r=Array.prototype.slice.call(arguments,3);var n=a(r);var i=t.get(n);if(typeof i==="undefined"){i=e.apply(this,r);t.set(n,i)}return i}function Ae(e,t,a,r,n){return a.bind(t,e,r,n)}function Te(e,t){var a=e.length===1?Be:Ee;return Ae(e,this,a,t.cache.create(),t.serializer)}function Ie(e,t){return Ae(e,this,Ee,t.cache.create(),t.serializer)}function Se(e,t){return Ae(e,this,Be,t.cache.create(),t.serializer)}var Me=function(){return JSON.stringify(arguments)};function Ne(){this.cache=Object.create(null)}Ne.prototype.get=function(e){return this.cache[e]};Ne.prototype.set=function(e,t){this.cache[e]=t};var Re={create:function e(){return new Ne}};var Le={variadic:Ie,monadic:Se};var Oe;(function(e){e["MISSING_VALUE"]="MISSING_VALUE";e["INVALID_VALUE"]="INVALID_VALUE";e["MISSING_INTL_API"]="MISSING_INTL_API"})(Oe||(Oe={}));var De=function(e){o(t,e);function t(t,a,r){var n=e.call(this,t)||this;n.code=a;n.originalMessage=r;return n}t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};return t}(Error);var xe=function(e){o(t,e);function t(t,a,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Oe.INVALID_VALUE,n)||this}return t}(De);var Pe=function(e){o(t,e);function t(t,a,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),Oe.INVALID_VALUE,r)||this}return t}(De);var ke=function(e){o(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,'"'),Oe.MISSING_VALUE,a)||this}return t}(De);var je;(function(e){e[e["literal"]=0]="literal";e[e["object"]=1]="object"})(je||(je={}));function _e(e){if(e.length<2){return e}return e.reduce((function(e,t){var a=e[e.length-1];if(!a||a.type!==je.literal||t.type!==je.literal){e.push(t)}else{a.value+=t.value}return e}),[])}function Fe(e){return typeof e==="function"}function Ue(e,t,a,r,n,i,u){if(e.length===1&&p(e[0])){return[{type:je.literal,value:e[0].value}]}var o=[];for(var l=0,s=e;l<s.length;l++){var h=s[l];if(p(h)){o.push({type:je.literal,value:h.value});continue}if(w(h)){if(typeof i==="number"){o.push({type:je.literal,value:a.getNumberFormat(t).format(i)})}continue}var c=h.value;if(!(n&&c in n)){throw new ke(c,u)}var v=n[c];if(d(h)){if(!v||typeof v==="string"||typeof v==="number"){v=typeof v==="string"||typeof v==="number"?String(v):""}o.push({type:typeof v==="string"?je.literal:je.object,value:v});continue}if(m(h)){var y=typeof h.style==="string"?r.date[h.style]:A(h.style)?h.style.parsedOptions:undefined;o.push({type:je.literal,value:a.getDateTimeFormat(t,y).format(v)});continue}if(g(h)){var y=typeof h.style==="string"?r.time[h.style]:A(h.style)?h.style.parsedOptions:r.time.medium;o.push({type:je.literal,value:a.getDateTimeFormat(t,y).format(v)});continue}if(f(h)){var y=typeof h.style==="string"?r.number[h.style]:E(h.style)?h.style.parsedOptions:undefined;if(y&&y.scale){v=v*(y.scale||1)}o.push({type:je.literal,value:a.getNumberFormat(t,y).format(v)});continue}if(B(h)){var T=h.children,I=h.value;var S=n[I];if(!Fe(S)){throw new Pe(I,"function",u)}var M=Ue(T,t,a,r,n,i);var N=S(M.map((function(e){return e.value})));if(!Array.isArray(N)){N=[N]}o.push.apply(o,N.map((function(e){return{type:typeof e==="string"?je.literal:je.object,value:e}})))}if(b(h)){var R=h.options[v]||h.options.other;if(!R){throw new xe(h.value,v,Object.keys(h.options),u)}o.push.apply(o,Ue(R.value,t,a,r,n));continue}if(H(h)){var R=h.options["=".concat(v)];if(!R){if(!Intl.PluralRules){throw new De('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Oe.MISSING_INTL_API,u)}var L=a.getPluralRules(t,{type:h.pluralType}).select(v-(h.offset||0));R=h.options[L]||h.options.other}if(!R){throw new xe(h.value,v,Object.keys(h.options),u)}o.push.apply(o,Ue(R.value,t,a,r,n,v-(h.offset||0)));continue}}return _e(o)}function Ce(e,t){if(!t){return e}return l(l(l({},e||{}),t||{}),Object.keys(e).reduce((function(a,r){a[r]=l(l({},e[r]),t[r]||{});return a}),{}))}function Ge(e,t){if(!t){return e}return Object.keys(e).reduce((function(a,r){a[r]=Ce(e[r],t[r]);return a}),l({},e))}function Ve(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function qe(e){if(e===void 0){e={number:{},dateTime:{},pluralRules:{}}}return{getNumberFormat:He((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,h([void 0],t,false)))}),{cache:Ve(e.number),strategy:Le.variadic}),getDateTimeFormat:He((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,h([void 0],t,false)))}),{cache:Ve(e.dateTime),strategy:Le.variadic}),getPluralRules:He((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,h([void 0],t,false)))}),{cache:Ve(e.pluralRules),strategy:Le.variadic})}}var ze=function(){function e(t,a,r,n){var i=this;if(a===void 0){a=e.defaultLocale}this.formatterCache={number:{},dateTime:{},pluralRules:{}};this.format=function(e){var t=i.formatToParts(e);if(t.length===1){return t[0].value}var a=t.reduce((function(e,t){if(!e.length||t.type!==je.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 Ue(i.ast,i.locales,i.formatters,i.formats,e,undefined,i.message)};this.resolvedOptions=function(){var e;return{locale:((e=i.resolvedLocale)===null||e===void 0?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}};this.getAst=function(){return i.ast};this.locales=a;this.resolvedLocale=e.resolveLocale(a);if(typeof t==="string"){this.message=t;if(!e.__parse){throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`")}var u=n||{},o=s(u,["formatters"]);this.ast=e.__parse(t,l(l({},o),{locale:this.resolvedLocale}))}else{this.ast=t}if(!Array.isArray(this.ast)){throw new TypeError("A message must be provided as a String or AST.")}this.formats=Ge(e.formats,r);this.formatters=n&&n.formatters||qe(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.resolveLocale=function(e){if(typeof Intl.Locale==="undefined"){return}var t=Intl.NumberFormat.supportedLocalesOf(e);if(t.length>0){return new Intl.Locale(t[0])}return new Intl.Locale(typeof e==="string"?e:e[0])};e.__parse=be;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 Ye;(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"})(Ye||(Ye={}));var We=function(e){o(t,e);function t(a,r,n){var i=this;var u=n?n instanceof Error?n:new Error(String(n)):undefined;i=e.call(this,"[@formatjs/intl Error ".concat(a,"] ").concat(r,"\n").concat(u?"\n".concat(u.message,"\n").concat(u.stack):""))||this;i.code=a;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(i,t)}return i}return t}(Error);var Ke=function(e){o(t,e);function t(t,a){return e.call(this,Ye.UNSUPPORTED_FORMATTER,t,a)||this}return t}(We);var Ze=function(e){o(t,e);function t(t,a){return e.call(this,Ye.INVALID_CONFIG,t,a)||this}return t}(We);var Je=function(e){o(t,e);function t(t,a){return e.call(this,Ye.MISSING_DATA,t,a)||this}return t}(We);var Xe=function(e){o(t,e);function t(t,a,r){var n=e.call(this,Ye.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(a,"\n"),r)||this;n.locale=a;return n}return t}(We);var Qe=function(e){o(t,e);function t(t,a,r,n){var i=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,n)||this;i.descriptor=r;i.locale=a;return i}return t}(Xe);var $e=function(e){o(t,e);function t(t,a){var r=e.call(this,Ye.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(a,'", using ').concat(t.defaultMessage?"default message (".concat(typeof t.defaultMessage==="string"?t.defaultMessage:t.defaultMessage.map((function(e){var t;return(t=e.value)!==null&&t!==void 0?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;r.descriptor=t;return r}return t}(We);function et(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 tt=function(e){};var at=function(e){};var rt={formats:{},messages:{},timeZone:undefined,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:true,onError:tt,onWarn:at};function nt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function it(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function ut(e){if(e===void 0){e=nt()}var t=Intl.RelativeTimeFormat;var a=Intl.ListFormat;var r=Intl.DisplayNames;var n=He((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,h([void 0],t,false)))}),{cache:it(e.dateTime),strategy:Le.variadic});var i=He((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,h([void 0],t,false)))}),{cache:it(e.number),strategy:Le.variadic});var u=He((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,h([void 0],t,false)))}),{cache:it(e.pluralRules),strategy:Le.variadic});return{getDateTimeFormat:n,getNumberFormat:i,getMessageFormat:He((function(e,t,a,r){return new ze(e,t,a,l({formatters:{getNumberFormat:i,getDateTimeFormat:n,getPluralRules:u}},r||{}))}),{cache:it(e.message),strategy:Le.variadic}),getRelativeTimeFormat:He((function(){var e=[];for(var a=0;a<arguments.length;a++){e[a]=arguments[a]}return new(t.bind.apply(t,h([void 0],e,false)))}),{cache:it(e.relativeTime),strategy:Le.variadic}),getPluralRules:u,getListFormat:He((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(a.bind.apply(a,h([void 0],e,false)))}),{cache:it(e.list),strategy:Le.variadic}),getDisplayNames:He((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(r.bind.apply(r,h([void 0],e,false)))}),{cache:it(e.displayNames),strategy:Le.variadic})}}function ot(e,t,a,r){var n=e&&e[t];var i;if(n){i=n[a]}if(i){return i}r(new Ke("No ".concat(t," format named: ").concat(a)))}function lt(e,t,a){if(a===void 0){a=Error}if(!e){throw new a(t)}}function st(e,t){return Object.keys(e).reduce((function(a,r){a[r]=l({timeZone:t},e[r]);return a}),{})}function ht(e,t){var a=Object.keys(l(l({},e),t));return a.reduce((function(a,r){a[r]=l(l({},e[r]||{}),t[r]||{});return a}),{})}function ct(e,t){if(!t){return e}var a=ze.formats;return l(l(l({},a),e),{date:ht(st(a.date,t),st(e.date||{},t)),time:ht(st(a.time,t),st(e.time||{},t))})}var vt=function(e,t,a,r,n){var i=e.locale,u=e.formats,o=e.messages,s=e.defaultLocale,h=e.defaultFormats,c=e.fallbackOnEmptyString,y=e.onError,p=e.timeZone,d=e.defaultRichTextElements;if(a===void 0){a={id:""}}var f=a.id,m=a.defaultMessage;lt(!!f,"[@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 g=String(f);var b=o&&Object.prototype.hasOwnProperty.call(o,g)&&o[g];if(Array.isArray(b)&&b.length===1&&b[0].type===v.literal){return b[0].value}if(!r&&b&&typeof b==="string"&&!d){return b.replace(/'\{(.*?)\}'/gi,"{$1}")}r=l(l({},d),r||{});u=ct(u,p);h=ct(h,p);if(!b){if(c===false&&b===""){return b}if(!m||i&&i.toLowerCase()!==s.toLowerCase()){y(new $e(a,i))}if(m){try{var H=t.getMessageFormat(m,s,h,n);return H.format(r)}catch(e){y(new Qe('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),i,a,e));return typeof m==="string"?m:g}}return g}try{var H=t.getMessageFormat(b,i,u,l({formatters:t},n||{}));return H.format(r)}catch(e){y(new Qe('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),i,a,e))}if(m){try{var H=t.getMessageFormat(m,s,h,n);return H.format(r)}catch(e){y(new Qe('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),i,a,e))}}if(typeof b==="string"){return b}if(typeof m==="string"){return m}return g};var yt=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function pt(e,t,a,r){var n=e.locale,i=e.formats,u=e.onError,o=e.timeZone;if(r===void 0){r={}}var s=r.format;var h=l(l({},o&&{timeZone:o}),s&&ot(i,t,s,u));var c=et(r,yt,h);if(t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle){c=l(l({},c),{hour:"numeric",minute:"numeric"})}return a(n,c)}function dt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],u=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return pt(e,"date",t,u).format(o)}catch(t){e.onError(new Xe("Error formatting date.",e.locale,t))}return String(o)}function ft(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],u=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return pt(e,"time",t,u).format(o)}catch(t){e.onError(new Xe("Error formatting time.",e.locale,t))}return String(o)}function mt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],u=a[2],o=u===void 0?{}:u;var l=e.timeZone,s=e.locale,h=e.onError;var c=et(o,yt,l?{timeZone:l}:{});try{return t(s,c).formatRange(n,i)}catch(t){h(new Xe("Error formatting date time range.",e.locale,t))}return String(n)}function gt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],u=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return pt(e,"date",t,u).formatToParts(o)}catch(t){e.onError(new Xe("Error formatting date.",e.locale,t))}return[]}function bt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],u=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return pt(e,"time",t,u).formatToParts(o)}catch(t){e.onError(new Xe("Error formatting time.",e.locale,t))}return[]}var Ht=["style","type","fallback","languageDisplay"];function wt(e,t,a,r){var n=e.locale,i=e.onError;var u=Intl.DisplayNames;if(!u){i(new De('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Oe.MISSING_INTL_API))}var o=et(r,Ht);try{return t(n,o).of(a)}catch(e){i(new Xe("Error formatting display name.",n,e))}}var Bt=["type","style"];var Et=Date.now();function At(e){return"".concat(Et,"_").concat(e,"_").concat(Et)}function Tt(e,t,a,r){if(r===void 0){r={}}var n=It(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 n.length===1?n[0]:n.length===0?"":n}function It(e,t,a,r){var n=e.locale,i=e.onError;if(r===void 0){r={}}var u=Intl.ListFormat;if(!u){i(new De('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Oe.MISSING_INTL_API))}var o=et(r,Bt);try{var s={};var h=a.map((function(e,t){if(typeof e==="object"){var a=At(t);s[a]=e;return a}return String(e)}));return t(n,o).formatToParts(h).map((function(e){return e.type==="literal"?e:l(l({},e),{value:s[e.value]||e.value})}))}catch(e){i(new Xe("Error formatting list.",n,e))}return a}var St=["type"];function Mt(e,t,a,r){var n=e.locale,i=e.onError;if(r===void 0){r={}}if(!Intl.PluralRules){i(new De('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Oe.MISSING_INTL_API))}var u=et(r,St);try{return t(n,u).select(a)}catch(e){i(new Xe("Error formatting plural.",n,e))}return"other"}var Nt=["numeric","style"];function Rt(e,t,a){var r=e.locale,n=e.formats,i=e.onError;if(a===void 0){a={}}var u=a.format;var o=!!u&&ot(n,"relative",u,i)||{};var l=et(a,Nt,o);return t(r,l)}function Lt(e,t,a,r,n){if(n===void 0){n={}}if(!r){r="second"}var i=Intl.RelativeTimeFormat;if(!i){e.onError(new De('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Oe.MISSING_INTL_API))}try{return Rt(e,t,n).format(a,r)}catch(t){e.onError(new Xe("Error formatting relative time.",e.locale,t))}return String(a)}var Ot=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Dt(e,t,a){var r=e.locale,n=e.formats,i=e.onError;if(a===void 0){a={}}var u=a.format;var o=u&&ot(n,"number",u,i)||{};var l=et(a,Ot,o);return t(r,l)}function xt(e,t,a,r){if(r===void 0){r={}}try{return Dt(e,t,r).format(a)}catch(t){e.onError(new Xe("Error formatting number.",e.locale,t))}return String(a)}function Pt(e,t,a,r){if(r===void 0){r={}}try{return Dt(e,t,r).formatToParts(a)}catch(t){e.onError(new Xe("Error formatting number.",e.locale,t))}return[]}function kt(e){var t=e?e[Object.keys(e)[0]]:undefined;return typeof t==="string"}function jt(e){if(e.onWarn&&e.defaultRichTextElements&&kt(e.messages||{})){e.onWarn('[@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 _t(e,t){var a=ut(t);var r=l(l({},rt),e);var n=r.locale,i=r.defaultLocale,u=r.onError;if(!n){if(u){u(new Ze('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')))}r.locale=r.defaultLocale||"en"}else if(!Intl.NumberFormat.supportedLocalesOf(n).length&&u){u(new Je('Missing locale data for locale: "'.concat(n,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}else if(!Intl.DateTimeFormat.supportedLocalesOf(n).length&&u){u(new Je('Missing locale data for locale: "'.concat(n,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}jt(r);return l(l({},r),{formatters:a,formatNumber:xt.bind(null,r,a.getNumberFormat),formatNumberToParts:Pt.bind(null,r,a.getNumberFormat),formatRelativeTime:Lt.bind(null,r,a.getRelativeTimeFormat),formatDate:dt.bind(null,r,a.getDateTimeFormat),formatDateToParts:gt.bind(null,r,a.getDateTimeFormat),formatTime:ft.bind(null,r,a.getDateTimeFormat),formatDateTimeRange:mt.bind(null,r,a.getDateTimeFormat),formatTimeToParts:bt.bind(null,r,a.getDateTimeFormat),formatPlural:Mt.bind(null,r,a.getPluralRules),formatMessage:vt.bind(null,r,a),$t:vt.bind(null,r,a),formatList:Tt.bind(null,r,a.getListFormat),formatListToParts:It.bind(null,r,a.getListFormat),formatDisplayName:wt.bind(null,r,a.getDisplayNames)})}var Ft="en";function Ut(){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 Ft}}var Ct=nt();var Gt=Ut();var Vt=e("i",_t({locale:Gt,defaultLocale:"en",messages:i[Gt]||t},Ct));function qt(){return"wmcl-"+Math.random().toString(36).substr(2,10)}function zt(e,t){var a;var r=false;return function(){var n=this;if(!r){e.apply(n,arguments);r=true;clearTimeout(a);a=setTimeout((function(){r=false}),t)}}}function Yt(e,t){var a;return function(){var r=this;var n=function(){return e.apply(r,arguments)};clearTimeout(a);a=setTimeout(n,t)}}function Wt(){var e=document.querySelector("html").getAttribute("dir");return e?e.toLowerCase():""}function Kt(e){var t=e.getBoundingClientRect();var a=t.x;var r=t.y;if(!a){if(Wt()==="rtl"){a=t.right}else{a=t.left}r=t.top}return{x:a,y:r}}function Zt(e){while(!!e){if(e.scrollHeight>e.clientHeight&&["scroll","auto"].includes(window.getComputedStyle(e).overflowY)){return e}e=e.parentElement}}function Jt(e){while(!!e){if(window.getComputedStyle(e).overflowY!=="visible"){return e}e=e.parentElement}}function Xt(e,t){var a;return t===e||e.contains(t)||((a=e.shadowRoot)===null||a===void 0?void 0:a.contains(t))}function Qt(e){var t=e.getBoundingClientRect();var a=Jt(e);var r=a&&a.getBoundingClientRect();return{spaceAbove:r?t.top-r.top:t.top,spaceBelow:r?r.bottom-t.bottom:document.documentElement.clientHeight-t.bottom,spaceLeft:r?t.left-r.left:t.left,spaceRight:r?r.right-t.right:document.documentElement.clientWidth-t.right}}function $t(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var n=Qt(e),i=n.spaceAbove,u=n.spaceBelow;var o=t>u+r&&t<=i+a;return o}function ea(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var n=Qt(e),i=n.spaceAbove,u=n.spaceBelow;var o=t>i+a&&t<=u+r;return o}function ta(e,t){var a=Qt(e),r=a.spaceLeft,n=a.spaceRight;var i=t>r&&n>r;return i}function aa(e,t){var a=Qt(e),r=a.spaceLeft,n=a.spaceRight;var i=t>n&&r>n;return i}function ra(e,t,a,r){var n=Qt(t),i=n.spaceLeft,u=n.spaceRight,o=n.spaceBelow,l=n.spaceAbove;var s=l>a;var h=o>a;var c=i-24>r;var v=u-24>r;var y=function(e){return!s?e.replace("top","bottom"):e};var p=function(e){return!h&&s?e.replace("bottom","top"):e};var d=function(e,t){if(!c&&v){e=e.replace("left","right")}else if(!c&&!v){e=t}return e};var f=function(e,t){if(!v&&c){e=e.replace("right","left")}else if(!v&&!c){e=t}return e};switch(e){case"left":e=d(e,"bottom");case"right":e=f(e,"bottom");case"top-left":e=d(e,"top");e=y(e);case"top-right":e=f(e,"top");e=y(e);case"bottom-left":e=d(e,"bottom");e=p(e);case"bottom-right":e=f(e,"bottom");e=p(e);case"top":e=y(e);case"bottom":e=p(e)}return e}function na(e,t,a){var r=document.querySelectorAll(".wm-tooltip");r.forEach((function(r){var n;if(!!r.showPopover){r.showPopover()}r.classList.add("show");r.textContent=a;var i=a.match(/^[^\s]+$/);if(i){r.classList.add("single-word");r.style.setProperty("--wmTooltipMaxWidth","none")}else{r.classList.remove("single-word");r.style.removeProperty("--wmTooltipMaxWidth")}var u=r.getBoundingClientRect();var o=t.getBoundingClientRect();var l=ra(e,t,u.height,u.width);var s,h;n=ua(l,o,u.height,u.width),s=n[0],h=n[1];r.style.setProperty("--wmTooltipTop",s+"px");r.style.setProperty("--wmTooltipLeft",h+"px")}))}function ia(){var e=document.querySelectorAll(".wm-tooltip");e.forEach((function(e){if(!!e.hidePopover){e.hidePopover()}e.classList.remove("show")}))}function ua(e,t,a,r){var n=(t.height-a)/2;var i=(t.width-r)/2;var u=t.top+n;var o=t.left+i;if(e.includes("top")){u=t.top-a-8}if(e.includes("bottom")){u=t.bottom+8}if(e.includes("left")){o=t.left-r-8}if(e.includes("right")){o=t.right+8}o=Math.max(o,24);return[u,o]}function oa(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 n=r.scrollLeft||document.documentElement.scrollLeft;a+=r.offsetLeft-n+r.clientLeft}else{a+=r.offsetLeft-r.scrollLeft+r.clientLeft}r=r.offsetParent}}return window.innerWidth-a>=t}function la(e){while(e&&e.shadowRoot){e=e.shadowRoot.activeElement}return e}function sa(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 ha(e){return e?e.split(/, ?/):[]}function ca(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 va(e){return e=="false"?false:!!e}function ya(e,t){var a=document.createElement("div");var r=getComputedStyle(e);a.style.position="absolute";a.style.top="-100vh";a.style.fontFamily=r.fontFamily;a.style.fontWeight=r.fontWeight;a.style.fontSize=r.fontSize;a.textContent=t;document.body.appendChild(a);var n=a.getBoundingClientRect();document.body.removeChild(a);return n}function pa(e,t,a,r){var n=document.createElement("div");n.style.visibility="hidden";n.style.position="absolute";n.style.top="-200vh";n.style.left="-200vh";n.textContent=t;e.appendChild(n);var i="...";var u=2+i.length+r;var o=a>n.clientWidth;if(!o&&t.length>u){var l=t.slice(0,t.length-r-i.length).trim();var s=t.slice(-r).trim();var h=l+i+s;n.textContent=h;o=a>n.clientWidth;while(!o&&h.length>u){l=l.slice(0,-1).trim();h=l+i+s;n.textContent=h;o=a>n.clientWidth}}var c=n.textContent;n.remove();return c}function da(e){var t=[];for(var a=0;a<e[0].length;a++){var r=[];for(var n=0;n<e.length;n++){r.push(e[n][a])}t.push(r)}return t}function fa(e,t,a){e+=t;if(e>a){e=(e-1)%a}while(e<0){e=a-Math.abs(e)+1}return e}function ma(e,t){var a=[];for(var r=0;r<e.length;r+=1+t){a.push(e[r])}return a}function ga(e,t){var a=0;var r=e;while(ma(e,a).length>t){a++;r=ma(e,a)}return{skipInterval:a,skippedList:r}}function ba(e,t,a){var r=a-t;var n=Math.abs(e-t);var i=n/r*100;return i}function Ha(e){if(e.requestSubmit){e.requestSubmit()}else{var t=document.createElement("button");t.style.display="none";e.appendChild(t);t.click();document.removeChild(t)}}function wa(e,t){if(t==false&&e.hasAttribute("disabled")){e.removeAttribute("disabled")}}function Ba(e,t,a){if(a===void 0){a=false}if(!!e&&!t)return e[e.length-1];if(!e.includes(t))return;var r=e.indexOf(t);var n=a?e.length-1:0;var i=r>0?r-1:n;return e[i]}function Ea(e,t,a){if(a===void 0){a=false}if(!!e&&!t)return e[0];if(!e.includes(t))return;var r=e.indexOf(t);var n=e.length-1;var i=a?0:n;var u=r!==n?r+1:i;return e[u]}function Aa(e,t){var a=Ta(e);var r=Ta(t);var n=a+r;return parseFloat((e*t).toFixed(n))}function Ta(e){var t=e.toString();var a=t.indexOf(".");if(a==-1){return 0}else{return t.split(".")[1].length}}function Ia(e,t){var a=[4,6,9,11];var r=t%4===0;return e===2?r?29:28:a.includes(e)?30:31}function Sa(e){return"".concat(e.getUTCFullYear(),"-").concat((e.getUTCMonth()+1).toString().padStart(2,"0"),"-").concat(e.getDate().toString().padStart(2,"0"))}function Ma(e){var t=e.split("-"),a=t[0],r=t[1],n=t[2];return{year:{asInt:parseInt(a),asString:a},month:{asInt:parseInt(r),asString:r},day:{asInt:parseInt(n),asString:n}}}function Na(e,t,a){return"".concat(e,"-").concat(t.toString().padStart(2,"0"),"-").concat(a.toString().padStart(2,"0"))}var Ra=e("C",{year:{asString:function(e){return Ma(e).year.asString},asInt:function(e){return Ma(e).year.asInt},increase:function(e,t){var a=Ma(e);var r=a.year.asInt;var n=a.month.asInt;var i=a.day.asInt;return Na(r+t,n,i)},decrease:function(e,t){var a=Ma(e);var r=a.year.asInt;var n=a.month.asInt;var i=a.day.asInt;return Na(r-t,n,i)}},month:{asString:function(e){return Ma(e).month.asString},asInt:function(e){return Ma(e).month.asInt},increase:function(e,t){var a=Ma(e);var r=Math.floor(t/12);var n=t%12;var i=a.year.asInt;var u=a.month.asInt;var o=a.day.asInt;i=u+n>12?i+1:i;i=i+r;u=u+n;u=(u-1)%12+1;return Na(i,u,o)},decrease:function(e,t){var a=Ma(e);var r=Math.floor(t/12);var n=t%12;var i=a.year.asInt;var u=a.month.asInt;var o=a.day.asInt;i=u-n<1?i-1:i;i=i-r;u=u+12;u=u-n;u=(u-1)%12+1;return Na(i,u,o)}},day:{asString:function(e){return Ma(e).day.asString},asInt:function(e){return Ma(e).day.asInt},increase:function(e,t){if(t>7)throw new Error("this.dateFind.day.increase(): max 7 days");var a=Ma(e);var r=a.year.asInt;var n=a.month.asInt;var i=a.day.asInt;var u=Ia(n,r);var o=i+t>u;var l=o&&n===12;n=o?l?1:n+1:n;r=l?r+1:r;i=(i-1+t)%u+1;return Na(r,n,i)},decrease:function(e,t){if(t>7)throw new Error("this.dateFind.day.decrease(): max 7 days");var a=Ma(e);var r=a.year.asInt;var n=a.month.asInt;var i=a.day.asInt;var u=n===1?12:n-1;var o=Ia(u,r);var l=i-t<1;var s=l&&n===1;i=i+o;i=i-t;i=(i-1)%o+1;n=l?s?12:n-1:n;r=s?r-1:r;return Na(r,n,i)}}});var La=e("D",[Vt.formatMessage({id:"date.january",defaultMessage:"January",description:"Month of the year"}),Vt.formatMessage({id:"date.february",defaultMessage:"February",description:"Month of the year"}),Vt.formatMessage({id:"date.march",defaultMessage:"March",description:"Month of the year"}),Vt.formatMessage({id:"date.april",defaultMessage:"April",description:"Month of the year"}),Vt.formatMessage({id:"date.may",defaultMessage:"May",description:"Month of the year"}),Vt.formatMessage({id:"date.june",defaultMessage:"June",description:"Month of the year"}),Vt.formatMessage({id:"date.july",defaultMessage:"July",description:"Month of the year"}),Vt.formatMessage({id:"date.august",defaultMessage:"August",description:"Month of the year"}),Vt.formatMessage({id:"date.september",defaultMessage:"September",description:"Month of the year"}),Vt.formatMessage({id:"date.october",defaultMessage:"October",description:"Month of the year"}),Vt.formatMessage({id:"date.november",defaultMessage:"November",description:"Month of the year"}),Vt.formatMessage({id:"date.december",defaultMessage:"December",description:"Month of the year"})]);var Oa=e("L",[Vt.formatMessage({id:"date.sunday",defaultMessage:"Sunday"}),Vt.formatMessage({id:"date.monday",defaultMessage:"Monday"}),Vt.formatMessage({id:"date.tuesday",defaultMessage:"Tuesday"}),Vt.formatMessage({id:"date.wednesday",defaultMessage:"Wednesday"}),Vt.formatMessage({id:"date.thursday",defaultMessage:"Thursday"}),Vt.formatMessage({id:"date.friday",defaultMessage:"Friday"}),Vt.formatMessage({id:"date.saturday",defaultMessage:"Saturday"})])}}}));
@@ -1 +1 @@
1
- System.register(["./p-cef8a45b.system.js","./p-4670ccb4.system.js","./p-a9d89ac8.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l;return{setters:[function(e){t=e.r;i=e.c;r=e.h;a=e.g},function(e){n=e.t;o=e.a;s=e.b},function(e){l=e.g}],execute:function(){var p=':host{font-family:inherit;width:100%}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .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{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .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{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{color:var(--wmcolor-text-error)}:host .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{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper{width:100%}:host .wrapper .text-after-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}:host .wrapper .text-after{-ms-flex:0 1 fit-content;flex:0 1 fit-content}:host .wrapper .inputfield-wrapper{height:2.5rem;min-width:6.25rem;border:1px solid var(--wmcolor-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex}:host .wrapper .inputfield-wrapper.disabled{background-color:var(--wmcolor-input-background-disabled);color:var(--wmcolor-input-text-disabled)}:host .wrapper .inputfield-wrapper.disabled .symbol{background:none}:host .wrapper .symbol{display:-ms-flexbox;display:flex;background-color:var(--wmcolor-input-unit-background);-ms-flex:0 0 44px;flex:0 0 44px;padding-inline:8px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .wrapper .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:var(--wmcolor-input-charcount-background);font-size:0.875rem;font-weight:500;-ms-flex-item-align:stretch;align-self:stretch}:host .wrapper input{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;height:100%;-ms-flex:1;flex:1;padding:0.75rem 1rem;width:100%}:host .wrapper input:focus{outline:none}:host .wrapper input[type=number]{padding-right:0}:host .wrapper .info{font-style:italic;line-height:100%;margin:4px 0}:host .wrapper.invalid .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper.invalid .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;line-height:100%}:host .wrapper.invalid .error-message:not(:empty){margin-top:0.25rem}:host .wrapper:focus .inputfield-wrapper,:host .wrapper.focus .inputfield-wrapper{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .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}';var d=p;var c=e("wm_input",function(){function e(e){t(this,e);this.wmInputValueChanged=i(this,"wmInputValueChanged",7);this.previousValue="";this.label=undefined;this.labelPosition="top";this.value="";this.disabled=false;this.info=undefined;this.inputWidth="";this.placeholder="";this.requiredField=false;this.errorMessage=undefined;this.characterLimit=undefined;this.symbolBefore=undefined;this.symbolAfter=undefined;this.textAfter=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.isSubmit=false;this.announcement=""}e.prototype.getInputWidth=function(){return this.inputWidth?{width:this.inputWidth}:{flex:"1"}};Object.defineProperty(e.prototype,"charCount",{get:function(){return this.value.length},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isDisabled",{get:function(){return n(this.disabled)},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){if(!this.label){console.error("wm-input requires the label property")}o(this.el,this.isDisabled)};e.prototype.componentDidLoad=function(){this.previousValue=this.inputEl.value};e.prototype.handleDisabledChange=function(){o(this.el,this.isDisabled)};e.prototype.announceError=function(){var e=this;if(this.errorMessage){setTimeout((function(){return e.announce(e.errorMessage)}),100)}};e.prototype.handleInput=function(e){this.value=e.target.value;if(this.characterLimit&&this.charCount>=this.characterLimit-5){this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}};e.prototype.handleKeyDown=function(e){var t=e.ctrlKey||e.metaKey||e.altKey;var i=/^.$/.test(e.key)&&!t;var r=i&&this.characterLimit&&this.inputEl.value.length>=this.characterLimit;if(r){this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}if(e.key==="Enter"){this.isSubmit&&s(this.el.closest("form"))}};e.prototype.handleBlur=function(){if(this.value!==this.previousValue){this.wmInputValueChanged.emit({value:this.value})}this.previousValue=this.value;this.inputWrapperEl.classList.remove("focus")};e.prototype.handleFocus=function(){this.inputWrapperEl.classList.add("focus")};e.prototype.announce=function(e){if(this.liveRegionEl.textContent===e){e+=" "}this.announcement=e};e.prototype.generateCharacterLimitWarning=function(e,t){var i=l.getCharactersEntered(e,t);if(e>=t){i+=" ".concat(l.characterLimitReached)}return i};e.prototype.descriptors=function(){return this.symbolBefore||this.symbolAfter||this.textAfter?"symbol-before inputfield symbol-after text-after info error":"info error"};e.prototype.render=function(){var e=this;return r("div",{key:"6bff33a353bd632527d8ebd95031db8c8138ae87",class:"wrapper label-".concat(this.labelPosition," ").concat(this.errorMessage?"invalid":""),ref:function(t){return e.inputWrapperEl=t}},r("div",{key:"c04c1edf83bb49604e4ca504abc51e6647d5487c",class:"label-wrapper"},r("label",{key:"35d3cf8433a915d548717e7eac14308b1d7a7490",htmlFor:"inputfield",class:"label"},this.label,this.characterLimit&&r("span",{key:"a4d9d478d893bde516031f2b0e7097fb17755b28",class:"sr-only"}," ",l.getCharacterLimit(this.characterLimit)),this.requiredField&&r("span",{key:"7fa0965a9c325e24aac64c522ef354d9bcf841bd",class:"required","aria-hidden":"true"},"*"))),r("div",{key:"4df1efa5078a5d5a6edfd6538923545d3945a34c",class:"inner-wrapper"},r("div",{key:"0c879dc570054b620eb424e0d660c930e2e580bb",class:"text-after-wrapper"},r("div",{key:"76886618707f4ca0d5e3ef46ccc7a3561569cb8b",class:"inputfield-wrapper ".concat(this.isDisabled?"disabled":""),style:this.getInputWidth()},this.symbolBefore&&r("span",{key:"fe346fecf4fa7f0f030354de9d37ac03af8df5d4",class:"symbol",id:"symbol-before"},this.symbolBefore),r("input",{key:"d3ac5033a0aa7e49c2af2a786a3e09d46bec0e51",ref:function(t){return e.inputEl=t},id:"inputfield",disabled:this.isDisabled,"aria-describedby":this.descriptors(),onInput:function(t){return e.handleInput(t)},onKeyDown:function(t){return e.handleKeyDown(t)},onBlur:function(){return e.handleBlur()},onFocus:function(){return e.handleFocus()},placeholder:this.placeholder,autocomplete:"off","aria-required":this.requiredField?"true":null,maxLength:this.characterLimit||undefined,type:this.type,step:this.step,max:this.max,min:this.min,value:this.el.value}),this.symbolAfter&&r("span",{key:"948bcf0ca5186a924b7b7e0099fb072ef78658e4",class:"symbol",id:"symbol-after"},this.symbolAfter),this.characterLimit&&typeof this.characterLimit==="number"?r("div",{class:"character-count"},this.charCount,"/",this.characterLimit):""),this.textAfter&&r("span",{key:"59ab9c5a6530828b9fbf021de2baa98e0306555b",class:"text-after",id:"text-after"},this.textAfter)),this.info&&r("div",{key:"981aed3eb22a54accce593c1791f496b4641bc1f",id:"info",class:"info"},this.info),r("div",{key:"cb8fb8d79193f4505204d4bc1bdc62a52675387f",id:"error",class:"error-message"},this.errorMessage),r("div",{key:"a319ec8aa8f23c7a51af1de3a65e3778b7cadb67",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:function(t){return e.liveRegionEl=t}},this.announcement)))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["handleDisabledChange"],errorMessage:["announceError"]}},enumerable:false,configurable:true});return e}());c.style=d}}}));
1
+ System.register(["./p-cef8a45b.system.js","./p-46f449d2.system.js","./p-98bf2ccb.system.js"],(function(e){"use strict";var t,i,r,a,n,o,s,l;return{setters:[function(e){t=e.r;i=e.c;r=e.h;a=e.g},function(e){n=e.t;o=e.a;s=e.b},function(e){l=e.g}],execute:function(){var p=':host{font-family:inherit;width:100%}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .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{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .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{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{color:var(--wmcolor-text-error)}:host .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{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper{width:100%}:host .wrapper .text-after-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}:host .wrapper .text-after{-ms-flex:0 1 fit-content;flex:0 1 fit-content}:host .wrapper .inputfield-wrapper{height:2.5rem;min-width:6.25rem;border:1px solid var(--wmcolor-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex}:host .wrapper .inputfield-wrapper.disabled{background-color:var(--wmcolor-input-background-disabled);color:var(--wmcolor-input-text-disabled)}:host .wrapper .inputfield-wrapper.disabled .symbol{background:none}:host .wrapper .symbol{display:-ms-flexbox;display:flex;background-color:var(--wmcolor-input-unit-background);-ms-flex:0 0 44px;flex:0 0 44px;padding-inline:8px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .wrapper .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:var(--wmcolor-input-charcount-background);font-size:0.875rem;font-weight:500;-ms-flex-item-align:stretch;align-self:stretch}:host .wrapper input{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;height:100%;-ms-flex:1;flex:1;padding:0.75rem 1rem;width:100%}:host .wrapper input:focus{outline:none}:host .wrapper input[type=number]{padding-right:0}:host .wrapper .info{font-style:italic;line-height:100%;margin:4px 0}:host .wrapper.invalid .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper.invalid .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;line-height:100%}:host .wrapper.invalid .error-message:not(:empty){margin-top:0.25rem}:host .wrapper:focus .inputfield-wrapper,:host .wrapper.focus .inputfield-wrapper{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .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}';var d=p;var c=e("wm_input",function(){function e(e){t(this,e);this.wmInputValueChanged=i(this,"wmInputValueChanged",7);this.previousValue="";this.label=undefined;this.labelPosition="top";this.value="";this.disabled=false;this.info=undefined;this.inputWidth="";this.placeholder="";this.requiredField=false;this.errorMessage=undefined;this.characterLimit=undefined;this.symbolBefore=undefined;this.symbolAfter=undefined;this.textAfter=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.isSubmit=false;this.announcement=""}e.prototype.getInputWidth=function(){return this.inputWidth?{width:this.inputWidth}:{flex:"1"}};Object.defineProperty(e.prototype,"charCount",{get:function(){return this.value.length},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isDisabled",{get:function(){return n(this.disabled)},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){if(!this.label){console.error("wm-input requires the label property")}o(this.el,this.isDisabled)};e.prototype.componentDidLoad=function(){this.previousValue=this.inputEl.value};e.prototype.handleDisabledChange=function(){o(this.el,this.isDisabled)};e.prototype.announceError=function(){var e=this;if(this.errorMessage){setTimeout((function(){return e.announce(e.errorMessage)}),100)}};e.prototype.handleInput=function(e){this.value=e.target.value;if(this.characterLimit&&this.charCount>=this.characterLimit-5){this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}};e.prototype.handleKeyDown=function(e){var t=e.ctrlKey||e.metaKey||e.altKey;var i=/^.$/.test(e.key)&&!t;var r=i&&this.characterLimit&&this.inputEl.value.length>=this.characterLimit;if(r){this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}if(e.key==="Enter"){this.isSubmit&&s(this.el.closest("form"))}};e.prototype.handleBlur=function(){if(this.value!==this.previousValue){this.wmInputValueChanged.emit({value:this.value})}this.previousValue=this.value;this.inputWrapperEl.classList.remove("focus")};e.prototype.handleFocus=function(){this.inputWrapperEl.classList.add("focus")};e.prototype.announce=function(e){if(this.liveRegionEl.textContent===e){e+=" "}this.announcement=e};e.prototype.generateCharacterLimitWarning=function(e,t){var i=l.getCharactersEntered(e,t);if(e>=t){i+=" ".concat(l.characterLimitReached)}return i};e.prototype.descriptors=function(){return this.symbolBefore||this.symbolAfter||this.textAfter?"symbol-before inputfield symbol-after text-after info error":"info error"};e.prototype.render=function(){var e=this;return r("div",{key:"7db24a360d7f3378e69aa3c8fb659aa91b8b913f",class:"wrapper label-".concat(this.labelPosition," ").concat(this.errorMessage?"invalid":""),ref:function(t){return e.inputWrapperEl=t}},r("div",{key:"746b377195a7e93d1ec73f8de6122756d813992d",class:"label-wrapper"},r("label",{key:"96ca5bc471e4f23aa6138dc377a38e5797b293e6",htmlFor:"inputfield",class:"label"},this.label,this.characterLimit&&r("span",{key:"e51d0b811eb04dc446d4140a4adf36a4e85423da",class:"sr-only"}," ",l.getCharacterLimit(this.characterLimit)),this.requiredField&&r("span",{key:"244fcf468648e136e5c4a528c070488dccaa7c94",class:"required","aria-hidden":"true"},"*"))),r("div",{key:"40d75843b86aa0012a5bb7d277c6d17cd9164ff5",class:"inner-wrapper"},r("div",{key:"1caa12e9919c11f22071aae6916bbc32d37bebc2",class:"text-after-wrapper"},r("div",{key:"1e07eb06f59c4c343eb6fd6188440b51046d359c",class:"inputfield-wrapper ".concat(this.isDisabled?"disabled":""),style:this.getInputWidth()},this.symbolBefore&&r("span",{key:"84db811d1334653344e90eecbc687bd23d9ae032",class:"symbol",id:"symbol-before"},this.symbolBefore),r("input",{key:"844dca05f01dde484479577e83176aff952727ab",ref:function(t){return e.inputEl=t},id:"inputfield",disabled:this.isDisabled,"aria-describedby":this.descriptors(),onInput:function(t){return e.handleInput(t)},onKeyDown:function(t){return e.handleKeyDown(t)},onBlur:function(){return e.handleBlur()},onFocus:function(){return e.handleFocus()},placeholder:this.placeholder,autocomplete:"off","aria-required":this.requiredField?"true":null,maxLength:this.characterLimit||undefined,type:this.type,step:this.step,max:this.max,min:this.min,value:this.el.value}),this.symbolAfter&&r("span",{key:"6e01dbb081603f9c27e39cb8dd33b144657d9654",class:"symbol",id:"symbol-after"},this.symbolAfter),this.characterLimit&&typeof this.characterLimit==="number"?r("div",{class:"character-count"},this.charCount,"/",this.characterLimit):""),this.textAfter&&r("span",{key:"cde565ddedd1355ea1129cf38c3de4335da38631",class:"text-after",id:"text-after"},this.textAfter)),this.info&&r("div",{key:"a8d3c096987bd40efa9c5f7416df7cb50c9cc1ff",id:"info",class:"info"},this.info),r("div",{key:"48200834cdd3e3f633256afc75b4daacbf4fa0a8",id:"error",class:"error-message"},this.errorMessage),r("div",{key:"8db2be5cc97bbad09213e40464010285857638f5",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:function(t){return e.liveRegionEl=t}},this.announcement)))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["handleDisabledChange"],errorMessage:["announceError"]}},enumerable:false,configurable:true});return e}());c.style=d}}}));
@@ -1 +1 @@
1
- import{h as t}from"./p-d9da0502.js";import{i as s,c as i,e,f as n}from"./p-88cfd58d.js";const a="#ff5f4e",r="#19a1a9",o="#088000",h="#2e1b46",c="#8b86ca",d="#575195",l="#6b6b6b",u={doughnut:{size:155,colors:[o,l],thickness:.73,padding:25,category:"doughnut"},doughnut1:{size:130,colors:[c,h,l],thickness:.5,padding:90,category:"doughnut"},doughnut2:{size:130,colors:[d,r,h,a,l],thickness:.5,padding:90,category:"doughnut"},doughnut3:{size:130,colors:[c,h,"#0089e4",o,"#ea8500","#d54f41","#146ca9"],thickness:.5,padding:90,category:"doughnut"},bar:{size:350,colors:[o,l],padding:0,category:"stackedBar"},bar2:{size:400,colors:[l,d,h,r,a],padding:0,category:"stackedBar"},bar3:{size:300,colors:["#0d696e",r,"#8e4129",a],padding:0,category:"stackedBar"},bar4:{size:400,colors:[a,r,d],padding:0,category:"stackedBar"},bar5:{size:400,colors:[l,c,h,"#0089e4",o,"#ea8500","#d54f41","#146ca9"],padding:0,category:"stackedBar"},bar6:{size:400,colors:[c],padding:0,category:"simpleBar"},bar7:{size:400,colors:[d,r,a,l],padding:0,category:"simpleBar"}};function f(t){return"percentage"===t||"amount"===t?"show-values":""}const g=s.formatMessage({id:"chart.hiddenValues",defaultMessage:"Values are hidden when too close together.",description:"Text displayed when a chart has some values hidden"}),p=s.formatMessage({id:"chart.clickToSeeDetails",defaultMessage:"Click or use arrow keys to see details.",description:"Text displayed, guiding user to interact to see more details."});function b(t){return t>999||t<-999?Math.round(t/100)/10+"K":t}function m(t,s,i){return i?Math.round(100*t/s):Math.round(1e4*t/s)/100}function v(t,s){return 360*t/s}function x(t){return parseFloat((Math.floor(100*t)/100).toFixed(2))}function w(t,s,i,e){var n=x(t+t*s*Math.cos(Math.PI*i/180)),a=x(t+t*s*Math.sin(Math.PI*i/180));return void 0!==e?{x1:n,y1:a,x2:x(t+t*s*Math.cos(Math.PI*e/180)),y2:x(t+t*s*Math.sin(Math.PI*e/180))}:{x:n,y:a}}function $(t,s,i,e,n){var a=x(n/2*t);return`A ${a}, ${a} 0 ${s} ${x(i)}, ${x(e)}`}function k(t,s){const i=t/s,e=10**Math.floor(Math.log10(i)),n=i/e;let a;return a=n>5?10*e:n>3?5*e:n>2?3*e:n>1.5?2*e:n>1?1.5*e:e,a}function y(t){if(this.popoverEl&&this.popoverEl.open&&"Enter"===t.key){const t=this.popoverEl.querySelector("button");t&&t.click()}}function M(t,s){this.popoverEl&&!this.isTabbing&&(s.coords={x:t.clientX,y:t.clientY},A(this.popoverEl,s),K(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),s))}function z(t,s){this.popoverEl&&this.isTabbing&&(this.focusedSliceId=s.id,s.coords=e(t.target),s.coords.x=s.coords.x+30,s.coords.y=s.coords.y+30,A(this.popoverEl,s),K(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),s))}function C(t){switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.isTabbing=!0,D.call(this);break;case"ArrowRight":case"ArrowDown":t.preventDefault(),this.isTabbing=!0,B.call(this);break;case"Tab":j.call(this);break;case"Escape":this.popoverEl.open=!1,this.userIsNavigating=!1}}function A(t,s){t.open=!1,s.title&&s.text&&(t.sliceDetails=Object.assign({},s),window.setTimeout((()=>t.open=!0),30))}function B(){const t=n(document.activeElement),s=(this.sliceEls.indexOf(t)+1)%this.sliceEls.length;F.call(this,s)}function D(){if(this.sliceEls){const t=n(document.activeElement);let s=this.sliceEls.indexOf(t);-1===s?s=0:0===s?s=this.sliceEls.length-1:s-=1,F.call(this,s)}}function F(t){this.sliceEls&&this.el&&(this.userIsNavigating=!0,this.componentWrapperEl.tabIndex=-1,this.el.focusable=!1,this.sliceEls.map((t=>{t.tabIndex=-1,t.focusable=!1})),this.sliceEls[t].tabIndex=0,this.sliceEls[t].focusable=!0,this.sliceEls[t].focus(),this.focusedSliceId=this.sliceEls[t].id,window.setTimeout((()=>{this.popoverEl&&(this.popoverEl.open=!0)}),10))}function j(){this.focusedSliceId=void 0,this.sliceEls&&this.sliceEls.map((t=>{t.tabIndex=-1,t.focusable=!1})),this.userIsNavigating=!1,window.setTimeout((()=>{this.componentWrapperEl.tabIndex=0,this.el.focusable=!0,this.popoverEl&&(this.popoverEl.open=!1)}),100)}async function I(t){this.slicesDetails=[];let s=0;const i=Array.from(this.el.children);this.total=i.reduce(((t,s)=>t+parseInt(s.getAttribute("amount")||"0")),0);let e=[...u[t].colors];"bar2"===this.chartType&&this.el.children.length<=4&&e.splice(2,1),"bar3"===t&&2===i.length&&(e=[e[1],e[3]]),"doughnut2"===t&&i.length<5&&(e.splice(2,1),i.length<4&&e.shift()),"bar5"!==t||this.notStartedColor||e.shift(),i.forEach(((i,n)=>{const a=parseInt(i.getAttribute("amount")||"0"),r=m(a,this.total,!0);let o=n;"bar6"===t&&(o=0);const h={amount:a,perc:r,legend:i.getAttribute("legend"),color:e[o]||l,offset:s,id:`${this.uid}-${n+1}`,title:i.getAttribute("popover-title"),text:i.getAttribute("popover-text"),buttonText:i.getAttribute("popover-button-text"),sliceRef:i,inSmallCluster:!1,index:n};s+=a,this.slicesDetails.push(h)}))}function S(t,s,i){const e=v(s,this.total)-90,n=t/this.total*360;let a=e+n;const r=n>180?"1 1":"0 1",o=n>180?"1 0":"0 0",h=this.chartDetails.size/2,c=this.chartDetails.thickness,d="doughnut"===i?2.25:3;360===n&&(a-=.01);const l=w(h,1,e+1.5,a),u=w(h,c,e+d,a);return`M ${l.x1}, ${l.y1} `+$(1,r,l.x2,l.y2,this.chartDetails.size)+` L ${u.x2}, ${u.y2} `+$(c,o,u.x1,u.y1,this.chartDetails.size)+" z"}function T(){const i=s.formatMessage({id:"chart.instructions",defaultMessage:"Use arrow keys to browse elements, press Tab to exit.",description:"For screen readers only, instructions on how to interact with the chart component"});return t("div",{id:"chart-instructions"},i)}function H(s){const i=this.chartDetails.size+this.chartDetails.padding,e="doughnut"===s;let n=e?this.slicesDetails:function(t,s){let i=[...t].sort(((t,s)=>t.amount===s.amount?0:t.amount>s.amount?-1:1)),e=0;return i.filter((t=>t.amount>0)).forEach(((t,n)=>{const a=i[n===i.length-1?0:n+1],r=m(i[0===n?i.length-1:n-1].amount,s,!0),o=m(a.amount,s,!0),h=0===t.perc?8:5;t.inSmallCluster=t.perc<4&&(r<h||o<h),t.offset=e,e+=t.amount})),i}(this.slicesDetails,this.total);return n=function(t,s,i){const e=s.map((t=>v(t.amount,i)));if(e.some((t=>0!==t&&t<7))){const t=e.map((t=>0==t?t:Math.max(t,7))),n=t.reduce(((t,s)=>t+(s>7&&0!==s?s:0)),0),a=360-t.reduce(((t,s)=>t+(s>7&&0!==s?0:s)),0),r=(n-a)/a,o=t.map((t=>t>7?t-r*t:0==t?0:7));let h=0;s=s.map(((t,s)=>{const e=o[s]/360*i,n=h;return h+=e,Object.assign(Object.assign({},t),{amount:e,offset:n})}))}return s}(0,n,this.total),t("div",{class:"chart-wrapper doughnut-wrapper"},t("svg",{width:i+"px",height:i+"px",id:`graphic-${this.uid}`,class:"doughnut-svg"},t("defs",null,t("filter",{id:"wmHoverDropShadow"},t("feGaussianBlur",{stdDeviation:"3"}),t("feOffset",{result:"offsetblur"}),t("feFlood",{"flood-color":"#333"}),t("feComposite",{operator:"in",in2:"offsetblur"}),t("feMerge",null,t("feMergeNode",null),t("feMergeNode",{in:"SourceGraphic"})))),n.map((t=>O.call(this,t,s))),W.call(this),e?t("text",{class:"value",x:"50%",y:"50%","font-size":"1.5rem","font-weight":"500","text-anchor":"middle","dominant-baseline":"middle"},m(n[0].amount,this.total,!0)+"%"):t("g",{transform:`translate(${this.chartDetails.padding/2}, ${this.chartDetails.padding/2})`,"text-anchor":"middle","dominant-baseline":"middle"},n.map((t=>t.amount>0&&!t.inSmallCluster?E.call(this,t):"")))))}function K(t,s){t.forEach((t=>{t.dataset.segmentindex&&parseInt(t.dataset.segmentindex)!==s.index?t.classList.add("faded"):t.classList.remove("faded")}))}function N(t){t.forEach((t=>{t.classList.remove("faded")}))}function O(s,i){const e=m(s.amount,this.total,!0)+"%";return!isNaN(s.amount)&&t("g",{transform:`translate(${this.chartDetails.padding/2}, ${this.chartDetails.padding/2})`},t("path",{id:s.id,class:"segment doughnut-segment",fill:s.amount?s.color:"transparent",d:S.call(this,s.amount,s.offset,i),onClick:t=>M.call(this,t,s),onFocus:t=>z.call(this,t,s),onKeyDown:t=>y.call(this,t),role:"img","aria-label":`${s.legend}, ${e}`,"data-segmentindex":s.index}))}function W(){return this.isTabbing?t("g",{transform:`translate(${this.chartDetails.padding/2}, ${this.chartDetails.padding/2})`},t("use",{tabindex:-1,id:"kfbg1",xlinkHref:`#${this.focusedSliceId}`}),t("use",{tabindex:-1,id:"kfstroke",xlinkHref:`#${this.focusedSliceId}`}),t("use",{tabindex:-1,id:"kfbg2",xlinkHref:`#${this.focusedSliceId}`})):""}function E(s){const i=v(s.offset+s.amount/2,this.total);let{x:e,y:n}=w(this.chartDetails.size/2,1.4,i-90);return t("text",{class:"value",x:e+"px",y:n+"px","data-segmentindex":s.index},`${s.perc>0?s.perc:"<1"}%`)}function G(s){const i="bar"===s,e=this.el.shadowRoot.querySelectorAll(".value");return e.length>0&&requestAnimationFrame((()=>{let t=[],s=!1;e.forEach((i=>{i.classList.remove("hidden");const e=parseInt(i.dataset.value);if(t.length>0&&0!=e){const n=i.getBoundingClientRect().left-4;t.forEach((t=>{const a=parseInt(t.dataset.value);t.getBoundingClientRect().right>n&&((e<a?i:t).classList.add("hidden"),s=!0)}))}!i.classList.contains("hidden")&&e>0&&t.push(i)})),(this.isBar||this.isDoughnut)&&this.showHiddenValuesMessage(s)})),t("div",{class:"chart-wrapper bar-wrapper"},i?t("div",{class:"single-perc"},m(this.slicesDetails[0].amount,this.total,!0)+"%"):"","bar3"===this.chartType&&this.drawAxis(),t("div",{class:`inner-stacked-bar-wrapper ${f(this.valueFormat)}`},i?"":t("div",{class:"values"},this.slicesDetails.map((t=>this.renderBarText(t,5)))),t("div",{class:"stacked-bar-segments-wrapper"},this.slicesDetails.map((t=>L.call(this,t,5)))),i?J.call(this):""))}function L(s,i){const e=m(s.amount,this.total,!1),n=this.el.shadowRoot.querySelector(".stacked-bar-segments-wrapper"),a=e/100*(n?n.offsetWidth:this.el.offsetWidth)>=i,r=a||0==s.amount?`${e}%`:`${i}px`;let o="";return"percentage"==this.valueFormat?o=`${m(s.amount,this.total,!0)} %`:"amount"==this.valueFormat&&(o=s.amount.toString()),t("div",{class:`segment stacked-bar-segment ${0===m(s.amount,this.total,!1)?"zero":""} ${a?"":"fixed-width"}`,style:{backgroundColor:s.color,width:r},onClick:t=>M.call(this,t,s),onFocus:t=>z.call(this,t,s),onKeyDown:t=>y.call(this,t),"data-segmentindex":s.index},t("span",{class:"sr-only"},`${s.legend} ${o}`))}function R(s){const e=this.slicesDetails.map((t=>t.amount)).reduce(((t,s)=>t>s?t:s)),n=parseInt(getComputedStyle(this.el).getPropertyValue("--labelWidth"),10);let a=(r=this.el.getBoundingClientRect().width-n-48,Math.round(r/function(t){return function(t){let s=80*(t-300)/600+70;return s<70?70:s>150?150:s}(t)}(r)));var r;let o=k(e,a);const h=Math.floor((a*o-e)/o);a-=h,this.el.style.setProperty("--backgroundSize",100/a+"%"),this.el.style.setProperty("--labelWidth",this.labelWidth),"bar7"!==s||this.showBarLegend||this.el.style.setProperty("--labelWidth","0px");const c=[];this.slicesDetails.forEach((i=>{i.legend&&c.push(function(s,i,e){return t("label",{class:`label${"bar7"!==e||i?"":" hidden"}`},s)}(i.legend,this.showBarLegend,s)),c.push(U.call(this,i,o,a,e))}));const d=[];for(let s=1;s<=a;s++){const e=b(i(s,o));d.push(t("div",{class:"tick"},t("span",null,e)))}const l="bar6"===s&&this.showGrid&&this.el.getBoundingClientRect().width>300;return t("div",{class:"chart-wrapper simple-bar-wrapper"},t("div",{class:`chart ${f(this.valueFormat)}`},l&&t("div",{class:"gridlines"}),t("div",{class:"rows"},c)),l&&t("div",{class:"x-axis","aria-hidden":"true"},t("div",{class:"zero"},t("span",null,"0")),d))}function U(s,i,e,n){const a=m(s.amount,"bar6"===this.currentChartType?i*e:n,!1),r=a?a+"%":"1px",o=b(s.amount);let h="amount"===this.valueFormat?o:"";return"bar6"===this.currentChartType&&"percentage"===this.valueFormat?h=s.amount+"%":"bar7"===this.currentChartType&&"percentage"===this.valueFormat&&(h=(0===this.total?"0":m(s.amount,this.total,!0))+"%"),t("div",{class:"bar segment",style:{backgroundColor:s.color,width:r},onClick:t=>M.call(this,t,s),onFocus:t=>z.call(this,t,s),onKeyDown:t=>y.call(this,t),"data-segmentindex":s.index},t("div",{class:"value"},h))}function V(s){if(this.showLegend){const i=this.slicesDetails.reduce(((t,s)=>!!s.inSmallCluster||t),!1);return this.isDoughnut&&this.showHiddenValuesMessage(i),t("div",{class:"legend-wrapper"},t("div",{class:`legend ${s} ${"bar"===this.mode?"--top":"--bottom"}`,"aria-hidden":"true"},this.slicesDetails.map((t=>{const s="amount"==this.printModeFormat?`${t.amount}/${this.total}`:`${m(t.amount,this.total,!0)}%`;if(t.amount||t.legend)return q.call(this,{key:t.legend,color:t.color},s,t)}))),this.isDoughnut&&!this.printMode&&P())}}function q(s,i="",e=null){const n=t=>{e&&(e.coords={x:t.clientX,y:t.clientY},A(this.popoverEl,e),K(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),e))};return t("div",{class:"legend-item",onClick:t=>n(t),"data-segmentindex":e?e.index:null},t("div",{class:"legend-color",style:{backgroundColor:s.color}}),t("div",{class:"legend-text"},s.key,i&&t("span",{class:"print-value "+(this.printMode?"force-visible":"")},": ",i)))}function J(){if(this.completionMessage)return t("div",{class:"completion-message"},this.completionMessage)}function P(){return t("div",{class:"hidden-values-warning hidden"},g,t("br",null),p)}export{u as a,R as b,G as c,H as d,T as e,V as f,I as g,C as h,P as i,j,m as k,J as l,q as m,b as n,k as o,N as r}
1
+ import{h as t}from"./p-d9da0502.js";import{i as s,c as i,e,f as n}from"./p-8789b4c9.js";const a="#ff5f4e",r="#19a1a9",o="#088000",h="#2e1b46",c="#8b86ca",d="#575195",l="#6b6b6b",u={doughnut:{size:155,colors:[o,l],thickness:.73,padding:25,category:"doughnut"},doughnut1:{size:130,colors:[c,h,l],thickness:.5,padding:90,category:"doughnut"},doughnut2:{size:130,colors:[d,r,h,a,l],thickness:.5,padding:90,category:"doughnut"},doughnut3:{size:130,colors:[c,h,"#0089e4",o,"#ea8500","#d54f41","#146ca9"],thickness:.5,padding:90,category:"doughnut"},bar:{size:350,colors:[o,l],padding:0,category:"stackedBar"},bar2:{size:400,colors:[l,d,h,r,a],padding:0,category:"stackedBar"},bar3:{size:300,colors:["#0d696e",r,"#8e4129",a],padding:0,category:"stackedBar"},bar4:{size:400,colors:[a,r,d],padding:0,category:"stackedBar"},bar5:{size:400,colors:[l,c,h,"#0089e4",o,"#ea8500","#d54f41","#146ca9"],padding:0,category:"stackedBar"},bar6:{size:400,colors:[c],padding:0,category:"simpleBar"},bar7:{size:400,colors:[d,r,a,l],padding:0,category:"simpleBar"}};function f(t){return"percentage"===t||"amount"===t?"show-values":""}const g=s.formatMessage({id:"chart.hiddenValues",defaultMessage:"Values are hidden when too close together.",description:"Text displayed when a chart has some values hidden"}),p=s.formatMessage({id:"chart.clickToSeeDetails",defaultMessage:"Click or use arrow keys to see details.",description:"Text displayed, guiding user to interact to see more details."});function b(t){return t>999||t<-999?Math.round(t/100)/10+"K":t}function m(t,s,i){return i?Math.round(100*t/s):Math.round(1e4*t/s)/100}function v(t,s){return 360*t/s}function x(t){return parseFloat((Math.floor(100*t)/100).toFixed(2))}function w(t,s,i,e){var n=x(t+t*s*Math.cos(Math.PI*i/180)),a=x(t+t*s*Math.sin(Math.PI*i/180));return void 0!==e?{x1:n,y1:a,x2:x(t+t*s*Math.cos(Math.PI*e/180)),y2:x(t+t*s*Math.sin(Math.PI*e/180))}:{x:n,y:a}}function $(t,s,i,e,n){var a=x(n/2*t);return`A ${a}, ${a} 0 ${s} ${x(i)}, ${x(e)}`}function k(t,s){const i=t/s,e=10**Math.floor(Math.log10(i)),n=i/e;let a;return a=n>5?10*e:n>3?5*e:n>2?3*e:n>1.5?2*e:n>1?1.5*e:e,a}function y(t){if(this.popoverEl&&this.popoverEl.open&&"Enter"===t.key){const t=this.popoverEl.querySelector("button");t&&t.click()}}function M(t,s){this.popoverEl&&!this.isTabbing&&(s.coords={x:t.clientX,y:t.clientY},A(this.popoverEl,s),K(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),s))}function z(t,s){this.popoverEl&&this.isTabbing&&(this.focusedSliceId=s.id,s.coords=e(t.target),s.coords.x=s.coords.x+30,s.coords.y=s.coords.y+30,A(this.popoverEl,s),K(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),s))}function C(t){switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.isTabbing=!0,D.call(this);break;case"ArrowRight":case"ArrowDown":t.preventDefault(),this.isTabbing=!0,B.call(this);break;case"Tab":j.call(this);break;case"Escape":this.popoverEl.open=!1,this.userIsNavigating=!1}}function A(t,s){t.open=!1,s.title&&s.text&&(t.sliceDetails=Object.assign({},s),window.setTimeout((()=>t.open=!0),30))}function B(){const t=n(document.activeElement),s=(this.sliceEls.indexOf(t)+1)%this.sliceEls.length;F.call(this,s)}function D(){if(this.sliceEls){const t=n(document.activeElement);let s=this.sliceEls.indexOf(t);-1===s?s=0:0===s?s=this.sliceEls.length-1:s-=1,F.call(this,s)}}function F(t){this.sliceEls&&this.el&&(this.userIsNavigating=!0,this.componentWrapperEl.tabIndex=-1,this.el.focusable=!1,this.sliceEls.map((t=>{t.tabIndex=-1,t.focusable=!1})),this.sliceEls[t].tabIndex=0,this.sliceEls[t].focusable=!0,this.sliceEls[t].focus(),this.focusedSliceId=this.sliceEls[t].id,window.setTimeout((()=>{this.popoverEl&&(this.popoverEl.open=!0)}),10))}function j(){this.focusedSliceId=void 0,this.sliceEls&&this.sliceEls.map((t=>{t.tabIndex=-1,t.focusable=!1})),this.userIsNavigating=!1,window.setTimeout((()=>{this.componentWrapperEl.tabIndex=0,this.el.focusable=!0,this.popoverEl&&(this.popoverEl.open=!1)}),100)}async function I(t){this.slicesDetails=[];let s=0;const i=Array.from(this.el.children);this.total=i.reduce(((t,s)=>t+parseInt(s.getAttribute("amount")||"0")),0);let e=[...u[t].colors];"bar2"===this.chartType&&this.el.children.length<=4&&e.splice(2,1),"bar3"===t&&2===i.length&&(e=[e[1],e[3]]),"doughnut2"===t&&i.length<5&&(e.splice(2,1),i.length<4&&e.shift()),"bar5"!==t||this.notStartedColor||e.shift(),i.forEach(((i,n)=>{const a=parseInt(i.getAttribute("amount")||"0"),r=m(a,this.total,!0);let o=n;"bar6"===t&&(o=0);const h={amount:a,perc:r,legend:i.getAttribute("legend"),color:e[o]||l,offset:s,id:`${this.uid}-${n+1}`,title:i.getAttribute("popover-title"),text:i.getAttribute("popover-text"),buttonText:i.getAttribute("popover-button-text"),sliceRef:i,inSmallCluster:!1,index:n};s+=a,this.slicesDetails.push(h)}))}function S(t,s,i){const e=v(s,this.total)-90,n=t/this.total*360;let a=e+n;const r=n>180?"1 1":"0 1",o=n>180?"1 0":"0 0",h=this.chartDetails.size/2,c=this.chartDetails.thickness,d="doughnut"===i?2.25:3;360===n&&(a-=.01);const l=w(h,1,e+1.5,a),u=w(h,c,e+d,a);return`M ${l.x1}, ${l.y1} `+$(1,r,l.x2,l.y2,this.chartDetails.size)+` L ${u.x2}, ${u.y2} `+$(c,o,u.x1,u.y1,this.chartDetails.size)+" z"}function T(){const i=s.formatMessage({id:"chart.instructions",defaultMessage:"Use arrow keys to browse elements, press Tab to exit.",description:"For screen readers only, instructions on how to interact with the chart component"});return t("div",{id:"chart-instructions"},i)}function H(s){const i=this.chartDetails.size+this.chartDetails.padding,e="doughnut"===s;let n=e?this.slicesDetails:function(t,s){let i=[...t].sort(((t,s)=>t.amount===s.amount?0:t.amount>s.amount?-1:1)),e=0;return i.filter((t=>t.amount>0)).forEach(((t,n)=>{const a=i[n===i.length-1?0:n+1],r=m(i[0===n?i.length-1:n-1].amount,s,!0),o=m(a.amount,s,!0),h=0===t.perc?8:5;t.inSmallCluster=t.perc<4&&(r<h||o<h),t.offset=e,e+=t.amount})),i}(this.slicesDetails,this.total);return n=function(t,s,i){const e=s.map((t=>v(t.amount,i)));if(e.some((t=>0!==t&&t<7))){const t=e.map((t=>0==t?t:Math.max(t,7))),n=t.reduce(((t,s)=>t+(s>7&&0!==s?s:0)),0),a=360-t.reduce(((t,s)=>t+(s>7&&0!==s?0:s)),0),r=(n-a)/a,o=t.map((t=>t>7?t-r*t:0==t?0:7));let h=0;s=s.map(((t,s)=>{const e=o[s]/360*i,n=h;return h+=e,Object.assign(Object.assign({},t),{amount:e,offset:n})}))}return s}(0,n,this.total),t("div",{class:"chart-wrapper doughnut-wrapper"},t("svg",{width:i+"px",height:i+"px",id:`graphic-${this.uid}`,class:"doughnut-svg"},t("defs",null,t("filter",{id:"wmHoverDropShadow"},t("feGaussianBlur",{stdDeviation:"3"}),t("feOffset",{result:"offsetblur"}),t("feFlood",{"flood-color":"#333"}),t("feComposite",{operator:"in",in2:"offsetblur"}),t("feMerge",null,t("feMergeNode",null),t("feMergeNode",{in:"SourceGraphic"})))),n.map((t=>O.call(this,t,s))),W.call(this),e?t("text",{class:"value",x:"50%",y:"50%","font-size":"1.5rem","font-weight":"500","text-anchor":"middle","dominant-baseline":"middle"},m(n[0].amount,this.total,!0)+"%"):t("g",{transform:`translate(${this.chartDetails.padding/2}, ${this.chartDetails.padding/2})`,"text-anchor":"middle","dominant-baseline":"middle"},n.map((t=>t.amount>0&&!t.inSmallCluster?E.call(this,t):"")))))}function K(t,s){t.forEach((t=>{t.dataset.segmentindex&&parseInt(t.dataset.segmentindex)!==s.index?t.classList.add("faded"):t.classList.remove("faded")}))}function N(t){t.forEach((t=>{t.classList.remove("faded")}))}function O(s,i){const e=m(s.amount,this.total,!0)+"%";return!isNaN(s.amount)&&t("g",{transform:`translate(${this.chartDetails.padding/2}, ${this.chartDetails.padding/2})`},t("path",{id:s.id,class:"segment doughnut-segment",fill:s.amount?s.color:"transparent",d:S.call(this,s.amount,s.offset,i),onClick:t=>M.call(this,t,s),onFocus:t=>z.call(this,t,s),onKeyDown:t=>y.call(this,t),role:"img","aria-label":`${s.legend}, ${e}`,"data-segmentindex":s.index}))}function W(){return this.isTabbing?t("g",{transform:`translate(${this.chartDetails.padding/2}, ${this.chartDetails.padding/2})`},t("use",{tabindex:-1,id:"kfbg1",xlinkHref:`#${this.focusedSliceId}`}),t("use",{tabindex:-1,id:"kfstroke",xlinkHref:`#${this.focusedSliceId}`}),t("use",{tabindex:-1,id:"kfbg2",xlinkHref:`#${this.focusedSliceId}`})):""}function E(s){const i=v(s.offset+s.amount/2,this.total);let{x:e,y:n}=w(this.chartDetails.size/2,1.4,i-90);return t("text",{class:"value",x:e+"px",y:n+"px","data-segmentindex":s.index},`${s.perc>0?s.perc:"<1"}%`)}function G(s){const i="bar"===s,e=this.el.shadowRoot.querySelectorAll(".value");return e.length>0&&requestAnimationFrame((()=>{let t=[],s=!1;e.forEach((i=>{i.classList.remove("hidden");const e=parseInt(i.dataset.value);if(t.length>0&&0!=e){const n=i.getBoundingClientRect().left-4;t.forEach((t=>{const a=parseInt(t.dataset.value);t.getBoundingClientRect().right>n&&((e<a?i:t).classList.add("hidden"),s=!0)}))}!i.classList.contains("hidden")&&e>0&&t.push(i)})),(this.isBar||this.isDoughnut)&&this.showHiddenValuesMessage(s)})),t("div",{class:"chart-wrapper bar-wrapper"},i?t("div",{class:"single-perc"},m(this.slicesDetails[0].amount,this.total,!0)+"%"):"","bar3"===this.chartType&&this.drawAxis(),t("div",{class:`inner-stacked-bar-wrapper ${f(this.valueFormat)}`},i?"":t("div",{class:"values"},this.slicesDetails.map((t=>this.renderBarText(t,5)))),t("div",{class:"stacked-bar-segments-wrapper"},this.slicesDetails.map((t=>L.call(this,t,5)))),i?J.call(this):""))}function L(s,i){const e=m(s.amount,this.total,!1),n=this.el.shadowRoot.querySelector(".stacked-bar-segments-wrapper"),a=e/100*(n?n.offsetWidth:this.el.offsetWidth)>=i,r=a||0==s.amount?`${e}%`:`${i}px`;let o="";return"percentage"==this.valueFormat?o=`${m(s.amount,this.total,!0)} %`:"amount"==this.valueFormat&&(o=s.amount.toString()),t("div",{class:`segment stacked-bar-segment ${0===m(s.amount,this.total,!1)?"zero":""} ${a?"":"fixed-width"}`,style:{backgroundColor:s.color,width:r},onClick:t=>M.call(this,t,s),onFocus:t=>z.call(this,t,s),onKeyDown:t=>y.call(this,t),"data-segmentindex":s.index},t("span",{class:"sr-only"},`${s.legend} ${o}`))}function R(s){const e=this.slicesDetails.map((t=>t.amount)).reduce(((t,s)=>t>s?t:s)),n=parseInt(getComputedStyle(this.el).getPropertyValue("--labelWidth"),10);let a=(r=this.el.getBoundingClientRect().width-n-48,Math.round(r/function(t){return function(t){let s=80*(t-300)/600+70;return s<70?70:s>150?150:s}(t)}(r)));var r;let o=k(e,a);const h=Math.floor((a*o-e)/o);a-=h,this.el.style.setProperty("--backgroundSize",100/a+"%"),this.el.style.setProperty("--labelWidth",this.labelWidth),"bar7"!==s||this.showBarLegend||this.el.style.setProperty("--labelWidth","0px");const c=[];this.slicesDetails.forEach((i=>{i.legend&&c.push(function(s,i,e){return t("label",{class:`label${"bar7"!==e||i?"":" hidden"}`},s)}(i.legend,this.showBarLegend,s)),c.push(U.call(this,i,o,a,e))}));const d=[];for(let s=1;s<=a;s++){const e=b(i(s,o));d.push(t("div",{class:"tick"},t("span",null,e)))}const l="bar6"===s&&this.showGrid&&this.el.getBoundingClientRect().width>300;return t("div",{class:"chart-wrapper simple-bar-wrapper"},t("div",{class:`chart ${f(this.valueFormat)}`},l&&t("div",{class:"gridlines"}),t("div",{class:"rows"},c)),l&&t("div",{class:"x-axis","aria-hidden":"true"},t("div",{class:"zero"},t("span",null,"0")),d))}function U(s,i,e,n){const a=m(s.amount,"bar6"===this.currentChartType?i*e:n,!1),r=a?a+"%":"1px",o=b(s.amount);let h="amount"===this.valueFormat?o:"";return"bar6"===this.currentChartType&&"percentage"===this.valueFormat?h=s.amount+"%":"bar7"===this.currentChartType&&"percentage"===this.valueFormat&&(h=(0===this.total?"0":m(s.amount,this.total,!0))+"%"),t("div",{class:"bar segment",style:{backgroundColor:s.color,width:r},onClick:t=>M.call(this,t,s),onFocus:t=>z.call(this,t,s),onKeyDown:t=>y.call(this,t),"data-segmentindex":s.index},t("div",{class:"value"},h))}function V(s){if(this.showLegend){const i=this.slicesDetails.reduce(((t,s)=>!!s.inSmallCluster||t),!1);return this.isDoughnut&&this.showHiddenValuesMessage(i),t("div",{class:"legend-wrapper"},t("div",{class:`legend ${s} ${"bar"===this.mode?"--top":"--bottom"}`,"aria-hidden":"true"},this.slicesDetails.map((t=>{const s="amount"==this.printModeFormat?`${t.amount}/${this.total}`:`${m(t.amount,this.total,!0)}%`;if(t.amount||t.legend)return q.call(this,{key:t.legend,color:t.color},s,t)}))),this.isDoughnut&&!this.printMode&&P())}}function q(s,i="",e=null){const n=t=>{e&&(e.coords={x:t.clientX,y:t.clientY},A(this.popoverEl,e),K(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),e))};return t("div",{class:"legend-item",onClick:t=>n(t),"data-segmentindex":e?e.index:null},t("div",{class:"legend-color",style:{backgroundColor:s.color}}),t("div",{class:"legend-text"},s.key,i&&t("span",{class:"print-value "+(this.printMode?"force-visible":"")},": ",i)))}function J(){if(this.completionMessage)return t("div",{class:"completion-message"},this.completionMessage)}function P(){return t("div",{class:"hidden-values-warning hidden"},g,t("br",null),p)}export{u as a,R as b,G as c,H as d,T as e,V as f,I as g,C as h,P as i,j,m as k,J as l,q as m,b as n,k as o,N as r}
@@ -1 +1 @@
1
- import{r as e,c as r,h as t,g as i}from"./p-d9da0502.js";import{t as a,a as o}from"./p-88cfd58d.js";import{g as s}from"./p-f54e9ed0.js";const l=class{constructor(t){e(this,t),this.wmTextareaValueChanged=r(this,"wmTextareaValueChanged",7),this.previousValue="",this.label=void 0,this.labelPosition="top",this.value="",this.disabled=!1,this.info=void 0,this.placeholder="",this.requiredField=!1,this.errorMessage=void 0,this.characterLimit=void 0,this.inputWidth="",this.inputHeight="",this.announcement=""}get charCount(){return this.value.length}get isDisabled(){return a(this.disabled)}componentWillLoad(){this.el.focus=()=>{this.el.shadowRoot.querySelector("textarea").focus()},this.label||console.error("wm-textarea requires the label property"),this.el.textContent&&(this.value=this.el.textContent),o(this.el,this.isDisabled),this.previousValue=this.value}handleDisabledChange(){o(this.el,this.isDisabled)}announceError(){this.errorMessage&&setTimeout((()=>this.announce(this.errorMessage)),100)}handleInput(e){this.value=e.target.value,this.characterLimit&&this.charCount>=this.characterLimit-5&&this.announce(s.getCharactersEntered(this.charCount,this.characterLimit))}handleBlur(){this.value!==this.previousValue&&this.wmTextareaValueChanged.emit({value:this.value}),this.previousValue=this.value}announce(e){this.liveRegionEl.textContent===e&&(e+=" "),this.announcement=e}render(){return t("div",{key:"a5997b0d5dce20f77941690731ed6ba5cd1d9858",class:`wrapper label-${this.labelPosition} ${this.errorMessage?"invalid":""}`},t("div",{key:"aad504a8a1d66943b608d7b3bd835bca3c14cad1",class:"label-wrapper"},t("label",{key:"4e731d38bc61ff74c8fa8c02a4919c1086fc94d8",htmlFor:"inputfield",class:"label"},this.label,this.characterLimit&&t("span",{key:"4e57dca225b03c470452c4136e294a2ba2615cf9",class:"sr-only"}," ",s.getCharacterLimit(this.characterLimit)),this.requiredField&&t("span",{key:"f17ef4ee28a329a3655f4a29f736518465a7594d",class:"required","aria-hidden":"true"},"*"))),t("div",{key:"695981592b51ff1b27d80018024fa9605dbce6a4",class:"inner-wrapper"},t("div",{key:"0b0d2659db296f2f83902a7ea0c84b09496be4e3",class:"inputfield-wrapper "+(this.errorMessage?"invalid":""),style:this.inputWidth?{width:this.inputWidth}:{}},t("textarea",{key:"7a7eb761ee1da371a506741fb2a8808c8ad37018",id:"inputfield",disabled:this.isDisabled,"aria-describedby":"info error",onInput:e=>this.handleInput(e),onBlur:()=>this.handleBlur(),placeholder:this.placeholder,autocomplete:"off","aria-required":this.requiredField?"true":null,value:this.value,rows:3,style:{height:this.inputHeight}}),this.characterLimit&&"number"==typeof this.characterLimit?t("div",{class:"character-count "+(this.value.length>this.characterLimit?"exceeded":"")},this.charCount,"/",this.characterLimit):""),this.info&&t("div",{key:"501a8e2e33bc0ce87b02d6c094f20767247fb080",id:"info",class:"info"},this.info),t("div",{key:"5d6a559dc433c567fdcf0a2b21fa4d69bfbd2d25",id:"error",class:"error-message"},this.errorMessage),t("div",{key:"ee6a8851e53375394b185bf14a77f2c6cca79d2a",id:"live-polite",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:e=>this.liveRegionEl=e},this.announcement)))}get el(){return i(this)}static get watchers(){return{disabled:["handleDisabledChange"],errorMessage:["announceError"]}}};l.style=':host{--wmcolor-textarea-input-border:var(--wmcolor-input-border);--wmcolor-textarea-charcount-background:var(--wmcolor-input-charcount-background);--wmcolor-textarea-input-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-textarea-input-text-disabled:var(--wmcolor-input-text-disabled);font-family:inherit;display:block;max-width:100%;width:588px}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .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{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .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{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{color:var(--wmcolor-text-error)}:host .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{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper{width:100%;min-width:6.25rem}:host .wrapper .inputfield-wrapper{border:1px solid var(--wmcolor-textarea-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .wrapper .inputfield-wrapper:has(textarea:focus){outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wrapper .inputfield-wrapper.invalid{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper .character-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;height:1.875rem;background-color:var(--wmcolor-textarea-charcount-background);font-size:0.875rem;font-weight:500;padding:4px 16px}:host .wrapper .character-count.exceeded{color:var(--wmcolor-text-error);font-weight:600}:host .wrapper textarea{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;min-height:calc(1lh + 1rem);padding:0.5rem 1rem;width:100%;resize:vertical}:host .wrapper textarea:focus{outline:none}:host .wrapper textarea[disabled]{background-color:var(--wmcolor-textarea-input-background-disabled);color:var(--wmcolor-textarea-input-text-disabled)}:host .wrapper .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;line-height:100%}:host .wrapper .error-message:not(:empty){margin-top:0.25rem}:host .wrapper .info{font-style:italic;line-height:100%;margin-top:0.25rem}:host .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{l as wm_textarea}
1
+ import{r as e,c as r,h as t,g as i}from"./p-d9da0502.js";import{t as a,a as o}from"./p-8789b4c9.js";import{g as s}from"./p-28169294.js";const l=class{constructor(t){e(this,t),this.wmTextareaValueChanged=r(this,"wmTextareaValueChanged",7),this.previousValue="",this.label=void 0,this.labelPosition="top",this.value="",this.disabled=!1,this.info=void 0,this.placeholder="",this.requiredField=!1,this.errorMessage=void 0,this.characterLimit=void 0,this.inputWidth="",this.inputHeight="",this.announcement=""}get charCount(){return this.value.length}get isDisabled(){return a(this.disabled)}componentWillLoad(){this.el.focus=()=>{this.el.shadowRoot.querySelector("textarea").focus()},this.label||console.error("wm-textarea requires the label property"),this.el.textContent&&(this.value=this.el.textContent),o(this.el,this.isDisabled),this.previousValue=this.value}handleDisabledChange(){o(this.el,this.isDisabled)}announceError(){this.errorMessage&&setTimeout((()=>this.announce(this.errorMessage)),100)}handleInput(e){this.value=e.target.value,this.characterLimit&&this.charCount>=this.characterLimit-5&&this.announce(s.getCharactersEntered(this.charCount,this.characterLimit))}handleBlur(){this.value!==this.previousValue&&this.wmTextareaValueChanged.emit({value:this.value}),this.previousValue=this.value}announce(e){this.liveRegionEl.textContent===e&&(e+=" "),this.announcement=e}render(){return t("div",{key:"d93d32cbfa72c45f0fc5dfe899ea1bb4bcbbde77",class:`wrapper label-${this.labelPosition} ${this.errorMessage?"invalid":""}`},t("div",{key:"4996149d1994fc4064fae9e5c4027d24fe440bd9",class:"label-wrapper"},t("label",{key:"bdf3862839291e13fed599aeb9c2f378c1d35b27",htmlFor:"inputfield",class:"label"},this.label,this.characterLimit&&t("span",{key:"8acef0e58d223ae60fd31b9a99632650a85853bb",class:"sr-only"}," ",s.getCharacterLimit(this.characterLimit)),this.requiredField&&t("span",{key:"380533416667d1e3fc5d532408fa5dd6ad317ddb",class:"required","aria-hidden":"true"},"*"))),t("div",{key:"a7f7f6116acb1a10ad31e3ba7789ea9a3cb931ac",class:"inner-wrapper"},t("div",{key:"bd0e2a92cdc8407ef92270ed7240b4908ccac205",class:"inputfield-wrapper "+(this.errorMessage?"invalid":""),style:this.inputWidth?{width:this.inputWidth}:{}},t("textarea",{key:"f12160e7d4f0b43d33b5138f5d466274b259fce7",id:"inputfield",disabled:this.isDisabled,"aria-describedby":"info error",onInput:e=>this.handleInput(e),onBlur:()=>this.handleBlur(),placeholder:this.placeholder,autocomplete:"off","aria-required":this.requiredField?"true":null,value:this.value,rows:3,style:{height:this.inputHeight}}),this.characterLimit&&"number"==typeof this.characterLimit?t("div",{class:"character-count "+(this.value.length>this.characterLimit?"exceeded":"")},this.charCount,"/",this.characterLimit):""),this.info&&t("div",{key:"8aa68fb0f048082114251325a92fb40303c51e32",id:"info",class:"info"},this.info),t("div",{key:"76b6b2b91d210f34921884ea04d9f710bb024d6f",id:"error",class:"error-message"},this.errorMessage),t("div",{key:"f08b616acaffd0b2fa9465fa13f979b73681a36b",id:"live-polite",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:e=>this.liveRegionEl=e},this.announcement)))}get el(){return i(this)}static get watchers(){return{disabled:["handleDisabledChange"],errorMessage:["announceError"]}}};l.style=':host{--wmcolor-textarea-input-border:var(--wmcolor-input-border);--wmcolor-textarea-charcount-background:var(--wmcolor-input-charcount-background);--wmcolor-textarea-input-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-textarea-input-text-disabled:var(--wmcolor-input-text-disabled);font-family:inherit;display:block;max-width:100%;width:588px}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .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{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .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{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{color:var(--wmcolor-text-error)}:host .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{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper{width:100%;min-width:6.25rem}:host .wrapper .inputfield-wrapper{border:1px solid var(--wmcolor-textarea-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .wrapper .inputfield-wrapper:has(textarea:focus){outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wrapper .inputfield-wrapper.invalid{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper .character-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;height:1.875rem;background-color:var(--wmcolor-textarea-charcount-background);font-size:0.875rem;font-weight:500;padding:4px 16px}:host .wrapper .character-count.exceeded{color:var(--wmcolor-text-error);font-weight:600}:host .wrapper textarea{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;min-height:calc(1lh + 1rem);padding:0.5rem 1rem;width:100%;resize:vertical}:host .wrapper textarea:focus{outline:none}:host .wrapper textarea[disabled]{background-color:var(--wmcolor-textarea-input-background-disabled);color:var(--wmcolor-textarea-input-text-disabled)}:host .wrapper .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;line-height:100%}:host .wrapper .error-message:not(:empty){margin-top:0.25rem}:host .wrapper .info{font-style:italic;line-height:100%;margin-top:0.25rem}:host .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{l as wm_textarea}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,H as i,g as o}from"./p-d9da0502.js";import{t as r,i as a,a as n}from"./p-8789b4c9.js";import{g as l}from"./p-28169294.js";const h=class{constructor(e){t(this,e),this.wmSearchBrowseResults=s(this,"wmSearchBrowseResults",7),this.wmSearchValueChanged=s(this,"wmSearchValueChanged",7),this.linkEl=null,this.searchType="basic",this.disabled=!1,this.placeholder="",this.label="",this.numResults=0,this.value="",this.isTabbing=!1,this.highlightedId="",this.highlightedName=null,this.highlightedNum=0,this.previousBlurredValue="",this.parentModal=void 0,this.announcement=""}get isDisabled(){return r(this.disabled)}get resultCount(){let t="";const s=a.formatMessage({id:"search.resultsFound",defaultMessage:"{numResults, plural, =0 {No results} one {1 result} other {# results}} found"},{numResults:this.numResults}),e=a.formatMessage({id:"search.xOfYResults",defaultMessage:"{numResults, plural, =0 {No results found} other {{current} of {numResults} results}}"},{numResults:this.numResults,current:this.highlightedNum});return"basic"===this.searchType?t=s:"find"===this.searchType&&(t=e),t}toggleTabbingOn(){this.isTabbing=!0,this.linkEl&&this.linkEl.classList.remove("sr-only"),this.linkEl&&this.linkEl.classList.add("user-is-tabbing")}toggleTabbingOff(){this.isTabbing=!1,this.linkEl&&this.linkEl.classList.add("sr-only"),this.linkEl&&this.linkEl.classList.remove("user-is-tabbing")}componentWillLoad(){""===this.placeholder&&console.error("You must set the placeholder property for the wm-search component."),""===this.label&&console.error("You must set the label property for the wm-search component."),this.hookToModal(),n(this.el,this.isDisabled)}hookToModal(){let t=this.el;for(;t;)"WM-MODAL"===t.tagName&&(this.parentModal=t),t=t.parentElement;this.parentModal&&["wmModalCloseTriggered","wmModalPrimaryTriggered","wmModalSecondaryTriggered"].map((t=>{this.parentModal.addEventListener(t,(()=>{this.updateValue("")}))}))}async updateValue(t){this.value=t,this.resetHighlightCountToStart()}handleNumResultsUpdate(){this.resetHighlightCountToStart(),this.value&&this.announceChanges()}handleDisabledChange(){n(this.el,this.isDisabled)}resetHighlightCountToStart(){"find"===this.searchType&&(this.highlightedNum=this.numResults?1:0)}announce(t){this.resultsLiveRegion.textContent===t&&(t+=" "),this.announcement=t}announceChanges(){window.requestAnimationFrame((()=>{let t=this.resultCount;"find"===this.searchType&&this.highlightedName&&(t+=`, ${this.highlightedName}`),this.announce(t)}))}changeHighlightedNum(t){this.numResults&&(this.highlightedNum=t<1?this.numResults:t>this.numResults?1:t,this.wmSearchBrowseResults.emit({position:this.highlightedNum}),this.announceChanges())}handleBlur(){this.previousBlurredValue!==this.value&&this.wmSearchValueChanged.emit({value:this.value}),this.previousBlurredValue=this.value}renderResultsAndBrowseButtons(){return e("div",{class:"wm-find-elements"},e("div",{id:"results-display",class:"results"},!!this.value&&this.resultCount),e("div",{class:"wm-button-collection"},e("wm-button",{"button-type":"icononly",icon:"f05d",tooltip:l.previous,"tooltip-position":"bottom",onClick:()=>this.changeHighlightedNum(this.highlightedNum-1),disabled:this.isDisabled||this.numResults<2,"label-for-identical-buttons":a.formatMessage({id:"search.previousResult",defaultMessage:"Press to hear previous matching result"})}),e("wm-button",{"button-type":"icononly",icon:"f045",tooltip:l.next,"tooltip-position":"bottom",onClick:()=>this.changeHighlightedNum(this.highlightedNum+1),disabled:this.isDisabled||this.numResults<2,"label-for-identical-buttons":a.formatMessage({id:"search.nextResult",defaultMessage:"Press to hear next matching result"})})))}renderJumpToLink(){return this.numResults&&this.highlightedId?e("a",{ref:t=>this.linkEl=t,href:`#${this.highlightedId}`,class:"jump-results sr-only"},a.formatMessage({id:"search.jumpToResult",defaultMessage:"Jump to search result in list"})):null}render(){return e(i,{key:"6c16340c9ad9708a996658a3f051a14a3739c73e"},e("div",{key:"34f0c61a73aba3a8c96a3b439221a7bb2ff0f88d",id:"wm-search-wrapper",class:`wm-search-wrapper ${this.searchType}`},e("input",{key:"41c4c594f3703e03aa40b5a0e4063157b4220021",disabled:this.isDisabled,id:"wm-search-input",placeholder:this.placeholder,"aria-label":`${this.label?this.label+". ":""}${a.formatMessage({id:"search.typeToFilterResults",defaultMessage:"Type to filter the results"})}`,onInput:t=>this.updateValue(t.target.value),onBlur:()=>this.handleBlur(),"aria-autocomplete":"none",autocomplete:"off",value:this.value}),e("span",{key:"5b31af1659df781ceccad1790c7bd813041e0b24",class:"mdi search-icon"},String.fromCodePoint(parseInt("0xf349"))),"find"===this.searchType&&this.renderResultsAndBrowseButtons(),e("div",{key:"6204ce5f10b151ff86a8858573a9ebfb4e6469f4",id:"wm-search-live",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:t=>this.resultsLiveRegion=t},this.announcement)),"find"===this.searchType&&this.renderJumpToLink())}static get delegatesFocus(){return!0}get el(){return o(this)}static get watchers(){return{numResults:["handleNumResultsUpdate"],disabled:["handleDisabledChange"]}}};h.style=':host{--wmcolor-search-background:var(--wmcolor-input-background);--wmcolor-search-border:var(--wmcolor-input-border);--wmcolor-search-jump-text-focus:var(--wmcolor-interactive-focus);--wmcolor-search-jump-text:var(--wmcolor-button-text-textonly);width:100%;font-size:0.875rem}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wm-search-wrapper{border-radius:3px;position:relative;border:1px solid var(--wmcolor-search-border);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}:host .wm-search-wrapper .search-icon{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;font-size:1.12rem;position:absolute;left:0.4375rem}:host .wm-search-wrapper input{border:none;height:40px;padding:0 1.75rem;background:var(--wmcolor-search-background);overflow:visible;width:100%;-ms-flex:1;flex:1;font-family:inherit}:host .wm-search-wrapper:focus-within{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wm-search-wrapper:focus-within input{outline:none}:host .find{min-height:3rem}:host .find input{padding:16px 8px 16px 28px}:host .find .wm-find-elements{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-right:16px}:host .find .wm-find-elements wm-button+wm-button{margin-left:0.25rem}:host .find .wm-find-elements .results{margin-right:0.5rem;font-style:italic}:host .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}:host .jump-results{all:unset;color:var(--wmcolor-search-jump-text);text-decoration:none;font-weight:500;font-size:0.875rem;display:inline-block;margin:8px 0}:host .jump-results:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}';export{h as wm_search}
@@ -0,0 +1 @@
1
+ System.register(["./p-cef8a45b.system.js","./p-46f449d2.system.js","./p-98bf2ccb.system.js"],(function(e){"use strict";var t,o,r,i,n,s,a,l,c,p,d,h,f;return{setters:[function(e){t=e.r;o=e.c;r=e.h;i=e.H;n=e.g;s=e.f},function(e){a=e.i;l=e.t;c=e.z;p=e.a;d=e.k;h=e.y},function(e){f=e.g}],execute:function(){var b=':host(:not(:last-child)){border-bottom:2px solid;border-color:var(--wmcolor-select-option-border)}:host{display:block;cursor:pointer;position:relative;padding:1.25rem;background:var(--wmcolor-select-option-background);font-family:inherit;list-style:none;color:var(--wmcolor-select-option-text);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host:focus,:host.focus{outline:none;background:var(--wmcolor-select-option-background-focus)}:host.icon{color:var(--wmcolor-interactive)}:host .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}.checkbox: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:"\\f131";display:inline-block;margin-right:0.25rem;color:var(--wmcolor-interactive)}:host([aria-selected=true]){background:var(--wmcolor-select-option-background-selected);font-weight:500}:host([aria-selected=true]) .checkbox:before{content:"\\f132"}:host([aria-disabled=true]){color:var(--wmcolor-select-option-text-disabled);background:var(--wmcolor-select-option-background-disabled);cursor:default}:host([aria-disabled=true]) .checkbox:before{color:var(--wmcolor-select-option-text-disabled)}:host([aria-disabled=true]) .subinfo{color:var(--wmcolor-select-option-text-disabled)}:host(.multi-option){background:unset}:host(.clone.last){border-bottom:12px solid;border-color:var(--wmcolor-select-option-border)}:host(.hassubinfo){display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;gap:16px}:host(.hidden),:host(.filtered-out){display:none}.subinfo{font-style:italic}.option-wrapper{display:-ms-flexbox;display:flex}.option-text{display:inline-block}::slotted{font-family:inherit}::slotted(i){font-size:0.875rem}::slotted(i):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;display:inline-block;margin-right:0.625rem;pointer-events:none}:host(:focus){outline:none;background:var(--wmcolor-select-option-background-hover)}:host(:hover){background:var(--wmcolor-select-option-background-hover);outline:none}';var u=b;var m=e("wm_option",function(){function e(e){t(this,e);this.wmOptionSelected=o(this,"wmOptionSelected",7);this.wmOptionDeselected=o(this,"wmOptionDeselected",7);this.intCloneClicked=o(this,"intCloneClicked",7);this.wmKeyUpPressed=o(this,"wmKeyUpPressed",7);this.wmKeyDownPressed=o(this,"wmKeyDownPressed",7);this.wmKeyLeftPressed=o(this,"wmKeyLeftPressed",7);this.wmEscKeyPressed=o(this,"wmEscKeyPressed",7);this.wmHomeKeyPressed=o(this,"wmHomeKeyPressed",7);this.wmEndKeyPressed=o(this,"wmEndKeyPressed",7);this.wmEnterKeyPressed=o(this,"wmEnterKeyPressed",7);this.wmLetterPressed=o(this,"wmLetterPressed",7);this.wmOptionBlurred=o(this,"wmOptionBlurred",7);this.value=undefined;this.subinfo=undefined;this.disabled=false;this.selected=false;this.focused=false;this.searchTerm=""}Object.defineProperty(e.prototype,"hostClasses",{get:function(){var e=[];if(this.subinfo){e.push("hassubinfo")}if(this.parentOptionList.multiple){e.push("multi-option")}if(!this.el.textContent.toLowerCase().includes(this.searchTerm)){e.push("filtered-out")}return e.join(" ")},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"parentOptionList",{get:function(){if(this.el.classList.contains("clone")){return this.el.closest("priv-option-list")}else{return this.el.assignedSlot.closest("priv-option-list")}},enumerable:false,configurable:true});e.prototype.handleKeydown=function(e){switch(e.key){case"ArrowUp":e.preventDefault();this.wmKeyUpPressed.emit(this.el);break;case"ArrowDown":e.preventDefault();this.wmKeyDownPressed.emit(this.el);break;case"Enter":e.preventDefault();if(!this.disabled){this.el.click();this.wmEnterKeyPressed.emit(this.el)}break;case"Escape":e.preventDefault();e.stopPropagation();this.wmEscKeyPressed.emit();break;case"Home":e.preventDefault();this.wmHomeKeyPressed.emit();break;case"End":e.preventDefault();this.wmEndKeyPressed.emit();break;case"ArrowLeft":e.preventDefault();this.wmKeyLeftPressed.emit(this.el);break;default:if(e.key.length===1){e.preventDefault();this.wmLetterPressed.emit({letter:e.key,optionEl:this.el})}}};e.prototype.handleSelection=function(){if(!this.disabled){if(this.el.classList.contains("clone")){this.intCloneClicked.emit(this.el)}else{if(this.parentOptionList.multiple){this.selected?this.wmOptionDeselected.emit(this.el):this.wmOptionSelected.emit(this.el)}else{this.wmOptionSelected.emit(this.el)}}}};e.prototype.handleBlur=function(e){this.wmOptionBlurred.emit({relatedTarget:e.relatedTarget})};e.prototype.syncAriaSelected=function(){this.selected?this.el.setAttribute("aria-selected","true"):this.el.setAttribute("aria-selected","false")};e.prototype.syncAriaDisabled=function(){this.disabled?this.el.setAttribute("aria-disabled","true"):this.el.removeAttribute("aria-disabled")};e.prototype.updateDisabledOnClick=function(){if(this.disabled&&this.el.onclick){this.onClickFunc=this.el.onclick;this.el.onclick=null}else if(!this.disabled&&this.onClickFunc){this.el.onclick=this.onClickFunc}};e.prototype.handleSearch=function(e){this.searchTerm=e.detail.searchTerm.toLowerCase();if(this.searchTerm&&this.el.textContent.toLowerCase().includes(this.searchTerm)){var t=this.el.textContent.toLowerCase().indexOf(this.searchTerm);var o=this.el.textContent.slice(0,t);var r=this.el.textContent.slice(t,t+this.searchTerm.length);var i=this.el.textContent.slice(t+this.searchTerm.length);var n=document.createElement("span");n.textContent=o;var s=document.createElement("strong");s.textContent=r;var a=document.createElement("span");a.textContent=i;this.textEl.innerHTML="";this.textEl.appendChild(n);this.textEl.appendChild(s);this.textEl.appendChild(a)}else{this.textEl.textContent=this.el.textContent}};e.prototype.componentWillLoad=function(){var e=this;this.syncAriaSelected();this.syncAriaDisabled();this.updateDisabledOnClick();this.parentOptionList.addEventListener("optionListSearchChanged",(function(t){return e.handleSearch(t)}))};e.prototype.render=function(){var e=this;return r(i,{key:"94c3cd2783b9675927ad05aa6c4c1f387f95ef18",role:"option",tabindex:this.focused?0:-1,class:this.hostClasses},r("div",{key:"d3be5bbb8f5bf1f4e7f87bc5e735f78ce197fc62",class:"option-wrapper ".concat(this.parentOptionList.multiple?"checkbox":"")},r("span",{key:"871aa9bd93c515c765cd80713098ada62c48ee73",class:"option-text","aria-hidden":"true",ref:function(t){return e.textEl=t}},this.el.textContent),r("span",{key:"bdb7e37c1febf0b7dd0919f5a8991b6bdd6ad050",class:"sr-only"},this.el.textContent)),r("div",{key:"2fdcbca45d8e3540a24ba7f45d895bae07ee0c18",class:"subinfo"},this.subinfo))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["syncAriaSelected"],disabled:["syncAriaDisabled","updateDisabledOnClick"]}},enumerable:false,configurable:true});return e}());m.style=u;var w=':host{--wmcolor-select-background:var(--wmcolor-background);--wmcolor-select-border:var(--wmcolor-input-border);--wmcolor-select-option-background-disabled:var(--wmcolor-option-background-disabled);--wmcolor-select-option-background-focus:var(--wmcolor-option-background-focus);--wmcolor-select-option-background-hover:var(--wmcolor-option-background-hover);--wmcolor-select-option-background-selected:var(--wmcolor-option-background-selected);--wmcolor-select-option-background:var(--wmcolor-option-background);--wmcolor-select-option-border:var(--wmcolor-option-border);--wmcolor-select-option-text-disabled:var(--wmcolor-option-text-disabled);--wmcolor-select-option-text:var(--wmcolor-option-text);--wmcolor-select-search-border:var(--wmcolor-input-border);--wmcolor-select-search-icon:var(--wmcolor-icon-accent);--wmcolor-select-searchresults-text:var(--wmcolor-text);--wmcolor-select-selectall-background:var(--wmcolor-select-option-background);--wmcolor-select-selectall-border:var(--wmcolor-select-option-border);--wmcolor-select-selectall-text:var(--wmcolor-interactive);--wmcolor-select-text:var(--wmcolor-interactive);position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit}:host .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}.wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}.wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}.wrapper .label .required{color:var(--wmcolor-text-required)}.wrapper.label-left{-ms-flex-direction:row;flex-direction:row}.wrapper.label-left .label-wrapper{line-height:2.5rem}.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}.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}.wrapper.invalid .label{color:var(--wmcolor-text-error)}.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] .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}.wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}.wrapper .button-wrapper{position:relative;-ms-flex:1;flex:1;font-size:1.125rem;color:var(--wmcolor-select-text);min-width:8.75rem}.wrapper .button-wrapper .displayedoption{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background:var(--wmcolor-select-background);width:100%;border:solid 1px;border-color:var(--wmcolor-select-border);padding:0 1.875rem 0 0.9375rem;cursor:pointer;height:2.5rem;line-height:normal;font-family:inherit;color:var(--wmcolor-select-text);font-weight:400;font-size:0.875rem;text-transform:none;text-align:left}@media only screen and (max-width: 768px){.wrapper .button-wrapper .displayedoption{height:2.75rem}}.wrapper .button-wrapper .displayedoption: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:"\\f140";position:absolute;right:0.5625rem;pointer-events:none;font-size:1.12rem}.wrapper .button-wrapper .displayedoption:hover:not(:disabled):not(.-disabled):not(.-raised){background:var(--wmcolor-select-background);text-decoration:none}.wrapper .button-wrapper .displayedoption:active{-ms-transform:scale(1, 1) !important;-webkit-transform:scale(1, 1) !important;transform:scale(1, 1) !important}.wrapper .button-wrapper .displayedoption:focus{outline:none}.wrapper .button-wrapper .displayedoption::-moz-focus-inner{border:0}.wrapper .button-wrapper .displayedoption:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}.wrapper .button-wrapper .displayedoption .overflowcontrol{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-ms-flex:1;flex:1}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo{display:-ms-flexbox;display:flex}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .button-text{-ms-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;min-width:0}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .subinfo{-ms-flex:none;flex:none;font-style:italic}.wrapper .button-wrapper .displayedoption .overflow-counter{font-weight:bold;margin-left:0.5rem}.wrapper .button-wrapper>.displayedoption[disabled]{color:#6b6b6b;border-color:#8a8a8a;background:#f0f0f0;cursor:default}.wrapper .button-wrapper>.dropdown{-webkit-overflow-scrolling:touch;-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:0;right:0;background:var(--wmcolor-select-option-background);z-index:100;width:100%;font-size:0.875rem}.wrapper .button-wrapper>.dropdown.upwards{top:unset;bottom:calc(100% - 2.5rem);-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}.wrapper .button-wrapper>.dropdown.hidden{visibility:hidden}.wrapper .button-wrapper>.dropdown.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1)}.wrapper.invalid .button-wrapper .displayedoption{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}.wrapper .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;margin-bottom:0.25rem;top:100%;left:0}.wrapper .error-message:not(:empty){margin-top:0.25rem}.options-wrapper{max-height:12.5rem;overflow:auto}.rtl>.dropdown{-ms-transform-origin:left top;-webkit-transform-origin:left top;-moz-transform-origin:left top;transform-origin:left top;left:0;right:auto}.rtl>.dropdown .option{padding-left:3rem;padding-right:1.25rem}.rtl>.displayedoption{padding:0 0.9375rem 0 1.875rem;text-align:right}.rtl>.displayedoption:before{right:auto;left:0.5625rem}';var g=w;var v=e("wm_select",function(){function e(e){t(this,e);this.wmSelectDidLoad=o(this,"wmSelectDidLoad",7);this.wmSelectBlurred=o(this,"wmSelectBlurred",7);this.wmSelectAllSelected=o(this,"wmSelectAllSelected",7);this.wmSelectAllDeselected=o(this,"wmSelectAllDeselected",7);this.openUp=false;this.overflowCount=0;this.displayedOptions=[];this.disabled=false;this.maxHeight=undefined;this.label=undefined;this.labelPosition="top";this.requiredField=false;this.errorMessage=undefined;this.multiple=false;this.search=false;this.selectAll=false;this.placeholder=a.formatMessage({id:"select.multiPlaceholder",defaultMessage:"Make a selection",description:"Placeholder text. Use imperative"});this.searchPlaceholder=a.formatMessage({id:"select.searchPlaceholder",defaultMessage:"Search",description:"Placeholder text. Use imperative"});this.allSelectedMessage=a.formatMessage({id:"select.allSelected",defaultMessage:"All selected",description:"Text displayed when all options are selected"});this.isExpanded=false;this.announcement=""}Object.defineProperty(e.prototype,"childOptions",{get:function(){return Array.from(this.el.querySelectorAll("wm-option"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isDisabled",{get:function(){return l(this.disabled)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"selectedOptions",{get:function(){return Array.from(this.el.querySelectorAll("wm-option")).filter((function(e){return e.selected}))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"allSelected",{get:function(){return this.childOptions.every((function(e){return e.selected}))},enumerable:false,configurable:true});e.prototype.handleOptionSelection=function(){if(!this.multiple){this.close()}};e.prototype.handleChildEnter=function(){this.close()};e.prototype.closePopupOnEscape=function(){this.close()};e.prototype.handleOptionBlur=function(e){if(!c(this.el,e.detail.relatedTarget)){var t=new CustomEvent("blur");t.relatedTarget=e.detail.relatedTarget;this.el.dispatchEvent(t)}};e.prototype.handleClick=function(e){if(!c(this.el,e.target)){this.close()}};e.prototype.handleButtonBlur=function(e){if(c(this.el,e.relatedTarget)){e.stopPropagation()}};e.prototype.handleKey=function(e){switch(e.key){case"ArrowDown":if(this.isExpanded===false){e.preventDefault();this.open("next")}break;case"ArrowUp":if(this.isExpanded===false){e.preventDefault();this.open("previous")}break}};e.prototype.componentWillLoad=function(){var e=this;if(!this.label){console.error("For accessibility purposes, this component requires a label (even if `label-position` is set to `none`).")}if(!this.multiple&&this.selectedOptions.length===0){console.error("wm-select should have one initial option selected")}p(this.el,this.isDisabled);var t=new MutationObserver((function(t){return t.forEach((function(t){return e.handleChildChange(t)}))}));t.observe(this.el,{childList:true,attributes:true,subtree:true,attributeFilter:["selected"]})};e.prototype.handleChildChange=function(e){this.setButtonText();s(this.el);this.optionListEl.handleChildChange(e)};e.prototype.componentDidLoad=function(){this.wmSelectDidLoad.emit();this.dropdownEl.classList.add("hidden");s(this.el);if(this.maxHeight){this.dropdownEl.style.maxHeight=this.maxHeight}this.setButtonText()};e.prototype.open=function(e){var t=this;if(!this.isDisabled){var o=this.el.clientHeight;var r=this.buttonEl.clientHeight;this.openUp=d(this.el,this.dropdownEl.clientHeight,o,r);this.isExpanded=true;this.dropdownEl.classList.remove("hidden");window.requestAnimationFrame((function(){t.optionListEl.handleInitialFocus(e)}))}};e.prototype.close=function(e){var t=this;if(e===void 0){e=true}if(this.isExpanded){this.isExpanded=false;this.optionListEl.unfocusAll();window.setTimeout((function(){t.dropdownEl.classList.add("hidden");if(t.optionListEl.multiple){t.optionListEl.updateOptionVisibility()}if(t.search){t.optionListEl.clearSearch()}if(e){t.buttonEl.focus()}}),150)}};e.prototype.announceError=function(){var e=this;if(this.errorMessage){setTimeout((function(){return e.announce(e.errorMessage)}),100)}};e.prototype.handleDisabledChange=function(){p(this.el,this.isDisabled)};e.prototype.handleComponentBlur=function(e){if(!this.el.contains(e.relatedTarget)){this.close(false);this.wmSelectBlurred.emit()}};e.prototype.setButtonText=function(){this.displayedOptions=this.childOptions.filter((function(e){return e.selected}));if(this.multiple){var e=38;var t=window.getComputedStyle(this.buttonEl);var o=parseInt(t.getPropertyValue("padding-left").slice(0,-2));var r=parseInt(t.getPropertyValue("padding-right").slice(0,-2));var i=this.buttonEl.clientWidth-o-r-e;var n=this.displayedOptions.map((function(e){return e.shadowRoot.querySelector(".option-text").clientWidth}));var s=n.reduce((function(e,t){return e+t}),0);this.overflowCount=0;while(s>i&&this.displayedOptions.length>1){this.overflowCount++;s-=n[n.length-1];n.pop();this.displayedOptions.pop()}}};e.prototype.announce=function(e){if(this.liveRegionEl.textContent===e){e+=" "}this.announcement=e};e.prototype.renderButtonText=function(){if(this.multiple&&this.displayedOptions.length<1){return r("span",null,this.placeholder)}else if(this.multiple&&this.allSelected&&this.overflowCount>0){return this.allSelectedMessage}else{return this.displayedOptions.map((function(e,t){return r("span",null,t>0?", ":"",e.textContent)}))}};e.prototype.renderOverflowCount=function(){if(this.overflowCount>0&&!this.allSelected){return r("span",null,r("span",{class:"overflow-counter"},"+",this.overflowCount))}};e.prototype.render=function(){var e;var t=this;var o=!this.multiple&&this.selectedOptions.length>0&&this.selectedOptions[0].subinfo;var n=(e={id:"selectbtn"},e["disabled"]=this.isDisabled,e["aria-controls"]="list",e["aria-labelledby"]="label selectbtn",e["aria-describedby"]="error",e["aria-expanded"]=this.isExpanded?"true":"false",e.onClick=function(){return t.isExpanded?t.close():t.open()},e);return r(i,{key:"6727670440a80bf148be78994a4267330cf31041",onBlur:function(e){return t.handleComponentBlur(e)}},r("div",{key:"89e88dc3eebb8bb4f05e7c97f4af145ea3b54833",class:"wrapper ".concat(h()," label-").concat(this.labelPosition," ").concat(this.errorMessage?"invalid":"")},r("div",{key:"4787f0142908caca775c018f77ad46bdd6a67f3f",class:"label-wrapper"},r("label",{key:"cd87e40ecf3ea2b5f992e58fedd355ffdc9f874e",class:"label",id:"label",htmlFor:"selectbtn"},this.label,this.requiredField?r("span",{class:"required"},r("span",{class:"sr-only"},f.requiredField),r("span",{"aria-hidden":"true"},"*")):"")),r("div",{key:"df831930e77365c19757b84c0763a25cba2f84de",class:"button-wrapper"},r("button",Object.assign({key:"aa97c1799c33eddc280daa3ca15cb081e50fa6fb"},n,{class:"displayedoption",ref:function(e){return t.buttonEl=e},onBlur:function(e){return t.handleButtonBlur(e)},onFocus:function(){return t.close()}}),r("span",{key:"d65f25aa5c016de5274f97dd74e21de8a2fd186e",class:"overflowcontrol ".concat(o?"hassubinfo":"")},r("span",{key:"357bbce813cc3fb53e7aadfd77e74876702bca79",class:"button-text"},this.renderButtonText()),o&&r("span",{key:"56c9af814adffc763ae57d9372df278ec3b39514",class:"subinfo"},this.selectedOptions[0].subinfo)),this.renderOverflowCount()),r("div",{key:"74851e76320c572355e331322ee7b6e0a597168e",class:"dropdown ".concat(this.isExpanded?"open":""," ").concat(this.openUp?"upwards":""),ref:function(e){return t.dropdownEl=e}},r("priv-option-list",{key:"1a8867c17c997f93c392b2e434062c5e26e1e36a",ref:function(e){return t.optionListEl=e},multiple:this.multiple,search:this.search,selectAll:this.selectAll,searchPlaceholder:this.searchPlaceholder,onOptionListCloseRequested:function(){return t.close()},onOptionListAllSelected:function(){return t.wmSelectAllSelected.emit()},onOptionListAllDeselected:function(){return t.wmSelectAllDeselected.emit()}},r("slot",{key:"7b7ff193b01aac95bf3d2a8412633bf8331a398d"}))),r("div",{key:"f7bb2724484488a25c3ca85a6634f1ea4ec00ba9",id:"error",class:this.errorMessage?"error-message":""},this.errorMessage),r("div",{key:"6170e8ac8a2c63e842cc35057b2da31ec6206f4e",id:"announcement","aria-live":"polite","aria-atomic":"true",class:"sr-only",ref:function(e){return t.liveRegionEl=e}},this.announcement))))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{errorMessage:["announceError"],disabled:["handleDisabledChange"]}},enumerable:false,configurable:true});return e}());v.style=g}}}));