wcs-core 2.5.3 → 2.8.0

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 (295) hide show
  1. package/CHANGELOG.md +104 -5
  2. package/README.md +17 -1
  3. package/dist/cjs/component-fc28ed16.js +1074 -0
  4. package/dist/cjs/helpers-6abce594.js +86 -0
  5. package/dist/cjs/{index-e05c3e1f.js → index-3cb9d725.js} +165 -87
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/{esm/wcs-action-bar_47.entry.js → cjs/lodash-776d6f03.js} +12499 -22628
  8. package/dist/cjs/popper-5777994b.js +1732 -0
  9. package/dist/cjs/select-arrow-76ccf86d.js +36 -0
  10. package/dist/cjs/wcs-action-bar.cjs.entry.js +24 -0
  11. package/dist/cjs/wcs-app.cjs.entry.js +2 -2
  12. package/dist/cjs/wcs-badge.cjs.entry.js +27 -0
  13. package/dist/cjs/wcs-button.cjs.entry.js +86 -0
  14. package/dist/cjs/wcs-card-body.cjs.entry.js +19 -0
  15. package/dist/cjs/wcs-card.cjs.entry.js +20 -0
  16. package/dist/cjs/wcs-checkbox.cjs.entry.js +47 -0
  17. package/dist/cjs/wcs-com-nav-category.cjs.entry.js +63 -0
  18. package/dist/cjs/wcs-com-nav-submenu.cjs.entry.js +69 -0
  19. package/dist/cjs/wcs-com-nav.cjs.entry.js +19 -0
  20. package/dist/cjs/wcs-divider.cjs.entry.js +19 -0
  21. package/dist/cjs/wcs-dropdown-divider.cjs.entry.js +19 -0
  22. package/dist/cjs/wcs-dropdown-header.cjs.entry.js +19 -0
  23. package/dist/cjs/wcs-dropdown-item.cjs.entry.js +23 -0
  24. package/dist/cjs/wcs-dropdown.cjs.entry.js +90 -0
  25. package/dist/cjs/wcs-editable-field.cjs.entry.js +225 -0
  26. package/dist/cjs/wcs-error_2.cjs.entry.js +137 -0
  27. package/dist/cjs/wcs-field-content.cjs.entry.js +16 -0
  28. package/dist/cjs/wcs-field-label.cjs.entry.js +16 -0
  29. package/dist/cjs/wcs-field.cjs.entry.js +19 -0
  30. package/dist/cjs/wcs-footer.cjs.entry.js +19 -0
  31. package/dist/cjs/wcs-galactic-menu.cjs.entry.js +58 -0
  32. package/dist/cjs/wcs-galactic.cjs.entry.js +41 -0
  33. package/dist/cjs/wcs-grid-column.cjs.entry.js +77 -0
  34. package/dist/cjs/wcs-grid-custom-cell.cjs.entry.js +16 -0
  35. package/dist/cjs/wcs-grid-pagination.cjs.entry.js +4 -4
  36. package/dist/cjs/wcs-grid.cjs.entry.js +332 -0
  37. package/dist/cjs/wcs-header.cjs.entry.js +25 -0
  38. package/dist/cjs/wcs-hint.cjs.entry.js +20 -0
  39. package/dist/cjs/wcs-horizontal-stepper.cjs.entry.js +114 -0
  40. package/dist/cjs/wcs-icon.cjs.entry.js +2 -2
  41. package/dist/cjs/wcs-input.cjs.entry.js +228 -0
  42. package/dist/cjs/wcs-label.cjs.entry.js +20 -0
  43. package/dist/cjs/wcs-list-item-properties.cjs.entry.js +19 -0
  44. package/dist/cjs/wcs-list-item-property.cjs.entry.js +19 -0
  45. package/dist/cjs/wcs-list-item.cjs.entry.js +23 -0
  46. package/dist/cjs/wcs-mat-icon.cjs.entry.js +73 -0
  47. package/dist/cjs/wcs-modal.cjs.entry.js +45 -0
  48. package/dist/cjs/wcs-nav-item.cjs.entry.js +23 -0
  49. package/dist/cjs/wcs-nav.cjs.entry.js +19 -0
  50. package/dist/cjs/wcs-progress-bar.cjs.entry.js +47 -0
  51. package/dist/cjs/wcs-progress-radial.cjs.entry.js +30 -0
  52. package/dist/cjs/wcs-radio-group.cjs.entry.js +65 -0
  53. package/dist/cjs/wcs-radio.cjs.entry.js +49 -0
  54. package/dist/cjs/wcs-select_2.cjs.entry.js +4916 -0
  55. package/dist/cjs/wcs-spinner.cjs.entry.js +21 -0
  56. package/dist/cjs/wcs-switch.cjs.entry.js +42 -0
  57. package/dist/cjs/wcs-tab.cjs.entry.js +20 -0
  58. package/dist/cjs/wcs-tabs.cjs.entry.js +159 -0
  59. package/dist/cjs/wcs-textarea.cjs.entry.js +224 -0
  60. package/dist/cjs/wcs-tooltip.cjs.entry.js +1635 -0
  61. package/dist/cjs/wcs.cjs.js +3 -3
  62. package/dist/collection/collection-manifest.json +5 -2
  63. package/dist/collection/components/badge/badge-interface.js +1 -0
  64. package/dist/collection/components/badge/badge.js +14 -4
  65. package/dist/collection/components/button/button.css +79 -75
  66. package/dist/collection/components/button/button.js +23 -11
  67. package/dist/collection/components/card/card-interface.js +1 -0
  68. package/dist/collection/components/card/card.js +7 -2
  69. package/dist/collection/components/checkbox/checkbox.css +18 -7
  70. package/dist/collection/components/checkbox/checkbox.js +24 -2
  71. package/dist/collection/components/com-nav/com-nav.css +1 -2
  72. package/dist/collection/components/com-nav-category/com-nav-category.css +5 -6
  73. package/dist/collection/components/com-nav-category/com-nav-category.js +31 -1
  74. package/dist/collection/components/com-nav-submenu/com-nav-submenu.css +1 -2
  75. package/dist/collection/components/com-nav-submenu/com-nav-submenu.js +21 -1
  76. package/dist/collection/components/dropdown/dropdown-interface.js +1 -0
  77. package/dist/collection/components/dropdown/dropdown.css +46 -38
  78. package/dist/collection/components/dropdown/dropdown.js +90 -29
  79. package/dist/collection/components/dropdown-divider/dropdown-divider.css +7 -0
  80. package/dist/collection/components/dropdown-divider/dropdown-divider.js +14 -0
  81. package/dist/collection/components/dropdown-header/dropdown-header.css +8 -0
  82. package/dist/collection/components/dropdown-header/dropdown-header.js +15 -0
  83. package/dist/collection/components/editable-field/editable-field.js +7 -2
  84. package/dist/collection/components/footer/footer.css +1 -1
  85. package/dist/collection/components/form-field/form-field.css +1 -2
  86. package/dist/collection/components/form-field/form-field.js +0 -17
  87. package/dist/collection/components/grid/grid.js +75 -13
  88. package/dist/collection/components/grid-column/grid-column.css +5 -0
  89. package/dist/collection/components/grid-column/grid-column.js +69 -3
  90. package/dist/collection/components/grid-custom-cell/grid-custom-cell.js +45 -0
  91. package/dist/collection/components/grid-pagination/grid-pagination.js +4 -4
  92. package/dist/collection/components/header/header.css +1 -1
  93. package/dist/collection/components/horizontal-stepper/horizontal-stepper.js +7 -2
  94. package/dist/collection/components/input/input.css +48 -0
  95. package/dist/collection/components/input/input.js +40 -4
  96. package/dist/collection/components/mat-icon/mat-icon.css +1 -1
  97. package/dist/collection/components/mat-icon/mat-icon.js +7 -2
  98. package/dist/collection/components/modal/modal.css +8 -5
  99. package/dist/collection/components/modal/modal.js +5 -5
  100. package/dist/collection/components/nav-item/nav-item.js +1 -1
  101. package/dist/collection/components/progress-bar/progress-bar.js +4 -4
  102. package/dist/collection/components/radio/radio.component.js +9 -4
  103. package/dist/collection/components/radio/radio.css +43 -18
  104. package/dist/collection/components/radio-group/radio-group.css +4 -0
  105. package/dist/collection/components/radio-group/radio-group.js +10 -5
  106. package/dist/collection/components/select/select.css +81 -77
  107. package/dist/collection/components/select/select.js +2 -2
  108. package/dist/collection/components/select-option/select-option.css +79 -75
  109. package/dist/collection/components/select-option/select-option.js +6 -7
  110. package/dist/collection/components/spinner/spinner-interface.js +1 -0
  111. package/dist/collection/components/spinner/spinner.js +8 -3
  112. package/dist/collection/components/switch/switch.css +53 -16
  113. package/dist/collection/components/switch/switch.js +55 -6
  114. package/dist/collection/components/tab/tab.js +5 -5
  115. package/dist/collection/components/tabs/tabs.js +2 -2
  116. package/dist/collection/components/textarea/textarea.css +4 -0
  117. package/dist/collection/components/textarea/textarea.js +2 -2
  118. package/dist/collection/components/tooltip/tooltip.css +3 -0
  119. package/dist/collection/components/tooltip/tooltip.js +310 -92
  120. package/dist/collection/utils/helpers.js +4 -0
  121. package/dist/esm/component-6b4d470f.js +1072 -0
  122. package/dist/esm/helpers-e2993152.js +77 -0
  123. package/dist/esm/{index-c619b1fa.js → index-b982604a.js} +165 -88
  124. package/dist/esm/loader.js +3 -3
  125. package/dist/{cjs/wcs-action-bar_47.cjs.entry.js → esm/lodash-d6d9d079.js} +12610 -22791
  126. package/dist/esm/popper-5f42e560.js +1729 -0
  127. package/dist/esm/select-arrow-73ac4016.js +34 -0
  128. package/dist/esm/wcs-action-bar.entry.js +20 -0
  129. package/dist/esm/wcs-app.entry.js +2 -2
  130. package/dist/esm/wcs-badge.entry.js +23 -0
  131. package/dist/esm/wcs-button.entry.js +82 -0
  132. package/dist/esm/wcs-card-body.entry.js +15 -0
  133. package/dist/esm/wcs-card.entry.js +16 -0
  134. package/dist/esm/wcs-checkbox.entry.js +43 -0
  135. package/dist/esm/wcs-com-nav-category.entry.js +59 -0
  136. package/dist/esm/wcs-com-nav-submenu.entry.js +65 -0
  137. package/dist/esm/wcs-com-nav.entry.js +15 -0
  138. package/dist/esm/wcs-divider.entry.js +15 -0
  139. package/dist/esm/wcs-dropdown-divider.entry.js +15 -0
  140. package/dist/esm/wcs-dropdown-header.entry.js +15 -0
  141. package/dist/esm/wcs-dropdown-item.entry.js +19 -0
  142. package/dist/esm/wcs-dropdown.entry.js +86 -0
  143. package/dist/esm/wcs-editable-field.entry.js +221 -0
  144. package/dist/esm/wcs-error_2.entry.js +132 -0
  145. package/dist/esm/wcs-field-content.entry.js +12 -0
  146. package/dist/esm/wcs-field-label.entry.js +12 -0
  147. package/dist/esm/wcs-field.entry.js +15 -0
  148. package/dist/esm/wcs-footer.entry.js +15 -0
  149. package/dist/esm/wcs-galactic-menu.entry.js +54 -0
  150. package/dist/esm/wcs-galactic.entry.js +37 -0
  151. package/dist/esm/wcs-grid-column.entry.js +73 -0
  152. package/dist/esm/wcs-grid-custom-cell.entry.js +12 -0
  153. package/dist/esm/wcs-grid-pagination.entry.js +4 -4
  154. package/dist/esm/wcs-grid.entry.js +328 -0
  155. package/dist/esm/wcs-header.entry.js +21 -0
  156. package/dist/esm/wcs-hint.entry.js +16 -0
  157. package/dist/esm/wcs-horizontal-stepper.entry.js +110 -0
  158. package/dist/esm/wcs-icon.entry.js +2 -2
  159. package/dist/esm/wcs-input.entry.js +224 -0
  160. package/dist/esm/wcs-label.entry.js +16 -0
  161. package/dist/esm/wcs-list-item-properties.entry.js +15 -0
  162. package/dist/esm/wcs-list-item-property.entry.js +15 -0
  163. package/dist/esm/wcs-list-item.entry.js +19 -0
  164. package/dist/esm/wcs-mat-icon.entry.js +69 -0
  165. package/dist/esm/wcs-modal.entry.js +41 -0
  166. package/dist/esm/wcs-nav-item.entry.js +19 -0
  167. package/dist/esm/wcs-nav.entry.js +15 -0
  168. package/dist/esm/wcs-progress-bar.entry.js +43 -0
  169. package/dist/esm/wcs-progress-radial.entry.js +26 -0
  170. package/dist/esm/wcs-radio-group.entry.js +61 -0
  171. package/dist/esm/wcs-radio.entry.js +45 -0
  172. package/dist/esm/wcs-select_2.entry.js +4911 -0
  173. package/dist/esm/wcs-spinner.entry.js +17 -0
  174. package/dist/esm/wcs-switch.entry.js +38 -0
  175. package/dist/esm/wcs-tab.entry.js +16 -0
  176. package/dist/esm/wcs-tabs.entry.js +155 -0
  177. package/dist/esm/wcs-textarea.entry.js +220 -0
  178. package/dist/esm/wcs-tooltip.entry.js +1631 -0
  179. package/dist/esm/wcs.js +3 -3
  180. package/dist/types/components/badge/badge-interface.d.ts +2 -0
  181. package/dist/types/components/badge/badge.d.ts +3 -2
  182. package/dist/types/components/button/button.d.ts +7 -3
  183. package/dist/types/components/card/card-interface.d.ts +1 -0
  184. package/dist/types/components/card/card.d.ts +2 -1
  185. package/dist/types/components/checkbox/checkbox.d.ts +4 -0
  186. package/dist/types/components/com-nav-category/com-nav-category.d.ts +7 -0
  187. package/dist/types/components/com-nav-submenu/com-nav-submenu.d.ts +7 -0
  188. package/dist/types/components/dropdown/dropdown-interface.d.ts +1 -0
  189. package/dist/types/components/dropdown/dropdown.d.ts +13 -16
  190. package/dist/types/components/dropdown-divider/dropdown-divider.d.ts +3 -0
  191. package/dist/types/components/dropdown-header/dropdown-header.d.ts +3 -0
  192. package/dist/types/components/editable-field/editable-field-interface.d.ts +1 -0
  193. package/dist/types/components/editable-field/editable-field.d.ts +2 -2
  194. package/dist/types/components/form-field/form-field.d.ts +0 -4
  195. package/dist/types/components/grid/grid.d.ts +18 -0
  196. package/dist/types/components/grid-column/grid-column.d.ts +5 -0
  197. package/dist/types/components/grid-custom-cell/grid-custom-cell.d.ts +12 -0
  198. package/dist/types/components/horizontal-stepper/horizontal-stepper-interface.d.ts +1 -0
  199. package/dist/types/components/horizontal-stepper/horizontal-stepper.d.ts +2 -2
  200. package/dist/types/components/input/input.d.ts +8 -0
  201. package/dist/types/components/mat-icon/mat-icon-interface.d.ts +1 -0
  202. package/dist/types/components/mat-icon/mat-icon.d.ts +2 -2
  203. package/dist/types/components/modal/modal.d.ts +1 -1
  204. package/dist/types/components/radio/radio.component.d.ts +2 -1
  205. package/dist/types/components/radio-group/radio-group-interface.d.ts +1 -0
  206. package/dist/types/components/radio-group/radio-group.d.ts +2 -2
  207. package/dist/types/components/select-option/select-option.d.ts +2 -0
  208. package/dist/types/components/spinner/spinner-interface.d.ts +1 -0
  209. package/dist/types/components/spinner/spinner.d.ts +2 -1
  210. package/dist/types/components/switch/switch-interface.d.ts +1 -0
  211. package/dist/types/components/switch/switch.d.ts +10 -2
  212. package/dist/types/components/tooltip/tooltip.d.ts +70 -6
  213. package/dist/types/components.d.ts +244 -41
  214. package/dist/types/interfaces.d.ts +21 -0
  215. package/dist/types/stencil-public-runtime.d.ts +183 -182
  216. package/dist/types/utils/helpers.d.ts +1 -0
  217. package/dist/wcs/p-03b2e238.entry.js +1 -0
  218. package/dist/wcs/p-08a7e84d.entry.js +1 -0
  219. package/dist/wcs/p-0a103e06.entry.js +1 -0
  220. package/dist/wcs/p-16dfbae8.js +127 -0
  221. package/dist/wcs/p-1dce7e63.entry.js +1 -0
  222. package/dist/wcs/p-1e16709a.entry.js +1 -0
  223. package/dist/wcs/p-1f5aed36.entry.js +1 -0
  224. package/dist/wcs/p-214236db.entry.js +1 -0
  225. package/dist/wcs/p-22813c8e.entry.js +1 -0
  226. package/dist/wcs/p-26b5c0a3.entry.js +1 -0
  227. package/dist/wcs/p-2e6265dc.entry.js +1 -0
  228. package/dist/wcs/p-384068f7.entry.js +1 -0
  229. package/dist/wcs/p-41037455.entry.js +1 -0
  230. package/dist/wcs/p-474d6601.entry.js +1 -0
  231. package/dist/wcs/p-4e9e226d.entry.js +1 -0
  232. package/dist/wcs/p-55fdc284.entry.js +1 -0
  233. package/dist/wcs/p-57247184.entry.js +1 -0
  234. package/dist/wcs/p-5b35b232.entry.js +1 -0
  235. package/dist/wcs/p-600a9cc0.entry.js +1 -0
  236. package/dist/wcs/p-60b51967.entry.js +1 -0
  237. package/dist/wcs/p-65c5ccc5.entry.js +1 -0
  238. package/dist/wcs/p-688fea65.entry.js +1 -0
  239. package/dist/wcs/p-6b8d2bc7.entry.js +1 -0
  240. package/dist/wcs/p-716d5921.entry.js +1 -0
  241. package/dist/wcs/p-7206e492.entry.js +1 -0
  242. package/dist/wcs/p-7219c04b.js +1 -0
  243. package/dist/wcs/p-8137f075.entry.js +1 -0
  244. package/dist/wcs/p-8864a491.entry.js +1 -0
  245. package/dist/wcs/p-8c8740e3.entry.js +1 -0
  246. package/dist/wcs/p-91a2de07.entry.js +1 -0
  247. package/dist/wcs/p-94a31f64.entry.js +1 -0
  248. package/dist/wcs/p-979dfd78.entry.js +1 -0
  249. package/dist/wcs/p-9ba52bc4.entry.js +1 -0
  250. package/dist/wcs/p-a1ee1551.entry.js +1 -0
  251. package/dist/wcs/p-a92d369e.entry.js +1 -0
  252. package/dist/wcs/p-a978c1e3.entry.js +1 -0
  253. package/dist/wcs/p-adef7aaf.js +1 -0
  254. package/dist/wcs/p-b5ffbea8.entry.js +1 -0
  255. package/dist/wcs/p-b7184d59.entry.js +1 -0
  256. package/dist/wcs/p-bbf1ef42.entry.js +1 -0
  257. package/dist/wcs/p-c7d6d3e1.entry.js +15 -0
  258. package/dist/wcs/p-cf4d7a83.js +1 -0
  259. package/dist/wcs/p-d3c9a644.js +1 -0
  260. package/dist/wcs/p-db68379f.entry.js +1 -0
  261. package/dist/wcs/p-dbbc3f58.entry.js +1 -0
  262. package/dist/wcs/p-dc817204.entry.js +1 -0
  263. package/dist/wcs/p-e0163de8.entry.js +1 -0
  264. package/dist/wcs/p-e4236d32.entry.js +1 -0
  265. package/dist/wcs/p-e43358e4.entry.js +1 -0
  266. package/dist/wcs/p-e9ce507c.entry.js +1 -0
  267. package/dist/wcs/p-ecbe5165.entry.js +6 -0
  268. package/dist/wcs/p-f46e6c3c.js +1 -0
  269. package/dist/wcs/p-f9944bde.entry.js +1 -0
  270. package/dist/wcs/p-fa173947.entry.js +1 -0
  271. package/dist/wcs/p-fb1577b5.entry.js +1 -0
  272. package/dist/wcs/p-febe9ccc.entry.js +1 -0
  273. package/dist/wcs/p-ff6d0dfd.entry.js +1 -0
  274. package/dist/wcs/wcs.css +1 -1
  275. package/dist/wcs/wcs.esm.js +1 -1
  276. package/loader/index.d.ts +0 -1
  277. package/package.json +25 -22
  278. package/dist/types/interface.d.ts +0 -3
  279. package/dist/wcs/p-16dca526.entry.js +0 -1
  280. package/dist/wcs/p-4f228fcb.entry.js +0 -134
  281. package/dist/wcs/p-66520e5a.entry.js +0 -1
  282. package/dist/wcs/p-d31287c6.entry.js +0 -1
  283. package/dist/wcs/p-f73f235b.js +0 -1
  284. package/schematics/.gitignore +0 -18
  285. package/schematics/.npmignore +0 -4
  286. package/schematics/collection.json +0 -9
  287. package/schematics/src/ng-add/files/fonts/avenir-black.woff +0 -0
  288. package/schematics/src/ng-add/files/fonts/avenir-book.woff +0 -0
  289. package/schematics/src/ng-add/files/fonts/avenir-lighter.woff +0 -0
  290. package/schematics/src/ng-add/files/fonts/avenir-medium.woff +0 -0
  291. package/schematics/src/ng-add/files/sncf-logo.png +0 -0
  292. package/schematics/src/ng-add/index.d.ts +0 -3
  293. package/schematics/src/ng-add/index.js +0 -119
  294. package/schematics/src/ng-add/index.js.map +0 -1
  295. package/schematics/src/ng-add/schema.json +0 -5
@@ -1,134 +0,0 @@
1
- import{r as t,h as r,H as e,g as n,c as i,a as o}from"./p-f73f235b.js";const s=class{constructor(r){t(this,r),this.hasTabs=!1}componentWillLoad(){this.hasTabs=!!this.el.querySelector('[slot="tabs"]')}render(){return r(e,null,r("div",{class:"title-actions","data-has-tabs":this.hasTabs},r("h1",null,r("slot",null)),r("div",{class:"actions"},r("slot",{name:"actions"}))),r("div",{class:"tabs-container"},r("slot",{name:"tabs"})))}get el(){return n(this)}};s.style=":host{padding:0 var(--wcs-padding);min-height:81px;background-color:var(--wcs-white);box-sizing:border-box;display:flex;flex-direction:column}:host .title-actions{padding-top:16px;padding-bottom:16px;display:flex;align-items:center;justify-content:space-between;flex-grow:1}:host .title-actions[data-has-tabs]{padding-bottom:0}:host h1{font-weight:400;line-height:1.25;margin:0;color:var(--wcs-gray)}:host([gutter]){border-bottom:solid 1px var(--wcs-light)}::slotted([slot=actions]){display:flex}";const a=class{constructor(r){t(this,r),this.shape="normal",this.color="initial"}render(){return r("slot",null)}};var c,u;function l(t,r){if(void 0===t&&(t=window),void 0===r&&(r=!1),void 0===u||r){var e=!1;try{t.document.addEventListener("test",(function(){}),{get passive(){return e=!0}})}catch(t){}u=e}return!!u&&{passive:!0}}a.style=":host{--wcs-badge-ligther-percentage:20;display:inline-block;padding:0.313rem 1.5rem;font-size:0.875rem;font-weight:500;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:0.75rem;color:var(--wcs-contrast);background-color:var(--wcs-base)}:host([color=lighter]){opacity:calc((100 - var(--wcs-badge-ligther-percentage)) / 100)}:host([mode=rounded]){border-radius:6px}";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */
16
- var f=function(t,r){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(t,r)};function h(t,r){function e(){this.constructor=t}f(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var d=function(){return(d=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var i in r=arguments[e])Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t}).apply(this,arguments)};
17
- /*! *****************************************************************************
18
- Copyright (c) Microsoft Corporation.
19
-
20
- Permission to use, copy, modify, and/or distribute this software for any
21
- purpose with or without fee is hereby granted.
22
-
23
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
24
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
25
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
26
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
27
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
28
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
29
- PERFORMANCE OF THIS SOFTWARE.
30
- ***************************************************************************** */function p(t,r){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var n,i,o=e.call(t),s=[];try{for(;(void 0===r||r-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return s}function m(){for(var t=[],r=0;r<arguments.length;r++)t=t.concat(p(arguments[r]));return t}
31
- /**
32
- * @license
33
- * Copyright 2016 Google Inc.
34
- *
35
- * Permission is hereby granted, free of charge, to any person obtaining a copy
36
- * of this software and associated documentation files (the "Software"), to deal
37
- * in the Software without restriction, including without limitation the rights
38
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
39
- * copies of the Software, and to permit persons to whom the Software is
40
- * furnished to do so, subject to the following conditions:
41
- *
42
- * The above copyright notice and this permission notice shall be included in
43
- * all copies or substantial portions of the Software.
44
- *
45
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
46
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
47
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
48
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
49
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
50
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
51
- * THE SOFTWARE.
52
- */var v=function(){function t(t){void 0===t&&(t={}),this.adapter_=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}(),g=function(){function t(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];this.root_=t,this.initialize.apply(this,m(e)),this.foundation_=void 0===r?this.getDefaultFoundation():r,this.foundation_.init(),this.initialSyncWithDOM()}return t.attachTo=function(r){return new t(r,new v({}))},t.prototype.initialize=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r]},t.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation_.destroy()},t.prototype.listen=function(t,r){this.root_.addEventListener(t,r)},t.prototype.unlisten=function(t,r){this.root_.removeEventListener(t,r)},t.prototype.emit=function(t,r,e){var n;void 0===e&&(e=!1),"function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:e,detail:r}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,e,!1,r),this.root_.dispatchEvent(n)},t}(),w={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},b={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},y={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},x=["touchstart","pointerdown","mousedown","keydown"],k=["touchend","pointerup","mouseup","contextmenu"],C=[],j=function(t){function r(e){var n=t.call(this,d({},r.defaultAdapter,e))||this;return n.activationAnimationHasEnded_=!1,n.activationTimer_=0,n.fgDeactivationRemovalTimer_=0,n.fgScale_="0",n.frame_={width:0,height:0},n.initialSize_=0,n.layoutFrame_=0,n.maxRadius_=0,n.unboundedCoords_={left:0,top:0},n.activationState_=n.defaultActivationState_(),n.activationTimerCallback_=function(){n.activationAnimationHasEnded_=!0,n.runDeactivationUXLogicIfReady_()},n.activateHandler_=function(t){return n.activate_(t)},n.deactivateHandler_=function(){return n.deactivate_()},n.focusHandler_=function(){return n.handleFocus()},n.blurHandler_=function(){return n.handleBlur()},n.resizeHandler_=function(){return n.layout()},n}return h(r,t),Object.defineProperty(r,"cssClasses",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(r,"strings",{get:function(){return b},enumerable:!0,configurable:!0}),Object.defineProperty(r,"numbers",{get:function(){return y},enumerable:!0,configurable:!0}),Object.defineProperty(r,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),r.prototype.init=function(){var t=this,e=this.supportsPressRipple_();if(this.registerRootHandlers_(e),e){var n=r.cssClasses,i=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){t.adapter_.addClass(i),t.adapter_.isUnbounded()&&(t.adapter_.addClass(o),t.layoutInternal_())}))}},r.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter_.removeClass(r.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter_.removeClass(r.cssClasses.FG_DEACTIVATION));var e=r.cssClasses,n=e.ROOT,i=e.UNBOUNDED;requestAnimationFrame((function(){t.adapter_.removeClass(n),t.adapter_.removeClass(i),t.removeCssVars_()}))}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},r.prototype.activate=function(t){this.activate_(t)},r.prototype.deactivate=function(){this.deactivate_()},r.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){t.layoutInternal_(),t.layoutFrame_=0}))},r.prototype.setUnbounded=function(t){var e=r.cssClasses.UNBOUNDED;t?this.adapter_.addClass(e):this.adapter_.removeClass(e)},r.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter_.addClass(r.cssClasses.BG_FOCUSED)}))},r.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter_.removeClass(r.cssClasses.BG_FOCUSED)}))},r.prototype.supportsPressRipple_=function(){return this.adapter_.browserSupportsCssVars()},r.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},r.prototype.registerRootHandlers_=function(t){var r=this;t&&(x.forEach((function(t){r.adapter_.registerInteractionHandler(t,r.activateHandler_)})),this.adapter_.isUnbounded()&&this.adapter_.registerResizeHandler(this.resizeHandler_)),this.adapter_.registerInteractionHandler("focus",this.focusHandler_),this.adapter_.registerInteractionHandler("blur",this.blurHandler_)},r.prototype.registerDeactivationHandlers_=function(t){var r=this;"keydown"===t.type?this.adapter_.registerInteractionHandler("keyup",this.deactivateHandler_):k.forEach((function(t){r.adapter_.registerDocumentInteractionHandler(t,r.deactivateHandler_)}))},r.prototype.deregisterRootHandlers_=function(){var t=this;x.forEach((function(r){t.adapter_.deregisterInteractionHandler(r,t.activateHandler_)})),this.adapter_.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter_.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter_.isUnbounded()&&this.adapter_.deregisterResizeHandler(this.resizeHandler_)},r.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter_.deregisterInteractionHandler("keyup",this.deactivateHandler_),k.forEach((function(r){t.adapter_.deregisterDocumentInteractionHandler(r,t.deactivateHandler_)}))},r.prototype.removeCssVars_=function(){var t=this,e=r.strings;Object.keys(e).forEach((function(r){0===r.indexOf("VAR_")&&t.adapter_.updateCssVariable(e[r],null)}))},r.prototype.activate_=function(t){var r=this;if(!this.adapter_.isSurfaceDisabled()){var e=this.activationState_;if(!e.isActivated){var n=this.previousActivationEvent_;n&&void 0!==t&&n.type!==t.type||(e.isActivated=!0,e.isProgrammatic=void 0===t,e.activationEvent=t,e.wasActivatedByPointer=!e.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),void 0!==t&&C.length>0&&C.some((function(t){return r.adapter_.containsEventTarget(t)}))?this.resetActivationState_():(void 0!==t&&(C.push(t.target),this.registerDeactivationHandlers_(t)),e.wasElementMadeActive=this.checkElementMadeActive_(t),e.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){C=[],e.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(e.wasElementMadeActive=r.checkElementMadeActive_(t),e.wasElementMadeActive&&r.animateActivation_()),e.wasElementMadeActive||(r.activationState_=r.defaultActivationState_())}))))}}},r.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter_.isSurfaceActive()},r.prototype.animateActivation_=function(){var t=this,e=r.strings,n=e.VAR_FG_TRANSLATE_START,i=e.VAR_FG_TRANSLATE_END,o=r.cssClasses,s=o.FG_DEACTIVATION,a=o.FG_ACTIVATION,c=r.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var u="",l="";if(!this.adapter_.isUnbounded()){var f=this.getFgTranslationCoordinates_(),h=f.startPoint,d=f.endPoint;u=h.x+"px, "+h.y+"px",l=d.x+"px, "+d.y+"px"}this.adapter_.updateCssVariable(n,u),this.adapter_.updateCssVariable(i,l),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter_.removeClass(s),this.adapter_.computeBoundingRect(),this.adapter_.addClass(a),this.activationTimer_=setTimeout((function(){return t.activationTimerCallback_()}),c)},r.prototype.getFgTranslationCoordinates_=function(){var t,r=this.activationState_;return{startPoint:t={x:(t=r.wasActivatedByPointer?function(t,r,e){if(!t)return{x:0,y:0};var n,i,o=r.x+e.left,s=r.y+e.top;return"touchstart"===t.type?(n=t.changedTouches[0].pageX-o,i=t.changedTouches[0].pageY-s):(n=t.pageX-o,i=t.pageY-s),{x:n,y:i}}(r.activationEvent,this.adapter_.getWindowPageOffset(),this.adapter_.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:t.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},r.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,e=r.cssClasses.FG_DEACTIVATION,n=this.activationState_;(n.hasDeactivationUXRun||!n.isActivated)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter_.addClass(e),this.fgDeactivationRemovalTimer_=setTimeout((function(){t.adapter_.removeClass(e)}),y.FG_DEACTIVATION_MS))},r.prototype.rmBoundedActivationClasses_=function(){this.adapter_.removeClass(r.cssClasses.FG_ACTIVATION),this.activationAnimationHasEnded_=!1,this.adapter_.computeBoundingRect()},r.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return t.previousActivationEvent_=void 0}),r.numbers.TAP_DELAY_MS)},r.prototype.deactivate_=function(){var t=this,r=this.activationState_;if(r.isActivated){var e=d({},r);r.isProgrammatic?(requestAnimationFrame((function(){return t.animateDeactivation_(e)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(e),t.resetActivationState_()})))}},r.prototype.animateDeactivation_=function(t){(t.wasActivatedByPointer||t.wasElementMadeActive)&&this.runDeactivationUXLogicIfReady_()},r.prototype.layoutInternal_=function(){this.frame_=this.adapter_.computeBoundingRect();var t=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter_.isUnbounded()?t:Math.sqrt(Math.pow(this.frame_.width,2)+Math.pow(this.frame_.height,2))+r.numbers.PADDING,this.initialSize_=Math.floor(t*r.numbers.INITIAL_ORIGIN_SCALE),this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},r.prototype.updateLayoutCssVars_=function(){var t=r.strings,e=t.VAR_LEFT,n=t.VAR_TOP,i=t.VAR_FG_SCALE;this.adapter_.updateCssVariable(t.VAR_FG_SIZE,this.initialSize_+"px"),this.adapter_.updateCssVariable(i,this.fgScale_),this.adapter_.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter_.updateCssVariable(e,this.unboundedCoords_.left+"px"),this.adapter_.updateCssVariable(n,this.unboundedCoords_.top+"px"))},r}(v),L=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.disabled=!1,r}return h(r,t),r.attachTo=function(t,e){void 0===e&&(e={isUnbounded:void 0});var n=new r(t);return void 0!==e.isUnbounded&&(n.unbounded=e.isUnbounded),n},r.createAdapter=function(t){return{addClass:function(r){return t.root_.classList.add(r)},browserSupportsCssVars:function(){return function(t,r){void 0===r&&(r=!1);var e,n=t.CSS;if("boolean"==typeof c&&!r)return c;if(!n||"function"!=typeof n.supports)return!1;var i=n.supports("--css-vars","yes"),o=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return e=!(!i&&!o||function(t){var r=t.document,e=r.createElement("div");e.className="mdc-ripple-surface--test-edge-var-bug",r.body.appendChild(e);var n=t.getComputedStyle(e),i=null!==n&&"solid"===n.borderTopStyle;return e.remove(),i}(t)),r||(c=e),e}(window)},computeBoundingRect:function(){return t.root_.getBoundingClientRect()},containsEventTarget:function(r){return t.root_.contains(r)},deregisterDocumentInteractionHandler:function(t,r){return document.documentElement.removeEventListener(t,r,l())},deregisterInteractionHandler:function(r,e){return t.root_.removeEventListener(r,e,l())},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return((r=t.root_).matches||r.webkitMatchesSelector||r.msMatchesSelector).call(r,":active");
53
- /**
54
- * @license
55
- * Copyright 2018 Google Inc.
56
- *
57
- * Permission is hereby granted, free of charge, to any person obtaining a copy
58
- * of this software and associated documentation files (the "Software"), to deal
59
- * in the Software without restriction, including without limitation the rights
60
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
61
- * copies of the Software, and to permit persons to whom the Software is
62
- * furnished to do so, subject to the following conditions:
63
- *
64
- * The above copyright notice and this permission notice shall be included in
65
- * all copies or substantial portions of the Software.
66
- *
67
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
68
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
69
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
70
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
72
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
73
- * THE SOFTWARE.
74
- */
75
- var r;
76
- /**
77
- * @license
78
- * Copyright 2016 Google Inc.
79
- *
80
- * Permission is hereby granted, free of charge, to any person obtaining a copy
81
- * of this software and associated documentation files (the "Software"), to deal
82
- * in the Software without restriction, including without limitation the rights
83
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
84
- * copies of the Software, and to permit persons to whom the Software is
85
- * furnished to do so, subject to the following conditions:
86
- *
87
- * The above copyright notice and this permission notice shall be included in
88
- * all copies or substantial portions of the Software.
89
- *
90
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
91
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
92
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
93
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
94
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
95
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
96
- * THE SOFTWARE.
97
- */},isSurfaceDisabled:function(){return Boolean(t.disabled)},isUnbounded:function(){return Boolean(t.unbounded)},registerDocumentInteractionHandler:function(t,r){return document.documentElement.addEventListener(t,r,l())},registerInteractionHandler:function(r,e){return t.root_.addEventListener(r,e,l())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},removeClass:function(r){return t.root_.classList.remove(r)},updateCssVariable:function(r,e){return t.root_.style.setProperty(r,e)}}},Object.defineProperty(r.prototype,"unbounded",{get:function(){return Boolean(this.unbounded_)},set:function(t){this.unbounded_=Boolean(t),this.setUnbounded_()},enumerable:!0,configurable:!0}),r.prototype.activate=function(){this.foundation_.activate()},r.prototype.deactivate=function(){this.foundation_.deactivate()},r.prototype.layout=function(){this.foundation_.layout()},r.prototype.getDefaultFoundation=function(){return new j(r.createAdapter(this))},r.prototype.initialSyncWithDOM=function(){this.unbounded="mdcRippleIsUnbounded"in this.root_.dataset},r.prototype.setUnbounded_=function(){this.foundation_.setUnbounded(Boolean(this.unbounded_))},r}(g);
98
- /**
99
- * @license
100
- * Copyright 2016 Google Inc.
101
- *
102
- * Permission is hereby granted, free of charge, to any person obtaining a copy
103
- * of this software and associated documentation files (the "Software"), to deal
104
- * in the Software without restriction, including without limitation the rights
105
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
106
- * copies of the Software, and to permit persons to whom the Software is
107
- * furnished to do so, subject to the following conditions:
108
- *
109
- * The above copyright notice and this permission notice shall be included in
110
- * all copies or substantial portions of the Software.
111
- *
112
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
113
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
114
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
115
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
116
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
117
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
118
- * THE SOFTWARE.
119
- */const S=(t,r)=>{const e=t._original||t;return{_original:t,emit:_(e.emit.bind(e),r)}},_=(t,r=0)=>{let e;return(...n)=>{clearTimeout(e),e=setTimeout(t,r,...n)}},M=(t,r=[])=>{const e={};return r.forEach((r=>{t.hasAttribute(r)&&(null!==t.getAttribute(r)&&(e[r]=t.getAttribute(r)),t.removeAttribute(r))})),e},z=t=>{const r=t.closest("wcs-form-field");return r?r.querySelector("wcs-label"):null},O=t=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t),A=(t,r)=>t.x>=r.getBoundingClientRect().x&&t.x<=r.getBoundingClientRect().x+r.getBoundingClientRect().width&&t.y>=r.getBoundingClientRect().y&&t.y<=r.getBoundingClientRect().y+r.getBoundingClientRect().height,E=class{constructor(r){t(this,r),this.type="button",this.disabled=!1,this.ripple=!0,this.shape="normal",this.mode="plain"}onClick(t){if(this.disabled&&t.stopImmediatePropagation(),"button"!==this.type&&(r=this.el).shadowRoot&&r.attachShadow){const r=this.el.closest("form");if(r){t.preventDefault();const e=window.document.createElement("button");e.type=this.type,e.style.display="none",r.appendChild(e),e.click(),e.remove()}}var r}render(){return r(void 0!==this.href?"a":"button",Object.assign({},void 0!==this.href?{href:this.href,role:"button"}:{type:this.type},{class:"wcs-inner-button"},!0===this.disabled?{disabled:!0}:null),r("slot",null))}componentDidLoad(){this.ripple&&this.addRippleEffect()}addRippleEffect(){new L(this.el.shadowRoot.querySelector(".wcs-inner-button")).unbounded=!1}get el(){return n(this)}};E.style='@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var:1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000}.mdc-ripple-surface:hover::before{opacity:0.04}.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee}@supports not (-ms-ime-align: auto){.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:var(--mdc-theme-primary, #6200ee)}}.mdc-ripple-surface--primary:hover::before{opacity:0.04}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786}@supports not (-ms-ime-align: auto){.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:var(--mdc-theme-secondary, #018786)}}.mdc-ripple-surface--accent:hover::before{opacity:0.04}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}:host{display:inline-block;--wcs-button-padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);--wcs-button-color:var(--wcs-contrast, var(--wcs-white, white));--wcs-button-background-color:var(--wcs-base, var(--wcs-primary, #0088CE));--wcs-button-ripple-color:var(--wcs-contrast, var(--wcs-white, white));--wcs-button-border-radius:var(--wcs-border-radius);--wcs-button-border-color:var(--wcs-base)}:host([mode=clear]){--wcs-button-border-color:transparent}:host([mode=clear]) .wcs-inner-button{box-shadow:none}:host([mode=clear]),:host([mode=stroked]){--wcs-button-color:var(--wcs-base);--wcs-button-background-color:transparent}:host([mode=clear]) .wcs-inner-button::before,:host([mode=clear]) .wcs-inner-button::after,:host([mode=stroked]) .wcs-inner-button::before,:host([mode=stroked]) .wcs-inner-button::after{--wcs-button-ripple-color:var(--wcs-base)}:host([shape=small]){--wcs-button-padding:2px 16px}:host([shape=round]){--wcs-button-padding:0;--wcs-button-border-radius:50%}:host([shape=round]) .wcs-inner-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}:host([shape=square]){--wcs-button-padding:0}:host([shape=square]) .wcs-inner-button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}:host([shape=normal]){--wcs-button-padding:calc(var(--wcs-padding) / 2 + 1px) calc(var(--wcs-padding))}:host([mode=stroked]) .wcs-inner-button{box-shadow:inset 0 0 0 1px var(--wcs-button-border-color)}:host([disabled]){--wcs-button-color:var(--wcs-text-disabled);--wcs-button-background-color:var(--wcs-light)}:host([disabled]) .wcs-inner-button{--wcs-button-border-color:var(--wcs-light);opacity:1;cursor:default;pointer-events:none}:host([disabled]):host([mode=clear]),:host([disabled]):host([disabled]){--wcs-button-background-color:transparent}.wcs-inner-button{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;display:flex;align-content:center;font-family:var(--wcs-font-sans-serif);background-color:var(--wcs-button-background-color);color:var(--wcs-button-color);padding:var(--wcs-button-padding);border-radius:var(--wcs-button-border-radius);border:none;overflow:hidden;outline:0;text-transform:none;margin:0;cursor:pointer;font-weight:500;text-align:center;white-space:nowrap;vertical-align:middle;user-select:none;font-size:1rem;line-height:1.5;transition:color 175ms ease-in-out, background-color 175ms ease-in-out, box-shadow 175ms cubic-bezier(0.4, 0, 0.2, 1)}.wcs-inner-button::before,.wcs-inner-button::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.wcs-inner-button::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1}.wcs-inner-button.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.wcs-inner-button.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.wcs-inner-button.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.wcs-inner-button.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.wcs-inner-button.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.wcs-inner-button::before,.wcs-inner-button::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.wcs-inner-button.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.wcs-inner-button:hover::before{opacity:0.1}.wcs-inner-button:not(.mdc-ripple-upgraded):focus::before,.wcs-inner-button.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.2}.wcs-inner-button:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.wcs-inner-button:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.3}.wcs-inner-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.3}.wcs-inner-button::before,.wcs-inner-button::after{background-color:white}.wcs-inner-button::before,.wcs-inner-button::after{background-color:var(--wcs-button-ripple-color)}.wcs-inner-button:focus{box-shadow:0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2)}.wcs-inner-button:hover{box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2)}a{text-decoration:none}button::-moz-focus-inner,a::-moz-focus-inner{border:0}';const D=class{constructor(r){t(this,r),this.mode="raised"}render(){return r("slot",null)}};D.style=":host{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-clip:border-box;border-radius:var(--wcs-border-radius);background-color:var(--wcs-white)}:host([mode=raised]){box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2)}:host([mode=flat]){border:solid 1px var(--wcs-text-light)}";const I=class{constructor(r){t(this,r)}render(){return r("slot",null)}};I.style=":host{flex:1 1 auto;padding:var(--wcs-padding)}";const T=class{constructor(r){t(this,r),this.wcsChange=i(this,"wcsChange",7),this.checkboxId="wcs-checkbox-"+N++,this.name=this.checkboxId,this.indeterminate=!1,this.checked=!1,this.labelAlignment="center"}handleChange(t){this.indeterminate=!1,this.checked=!this.checked,this.wcsChange.emit({checked:this.checked})}render(){return r(e,null,r("label",{htmlFor:this.name,class:"wcs-container"},r("input",{onChange:t=>this.handleChange(t),checked:this.checked,class:"wcs-checkbox",type:"checkbox",name:this.name,id:this.name}),r("span",{class:"wcs-checkmark"}),r("span",{class:"text"},r("slot",null))))}get el(){return n(this)}};let N=0;T.style=':host{--wcs-checkbox-border-color:var(--wcs-text-medium);--wcs-checkbox-text-color:var(--wcs-black);display:flex}.wcs-checkmark{transition:background-color 225ms cubic-bezier(0.17, 0.84, 0.44, 1), color 225ms cubic-bezier(0.17, 0.84, 0.44, 1)}.wcs-container{position:relative;cursor:pointer;font-size:1rem;user-select:none;font-weight:500;display:flex}:host([label-alignment=top]) .wcs-container{align-items:start}:host([label-alignment=center]) .wcs-container{align-items:center}:host([label-alignment=bottom]) .wcs-container{align-items:flex-end}.wcs-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.wcs-container:hover,input:focus{--wcs-checkbox-border-color:var(--wcs-primary);--wcs-checkbox-text-color:var(--wcs-primary)}.wcs-checkmark{width:1.125rem;height:1.125rem;border:2px solid var(--wcs-checkbox-border-color);border-radius:3px}:host([indeterminate]) .wcs-checkmark{--wcs-checkbox-border-color:var(--wcs-primary);background:var(--wcs-primary)}.wcs-container input:checked~.wcs-checkmark{background-color:var(--wcs-primary);--wcs-checkbox-border-color:var(--wcs-primary)}.wcs-checkmark:after{content:"";position:absolute;display:none}.wcs-container input:checked~.wcs-checkmark:after{display:flex}.wcs-container .wcs-checkmark:after{left:7px;width:5px;height:10px;border:solid var(--wcs-white, white);border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.wcs-container input:checked~.text{--wcs-checkbox-text-color:var(--wcs-primary)}.text{color:var(--wcs-checkbox-text-color);margin-left:6px;font-weight:500;line-height:1.375}';const R=class{constructor(r){t(this,r)}render(){return r(e,null,r("div",{class:"container"},r("div",{class:"container-left"},r("div",{class:"app-name"},this.appName,r("slot",{name:"app-name"})),r("div",{class:"menu-bar"},r("slot",null))),r("div",null,r("slot",{name:"actions"}))))}};R.style='@charset "UTF-8";:host{display:block;position:relative;height:75px;border-bottom:solid 1px var(--wcs-text-light)}:host .container{margin:0 auto;height:100%;display:flex;align-items:center;flex-direction:row;justify-content:space-between;max-width:var(--wcs-com-content-max-width)}:host .container-left{display:flex;height:100%;align-items:center;flex-direction:row}:host .app-name{font-weight:300;font-size:1.5rem;line-height:1.25;color:var(--wcs-gray)}:host .menu-bar{display:flex;align-items:center;height:100%;margin-left:50px}:host .menu-bar ::slotted(*:not(:first-child)){margin-left:40px}:host ::slotted(a){display:flex;align-items:center;height:100%;font-size:16px;cursor:pointer;font-weight:500;color:var(--wcs-gray);text-decoration:none}:host ::slotted(a):after{font-family:icons;padding-left:var(--wcs-base-margin);font-size:0.6rem;content:"";line-height:1;box-sizing:border-box}';const F=class{constructor(r){t(this,r),this.wcsCategoryOpened=i(this,"wcsCategoryOpened",7),this.categoryOpen=!1}onWindowClickEvent(t){this.categoryOpen&&(this.categoryOpen=!1)}onSubmenuOpened(t){t.detail.categoryElement!==this.el&&(this.categoryOpen=!1)}async close(){this.categoryOpen=!1}async open(){this.categoryOpen=!0}onClick(t){t.stopPropagation(),this.wcsCategoryOpened.emit({categoryElement:this.el})}render(){return r(e,{onClick:t=>this.onClick(t)},r("div",{class:"label-container","data-open":this.categoryOpen,onClick:()=>this.categoryOpen=!this.categoryOpen},r("span",{class:"label"},this.label)),r("div",{class:"item-container","data-open":this.categoryOpen},r("slot",null)))}get el(){return n(this)}};F.style='@charset "UTF-8";:host{display:block}:host .item-container:not([data-open]){display:none}:host .label:after{font-family:icons;padding-left:var(--wcs-base-margin);font-size:0.6rem;content:"";line-height:1;box-sizing:border-box}:host .label-container{cursor:pointer;user-select:none;display:flex;align-items:center}:host .label-container[data-open]:after{position:absolute;left:calc(calc(calc(100% / 2) + calc(var(--wcs-com-content-max-width) / 8)) - calc(1.125rem / 2));z-index:2;display:block;width:1.125rem;height:1.125rem;content:"";background-color:var(--wcs-primary);transform:rotate(45deg)}:host .item-container[data-open]{position:absolute;left:calc(calc(100% / 2) + calc(var(--wcs-com-content-max-width) / 8));top:0;right:0;padding:50px 0 50px 50px;background-blend-mode:multiply;background-color:rgba(0, 0, 0, 0.15);box-sizing:border-box;height:calc(100%);display:flex;flex-direction:column;align-items:start}:host .item-container[data-open] ::slotted(a:not(:first-child)){margin-top:24px}:host .item-container[data-open] ::slotted(a):after{font-family:icons;padding-left:var(--wcs-base-margin);font-size:0.6rem;content:"";line-height:1;box-sizing:border-box}:host .item-container[data-open] ::slotted(a){cursor:pointer;text-decoration:none;font-size:16px;color:var(--wcs-white)}';const V=class{constructor(r){t(this,r),this.wcsSubmenuOpened=i(this,"wcsSubmenuOpened",7),this.menuOpen=!1}onWindowClickEvent(t){this.menuOpen&&(this.menuOpen=!1)}onSubmenuOpened(t){t.detail.menuElement!==this.el&&(this.menuOpen=!1)}async close(){this.menuOpen=!1}async open(){this.menuOpen=!0}onClick(t){t.stopPropagation(),this.wcsSubmenuOpened.emit({menuElement:this.el})}render(){return r(e,{onClick:t=>this.onClick(t)},r("div",{onClick:()=>this.menuOpen=!this.menuOpen,class:"menu-button"},r("span",{class:"label"},this.label),r("span",{class:"arrow-container"},r("span",{class:"arrow-icon","data-open":this.menuOpen},""))),r("div",{class:"drawer","data-open":this.menuOpen},r("div",{class:"drawer-container"},r("div",{class:"drawer-content"},r("div",null,r("h3",null,this.panelTitle),r("p",null,this.panelDescription)),r("div",{class:"menu-items"},r("slot",null))))))}get el(){return n(this)}};V.style='@charset "UTF-8";:host{display:block;height:100%}:host .menu-button{display:flex;align-items:center;height:100%;cursor:pointer;user-select:none}:host .label{font-size:16px;cursor:pointer;font-weight:500;color:var(--wcs-gray);text-decoration:none}:host .arrow-icon{display:inline-block;font-family:icons;font-size:0.6rem;line-height:1;box-sizing:border-box}:host .arrow-icon:not([data-open]){transform:rotate(90deg)}:host .arrow-icon[data-open]{transform:rotate(-90deg)}:host .arrow-container{margin-left:var(--wcs-base-margin)}:host .drawer{display:none;position:absolute;top:75px;z-index:8888;left:0;width:100%;box-sizing:border-box;padding:50px;background-color:var(--wcs-primary);color:var(--wcs-white)}:host .drawer-content{display:flex;justify-content:space-between;max-width:62.5%;flex:1}:host .drawer-content div:first-child{flex:0.8}:host .drawer-content div{max-width:260px}:host .menu-items{padding:0 80px 0 50px;display:flex;flex-direction:column;align-items:flex-end}:host .menu-items ::slotted(*:not(:first-child)){margin-top:24px}:host .menu-items ::slotted(a):after{font-family:icons;padding-left:var(--wcs-base-margin);font-size:0.6rem;content:"";line-height:1;box-sizing:border-box}:host .menu-items ::slotted(a){user-select:none;cursor:pointer;text-decoration:none;font-size:16px;color:var(--wcs-white)}:host .drawer-container{display:flex;max-width:var(--wcs-com-content-max-width);margin:0 auto}:host .drawer-container h3{margin:0 0 24px 0;font-size:1.5rem;line-height:1.25;font-weight:400}:host .drawer-container p{margin-top:0;margin-bottom:1rem;font-weight:500;font-size:1rem;line-height:1.375}:host .drawer[data-open]{display:block}';const U=class{constructor(r){t(this,r)}render(){return r(e,null)}};U.style=":host{display:block;border-bottom:solid 1px var(--wcs-text-light)}";const W=({up:t})=>r("svg",{style:{marginLeft:"auto"},xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r("style",{type:"text/css"},"\n .arrow-group {\n transform-origin: 50% 50%;\n transition: transform 175ms ease-in-out;\n }\n .up {\n transform: scaleY(1);\n }\n .down {\n transform: scaleY(-1);\n }\n "),r("g",{fill:"none",class:(t?"up":"down")+" arrow-group"},r("path",{class:"arrow",fill:"black",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),r("path",{d:"M0 0h24v24H0z",fill:"none"}))),B=class{constructor(r){t(this,r),this.mode="stroked",this.shape="normal",this.disabled=!1,this.expanded=!1}componentDidLoad(){const t=this.el.shadowRoot.querySelector("wcs-button").shadowRoot.querySelector("button"),r=window.getComputedStyle(t).color;this.el.shadowRoot.querySelector(".arrow").style.fill=r,this.fixForFirefoxBelow63()}fixForFirefoxBelow63(){const t=this.el.querySelectorAll("wcs-dropdown-item"),r=this.el.querySelector(".container");t.length>0&&r&&t.forEach((t=>{this.el.removeChild(t),r.appendChild(t)}))}onButtonClick(t){t.stopPropagation(),this.expanded=!this.expanded}onWindowClickEvent(t){const r=t.target instanceof Node&&this.el.contains(t.target);this.expanded&&!r&&(this.expanded=!1)}dropdownItemClick(t){this.expanded=!1}render(){return r(e,null,r("wcs-button",{mode:this.mode,shape:this.shape,onClick:t=>this.onButtonClick(t)},r("div",{class:"wcs-button-content-wrapper"},r("slot",{name:"placeholder"}),r(W,{up:this.expanded}))),r("div",{class:(this.expanded?"show ":"")+"popover"},r("div",{class:"container"},r("slot",{name:"item"}))))}get el(){return n(this)}};B.style=':host{display:inline-flex;flex-direction:row;position:relative;flex-flow:row-reverse}wcs-button{--wcs-button-padding:8px 10px 8px 16px !important}:host([shape=small]) .show{top:48px !important}:host([shape=small]) wcs-button{--wcs-button-padding:2px 10px 2px 16px !important}.wcs-button-content-wrapper{display:flex}.popover{display:none;border:1px solid #d7d7d7;border-radius:var(--wcs-border-radius);white-space:nowrap}.popover::before,.popover::after{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:solid transparent;z-index:1000}.popover::before{border-color:rgba(216, 216, 216, 0);border-width:0.625rem;right:1.0625rem;margin-left:-0.625rem;bottom:100%;border-bottom-color:#d7d7d7}.popover::after{border-color:rgba(255, 255, 255, 0);border-width:9px;right:1.125rem;margin-left:-0.5625rem;bottom:100%;border-bottom-color:#fff}.show{z-index:1000;display:block;flex-direction:column;position:absolute;background-color:var(--wcs-white);top:58px}.container{border-radius:inherit;overflow:hidden}';const P=class{constructor(r){t(this,r),this.wcsDropdownItemClick=i(this,"wcsDropdownItemClick",7)}onMouseDown(t){this.wcsDropdownItemClick.emit()}render(){return r(e,{slot:"item"},r("slot",null))}};var H;P.style="wcs-dropdown-item{display:block;padding:0 var(--wcs-padding);font-weight:500;cursor:pointer;height:42px;line-height:42px}wcs-dropdown-item:hover{color:var(--wcs-primary);background-color:var(--wcs-light)}",function(t){t[t.DISPLAY=0]="DISPLAY",t[t.EDIT=1]="EDIT",t[t.LOAD=2]="LOAD"}(H||(H={}));const G=class{constructor(r){t(this,r),this.wcsChange=i(this,"wcsChange",7),this.currentState=H.DISPLAY,this.type="input",this.readonly=!1,this.errorMsg=null,this.isError=!1,this.ignoreNextChangeEvent=!1,this.spiedElement=null,this.currentValue=null}componentWillLoad(){this.currentValue=this.value}componentDidRender(){const t=this.el.shadowRoot.querySelector("slot").assignedElements();switch(this.type){case"input":this.initWithInput(t);break;case"textarea":this.initWithTextArea(t);break;case"select":this.initWithSelect(t)}}initWithInput(t){const r=t.filter((t=>"WCS-INPUT"===t.tagName))[0];if(!r)throw new Error("You must provide a slotted input element to handle edition");this.spiedElement=r,this.addChangeHandlerForWcsComponents(this.spiedElement),this.spiedElement.addEventListener("keydown",(t=>{"Enter"===t.key&&this.sendCurrentValue(),"Escape"===t.key&&this.discardChanges()}))}initWithTextArea(t){const r=t.filter((t=>"WCS-TEXTAREA"===t.tagName))[0];if(!r)throw new Error("You must provide a slotted textarea element to handle edition");this.spiedElement=r,this.addChangeHandlerForWcsComponents(this.spiedElement),this.spiedElement.addEventListener("keydown",(t=>{"Enter"===t.key&&t.ctrlKey&&this.sendCurrentValue(),"Escape"===t.key&&this.discardChanges()}))}initWithSelect(t){const r=t.filter((t=>"WCS-SELECT"===t.tagName))[0];if(!r)throw new Error("You must provide a slotted select element to handle edition");this.spiedElement=r,this.addChangeHandlerForWcsComponents(this.spiedElement)}addChangeHandlerForWcsComponents(t){t.addEventListener("wcsChange",(t=>{t.stopImmediatePropagation(),this.currentValue=t.detail.value,this.validateFn&&(this.isError=!this.validateFn(this.currentValue))}))}sendCurrentValue(){this.currentState===H.EDIT&&(this.value===this.currentValue?this.currentState=H.DISPLAY:(this.isError=!!this.validateFn&&!this.validateFn(this.currentValue),this.isError||(this.currentState=H.LOAD,this.wcsChange.emit({newValue:this.currentValue,successHandler:()=>this.forceDisplayStateAndValidate(),errorhandler:()=>this.errorHandler()}))))}discardChanges(){this.currentValue=this.value,this.currentState=H.DISPLAY,this.isError=!1}forceDisplayStateAndValidate(){if(this.currentState!==H.LOAD)throw new Error("You cannot set display state from "+H[this.currentState]+" state");this.value=this.currentValue,this.currentState=H.DISPLAY}onWindowClickEvent(t){this.clickInsideComponent(t)||this.currentState===H.EDIT&&(this.isError?this.discardChanges():this.sendCurrentValue())}clickInsideComponent(t){return t.x>=this.el.getBoundingClientRect().x&&t.x<=this.el.getBoundingClientRect().x+this.el.getBoundingClientRect().width&&t.y>=this.el.getBoundingClientRect().y&&t.y<=this.el.getBoundingClientRect().y+this.el.getBoundingClientRect().height}errorHandler(){this.discardChanges()}onValueChange(){this.currentState=H.DISPLAY}onDisplayContainerClick(){this.currentState===H.DISPLAY&&!1===this.readonly&&(this.currentState=H.EDIT,this.ignoreNextChangeEvent=!0,this.spiedElement.value=this.currentValue,this.validateFn&&(this.isError=!this.validateFn(this.currentValue)),setTimeout((()=>{"input"===this.type?this.spiedElement.setFocus():"textarea"===this.type&&(this.spiedElement.fitContent(),this.spiedElement.setFocus())}),20))}render(){const{formattedValue:t,formattedCurrentValue:n}=this.formatValues();return r(e,null,r("div",{class:"label"},this.label),r("div",{class:"display-container "+(this.currentState!==H.DISPLAY?"display-none":""),onClick:()=>this.onDisplayContainerClick()},t,r("wcs-mat-icon",{icon:"edit",size:"s"}),this.readonly?this.getReadonlySvgIcon():null),r("div",{class:"load-container "+(this.currentState!==H.LOAD?"display-none":"")},n,r("wcs-spinner",null)),r("wcs-form-field",{"is-error":this.isError,class:"edit-container "+(this.currentState!==H.EDIT?"display-none":"")},r("slot",null),this.isError&&this.errorMsg?r("wcs-error",null,this.errorMsg):null))}getReadonlySvgIcon(){return r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"24",viewBox:"0 0 27 25",class:"readonly-icon"},r("path",{d:"M26.79,25.05H1.21a.73.73,0,0,0,0,1.45H26.79a.73.73,0,0,0,0-1.45Z",transform:"translate(-0.5 -1.5)"}),r("path",{d:"M19.8,8.87h-.61V6.73a5.23,5.23,0,0,0-10.46,0V8.87H8.2a1.63,1.63,0,0,0-1.63,1.62V21.32A1.62,1.62,0,0,0,8.2,22.94H19.8a1.62,1.62,0,0,0,1.63-1.62V10.49A1.63,1.63,0,0,0,19.8,8.87ZM10.93,6.73a3,3,0,1,1,6.06,0V8.87H10.93Zm3,14.15a5,5,0,1,1,5-5A5,5,0,0,1,14,20.88Z",transform:"translate(-0.5 -1.5)"}),r("path",{d:"M14,12.62a3.29,3.29,0,1,0,3.29,3.29A3.29,3.29,0,0,0,14,12.62Zm0,4.75a1.47,1.47,0,1,1,1.47-1.46A1.46,1.46,0,0,1,14,17.37Z",transform:"translate(-0.5 -1.5)"}))}formatValues(){let t=this.value,e=this.currentValue;return this.formatFn&&(t=this.formatFn(this.value),e=this.formatFn(this.currentValue)),Array.isArray(this.value)&&(t=this.value.join(", ")),Array.isArray(this.currentValue)&&(e=this.currentValue.join(", ")),{formattedValue:t?r("span",null,t):r("span",null),formattedCurrentValue:e?r("span",null,e):r("span",null)}}get el(){return n(this)}static get watchers(){return{value:["onValueChange"]}}};G.style=":host{display:block}:host .display-none{display:none !important}:host .label{margin-bottom:var(--wcs-base-margin);font-weight:500;font-size:16px;color:var(--wcs-gray-light)}:host .edit-container{display:flex;width:100%}:host .display-container{min-height:24px;white-space:break-spaces;display:flex;justify-content:space-between;align-items:center;background-color:var(--wcs-light);border-radius:var(--wcs-border-radius);font-size:1rem;line-height:1.5;font-weight:500;color:var(--wcs-gray);padding:calc(0.5 * var(--wcs-padding)) var(--wcs-padding);transition:0.175s all;border:solid 1px transparent}:host .display-container wcs-mat-icon{display:none}:host .load-container{white-space:pre;display:flex;justify-content:space-between;background-color:var(--wcs-light);border-radius:var(--wcs-border-radius);font-size:1rem;line-height:1.5;font-weight:500;color:var(--wcs-gray);padding:calc(0.5 * var(--wcs-padding)) var(--wcs-padding);transition:0.175s all;border:solid 1px transparent;align-items:center}:host wcs-spinner{height:16px;width:16px}:host .readonly-icon{fill:var(--wcs-text-medium)}:host([readonly]) .display-container{color:var(--wcs-gray-light)}:host(:not([readonly])) .display-container:hover{color:var(--wcs-primary);cursor:pointer;border:solid 1px var(--wcs-primary)}:host(:not([readonly])) .display-container:hover wcs-mat-icon{display:flex;align-items:center}";const Y=class{constructor(r){t(this,r)}render(){return r(e,{slot:"error"},r("slot",null))}};Y.style=":host{margin-top:0.25rem;color:var(--wcs-red)}";const Z=class{constructor(r){t(this,r)}render(){return r(e,null,r("slot",{name:"label"}),r("slot",{name:"content"}))}};Z.style=":host{display:flex;flex-direction:column;margin-top:var(--wcs-base-margin);margin-bottom:calc(var(--wcs-base-margin) * 2)}::slotted([slot=label]){font-size:1rem;line-height:1.375;font-weight:500;margin-bottom:calc(var(--wcs-base-margin) / 2);color:var(--wcs-gray-light)}::slotted([slot=content]){font-size:1rem;font-weight:400;color:var(--wcs-gray-light)}";const q=class{constructor(r){t(this,r)}render(){return r(e,{slot:"content"},r("slot",null))}},$=class{constructor(r){t(this,r)}render(){return r(e,{slot:"label"},r("slot",null))}},J=class{constructor(r){t(this,r)}render(){return r(e,null,r("div",{class:"container"},r("div",null,r("slot",null)),r("div",{class:"end"},r("div",null,r("slot",{name:"end-left"})),r("div",null,r("slot",{name:"end-right"})))))}};J.style=":host{display:block;width:100%;background-color:var(--wcs-gray);color:white}:host .end{margin-top:calc(2*var(--wcs-base-margin));width:100%;display:flex;justify-content:space-between;align-items:center}:host .end slot[name=end-left]::slotted(a){color:var(--wcs-text-disabled);text-decoration:none;font-size:14px;font-weight:500;margin-right:35px}:host .end slot[name=end-left]::slotted(a:hover){color:var(--wcs-white)}:host .container{margin:0 auto;max-width:var(--wcs-com-content-max-width);display:flex;flex-direction:column;padding:20px}";const K=class{constructor(r){t(this,r),this.isError=!1,this.hasPrefix=!1,this.hasSuffix=!1}componentWillLoad(){this.hasSuffix=null!==this.el.querySelector("wcs-button"),this.hasPrefix=null!==this.el.querySelector("wcs-select")}componentDidLoad(){this.initSpiedElement(),this.addRequiredMarkerToLabel(),this.updateErrorStateOnInput(this.isError)}isErrorChange(t){this.updateErrorStateOnInput(t)}updateErrorStateOnInput(t){this.spiedElementIsOfType("wcs-input","wcs-textarea")&&this.spiedElement.setAttribute("state",t?"error":"initial")}spiedElementIsOfType(...t){var r;for(const e of t)if((null===(r=this.spiedElement)||void 0===r?void 0:r.tagName)===e.toUpperCase())return!0;return!1}addRequiredMarkerToLabel(){var t;const r=this.el.querySelector("wcs-label");this.observer=new MutationObserver((t=>{var e;t.filter((t=>"required"===t.attributeName))[0]&&this.updateLabelRequiredFlag(null===(e=this.spiedElement)||void 0===e?void 0:e.hasAttribute("required"),r)})),this.spiedElement&&this.observer.observe(this.spiedElement,{attributes:!0});const e=null===(t=this.spiedElement)||void 0===t?void 0:t.hasAttribute("required");this.updateLabelRequiredFlag(e,r)}initSpiedElement(){var t;const r=["wcs-input","wcs-select","wcs-textarea","wcs-radio-group","wcs-switch","wcs-checkbox"];if(this.spiedElement=null===(t=this.el.shadowRoot.querySelector("slot:not([name])"))||void 0===t?void 0:t.assignedElements()[0],"SLOT"===this.spiedElement.tagName&&(this.spiedElement=this.spiedElement.assignedElements().filter((t=>-1!==r.map((t=>t.toUpperCase())).indexOf(t.nodeName)))[0]),!this.spiedElement)throw new Error("You must provide a slotted element in form field");-1===r.map((t=>t.toUpperCase())).indexOf(this.spiedElement.tagName)&&console.warn("form-field component support "+r.toString()+". Some features may not work with the provided component (component "+this.spiedElement.tagName+" not natively supported).")}updateLabelRequiredFlag(t,r){t&&r?r.setAttribute("required","true"):!t&&r&&r.removeAttribute("required")}disconnectedCallback(){this.observer.disconnect()}render(){let t="";const n=this.isError;return this.hasSuffix&&(t+=" has-suffix"),this.hasPrefix&&(t+=" has-prefix"),r(e,{class:t},r("slot",{name:"label"}),r("div",{class:"input-container"},r("slot",{name:"prefix"}),r("slot",{onSlotchange:()=>this.onFormInputSlotChange()}),r("slot",{name:"suffix"})),n?r("slot",{name:"error"}):"",r("slot",{name:"messages"}))}onFormInputSlotChange(){this.initSpiedElement(),this.addRequiredMarkerToLabel(),this.updateErrorStateOnInput(this.isError)}get el(){return n(this)}static get watchers(){return{isError:["isErrorChange"]}}};K.style=":host{--wcs-form-field-icon-color:var(--wcs-text-medium);--wcs-form-field-border-radius-left:var(--wcs-border-radius);--wcs-form-field-border-radius-right:var(--wcs-border-radius);display:inline-flex;flex-direction:column}.input-container{display:flex}::slotted(wcs-radio-group){margin-left:var(--wcs-base-margin)}::slotted(wcs-radio-group[mode=option]){margin-left:0}::slotted(wcs-select:not([slot=prefix])){width:100%}::slotted(label){font-weight:500;margin-bottom:8px}:host(.has-prefix){--wcs-input-border-radius-left:0}:host(.has-suffix){--wcs-input-border-radius-right:0}::slotted([slot=prefix]){--wcs-select-border-radius:var(--wcs-border-radius) 0 0 var(--wcs-border-radius);--wcs-select-background-color:var(--wcs-gray-light);--wcs-select-value-color:var(--wcs-white);--wcs-select-placeholder-color:var(--wcs-white);--wcs-select-border-color:var(--wcs-gray-light)}::slotted([slot=suffix]){--wcs-button-border-radius:0 var(--wcs-border-radius) var(--wcs-border-radius) 0}";const Q=class{constructor(r){t(this,r),this.show=!1}render(){return r(e,null,r("div",{class:"container"},r("div",{class:"container-left"},r("img",{src:X,id:"sncf-logo",alt:"Logo SNCF"}),r("span",null,this.text)),r("div",{class:"menu"},r("slot",null))))}get el(){return n(this)}},X="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KCTxsaW5lYXJHcmFkaWVudCBpZD0iU1ZHX0dSQURJRU5UIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAiIHkxPSIxNiIgeDI9IjMxLjk1OTMiIHkyPSIxNiI+DQoJCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiM4MzJGNzAiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC4yNDcyIiBzdHlsZT0ic3RvcC1jb2xvcjojQUMyODdDIi8+DQoJCTxzdG9wICBvZmZzZXQ9IjAuODE0NiIgc3R5bGU9InN0b3AtY29sb3I6I0RGMjUzMCIvPg0KCQk8c3RvcCAgb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojREYyNTMwIi8+DQoJPC9saW5lYXJHcmFkaWVudD4NCgk8cGF0aCBmaWxsPSJ1cmwoI1NWR19HUkFESUVOVCkiIGQ9Ik0wLjYsNy43QzAuMiw3LjcsMCw3LjgsMCw4LjJ2MTUuN2MwLDAuMywwLjIsMC41LDAuNSwwLjVoMjhjMC4zLDAsMC41LDAsMC42LTAuNGMwLDAsMi44LTguOSwyLjktOSBjMC4xLTAuMywwLTAuNS0wLjMtMC43QzIyLjYsOC41LDguOSw3LjYsMi44LDcuNkMxLjksNy42LDEuMSw3LjYsMC42LDcuN3oiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNi40LDE3LjdjLTEtMC41LTEuNy0wLjgtMS42LTEuM0M1LDE1LjgsNi4xLDE1LjYsNywxNS42YzAuNSwwLDAuOCwwLjEsMS4yLDAuMmwwLjMtMS4xIGMtMC41LTAuMS0wLjgtMC4xLTEuNC0wLjFjLTEuOSwwLTMuNiwwLjUtNCwxLjZjLTAuNSwxLjMsMC45LDIsMi4yLDIuNmMxLDAuNSwxLjgsMC45LDEuNSwxLjVjLTAuMiwwLjUtMC45LDAuNy0yLDAuNyBjLTAuOSwwLTItMC4zLTIuOS0wLjdsLTAuNSwxLjFjMC42LDAuMywyLDAuNywzLjEsMC43YzIuMSwwLDMuNS0wLjUsNC4xLTEuN0M5LjMsMTkuMSw3LjcsMTguMyw2LjQsMTcuN3oiLz4NCgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNOS4zLDE5LjZDOS4zLDE5LjcsOS4zLDE5LjcsOS4zLDE5LjZjMC4xLDAsMC4xLDAsMC4xLDBjMCwwLDEtMy4yLDEtMy4yYzEuMSwxLjUsMi4xLDMuNSwyLjcsNS42aDEuNyBsMC45LTIuN2MwLDAsMCwwLDAuMSwwYzAsMCwwLDAsMC4xLDBjMC4zLDEuNywxLjksMi44LDQuMywyLjhjMS41LDAsMi45LTAuNCwzLjItMC42bDAuOS0yLjhoMy40bDAuMy0xLjFoLTMuNGwwLjYtMS44aDQuMSBsMC40LTEuMWgtNS43bC0xLjksNi4xYy0wLjQsMC4xLTAuOSwwLjItMS41LDAuMmMtMS4xLDAtMi4xLTAuMy0yLjYtMC45Yy0wLjQtMC41LTAuNS0xLTAuNC0xLjdjMC4yLTEuNiwxLjgtMi42LDMuOC0yLjYgYzAuNCwwLDAuOSwwLDEuMywwLjFsMC40LTEuMmMtMC41LTAuMS0xLjEtMC4xLTEuNy0wLjFjLTEuOCwwLTMuNCwwLjYtNC40LDEuN2MwLDAtMC4xLDAtMC4xLDBjMCwwLTAuMSwwLDAsMGwwLjUtMS42aC0xLjUgTDE0LDE5LjhjLTAuNS0xLjUtMS42LTMuNS0yLjktNS4xSDkuNWwtMS4yLDMuN0M4LjksMTguOCw5LjEsMTkuMiw5LjMsMTkuNnoiLz4NCjwvc3ZnPg0K";Q.style=":host{display:block;background-color:var(--wcs-gray)}.container{height:32px;align-items:center;justify-content:space-between;color:var(--wcs-white);font-size:14px;display:flex;max-width:var(--wcs-com-content-max-width);margin:0 auto}.container #sncf-logo{height:32px;margin-right:20px}.container .container-left{display:flex;align-items:center}";var tt="top",rt="bottom",et="right",nt="left",it=[tt,rt,et,nt],ot=it.reduce((function(t,r){return t.concat([r+"-start",r+"-end"])}),[]),st=[].concat(it,["auto"]).reduce((function(t,r){return t.concat([r,r+"-start",r+"-end"])}),[]),at=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ct(t){return t?(t.nodeName||"").toLowerCase():null}function ut(t){if(null==t)return window;if("[object Window]"!==t.toString()){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function lt(t){return t instanceof ut(t).Element||t instanceof Element}function ft(t){return t instanceof ut(t).HTMLElement||t instanceof HTMLElement}function ht(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ut(t).ShadowRoot||t instanceof ShadowRoot)}function dt(t){return t.split("-")[0]}var pt=Math.round;function mt(t,r){void 0===r&&(r=!1);var e=t.getBoundingClientRect(),n=1,i=1;return ft(t)&&r&&(n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1),{width:pt(e.width/n),height:pt(e.height/i),top:pt(e.top/i),right:pt(e.right/n),bottom:pt(e.bottom/i),left:pt(e.left/n),x:pt(e.left/n),y:pt(e.top/i)}}function vt(t){var r=mt(t),e=t.offsetWidth,n=t.offsetHeight;return Math.abs(r.width-e)<=1&&(e=r.width),Math.abs(r.height-n)<=1&&(n=r.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:n}}function gt(t,r){var e=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(e&&ht(e)){var n=r;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function wt(t){return ut(t).getComputedStyle(t)}function bt(t){return["table","td","th"].indexOf(ct(t))>=0}function yt(t){return((lt(t)?t.ownerDocument:t.document)||window.document).documentElement}function xt(t){return"html"===ct(t)?t:t.assignedSlot||t.parentNode||(ht(t)?t.host:null)||yt(t)}function kt(t){return ft(t)&&"fixed"!==wt(t).position?t.offsetParent:null}function Ct(t){for(var r=ut(t),e=kt(t);e&&bt(e)&&"static"===wt(e).position;)e=kt(e);return e&&("html"===ct(e)||"body"===ct(e)&&"static"===wt(e).position)?r:e||function(t){var r=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ft(t)&&"fixed"===wt(t).position)return null;for(var e=xt(t);ft(e)&&["html","body"].indexOf(ct(e))<0;){var n=wt(e);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||r&&"filter"===n.willChange||r&&n.filter&&"none"!==n.filter)return e;e=e.parentNode}return null}(t)||r}function jt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var Lt=Math.max,St=Math.min,_t=Math.round;function Mt(t,r,e){return Lt(t,St(r,e))}function zt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Ot(t,r){return r.reduce((function(r,e){return r[e]=t,r}),{})}var At={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Et(t){var r,e=t.popper,n=t.popperRect,i=t.placement,o=t.offsets,s=t.position,a=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,l=!0===u?function(t){var r=t.y,e=window.devicePixelRatio||1;return{x:_t(_t(t.x*e)/e)||0,y:_t(_t(r*e)/e)||0}}(o):"function"==typeof u?u(o):o,f=l.x,h=void 0===f?0:f,d=l.y,p=void 0===d?0:d,m=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),g=nt,w=tt,b=window;if(c){var y=Ct(e),x="clientHeight",k="clientWidth";y===ut(e)&&"static"!==wt(y=yt(e)).position&&(x="scrollHeight",k="scrollWidth"),y=y,i===tt&&(w=rt,p-=y[x]-n.height,p*=a?1:-1),i===nt&&(g=et,h-=y[k]-n.width,h*=a?1:-1)}var C,j=Object.assign({position:s},c&&At);return Object.assign({},j,a?((C={})[w]=v?"0":"",C[g]=m?"0":"",C.transform=(b.devicePixelRatio||1)<2?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",C):((r={})[w]=v?p+"px":"",r[g]=m?h+"px":"",r.transform="",r))}var Dt={passive:!0},It={left:"right",right:"left",bottom:"top",top:"bottom"};function Tt(t){return t.replace(/left|right|bottom|top/g,(function(t){return It[t]}))}var Nt={start:"end",end:"start"};function Rt(t){return t.replace(/start|end/g,(function(t){return Nt[t]}))}function Ft(t){var r=ut(t);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Vt(t){return mt(yt(t)).left+Ft(t).scrollLeft}function Ut(t){var r=wt(t);return/auto|scroll|overlay|hidden/.test(r.overflow+r.overflowY+r.overflowX)}function Wt(t){return["html","body","#document"].indexOf(ct(t))>=0?t.ownerDocument.body:ft(t)&&Ut(t)?t:Wt(xt(t))}function Bt(t,r){var e;void 0===r&&(r=[]);var n=Wt(t),i=n===(null==(e=t.ownerDocument)?void 0:e.body),o=ut(n),s=i?[o].concat(o.visualViewport||[],Ut(n)?n:[]):n,a=r.concat(s);return i?a:a.concat(Bt(xt(s)))}function Pt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ht(t,r){return"viewport"===r?Pt(function(t){var r=ut(t),e=yt(t),n=r.visualViewport,i=e.clientWidth,o=e.clientHeight,s=0,a=0;return n&&(i=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=n.offsetLeft,a=n.offsetTop)),{width:i,height:o,x:s+Vt(t),y:a}}(t)):ft(r)?function(t){var r=mt(t);return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}(r):Pt(function(t){var r,e=yt(t),n=Ft(t),i=null==(r=t.ownerDocument)?void 0:r.body,o=Lt(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Lt(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+Vt(t),c=-n.scrollTop;return"rtl"===wt(i||e).direction&&(a+=Lt(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}(yt(t)))}function Gt(t){return t.split("-")[1]}function Yt(t){var r,e=t.reference,n=t.element,i=t.placement,o=i?dt(i):null,s=i?Gt(i):null,a=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2;switch(o){case tt:r={x:a,y:e.y-n.height};break;case rt:r={x:a,y:e.y+e.height};break;case et:r={x:e.x+e.width,y:c};break;case nt:r={x:e.x-n.width,y:c};break;default:r={x:e.x,y:e.y}}var u=o?jt(o):null;if(null!=u){var l="y"===u?"height":"width";switch(s){case"start":r[u]=r[u]-(e[l]/2-n[l]/2);break;case"end":r[u]=r[u]+(e[l]/2-n[l]/2)}}return r}function Zt(t,r){void 0===r&&(r={});var e=r.placement,n=void 0===e?t.placement:e,i=r.boundary,o=void 0===i?"clippingParents":i,s=r.rootBoundary,a=void 0===s?"viewport":s,c=r.elementContext,u=void 0===c?"popper":c,l=r.altBoundary,f=void 0!==l&&l,h=r.padding,d=void 0===h?0:h,p=zt("number"!=typeof d?d:Ot(d,it)),m=t.elements.reference,v=t.rects.popper,g=t.elements[f?"popper"===u?"reference":"popper":u],w=function(t,r,e){var n="clippingParents"===r?function(t){var r=Bt(xt(t)),e=["absolute","fixed"].indexOf(wt(t).position)>=0&&ft(t)?Ct(t):t;return lt(e)?r.filter((function(t){return lt(t)&&gt(t,e)&&"body"!==ct(t)})):[]}(t):[].concat(r),i=[].concat(n,[e]),o=i.reduce((function(r,e){var n=Ht(t,e);return r.top=Lt(n.top,r.top),r.right=St(n.right,r.right),r.bottom=St(n.bottom,r.bottom),r.left=Lt(n.left,r.left),r}),Ht(t,i[0]));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(lt(g)?g:g.contextElement||yt(t.elements.popper),o,a),b=mt(m),y=Yt({reference:b,element:v,strategy:"absolute",placement:n}),x=Pt(Object.assign({},v,y)),k="popper"===u?x:b,C={top:w.top-k.top+p.top,bottom:k.bottom-w.bottom+p.bottom,left:w.left-k.left+p.left,right:k.right-w.right+p.right},j=t.modifiersData.offset;if("popper"===u&&j){var L=j[n];Object.keys(C).forEach((function(t){var r=[et,rt].indexOf(t)>=0?1:-1,e=[tt,rt].indexOf(t)>=0?"y":"x";C[t]+=L[e]*r}))}return C}function qt(t,r){void 0===r&&(r={});var e=r.boundary,n=r.rootBoundary,i=r.padding,o=r.flipVariations,s=r.allowedAutoPlacements,a=void 0===s?st:s,c=Gt(r.placement),u=c?o?ot:ot.filter((function(t){return Gt(t)===c})):it,l=u.filter((function(t){return a.indexOf(t)>=0}));0===l.length&&(l=u);var f=l.reduce((function(r,o){return r[o]=Zt(t,{placement:o,boundary:e,rootBoundary:n,padding:i})[dt(o)],r}),{});return Object.keys(f).sort((function(t,r){return f[t]-f[r]}))}function $t(t,r,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-r.height-e.y,right:t.right-r.width+e.x,bottom:t.bottom-r.height+e.y,left:t.left-r.width-e.x}}function Jt(t){return[tt,et,rt,nt].some((function(r){return t[r]>=0}))}function Kt(t,r,e){void 0===e&&(e=!1);var n,i,o=ft(r),s=ft(r)&&function(t){var r=t.getBoundingClientRect();return 1!==(r.width/t.offsetWidth||1)||1!==(r.height/t.offsetHeight||1)}(r),a=yt(r),c=mt(t,s),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!e)&&(("body"!==ct(r)||Ut(a))&&(u=(n=r)!==ut(n)&&ft(n)?{scrollLeft:(i=n).scrollLeft,scrollTop:i.scrollTop}:Ft(n)),ft(r)?((l=mt(r,!0)).x+=r.clientLeft,l.y+=r.clientTop):a&&(l.x=Vt(a))),{x:c.left+u.scrollLeft-l.x,y:c.top+u.scrollTop-l.y,width:c.width,height:c.height}}function Qt(t){var r=new Map,e=new Set,n=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var n=r.get(t);n&&i(n)}})),n.push(t)}return t.forEach((function(t){r.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),n}var Xt={placement:"bottom",modifiers:[],strategy:"absolute"};function tr(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return!r.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function rr(t){void 0===t&&(t={});var r=t.defaultModifiers,e=void 0===r?[]:r,n=t.defaultOptions,i=void 0===n?Xt:n;return function(t,r,n){void 0===n&&(n=i);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xt,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}},c=[],u=!1,l={state:a,setOptions:function(n){f(),a.options=Object.assign({},i,a.options,n),a.scrollParents={reference:lt(t)?Bt(t):t.contextElement?Bt(t.contextElement):[],popper:Bt(r)};var o,s,u=function(t){var r=Qt(t);return at.reduce((function(t,e){return t.concat(r.filter((function(t){return t.phase===e})))}),[])}((o=[].concat(e,a.options.modifiers),s=o.reduce((function(t,r){var e=t[r.name];return t[r.name]=e?Object.assign({},e,r,{options:Object.assign({},e.options,r.options),data:Object.assign({},e.data,r.data)}):r,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return a.orderedModifiers=u.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var r=t.options,e=t.effect;if("function"==typeof e){var n=e({state:a,name:t.name,instance:l,options:void 0===r?{}:r});c.push(n||function(){})}})),l.update()},forceUpdate:function(){if(!u){var t=a.elements,r=t.reference,e=t.popper;if(tr(r,e)){a.rects={reference:Kt(r,Ct(e),"fixed"===a.options.strategy),popper:vt(e)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var i=a.orderedModifiers[n],o=i.fn,s=i.options;"function"==typeof o&&(a=o({state:a,options:void 0===s?{}:s,name:i.name,instance:l})||a)}else a.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){f(),u=!0}};if(!tr(t,r))return l;function f(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var er=rr({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var r=t.state,e=t.instance,n=t.options,i=n.scroll,o=void 0===i||i,s=n.resize,a=void 0===s||s,c=ut(r.elements.popper),u=[].concat(r.scrollParents.reference,r.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",e.update,Dt)})),a&&c.addEventListener("resize",e.update,Dt),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",e.update,Dt)})),a&&c.removeEventListener("resize",e.update,Dt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var r=t.state;r.modifiersData[t.name]=Yt({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var r=t.state,e=t.options,n=e.gpuAcceleration,i=void 0===n||n,o=e.adaptive,s=void 0===o||o,a=e.roundOffsets,c=void 0===a||a,u={placement:dt(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:i};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign({},r.styles.popper,Et(Object.assign({},u,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:s,roundOffsets:c})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign({},r.styles.arrow,Et(Object.assign({},u,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var r=t.state;Object.keys(r.elements).forEach((function(t){var e=r.styles[t]||{},n=r.attributes[t]||{},i=r.elements[t];ft(i)&&ct(i)&&(Object.assign(i.style,e),Object.keys(n).forEach((function(t){var r=n[t];!1===r?i.removeAttribute(t):i.setAttribute(t,!0===r?"":r)})))}))},effect:function(t){var r=t.state,e={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,e.popper),r.styles=e,r.elements.arrow&&Object.assign(r.elements.arrow.style,e.arrow),function(){Object.keys(r.elements).forEach((function(t){var n=r.elements[t],i=r.attributes[t]||{},o=Object.keys(r.styles.hasOwnProperty(t)?r.styles[t]:e[t]).reduce((function(t,r){return t[r]="",t}),{});ft(n)&&ct(n)&&(Object.assign(n.style,o),Object.keys(i).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var r=t.state,e=t.name,n=t.options.offset,i=void 0===n?[0,0]:n,o=st.reduce((function(t,e){return t[e]=function(t,r,e){var n=dt(t),i=[nt,tt].indexOf(n)>=0?-1:1,o="function"==typeof e?e(Object.assign({},r,{placement:t})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[nt,et].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}(e,r.rects,i),t}),{}),s=o[r.placement],a=s.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=s.x,r.modifiersData.popperOffsets.y+=a),r.modifiersData[e]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var r=t.state,e=t.options,n=t.name;if(!r.modifiersData[n]._skip){for(var i=e.mainAxis,o=void 0===i||i,s=e.altAxis,a=void 0===s||s,c=e.fallbackPlacements,u=e.padding,l=e.boundary,f=e.rootBoundary,h=e.altBoundary,d=e.flipVariations,p=void 0===d||d,m=e.allowedAutoPlacements,v=r.options.placement,g=dt(v),w=c||(g!==v&&p?function(t){if("auto"===dt(t))return[];var r=Tt(t);return[Rt(t),r,Rt(r)]}(v):[Tt(v)]),b=[v].concat(w).reduce((function(t,e){return t.concat("auto"===dt(e)?qt(r,{placement:e,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:m}):e)}),[]),y=r.rects.reference,x=r.rects.popper,k=new Map,C=!0,j=b[0],L=0;L<b.length;L++){var S=b[L],_=dt(S),M="start"===Gt(S),z=[tt,rt].indexOf(_)>=0,O=z?"width":"height",A=Zt(r,{placement:S,boundary:l,rootBoundary:f,altBoundary:h,padding:u}),E=z?M?et:nt:M?rt:tt;y[O]>x[O]&&(E=Tt(E));var D=Tt(E),I=[];if(o&&I.push(A[_]<=0),a&&I.push(A[E]<=0,A[D]<=0),I.every((function(t){return t}))){j=S,C=!1;break}k.set(S,I)}if(C)for(var T=function(t){var r=b.find((function(r){var e=k.get(r);if(e)return e.slice(0,t).every((function(t){return t}))}));if(r)return j=r,"break"},N=p?3:1;N>0&&"break"!==T(N);N--);r.placement!==j&&(r.modifiersData[n]._skip=!0,r.placement=j,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var r=t.state,e=t.options,n=t.name,i=e.mainAxis,o=void 0===i||i,s=e.altAxis,a=void 0!==s&&s,c=e.tether,u=void 0===c||c,l=e.tetherOffset,f=void 0===l?0:l,h=Zt(r,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),d=dt(r.placement),p=Gt(r.placement),m=!p,v=jt(d),g="x"===v?"y":"x",w=r.modifiersData.popperOffsets,b=r.rects.reference,y=r.rects.popper,x="function"==typeof f?f(Object.assign({},r.rects,{placement:r.placement})):f,k={x:0,y:0};if(w){if(o||a){var C="y"===v?tt:nt,j="y"===v?rt:et,L="y"===v?"height":"width",S=w[v],_=w[v]+h[C],M=w[v]-h[j],z=u?-y[L]/2:0,O="start"===p?b[L]:y[L],A="start"===p?-y[L]:-b[L],E=r.elements.arrow,D=u&&E?vt(E):{width:0,height:0},I=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},T=I[C],N=I[j],R=Mt(0,b[L],D[L]),F=m?b[L]/2-z-R-T-x:O-R-T-x,V=m?-b[L]/2+z+R+N+x:A+R+N+x,U=r.elements.arrow&&Ct(r.elements.arrow),W=r.modifiersData.offset?r.modifiersData.offset[r.placement][v]:0,B=w[v]+F-W-(U?"y"===v?U.clientTop||0:U.clientLeft||0:0),P=w[v]+V-W;if(o){var H=Mt(u?St(_,B):_,S,u?Lt(M,P):M);w[v]=H,k[v]=H-S}if(a){var G=w[g],Y=G+h["x"===v?tt:nt],Z=G-h["x"===v?rt:et],q=Mt(u?St(Y,B):Y,G,u?Lt(Z,P):Z);w[g]=q,k[g]=q-G}}r.modifiersData[n]=k}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var r,e=t.state,n=t.name,i=t.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=dt(e.placement),c=jt(a),u=[nt,et].indexOf(a)>=0?"height":"width";if(o&&s){var l=function(t,r){return zt("number"!=typeof(t="function"==typeof t?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:Ot(t,it))}(i.padding,e),f=vt(o),h="y"===c?tt:nt,d="y"===c?rt:et,p=e.rects.reference[u]+e.rects.reference[c]-s[c]-e.rects.popper[u],m=s[c]-e.rects.reference[c],v=Ct(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,w=g/2-f[u]/2+(p/2-m/2),b=Mt(l[h],w,g-f[u]-l[d]);e.modifiersData[n]=((r={})[c]=b,r.centerOffset=b-w,r)}},effect:function(t){var r=t.state,e=t.options.element,n=void 0===e?"[data-popper-arrow]":e;null!=n&&("string"!=typeof n||(n=r.elements.popper.querySelector(n)))&&gt(r.elements.popper,n)&&(r.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var r=t.state,e=t.name,n=r.rects.reference,i=r.rects.popper,o=r.modifiersData.preventOverflow,s=Zt(r,{elementContext:"reference"}),a=Zt(r,{altBoundary:!0}),c=$t(s,n),u=$t(a,i,o),l=Jt(c),f=Jt(u);r.modifiersData[e]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]});const nr=class{constructor(r){t(this,r),this.showPopoverMenu=!1}componentDidLoad(){this.menu=this.el.shadowRoot.getElementById("toggle-menu-icon"),this.tooltip=this.el.shadowRoot.getElementById("menu"),this.popper=er(this.menu,this.tooltip,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,8]}}]})}onWindowClickEvent(t){A(t,this.tooltip)||A(t,this.menu)||this.showPopoverMenu&&this.toogleMenu()}toogleMenu(){this.showPopoverMenu=!this.showPopoverMenu}componentDidRender(){this.popper&&this.popper.update()}render(){return r(e,null,r("span",null,this.text),r("wcs-mat-icon",{id:"toggle-menu-icon",icon:"more_horiz",size:"m",onClick:()=>{this.toogleMenu()}}),r("span",{id:"menu","data-show":this.showPopoverMenu},r("div",{id:"arrow","data-popper-arrow":!0}),r("slot",null)))}get el(){return n(this)}};function ir(t){switch(t){case"asc":return 1;case"desc":return-1}}nr.style='#menu{background-color:var(--wcs-gray);color:white;display:none;padding:var(--wcs-padding)}#menu[data-show]{display:block;z-index:9999}#menu[data-popper-placement^=top]>#arrow{bottom:-4px}#menu[data-popper-placement^=bottom]>#arrow{top:-4px}#menu[data-popper-placement^=left]>#arrow{right:-4px}#menu[data-popper-placement^=right]>#arrow{left:-4px}:host{display:flex;align-items:center;height:32px;padding-left:var(--wcs-padding);background-color:var(--wcs-gray-light)}#toggle-menu-icon{cursor:pointer;padding:0 var(--wcs-padding);user-select:none}#arrow,#arrow::before{position:absolute;width:8px;height:8px;background:inherit}#arrow{visibility:hidden}#arrow::before{visibility:visible;content:"";transform:rotate(45deg)}';var or,sr,ar="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},cr=(function(t,r){(function(){var e,n="Expected a function",i="__lodash_hash_undefined__",o="__lodash_placeholder__",s=32,a=128,c=1/0,u=9007199254740991,l=NaN,f=4294967295,h=[["ary",a],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",s],["partialRight",64],["rearg",256]],d="[object Arguments]",p="[object Array]",m="[object Boolean]",v="[object Date]",g="[object Error]",w="[object Function]",b="[object GeneratorFunction]",y="[object Map]",x="[object Number]",k="[object Object]",C="[object Promise]",j="[object RegExp]",L="[object Set]",S="[object String]",_="[object Symbol]",M="[object WeakMap]",z="[object ArrayBuffer]",O="[object DataView]",A="[object Float32Array]",E="[object Float64Array]",D="[object Int8Array]",I="[object Int16Array]",T="[object Int32Array]",N="[object Uint8Array]",R="[object Uint8ClampedArray]",F="[object Uint16Array]",V="[object Uint32Array]",U=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,G=RegExp(P.source),Y=RegExp(H.source),Z=/<%-([\s\S]+?)%>/g,q=/<%([\s\S]+?)%>/g,$=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,tt=RegExp(X.source),rt=/^\s+/,et=/\s/,nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,it=/\{\n\/\* \[wrapped with (.+)\] \*/,ot=/,? & /,st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,at=/[()=,{}\[\]\/\s]/,ct=/\\(\\)?/g,ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,lt=/\w*$/,ft=/^[-+]0x[0-9a-f]+$/i,ht=/^0b[01]+$/i,dt=/^\[object .+?Constructor\]$/,pt=/^0o[0-7]+$/i,mt=/^(?:0|[1-9]\d*)$/,vt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gt=/($^)/,wt=/['\n\r\u2028\u2029\\]/g,bt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",yt="a-z\\xdf-\\xf6\\xf8-\\xff",xt="A-Z\\xc0-\\xd6\\xd8-\\xde",kt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ct="["+kt+"]",jt="["+bt+"]",Lt="\\d+",St="["+yt+"]",_t="[^\\ud800-\\udfff"+kt+Lt+"\\u2700-\\u27bf"+yt+xt+"]",Mt="\\ud83c[\\udffb-\\udfff]",zt="[^\\ud800-\\udfff]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",Et="["+xt+"]",Dt="(?:"+St+"|"+_t+")",It="(?:"+Et+"|"+_t+")",Tt="(?:['’](?:d|ll|m|re|s|t|ve))?",Nt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Rt="(?:"+jt+"|"+Mt+")?",Ft="[\\ufe0e\\ufe0f]?",Vt=Ft+Rt+"(?:\\u200d(?:"+[zt,Ot,At].join("|")+")"+Ft+Rt+")*",Ut="(?:"+["[\\u2700-\\u27bf]",Ot,At].join("|")+")"+Vt,Wt="(?:"+[zt+jt+"?",jt,Ot,At,"[\\ud800-\\udfff]"].join("|")+")",Bt=RegExp("['’]","g"),Pt=RegExp(jt,"g"),Ht=RegExp(Mt+"(?="+Mt+")|"+Wt+Vt,"g"),Gt=RegExp([Et+"?"+St+"+"+Tt+"(?="+[Ct,Et,"$"].join("|")+")",It+"+"+Nt+"(?="+[Ct,Et+Dt,"$"].join("|")+")",Et+"?"+Dt+"+"+Tt,Et+"+"+Nt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Lt,Ut].join("|"),"g"),Yt=RegExp("[\\u200d\\ud800-\\udfff"+bt+"\\ufe0e\\ufe0f]"),Zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$t=-1,Jt={};Jt[A]=Jt[E]=Jt[D]=Jt[I]=Jt[T]=Jt[N]=Jt[R]=Jt[F]=Jt[V]=!0,Jt[d]=Jt[p]=Jt[z]=Jt[m]=Jt[O]=Jt[v]=Jt[g]=Jt[w]=Jt[y]=Jt[x]=Jt[k]=Jt[j]=Jt[L]=Jt[S]=Jt[M]=!1;var Kt={};Kt[d]=Kt[p]=Kt[z]=Kt[O]=Kt[m]=Kt[v]=Kt[A]=Kt[E]=Kt[D]=Kt[I]=Kt[T]=Kt[y]=Kt[x]=Kt[k]=Kt[j]=Kt[L]=Kt[S]=Kt[_]=Kt[N]=Kt[R]=Kt[F]=Kt[V]=!0,Kt[g]=Kt[w]=Kt[M]=!1;var Qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xt=parseFloat,tr=parseInt,rr="object"==typeof ar&&ar&&ar.Object===Object&&ar,er="object"==typeof self&&self&&self.Object===Object&&self,nr=rr||er||Function("return this")(),ir=r&&!r.nodeType&&r,or=ir&&t&&!t.nodeType&&t,sr=or&&or.exports===ir,cr=sr&&rr.process,ur=function(){try{return or&&or.require&&or.require("util").types||cr&&cr.binding&&cr.binding("util")}catch(t){}}(),lr=ur&&ur.isArrayBuffer,fr=ur&&ur.isDate,hr=ur&&ur.isMap,dr=ur&&ur.isRegExp,pr=ur&&ur.isSet,mr=ur&&ur.isTypedArray;function vr(t,r,e){switch(e.length){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function gr(t,r,e,n){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];r(n,s,e(s),t)}return n}function wr(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t}function br(t,r){for(var e=null==t?0:t.length;e--&&!1!==r(t[e],e,t););return t}function yr(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(!r(t[e],e,t))return!1;return!0}function xr(t,r){for(var e=-1,n=null==t?0:t.length,i=0,o=[];++e<n;){var s=t[e];r(s,e,t)&&(o[i++]=s)}return o}function kr(t,r){return!(null==t||!t.length)&&Er(t,r,0)>-1}function Cr(t,r,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(r,t[n]))return!0;return!1}function jr(t,r){for(var e=-1,n=null==t?0:t.length,i=Array(n);++e<n;)i[e]=r(t[e],e,t);return i}function Lr(t,r){for(var e=-1,n=r.length,i=t.length;++e<n;)t[i+e]=r[e];return t}function Sr(t,r,e,n){var i=-1,o=null==t?0:t.length;for(n&&o&&(e=t[++i]);++i<o;)e=r(e,t[i],i,t);return e}function _r(t,r,e,n){var i=null==t?0:t.length;for(n&&i&&(e=t[--i]);i--;)e=r(e,t[i],i,t);return e}function Mr(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1}var zr=Nr("length");function Or(t,r,e){var n;return e(t,(function(t,e,i){if(r(t,e,i))return n=e,!1})),n}function Ar(t,r,e,n){for(var i=t.length,o=e+(n?1:-1);n?o--:++o<i;)if(r(t[o],o,t))return o;return-1}function Er(t,r,e){return r==r?function(t,r,e){for(var n=e-1,i=t.length;++n<i;)if(t[n]===r)return n;return-1}(t,r,e):Ar(t,Ir,e)}function Dr(t,r,e,n){for(var i=e-1,o=t.length;++i<o;)if(n(t[i],r))return i;return-1}function Ir(t){return t!=t}function Tr(t,r){var e=null==t?0:t.length;return e?Vr(t,r)/e:l}function Nr(t){return function(r){return null==r?e:r[t]}}function Rr(t){return function(r){return null==t?e:t[r]}}function Fr(t,r,e,n,i){return i(t,(function(t,i,o){e=n?(n=!1,t):r(e,t,i,o)})),e}function Vr(t,r){for(var n,i=-1,o=t.length;++i<o;){var s=r(t[i]);s!==e&&(n=n===e?s:n+s)}return n}function Ur(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}function Wr(t){return t?t.slice(0,oe(t)+1).replace(rt,""):t}function Br(t){return function(r){return t(r)}}function Pr(t,r){return jr(r,(function(r){return t[r]}))}function Hr(t,r){return t.has(r)}function Gr(t,r){for(var e=-1,n=t.length;++e<n&&Er(r,t[e],0)>-1;);return e}function Yr(t,r){for(var e=t.length;e--&&Er(r,t[e],0)>-1;);return e}function Zr(t,r){for(var e=t.length,n=0;e--;)t[e]===r&&++n;return n}var qr=Rr({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),$r=Rr({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Jr(t){return"\\"+Qt[t]}function Kr(t){return Yt.test(t)}function Qr(t){var r=-1,e=Array(t.size);return t.forEach((function(t,n){e[++r]=[n,t]})),e}function Xr(t,r){return function(e){return t(r(e))}}function te(t,r){for(var e=-1,n=t.length,i=0,s=[];++e<n;){var a=t[e];a!==r&&a!==o||(t[e]=o,s[i++]=e)}return s}function re(t){var r=-1,e=Array(t.size);return t.forEach((function(t){e[++r]=t})),e}function ee(t){var r=-1,e=Array(t.size);return t.forEach((function(t){e[++r]=[t,t]})),e}function ne(t){return Kr(t)?function(t){for(var r=Ht.lastIndex=0;Ht.test(t);)++r;return r}(t):zr(t)}function ie(t){return Kr(t)?function(t){return t.match(Ht)||[]}(t):function(t){return t.split("")}(t)}function oe(t){for(var r=t.length;r--&&et.test(t.charAt(r)););return r}var se=Rr({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),ae=function t(r){var et,bt=(r=null==r?nr:ae.defaults(nr.Object(),r,ae.pick(nr,qt))).Array,yt=r.Date,xt=r.Error,kt=r.Function,Ct=r.Math,jt=r.Object,Lt=r.RegExp,St=r.String,_t=r.TypeError,Mt=bt.prototype,zt=jt.prototype,Ot=r["__core-js_shared__"],At=kt.prototype.toString,Et=zt.hasOwnProperty,Dt=0,It=(et=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||""))?"Symbol(src)_1."+et:"",Tt=zt.toString,Nt=At.call(jt),Rt=nr._,Ft=Lt("^"+At.call(Et).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=sr?r.Buffer:e,Ut=r.Symbol,Wt=r.Uint8Array,Ht=Vt?Vt.allocUnsafe:e,Yt=Xr(jt.getPrototypeOf,jt),Qt=jt.create,rr=zt.propertyIsEnumerable,er=Mt.splice,ir=Ut?Ut.isConcatSpreadable:e,or=Ut?Ut.iterator:e,ar=Ut?Ut.toStringTag:e,cr=function(){try{var t=co(jt,"defineProperty");return t({},"",{}),t}catch(t){}}(),ur=r.clearTimeout!==nr.clearTimeout&&r.clearTimeout,zr=yt&&yt.now!==nr.Date.now&&yt.now,Rr=r.setTimeout!==nr.setTimeout&&r.setTimeout,ce=Ct.ceil,ue=Ct.floor,le=jt.getOwnPropertySymbols,fe=Vt?Vt.isBuffer:e,he=r.isFinite,de=Mt.join,pe=Xr(jt.keys,jt),me=Ct.max,ve=Ct.min,ge=yt.now,we=r.parseInt,be=Ct.random,ye=Mt.reverse,xe=co(r,"DataView"),ke=co(r,"Map"),Ce=co(r,"Promise"),je=co(r,"Set"),Le=co(r,"WeakMap"),Se=co(jt,"create"),_e=Le&&new Le,Me={},ze=Fo(xe),Oe=Fo(ke),Ae=Fo(Ce),Ee=Fo(je),De=Fo(Le),Ie=Ut?Ut.prototype:e,Te=Ie?Ie.valueOf:e,Ne=Ie?Ie.toString:e;function Re(t){if(ra(t)&&!Hs(t)&&!(t instanceof We)){if(t instanceof Ue)return t;if(Et.call(t,"__wrapped__"))return Vo(t)}return new Ue(t)}var Fe=function(){function t(){}return function(r){if(!ta(r))return{};if(Qt)return Qt(r);t.prototype=r;var n=new t;return t.prototype=e,n}}();function Ve(){}function Ue(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=e}function We(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Be(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Pe(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function He(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}function Ge(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new He;++r<e;)this.add(t[r])}function Ye(t){var r=this.__data__=new Pe(t);this.size=r.size}function Ze(t,r){var e=Hs(t),n=!e&&Ps(t),i=!e&&!n&&qs(t),o=!e&&!n&&!i&&ua(t),s=e||n||i||o,a=s?Ur(t.length,St):[],c=a.length;for(var u in t)!r&&!Et.call(t,u)||s&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||vo(u,c))||a.push(u);return a}function qe(t){var r=t.length;return r?t[Gn(0,r-1)]:e}function $e(t,r){return Do(Si(t),on(r,0,t.length))}function Je(t){return Do(Si(t))}function Ke(t,r,n){(n!==e&&!Us(t[r],n)||n===e&&!(r in t))&&en(t,r,n)}function Qe(t,r,n){var i=t[r];Et.call(t,r)&&Us(i,n)&&(n!==e||r in t)||en(t,r,n)}function Xe(t,r){for(var e=t.length;e--;)if(Us(t[e][0],r))return e;return-1}function tn(t,r,e,n){return ln(t,(function(t,i,o){r(n,t,e(t),o)})),n}function rn(t,r){return t&&_i(r,Aa(r),t)}function en(t,r,e){"__proto__"==r&&cr?cr(t,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[r]=e}function nn(t,r){for(var n=-1,i=r.length,o=bt(i),s=null==t;++n<i;)o[n]=s?e:Sa(t,r[n]);return o}function on(t,r,n){return t==t&&(n!==e&&(t=t<=n?t:n),r!==e&&(t=t>=r?t:r)),t}function sn(t,r,n,i,o,s){var a,c=1&r,u=2&r,l=4&r;if(n&&(a=o?n(t,i,o,s):n(t)),a!==e)return a;if(!ta(t))return t;var f=Hs(t);if(f){if(a=function(t){var r=t.length,e=new t.constructor(r);return r&&"string"==typeof t[0]&&Et.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!c)return Si(t,a)}else{var h=fo(t),p=h==w||h==b;if(qs(t))return yi(t,c);if(h==k||h==d||p&&!o){if(a=u||p?{}:po(t),!c)return u?function(t,r){return _i(t,lo(t),r)}(t,function(t,r){return t&&_i(r,Ea(r),t)}(a,t)):function(t,r){return _i(t,uo(t),r)}(t,rn(a,t))}else{if(!Kt[h])return o?t:{};a=function(t,r,e){var n=t.constructor;switch(r){case z:return xi(t);case m:case v:return new n(+t);case O:return function(t,r){var e=r?xi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case A:case E:case D:case I:case T:case N:case R:case F:case V:return ki(t,e);case y:return new n;case x:case S:return new n(t);case j:return function(t){var r=new t.constructor(t.source,lt.exec(t));return r.lastIndex=t.lastIndex,r}(t);case L:return new n;case _:return Te?jt(Te.call(t)):{}}}(t,h,c)}}s||(s=new Ye);var g=s.get(t);if(g)return g;s.set(t,a),sa(t)?t.forEach((function(e){a.add(sn(e,r,n,e,t,s))})):ea(t)&&t.forEach((function(e,i){a.set(i,sn(e,r,n,i,t,s))}));var C=f?e:(l?u?ro:to:u?Ea:Aa)(t);return wr(C||t,(function(e,i){C&&(e=t[i=e]),Qe(a,i,sn(e,r,n,i,t,s))})),a}function an(t,r,n){var i=n.length;if(null==t)return!i;for(t=jt(t);i--;){var o=n[i],s=t[o];if(s===e&&!(o in t)||!(0,r[o])(s))return!1}return!0}function cn(t,r,i){if("function"!=typeof t)throw new _t(n);return zo((function(){t.apply(e,i)}),r)}function un(t,r,e,n){var i=-1,o=kr,s=!0,a=t.length,c=[],u=r.length;if(!a)return c;e&&(r=jr(r,Br(e))),n?(o=Cr,s=!1):r.length>=200&&(o=Hr,s=!1,r=new Ge(r));t:for(;++i<a;){var l=t[i],f=null==e?l:e(l);if(l=n||0!==l?l:0,s&&f==f){for(var h=u;h--;)if(r[h]===f)continue t;c.push(l)}else o(r,f,n)||c.push(l)}return c}Re.templateSettings={escape:Z,evaluate:q,interpolate:$,variable:"",imports:{_:Re}},(Re.prototype=Ve.prototype).constructor=Re,(Ue.prototype=Fe(Ve.prototype)).constructor=Ue,(We.prototype=Fe(Ve.prototype)).constructor=We,Be.prototype.clear=function(){this.__data__=Se?Se(null):{},this.size=0},Be.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},Be.prototype.get=function(t){var r=this.__data__;if(Se){var n=r[t];return n===i?e:n}return Et.call(r,t)?r[t]:e},Be.prototype.has=function(t){var r=this.__data__;return Se?r[t]!==e:Et.call(r,t)},Be.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Se&&r===e?i:r,this},Pe.prototype.clear=function(){this.__data__=[],this.size=0},Pe.prototype.delete=function(t){var r=this.__data__,e=Xe(r,t);return!(e<0||(e==r.length-1?r.pop():er.call(r,e,1),--this.size,0))},Pe.prototype.get=function(t){var r=this.__data__,n=Xe(r,t);return n<0?e:r[n][1]},Pe.prototype.has=function(t){return Xe(this.__data__,t)>-1},Pe.prototype.set=function(t,r){var e=this.__data__,n=Xe(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this},He.prototype.clear=function(){this.size=0,this.__data__={hash:new Be,map:new(ke||Pe),string:new Be}},He.prototype.delete=function(t){var r=so(this,t).delete(t);return this.size-=r?1:0,r},He.prototype.get=function(t){return so(this,t).get(t)},He.prototype.has=function(t){return so(this,t).has(t)},He.prototype.set=function(t,r){var e=so(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this},Ge.prototype.add=Ge.prototype.push=function(t){return this.__data__.set(t,i),this},Ge.prototype.has=function(t){return this.__data__.has(t)},Ye.prototype.clear=function(){this.__data__=new Pe,this.size=0},Ye.prototype.delete=function(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e},Ye.prototype.get=function(t){return this.__data__.get(t)},Ye.prototype.has=function(t){return this.__data__.has(t)},Ye.prototype.set=function(t,r){var e=this.__data__;if(e instanceof Pe){var n=e.__data__;if(!ke||n.length<199)return n.push([t,r]),this.size=++e.size,this;e=this.__data__=new He(n)}return e.set(t,r),this.size=e.size,this};var ln=Oi(wn),fn=Oi(bn,!0);function hn(t,r){var e=!0;return ln(t,(function(t,n,i){return e=!!r(t,n,i)})),e}function dn(t,r,n){for(var i=-1,o=t.length;++i<o;){var s=t[i],a=r(s);if(null!=a&&(c===e?a==a&&!ca(a):n(a,c)))var c=a,u=s}return u}function pn(t,r){var e=[];return ln(t,(function(t,n,i){r(t,n,i)&&e.push(t)})),e}function mn(t,r,e,n,i){var o=-1,s=t.length;for(e||(e=mo),i||(i=[]);++o<s;){var a=t[o];r>0&&e(a)?r>1?mn(a,r-1,e,n,i):Lr(i,a):n||(i[i.length]=a)}return i}var vn=Ai(),gn=Ai(!0);function wn(t,r){return t&&vn(t,r,Aa)}function bn(t,r){return t&&gn(t,r,Aa)}function yn(t,r){return xr(r,(function(r){return Ks(t[r])}))}function xn(t,r){for(var n=0,i=(r=vi(r,t)).length;null!=t&&n<i;)t=t[Ro(r[n++])];return n&&n==i?t:e}function kn(t,r,e){var n=r(t);return Hs(t)?n:Lr(n,e(t))}function Cn(t){return null==t?t===e?"[object Undefined]":"[object Null]":ar&&ar in jt(t)?function(t){var r=Et.call(t,ar),n=t[ar];try{t[ar]=e;var i=!0}catch(t){}var o=Tt.call(t);return i&&(r?t[ar]=n:delete t[ar]),o}(t):function(t){return Tt.call(t)}(t)}function jn(t,r){return t>r}function Ln(t,r){return null!=t&&Et.call(t,r)}function Sn(t,r){return null!=t&&r in jt(t)}function _n(t,r,n){for(var i=n?Cr:kr,o=t[0].length,s=t.length,a=s,c=bt(s),u=1/0,l=[];a--;){var f=t[a];a&&r&&(f=jr(f,Br(r))),u=ve(f.length,u),c[a]=!n&&(r||o>=120&&f.length>=120)?new Ge(a&&f):e}f=t[0];var h=-1,d=c[0];t:for(;++h<o&&l.length<u;){var p=f[h],m=r?r(p):p;if(p=n||0!==p?p:0,!(d?Hr(d,m):i(l,m,n))){for(a=s;--a;){var v=c[a];if(!(v?Hr(v,m):i(t[a],m,n)))continue t}d&&d.push(m),l.push(p)}}return l}function Mn(t,r,n){var i=null==(t=Lo(t,r=vi(r,t)))?t:t[Ro(Jo(r))];return null==i?e:vr(i,t,n)}function zn(t){return ra(t)&&Cn(t)==d}function On(t,r,n,i,o){return t===r||(null==t||null==r||!ra(t)&&!ra(r)?t!=t&&r!=r:function(t,r,n,i,o,s){var a=Hs(t),c=Hs(r),u=a?p:fo(t),l=c?p:fo(r),f=(u=u==d?k:u)==k,h=(l=l==d?k:l)==k,w=u==l;if(w&&qs(t)){if(!qs(r))return!1;a=!0,f=!1}if(w&&!f)return s||(s=new Ye),a||ua(t)?Qi(t,r,n,i,o,s):function(t,r,e,n,i,o,s){switch(e){case O:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case z:return!(t.byteLength!=r.byteLength||!o(new Wt(t),new Wt(r)));case m:case v:case x:return Us(+t,+r);case g:return t.name==r.name&&t.message==r.message;case j:case S:return t==r+"";case y:var a=Qr;case L:if(a||(a=re),t.size!=r.size&&!(1&n))return!1;var c=s.get(t);if(c)return c==r;n|=2,s.set(t,r);var u=Qi(a(t),a(r),n,i,o,s);return s.delete(t),u;case _:if(Te)return Te.call(t)==Te.call(r)}return!1}(t,r,u,n,i,o,s);if(!(1&n)){var b=f&&Et.call(t,"__wrapped__"),C=h&&Et.call(r,"__wrapped__");if(b||C){var M=b?t.value():t,A=C?r.value():r;return s||(s=new Ye),o(M,A,n,i,s)}}return!!w&&(s||(s=new Ye),function(t,r,n,i,o,s){var a=1&n,c=to(t),u=c.length;if(u!=to(r).length&&!a)return!1;for(var l=u;l--;){var f=c[l];if(!(a?f in r:Et.call(r,f)))return!1}var h=s.get(t),d=s.get(r);if(h&&d)return h==r&&d==t;var p=!0;s.set(t,r),s.set(r,t);for(var m=a;++l<u;){var v=t[f=c[l]],g=r[f];if(i)var w=a?i(g,v,f,r,t,s):i(v,g,f,t,r,s);if(!(w===e?v===g||o(v,g,n,i,s):w)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var b=t.constructor,y=r.constructor;b==y||!("constructor"in t)||!("constructor"in r)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(p=!1)}return s.delete(t),s.delete(r),p}(t,r,n,i,o,s))}(t,r,n,i,On,o))}function An(t,r,n,i){var o=n.length,s=o,a=!i;if(null==t)return!s;for(t=jt(t);o--;){var c=n[o];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<s;){var u=(c=n[o])[0],l=t[u],f=c[1];if(a&&c[2]){if(l===e&&!(u in t))return!1}else{var h=new Ye;if(i)var d=i(l,f,u,t,r,h);if(!(d===e?On(f,l,3,i,h):d))return!1}}return!0}function En(t){return!(!ta(t)||(r=t,It&&It in r))&&(Ks(t)?Ft:dt).test(Fo(t));var r}function Dn(t){return"function"==typeof t?t:null==t?nc:"object"==typeof t?Hs(t)?Fn(t[0],t[1]):Rn(t):hc(t)}function In(t){if(!xo(t))return pe(t);var r=[];for(var e in jt(t))Et.call(t,e)&&"constructor"!=e&&r.push(e);return r}function Tn(t,r){return t<r}function Nn(t,r){var e=-1,n=Ys(t)?bt(t.length):[];return ln(t,(function(t,i,o){n[++e]=r(t,i,o)})),n}function Rn(t){var r=ao(t);return 1==r.length&&r[0][2]?Co(r[0][0],r[0][1]):function(e){return e===t||An(e,t,r)}}function Fn(t,r){return wo(t)&&ko(r)?Co(Ro(t),r):function(n){var i=Sa(n,t);return i===e&&i===r?_a(n,t):On(r,i,3)}}function Vn(t,r,n,i,o){t!==r&&vn(r,(function(s,a){if(o||(o=new Ye),ta(s))!function(t,r,n,i,o,s,a){var c=_o(t,n),u=_o(r,n),l=a.get(u);if(l)Ke(t,n,l);else{var f=s?s(c,u,n+"",t,r,a):e,h=f===e;if(h){var d=Hs(u),p=!d&&qs(u),m=!d&&!p&&ua(u);f=u,d||p||m?Hs(c)?f=c:Zs(c)?f=Si(c):p?(h=!1,f=yi(u,!0)):m?(h=!1,f=ki(u,!0)):f=[]:ia(u)||Ps(u)?(f=c,Ps(c)?f=ga(c):ta(c)&&!Ks(c)||(f=po(u))):h=!1}h&&(a.set(u,f),o(f,u,i,s,a),a.delete(u)),Ke(t,n,f)}}(t,r,a,n,Vn,i,o);else{var c=i?i(_o(t,a),s,a+"",t,r,o):e;c===e&&(c=s),Ke(t,a,c)}}),Ea)}function Un(t,r){var n=t.length;if(n)return vo(r+=r<0?n:0,n)?t[r]:e}function Wn(t,r,e){r=r.length?jr(r,(function(t){return Hs(t)?function(r){return xn(r,1===t.length?t[0]:t)}:t})):[nc];var n=-1;return r=jr(r,Br(oo())),function(t){var r=t.length;for(t.sort((function(t,r){return function(t,r,e){for(var n=-1,i=t.criteria,o=r.criteria,s=i.length,a=e.length;++n<s;){var c=Ci(i[n],o[n]);if(c)return n>=a?c:c*("desc"==e[n]?-1:1)}return t.index-r.index}(t,r,e)}));r--;)t[r]=t[r].value;return t}(Nn(t,(function(t){return{criteria:jr(r,(function(r){return r(t)})),index:++n,value:t}})))}function Bn(t,r,e){for(var n=-1,i=r.length,o={};++n<i;){var s=r[n],a=xn(t,s);e(a,s)&&Jn(o,vi(s,t),a)}return o}function Pn(t,r,e,n){var i=n?Dr:Er,o=-1,s=r.length,a=t;for(t===r&&(r=Si(r)),e&&(a=jr(t,Br(e)));++o<s;)for(var c=0,u=r[o],l=e?e(u):u;(c=i(a,l,c,n))>-1;)a!==t&&er.call(a,c,1),er.call(t,c,1);return t}function Hn(t,r){for(var e=t?r.length:0,n=e-1;e--;){var i=r[e];if(e==n||i!==o){var o=i;vo(i)?er.call(t,i,1):ci(t,i)}}return t}function Gn(t,r){return t+ue(be()*(r-t+1))}function Yn(t,r){var e="";if(!t||r<1||r>u)return e;do{r%2&&(e+=t),(r=ue(r/2))&&(t+=t)}while(r);return e}function Zn(t,r){return Oo(jo(t,r,nc),t+"")}function qn(t){return qe(Ua(t))}function $n(t,r){var e=Ua(t);return Do(e,on(r,0,e.length))}function Jn(t,r,n,i){if(!ta(t))return t;for(var o=-1,s=(r=vi(r,t)).length,a=s-1,c=t;null!=c&&++o<s;){var u=Ro(r[o]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(o!=a){var f=c[u];(l=i?i(f,u,c):e)===e&&(l=ta(f)?f:vo(r[o+1])?[]:{})}Qe(c,u,l),c=c[u]}return t}var Kn=_e?function(t,r){return _e.set(t,r),t}:nc,Qn=cr?function(t,r){return cr(t,"toString",{configurable:!0,enumerable:!1,value:tc(r),writable:!0})}:nc;function Xn(t){return Do(Ua(t))}function ti(t,r,e){var n=-1,i=t.length;r<0&&(r=-r>i?0:i+r),(e=e>i?i:e)<0&&(e+=i),i=r>e?0:e-r>>>0,r>>>=0;for(var o=bt(i);++n<i;)o[n]=t[n+r];return o}function ri(t,r){var e;return ln(t,(function(t,n,i){return!(e=r(t,n,i))})),!!e}function ei(t,r,e){var n=0,i=null==t?n:t.length;if("number"==typeof r&&r==r&&i<=2147483647){for(;n<i;){var o=n+i>>>1,s=t[o];null!==s&&!ca(s)&&(e?s<=r:s<r)?n=o+1:i=o}return i}return ni(t,r,nc,e)}function ni(t,r,n,i){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(r=n(r))!=r,c=null===r,u=ca(r),l=r===e;o<s;){var f=ue((o+s)/2),h=n(t[f]),d=h!==e,p=null===h,m=h==h,v=ca(h);if(a)var g=i||m;else g=l?m&&(i||d):c?m&&d&&(i||!p):u?m&&d&&!p&&(i||!v):!p&&!v&&(i?h<=r:h<r);g?o=f+1:s=f}return ve(s,4294967294)}function ii(t,r){for(var e=-1,n=t.length,i=0,o=[];++e<n;){var s=t[e],a=r?r(s):s;if(!e||!Us(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function oi(t){return"number"==typeof t?t:ca(t)?l:+t}function si(t){if("string"==typeof t)return t;if(Hs(t))return jr(t,si)+"";if(ca(t))return Ne?Ne.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}function ai(t,r,e){var n=-1,i=kr,o=t.length,s=!0,a=[],c=a;if(e)s=!1,i=Cr;else if(o>=200){var u=r?null:Yi(t);if(u)return re(u);s=!1,i=Hr,c=new Ge}else c=r?[]:a;t:for(;++n<o;){var l=t[n],f=r?r(l):l;if(l=e||0!==l?l:0,s&&f==f){for(var h=c.length;h--;)if(c[h]===f)continue t;r&&c.push(f),a.push(l)}else i(c,f,e)||(c!==a&&c.push(f),a.push(l))}return a}function ci(t,r){return null==(t=Lo(t,r=vi(r,t)))||delete t[Ro(Jo(r))]}function ui(t,r,e,n){return Jn(t,r,e(xn(t,r)),n)}function li(t,r,e,n){for(var i=t.length,o=n?i:-1;(n?o--:++o<i)&&r(t[o],o,t););return e?ti(t,n?0:o,n?o+1:i):ti(t,n?o+1:0,n?i:o)}function fi(t,r){var e=t;return e instanceof We&&(e=e.value()),Sr(r,(function(t,r){return r.func.apply(r.thisArg,Lr([t],r.args))}),e)}function hi(t,r,e){var n=t.length;if(n<2)return n?ai(t[0]):[];for(var i=-1,o=bt(n);++i<n;)for(var s=t[i],a=-1;++a<n;)a!=i&&(o[i]=un(o[i]||s,t[a],r,e));return ai(mn(o,1),r,e)}function di(t,r,n){for(var i=-1,o=t.length,s=r.length,a={};++i<o;)n(a,t[i],i<s?r[i]:e);return a}function pi(t){return Zs(t)?t:[]}function mi(t){return"function"==typeof t?t:nc}function vi(t,r){return Hs(t)?t:wo(t,r)?[t]:No(wa(t))}var gi=Zn;function wi(t,r,n){var i=t.length;return n=n===e?i:n,!r&&n>=i?t:ti(t,r,n)}var bi=ur||function(t){return nr.clearTimeout(t)};function yi(t,r){if(r)return t.slice();var e=t.length,n=Ht?Ht(e):new t.constructor(e);return t.copy(n),n}function xi(t){var r=new t.constructor(t.byteLength);return new Wt(r).set(new Wt(t)),r}function ki(t,r){var e=r?xi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Ci(t,r){if(t!==r){var n=t!==e,i=null===t,o=t==t,s=ca(t),a=r!==e,c=null===r,u=r==r,l=ca(r);if(!c&&!l&&!s&&t>r||s&&a&&u&&!c&&!l||i&&a&&u||!n&&u||!o)return 1;if(!i&&!s&&!l&&t<r||l&&n&&o&&!i&&!s||c&&n&&o||!a&&o||!u)return-1}return 0}function ji(t,r,e,n){for(var i=-1,o=t.length,s=e.length,a=-1,c=r.length,u=me(o-s,0),l=bt(c+u),f=!n;++a<c;)l[a]=r[a];for(;++i<s;)(f||i<o)&&(l[e[i]]=t[i]);for(;u--;)l[a++]=t[i++];return l}function Li(t,r,e,n){for(var i=-1,o=t.length,s=-1,a=e.length,c=-1,u=r.length,l=me(o-a,0),f=bt(l+u),h=!n;++i<l;)f[i]=t[i];for(var d=i;++c<u;)f[d+c]=r[c];for(;++s<a;)(h||i<o)&&(f[d+e[s]]=t[i++]);return f}function Si(t,r){var e=-1,n=t.length;for(r||(r=bt(n));++e<n;)r[e]=t[e];return r}function _i(t,r,n,i){var o=!n;n||(n={});for(var s=-1,a=r.length;++s<a;){var c=r[s],u=i?i(n[c],t[c],c,n,t):e;u===e&&(u=t[c]),o?en(n,c,u):Qe(n,c,u)}return n}function Mi(t,r){return function(e,n){var i=Hs(e)?gr:tn,o=r?r():{};return i(e,t,oo(n,2),o)}}function zi(t){return Zn((function(r,n){var i=-1,o=n.length,s=o>1?n[o-1]:e,a=o>2?n[2]:e;for(s=t.length>3&&"function"==typeof s?(o--,s):e,a&&go(n[0],n[1],a)&&(s=o<3?e:s,o=1),r=jt(r);++i<o;){var c=n[i];c&&t(r,c,i,s)}return r}))}function Oi(t,r){return function(e,n){if(null==e)return e;if(!Ys(e))return t(e,n);for(var i=e.length,o=r?i:-1,s=jt(e);(r?o--:++o<i)&&!1!==n(s[o],o,s););return e}}function Ai(t){return function(r,e,n){for(var i=-1,o=jt(r),s=n(r),a=s.length;a--;){var c=s[t?a:++i];if(!1===e(o[c],c,o))break}return r}}function Ei(t){return function(r){var n=Kr(r=wa(r))?ie(r):e,i=n?n[0]:r.charAt(0),o=n?wi(n,1).join(""):r.slice(1);return i[t]()+o}}function Di(t){return function(r){return Sr(Ka(Pa(r).replace(Bt,"")),t,"")}}function Ii(t){return function(){var r=arguments;switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3]);case 5:return new t(r[0],r[1],r[2],r[3],r[4]);case 6:return new t(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new t(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var e=Fe(t.prototype),n=t.apply(e,r);return ta(n)?n:e}}function Ti(t){return function(r,n,i){var o=jt(r);if(!Ys(r)){var s=oo(n,3);r=Aa(r),n=function(t){return s(o[t],t,o)}}var a=t(r,n,i);return a>-1?o[s?r[a]:a]:e}}function Ni(t){return Xi((function(r){var i=r.length,o=i,s=Ue.prototype.thru;for(t&&r.reverse();o--;){var a=r[o];if("function"!=typeof a)throw new _t(n);if(s&&!c&&"wrapper"==no(a))var c=new Ue([],!0)}for(o=c?o:i;++o<i;){var u=no(a=r[o]),l="wrapper"==u?eo(a):e;c=l&&bo(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[no(l[0])].apply(c,l[3]):1==a.length&&bo(a)?c[u]():c.thru(a)}return function(){var t=arguments,e=t[0];if(c&&1==t.length&&Hs(e))return c.plant(e).value();for(var n=0,o=i?r[n].apply(this,t):e;++n<i;)o=r[n].call(this,o);return o}}))}function Ri(t,r,n,i,o,s,c,u,l,f){var h=r&a,d=1&r,p=2&r,m=24&r,v=512&r,g=p?e:Ii(t);return function e(){for(var a=arguments.length,w=bt(a),b=a;b--;)w[b]=arguments[b];if(m)var y=io(e),x=Zr(w,y);if(i&&(w=ji(w,i,o,m)),s&&(w=Li(w,s,c,m)),a-=x,m&&a<f){var k=te(w,y);return Hi(t,r,Ri,e.placeholder,n,w,k,u,l,f-a)}var C=d?n:this,j=p?C[t]:t;return a=w.length,u?w=So(w,u):v&&a>1&&w.reverse(),h&&l<a&&(w.length=l),this&&this!==nr&&this instanceof e&&(j=g||Ii(j)),j.apply(C,w)}}function Fi(t,r){return function(e,n){return function(t,r,e,n){return wn(t,(function(t,i,o){r(n,e(t),i,o)})),n}(e,t,r(n),{})}}function Vi(t,r){return function(n,i){var o;if(n===e&&i===e)return r;if(n!==e&&(o=n),i!==e){if(o===e)return i;"string"==typeof n||"string"==typeof i?(n=si(n),i=si(i)):(n=oi(n),i=oi(i)),o=t(n,i)}return o}}function Ui(t){return Xi((function(r){return r=jr(r,Br(oo())),Zn((function(e){var n=this;return t(r,(function(t){return vr(t,n,e)}))}))}))}function Wi(t,r){var n=(r=r===e?" ":si(r)).length;if(n<2)return n?Yn(r,t):r;var i=Yn(r,ce(t/ne(r)));return Kr(r)?wi(ie(i),0,t).join(""):i.slice(0,t)}function Bi(t){return function(r,n,i){return i&&"number"!=typeof i&&go(r,n,i)&&(n=i=e),r=da(r),n===e?(n=r,r=0):n=da(n),function(t,r,e,n){for(var i=-1,o=me(ce((r-t)/(e||1)),0),s=bt(o);o--;)s[n?o:++i]=t,t+=e;return s}(r,n,i=i===e?r<n?1:-1:da(i),t)}}function Pi(t){return function(r,e){return"string"==typeof r&&"string"==typeof e||(r=va(r),e=va(e)),t(r,e)}}function Hi(t,r,n,i,o,a,c,u,l,f){var h=8&r;r|=h?s:64,4&(r&=~(h?64:s))||(r&=-4);var d=[t,r,o,h?a:e,h?c:e,h?e:a,h?e:c,u,l,f],p=n.apply(e,d);return bo(t)&&Mo(p,d),p.placeholder=i,Ao(p,t,r)}function Gi(t){var r=Ct[t];return function(t,e){if(t=va(t),(e=null==e?0:ve(pa(e),292))&&he(t)){var n=(wa(t)+"e").split("e");return+((n=(wa(r(n[0]+"e"+(+n[1]+e)))+"e").split("e"))[0]+"e"+(+n[1]-e))}return r(t)}}var Yi=je&&1/re(new je([,-0]))[1]==c?function(t){return new je(t)}:cc;function Zi(t){return function(r){var e=fo(r);return e==y?Qr(r):e==L?ee(r):function(t,r){return jr(r,(function(r){return[r,t[r]]}))}(r,t(r))}}function qi(t,r,i,c,u,l,f,h){var d=2&r;if(!d&&"function"!=typeof t)throw new _t(n);var p=c?c.length:0;if(p||(r&=-97,c=u=e),f=f===e?f:me(pa(f),0),h=h===e?h:pa(h),p-=u?u.length:0,64&r){var m=c,v=u;c=u=e}var g=d?e:eo(t),w=[t,r,i,c,u,m,v,l,f,h];if(g&&function(t,r){var e=t[1],n=r[1],i=e|n;if(!(i<131||(n==a&&8==e||n==a&&256==e&&t[7].length<=r[8]||384==n&&r[7].length<=r[8]&&8==e)))return t;1&n&&(t[2]=r[2],i|=1&e?0:4);var s=r[3];if(s){var c=t[3];t[3]=c?ji(c,s,r[4]):s,t[4]=c?te(t[3],o):r[4]}(s=r[5])&&(t[5]=(c=t[5])?Li(c,s,r[6]):s,t[6]=c?te(t[5],o):r[6]),(s=r[7])&&(t[7]=s),n&a&&(t[8]=null==t[8]?r[8]:ve(t[8],r[8])),null==t[9]&&(t[9]=r[9]),t[0]=r[0],t[1]=i}(w,g),t=w[0],r=w[1],i=w[2],c=w[3],u=w[4],!(h=w[9]=w[9]===e?d?0:t.length:me(w[9]-p,0))&&24&r&&(r&=-25),r&&1!=r)b=8==r||16==r?function(t,r,n){var i=Ii(t);return function o(){for(var s=arguments.length,a=bt(s),c=s,u=io(o);c--;)a[c]=arguments[c];var l=s<3&&a[0]!==u&&a[s-1]!==u?[]:te(a,u);return(s-=l.length)<n?Hi(t,r,Ri,o.placeholder,e,a,l,e,e,n-s):vr(this&&this!==nr&&this instanceof o?i:t,this,a)}}(t,r,h):r!=s&&33!=r||u.length?Ri.apply(e,w):function(t,r,e,n){var i=1&r,o=Ii(t);return function r(){for(var s=-1,a=arguments.length,c=-1,u=n.length,l=bt(u+a),f=this&&this!==nr&&this instanceof r?o:t;++c<u;)l[c]=n[c];for(;a--;)l[c++]=arguments[++s];return vr(f,i?e:this,l)}}(t,r,i,c);else var b=function(t,r,e){var n=1&r,i=Ii(t);return function r(){return(this&&this!==nr&&this instanceof r?i:t).apply(n?e:this,arguments)}}(t,r,i);return Ao((g?Kn:Mo)(b,w),t,r)}function $i(t,r,n,i){return t===e||Us(t,zt[n])&&!Et.call(i,n)?r:t}function Ji(t,r,n,i,o,s){return ta(t)&&ta(r)&&(s.set(r,t),Vn(t,r,e,Ji,s),s.delete(r)),t}function Ki(t){return ia(t)?e:t}function Qi(t,r,n,i,o,s){var a=1&n,c=t.length,u=r.length;if(c!=u&&!(a&&u>c))return!1;var l=s.get(t),f=s.get(r);if(l&&f)return l==r&&f==t;var h=-1,d=!0,p=2&n?new Ge:e;for(s.set(t,r),s.set(r,t);++h<c;){var m=t[h],v=r[h];if(i)var g=a?i(v,m,h,r,t,s):i(m,v,h,t,r,s);if(g!==e){if(g)continue;d=!1;break}if(p){if(!Mr(r,(function(t,r){if(!Hr(p,r)&&(m===t||o(m,t,n,i,s)))return p.push(r)}))){d=!1;break}}else if(m!==v&&!o(m,v,n,i,s)){d=!1;break}}return s.delete(t),s.delete(r),d}function Xi(t){return Oo(jo(t,e,Go),t+"")}function to(t){return kn(t,Aa,uo)}function ro(t){return kn(t,Ea,lo)}var eo=_e?function(t){return _e.get(t)}:cc;function no(t){for(var r=t.name+"",e=Me[r],n=Et.call(Me,r)?e.length:0;n--;){var i=e[n],o=i.func;if(null==o||o==t)return i.name}return r}function io(t){return(Et.call(Re,"placeholder")?Re:t).placeholder}function oo(){var t=Re.iteratee||ic;return t=t===ic?Dn:t,arguments.length?t(arguments[0],arguments[1]):t}function so(t,r){var e,n,i=t.__data__;return("string"==(n=typeof(e=r))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e)?i["string"==typeof r?"string":"hash"]:i.map}function ao(t){for(var r=Aa(t),e=r.length;e--;){var n=r[e],i=t[n];r[e]=[n,i,ko(i)]}return r}function co(t,r){var n=function(t,r){return null==t?e:t[r]}(t,r);return En(n)?n:e}var uo=le?function(t){return null==t?[]:(t=jt(t),xr(le(t),(function(r){return rr.call(t,r)})))}:mc,lo=le?function(t){for(var r=[];t;)Lr(r,uo(t)),t=Yt(t);return r}:mc,fo=Cn;function ho(t,r,e){for(var n=-1,i=(r=vi(r,t)).length,o=!1;++n<i;){var s=Ro(r[n]);if(!(o=null!=t&&e(t,s)))break;t=t[s]}return o||++n!=i?o:!!(i=null==t?0:t.length)&&Xs(i)&&vo(s,i)&&(Hs(t)||Ps(t))}function po(t){return"function"!=typeof t.constructor||xo(t)?{}:Fe(Yt(t))}function mo(t){return Hs(t)||Ps(t)||!!(ir&&t&&t[ir])}function vo(t,r){var e=typeof t;return!!(r=null==r?u:r)&&("number"==e||"symbol"!=e&&mt.test(t))&&t>-1&&t%1==0&&t<r}function go(t,r,e){if(!ta(e))return!1;var n=typeof r;return!!("number"==n?Ys(e)&&vo(r,e.length):"string"==n&&r in e)&&Us(e[r],t)}function wo(t,r){if(Hs(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!ca(t))||K.test(t)||!J.test(t)||null!=r&&t in jt(r)}function bo(t){var r=no(t),e=Re[r];if("function"!=typeof e||!(r in We.prototype))return!1;if(t===e)return!0;var n=eo(e);return!!n&&t===n[0]}(xe&&fo(new xe(new ArrayBuffer(1)))!=O||ke&&fo(new ke)!=y||Ce&&fo(Ce.resolve())!=C||je&&fo(new je)!=L||Le&&fo(new Le)!=M)&&(fo=function(t){var r=Cn(t),n=r==k?t.constructor:e,i=n?Fo(n):"";if(i)switch(i){case ze:return O;case Oe:return y;case Ae:return C;case Ee:return L;case De:return M}return r});var yo=Ot?Ks:vc;function xo(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||zt)}function ko(t){return t==t&&!ta(t)}function Co(t,r){return function(n){return null!=n&&n[t]===r&&(r!==e||t in jt(n))}}function jo(t,r,n){return r=me(r===e?t.length-1:r,0),function(){for(var e=arguments,i=-1,o=me(e.length-r,0),s=bt(o);++i<o;)s[i]=e[r+i];i=-1;for(var a=bt(r+1);++i<r;)a[i]=e[i];return a[r]=n(s),vr(t,this,a)}}function Lo(t,r){return r.length<2?t:xn(t,ti(r,0,-1))}function So(t,r){for(var n=t.length,i=ve(r.length,n),o=Si(t);i--;){var s=r[i];t[i]=vo(s,n)?o[s]:e}return t}function _o(t,r){if(("constructor"!==r||"function"!=typeof t[r])&&"__proto__"!=r)return t[r]}var Mo=Eo(Kn),zo=Rr||function(t,r){return nr.setTimeout(t,r)},Oo=Eo(Qn);function Ao(t,r,e){var n=r+"";return Oo(t,function(t,r){var e=r.length;if(!e)return t;var n=e-1;return r[n]=(e>1?"& ":"")+r[n],r=r.join(e>2?", ":" "),t.replace(nt,"{\n/* [wrapped with "+r+"] */\n")}(n,function(t,r){return wr(h,(function(e){var n="_."+e[0];r&e[1]&&!kr(t,n)&&t.push(n)})),t.sort()}(function(t){var r=t.match(it);return r?r[1].split(ot):[]}(n),e)))}function Eo(t){var r=0,n=0;return function(){var i=ge(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(e,arguments)}}function Do(t,r){var n=-1,i=t.length,o=i-1;for(r=r===e?i:r;++n<r;){var s=Gn(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=r,t}var Io,To,No=(Io=Is((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(Q,(function(t,e,n,i){r.push(n?i.replace(ct,"$1"):e||t)})),r}),(function(t){return 500===To.size&&To.clear(),t})),To=Io.cache,Io);function Ro(t){if("string"==typeof t||ca(t))return t;var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}function Fo(t){if(null!=t){try{return At.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Vo(t){if(t instanceof We)return t.clone();var r=new Ue(t.__wrapped__,t.__chain__);return r.__actions__=Si(t.__actions__),r.__index__=t.__index__,r.__values__=t.__values__,r}var Uo=Zn((function(t,r){return Zs(t)?un(t,mn(r,1,Zs,!0)):[]})),Wo=Zn((function(t,r){var n=Jo(r);return Zs(n)&&(n=e),Zs(t)?un(t,mn(r,1,Zs,!0),oo(n,2)):[]})),Bo=Zn((function(t,r){var n=Jo(r);return Zs(n)&&(n=e),Zs(t)?un(t,mn(r,1,Zs,!0),e,n):[]}));function Po(t,r,e){var n=null==t?0:t.length;if(!n)return-1;var i=null==e?0:pa(e);return i<0&&(i=me(n+i,0)),Ar(t,oo(r,3),i)}function Ho(t,r,n){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return n!==e&&(o=pa(n),o=n<0?me(i+o,0):ve(o,i-1)),Ar(t,oo(r,3),o,!0)}function Go(t){return null!=t&&t.length?mn(t,1):[]}function Yo(t){return t&&t.length?t[0]:e}var Zo=Zn((function(t){var r=jr(t,pi);return r.length&&r[0]===t[0]?_n(r):[]})),qo=Zn((function(t){var r=Jo(t),n=jr(t,pi);return r===Jo(n)?r=e:n.pop(),n.length&&n[0]===t[0]?_n(n,oo(r,2)):[]})),$o=Zn((function(t){var r=Jo(t),n=jr(t,pi);return(r="function"==typeof r?r:e)&&n.pop(),n.length&&n[0]===t[0]?_n(n,e,r):[]}));function Jo(t){var r=null==t?0:t.length;return r?t[r-1]:e}var Ko=Zn(Qo);function Qo(t,r){return t&&t.length&&r&&r.length?Pn(t,r):t}var Xo=Xi((function(t,r){var e=null==t?0:t.length,n=nn(t,r);return Hn(t,jr(r,(function(t){return vo(t,e)?+t:t})).sort(Ci)),n}));function ts(t){return null==t?t:ye.call(t)}var rs=Zn((function(t){return ai(mn(t,1,Zs,!0))})),es=Zn((function(t){var r=Jo(t);return Zs(r)&&(r=e),ai(mn(t,1,Zs,!0),oo(r,2))})),ns=Zn((function(t){var r=Jo(t);return r="function"==typeof r?r:e,ai(mn(t,1,Zs,!0),e,r)}));function is(t){if(!t||!t.length)return[];var r=0;return t=xr(t,(function(t){if(Zs(t))return r=me(t.length,r),!0})),Ur(r,(function(r){return jr(t,Nr(r))}))}function os(t,r){if(!t||!t.length)return[];var n=is(t);return null==r?n:jr(n,(function(t){return vr(r,e,t)}))}var ss=Zn((function(t,r){return Zs(t)?un(t,r):[]})),as=Zn((function(t){return hi(xr(t,Zs))})),cs=Zn((function(t){var r=Jo(t);return Zs(r)&&(r=e),hi(xr(t,Zs),oo(r,2))})),us=Zn((function(t){var r=Jo(t);return r="function"==typeof r?r:e,hi(xr(t,Zs),e,r)})),ls=Zn(is),fs=Zn((function(t){var r=t.length,n=r>1?t[r-1]:e;return n="function"==typeof n?(t.pop(),n):e,os(t,n)}));function hs(t){var r=Re(t);return r.__chain__=!0,r}function ds(t,r){return r(t)}var ps=Xi((function(t){var r=t.length,n=r?t[0]:0,i=this.__wrapped__,o=function(r){return nn(r,t)};return!(r>1||this.__actions__.length)&&i instanceof We&&vo(n)?((i=i.slice(n,+n+(r?1:0))).__actions__.push({func:ds,args:[o],thisArg:e}),new Ue(i,this.__chain__).thru((function(t){return r&&!t.length&&t.push(e),t}))):this.thru(o)})),ms=Mi((function(t,r,e){Et.call(t,e)?++t[e]:en(t,e,1)})),vs=Ti(Po),gs=Ti(Ho);function ws(t,r){return(Hs(t)?wr:ln)(t,oo(r,3))}function bs(t,r){return(Hs(t)?br:fn)(t,oo(r,3))}var ys=Mi((function(t,r,e){Et.call(t,e)?t[e].push(r):en(t,e,[r])})),xs=Zn((function(t,r,e){var n=-1,i="function"==typeof r,o=Ys(t)?bt(t.length):[];return ln(t,(function(t){o[++n]=i?vr(r,t,e):Mn(t,r,e)})),o})),ks=Mi((function(t,r,e){en(t,e,r)}));function Cs(t,r){return(Hs(t)?jr:Nn)(t,oo(r,3))}var js=Mi((function(t,r,e){t[e?0:1].push(r)}),(function(){return[[],[]]})),Ls=Zn((function(t,r){if(null==t)return[];var e=r.length;return e>1&&go(t,r[0],r[1])?r=[]:e>2&&go(r[0],r[1],r[2])&&(r=[r[0]]),Wn(t,mn(r,1),[])})),Ss=zr||function(){return nr.Date.now()};function _s(t,r,n){return r=n?e:r,qi(t,a,e,e,e,e,r=t&&null==r?t.length:r)}function Ms(t,r){var i;if("function"!=typeof r)throw new _t(n);return t=pa(t),function(){return--t>0&&(i=r.apply(this,arguments)),t<=1&&(r=e),i}}var zs=Zn((function(t,r,e){var n=1;if(e.length){var i=te(e,io(zs));n|=s}return qi(t,n,r,e,i)})),Os=Zn((function(t,r,e){var n=3;if(e.length){var i=te(e,io(Os));n|=s}return qi(r,n,t,e,i)}));function As(t,r,i){var o,s,a,c,u,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new _t(n);function m(r){var n=o,i=s;return o=s=e,f=r,c=t.apply(i,n)}function v(t){return f=t,u=zo(w,r),h?m(t):c}function g(t){var n=t-l;return l===e||n>=r||n<0||d&&t-f>=a}function w(){var t=Ss();if(g(t))return b(t);u=zo(w,function(t){var e=r-(t-l);return d?ve(e,a-(t-f)):e}(t))}function b(t){return u=e,p&&o?m(t):(o=s=e,c)}function y(){var t=Ss(),n=g(t);if(o=arguments,s=this,l=t,n){if(u===e)return v(l);if(d)return bi(u),u=zo(w,r),m(l)}return u===e&&(u=zo(w,r)),c}return r=va(r)||0,ta(i)&&(h=!!i.leading,a=(d="maxWait"in i)?me(va(i.maxWait)||0,r):a,p="trailing"in i?!!i.trailing:p),y.cancel=function(){u!==e&&bi(u),f=0,o=l=s=u=e},y.flush=function(){return u===e?c:b(Ss())},y}var Es=Zn((function(t,r){return cn(t,1,r)})),Ds=Zn((function(t,r,e){return cn(t,va(r)||0,e)}));function Is(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new _t(n);var e=function(){var n=arguments,i=r?r.apply(this,n):n[0],o=e.cache;if(o.has(i))return o.get(i);var s=t.apply(this,n);return e.cache=o.set(i,s)||o,s};return e.cache=new(Is.Cache||He),e}function Ts(t){if("function"!=typeof t)throw new _t(n);return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}Is.Cache=He;var Ns=gi((function(t,r){var e=(r=1==r.length&&Hs(r[0])?jr(r[0],Br(oo())):jr(mn(r,1),Br(oo()))).length;return Zn((function(n){for(var i=-1,o=ve(n.length,e);++i<o;)n[i]=r[i].call(this,n[i]);return vr(t,this,n)}))})),Rs=Zn((function(t,r){var n=te(r,io(Rs));return qi(t,s,e,r,n)})),Fs=Zn((function(t,r){var n=te(r,io(Fs));return qi(t,64,e,r,n)})),Vs=Xi((function(t,r){return qi(t,256,e,e,e,r)}));function Us(t,r){return t===r||t!=t&&r!=r}var Ws=Pi(jn),Bs=Pi((function(t,r){return t>=r})),Ps=zn(function(){return arguments}())?zn:function(t){return ra(t)&&Et.call(t,"callee")&&!rr.call(t,"callee")},Hs=bt.isArray,Gs=lr?Br(lr):function(t){return ra(t)&&Cn(t)==z};function Ys(t){return null!=t&&Xs(t.length)&&!Ks(t)}function Zs(t){return ra(t)&&Ys(t)}var qs=fe||vc,$s=fr?Br(fr):function(t){return ra(t)&&Cn(t)==v};function Js(t){if(!ra(t))return!1;var r=Cn(t);return r==g||"[object DOMException]"==r||"string"==typeof t.message&&"string"==typeof t.name&&!ia(t)}function Ks(t){if(!ta(t))return!1;var r=Cn(t);return r==w||r==b||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Qs(t){return"number"==typeof t&&t==pa(t)}function Xs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function ta(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function ra(t){return null!=t&&"object"==typeof t}var ea=hr?Br(hr):function(t){return ra(t)&&fo(t)==y};function na(t){return"number"==typeof t||ra(t)&&Cn(t)==x}function ia(t){if(!ra(t)||Cn(t)!=k)return!1;var r=Yt(t);if(null===r)return!0;var e=Et.call(r,"constructor")&&r.constructor;return"function"==typeof e&&e instanceof e&&At.call(e)==Nt}var oa=dr?Br(dr):function(t){return ra(t)&&Cn(t)==j},sa=pr?Br(pr):function(t){return ra(t)&&fo(t)==L};function aa(t){return"string"==typeof t||!Hs(t)&&ra(t)&&Cn(t)==S}function ca(t){return"symbol"==typeof t||ra(t)&&Cn(t)==_}var ua=mr?Br(mr):function(t){return ra(t)&&Xs(t.length)&&!!Jt[Cn(t)]},la=Pi(Tn),fa=Pi((function(t,r){return t<=r}));function ha(t){if(!t)return[];if(Ys(t))return aa(t)?ie(t):Si(t);if(or&&t[or])return function(t){for(var r,e=[];!(r=t.next()).done;)e.push(r.value);return e}(t[or]());var r=fo(t);return(r==y?Qr:r==L?re:Ua)(t)}function da(t){return t?(t=va(t))===c||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function pa(t){var r=da(t),e=r%1;return r==r?e?r-e:r:0}function ma(t){return t?on(pa(t),0,f):0}function va(t){if("number"==typeof t)return t;if(ca(t))return l;if(ta(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=ta(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=Wr(t);var e=ht.test(t);return e||pt.test(t)?tr(t.slice(2),e?2:8):ft.test(t)?l:+t}function ga(t){return _i(t,Ea(t))}function wa(t){return null==t?"":si(t)}var ba=zi((function(t,r){if(xo(r)||Ys(r))_i(r,Aa(r),t);else for(var e in r)Et.call(r,e)&&Qe(t,e,r[e])})),ya=zi((function(t,r){_i(r,Ea(r),t)})),xa=zi((function(t,r,e,n){_i(r,Ea(r),t,n)})),ka=zi((function(t,r,e,n){_i(r,Aa(r),t,n)})),Ca=Xi(nn),ja=Zn((function(t,r){t=jt(t);var n=-1,i=r.length,o=i>2?r[2]:e;for(o&&go(r[0],r[1],o)&&(i=1);++n<i;)for(var s=r[n],a=Ea(s),c=-1,u=a.length;++c<u;){var l=a[c],f=t[l];(f===e||Us(f,zt[l])&&!Et.call(t,l))&&(t[l]=s[l])}return t})),La=Zn((function(t){return t.push(e,Ji),vr(Ia,e,t)}));function Sa(t,r,n){var i=null==t?e:xn(t,r);return i===e?n:i}function _a(t,r){return null!=t&&ho(t,r,Sn)}var Ma=Fi((function(t,r,e){null!=r&&"function"!=typeof r.toString&&(r=Tt.call(r)),t[r]=e}),tc(nc)),za=Fi((function(t,r,e){null!=r&&"function"!=typeof r.toString&&(r=Tt.call(r)),Et.call(t,r)?t[r].push(e):t[r]=[e]}),oo),Oa=Zn(Mn);function Aa(t){return Ys(t)?Ze(t):In(t)}function Ea(t){return Ys(t)?Ze(t,!0):function(t){if(!ta(t))return function(t){var r=[];if(null!=t)for(var e in jt(t))r.push(e);return r}(t);var r=xo(t),e=[];for(var n in t)("constructor"!=n||!r&&Et.call(t,n))&&e.push(n);return e}(t)}var Da=zi((function(t,r,e){Vn(t,r,e)})),Ia=zi((function(t,r,e,n){Vn(t,r,e,n)})),Ta=Xi((function(t,r){var e={};if(null==t)return e;var n=!1;r=jr(r,(function(r){return r=vi(r,t),n||(n=r.length>1),r})),_i(t,ro(t),e),n&&(e=sn(e,7,Ki));for(var i=r.length;i--;)ci(e,r[i]);return e})),Na=Xi((function(t,r){return null==t?{}:function(t,r){return Bn(t,r,(function(r,e){return _a(t,e)}))}(t,r)}));function Ra(t,r){if(null==t)return{};var e=jr(ro(t),(function(t){return[t]}));return r=oo(r),Bn(t,e,(function(t,e){return r(t,e[0])}))}var Fa=Zi(Aa),Va=Zi(Ea);function Ua(t){return null==t?[]:Pr(t,Aa(t))}var Wa=Di((function(t,r,e){return r=r.toLowerCase(),t+(e?Ba(r):r)}));function Ba(t){return Ja(wa(t).toLowerCase())}function Pa(t){return(t=wa(t))&&t.replace(vt,qr).replace(Pt,"")}var Ha=Di((function(t,r,e){return t+(e?"-":"")+r.toLowerCase()})),Ga=Di((function(t,r,e){return t+(e?" ":"")+r.toLowerCase()})),Ya=Ei("toLowerCase"),Za=Di((function(t,r,e){return t+(e?"_":"")+r.toLowerCase()})),qa=Di((function(t,r,e){return t+(e?" ":"")+Ja(r)})),$a=Di((function(t,r,e){return t+(e?" ":"")+r.toUpperCase()})),Ja=Ei("toUpperCase");function Ka(t,r,n){return t=wa(t),(r=n?e:r)===e?function(t){return Zt.test(t)}(t)?function(t){return t.match(Gt)||[]}(t):function(t){return t.match(st)||[]}(t):t.match(r)||[]}var Qa=Zn((function(t,r){try{return vr(t,e,r)}catch(t){return Js(t)?t:new xt(t)}})),Xa=Xi((function(t,r){return wr(r,(function(r){r=Ro(r),en(t,r,zs(t[r],t))})),t}));function tc(t){return function(){return t}}var rc=Ni(),ec=Ni(!0);function nc(t){return t}function ic(t){return Dn("function"==typeof t?t:sn(t,1))}var oc=Zn((function(t,r){return function(e){return Mn(e,t,r)}})),sc=Zn((function(t,r){return function(e){return Mn(t,e,r)}}));function ac(t,r,e){var n=Aa(r),i=yn(r,n);null!=e||ta(r)&&(i.length||!n.length)||(e=r,r=t,t=this,i=yn(r,Aa(r)));var o=!(ta(e)&&"chain"in e&&!e.chain),s=Ks(t);return wr(i,(function(e){var n=r[e];t[e]=n,s&&(t.prototype[e]=function(){var r=this.__chain__;if(o||r){var e=t(this.__wrapped__),i=e.__actions__=Si(this.__actions__);return i.push({func:n,args:arguments,thisArg:t}),e.__chain__=r,e}return n.apply(t,Lr([this.value()],arguments))})})),t}function cc(){}var uc=Ui(jr),lc=Ui(yr),fc=Ui(Mr);function hc(t){return wo(t)?Nr(Ro(t)):function(t){return function(r){return xn(r,t)}}(t)}var dc=Bi(),pc=Bi(!0);function mc(){return[]}function vc(){return!1}var gc,wc=Vi((function(t,r){return t+r}),0),bc=Gi("ceil"),yc=Vi((function(t,r){return t/r}),1),xc=Gi("floor"),kc=Vi((function(t,r){return t*r}),1),Cc=Gi("round"),jc=Vi((function(t,r){return t-r}),0);return Re.after=function(t,r){if("function"!=typeof r)throw new _t(n);return t=pa(t),function(){if(--t<1)return r.apply(this,arguments)}},Re.ary=_s,Re.assign=ba,Re.assignIn=ya,Re.assignInWith=xa,Re.assignWith=ka,Re.at=Ca,Re.before=Ms,Re.bind=zs,Re.bindAll=Xa,Re.bindKey=Os,Re.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Hs(t)?t:[t]},Re.chain=hs,Re.chunk=function(t,r,n){r=(n?go(t,r,n):r===e)?1:me(pa(r),0);var i=null==t?0:t.length;if(!i||r<1)return[];for(var o=0,s=0,a=bt(ce(i/r));o<i;)a[s++]=ti(t,o,o+=r);return a},Re.compact=function(t){for(var r=-1,e=null==t?0:t.length,n=0,i=[];++r<e;){var o=t[r];o&&(i[n++]=o)}return i},Re.concat=function(){var t=arguments.length;if(!t)return[];for(var r=bt(t-1),e=arguments[0],n=t;n--;)r[n-1]=arguments[n];return Lr(Hs(e)?Si(e):[e],mn(r,1))},Re.cond=function(t){var r=null==t?0:t.length,e=oo();return t=r?jr(t,(function(t){if("function"!=typeof t[1])throw new _t(n);return[e(t[0]),t[1]]})):[],Zn((function(e){for(var n=-1;++n<r;){var i=t[n];if(vr(i[0],this,e))return vr(i[1],this,e)}}))},Re.conforms=function(t){return function(t){var r=Aa(t);return function(e){return an(e,t,r)}}(sn(t,1))},Re.constant=tc,Re.countBy=ms,Re.create=function(t,r){var e=Fe(t);return null==r?e:rn(e,r)},Re.curry=function t(r,n,i){var o=qi(r,8,e,e,e,e,e,n=i?e:n);return o.placeholder=t.placeholder,o},Re.curryRight=function t(r,n,i){var o=qi(r,16,e,e,e,e,e,n=i?e:n);return o.placeholder=t.placeholder,o},Re.debounce=As,Re.defaults=ja,Re.defaultsDeep=La,Re.defer=Es,Re.delay=Ds,Re.difference=Uo,Re.differenceBy=Wo,Re.differenceWith=Bo,Re.drop=function(t,r,n){var i=null==t?0:t.length;return i?ti(t,(r=n||r===e?1:pa(r))<0?0:r,i):[]},Re.dropRight=function(t,r,n){var i=null==t?0:t.length;return i?ti(t,0,(r=i-(r=n||r===e?1:pa(r)))<0?0:r):[]},Re.dropRightWhile=function(t,r){return t&&t.length?li(t,oo(r,3),!0,!0):[]},Re.dropWhile=function(t,r){return t&&t.length?li(t,oo(r,3),!0):[]},Re.fill=function(t,r,n,i){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&go(t,r,n)&&(n=0,i=o),function(t,r,n,i){var o=t.length;for((n=pa(n))<0&&(n=-n>o?0:o+n),(i=i===e||i>o?o:pa(i))<0&&(i+=o),i=n>i?0:ma(i);n<i;)t[n++]=r;return t}(t,r,n,i)):[]},Re.filter=function(t,r){return(Hs(t)?xr:pn)(t,oo(r,3))},Re.flatMap=function(t,r){return mn(Cs(t,r),1)},Re.flatMapDeep=function(t,r){return mn(Cs(t,r),c)},Re.flatMapDepth=function(t,r,n){return n=n===e?1:pa(n),mn(Cs(t,r),n)},Re.flatten=Go,Re.flattenDeep=function(t){return null!=t&&t.length?mn(t,c):[]},Re.flattenDepth=function(t,r){return null!=t&&t.length?mn(t,r=r===e?1:pa(r)):[]},Re.flip=function(t){return qi(t,512)},Re.flow=rc,Re.flowRight=ec,Re.fromPairs=function(t){for(var r=-1,e=null==t?0:t.length,n={};++r<e;){var i=t[r];n[i[0]]=i[1]}return n},Re.functions=function(t){return null==t?[]:yn(t,Aa(t))},Re.functionsIn=function(t){return null==t?[]:yn(t,Ea(t))},Re.groupBy=ys,Re.initial=function(t){return null!=t&&t.length?ti(t,0,-1):[]},Re.intersection=Zo,Re.intersectionBy=qo,Re.intersectionWith=$o,Re.invert=Ma,Re.invertBy=za,Re.invokeMap=xs,Re.iteratee=ic,Re.keyBy=ks,Re.keys=Aa,Re.keysIn=Ea,Re.map=Cs,Re.mapKeys=function(t,r){var e={};return r=oo(r,3),wn(t,(function(t,n,i){en(e,r(t,n,i),t)})),e},Re.mapValues=function(t,r){var e={};return r=oo(r,3),wn(t,(function(t,n,i){en(e,n,r(t,n,i))})),e},Re.matches=function(t){return Rn(sn(t,1))},Re.matchesProperty=function(t,r){return Fn(t,sn(r,1))},Re.memoize=Is,Re.merge=Da,Re.mergeWith=Ia,Re.method=oc,Re.methodOf=sc,Re.mixin=ac,Re.negate=Ts,Re.nthArg=function(t){return t=pa(t),Zn((function(r){return Un(r,t)}))},Re.omit=Ta,Re.omitBy=function(t,r){return Ra(t,Ts(oo(r)))},Re.once=function(t){return Ms(2,t)},Re.orderBy=function(t,r,n,i){return null==t?[]:(Hs(r)||(r=null==r?[]:[r]),Hs(n=i?e:n)||(n=null==n?[]:[n]),Wn(t,r,n))},Re.over=uc,Re.overArgs=Ns,Re.overEvery=lc,Re.overSome=fc,Re.partial=Rs,Re.partialRight=Fs,Re.partition=js,Re.pick=Na,Re.pickBy=Ra,Re.property=hc,Re.propertyOf=function(t){return function(r){return null==t?e:xn(t,r)}},Re.pull=Ko,Re.pullAll=Qo,Re.pullAllBy=function(t,r,e){return t&&t.length&&r&&r.length?Pn(t,r,oo(e,2)):t},Re.pullAllWith=function(t,r,n){return t&&t.length&&r&&r.length?Pn(t,r,e,n):t},Re.pullAt=Xo,Re.range=dc,Re.rangeRight=pc,Re.rearg=Vs,Re.reject=function(t,r){return(Hs(t)?xr:pn)(t,Ts(oo(r,3)))},Re.remove=function(t,r){var e=[];if(!t||!t.length)return e;var n=-1,i=[],o=t.length;for(r=oo(r,3);++n<o;){var s=t[n];r(s,n,t)&&(e.push(s),i.push(n))}return Hn(t,i),e},Re.rest=function(t,r){if("function"!=typeof t)throw new _t(n);return Zn(t,r=r===e?r:pa(r))},Re.reverse=ts,Re.sampleSize=function(t,r,n){return r=(n?go(t,r,n):r===e)?1:pa(r),(Hs(t)?$e:$n)(t,r)},Re.set=function(t,r,e){return null==t?t:Jn(t,r,e)},Re.setWith=function(t,r,n,i){return i="function"==typeof i?i:e,null==t?t:Jn(t,r,n,i)},Re.shuffle=function(t){return(Hs(t)?Je:Xn)(t)},Re.slice=function(t,r,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&go(t,r,n)?(r=0,n=i):(r=null==r?0:pa(r),n=n===e?i:pa(n)),ti(t,r,n)):[]},Re.sortBy=Ls,Re.sortedUniq=function(t){return t&&t.length?ii(t):[]},Re.sortedUniqBy=function(t,r){return t&&t.length?ii(t,oo(r,2)):[]},Re.split=function(t,r,n){return n&&"number"!=typeof n&&go(t,r,n)&&(r=n=e),(n=n===e?f:n>>>0)?(t=wa(t))&&("string"==typeof r||null!=r&&!oa(r))&&!(r=si(r))&&Kr(t)?wi(ie(t),0,n):t.split(r,n):[]},Re.spread=function(t,r){if("function"!=typeof t)throw new _t(n);return r=null==r?0:me(pa(r),0),Zn((function(e){var n=e[r],i=wi(e,0,r);return n&&Lr(i,n),vr(t,this,i)}))},Re.tail=function(t){var r=null==t?0:t.length;return r?ti(t,1,r):[]},Re.take=function(t,r,n){return t&&t.length?ti(t,0,(r=n||r===e?1:pa(r))<0?0:r):[]},Re.takeRight=function(t,r,n){var i=null==t?0:t.length;return i?ti(t,(r=i-(r=n||r===e?1:pa(r)))<0?0:r,i):[]},Re.takeRightWhile=function(t,r){return t&&t.length?li(t,oo(r,3),!1,!0):[]},Re.takeWhile=function(t,r){return t&&t.length?li(t,oo(r,3)):[]},Re.tap=function(t,r){return r(t),t},Re.throttle=function(t,r,e){var i=!0,o=!0;if("function"!=typeof t)throw new _t(n);return ta(e)&&(i="leading"in e?!!e.leading:i,o="trailing"in e?!!e.trailing:o),As(t,r,{leading:i,maxWait:r,trailing:o})},Re.thru=ds,Re.toArray=ha,Re.toPairs=Fa,Re.toPairsIn=Va,Re.toPath=function(t){return Hs(t)?jr(t,Ro):ca(t)?[t]:Si(No(wa(t)))},Re.toPlainObject=ga,Re.transform=function(t,r,e){var n=Hs(t),i=n||qs(t)||ua(t);if(r=oo(r,4),null==e){var o=t&&t.constructor;e=i?n?new o:[]:ta(t)&&Ks(o)?Fe(Yt(t)):{}}return(i?wr:wn)(t,(function(t,n,i){return r(e,t,n,i)})),e},Re.unary=function(t){return _s(t,1)},Re.union=rs,Re.unionBy=es,Re.unionWith=ns,Re.uniq=function(t){return t&&t.length?ai(t):[]},Re.uniqBy=function(t,r){return t&&t.length?ai(t,oo(r,2)):[]},Re.uniqWith=function(t,r){return r="function"==typeof r?r:e,t&&t.length?ai(t,e,r):[]},Re.unset=function(t,r){return null==t||ci(t,r)},Re.unzip=is,Re.unzipWith=os,Re.update=function(t,r,e){return null==t?t:ui(t,r,mi(e))},Re.updateWith=function(t,r,n,i){return i="function"==typeof i?i:e,null==t?t:ui(t,r,mi(n),i)},Re.values=Ua,Re.valuesIn=function(t){return null==t?[]:Pr(t,Ea(t))},Re.without=ss,Re.words=Ka,Re.wrap=function(t,r){return Rs(mi(r),t)},Re.xor=as,Re.xorBy=cs,Re.xorWith=us,Re.zip=ls,Re.zipObject=function(t,r){return di(t||[],r||[],Qe)},Re.zipObjectDeep=function(t,r){return di(t||[],r||[],Jn)},Re.zipWith=fs,Re.entries=Fa,Re.entriesIn=Va,Re.extend=ya,Re.extendWith=xa,ac(Re,Re),Re.add=wc,Re.attempt=Qa,Re.camelCase=Wa,Re.capitalize=Ba,Re.ceil=bc,Re.clamp=function(t,r,n){return n===e&&(n=r,r=e),n!==e&&(n=(n=va(n))==n?n:0),r!==e&&(r=(r=va(r))==r?r:0),on(va(t),r,n)},Re.clone=function(t){return sn(t,4)},Re.cloneDeep=function(t){return sn(t,5)},Re.cloneDeepWith=function(t,r){return sn(t,5,r="function"==typeof r?r:e)},Re.cloneWith=function(t,r){return sn(t,4,r="function"==typeof r?r:e)},Re.conformsTo=function(t,r){return null==r||an(t,r,Aa(r))},Re.deburr=Pa,Re.defaultTo=function(t,r){return null==t||t!=t?r:t},Re.divide=yc,Re.endsWith=function(t,r,n){t=wa(t),r=si(r);var i=t.length,o=n=n===e?i:on(pa(n),0,i);return(n-=r.length)>=0&&t.slice(n,o)==r},Re.eq=Us,Re.escape=function(t){return(t=wa(t))&&Y.test(t)?t.replace(H,$r):t},Re.escapeRegExp=function(t){return(t=wa(t))&&tt.test(t)?t.replace(X,"\\$&"):t},Re.every=function(t,r,n){var i=Hs(t)?yr:hn;return n&&go(t,r,n)&&(r=e),i(t,oo(r,3))},Re.find=vs,Re.findIndex=Po,Re.findKey=function(t,r){return Or(t,oo(r,3),wn)},Re.findLast=gs,Re.findLastIndex=Ho,Re.findLastKey=function(t,r){return Or(t,oo(r,3),bn)},Re.floor=xc,Re.forEach=ws,Re.forEachRight=bs,Re.forIn=function(t,r){return null==t?t:vn(t,oo(r,3),Ea)},Re.forInRight=function(t,r){return null==t?t:gn(t,oo(r,3),Ea)},Re.forOwn=function(t,r){return t&&wn(t,oo(r,3))},Re.forOwnRight=function(t,r){return t&&bn(t,oo(r,3))},Re.get=Sa,Re.gt=Ws,Re.gte=Bs,Re.has=function(t,r){return null!=t&&ho(t,r,Ln)},Re.hasIn=_a,Re.head=Yo,Re.identity=nc,Re.includes=function(t,r,e,n){t=Ys(t)?t:Ua(t),e=e&&!n?pa(e):0;var i=t.length;return e<0&&(e=me(i+e,0)),aa(t)?e<=i&&t.indexOf(r,e)>-1:!!i&&Er(t,r,e)>-1},Re.indexOf=function(t,r,e){var n=null==t?0:t.length;if(!n)return-1;var i=null==e?0:pa(e);return i<0&&(i=me(n+i,0)),Er(t,r,i)},Re.inRange=function(t,r,n){return r=da(r),n===e?(n=r,r=0):n=da(n),function(t,r,e){return t>=ve(r,e)&&t<me(r,e)}(t=va(t),r,n)},Re.invoke=Oa,Re.isArguments=Ps,Re.isArray=Hs,Re.isArrayBuffer=Gs,Re.isArrayLike=Ys,Re.isArrayLikeObject=Zs,Re.isBoolean=function(t){return!0===t||!1===t||ra(t)&&Cn(t)==m},Re.isBuffer=qs,Re.isDate=$s,Re.isElement=function(t){return ra(t)&&1===t.nodeType&&!ia(t)},Re.isEmpty=function(t){if(null==t)return!0;if(Ys(t)&&(Hs(t)||"string"==typeof t||"function"==typeof t.splice||qs(t)||ua(t)||Ps(t)))return!t.length;var r=fo(t);if(r==y||r==L)return!t.size;if(xo(t))return!In(t).length;for(var e in t)if(Et.call(t,e))return!1;return!0},Re.isEqual=function(t,r){return On(t,r)},Re.isEqualWith=function(t,r,n){var i=(n="function"==typeof n?n:e)?n(t,r):e;return i===e?On(t,r,e,n):!!i},Re.isError=Js,Re.isFinite=function(t){return"number"==typeof t&&he(t)},Re.isFunction=Ks,Re.isInteger=Qs,Re.isLength=Xs,Re.isMap=ea,Re.isMatch=function(t,r){return t===r||An(t,r,ao(r))},Re.isMatchWith=function(t,r,n){return n="function"==typeof n?n:e,An(t,r,ao(r),n)},Re.isNaN=function(t){return na(t)&&t!=+t},Re.isNative=function(t){if(yo(t))throw new xt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return En(t)},Re.isNil=function(t){return null==t},Re.isNull=function(t){return null===t},Re.isNumber=na,Re.isObject=ta,Re.isObjectLike=ra,Re.isPlainObject=ia,Re.isRegExp=oa,Re.isSafeInteger=function(t){return Qs(t)&&t>=-9007199254740991&&t<=u},Re.isSet=sa,Re.isString=aa,Re.isSymbol=ca,Re.isTypedArray=ua,Re.isUndefined=function(t){return t===e},Re.isWeakMap=function(t){return ra(t)&&fo(t)==M},Re.isWeakSet=function(t){return ra(t)&&"[object WeakSet]"==Cn(t)},Re.join=function(t,r){return null==t?"":de.call(t,r)},Re.kebabCase=Ha,Re.last=Jo,Re.lastIndexOf=function(t,r,n){var i=null==t?0:t.length;if(!i)return-1;var o=i;return n!==e&&(o=(o=pa(n))<0?me(i+o,0):ve(o,i-1)),r==r?function(t,r,e){for(var n=e+1;n--;)if(t[n]===r)return n;return n}(t,r,o):Ar(t,Ir,o,!0)},Re.lowerCase=Ga,Re.lowerFirst=Ya,Re.lt=la,Re.lte=fa,Re.max=function(t){return t&&t.length?dn(t,nc,jn):e},Re.maxBy=function(t,r){return t&&t.length?dn(t,oo(r,2),jn):e},Re.mean=function(t){return Tr(t,nc)},Re.meanBy=function(t,r){return Tr(t,oo(r,2))},Re.min=function(t){return t&&t.length?dn(t,nc,Tn):e},Re.minBy=function(t,r){return t&&t.length?dn(t,oo(r,2),Tn):e},Re.stubArray=mc,Re.stubFalse=vc,Re.stubObject=function(){return{}},Re.stubString=function(){return""},Re.stubTrue=function(){return!0},Re.multiply=kc,Re.nth=function(t,r){return t&&t.length?Un(t,pa(r)):e},Re.noConflict=function(){return nr._===this&&(nr._=Rt),this},Re.noop=cc,Re.now=Ss,Re.pad=function(t,r,e){t=wa(t);var n=(r=pa(r))?ne(t):0;if(!r||n>=r)return t;var i=(r-n)/2;return Wi(ue(i),e)+t+Wi(ce(i),e)},Re.padEnd=function(t,r,e){t=wa(t);var n=(r=pa(r))?ne(t):0;return r&&n<r?t+Wi(r-n,e):t},Re.padStart=function(t,r,e){t=wa(t);var n=(r=pa(r))?ne(t):0;return r&&n<r?Wi(r-n,e)+t:t},Re.parseInt=function(t,r,e){return e||null==r?r=0:r&&(r=+r),we(wa(t).replace(rt,""),r||0)},Re.random=function(t,r,n){if(n&&"boolean"!=typeof n&&go(t,r,n)&&(r=n=e),n===e&&("boolean"==typeof r?(n=r,r=e):"boolean"==typeof t&&(n=t,t=e)),t===e&&r===e?(t=0,r=1):(t=da(t),r===e?(r=t,t=0):r=da(r)),t>r){var i=t;t=r,r=i}if(n||t%1||r%1){var o=be();return ve(t+o*(r-t+Xt("1e-"+((o+"").length-1))),r)}return Gn(t,r)},Re.reduce=function(t,r,e){var n=Hs(t)?Sr:Fr,i=arguments.length<3;return n(t,oo(r,4),e,i,ln)},Re.reduceRight=function(t,r,e){var n=Hs(t)?_r:Fr,i=arguments.length<3;return n(t,oo(r,4),e,i,fn)},Re.repeat=function(t,r,n){return r=(n?go(t,r,n):r===e)?1:pa(r),Yn(wa(t),r)},Re.replace=function(){var t=arguments,r=wa(t[0]);return t.length<3?r:r.replace(t[1],t[2])},Re.result=function(t,r,n){var i=-1,o=(r=vi(r,t)).length;for(o||(o=1,t=e);++i<o;){var s=null==t?e:t[Ro(r[i])];s===e&&(i=o,s=n),t=Ks(s)?s.call(t):s}return t},Re.round=Cc,Re.runInContext=t,Re.sample=function(t){return(Hs(t)?qe:qn)(t)},Re.size=function(t){if(null==t)return 0;if(Ys(t))return aa(t)?ne(t):t.length;var r=fo(t);return r==y||r==L?t.size:In(t).length},Re.snakeCase=Za,Re.some=function(t,r,n){var i=Hs(t)?Mr:ri;return n&&go(t,r,n)&&(r=e),i(t,oo(r,3))},Re.sortedIndex=function(t,r){return ei(t,r)},Re.sortedIndexBy=function(t,r,e){return ni(t,r,oo(e,2))},Re.sortedIndexOf=function(t,r){var e=null==t?0:t.length;if(e){var n=ei(t,r);if(n<e&&Us(t[n],r))return n}return-1},Re.sortedLastIndex=function(t,r){return ei(t,r,!0)},Re.sortedLastIndexBy=function(t,r,e){return ni(t,r,oo(e,2),!0)},Re.sortedLastIndexOf=function(t,r){if(null!=t&&t.length){var e=ei(t,r,!0)-1;if(Us(t[e],r))return e}return-1},Re.startCase=qa,Re.startsWith=function(t,r,e){return t=wa(t),e=null==e?0:on(pa(e),0,t.length),r=si(r),t.slice(e,e+r.length)==r},Re.subtract=jc,Re.sum=function(t){return t&&t.length?Vr(t,nc):0},Re.sumBy=function(t,r){return t&&t.length?Vr(t,oo(r,2)):0},Re.template=function(t,r,n){var i=Re.templateSettings;n&&go(t,r,n)&&(r=e),t=wa(t),r=xa({},r,i,$i);var o,s,a=xa({},r.imports,i.imports,$i),c=Aa(a),u=Pr(a,c),l=0,f=r.interpolate||gt,h="__p += '",d=Lt((r.escape||gt).source+"|"+f.source+"|"+(f===$?ut:gt).source+"|"+(r.evaluate||gt).source+"|$","g"),p="//# sourceURL="+(Et.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$t+"]")+"\n";t.replace(d,(function(r,e,n,i,a,c){return n||(n=i),h+=t.slice(l,c).replace(wt,Jr),e&&(o=!0,h+="' +\n__e("+e+") +\n'"),a&&(s=!0,h+="';\n"+a+";\n__p += '"),n&&(h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),l=c+r.length,r})),h+="';\n";var m=Et.call(r,"variable")&&r.variable;if(m){if(at.test(m))throw new xt("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(s?h.replace(U,""):h).replace(W,"$1").replace(B,"$1;"),h="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Qa((function(){return kt(c,p+"return "+h).apply(e,u)}));if(v.source=h,Js(v))throw v;return v},Re.times=function(t,r){if((t=pa(t))<1||t>u)return[];var e=f,n=ve(t,f);r=oo(r),t-=f;for(var i=Ur(n,r);++e<t;)r(e);return i},Re.toFinite=da,Re.toInteger=pa,Re.toLength=ma,Re.toLower=function(t){return wa(t).toLowerCase()},Re.toNumber=va,Re.toSafeInteger=function(t){return t?on(pa(t),-9007199254740991,u):0===t?t:0},Re.toString=wa,Re.toUpper=function(t){return wa(t).toUpperCase()},Re.trim=function(t,r,n){if((t=wa(t))&&(n||r===e))return Wr(t);if(!t||!(r=si(r)))return t;var i=ie(t),o=ie(r);return wi(i,Gr(i,o),Yr(i,o)+1).join("")},Re.trimEnd=function(t,r,n){if((t=wa(t))&&(n||r===e))return t.slice(0,oe(t)+1);if(!t||!(r=si(r)))return t;var i=ie(t);return wi(i,0,Yr(i,ie(r))+1).join("")},Re.trimStart=function(t,r,n){if((t=wa(t))&&(n||r===e))return t.replace(rt,"");if(!t||!(r=si(r)))return t;var i=ie(t);return wi(i,Gr(i,ie(r))).join("")},Re.truncate=function(t,r){var n=30,i="...";if(ta(r)){var o="separator"in r?r.separator:o;n="length"in r?pa(r.length):n,i="omission"in r?si(r.omission):i}var s=(t=wa(t)).length;if(Kr(t)){var a=ie(t);s=a.length}if(n>=s)return t;var c=n-ne(i);if(c<1)return i;var u=a?wi(a,0,c).join(""):t.slice(0,c);if(o===e)return u+i;if(a&&(c+=u.length-c),oa(o)){if(t.slice(c).search(o)){var l,f=u;for(o.global||(o=Lt(o.source,wa(lt.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var h=l.index;u=u.slice(0,h===e?c:h)}}else if(t.indexOf(si(o),c)!=c){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+i},Re.unescape=function(t){return(t=wa(t))&&G.test(t)?t.replace(P,se):t},Re.uniqueId=function(t){var r=++Dt;return wa(t)+r},Re.upperCase=$a,Re.upperFirst=Ja,Re.each=ws,Re.eachRight=bs,Re.first=Yo,ac(Re,(gc={},wn(Re,(function(t,r){Et.call(Re.prototype,r)||(gc[r]=t)})),gc),{chain:!1}),Re.VERSION="4.17.21",wr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Re[t].placeholder=Re})),wr(["drop","take"],(function(t,r){We.prototype[t]=function(n){n=n===e?1:me(pa(n),0);var i=this.__filtered__&&!r?new We(this):this.clone();return i.__filtered__?i.__takeCount__=ve(n,i.__takeCount__):i.__views__.push({size:ve(n,f),type:t+(i.__dir__<0?"Right":"")}),i},We.prototype[t+"Right"]=function(r){return this.reverse()[t](r).reverse()}})),wr(["filter","map","takeWhile"],(function(t,r){var e=r+1,n=1==e||3==e;We.prototype[t]=function(t){var r=this.clone();return r.__iteratees__.push({iteratee:oo(t,3),type:e}),r.__filtered__=r.__filtered__||n,r}})),wr(["head","last"],(function(t,r){var e="take"+(r?"Right":"");We.prototype[t]=function(){return this[e](1).value()[0]}})),wr(["initial","tail"],(function(t,r){var e="drop"+(r?"":"Right");We.prototype[t]=function(){return this.__filtered__?new We(this):this[e](1)}})),We.prototype.compact=function(){return this.filter(nc)},We.prototype.find=function(t){return this.filter(t).head()},We.prototype.findLast=function(t){return this.reverse().find(t)},We.prototype.invokeMap=Zn((function(t,r){return"function"==typeof t?new We(this):this.map((function(e){return Mn(e,t,r)}))})),We.prototype.reject=function(t){return this.filter(Ts(oo(t)))},We.prototype.slice=function(t,r){t=pa(t);var n=this;return n.__filtered__&&(t>0||r<0)?new We(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),r!==e&&(n=(r=pa(r))<0?n.dropRight(-r):n.take(r-t)),n)},We.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},We.prototype.toArray=function(){return this.take(f)},wn(We.prototype,(function(t,r){var n=/^(?:filter|find|map|reject)|While$/.test(r),i=/^(?:head|last)$/.test(r),o=Re[i?"take"+("last"==r?"Right":""):r],s=i||/^find/.test(r);o&&(Re.prototype[r]=function(){var r=this.__wrapped__,a=i?[1]:arguments,c=r instanceof We,u=a[0],l=c||Hs(r),f=function(t){var r=o.apply(Re,Lr([t],a));return i&&h?r[0]:r};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=s&&!h,m=c&&!d;if(!s&&l){r=m?r:new We(this);var v=t.apply(r,a);return v.__actions__.push({func:ds,args:[f],thisArg:e}),new Ue(v,h)}return p&&m?t.apply(this,a):(v=this.thru(f),p?i?v.value()[0]:v.value():v)})})),wr(["pop","push","shift","sort","splice","unshift"],(function(t){var r=Mt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);Re.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var i=this.value();return r.apply(Hs(i)?i:[],t)}return this[e]((function(e){return r.apply(Hs(e)?e:[],t)}))}})),wn(We.prototype,(function(t,r){var e=Re[r];if(e){var n=e.name+"";Et.call(Me,n)||(Me[n]=[]),Me[n].push({name:r,func:e})}})),Me[Ri(e,2).name]=[{name:"wrapper",func:e}],We.prototype.clone=function(){var t=new We(this.__wrapped__);return t.__actions__=Si(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Si(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Si(this.__views__),t},We.prototype.reverse=function(){if(this.__filtered__){var t=new We(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},We.prototype.value=function(){var t=this.__wrapped__.value(),r=this.__dir__,e=Hs(t),n=r<0,i=e?t.length:0,o=function(t,r,e){for(var n=-1,i=e.length;++n<i;){var o=e[n],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":r-=s;break;case"take":r=ve(r,t+s);break;case"takeRight":t=me(t,r-s)}}return{start:t,end:r}}(0,i,this.__views__),s=o.start,a=o.end,c=a-s,u=n?a:s-1,l=this.__iteratees__,f=l.length,h=0,d=ve(c,this.__takeCount__);if(!e||!n&&i==c&&d==c)return fi(t,this.__actions__);var p=[];t:for(;c--&&h<d;){for(var m=-1,v=t[u+=r];++m<f;){var g=l[m],w=g.type,b=(0,g.iteratee)(v);if(2==w)v=b;else if(!b){if(1==w)continue t;break t}}p[h++]=v}return p},Re.prototype.at=ps,Re.prototype.chain=function(){return hs(this)},Re.prototype.commit=function(){return new Ue(this.value(),this.__chain__)},Re.prototype.next=function(){this.__values__===e&&(this.__values__=ha(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?e:this.__values__[this.__index__++]}},Re.prototype.plant=function(t){for(var r,n=this;n instanceof Ve;){var i=Vo(n);i.__index__=0,i.__values__=e,r?o.__wrapped__=i:r=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,r},Re.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof We){var r=t;return this.__actions__.length&&(r=new We(this)),(r=r.reverse()).__actions__.push({func:ds,args:[ts],thisArg:e}),new Ue(r,this.__chain__)}return this.thru(ts)},Re.prototype.toJSON=Re.prototype.valueOf=Re.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Re.prototype.first=Re.prototype.head,or&&(Re.prototype[or]=function(){return this}),Re}();or?((or.exports=ae)._=ae,ir._=ae):nr._=ae}).call(ar)}(or={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},or.exports),or.exports),ur=new Uint8Array(16);function lr(){if(!sr&&!(sr="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return sr(ur)}const fr=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function hr(t){return"string"==typeof t&&fr.test(t)}for(var dr=[],pr=0;pr<256;++pr)dr.push((pr+256).toString(16).substr(1));function mr(t,r,e){var n=(t=t||{}).random||(t.rng||lr)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,r){e=e||0;for(var i=0;i<16;++i)r[e+i]=n[i];return r}return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=(dr[t[r+0]]+dr[t[r+1]]+dr[t[r+2]]+dr[t[r+3]]+"-"+dr[t[r+4]]+dr[t[r+5]]+"-"+dr[t[r+6]]+dr[t[r+7]]+"-"+dr[t[r+8]]+dr[t[r+9]]+"-"+dr[t[r+10]]+dr[t[r+11]]+dr[t[r+12]]+dr[t[r+13]]+dr[t[r+14]]+dr[t[r+15]]).toLowerCase();if(!hr(e))throw TypeError("Stringified UUID is invalid");return e}(n)}const vr=class{constructor(r){t(this,r),this.wcsGridSelectionChange=i(this,"wcsGridSelectionChange",7),this.wcsGridAllSelectionChange=i(this,"wcsGridAllSelectionChange",7),this.selectionConfig="none",this.selectedItems=[],this.rows=[]}onDataChange(t){this.updateGridRows(t)}onSelectedItemsPropertyChange(t){this.updateSelectionWithValues(t)}updateSelectionWithValues(t){if("single"===this.selectionConfig){this.rows.map((t=>t.selected=!1));for(const r of this.rows)if(cr.isEqual(r.data,t)){r.selected=!0;break}}else if("multiple"===this.selectionConfig){this.rows.map((t=>t.selected=!1));for(const r of this.rows)t.find((t=>cr.isEqual(t,r.data)))&&(r.selected=!0)}this.rows=cr.cloneDeep(this.rows)}wcsGridRowToWcsGridRowData(t){return{selected:t.selected,page:t.page,data:t.data}}updateGridRows(t){const r=[];if(t&&this.columns){for(let e=0;e<t.length;e++){const n={uuid:mr(),data:t[e],selected:!1,cells:[]};for(const r of this.columns)n.cells.push({content:cr.get(t[e],r.path),column:r,formatter:r.formatter});r.push(n)}this.rows=r,this.updatePageIndex()}}componentDidLoad(){this.columns=this.getGridColumnsFromTemplate(),this.paginationEl=this.wcsGridPaginationId?document.getElementById(this.wcsGridPaginationId):this.getGridPaginationsFromTemplate()[0],this.updateGridRows(this.data),this.selectedItems&&this.updateSelectionWithValues(this.selectedItems)}getGridColumnsFromTemplate(){return this.el.shadowRoot.querySelector('slot[name="grid-column"]').assignedElements()}getGridPaginationsFromTemplate(){return this.el.shadowRoot.querySelector('slot[name="grid-pagination"]').assignedElements()}sortChangeEventHandler(t){this.columns.filter((r=>r!==t.detail.column)).forEach((t=>t.sortOrder="none")),this.serverMode||(this.rows=t.detail.sortFn?cr.cloneDeep(this.rows).sort(((r,e)=>t.detail.sortFn(r.data,e.data,t.detail.column)*ir(t.detail.order))):cr.cloneDeep(this.rows).sort(((r,e)=>{const n=t.detail.column.path;return(cr.get(r.data,n)<cr.get(e.data,n)?-1:cr.get(r.data,n)>cr.get(e.data,n)?1:0)*ir(t.detail.order)})),this.updatePageIndex())}updatePageIndex(){if(!this.serverMode&&this.paginationEl){this.paginationEl.currentPage+1>this.paginationEl.pageCount&&(this.paginationEl.currentPage=this.paginationEl.pageCount-1),this.paginationEl.itemsCount=this.data.length,this.paginationEl.pageCount=Math.ceil(this.data.length/this.paginationEl.pageSize);const t=cr.cloneDeep(this.rows);t.forEach(((t,r)=>t.page=Math.floor(r/this.paginationEl.pageSize))),this.rows=[...t]}}paginationChangeEventHandler(){this.onPaginationChange()}paginationChangeEventHandlerOutside(t){this.wcsGridPaginationId&&this.wcsGridPaginationId===t.target.id&&this.onPaginationChange()}onPaginationChange(){this.serverMode||this.updatePageIndex()}onRowSelection(t){"single"===this.selectionConfig&&this.rows.filter((r=>r.uuid!==t.uuid)).map((t=>t.selected=!1)),t.selected=!t.selected,this.wcsGridSelectionChange.emit({row:this.wcsGridRowToWcsGridRowData(t)}),this.rows=cr.cloneDeep(this.rows)}selectAllRows(){const t=this.getRowsForCurrentPage(),r=!this.allRowsAreSelected();t.map((t=>t.selected=r)),this.wcsGridAllSelectionChange.emit({rows:r?t.map((t=>this.wcsGridRowToWcsGridRowData(t))):[]}),this.rows=cr.cloneDeep(this.rows)}allRowsAreSelected(){const t=this.getRowsForCurrentPage();return t.length>0&&t.filter((t=>t.selected)).length===t.length}getRowsForCurrentPage(){return this.paginationEl?this.rows.filter((t=>t.page===this.paginationEl.currentPage)):this.rows}renderSelectionColumn(t){switch(this.selectionConfig){case"none":return;case"single":return r("td",null,r("wcs-radio",{checked:t.selected,onClick:this.onRowSelection.bind(this,t)}));case"multiple":return r("td",null,r("wcs-checkbox",{checked:t.selected,onWcsChange:this.onRowSelection.bind(this,t)}))}}getCellContent(t,e){return e.formatter?e.formatter(r,e.column,this.wcsGridRowToWcsGridRowData(t)):e.content}totalColumnCount(){return this.columns?this.columns.length+("none"===this.selectionConfig?0:1):0}render(){var t;return r(e,null,r("table",null,r("thead",null,"none"===this.selectionConfig?"":r("th",{class:"wcs-grid-selection-column"},"single"===this.selectionConfig?"":r("wcs-checkbox",{checked:this.allRowsAreSelected(),onWcsChange:this.selectAllRows.bind(this)})),r("slot",{name:"grid-column"})),r("tbody",null,this.loading?r("tr",null,r("td",{colSpan:this.totalColumnCount(),class:"loading"},r("wcs-spinner",null))):null===(t=this.rows)||void 0===t?void 0:t.filter((t=>this.serverMode||!this.paginationEl||t.page===this.paginationEl.currentPage)).map((t=>{var e;return r("tr",{class:t.selected?"selected":""},this.renderSelectionColumn(t),null===(e=t.cells)||void 0===e?void 0:e.map((e=>r("td",{part:e.column.path+"-column"},this.getCellContent(t,e)))))})))),r("slot",{name:"grid-pagination"}))}get el(){return n(this)}static get watchers(){return{data:["onDataChange"],selectedItems:["onSelectedItemsPropertyChange"]}}};vr.style=":host{display:block;--wcs-grid-highlight-color:var(--wcs-light)}:host th{background-color:var(--wcs-light)}:host th:not(:first-child){border-left:solid 1px var(--wcs-text-light)}:host ::slotted([slot=grid-column]:first-child){--wcs-grid-column-border-left:none}:host table{width:100%;border-spacing:0}:host td{color:var(--wcs-gray-light);margin:0;padding:calc(var(--wcs-padding) / 2) var(--wcs-padding)}:host tr:not(:last-child) td{border-bottom:solid 1px var(--wcs-text-light)}:host .wcs-grid-selection-column{padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);width:40px}:host tr.selected{background-color:var(--wcs-grid-highlight-color)}:host .loading{text-align:center}:host([selection]) ::slotted([slot=grid-column]:first-child){--wcs-grid-column-border-left:solid 1px var(--wcs-text-light) !important}";const gr=({state:t})=>r("svg",{style:{marginLeft:"auto"},xmlns:"http://www.w3.org/2000/svg",width:"24",height:"20",viewBox:"0 0 24 20"},r("style",{type:"text/css"},"\n .arrow-group {\n transform-origin: 50% 51%;\n transition: transform 175ms ease-in-out;\n }\n .arrow{\n transition: fill 175ms ease-in-out;\n fill: var(--wcs-text-light);\n }\n .asc {\n transform: scaleY(1) translateY(-6px);\n }\n .desc {\n transform: scaleY(-1) translateY(-6px);\n }\n .active {\n fill: var(--wcs-primary);\n }\n\n "),r("g",{fill:"none",class:"asc arrow-group"},r("path",{class:("asc"===t?"active":"")+" arrow",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),r("path",{d:"M0 0h24v24H0z",fill:"none"})),r("g",{fill:"none",class:"desc arrow-group"},r("path",{class:("desc"===t?"active":"")+" arrow",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),r("path",{d:"M0 0h24v24H0z",fill:"none"}))),wr=class{constructor(r){t(this,r),this.wcsSortChange=i(this,"wcsSortChange",7),this.sort=!1,this.sortOrder="none"}emitSortConfig(){this.sort&&this.wcsSortChange.emit({column:this.el,order:this.sortOrder,sortFn:this.sortFn})}render(){return r(e,{onClick:this.onSortClick.bind(this),slot:"grid-column",style:{display:"contents"}},r("th",{style:{width:this.width},class:this.sort?"pointer":""},r("div",{class:"grid-column-th-content"},r("span",null,this.name),this.sort?r(gr,{state:this.sortOrder}):"")))}onSortClick(){this.sortOrder="none"===this.sortOrder||"desc"===this.sortOrder?"asc":"desc",this.emitSortConfig()}get el(){return n(this)}};wr.style=":host{--wcs-grid-column-border-left:solid 1px var(--wcs-text-light)}:host th{color:var(--wcs-gray-dark);background-color:var(--wcs-light);border-left:var(--wcs-grid-column-border-left);padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);text-align:left}:host th .grid-column-th-content{display:inline-flex;flex-direction:row}:host th .grid-column-th-content span{user-select:none}:host .pointer{cursor:pointer}:host([sort-order=asc]) img{transform:scaleY(1)}:host([sort-order=desc]) img{transform:scaleY(-1)}:host([sort-order=none]) img{display:none}:host([sort-order=none]) th:hover img{display:inline-block}";const br=class{constructor(r){t(this,r)}hostData(){return{slot:"header"}}__stencil_render(){return r("header",null,r("slot",{name:"logo"}),r("slot",{name:"title"}),r("slot",{name:"actions"}))}render(){return r(e,this.hostData(),this.__stencil_render())}};br.style="header{box-shadow:0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);display:flex;align-items:center;background:var(--wcs-gray);padding:8px 8px 8px 16px;height:calc(64px - 16px);z-index:1}::slotted(img){width:70px;height:36.8px;margin-right:16px}::slotted(h1){color:var(--wcs-white);margin:0;font-weight:500;font-size:1.5rem}::slotted([slot=actions]){margin-left:auto}";const yr=class{constructor(r){t(this,r),this.small=!1}render(){return r(e,{slot:"messages"},r("slot",null))}};yr.style=":host{margin-top:0.25rem}:host([small]){font-size:0.75rem;font-weight:400;color:var(--wcs-text-medium)}";const xr=({step:t,checkOnComplete:e,complete:n,passed:i,active:o,first:s,disable:a,onClick:c})=>r("div",{class:"graphic-step","data-first":s},s?null:r("wcs-progress-bar",{value:i?100:0}),r("wcs-button",{style:{backgroundColor:"white"},shape:"round",onClick:()=>c(t),mode:!o&&!n||t.disable?"stroked":"plain",disabled:a},kr(t.button,e,n,o))),kr=(t,e,n,i)=>{if(e&&n&&!i)return r("wcs-mat-icon",{size:"m",icon:"done",family:"outlined"});switch(t.kind){case"Icon":return r("wcs-mat-icon",{size:"m",icon:t.iconName,family:t.family?t.family:"outlined"});case"Text":return t.text}},Cr=class{constructor(r){t(this,r),this.wcsHorizontalStepClick=i(this,"wcsHorizontalStepClick",7),this.currentStep=0,this.mode="nonLinear",this.buttonMode="stroked"}componentWillLoad(){if(this.internalCurrentStep=this.currentStep,this.steps.length<1)throw new Error("You must add at least one step")}onCurrentStepChange(t,r){const e=Math.abs(r-t);if(this.el.style.setProperty("--wcs-progress-bar-animation-duration",375/e+"ms"),t!==r)for(let n=0;n<e;n++)setTimeout((()=>{this.internalCurrentStep-=r-t>0?1:-1,n===e-1&&this.el.style.removeProperty("--wcs-progress-bar-animation-duration")}),n*(375/e))}async previous(){this.navigateToIndex(this.internalCurrentStep-1,"backward")}async next(){this.navigateToIndex(this.internalCurrentStep+1,"forward")}navigateToIndex(t,r){var e,n;t>=0&&t<=this.steps.length-1&&((null===(e=this.steps[t])||void 0===e?void 0:e.complete)||(null===(n=this.steps[t])||void 0===n?void 0:n.disable)?this.navigateToIndex(t+("forward"===r?1:-1),r):this.currentStep=t)}render(){return r(e,null,r("div",{class:"steps"},this.steps.map(((t,e)=>r(xr,{step:t,passed:e<=this.internalCurrentStep,checkOnComplete:this.checkOnComplete,complete:this.isComplete(t,e),active:e===this.internalCurrentStep,first:0===e,disable:this.isDisable(t,e),onClick:t=>this.wcsHorizontalStepClick.emit({step:t,index:e})})))),this.renderLabels())}isComplete(t,r){return r<=this.internalCurrentStep||t.complete}renderLabels(){return this.steps.map((t=>t.text)).every((t=>!t))?null:r("div",{class:"label-container"},this.steps.map(((t,e)=>r("div",{"data-first":0===e,"data-current":e===this.internalCurrentStep&&!t.disable,"data-disable":this.isDisable(t,e),"data-last":e===this.steps.length-1},r("span",null,t.text)))))}isDisable(t,r){return t.disable||"linear"===this.mode&&!this.isNextPossibleStep(r)&&this.internalCurrentStep<r}isNextPossibleStep(t){var r;return 0===t||((null===(r=this.steps[t-1])||void 0===r?void 0:r.disable)||this.previousStepIsCompleteAndNotActive(t)?this.isNextPossibleStep(t-1):this.internalCurrentStep===t-1)}previousStepIsCompleteAndNotActive(t){var r;return(null===(r=this.steps[t-1])||void 0===r?void 0:r.complete)&&t-1!==this.internalCurrentStep}get el(){return n(this)}static get watchers(){return{currentStep:["onCurrentStepChange"]}}};Cr.style=":host{display:block}:host .steps{display:flex;flex-direction:row;flex:1}:host .graphic-step{display:flex;flex-direction:row;flex:1;align-items:center}:host .graphic-step[data-first]{flex:0}:host wcs-progress-bar{--wcs-internal-progress-bar-border-radius:0;flex:1;margin:0 -1px}:host .label-container{justify-content:space-between;display:flex;flex-direction:row;margin-top:var(--wcs-base-margin)}:host .label-container>*{width:100%;text-align:center;flex:1;color:var(--wcs-text-medium);font-weight:500}:host .label-container>*[data-disable]{color:var(--wcs-text-light)}:host .label-container>*[data-current]{color:var(--wcs-primary)}:host .label-container>div[data-first]{margin-left:20px;text-align:left;flex:0.5}:host .label-container>div[data-first]>span{margin-left:-20px}:host .label-container>div[data-last]{margin-right:20px;text-align:right;flex:0.5}:host .label-container>div[data-last]>span{margin-right:-20px}";const jr=class{constructor(r){t(this,r),this.wcsInput=i(this,"wcsInput",7),this.wcsChange=i(this,"wcsChange",7),this.wcsBlur=i(this,"wcsBlur",7),this.wcsFocus=i(this,"wcsFocus",7),this.inputId="wcs-input-"+Lr++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.state="initial",this.type="text",this.value="",this.onInput=t=>{const r=t.target;r&&(this.value=r.value||""),this.wcsInput.emit(t)},this.onBlur=t=>{this.hasFocus=!1,this.focusChanged(),this.fireFocusEvents&&this.wcsBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusChanged(),this.fireFocusEvents&&this.wcsFocus.emit(t)},this.onKeydown=t=>{this.shouldClearOnEdit()&&(this.didBlurAfterEdit&&this.hasValue()&&"Enter"!==t.key&&this.clearTextInput(),this.didBlurAfterEdit=!1)},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.nativeInput&&(this.nativeInput.value="")}}debounceChanged(){this.wcsChange=S(this.wcsChange,this.debounce)}valueChanged(){var t;this.wcsChange.emit({value:null===(t=this.value)||void 0===t?void 0:t.toString()})}componentWillLoad(){this.inheritedAttributes=M(this.el,["aria-label","tabindex","title"])}connectedCallback(){this.debounceChanged(),document.dispatchEvent(new CustomEvent("wcsInputDidLoad",{detail:this.el}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("wcsInputDidUnload",{detail:this.el}))}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async setBlur(){this.nativeInput&&this.nativeInput.blur()}getInputElement(){return Promise.resolve(this.nativeInput)}shouldClearOnEdit(){const{type:t,clearOnEdit:r}=this;return void 0===r?"password"===t:r}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}focusChanged(){!this.hasFocus&&this.shouldClearOnEdit()&&this.hasValue()&&(this.didBlurAfterEdit=!0)}hasValue(){return this.getValue().length>0}render(){const t=this.getValue(),n=this.inputId+"-lbl",i=z(this.el);return i&&(i.id=n),r(e,{"aria-disabled":this.disabled?"true":null},this.icon?r("wcs-mat-icon",{icon:this.icon,size:"m"}):null,r("input",Object.assign({class:"native-input",ref:t=>this.nativeInput=t,"aria-labelledby":i?n:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)))}get el(){return n(this)}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"]}}};let Lr=0;jr.style=":host{--wcs-input-icon-color:var(--wcs-text-medium);--wcs-internal-input-border-radius-left:var(--wcs-input-border-radius-left, var(--wcs-border-radius));--wcs-internal-input-border-radius-right:var(--wcs-input-border-radius-right, var(--wcs-border-radius));display:flex;width:100%;border-radius:var(--wcs-internal-input-border-radius-left) var(--wcs-internal-input-border-radius-right) var(--wcs-internal-input-border-radius-right) var(--wcs-internal-input-border-radius-left);background-color:var(--wcs-light);border:1px solid var(--wcs-light);background-clip:padding-box}:host ::placeholder{font-weight:400;font-style:italic}:host input{overflow:hidden;box-sizing:border-box;min-height:24px;width:100%;background-color:transparent;font-family:var(--wcs-font-sans-serif);color:var(--wcs-primary);font-weight:var(--wcs-font-weight-form-value) !important;border:none;padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);font-size:1rem;line-height:1.5}:host input:focus{box-shadow:none;outline:0}:host wcs-mat-icon{position:relative;margin-top:8px;margin-left:8px;margin-right:-8px}:host([state=error]){border-color:var(--wcs-red) !important}:host(:focus-within){border:solid 1px var(--wcs-primary)}:host(:focus-within) wcs-mat-icon{color:var(--wcs-primary)}";const Sr=class{constructor(r){t(this,r),this.required=!1}render(){return r(e,{slot:"label"},r("label",null,r("slot",null)))}};Sr.style=':host{font-weight:500;margin-bottom:8px}:host([required])::after{font-weight:500;color:var(--wcs-red);content:"*"}';const _r=class{constructor(r){t(this,r),this.activated=!1}render(){return r(e,null,r("slot",{name:"icon"}),r("div",{class:"content"},r("div",{class:"header"},r("div",null,r("slot",{name:"title"}),r("slot",{name:"properties"})),r("slot",{name:"actions"})),r("slot",{name:"description"})))}};_r.style=":host{padding:var(--wcs-padding);border:solid 1px var(--wcs-text-light);display:flex;margin-bottom:-1px;background-color:var(--wcs-white)}:host(:hover){background-color:var(--wcs-light);transition:0.175s}:host([activated]){background-color:var(--wcs-light)}::slotted([slot=title]){color:var(--wcs-gray);font-weight:700;line-height:1.2;font-family:inherit;margin-bottom:0.5rem}::slotted([slot=icon]){color:var(--wcs-gray-light);margin-right:16px}::slotted([slot=actions]){margin-left:8px}.content{display:flex;flex-direction:column;flex-grow:1}.header{display:flex;justify-content:space-between}";const Mr=class{constructor(r){t(this,r)}render(){return r(e,{slot:"properties"},r("slot",{name:"property"}))}};Mr.style=":host{margin-bottom:2px;display:block}::slotted(*:first-of-type){padding-right:1.25rem !important;padding-left:0 !important}::slotted(*:last-of-type){padding-right:0 !important;padding-left:1.25rem !important;border-right:none !important}::slotted(*){padding-right:1.25rem;padding-left:1.25rem;border-right:solid 2px var(--wcs-text-disabled)}";const zr=class{constructor(r){t(this,r)}render(){return r(e,{slot:"property"},r("slot",null))}};zr.style=":host{font-weight:500 !important;color:var(--wcs-gray-light)}";const Or=class{constructor(r){t(this,r),this.size="m",this.family="filled"}componentWillLoad(){this.onFamilyChange()}componentDidLoad(){this.appendMaterialStylesheet()}appendMaterialStylesheet(){let t=document.querySelector(`link[href="${this.familyFile}"]`);t||(t=document.createElement("link"),t.setAttribute("rel","stylesheet"),t.setAttribute("href",this.familyFile),document.head.appendChild(t))}onFamilyChange(){switch(this.familyFile="https://fonts.googleapis.com/icon?family=",this.family){case"filled":this.familyFile+="Material+Icons",this.familyClass="material-icons";break;case"outlined":this.familyFile+="Material+Icons+Outlined",this.familyClass="material-icons-outlined";break;case"twotone":this.familyFile+="Material+Icons+Two+Tone",this.familyClass="material-icons-two-tone";break;case"rounded":this.familyFile+="Material+Icons+Round",this.familyClass="material-icons-round";break;case"sharp":this.familyFile+="Material+Icons+Sharp",this.familyClass="material-icons-sharp"}this.appendMaterialStylesheet()}render(){return r(e,null,r("link",{rel:"stylesheet",type:"text/css",href:this.familyFile}),r("i",{class:this.familyClass+" size-"+this.size},this.icon))}static get watchers(){return{family:["onFamilyChange"]}}};Or.style=":host{display:flex}:host .size-s{font-size:18px}:host .size-m{font-size:24px}:host .size-l{font-size:36px}:host .size-xl{font-size:48px}";const Ar=class{constructor(r){t(this,r),this.wcsDialogClosed=i(this,"wcsDialogClosed",7),this.backdrop=!0,this.show=!1,this.showCloseButton=!1}render(){return r(e,null,r("div",{class:"wcs-modal-backdrop"}),r("div",{class:"wcs-modal-container"},r("div",{class:"wcs-modal-header"},r("h5",null,r("slot",{name:"header"})),this.showCloseButton&&r("wcs-button",{shape:"round",mode:"stroked",class:"wcs-dark",onClick:t=>this.onCloseButtonClick(t)},r("i",{class:"material-icons"},"close"))),r("div",{class:"wcs-modal-content"},r("slot",null)),r("div",{class:"wcs-modal-actions"},r("slot",{name:"actions"}))))}onKeyDown(t){this.showCloseButton&&"Escape"===t.key&&this.close()}onCloseButtonClick(t){this.close()}close(){this.show=!1,this.wcsDialogClosed.emit()}};Ar.style="wcs-modal{--saas-fix-modal:rgba(var(--wcs-black), 0.5);z-index:999;position:fixed;top:0;bottom:0;left:0;right:0;display:none}wcs-modal[show]{display:block;width:100%;height:100%;opacity:1;display:block}wcs-modal[backdrop] .wcs-modal-backdrop{display:block;position:fixed;top:0;left:0;bottom:0;right:0;opacity:0.4;background-color:var(--wcs-black)}.wcs-modal-backdrop{display:none}.wcs-modal-container{position:fixed;top:50%;left:50%;min-width:400px;max-width:480px;transform:translate(-50%, -50%);pointer-events:auto;background-color:#fff;background-clip:padding-box;border:0 solid rgba(0, 0, 0, 0.2);border-radius:0.4375rem;outline:0;z-index:20000;display:block;padding:1.375rem 1.875rem 1.875rem 1.875rem}.wcs-modal-header{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.wcs-modal-header h5{font-size:24px;font-weight:400;margin:0}.wcs-modal-content{font-weight:400;font-size:16px}.wcs-modal-actions{margin-top:20px;float:right}";const Er=class{constructor(r){t(this,r)}render(){return r("nav",{class:"wcs-nav-container"},r("slot",null),r("slot",{name:"bottom"}))}};Er.style="nav{background-image:linear-gradient(0deg, var(--wcs-primary), var(--wcs-primary));display:flex;z-index:1055;flex-direction:column;width:6.25rem;height:100%}@media (max-width: 1199px){nav{flex-direction:row;background-image:linear-gradient(0deg, var(--wcs-light), var(--wcs-light));border-top:1px solid #d8d8d8;bottom:0;width:100%;height:3.25rem}}@media (max-width: 1199px){::slotted(wcs-nav-item){flex:1}}@media (min-width: 1200px){slot[name=bottom],wcs-nav-item:not([slot=bottom])+wcs-nav-item[slot=bottom]{display:block;margin-top:auto}}";const Dr=class{constructor(r){t(this,r),this.text=""}render(){return r("a",{href:this.href,class:"wcs-nav-item-container"},r("slot",null),r("span",{class:"wcs-nav-item-text"},this.text))}};Dr.style="wcs-nav-item{display:block;cursor:pointer}wcs-nav-item a{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;text-align:center;background-color:transparent;border:none;text-decoration:none;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;height:5rem;font-size:0.75rem;color:var(--wcs-contrast)}wcs-nav-item a:not(.active){border-bottom:1px solid rgba(255, 255, 255, 0.2)}@media (max-width: 1199px){wcs-nav-item a{display:flex;flex:1;height:3.25rem;font-size:0.625rem;color:var(--wcs-text-medium)}}wcs-nav-item i{margin-bottom:0.5rem;display:inline-block}@media (max-width: 1199px){wcs-nav-item i{margin-bottom:0.25rem;display:inline-block}}@media (min-width: 1200px){wcs-nav-item[slot=bottom] a{border-top:1px solid rgba(255, 255, 255, 0.2);border-bottom:none}}.wcs-nav-item-text{font-weight:500}.active,wcs-nav-item:hover,wcs-nav-item:focus-within{background-blend-mode:multiply;background-color:rgba(0, 0, 0, 0.15);}@media (max-width: 1199px){.active,wcs-nav-item:hover,wcs-nav-item:focus-within{background-color:unset}.active a,wcs-nav-item:hover a,wcs-nav-item:focus-within a{color:var(--wcs-primary)}}";const Ir=class{constructor(r){t(this,r),this.small=!1,this.showLabel=!1,this.value=0}render(){const t={width:this.value+"%"};return r("div",{class:this.rootClasses()},r("div",{class:"progress-bar",style:t},this.showLabel&&r("span",{class:"progress-label"},this.value,r("sup",null,"%"))))}rootClasses(){let t="progress";return this.small&&(t+=" small"),this.showLabel&&(t+=" has-label"),0===this.value&&(t+=" value-zero"),t}};Ir.style=":host{--wcs-internal-progress-bar-border-radius:var(--wcs-progress-bar-border-radius,0.3125rem);--wcs-internal-progress-bar-border-radius-small:var(--wcs-progress-bar-border-radius-small,0.15625rem);--wcs-internal-progress-bar-animation-duration:var(--wcs-progress-bar-animation-duration,0.375s)}.progress{display:flex;height:0.625rem;font-size:0.75rem;color:#4d4f53;background-color:#fff;background-image:linear-gradient(90deg, #e1ded9 50%, transparent 50%);background-size:0.25rem 0.625rem;border-radius:var(--wcs-internal-progress-bar-border-radius)}.progress.has-label{margin-top:2.375rem}.progress.small{height:0.3125rem;overflow:hidden;background-color:#fff;background-image:none;background-size:auto;border-radius:var(--wcs-internal-progress-bar-border-radius-small)}.progress.value-zero>.progress-bar>.progress-label{right:unset}.progress-bar{position:relative;display:flex;flex-direction:column;justify-content:center;color:#4d4f53;text-align:center;background-color:var(--wcs-primary);border-radius:var(--wcs-internal-progress-bar-border-radius);transition:width var(--wcs-internal-progress-bar-animation-duration) ease-out}.progress-label{position:absolute;right:0;bottom:calc(100% + 0.5rem);font-size:1.5rem;font-weight:500}.progress-label sup{font-size:0.875rem;top:-0.5em;position:relative;line-height:0;vertical-align:baseline}";const Tr=class{constructor(r){t(this,r),this.size=120,this.showLabel=!1,this.value=0}render(){const{size:t,halfSize:e}={size:this.size,halfSize:this.size/2};return r("div",{class:"progress-circle","data-component":"radial-progress"},r("svg",{class:"progress-circle-figure","data-role":"figure",width:this.size,height:this.size,viewBox:`0 0 ${t} ${t}`,style:this.getSvgStyle()},r("circle",{class:"progress-circle-meter",cx:e,cy:e,r:"54","stroke-width":"12"}),r("circle",{class:"progress-circle-value",cx:e,cy:e,r:"54","stroke-width":"12"})),this.showLabel&&r("div",{class:"progress-circle-label","data-role":"label"},r("span",null,r("span",{"data-role":"labelvalue"},this.value),r("sup",null,"%"))),r("input",{"data-role":"control",class:"sr-only",type:"range",value:this.value}))}getSvgStyle(){return{"stroke-dasharray":"339.292","stroke-dashoffset":""+(339.292-this.value/100*339.292)}}};Tr.style=".progress-circle{position:relative;display:inline-block;width:7.5rem;height:7.5rem;background-image:url(\"data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='utf-8'?%3e%3csvg version='1.1' id='Calque_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 120 120' style='enable-background:new 0 0 120 120;' xml:space='preserve'%3e%3cstyle type='text/css'%3e .st0%7bfill:%23D7D7D7;%7d %3c/style%3e%3cg%3e%3crect x='59' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='55.2' y='0.1' transform='matrix(0.9976 -6.975647e-02 6.975647e-02 0.9976 -0.2907 3.9376)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='51.5' y='0.5' transform='matrix(0.9903 -0.1392 0.1392 0.9903 -0.3974 7.368)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='47.8' y='1.2' transform='matrix(0.9781 -0.2079 0.2079 0.9781 -0.427 10.2973)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='44.1' y='2.1' transform='matrix(0.9613 -0.2756 0.2756 0.9613 -0.4827 12.749)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='40.5' y='3.3' transform='matrix(0.9397 -0.342 0.342 0.9397 -0.6613 14.7626)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='37' y='4.7' transform='matrix(0.9135 -0.4067 0.4067 0.9135 -1.0509 16.3931)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='33.6' y='6.3' transform='matrix(0.8829 -0.4695 0.4695 0.8829 -1.7286 17.7087)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='30.4' y='8.2' transform='matrix(0.848 -0.5299 0.5299 0.848 -2.7588 18.7897)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='27.3' y='10.3' transform='matrix(0.809 -0.5878 0.5878 0.809 -4.1915 19.7261)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='24.3' y='12.6' transform='matrix(0.766 -0.6428 0.6428 0.766 -6.0608 20.6152)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='21.5' y='15.2' transform='matrix(0.7193 -0.6947 0.6947 0.7193 -8.3843 21.5593)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='18.9' y='17.9' transform='matrix(0.6691 -0.7431 0.7431 0.6691 -11.1622 22.6633)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='16.4' y='20.8' transform='matrix(0.6157 -0.788 0.788 0.6157 -14.3769 24.0315)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='14.2' y='23.8' transform='matrix(0.5592 -0.829 0.829 0.5592 -17.9939 25.7655)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='12.2' y='27' transform='matrix(0.5 -0.866 0.866 0.5 -21.9615 27.9615)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='10.5' y='30.3' transform='matrix(0.4384 -0.8988 0.8988 0.4384 -26.2122 30.7076)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='8.9' y='33.8' transform='matrix(0.3746 -0.9272 0.9272 0.3746 -30.6638 34.0815)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='7.6' y='37.3' transform='matrix(0.309 -0.9511 0.9511 0.309 -35.2211 38.1485)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='6.6' y='40.9' transform='matrix(0.2419 -0.9703 0.9703 0.2419 -39.7776 42.9595)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='5.8' y='44.6' transform='matrix(0.1736 -0.9848 0.9848 0.1736 -44.2179 48.5492)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='5.3' y='48.4' transform='matrix(0.1045 -0.9945 0.9945 0.1045 -48.42 54.9351)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='5' y='52.1' transform='matrix(3.489950e-02 -0.9994 0.9994 3.489950e-02 -52.2577 62.1164)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='0' y='60.9' transform='matrix(0.9994 -3.489950e-02 3.489950e-02 0.9994 -2.1561 0.2482)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='0.3' y='64.6' transform='matrix(0.9945 -0.1045 0.1045 0.9945 -6.8272 1.0177)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='0.8' y='68.4' transform='matrix(0.9848 -0.1736 0.1736 0.9848 -11.9436 2.2383)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='1.6' y='72.1' transform='matrix(0.9703 -0.2419 0.2419 0.9703 -17.4499 4.0099)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='2.6' y='75.7' transform='matrix(0.9511 -0.309 0.309 0.9511 -23.2745 6.4241)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='3.9' y='79.2' transform='matrix(0.9272 -0.3746 0.3746 0.9272 -29.331 9.5626)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='5.5' y='82.7' transform='matrix(0.8988 -0.4384 0.4384 0.8988 -35.5191 13.4941)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='7.2' y='86' transform='matrix(0.866 -0.5 0.5 0.866 -41.7269 18.2731)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='9.2' y='89.2' transform='matrix(0.829 -0.5592 0.5592 0.829 -47.8331 23.9378)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='11.4' y='92.2' transform='matrix(0.788 -0.6157 0.6157 0.788 -53.7091 30.5088)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='13.9' y='95.1' transform='matrix(0.7431 -0.6691 0.6691 0.7431 -59.2218 37.988)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='16.5' y='97.8' transform='matrix(0.6947 -0.7193 0.7193 0.6947 -64.236 46.3581)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='19.3' y='100.4' transform='matrix(0.6428 -0.766 0.766 0.6428 -68.6175 55.5822)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='22.3' y='102.7' transform='matrix(0.5878 -0.809 0.809 0.5878 -72.2355 65.6038)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='25.4' y='104.8' transform='matrix(0.5299 -0.848 0.848 0.5299 -74.9657 76.3475)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='28.6' y='106.7' transform='matrix(0.4695 -0.8829 0.8829 0.4695 -76.693 87.7197)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='32' y='108.3' transform='matrix(0.4067 -0.9135 0.9135 0.4067 -77.3138 99.6102)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='35.5' y='109.7' transform='matrix(0.342 -0.9397 0.9397 0.342 -76.7383 111.8932)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='39.1' y='110.9' transform='matrix(0.2756 -0.9613 0.9613 0.2756 -74.893 124.43)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='42.8' y='111.8' transform='matrix(0.2079 -0.9781 0.9781 0.2079 -71.7222 137.0703)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='46.5' y='112.5' transform='matrix(0.1392 -0.9903 0.9903 0.1392 -67.1899 149.6558)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='50.2' y='112.9' transform='matrix(6.975647e-02 -0.9976 0.9976 6.975647e-02 -61.2806 162.0216)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='59' y='108' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='62.8' y='107.9' transform='matrix(0.9976 -6.975647e-02 6.975647e-02 0.9976 -7.7877 4.7255)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='66.5' y='107.5' transform='matrix(0.9903 -0.1392 0.1392 0.9903 -15.1355 10.5006)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='70.2' y='106.8' transform='matrix(0.9781 -0.2079 0.2079 0.9781 -21.9001 17.2744)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='73.9' y='105.9' transform='matrix(0.9613 -0.2756 0.2756 0.9613 -27.9452 24.9761)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='77.5' y='104.7' transform='matrix(0.9397 -0.342 0.342 0.9397 -33.1442 33.5167)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='81' y='103.3' transform='matrix(0.9135 -0.4067 0.4067 0.9135 -37.383 42.7899)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='84.4' y='101.7' transform='matrix(0.8829 -0.4695 0.4695 0.8829 -40.5617 52.6742)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='87.6' y='99.8' transform='matrix(0.848 -0.5299 0.5299 0.848 -42.5973 63.0348)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='90.7' y='97.7' transform='matrix(0.809 -0.5878 0.5878 0.809 -43.4248 73.7261)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='93.7' y='95.4' transform='matrix(0.766 -0.6428 0.6428 0.766 -42.999 84.594)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='96.5' y='92.8' transform='matrix(0.7193 -0.6947 0.6947 0.7193 -41.2954 95.4789)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='99.1' y='90.1' transform='matrix(0.6691 -0.7431 0.7431 0.6691 -38.3109 106.2184)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='101.6' y='87.2' transform='matrix(0.6157 -0.788 0.788 0.6157 -34.0637 116.6505)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='103.8' y='84.2' transform='matrix(0.5592 -0.829 0.829 0.5592 -28.5937 126.6159)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='105.8' y='81' transform='matrix(0.5 -0.866 0.866 0.5 -21.9615 135.9615)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='107.5' y='77.7' transform='matrix(0.4384 -0.8988 0.8988 0.4384 -14.2476 144.5431)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='109.1' y='74.2' transform='matrix(0.3746 -0.9272 0.9272 0.3746 -5.5511 152.2277)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='110.4' y='70.7' transform='matrix(0.309 -0.9511 0.9511 0.309 4.0122 158.8962)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='111.4' y='67.1' transform='matrix(0.2419 -0.9703 0.9703 0.2419 14.3114 164.4454)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='112.2' y='63.4' transform='matrix(0.1736 -0.9848 0.9848 0.1736 25.2032 168.79)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='112.7' y='59.6' transform='matrix(0.1045 -0.9945 0.9945 0.1045 36.5339 171.8641)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='113' y='55.9' transform='matrix(3.489950e-02 -0.9994 0.9994 3.489950e-02 48.1428 173.6225)' class='st0' width='2' height='12'/%3e%3c/g%3e%3cg%3e%3crect x='108' y='57.1' transform='matrix(0.9994 -3.489950e-02 3.489950e-02 0.9994 -1.9588 4.0128)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='107.7' y='53.4' transform='matrix(0.9945 -0.1045 0.1045 0.9945 -5.0588 12.1831)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='107.2' y='49.6' transform='matrix(0.9848 -0.1736 0.1736 0.9848 -7.0711 20.4225)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='106.4' y='45.9' transform='matrix(0.9703 -0.2419 0.2419 0.9703 -8.0163 28.5853)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='105.4' y='42.3' transform='matrix(0.9511 -0.309 0.309 0.9511 -7.9343 36.5311)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='104.1' y='38.8' transform='matrix(0.9272 -0.3746 0.3746 0.9272 -6.8838 44.1282)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='102.5' y='35.3' transform='matrix(0.8988 -0.4384 0.4384 0.8988 -4.9408 51.2552)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='100.8' y='32' transform='matrix(0.866 -0.5 0.5 0.866 -2.1962 57.8038)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='98.8' y='28.8' transform='matrix(0.829 -0.5592 0.5592 0.829 1.2454 63.6808)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='96.6' y='25.8' transform='matrix(0.788 -0.6157 0.6157 0.788 5.2685 68.8093)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='94.1' y='22.9' transform='matrix(0.7431 -0.6691 0.6691 0.7431 9.7488 73.1303)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='91.5' y='20.2' transform='matrix(0.6947 -0.7193 0.7193 0.6947 14.5562 76.6036)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='88.7' y='17.6' transform='matrix(0.6428 -0.766 0.766 0.6428 19.5576 79.2086)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='85.7' y='15.3' transform='matrix(0.5878 -0.809 0.809 0.5878 24.6192 80.944)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='82.6' y='13.2' transform='matrix(0.5299 -0.848 0.848 0.5299 29.6096 81.828)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='79.4' y='11.3' transform='matrix(0.4695 -0.8829 0.8829 0.4695 34.4027 81.8974)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='76' y='9.7' transform='matrix(0.4067 -0.9135 0.9135 0.4067 38.8799 81.2069)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='72.5' y='8.3' transform='matrix(0.342 -0.9397 0.9397 0.342 42.9327 79.8275)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='68.9' y='7.1' transform='matrix(0.2756 -0.9613 0.9613 0.2756 46.4651 77.845)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='65.2' y='6.2' transform='matrix(0.2079 -0.9781 0.9781 0.2079 49.3951 75.358)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='61.5' y='5.5' transform='matrix(0.1392 -0.9903 0.9903 0.1392 51.657 72.4756)' class='st0' width='12' height='2'/%3e%3c/g%3e%3cg%3e%3crect x='57.8' y='5.1' transform='matrix(6.975647e-02 -0.9976 0.9976 6.975647e-02 53.2021 69.3153)' class='st0' width='12' height='2'/%3e%3c/g%3e%3c/svg%3e\")}.progress-circle-figure{transform:rotate(-90deg);transition:stroke-dashoffset 0.375s ease-out}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);border:0}.progress-circle-label{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1.5rem;font-weight:500}.progress-circle-label sup{font-size:0.875rem;top:-0.5em;position:relative;line-height:0;vertical-align:baseline}.progress-circle-meter{stroke:var(--wcs-white)}.progress-circle-value{stroke:var(--wcs-primary);stroke-linecap:round}.progress-circle-value,.progress-circle-meter{fill:none}";const Nr=class{constructor(r){t(this,r),this.wcsRadioClick=i(this,"wcsRadioClick",7),this.inputId="wcs-rb-"+Rr++,this.mode="radio",this.checked=!1,this.disabled=!1}componentWillLoad(){void 0===this.value&&(this.value=this.el.innerText||"")}componentDidLoad(){this.inputEl=this.el.shadowRoot.querySelector("input"),this.inputEl.addEventListener("change",(()=>{this.wcsRadioClick.emit({label:this.label,source:this.el,value:this.value}),this.checked=!0}))}render(){return r(e,{slot:"option"},r("input",{id:this.inputId,type:"radio",value:this.value,checked:this.checked,"aria-disabled":this.disabled?"true":null,"aria-checked":`${this.checked}`}),r("label",{htmlFor:`${this.inputId}`},this.label))}get el(){return n(this)}};let Rr=0;Nr.style=':host([mode=radio]) input{display:none}:host([mode=radio]) label{padding:0.125rem 0 0;margin-bottom:0;color:var(--wcs-text-medium);cursor:pointer;background-color:transparent;border:none;font-weight:500 !important;transition:0.175s ease-in-out}:host([mode=radio]) label:before{transition:0.175s ease-in-out;border-radius:50%;margin-right:var(--wcs-base-margin);border:2px solid var(--wcs-text-disabled);position:relative;display:inline-block;top:3px;width:1.125rem;height:1.125rem;pointer-events:none;content:"";background-color:var(--wcs-white);box-sizing:border-box}:host([mode=radio]) label:after{transition:0.175s ease-in-out;position:relative;width:1.125rem;height:1.125rem;content:"";background:no-repeat 50%/50% 50%}:host([mode=radio][checked]) label{color:var(--wcs-primary)}:host([mode=radio][checked]) label:before{border-color:var(--wcs-primary);background-color:var(--wcs-primary)}:host([mode=radio]:hover) label{color:var(--wcs-primary)}:host([mode=radio]:hover) label:before{border-color:var(--wcs-primary)}:host([mode=option]){padding:var(--wcs-base-margin) calc(var(--wcs-base-margin) / 2);font-weight:500 !important}:host([mode=option]) input{position:absolute;z-index:-1;opacity:0;box-sizing:border-box;padding:0}:host([mode=option]) label{padding:0.375rem 1.25rem 0.3125rem;margin-bottom:0;color:var(--wcs-white);white-space:nowrap;cursor:pointer;border-radius:0.4375rem}:host([mode=option][checked]) label{font-weight:500 !important;color:var(--wcs-primary);background-color:var(--wcs-white)}';const Fr=class{constructor(r){t(this,r),this.wcsChange=i(this,"wcsChange",7),this.mode="radio"}onValueChangeHandler(t){this.updateOptionsState(t,!0)}componentDidLoad(){if(this.value&&this.updateOptionsState(this.value,!0),"option"===this.mode)for(const t of this.options)t.mode="option"}get options(){const t=this.el.querySelectorAll("wcs-radio"),r=this.el.querySelector("slot");return 0!==t.length?t:null!==r?r.assignedElements():[]}selectedOptionChanged(t){this.updateOptionsState(t.detail.value,!1),this.wcsChange.emit({value:t.detail.value})}updateOptionsState(t,r){for(const e of this.options)e.value!==t?e.removeAttribute("checked"):r&&e.setAttribute("checked","")}render(){return r(e,null,r("slot",{name:"option"}))}get el(){return n(this)}static get watchers(){return{value:["onValueChangeHandler"]}}};Fr.style=":host{display:flex}:host([mode=radio]){flex-direction:column}:host([mode=radio]) ::slotted([slot=option]:first-child){margin-top:0}:host([mode=radio]) ::slotted([slot=option]:last-child){margin-bottom:0}:host([mode=radio]) ::slotted([slot=options]){margin-top:calc(var(--wcs-base-margin) / 2);margin-bottom:calc(var(--wcs-base-margin) / 2)}:host([mode=option]){display:inline-flex;flex-direction:row;padding:calc(var(--wcs-base-margin) / 2);background-color:#4d4f53;border-radius:0.6875rem}";
120
- /*! *****************************************************************************
121
- Copyright (c) Microsoft Corporation.
122
-
123
- Permission to use, copy, modify, and/or distribute this software for any
124
- purpose with or without fee is hereby granted.
125
-
126
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
127
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
128
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
129
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
130
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
131
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
132
- PERFORMANCE OF THIS SOFTWARE.
133
- ***************************************************************************** */
134
- var Vr=function(){return(Vr=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var i in r=arguments[e])Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t}).apply(this,arguments)};function Ur(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)r.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(e[n[i]]=t[n[i]])}return e}function Wr(t){var r="function"==typeof Symbol&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Br(t,r){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var n,i,o=e.call(t),s=[];try{for(;(void 0===r||r-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return s}function Pr(){for(var t=[],r=0;r<arguments.length;r++)t=t.concat(Br(arguments[r]));return t}var Hr={};function Gr(t){return Object.keys(t)}function Yr(t,r,e){void 0===e&&(e=".");var n=$r(t,e),i=$r(r,e);return le(i)?!!le(n)&&i===n:le(n)?n in i:Gr(n).every((function(t){return t in i&&Yr(n[t],i[t])}))}function Zr(t){try{return le(t)||"number"==typeof t?""+t:t.type}catch(t){throw new Error("Events must be strings or objects with a string event.type property.")}}function qr(t,r){try{return ce(t)?t:t.toString().split(r)}catch(r){throw new Error("'"+t+"' is not a valid state path.")}}function $r(t,r){return"object"==typeof(e=t)&&"value"in e&&"context"in e&&"event"in e&&"_event"in e?t.value:ce(t)?Jr(t):"string"!=typeof t?t:Jr(qr(t,r));var e}function Jr(t){if(1===t.length)return t[0];for(var r={},e=r,n=0;n<t.length-1;n++)n===t.length-2?e[t[n]]=t[n+1]:(e[t[n]]={},e=e[t[n]]);return r}function Kr(t,r){for(var e={},n=Gr(t),i=0;i<n.length;i++){var o=n[i];e[o]=r(t[o],o,t,i)}return e}function Qr(t,r,e){var n,i,o={};try{for(var s=Wr(Gr(t)),a=s.next();!a.done;a=s.next()){var c=a.value,u=t[c];e(u)&&(o[c]=r(u,c,t))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o}var Xr=function(t){return function(r){var e,n,i=r;try{for(var o=Wr(t),s=o.next();!s.done;s=o.next())i=i[s.value]}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i}};function te(t){return t?le(t)?[[t]]:re(Gr(t).map((function(r){var e=t[r];return"string"==typeof e||e&&Object.keys(e).length?te(t[r]).map((function(t){return[r].concat(t)})):[[r]]}))):[[]]}function re(t){var r;return(r=[]).concat.apply(r,Pr(t))}function ee(t){return ce(t)?t:[t]}function ne(t){return void 0===t?[]:ee(t)}function ie(t,r,e){var n,i;if(ue(t))return t(r,e.data);var o={};try{for(var s=Wr(Object.keys(t)),a=s.next();!a.done;a=s.next()){var c=a.value,u=t[c];o[c]=ue(u)?u(r,e.data):u}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o}function oe(t){return t instanceof Promise||!(null===t||!ue(t)&&"object"!=typeof t||!ue(t.then))}function se(t,r){var e,n,i=Br([[],[]],2),o=i[0],s=i[1];try{for(var a=Wr(t),c=a.next();!c.done;c=a.next()){var u=c.value;r(u)?o.push(u):s.push(u)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return[o,s]}function ae(t,r){return Kr(t.states,(function(t,e){if(t){var n=(le(r)?void 0:r[e])||(t?t.current:void 0);if(n)return{current:n,states:ae(t,n)}}}))}function ce(t){return Array.isArray(t)}function ue(t){return"function"==typeof t}function le(t){return"string"==typeof t}function fe(t,r){if(t)return le(t)?{type:"xstate.guard",name:t,predicate:r?r[t]:void 0}:ue(t)?{type:"xstate.guard",name:t.name,predicate:t}:t}function he(t){try{return"subscribe"in t&&ue(t.subscribe)}catch(t){return!1}}var de,pe,me=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function ve(t){try{return"__xstatenode"in t}catch(t){return!1}}function ge(t,r){return le(t)||"number"==typeof t?Vr({type:t},r):t}function we(t,r){if(!le(t)&&"$$type"in t&&"scxml"===t.$$type)return t;var e=ge(t);return Vr({name:e.type,data:e,$$type:"scxml",type:"external"},r)}function be(t,r){return ee(r).map((function(r){return void 0===r||"string"==typeof r||ve(r)?{target:r,event:t}:Vr(Vr({},r),{event:t})}))}function ye(t,r,e,n,i){var o=t.options.guards,s={state:i,cond:r,_event:n};if("xstate.guard"===r.type)return r.predicate(e,n.data,s);var a=o[r.type];if(!a)throw new Error("Guard '"+r.type+"' is not implemented on machine '"+t.id+"'.");return a(e,n.data,s)}function xe(t){return"string"==typeof t?{type:t}:t}!function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(de||(de={})),function(t){t.Parent="#_parent",t.Internal="#_internal"}(pe||(pe={}));var ke=de.Start,Ce=de.Stop,je=de.Raise,Le=de.Send,Se=de.Cancel,_e=de.NullEvent,Me=de.Assign,ze=de.Log,Oe=de.Invoke,Ae=de.ErrorPlatform,Ee=de.ErrorCustom,De=de.Update,Ie=de.Choose,Te=de.Pure,Ne=we({type:de.Init});function Re(t,r){return r&&r[t]||void 0}function Fe(t,r){var e;if(le(t)||"number"==typeof t){var n=Re(t,r);e=ue(n)?{type:t,exec:n}:n||{type:t,exec:void 0}}else if(ue(t))e={type:t.name||t.toString(),exec:t};else if(ue(n=Re(t.type,r)))e=Vr(Vr({},t),{exec:n});else if(n){var i=n.type||t.type;e=Vr(Vr(Vr({},n),t),{type:i})}else e=t;return Object.defineProperty(e,"toString",{value:function(){return e.type},enumerable:!1,configurable:!0}),e}var Ve=function(t,r){return t?(ce(t)?t:[t]).map((function(t){return Fe(t,r)})):[]};function Ue(t){var r=Fe(t);return Vr(Vr({id:le(t)?t:r.id},r),{type:r.type})}function We(t){return le(t)?{type:je,event:t}:Be(t,{to:pe.Internal})}function Be(t,r){return{to:r?r.to:void 0,type:Le,event:ue(t)?t:ge(t),delay:r?r.delay:void 0,id:r&&void 0!==r.id?r.id:ue(t)?t.name:Zr(t)}}function Pe(t,r){var e=de.DoneState+"."+t;return{type:e,data:r,toString:function(){return e}}}function He(t,r){var e=de.DoneInvoke+"."+t;return{type:e,data:r,toString:function(){return e}}}function Ge(t,r){var e=de.ErrorPlatform+"."+t;return{type:e,data:r,toString:function(){return e}}}function Ye(t,r,e,n,i){var o=Br(se(i,(function(t){return t.type===Me})),2),s=o[0],a=o[1],c=s.length?function(t,r,e,n){return t?e.reduce((function(t,e){var i,o,s=e.assignment,a={state:n,action:e,_event:r},c={};if(ue(s))c=s(t,r.data,a);else try{for(var u=Wr(Gr(s)),l=u.next();!l.done;l=u.next()){var f=l.value,h=s[f];c[f]=ue(h)?h(t,r.data,a):h}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return Object.assign({},t,c)}),t):t}(e,n,s,r):e;return[re(a.map((function(e){var i;switch(e.type){case je:return{type:je,_event:we(e.event)};case Le:return function(t,r,e,n){var i,o={_event:e},s=we(ue(t.event)?t.event(r,e.data,o):t.event);if(le(t.delay)){var a=n&&n[t.delay];i=ue(a)?a(r,e.data,o):a}else i=ue(t.delay)?t.delay(r,e.data,o):t.delay;var c=ue(t.to)?t.to(r,e.data,o):t.to;return Vr(Vr({},t),{to:c,_event:s,event:s.data,delay:i})}(e,c,n,t.options.delays);case ze:return function(t,r,e){return Vr(Vr({},t),{value:le(t.expr)?t.expr:t.expr(r,e.data,{_event:e})})}(e,c,n);case Ie:if(!(s=null===(i=e.conds.find((function(e){var i=fe(e.cond,t.options.guards);return!i||ye(t,i,c,n,r)})))||void 0===i?void 0:i.actions))return[];var o=Ye(t,r,c,n,Ve(ne(s),t.options.actions));return c=o[1],o[0];case Te:var s;return(s=e.get(c,n.data))?(o=Ye(t,r,c,n,Ve(ne(s),t.options.actions)),c=o[1],o[0]):[];case Ce:return function(t,r,e){var n=ue(t.activity)?t.activity(r,e.data):t.activity;return{type:de.Stop,activity:"string"==typeof n?{id:n}:n}}(e,c,n);default:return Fe(e,t.options.actions)}}))),c]}var Ze=function(t){return"atomic"===t.type||"final"===t.type};function qe(t){return Gr(t.states).map((function(r){return t.states[r]}))}function $e(t){var r=[t];return Ze(t)?r:r.concat(re(qe(t).map($e)))}function Je(t,r){var e,n,i,o,s,a,c,u,l=Qe(new Set(t)),f=new Set(r);try{for(var h=Wr(f),d=h.next();!d.done;d=h.next())for(var p=(C=d.value).parent;p&&!f.has(p);)f.add(p),p=p.parent}catch(t){e={error:t}}finally{try{d&&!d.done&&(n=h.return)&&n.call(h)}finally{if(e)throw e.error}}var m=Qe(f);try{for(var v=Wr(f),g=v.next();!g.done;g=v.next())if("compound"!==(C=g.value).type||m.get(C)&&m.get(C).length){if("parallel"===C.type)try{for(var w=(s=void 0,Wr(qe(C))),b=w.next();!b.done;b=w.next()){var y=b.value;"history"!==y.type&&(f.has(y)||(f.add(y),l.get(y)?l.get(y).forEach((function(t){return f.add(t)})):y.initialStateNodes.forEach((function(t){return f.add(t)}))))}}catch(t){s={error:t}}finally{try{b&&!b.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}else l.get(C)?l.get(C).forEach((function(t){return f.add(t)})):C.initialStateNodes.forEach((function(t){return f.add(t)}))}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}try{for(var x=Wr(f),k=x.next();!k.done;k=x.next()){var C;for(p=(C=k.value).parent;p&&!f.has(p);)f.add(p),p=p.parent}}catch(t){c={error:t}}finally{try{k&&!k.done&&(u=x.return)&&u.call(x)}finally{if(c)throw c.error}}return f}function Ke(t,r){var e=r.get(t);if(!e)return{};if("compound"===t.type){var n=e[0];if(!n)return{};if(Ze(n))return n.key}var i={};return e.forEach((function(t){i[t.key]=Ke(t,r)})),i}function Qe(t){var r,e,n=new Map;try{for(var i=Wr(t),o=i.next();!o.done;o=i.next()){var s=o.value;n.has(s)||n.set(s,[]),s.parent&&(n.has(s.parent)||n.set(s.parent,[]),n.get(s.parent).push(s))}}catch(t){r={error:t}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(r)throw r.error}}return n}function Xe(t,r){return Ke(t,Qe(Je([t],r)))}function tn(t,r){return Array.isArray(t)?t.some((function(t){return t===r})):t instanceof Set&&t.has(r)}function rn(t,r){return"compound"===r.type?qe(r).some((function(r){return"final"===r.type&&tn(t,r)})):"parallel"===r.type&&qe(r).every((function(r){return rn(t,r)}))}function en(t,r){if(t===r)return!0;if(void 0===t||void 0===r)return!1;if(le(t)||le(r))return t===r;var e=Gr(t),n=Gr(r);return e.length===n.length&&e.every((function(e){return en(t[e],r[e])}))}var nn=function(){function t(t){var r=this;this.actions=[],this.activities=Hr,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||Hr,this.meta=t.meta||{},this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,Object.defineProperty(this,"nextEvents",{get:function(){return re(Pr(new Set(r.configuration.map((function(t){return t.ownEvents})))))}})}return t.from=function(r,e){return r instanceof t?r.context!==e?new t({value:r.value,context:e,_event:r._event,_sessionid:null,historyValue:r.historyValue,history:r.history,actions:[],activities:r.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):r:new t({value:r,context:e,_event:Ne,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(r){return new t(r)},t.inert=function(r,e){return r instanceof t?r.actions.length?new t({value:r.value,context:e,_event:Ne,_sessionid:null,historyValue:r.historyValue,history:r.history,activities:r.activities,configuration:r.configuration,transitions:[],children:{}}):r:t.from(r,e)},t.prototype.toStrings=function(t,r){var e=this;if(void 0===t&&(t=this.value),void 0===r&&(r="."),le(t))return[t];var n=Gr(t);return n.concat.apply(n,Pr(n.map((function(n){return e.toStrings(t[n],r).map((function(t){return n+r+t}))}))))},t.prototype.toJSON=function(){return Ur(this,["configuration","transitions"])},t.prototype.matches=function(t){return Yr(t,this.value)},t}(),on=function(t,r){return r(t)};function sn(t){return{id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},toJSON:function(){return{id:t}}}}function an(t){return Vr(Vr({type:Oe},t),{toJSON:function(){var r,e=Ur(t,["onDone","onError"]);return Vr(Vr({},e),{type:Oe,src:(r=t.src,"string"==typeof r?{type:r,toString:function(){return r}}:r)})}})}var cn={},un=function(t){return"#"===t[0]},ln=function(){function t(r,e,n){var i=this;this.config=r,this.context=n,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},e),this.parent=this.options._parent,this.key=this.config.key||this.options._key||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||Pr([this.machine.key],this.path).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Gr(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.initial=this.config.initial,this.states=this.config.states?Kr(this.config.states,(function(r,e){var n,o=new t(r,{_parent:i,_key:e});return Object.assign(i.idMap,Vr(((n={})[o.id]=o,n),o.idMap)),o})):cn;var o=0;!function t(r){var e,n;r.order=o++;try{for(var i=Wr(qe(r)),s=i.next();!s.done;s=i.next())t(s.value)}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some((function(t){return""===t.event})):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=ne(this.config.entry||this.config.onEntry).map((function(t){return Fe(t)})),this.onExit=ne(this.config.exit||this.config.onExit).map((function(t){return Fe(t)})),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=ne(this.config.invoke).map((function(t,r){var e,n;if(ve(t))return i.machine.options.services=Vr(((e={})[t.id]=t,e),i.machine.options.services),an({src:t.id,id:t.id});if(le(t.src))return an(Vr(Vr({},t),{id:t.id||t.src,src:t.src}));if(ve(t.src)||ue(t.src)){var o=i.id+":invocation["+r+"]";return i.machine.options.services=Vr(((n={})[o]=t.src,n),i.machine.options.services),an(Vr(Vr({id:o},t),{src:o}))}var s=t.src;return an(Vr(Vr({id:s.type},t),{src:s}))})),this.activities=ne(this.config.activities).concat(this.invoke).map((function(t){return Ue(t)})),this.transition=this.transition.bind(this)}return t.prototype._init=function(){this.__cache.transitions||$e(this).forEach((function(t){return t.on}))},t.prototype.withConfig=function(r,e){void 0===e&&(e=this.context);var n=this.options,i=n.activities,o=n.guards,s=n.services,a=n.delays;return new t(this.config,{actions:Vr(Vr({},n.actions),r.actions),activities:Vr(Vr({},i),r.activities),guards:Vr(Vr({},o),r.guards),services:Vr(Vr({},s),r.services),delays:Vr(Vr({},a),r.delays)},e)},t.prototype.withContext=function(r){return new t(this.config,this.options,r)},Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:Kr(this.states,(function(t){return t.definition})),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){return this.__cache.on?this.__cache.on:this.__cache.on=this.transitions.reduce((function(t,r){return t[r.eventType]=t[r.eventType]||[],t[r.eventType].push(r),t}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var r=""===t,e=this.transitions.filter((function(e){var n=e.eventType===t;return r?n:n||"*"===e.eventType}));return this.__cache.candidates[t]=e,e},t.prototype.getDelayedTransitions=function(){var t=this,r=this.config.after;if(!r)return[];var e=function(r,e){var n,i,o=(n=ue(r)?t.id+":delay["+e+"]":r,de.After+"("+n+")"+((i=t.id)?"#"+i:""));return t.onEntry.push(Be(o,{delay:r})),t.onExit.push({type:Se,sendId:o}),o};return(ce(r)?r.map((function(t,r){var n=e(t.delay,r);return Vr(Vr({},t),{event:n})})):re(Gr(r).map((function(t,n){var i=r[t],o=le(i)?{target:i}:i,s=isNaN(+t)?t:+t,a=e(s,n);return ne(o).map((function(t){return Vr(Vr({},t),{event:a,delay:s})}))})))).map((function(r){var e=r.delay;return Vr(Vr({},t.formatTransition(r)),{delay:e})}))},t.prototype.getStateNodes=function(t){var r,e=this;if(!t)return[];var n=t instanceof nn?t.value:$r(t,this.delimiter);if(le(n)){var i=this.getStateNode(n).initial;return void 0!==i?this.getStateNodes(((r={})[n]=i,r)):[this.states[n]]}var o=Gr(n);return o.map((function(t){return e.getStateNode(t)})).concat(o.reduce((function(t,r){var i=e.getStateNode(r).getStateNodes(n[r]);return t.concat(i)}),[]))},t.prototype.handles=function(t){var r=Zr(t);return this.events.includes(r)},t.prototype.resolveState=function(t){var r=Array.from(Je([],this.getStateNodes(t.value)));return new nn(Vr(Vr({},t),{value:this.resolve(t.value),configuration:r,done:rn(r,this)}))},t.prototype.transitionLeafNode=function(t,r,e){var n=this.getStateNode(t).next(r,e);return n&&n.transitions.length?n:this.next(r,e)},t.prototype.transitionCompoundNode=function(t,r,e){var n=Gr(t),i=this.getStateNode(n[0])._transition(t[n[0]],r,e);return i&&i.transitions.length?i:this.next(r,e)},t.prototype.transitionParallelNode=function(t,r,e){var n,i,o={};try{for(var s=Wr(Gr(t)),a=s.next();!a.done;a=s.next()){var c=a.value,u=t[c];if(u){var l=this.getStateNode(c)._transition(u,r,e);l&&(o[c]=l)}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}var f=Gr(o).map((function(t){return o[t]})),h=re(f.map((function(t){return t.transitions})));if(!f.some((function(t){return t.transitions.length>0})))return this.next(r,e);var d=re(f.map((function(t){return t.entrySet}))),p=re(Gr(o).map((function(t){return o[t].configuration})));return{transitions:h,entrySet:d,exitSet:re(f.map((function(t){return t.exitSet}))),configuration:p,source:r,actions:re(Gr(o).map((function(t){return o[t].actions})))}},t.prototype._transition=function(t,r,e){return le(t)?this.transitionLeafNode(t,r,e):1===Gr(t).length?this.transitionCompoundNode(t,r,e):this.transitionParallelNode(t,r,e)},t.prototype.next=function(t,r){var e,n,i,o=this,s=r.name,a=[],c=[];try{for(var u=Wr(this.getCandidates(s)),l=u.next();!l.done;l=u.next()){var f=l.value,h=f.cond,d=f.in,p=t.context,m=!d||(le(d)&&un(d)?t.matches($r(this.getStateNodeById(d).path,this.delimiter)):Yr($r(d,this.delimiter),Xr(this.path.slice(0,-2))(t.value))),v=!1;try{v=!h||ye(this.machine,h,p,r,t)}catch(t){throw new Error("Unable to evaluate guard '"+(h.name||h.type)+"' in transition for event '"+s+"' in state node '"+this.id+"':\n"+t.message)}if(v&&m){void 0!==f.target&&(c=f.target),a.push.apply(a,Pr(f.actions)),i=f;break}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}if(i){if(!c.length)return{transitions:[i],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:a};var g=re(c.map((function(r){return o.getRelativeStateNodes(r,t.historyValue)}))),w=!!i.internal;return{transitions:[i],entrySet:w?[]:re(g.map((function(t){return o.nodesFromChild(t)}))),exitSet:w?[]:[this],configuration:g,source:t,actions:a}}},t.prototype.nodesFromChild=function(t){if(t.escapes(this))return[];for(var r=[],e=t;e&&e!==this;)r.push(e),e=e.parent;return r.push(this),r},t.prototype.escapes=function(t){if(this===t)return!1;for(var r=this.parent;r;){if(r===t)return!1;r=r.parent}return!0},t.prototype.getActions=function(t,r,e,n){var i,o,s,a,c=Je([],n?this.getStateNodes(n.value):[this]),u=t.configuration.length?Je(c,t.configuration):c;try{for(var l=Wr(u),f=l.next();!f.done;f=l.next())tn(c,p=f.value)||t.entrySet.push(p)}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}try{for(var h=Wr(c),d=h.next();!d.done;d=h.next()){var p;tn(u,p=d.value)&&!tn(t.exitSet,p.parent)||t.exitSet.push(p)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=h.return)&&a.call(h)}finally{if(s)throw s.error}}t.source||(t.exitSet=[],t.entrySet.push(this));var m=re(t.entrySet.map((function(n){var i=[];if("final"!==n.type)return i;var o=n.parent;if(!o.parent)return i;i.push(Pe(n.id,n.doneData),Pe(o.id,n.doneData?ie(n.doneData,r,e):void 0));var s=o.parent;return"parallel"===s.type&&qe(s).every((function(r){return rn(t.configuration,r)}))&&i.push(Pe(s.id)),i})));t.exitSet.sort((function(t,r){return r.order-t.order})),t.entrySet.sort((function(t,r){return t.order-r.order}));var v=new Set(t.entrySet),g=new Set(t.exitSet),w=Br([re(Array.from(v).map((function(t){return Pr(t.activities.map((function(t){return function(t){var r=Ue(t);return{type:de.Start,activity:r,exec:void 0}}(t)})),t.onEntry)}))).concat(m.map(We)),re(Array.from(g).map((function(t){return Pr(t.onExit,t.activities.map((function(t){return function(t){var r=ue(t)?t:Ue(t);return{type:de.Stop,activity:r,exec:void 0}}(t)})))})))],2),b=w[0];return Ve(w[1].concat(t.actions).concat(b),this.machine.options.actions)},t.prototype.transition=function(t,r,e){void 0===t&&(t=this.initialState);var n,i=we(r);if(t instanceof nn)n=void 0===e?t:this.resolveState(nn.from(t,e));else{var o=le(t)?this.resolve(Jr(this.getResolvedPath(t))):this.resolve(t);n=this.resolveState(nn.from(o,e||this.machine.context))}if(this.strict&&!this.events.includes(i.name)&&!/^(done|error)\./.test(i.name))throw new Error("Machine '"+this.id+"' does not accept event '"+i.name+"'");var s=this._transition(n.value,n,i)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:n,actions:[]},a=Je([],this.getStateNodes(n.value)),c=s.configuration.length?Je(a,s.configuration):a;return s.configuration=Pr(c),this.resolveTransition(s,n,i)},t.prototype.resolveRaisedTransition=function(t,r,e){var n,i=t.actions;return(t=this.transition(t,r))._event=e,t.event=e.data,(n=t.actions).unshift.apply(n,Pr(i)),t},t.prototype.resolveTransition=function(t,r,e,n){var i,o,s=this;void 0===e&&(e=Ne),void 0===n&&(n=this.machine.context);var a=t.configuration,c=!r||t.transitions.length>0?Xe(this.machine,a):void 0,u=r?r.historyValue?r.historyValue:t.source?this.machine.historyValue(r.value):void 0:void 0,l=r?r.context:n,f=this.getActions(t,l,e,r),h=r?Vr({},r.activities):{};try{for(var d=Wr(f),p=d.next();!p.done;p=d.next()){var m=p.value;m.type===ke?h[m.activity.id||m.activity.type]=m:m.type===Ce&&(h[m.activity.id||m.activity.type]=!1)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}var v,g,w=Br(Ye(this,r,l,e,f),2),b=w[0],y=w[1],x=Br(se(b,(function(t){return t.type===je||t.type===Le&&t.to===pe.Internal})),2),k=x[0],C=x[1],j=b.filter((function(t){var r;return t.type===ke&&(null===(r=t.activity)||void 0===r?void 0:r.type)===Oe})).reduce((function(t,r){return t[r.activity.id]=function(t,r,e,n){var i,o=xe(t.src),s=null===(i=null==r?void 0:r.options.services)||void 0===i?void 0:i[o.type],a=t.data?ie(t.data,e,n):void 0,c=s?function(t,r,e){var n=sn(r);return n.deferred=!0,ve(t)&&(n.state=on(void 0,(function(){return(e?t.withContext(e):t).initialState}))),n}(s,t.id,a):sn(t.id);return c.meta=t,c}(r.activity,s.machine,y,e),t}),r?Vr({},r.children):{}),L=c?t.configuration:r?r.configuration:[],S=L.reduce((function(t,r){return void 0!==r.meta&&(t[r.id]=r.meta),t}),{}),_=rn(L,this),M=new nn({value:c||r.value,context:y,_event:e,_sessionid:r?r._sessionid:null,historyValue:c?u?(v=u,g=c,{current:g,states:ae(v,g)}):void 0:r?r.historyValue:void 0,history:!c||t.source?r:void 0,actions:c?C:[],activities:c?h:r?r.activities:{},meta:c?S:r?r.meta:void 0,events:[],configuration:L,transitions:t.transitions,children:j,done:_}),z=l!==y;M.changed=e.name===De||z;var O=M.history;if(O&&delete O.history,!c)return M;var A=M;if(!_)for((this._transient||a.some((function(t){return t._transient})))&&(A=this.resolveRaisedTransition(A,{type:_e},e));k.length;){var E=k.shift();A=this.resolveRaisedTransition(A,E._event,e)}var D=A.changed||(O?!!A.actions.length||z||typeof O.value!=typeof A.value||!en(A.value,O.value):void 0);return A.changed=D,A.history=O,A},t.prototype.getStateNode=function(t){if(un(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '"+t+"' from '"+this.id+"'; no child states exist.");var r=this.states[t];if(!r)throw new Error("Child state '"+t+"' does not exist on '"+this.id+"'");return r},t.prototype.getStateNodeById=function(t){var r=un(t)?t.slice("#".length):t;if(r===this.id)return this;var e=this.machine.idMap[r];if(!e)throw new Error("Child state node '#"+r+"' does not exist on machine '"+this.id+"'");return e},t.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&un(t))try{return this.getStateNodeById(t.slice(1))}catch(t){}for(var r=qr(t,this.delimiter).slice(),e=this;r.length;){var n=r.shift();if(!n.length)break;e=e.getStateNode(n)}return e},t.prototype.resolve=function(t){var r,e=this;if(!t)return this.initialStateValue||cn;switch(this.type){case"parallel":return Kr(this.initialStateValue,(function(r,n){return r?e.getStateNode(n).resolve(t[n]||r):cn}));case"compound":if(le(t)){var n=this.getStateNode(t);return"parallel"===n.type||"compound"===n.type?((r={})[t]=n.initialStateValue,r):t}return Gr(t).length?Kr(t,(function(t,r){return t?e.getStateNode(r).resolve(t):cn})):this.initialStateValue||{};default:return t||cn}},t.prototype.getResolvedPath=function(t){if(un(t)){var r=this.machine.idMap[t.slice("#".length)];if(!r)throw new Error("Unable to find state node '"+t+"'");return r.path}return qr(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,r;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)r=Qr(this.states,(function(t){return t.initialStateValue||cn}),(function(t){return!("history"===t.type)}));else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '"+this.initial+"' not found on '"+this.key+"'");r=Ze(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}return this.__cache.initialStateValue=r,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,r){var e=this.getStateNodes(t);return this.resolveTransition({configuration:e,entrySet:e,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,void 0,r)},Object.defineProperty(t.prototype,"initialState",{get:function(){this._init();var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '"+this.id+"'.");return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var r=this.config;t=le(r.target)&&un(r.target)?Jr(this.machine.getStateNodeById(r.target).path.slice(this.path.length-1)):r.target}return t},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,r,e){return void 0===e&&(e=!0),e?"history"===t.type?t.resolveHistory(r):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;return Ze(this)?[this]:"compound"!==this.type||this.initial?re(te(this.initialStateValue).map((function(r){return t.getFromRelativePath(r)}))):[this]},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var r=Br(t),e=r[0],n=r.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '"+e+"' from node with no states");var i=this.getStateNode(e);if("history"===i.type)return i.resolveHistory();if(!this.states[e])throw new Error("Child state '"+e+"' does not exist on '"+this.id+"'");return this.states[e].getFromRelativePath(n)},t.prototype.historyValue=function(t){if(Gr(this.states).length)return{current:t||this.initialStateValue,states:Qr(this.states,(function(r,e){if(!t)return r.historyValue();var n=le(t)?void 0:t[e];return r.historyValue(n||r.initialStateValue)}),(function(t){return!t.history}))}},t.prototype.resolveHistory=function(t){var r=this;if("history"!==this.type)return[this];var e=this.parent;if(!t){var n=this.target;return n?re(te(n).map((function(t){return e.getFromRelativePath(t)}))):e.initialStateNodes}var i,o=(i=e.path,"states",function(t){var r,e,n=t;try{for(var o=Wr(i),s=o.next();!s.done;s=o.next())n=n.states[s.value]}catch(t){r={error:t}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(r)throw r.error}}return n})(t).current;return le(o)?[e.getStateNode(o)]:re(te(o).map((function(t){return"deep"===r.history?e.getFromRelativePath(t):[e.states[t[0]]]})))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this,r=re(Gr(this.states).map((function(r){return t.states[r].stateIds})));return[this.id].concat(r)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var t,r,e,n;if(this.__cache.events)return this.__cache.events;var i=this.states,o=new Set(this.ownEvents);if(i)try{for(var s=Wr(Gr(i)),a=s.next();!a.done;a=s.next()){var c=i[a.value];if(c.states)try{for(var u=(e=void 0,Wr(c.events)),l=u.next();!l.done;l=u.next())o.add(""+l.value)}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}}}catch(r){t={error:r}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter((function(t){return!(!t.target&&!t.actions.length&&t.internal)})).map((function(t){return t.eventType})));return Array.from(t)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var r=this;if(void 0!==t)return t.map((function(t){if(!le(t))return t;var e=t[0]===r.delimiter;if(e&&!r.parent)return r.getStateNodeByPath(t.slice(1));var n=e?r.key+t:t;if(!r.parent)return r.getStateNodeByPath(n);try{return r.parent.getStateNodeByPath(n)}catch(t){throw new Error("Invalid transition definition for state node '"+r.id+"':\n"+t.message)}}))},t.prototype.formatTransition=function(t){var r=this,e=function(t){if(void 0!==t&&""!==t)return ne(t)}(t.target),n="internal"in t?t.internal:!e||e.some((function(t){return le(t)&&t[0]===r.delimiter})),i=this.machine.options.guards,o=this.resolveTarget(e),s=Vr(Vr({},t),{actions:Ve(ne(t.actions)),cond:fe(t.cond,i),target:o,source:this,internal:n,eventType:t.event,toJSON:function(){return Vr(Vr({},s),{target:s.target?s.target.map((function(t){return"#"+t.id})):void 0,source:"#"+r.id})}});return s},t.prototype.formatTransitions=function(){var t,r,e,n=this;if(this.config.on)if(Array.isArray(this.config.on))e=this.config.on;else{var i=this.config.on,o=i["*"],s=void 0===o?[]:o,a=Ur(i,["*"]);e=re(Gr(a).map((function(t){return be(t,a[t])})).concat(be("*",s)))}else e=[];var c=this.config.always?be("",this.config.always):[],u=this.config.onDone?be(String(Pe(this.id)),this.config.onDone):[],l=re(this.invoke.map((function(t){var r=[];return t.onDone&&r.push.apply(r,Pr(be(String(He(t.id)),t.onDone))),t.onError&&r.push.apply(r,Pr(be(String(Ge(t.id)),t.onError))),r}))),f=this.after,h=re(Pr(u,l,e,c).map((function(t){return ne(t).map((function(t){return n.formatTransition(t)}))})));try{for(var d=Wr(f),p=d.next();!p.done;p=d.next())h.push(p.value)}catch(r){t={error:r}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return h},t}(),fn={deferEvents:!1},hn=function(){function t(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=Vr(Vr({},fn),t)}return t.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},t.prototype.schedule=function(t){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}else this.queue.push(t)},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},t.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(t){throw this.clear(),t}finally{this.processingEvent=!1}},t}(),dn=new Map,pn=0;function mn(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0}var vn,gn={sync:!1,autoForward:!1};!function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(vn||(vn={}));var wn=function(){function t(r,e){var n=this;void 0===e&&(e=t.defaultOptions),this.machine=r,this.scheduler=new hn,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=vn.NotStarted,this.children=new Map,this.forwardTo=new Set,this.init=this.start,this.send=function(t,r){if(ce(t))return n.batch(t),n.state;var e=we(ge(t,r));if(n.status===vn.Stopped)return n.state;if(n.status!==vn.Running&&!n.options.deferEvents)throw new Error('Event "'+e.name+'" was sent to uninitialized service "'+n.machine.id+'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: '+JSON.stringify(e.data));return n.scheduler.schedule((function(){n.forward(e);var t=n.nextState(e);n.update(t,e)})),n._state},this.sendTo=function(t,r){var e,i=n.parent&&(r===pe.Parent||n.parent.id===r),o=i?n.parent:le(r)?n.children.get(r)||function(t){return dn.get(t)}(r):(e=r)&&"function"==typeof e.send?r:void 0;if(o)o.send("machine"in o?Vr(Vr({},t),{name:t.name===Ee?""+Ge(n.id):t.name,origin:n.sessionId}):t.data);else if(!i)throw new Error("Unable to send event to child '"+r+"' from service '"+n.id+"'.")};var i=Vr(Vr({},t.defaultOptions),e),o=i.clock,s=i.logger,a=i.parent,c=i.id;this.id=void 0!==c?c:r.id,this.logger=s,this.clock=o,this.parent=a,this.options=i,this.scheduler=new hn({deferEvents:this.options.deferEvents}),this.sessionId="x:"+pn++}return Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:on(this,(function(){return t._initialState=t.machine.initialState,t._initialState}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(t,r){var e,n;try{for(var i=Wr(t.actions),o=i.next();!o.done;o=i.next())this.exec(o.value,t,r)}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.update=function(t,r){var e,n,i,o,s,a,c,u,l=this;if(t._sessionid=this.sessionId,this._state=t,this.options.execute&&this.execute(this.state),this.children.forEach((function(t){l.state.children[t.id]=t})),this.devTools&&this.devTools.send(r.data,t),t.event)try{for(var f=Wr(this.eventListeners),h=f.next();!h.done;h=f.next())(0,h.value)(t.event)}catch(t){e={error:t}}finally{try{h&&!h.done&&(n=f.return)&&n.call(f)}finally{if(e)throw e.error}}try{for(var d=Wr(this.listeners),p=d.next();!p.done;p=d.next())(0,p.value)(t,t.event)}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}try{for(var m=Wr(this.contextListeners),v=m.next();!v.done;v=m.next())(0,v.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(t){s={error:t}}finally{try{v&&!v.done&&(a=m.return)&&a.call(m)}finally{if(s)throw s.error}}var g=rn(t.configuration||[],this.machine);if(this.state.configuration&&g){var w=t.configuration.find((function(t){return"final"===t.type&&t.parent===l.machine})),b=w&&w.doneData?ie(w.doneData,t.context,r):void 0;try{for(var y=Wr(this.doneListeners),x=y.next();!x.done;x=y.next())(0,x.value)(He(this.id,b))}catch(t){c={error:t}}finally{try{x&&!x.done&&(u=y.return)&&u.call(y)}finally{if(c)throw c.error}}this.stop()}},t.prototype.onTransition=function(t){return this.listeners.add(t),this.status===vn.Running&&t(this.state,this.state.event),this},t.prototype.subscribe=function(t,r,e){var n,i=this;if(!t)return{unsubscribe:function(){}};var o=e;return"function"==typeof t?n=t:(n=t.next.bind(t),o=t.complete.bind(t)),this.listeners.add(n),this.status===vn.Running&&n(this.state),o&&this.onDone(o),{unsubscribe:function(){n&&i.listeners.delete(n),o&&i.doneListeners.delete(o)}}},t.prototype.onEvent=function(t){return this.eventListeners.add(t),this},t.prototype.onSend=function(t){return this.sendListeners.add(t),this},t.prototype.onChange=function(t){return this.contextListeners.add(t),this},t.prototype.onStop=function(t){return this.stopListeners.add(t),this},t.prototype.onDone=function(t){return this.doneListeners.add(t),this},t.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},t.prototype.start=function(t){var r=this;if(this.status===vn.Running)return this;dn.set(this.sessionId,this),this.initialized=!0,this.status=vn.Running;var e=void 0===t?this.initialState:on(this,(function(){return!le(e=t)&&"value"in e&&"history"in e?r.machine.resolveState(t):r.machine.resolveState(nn.from(t,r.machine.context));var e}));return this.options.devTools&&this.attachDev(),this.scheduler.initialize((function(){r.update(e,Ne)})),this},t.prototype.stop=function(){var t,r,e,n,i,o,s,a,c,u,l=this;try{for(var f=Wr(this.listeners),h=f.next();!h.done;h=f.next())this.listeners.delete(b=h.value)}catch(r){t={error:r}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}try{for(var d=Wr(this.stopListeners),p=d.next();!p.done;p=d.next())(b=p.value)(),this.stopListeners.delete(b)}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}try{for(var m=Wr(this.contextListeners),v=m.next();!v.done;v=m.next())this.contextListeners.delete(b=v.value)}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}try{for(var g=Wr(this.doneListeners),w=g.next();!w.done;w=g.next()){var b;this.doneListeners.delete(b=w.value)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=g.return)&&a.call(g)}finally{if(s)throw s.error}}if(!this.initialized)return this;this.state.configuration.forEach((function(t){var r,e;try{for(var n=Wr(t.definition.exit),i=n.next();!i.done;i=n.next())l.exec(i.value,l.state)}catch(t){r={error:t}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(r)throw r.error}}})),this.children.forEach((function(t){ue(t.stop)&&t.stop()}));try{for(var y=Wr(Gr(this.delayedEventsMap)),x=y.next();!x.done;x=y.next())this.clock.clearTimeout(this.delayedEventsMap[x.value])}catch(t){c={error:t}}finally{try{x&&!x.done&&(u=y.return)&&u.call(y)}finally{if(c)throw c.error}}return this.scheduler.clear(),this.initialized=!1,this.status=vn.Stopped,dn.delete(this.sessionId),this},t.prototype.batch=function(t){var r=this;if(this.status===vn.NotStarted&&this.options.deferEvents);else if(this.status!==vn.Running)throw new Error(t.length+' event(s) were sent to uninitialized service "'+this.machine.id+'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.');this.scheduler.schedule((function(){var e,n,i=r.state,o=!1,s=[],a=function(t){var e=we(t);r.forward(e),i=on(r,(function(){return r.machine.transition(i,e)})),s.push.apply(s,Pr(i.actions.map((function(t){return e=i,n=(r=t).exec,Vr(Vr({},r),{exec:void 0!==n?function(){return n(e.context,e.event,{action:r,state:e,_event:e._event})}:void 0});var r,e,n})))),o=o||!!i.changed};try{for(var c=Wr(t),u=c.next();!u.done;u=c.next())a(u.value)}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}i.changed=o,i.actions=s,r.update(i,we(t[t.length-1]))}))},t.prototype.sender=function(t){return this.send.bind(this,t)},t.prototype.nextState=function(t){var r=this,e=we(t);if(0===e.name.indexOf(Ae)&&!this.state.nextEvents.some((function(t){return 0===t.indexOf(Ae)})))throw e.data.data;return on(this,(function(){return r.machine.transition(r.state,e)}))},t.prototype.forward=function(t){var r,e;try{for(var n=Wr(this.forwardTo),i=n.next();!i.done;i=n.next()){var o=i.value,s=this.children.get(o);if(!s)throw new Error("Unable to forward event '"+t+"' from interpreter '"+this.id+"' to nonexistant child '"+o+"'.");s.send(t)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(r)throw r.error}}},t.prototype.defer=function(t){var r=this;this.delayedEventsMap[t.id]=this.clock.setTimeout((function(){t.to?r.sendTo(t._event,t.to):r.send(t._event)}),t.delay)},t.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},t.prototype.exec=function(t,r,e){void 0===e&&(e=this.machine.options.actions);var n=r.context,i=r._event,o=t.exec||Re(t.type,e),s=ue(o)?o:o?o.exec:t.exec;if(s)try{return s(n,i.data,{action:t,state:this.state,_event:i})}catch(t){throw this.parent&&this.parent.send({type:"xstate.error",data:t}),t}switch(t.type){case Le:var a=t;if("number"==typeof a.delay)return void this.defer(a);a.to?this.sendTo(a._event,a.to):this.send(a._event);break;case Se:this.cancel(t.sendId);break;case ke:var c=t.activity;if(!this.state.activities[c.id||c.type])break;if(c.type===de.Invoke){var u=xe(c.src),l=this.machine.options.services?this.machine.options.services[u.type]:void 0,f=c.id,h=c.data,d="autoForward"in c?c.autoForward:!!c.forward;if(!l)return;var p=h?ie(h,n,i):void 0,m=ue(l)?l(n,i.data,{data:p,src:u}):l;oe(m)?this.spawnPromise(Promise.resolve(m),f):ue(m)?this.spawnCallback(m,f):he(m)?this.spawnObservable(m,f):ve(m)&&this.spawnMachine(p?m.withContext(p):m,{id:f,autoForward:d})}else this.spawnActivity(c);break;case Ce:this.stopChild(t.activity.id);break;case ze:var v=t.label,g=t.value;v?this.logger(v,g):this.logger(g)}},t.prototype.removeChild=function(t){this.children.delete(t),this.forwardTo.delete(t),delete this.state.children[t]},t.prototype.stopChild=function(t){var r=this.children.get(t);r&&(this.removeChild(t),ue(r.stop)&&r.stop())},t.prototype.spawn=function(t,r,e){if(oe(t))return this.spawnPromise(Promise.resolve(t),r);if(ue(t))return this.spawnCallback(t,r);if(function(t){try{return"function"==typeof t.send}catch(t){return!1}}(n=t)&&"id"in n)return this.spawnActor(t);if(he(t))return this.spawnObservable(t,r);if(ve(t))return this.spawnMachine(t,Vr(Vr({},e),{id:r}));throw new Error('Unable to spawn entity "'+r+'" of type "'+typeof t+'".');var n},t.prototype.spawnMachine=function(r,e){var n=this;void 0===e&&(e={});var i=new t(r,Vr(Vr({},this.options),{parent:this,id:e.id||r.id})),o=Vr(Vr({},gn),e);o.sync&&i.onTransition((function(t){n.send(De,{state:t,id:i.id})}));var s=i;return this.children.set(i.id,s),o.autoForward&&this.forwardTo.add(i.id),i.onDone((function(t){n.removeChild(i.id),n.send(we(t,{origin:i.id}))})).start(),s},t.prototype.spawnPromise=function(t,r){var e=this,n=!1;t.then((function(t){n||(e.removeChild(r),e.send(we(He(r,t),{origin:r})))}),(function(t){if(!n){e.removeChild(r);var i=Ge(r,t);try{e.send(we(i,{origin:r}))}catch(t){e.devTools&&e.devTools.send(i,e.state),e.machine.strict&&e.stop()}}}));var i={id:r,send:function(){},subscribe:function(r,e,n){var i=function(t,r,e){if("object"==typeof t)return t;var n=function(){};return{next:t,error:r||n,complete:e||n}}(r,e,n),o=!1;return t.then((function(t){o||(i.next(t),o||i.complete())}),(function(t){o||i.error(t)})),{unsubscribe:function(){return o=!0}}},stop:function(){n=!0},toJSON:function(){return{id:r}}};return this.children.set(r,i),i},t.prototype.spawnCallback=function(t,r){var e,n=this,i=!1,o=new Set,s=new Set;try{e=t((function(t){s.forEach((function(r){return r(t)})),i||n.send(we(t,{origin:r}))}),(function(t){o.add(t)}))}catch(t){this.send(Ge(r,t))}if(oe(e))return this.spawnPromise(e,r);var a={id:r,send:function(t){return o.forEach((function(r){return r(t)}))},subscribe:function(t){return s.add(t),{unsubscribe:function(){s.delete(t)}}},stop:function(){i=!0,ue(e)&&e()},toJSON:function(){return{id:r}}};return this.children.set(r,a),a},t.prototype.spawnObservable=function(t,r){var e=this,n=t.subscribe((function(t){e.send(we(t,{origin:r}))}),(function(t){e.removeChild(r),e.send(we(Ge(r,t),{origin:r}))}),(function(){e.removeChild(r),e.send(we(He(r),{origin:r}))})),i={id:r,send:function(){},subscribe:function(r,e,n){return t.subscribe(r,e,n)},stop:function(){return n.unsubscribe()},toJSON:function(){return{id:r}}};return this.children.set(r,i),i},t.prototype.spawnActor=function(t){return this.children.set(t.id,t),t},t.prototype.spawnActivity=function(t){var r=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(r){var e=r(this.state.context,t);this.spawnEffect(t.id,e)}},t.prototype.spawnEffect=function(t,r){this.children.set(t,{id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:r||void 0,toJSON:function(){return{id:t}}})},t.prototype.attachDev=function(){var t=mn();if(this.options.devTools&&t&&t.__REDUX_DEVTOOLS_EXTENSION__){var r="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(Vr(Vr({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},r),{features:Vr({jump:!1,skip:!1},r?r.features:void 0)}),this.machine),this.devTools.init(this.state)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[me]=function(){return this},t.defaultOptions=function(t){return{execute:!0,deferEvents:!0,clock:{setTimeout:function(t,r){return setTimeout(t,r)},clearTimeout:function(t){return clearTimeout(t)}},logger:t.console.log.bind(console),devTools:!1}}("undefined"!=typeof self?self:global),t.interpret=bn,t}();function bn(t,r){return new wn(t,r)}const yn=({disabled:t,option:e,onRemove:n})=>{const i={};return e.chipColor&&(i.color=e.chipColor),e.chipBackgroundColor&&(i["background-color"]=e.chipBackgroundColor),r("label",{class:"wcs-select-chip",style:i,onClick:t=>t.stopImmediatePropagation()},r("div",null,e.displayText),t?null:r("div",{onClick:()=>n(e)},r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"12",viewBox:"0 0 20 12",class:"chip"},r("path",{d:"M2,0 6,4 10,0 12,2 8,6 12,10 10,12 6,8 2,12 0,10 4,6 0,2 2,0",fill:e.chipColor,transform:"translate(8 0)"}))))},xn={key:"select",initial:"closed",states:{closed:{entry:["close"],on:{CLICK:"opened",OPEN:"opened",OPTION_CLICKED:{actions:["selectOption"]}}},opened:{entry:["open"],on:{CLICK:"closed",CLOSE:"closed",OPTION_CLICKED:{actions:["selectOption"]}}}}},kn=class{constructor(r){t(this,r),this.wcsChange=i(this,"wcsChange",7),this.wcsFocus=i(this,"wcsFocus",7),this.wcsBlur=i(this,"wcsBlur",7),this.expanded=!1,this.hasLoaded=!1,this.disabled=!1,this.multiple=!1,this.chips=!1,this.compareWith=(t,r)=>cr.isEqual(t,r),this.overlayDirection="bottom"}async open(){this.stateService.send("OPEN")}async close(){this.stateService.send("CLOSE")}onValueChangeHandler(t){this.updateSelectedValue(t),this.emitChange(this.value)}updateSelectedValue(t){t||this.reset(),this.multiple?(Array.isArray(t)||(t=[t]),this.values=[],this.options.forEach((r=>{const e=!!t&&-1!==t.findIndex((t=>this.compareWith(r.value,t)));e&&this.values.push({value:r.value,displayText:r.innerText,chipColor:r.chipColor,chipBackgroundColor:r.chipBackgroundColor}),r.selected=e})),this.displayText=0!==this.values.length?this.values.map((t=>t.displayText)).join(", "):void 0):this.options.forEach((r=>{const e=this.compareWith(r.value,t);e&&(this.displayText=r.innerText),r.selected=e}))}reset(){this.values=[],this.displayText=void 0,this.options.forEach((t=>{t.selected=!1}))}componentDidLoad(){this.optionsEl=this.el.shadowRoot.querySelector(".wcs-select-options"),this.controlEl=this.el.shadowRoot.querySelector(".wcs-select-control");const t=function(t,r,e){void 0===e&&(e=t.context);var n="function"==typeof e?e():e;return new ln(t,r,n)}(xn,this.initMachineOptions());this.stateService=bn(t),this.multiple&&(this.values=[]),this.addRippleEffect(),this.stateService.start(),null===this.optionsEl.querySelector("slot")&&(this.replaceOptions_firefoxBefore63(),this.listenDomUpdate_firefoxBefore63()),void 0!==this.value&&this.updateSelectedValue(this.value),this.hasLoaded=!0}emitChange(t){this.wcsChange.emit({value:t})}replaceOptions_firefoxBefore63(){Array.from(this.el.querySelectorAll("wcs-select-option")).forEach((t=>{t.parentNode===this.el&&(this.el.removeChild(t),this.optionsEl.appendChild(t))}))}listenDomUpdate_firefoxBefore63(){new MutationObserver((t=>{for(const r of t)"childList"===r.type&&this.replaceOptions_firefoxBefore63()})).observe(this.el,{childList:!0})}componentWillUpdate(){this.multiple&&this.options.forEach((t=>t.multiple=!0))}get options(){var t;const r=null===(t=this.el)||void 0===t?void 0:t.querySelectorAll("wcs-select-option");return r&&0!==r.length?r:[]}initMachineOptions(){return{actions:{open:()=>{this.disabled||(this.updateOverlayDirection(),this.expanded=!0,this.focused=!0)},close:()=>{this.focused=!0,this.expanded=!1},selectOption:(t,r)=>{"OPTION_CLICKED"===r.type&&this.handleClickEvent(r.value)}},guards:{enabled:()=>!this.disabled}}}updateOverlayDirection(){const t=+getComputedStyle(this.el).getPropertyValue("--wcs-select-overlay-max-height").replace(/\D/g,""),r=+getComputedStyle(this.el).getPropertyValue("--wcs-select-option-height").replace(/\D/g,""),e=this.el.getBoundingClientRect(),n=Math.floor(t/r),i=window.innerHeight-(e.y+e.height+(this.options.length>n?t+1:this.options.length*r+1));this.overlayDirection=i<0?"top":"bottom"}updateOverlayMargin(){this.controlEl&&this.optionsEl&&(this.optionsEl.style.marginTop="top"===this.overlayDirection?"-"+this.controlEl.getBoundingClientRect().height+"px":"0")}handleClickEvent(t){this.multiple?this.handleClickOnMultiple(t):this.handleNormalClick(t)}handleClickOnMultiple(t){const r=this.values.findIndex((r=>r.value===t.value));if(-1===r){const{value:r,displayText:e,chipColor:n,chipBackgroundColor:i}=t;this.values.push({value:r,displayText:e,chipColor:n,chipBackgroundColor:i}),t.source.selected=!0}else t.source.selected=!1,this.values.splice(r,1);this.updateValueWithValues()}updateValueWithValues(){this.value=this.values.map((t=>t.value)),this.displayText=0!==this.values.length?this.values.map((t=>t.displayText)).join(", "):void 0}handleNormalClick(t){this.options.forEach((t=>{t.selected&&(t.selected=!1)})),t.source.selected=!0,this.value=t.value,this.displayText=t.displayText,this.stateService.send("CLOSE")}disconnectedCallback(){this.stateService.stop()}addRippleEffect(){new L(this.controlEl).unbounded=!1}get hasValue(){return void 0!==this.displayText}onMouseDown(t){const r="clientWidth"in(e=t.target)&&"clientHeight"in e&&(t.offsetX>t.target.clientWidth||t.offsetY>t.target.clientHeight);var e;const n=t.composedPath().filter((t=>"svg"===t.nodeName&&t.classList.contains("chip"))).length>0;r||n||this.stateService.send("CLICK")}onWindowClickEvent(t){const r=-1!==t.composedPath().map((t=>t.nodeName)).indexOf("WCS-SELECT");this.expanded&&!r&&this.stateService.send("CLOSE")}selectedOptionChanged(t){this.sendOptionClickedToStateMachine(t.detail)}sendOptionClickedToStateMachine(t){this.stateService.send({type:"OPTION_CLICKED",value:t})}onSlotchange(){this.updateSelectedValue(this.value)}removeChip(t){this.options.forEach((r=>{r.value===t.value&&this.sendOptionClickedToStateMachine(Object.assign(Object.assign({},t),{source:r}))}))}render(){return this.hasLoaded&&this.updateStyles(),this.updateOverlayMargin(),r(e,Object.assign({class:this.expanded?"expanded ":"",overlayDirection:this.overlayDirection},this.focusedAttributes()),r("div",{class:"wcs-select-control"},this.hasValue?this.chips?this.values.map((t=>r(yn,{disabled:this.disabled,option:t,onRemove:this.removeChip.bind(this)}))):r("label",{class:"wcs-select-value"},this.displayText):r("label",{class:"wcs-select-placeholder"},this.placeholder),r(W,{up:this.expanded})),r("div",{class:"wcs-select-options"},r("slot",{name:"wcs-select-option",onSlotchange:this.onSlotchange.bind(this)})))}updateStyles(){this.optionsEl.setAttribute("style",`width: ${Math.ceil(this.el.offsetWidth-2)}px;`)}focusedAttributes(){return this.disabled?{}:{tabIndex:0}}get el(){return n(this)}static get watchers(){return{value:["onValueChangeHandler"]}}};kn.style='@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var:1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000}.mdc-ripple-surface:hover::before{opacity:0.04}.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee}@supports not (-ms-ime-align: auto){.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:var(--mdc-theme-primary, #6200ee)}}.mdc-ripple-surface--primary:hover::before{opacity:0.04}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786}@supports not (-ms-ime-align: auto){.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:var(--mdc-theme-secondary, #018786)}}.mdc-ripple-surface--accent:hover::before{opacity:0.04}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}:host{--wcs-select-ligther-percentage:40;--wcs-select-border-radius:var(--wcs-border-radius);--wcs-select-background-color:var(--wcs-light);--wcs-select-placeholder-color:var(--wcs-text-medium);--wcs-select-value-color:var(--wcs-primary);--wcs-select-border-color:transparent;--wcs-select-overlay-max-height:360px;--wcs-select-option-height:42px;display:block;position:relative;outline:none;user-select:none}:host svg{flex-shrink:0}:host .arrow{fill:var(--wcs-select-value-color)}:host .chip{fill:var(--wcs-contrast);opacity:calc((100 - var(--wcs-select-ligther-percentage)) / 100)}:host .chip:hover{opacity:100}:host([class~=expanded][overlaydirection=top]) .wcs-select-control{border:var(--wcs-select-border-color) solid 1px;border-top-left-radius:0;border-top-right-radius:0}:host([class~=expanded][overlaydirection=bottom]) .wcs-select-control{border:var(--wcs-select-border-color) solid 1px;border-bottom-left-radius:0;border-bottom-right-radius:0}:host(.expanded){--wcs-select-border-color:var(--wcs-text-light)}:host(.expanded) .wcs-select-options{display:block}:host(:not(.expanded):focus) .wcs-select-control{border:var(--wcs-primary) solid 1px}:host([disabled]) .wcs-select-control,:host([disabled]) label{cursor:default;pointer-events:none}:host([disabled]) label{color:var(--wcs-text-disabled)}:host([disabled]) .arrow{fill:var(--wcs-text-medium)}label{padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);font-weight:500;cursor:pointer;color:var(--wcs-select-color);transition:color 125ms ease-in;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([chips]) .wcs-select-control{flex-wrap:wrap}.wcs-select-control{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;overflow:hidden;display:flex;align-items:center;padding-right:var(--wcs-text-padding);background-color:var(--wcs-select-background-color);border-radius:var(--wcs-select-border-radius);border:var(--wcs-select-border-color) solid 1px;font-size:1rem;line-height:1.5;cursor:pointer}.wcs-select-control::before,.wcs-select-control::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.wcs-select-control::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1}.wcs-select-control.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.wcs-select-control.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.wcs-select-control.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.wcs-select-control.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.wcs-select-control.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.wcs-select-control::before,.wcs-select-control::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.wcs-select-control.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.wcs-select-control::before,.wcs-select-control::after{background-color:#999}.wcs-select-control:hover::before{opacity:0.1}.wcs-select-control:not(.mdc-ripple-upgraded):focus::before,.wcs-select-control.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.2}.wcs-select-control:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.wcs-select-control:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.3}.wcs-select-control.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.3}.wcs-select-placeholder{color:var(--wcs-select-placeholder-color);font-style:italic;font-weight:400}.wcs-select-value{color:var(--wcs-select-value-color);font-weight:var(--wcs-font-weight-form-value)}.wcs-select-chip{color:var(--wcs-contrast);background-color:var(--wcs-base);border-radius:0.75rem;display:flex;align-items:center;margin:calc(var(--wcs-base-margin)/2);padding:calc(calc(var(--wcs-padding) - 8px) / 2) var(--wcs-padding);overflow:initial}:host([overlaydirection=top]) .wcs-select-options{-webkit-transform:translateY(-100%);transform:translateY(-100%);border-left:var(--wcs-select-border-color) solid 1px;border-right:var(--wcs-select-border-color) solid 1px;border-top:var(--wcs-select-border-color) solid 1px;border-top-right-radius:var(--wcs-border-radius);border-top-left-radius:var(--wcs-border-radius)}:host([overlaydirection=bottom]) .wcs-select-options{border-left:var(--wcs-select-border-color) solid 1px;border-right:var(--wcs-select-border-color) solid 1px;border-bottom:var(--wcs-select-border-color) solid 1px;border-bottom-right-radius:var(--wcs-border-radius);border-bottom-left-radius:var(--wcs-border-radius)}.wcs-select-options{display:none;position:absolute;z-index:1;margin:0;max-height:var(--wcs-select-overlay-max-height);overflow-y:auto;background-color:var(--wcs-white);color:var(--wcs-text-medium)}';const Cn=class{constructor(r){t(this,r),this.wcsSelectOptionClick=i(this,"wcsSelectOptionClick",7),this.disabled=!1,this.selected=!1,this.multiple=!1}componentWillLoad(){void 0===this.value&&(this.value=this.el.innerText||"")}componentDidLoad(){new L(this.el).unbounded=!0}onMouseDown(t){this.disabled||(t.stopPropagation(),this.wcsSelectOptionClick.emit({source:this.el,value:this.value,displayText:this.el.innerText}))}render(){return r(e,{slot:"wcs-select-option"},this.multiple&&r("wcs-checkbox",{checked:this.selected}),r("slot",null))}get el(){return n(this)}};Cn.style='@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface--test-edge-var-bug{--mdc-ripple-surface-test-edge-var:1px solid #000;visibility:hidden}.mdc-ripple-surface--test-edge-var-bug::before{border:var(--mdc-ripple-surface-test-edge-var)}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000}.mdc-ripple-surface:hover::before{opacity:0.04}.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee}@supports not (-ms-ime-align: auto){.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:var(--mdc-theme-primary, #6200ee)}}.mdc-ripple-surface--primary:hover::before{opacity:0.04}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786}@supports not (-ms-ime-align: auto){.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:var(--mdc-theme-secondary, #018786)}}.mdc-ripple-surface--accent:hover::before{opacity:0.04}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before,.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.12}wcs-select-option{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity;overflow:hidden;display:flex;padding:0 var(--wcs-padding);height:var(--wcs-select-option-height);line-height:42px;cursor:pointer;user-select:none;font-weight:500;font-size:1rem;color:var(--wcs-black)}wcs-select-option::before,wcs-select-option::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}wcs-select-option::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1}wcs-select-option.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}wcs-select-option.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}wcs-select-option.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}wcs-select-option.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}wcs-select-option.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}wcs-select-option::before,wcs-select-option::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}wcs-select-option.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}wcs-select-option::before,wcs-select-option::after{background-color:#999}wcs-select-option:hover::before{opacity:0.1}wcs-select-option:not(.mdc-ripple-upgraded):focus::before,wcs-select-option.mdc-ripple-upgraded--background-focused::before{transition-duration:75ms;opacity:0.2}wcs-select-option:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}wcs-select-option:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.3}wcs-select-option.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:0.3}wcs-select-option:hover{color:var(--wcs-primary);background-color:var(--wcs-light)}wcs-select-option[disabled]{cursor:default;pointer-events:none;color:var(--wcs-text-disabled)}wcs-select-option[selected]{color:var(--wcs-primary);background-color:var(--wcs-light)}wcs-select-option[multiple] wcs-checkbox{pointer-events:none;margin-right:10px}wcs-select-option[multiple]:hover wcs-checkbox{--wcs-checkbox-border-color:var(--wcs-primary)}';const jn=class{constructor(r){t(this,r),this.mode="border"}};jn.style="@keyframes wcs-spinner-border{to{transform:rotate(360deg)}}@keyframes wcs-spinner-grow{0%{transform:scale(0)}50%{opacity:1}}:host{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border-radius:50%}:host([mode=border]){border:0.25em solid var(--wcs-base);border-right-color:transparent;animation:wcs-spinner-border 0.75s linear infinite}:host([mode=growing]){background-color:var(--wcs-base);opacity:0;animation:wcs-spinner-grow 0.75s linear infinite}";const Ln=class{constructor(r){t(this,r),this.wcsChange=i(this,"wcsChange",7),this.switchId="wcs-switch-"+Sn++,this.name=this.switchId,this.checked=!1}toggleChange(t){this.checked=!this.checked,this.wcsChange.emit({checked:this.checked})}render(){return r(e,null,r("label",{htmlFor:this.name,class:"wcs-container"},r("span",{class:"text"},r("slot",null)),r("input",{onChange:t=>this.toggleChange(t),checked:this.checked,class:"wcs-switch",type:"checkbox",name:this.name,id:this.name}),r("span",{class:"wcs-checkmark"})))}get el(){return n(this)}};let Sn=0;Ln.style=':host{--wcs-switch-background-color-initial:var(--wcs-text-light);--wcs-switch-background-color-final:var(--wcs-primary);--wcs-switch-bullet-color-initial:var(--wcs-switch-background-color-final);--wcs-switch-bullet-color-final:var(--wcs-switch-background-color-initial);display:flex}.wcs-container{position:relative;display:inline-block;width:3rem;height:1.5rem;margin-bottom:0}.wcs-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.wcs-switch,.text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.wcs-checkmark::before,.wcs-checkmark{position:absolute;transition:all 0.15s ease-out}.wcs-checkmark::before{bottom:0.3125rem;left:0.3125rem;width:0.875rem;height:0.875rem;content:"";border-radius:50%;background-color:var(--wcs-switch-bullet-color-initial)}.wcs-checkmark{top:0;right:0;bottom:0;left:0;cursor:pointer;border-radius:0.75rem;background-color:var(--wcs-switch-background-color-initial)}input:not([disabled]):checked+.wcs-checkmark::before,.wcs-container:hover input:not([disabled])+.wcs-checkmark::before,.wcs-container:focus input:not([disabled])+.wcs-checkmark::before{background-color:var(--wcs-switch-bullet-color-final)}input:checked+.wcs-checkmark::before{transform:translateX(24px)}input:not([disabled]):checked+.wcs-checkmark,.wcs-container:hover input:not([disabled])+.wcs-checkmark,.wcs-container:focus input:not([disabled])+.wcs-checkmark{background-color:var(--wcs-switch-background-color-final)}';const _n=class{constructor(r){t(this,r),this.tabLoaded=i(this,"tabLoaded",7)}componentDidLoad(){this.tabLoaded.emit()}render(){return r(e,{slot:"wcs-tab"},r("slot",null))}},Mn=class{constructor(r){t(this,r),this.tabChange=i(this,"tabChange",7),this.align="start",this.selectedIndex=0,this.headersOnly=!1,this.headers=[],this.currentActiveTabIndex=0}selectedIndexChanged(t){this.currentActiveTabIndex=t}selectedTabkeyChanged(t){this.updateCurrentActiveIndexByTabKey(t)}emitActiveTabChange(){this.tabChange.emit({tabName:this.headers[this.currentActiveTabIndex],tabIndex:this.currentActiveTabIndex,selectedKey:this.tabs[this.currentActiveTabIndex].itemKey})}updateCurrentActiveIndexByTabKey(t){for(let r=0;r<this.tabs.length;r++)this.tabs[r].itemKey===t&&(this.currentActiveTabIndex=r)}onTabLoaded(){this.refreshHeaders()}componentDidLoad(){this.putTabsInCorrectDivIfTheyAreNot(),this.refreshHeaders(),this.selectedIndex&&(this.currentActiveTabIndex=this.selectedIndex),this.selectedKey&&this.updateCurrentActiveIndexByTabKey(this.selectedKey)}putTabsInCorrectDivIfTheyAreNot(){const t=this.el.shadowRoot.querySelector(".wcs-tabs");null===t.querySelector("slot")&&Array.from(this.el.querySelectorAll("wcs-tab")).filter((r=>r.parentNode!==t)).forEach((r=>{r.parentElement.isEqualNode(this.el)&&(this.el.removeChild(r),t.appendChild(r))}))}handleKeyDown(t,r){const e=t.target;switch(t.key){case" ":case"Enter":this.currentActiveTabIndex=r,this.emitActiveTabChange(),t.preventDefault();break;case"ArrowLeft":e.previousElementSibling&&e.previousElementSibling.classList.contains("wcs-tab-header")&&(e.previousElementSibling.focus(),t.preventDefault());break;case"ArrowRight":e.nextElementSibling&&e.nextElementSibling.classList.contains("wcs-tab-header")&&(e.nextElementSibling.focus(),t.preventDefault())}}refreshHeaders(){this.headers=[],this.tabs.forEach((t=>{this.headers.push(t.getAttribute("header"))}))}get tabs(){const t=this.el.shadowRoot.querySelector(".wcs-tabs"),r=this.el.shadowRoot.querySelectorAll(".wcs-tabs > wcs-tab");return 0!==r.length?r:t.querySelector("slot")?t.querySelector("slot").assignedElements():[]}selectTabAndEmitChangeEvent(t){this.currentActiveTabIndex=t,this.emitActiveTabChange()}componentWillUpdate(){this.headersOnly?this.hideAllTabsContent():this.updateTabVisibility()}updateTabVisibility(){this.tabs.forEach(((t,r)=>{t.setAttribute("style",r!==this.currentActiveTabIndex?"display: none;":"display: block;")}))}hideAllTabsContent(){this.tabs.forEach((t=>t.setAttribute("style","display: none;")))}render(){return r(e,null,r("div",{class:"wcs-tabs-headers"},this.headers.map(((t,e)=>r("div",{class:"wcs-tab-header "+(this.currentActiveTabIndex===e?"active":""),onClick:()=>this.selectTabAndEmitChangeEvent(e),onKeyDown:t=>this.handleKeyDown(t,e),tabIndex:e},r("span",null,t))))),r("div",{class:"wcs-tabs"},r("slot",{name:"wcs-tab"})))}get el(){return n(this)}static get watchers(){return{selectedIndex:["selectedIndexChanged"],selectedKey:["selectedTabkeyChanged"]}}};Mn.style=':host{--wcs-tabs-padding-bottom:16px}:host([align=start]) .wcs-tabs-headers{justify-content:start}:host([align=end]) .wcs-tabs-headers{justify-content:end}:host([align=center]) .wcs-tabs-headers{justify-content:center}.wcs-tabs-headers{padding-top:4px;overflow-x:auto;display:flex;position:relative}:host([gutter]) .wcs-tabs-headers{border-bottom:var(--wcs-tabs-headers-border-bottom)}.wcs-tab-header{padding:8px 24px 16px 0;display:flex;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;outline:none}.wcs-tab-header span{text-align:center;color:var(--wcs-text-disabled);font-size:1rem;font-weight:400}.wcs-tab-header:focus span,.wcs-tab-header:hover span{color:var(--wcs-primary)}.active span{font-weight:500;color:var(--wcs-primary);position:relative}.active span::after{position:absolute;bottom:calc(var(--wcs-tabs-padding-bottom) * -1);left:0;width:100%;height:0.3125rem;content:"";background-color:#0088ce;border-radius:3px}';const zn=class{constructor(r){t(this,r),this.wcsChange=i(this,"wcsChange",7),this.wcsInput=i(this,"wcsInput",7),this.wcsBlur=i(this,"wcsBlur",7),this.wcsFocus=i(this,"wcsFocus",7),this.inputId="wcs-textarea-"+An++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.state="initial",this.autoGrow=!1,this.value="",this.onInput=t=>{this.nativeInput&&(this.value=this.nativeInput.value),this.wcsInput.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusChange(),this.fireFocusEvents&&this.wcsFocus.emit(t)},this.onBlur=t=>{this.hasFocus=!1,this.focusChange(),this.fireFocusEvents&&this.wcsBlur.emit(t)},this.onKeyDown=()=>{this.checkClearOnEdit()}}debounceChanged(){this.wcsChange=S(this.wcsChange,this.debounce)}valueChanged(){const t=this.nativeInput,r=this.getValue();t&&t.value!==r&&(t.value=r),this.runAutoGrow(),this.wcsChange.emit({value:r})}connectedCallback(){this.debounceChanged(),document.dispatchEvent(new CustomEvent("wcsInputDidLoad",{detail:this.el}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("wcsInputDidUnload",{detail:this.el}))}componentWillLoad(){this.inheritedAttributes=M(this.el,["title"])}componentDidLoad(){O((()=>this.runAutoGrow()))}runAutoGrow(){const t=this.nativeInput;t&&this.autoGrow&&o((()=>{t.style.height="auto",t.style.height=t.scrollHeight+"px"}))}async fitContent(){O((()=>this.runAutoGrow()))}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async setBlur(){this.nativeInput&&this.nativeInput.blur()}getInputElement(){return Promise.resolve(this.nativeInput)}checkClearOnEdit(){this.clearOnEdit&&(this.didBlurAfterEdit&&this.hasValue()&&(this.value=""),this.didBlurAfterEdit=!1)}focusChange(){this.clearOnEdit&&!this.hasFocus&&this.hasValue()&&(this.didBlurAfterEdit=!0)}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}render(){const t=this.getValue(),n=this.inputId+"-lbl",i=z(this.el);return i&&(i.id=n),r(e,{"aria-disabled":this.disabled?"true":null},this.icon?r("wcs-mat-icon",{icon:this.icon,size:"m"}):null,r("textarea",Object.assign({class:"native-textarea","aria-labelledby":i?n:null,ref:t=>this.nativeInput=t,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),t))}get el(){return n(this)}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"]}}};let On,An=0;zn.style=":host{--wcs-textarea-icon-color:var(--wcs-text-medium);--wcs-internal-textarea-border-radius-left:var(--wcs-textarea-border-radius-left, var(--wcs-border-radius));--wcs-internal-textarea-border-radius-right:var(--wcs-textarea-border-radius-right, var(--wcs-border-radius));display:flex;flex-direction:row;width:100%;border-radius:var(--wcs-internal-textarea-border-radius-left) var(--wcs-internal-textarea-border-radius-right) var(--wcs-internal-textarea-border-radius-right) var(--wcs-internal-textarea-border-radius-left);background-color:var(--wcs-light);border:1px solid var(--wcs-light);background-clip:padding-box}:host ::placeholder{font-weight:400;font-style:italic}:host textarea{overflow:auto;flex:1;width:100%;box-sizing:border-box;min-height:24px;background-color:transparent;font-family:var(--wcs-font-sans-serif);color:var(--wcs-primary);font-weight:var(--wcs-font-weight-form-value) !important;border:none;padding:calc(var(--wcs-padding) / 2) var(--wcs-padding);font-size:1rem;line-height:1.5}:host textarea:focus{box-shadow:none;outline:0}:host wcs-mat-icon{position:relative;margin-top:7px;margin-left:8px;margin-right:-8px}:host([state=error]){border-color:var(--wcs-red) !important}:host(:focus-within){border:solid 1px var(--wcs-primary)}:host(:focus-within) wcs-mat-icon{color:var(--wcs-primary)}";const En=class{constructor(r){t(this,r),this.position="bottom"}componentWillLoad(){const t=document.getElementById(this.for);if(null===t)throw new Error(`Cannot find element with corresponding id: ${this.for}`);this.target=t,this.listen("mouseenter","show"),this.listen("focus","show"),this.listen("mouseleave","hide"),this.listen("blur","hide"),this.listen("tap","hide")}listen(t,r){this.target.addEventListener(t,(()=>{"hide"===r?this.content.classList.replace("show","hide"):this.content.classList.replace("hide","show"),this.updatePosition()}))}componentDidRender(){const t=(On||function(){const t=document.querySelector(".wcs-overlay");On=t||document.createElement("div"),On.classList.add("wcs-overlay"),document.body.appendChild(On)}(),On);this.content=this.el.shadowRoot.querySelector(".wcs-tooltip-content"),(this.el.shadowRoot.querySelector("slot")?this.el.shadowRoot.querySelector("slot").assignedNodes():this.content.querySelectorAll("*")).forEach((t=>this.content.appendChild(t.cloneNode(!0)))),this.content.remove(),t.appendChild(this.content),this.updatePosition()}updatePosition(){if(!this.target||!this.content.offsetParent)return;const t=this.content.offsetParent.getBoundingClientRect(),r=this.target.getBoundingClientRect(),e=this.content.getBoundingClientRect(),n=(r.width-e.width)/2,i=(r.height-e.height)/2,o=r.left-t.left,s=r.top-t.top;let a,c;switch(this.position){case"top":a=o+n,c=s-e.height-6;break;case"bottom":a=o+n,c=s+r.height+6;break;case"left":a=o-e.width-6,c=s+i;break;case"right":a=o+r.width+6,c=s+i}t.left+a+e.width>window.innerWidth?(this.content.style.right="0px",this.content.style.left="auto"):(this.content.style.left=Math.max(0,a)+"px",this.content.style.right="auto"),t.top+c+e.height>window.innerHeight?(this.content.style.bottom=t.height-s+"px",this.content.style.top="auto"):(this.content.style.top=Math.max(-t.top,c)+"px",this.content.style.bottom="auto")}disconnectedCallback(){}render(){return r(e,null,r("div",{class:"wcs-tooltip-content hide"},r("slot",null)))}get el(){return n(this)}};export{s as wcs_action_bar,a as wcs_badge,E as wcs_button,D as wcs_card,I as wcs_card_body,T as wcs_checkbox,R as wcs_com_nav,F as wcs_com_nav_category,V as wcs_com_nav_submenu,U as wcs_divider,B as wcs_dropdown,P as wcs_dropdown_item,G as wcs_editable_field,Y as wcs_error,Z as wcs_field,q as wcs_field_content,$ as wcs_field_label,J as wcs_footer,K as wcs_form_field,Q as wcs_galactic,nr as wcs_galactic_menu,vr as wcs_grid,wr as wcs_grid_column,br as wcs_header,yr as wcs_hint,Cr as wcs_horizontal_stepper,jr as wcs_input,Sr as wcs_label,_r as wcs_list_item,Mr as wcs_list_item_properties,zr as wcs_list_item_property,Or as wcs_mat_icon,Ar as wcs_modal,Er as wcs_nav,Dr as wcs_nav_item,Ir as wcs_progress_bar,Tr as wcs_progress_radial,Nr as wcs_radio,Fr as wcs_radio_group,kn as wcs_select,Cn as wcs_select_option,jn as wcs_spinner,Ln as wcs_switch,_n as wcs_tab,Mn as wcs_tabs,zn as wcs_textarea,En as wcs_tooltip}