@watermarkinsights/ripple 3.14.1 → 3.15.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/cjs/{chartFunctions-0ea0888f.js → chartFunctions-08494c24.js} +419 -419
- package/dist/cjs/{functions-8d3ceccd.js → functions-e1b590e0.js} +528 -446
- package/dist/cjs/{global-12a09ffa.js → global-0a41410c.js} +62 -62
- package/dist/cjs/{http-service-9e8c4dd5.js → http-service-494d81de.js} +49 -49
- package/dist/cjs/{interfaces-30a74c1f.js → interfaces-a3338581.js} +29 -29
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-chart-popover.cjs.entry.js +86 -86
- package/dist/cjs/priv-datepicker.cjs.entry.js +657 -657
- package/dist/cjs/priv-navigator-button.cjs.entry.js +18 -18
- package/dist/cjs/priv-navigator-item.cjs.entry.js +23 -23
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +329 -335
- package/dist/cjs/wm-button.cjs.entry.js +248 -241
- package/dist/cjs/wm-chart-slice.cjs.entry.js +13 -13
- package/dist/cjs/wm-chart.cjs.entry.js +110 -110
- package/dist/cjs/wm-datepicker.cjs.entry.js +265 -265
- package/dist/cjs/wm-input.cjs.entry.js +134 -134
- package/dist/cjs/wm-modal-footer.cjs.entry.js +33 -33
- package/dist/cjs/wm-modal-header.cjs.entry.js +36 -36
- package/dist/cjs/wm-modal.cjs.entry.js +163 -163
- package/dist/cjs/wm-navigation_3.cjs.entry.js +227 -227
- package/dist/cjs/wm-navigator.cjs.entry.js +268 -268
- package/dist/cjs/wm-network-uploader.cjs.entry.js +455 -454
- package/dist/cjs/wm-option_2.cjs.entry.js +720 -720
- package/dist/cjs/wm-pagination.cjs.entry.js +167 -167
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +129 -129
- package/dist/cjs/wm-search.cjs.entry.js +232 -232
- package/dist/cjs/wm-snackbar.cjs.entry.js +170 -170
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +296 -296
- package/dist/cjs/wm-tag-input.cjs.entry.js +579 -579
- package/dist/cjs/wm-timepicker.cjs.entry.js +383 -383
- package/dist/cjs/wm-toggletip.cjs.entry.js +124 -124
- package/dist/cjs/wm-uploader.cjs.entry.js +599 -629
- package/dist/cjs/wm-wrapper.cjs.entry.js +12 -12
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +258 -258
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +115 -115
- package/dist/collection/components/charts/wm-chart/wm-chart.js +328 -328
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +195 -195
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +88 -88
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +111 -111
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +442 -448
- package/dist/collection/components/wm-button/wm-button.js +545 -504
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.js +136 -136
- package/dist/collection/components/wm-modal/wm-modal-header.js +87 -87
- package/dist/collection/components/wm-modal/wm-modal.js +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
- package/dist/collection/components/wm-navigation/wm-navigation.js +218 -218
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.js +428 -428
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.js +1001 -1001
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +788 -787
- package/dist/collection/components/wm-uploader/wm-uploader.js +1043 -1072
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
- package/dist/collection/dev/scripts.js +20 -20
- package/dist/collection/global/__mocks__/functions.js +6 -6
- package/dist/collection/global/chartFunctions.js +421 -421
- package/dist/collection/global/functions.js +441 -441
- package/dist/collection/global/global.js +69 -69
- package/dist/collection/global/interfaces.js +49 -49
- package/dist/collection/global/services/__mocks__/http-service.js +130 -130
- package/dist/collection/global/services/http-service.js +50 -50
- package/dist/collection/lang/lang.js +5 -5
- package/dist/collection/lang/missing.js +43 -43
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{chartFunctions-6f90586d.js → chartFunctions-a310b9d0.js} +419 -419
- package/dist/esm/{functions-11c0c4e2.js → functions-b4b62a23.js} +528 -446
- package/dist/esm/{global-5abca73e.js → global-e80a0ec8.js} +62 -62
- package/dist/esm/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +49 -49
- package/dist/esm/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +29 -29
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-chart-popover.entry.js +86 -86
- package/dist/esm/priv-datepicker.entry.js +657 -657
- package/dist/esm/priv-navigator-button.entry.js +18 -18
- package/dist/esm/priv-navigator-item.entry.js +23 -23
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +329 -335
- package/dist/esm/wm-button.entry.js +248 -241
- package/dist/esm/wm-chart-slice.entry.js +13 -13
- package/dist/esm/wm-chart.entry.js +110 -110
- package/dist/esm/wm-datepicker.entry.js +265 -265
- package/dist/esm/wm-input.entry.js +134 -134
- package/dist/esm/wm-modal-footer.entry.js +33 -33
- package/dist/esm/wm-modal-header.entry.js +36 -36
- package/dist/esm/wm-modal.entry.js +163 -163
- package/dist/esm/wm-navigation_3.entry.js +227 -227
- package/dist/esm/wm-navigator.entry.js +268 -268
- package/dist/esm/wm-network-uploader.entry.js +455 -454
- package/dist/esm/wm-option_2.entry.js +720 -720
- package/dist/esm/wm-pagination.entry.js +167 -167
- package/dist/esm/wm-progress-indicator_3.entry.js +129 -129
- package/dist/esm/wm-search.entry.js +232 -232
- package/dist/esm/wm-snackbar.entry.js +170 -170
- package/dist/esm/wm-tab-item_3.entry.js +296 -296
- package/dist/esm/wm-tag-input.entry.js +579 -579
- package/dist/esm/wm-timepicker.entry.js +383 -383
- package/dist/esm/wm-toggletip.entry.js +124 -124
- package/dist/esm/wm-uploader.entry.js +599 -629
- package/dist/esm/wm-wrapper.entry.js +12 -12
- package/dist/esm-es5/{chartFunctions-6f90586d.js → chartFunctions-a310b9d0.js} +1 -1
- package/dist/esm-es5/functions-b4b62a23.js +1 -0
- package/dist/esm-es5/global-e80a0ec8.js +1 -0
- package/dist/esm-es5/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +0 -0
- package/dist/esm-es5/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-datepicker.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-header.entry.js +1 -1
- package/dist/esm-es5/wm-modal.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-07ebdcd4.system.entry.js → p-0f08a806.system.entry.js} +1 -1
- package/dist/ripple/{p-b793bc6f.system.entry.js → p-1ba2134b.system.entry.js} +1 -1
- package/dist/ripple/{p-626d5017.entry.js → p-1c75615f.entry.js} +1 -1
- package/dist/ripple/{p-42dbd978.entry.js → p-1cadcfc1.entry.js} +1 -1
- package/dist/ripple/{p-b2a9b5d6.system.entry.js → p-2531b343.system.entry.js} +1 -1
- package/dist/ripple/p-32da7cdf.entry.js +1 -0
- package/dist/ripple/p-375a850f.system.js +1 -0
- package/dist/ripple/p-3a71d9a3.entry.js +1 -0
- package/dist/ripple/{p-0e22a3a4.entry.js → p-428b8b24.entry.js} +1 -1
- package/dist/ripple/{p-888bec42.js → p-43f1298b.js} +0 -0
- package/dist/ripple/{p-80a00759.entry.js → p-477688c8.entry.js} +1 -1
- package/dist/ripple/{p-d927de70.system.entry.js → p-4be49461.system.entry.js} +1 -1
- package/dist/ripple/{p-7cb0035a.system.entry.js → p-51b60241.system.entry.js} +1 -1
- package/dist/ripple/p-5754e2b8.system.js +1 -0
- package/dist/ripple/{p-b5b7c71f.system.js → p-591fae61.system.js} +1 -1
- package/dist/ripple/p-5f589556.entry.js +1 -0
- package/dist/ripple/{p-b4837126.system.entry.js → p-617b738b.system.entry.js} +1 -1
- package/dist/ripple/{p-06012eb7.system.entry.js → p-61e2a39a.system.entry.js} +1 -1
- package/dist/ripple/{p-5018f8ae.entry.js → p-65d5f494.entry.js} +1 -1
- package/dist/ripple/{p-4f3f7b2b.entry.js → p-6ac734b7.entry.js} +1 -1
- package/dist/ripple/p-6d7a6954.js +1 -0
- package/dist/ripple/{p-97683ddc.entry.js → p-6ddfada6.entry.js} +1 -1
- package/dist/ripple/{p-57a718f0.system.entry.js → p-719864a5.system.entry.js} +1 -1
- package/dist/ripple/{p-caef11cc.entry.js → p-73a66a6c.entry.js} +1 -1
- package/dist/ripple/{p-c656fcf1.entry.js → p-75346877.entry.js} +1 -1
- package/dist/ripple/{p-dfa80ed1.entry.js → p-7833008a.entry.js} +1 -1
- package/dist/ripple/{p-08fc668c.system.entry.js → p-79542ae3.system.entry.js} +1 -1
- package/dist/ripple/{p-4073ac6a.entry.js → p-79b8e996.entry.js} +1 -1
- package/dist/ripple/{p-8b54c589.system.entry.js → p-7a07096b.system.entry.js} +1 -1
- package/dist/ripple/{p-c4c21c82.system.entry.js → p-93321f18.system.entry.js} +1 -1
- package/dist/ripple/p-96b47a13.js +1 -0
- package/dist/ripple/{p-c49ef079.system.entry.js → p-981788dd.system.entry.js} +1 -1
- package/dist/ripple/p-990db03b.system.entry.js +1 -0
- package/dist/ripple/p-99791f7a.system.js +1 -0
- package/dist/ripple/{p-e012273a.entry.js → p-9ad7db55.entry.js} +1 -1
- package/dist/ripple/{p-910b6dd5.system.entry.js → p-9caf189d.system.entry.js} +1 -1
- package/dist/ripple/{p-313b6073.system.js → p-9d02957d.system.js} +0 -0
- package/dist/ripple/{p-ffc34819.system.entry.js → p-9ef524df.system.entry.js} +1 -1
- package/dist/ripple/{p-84d0d2ff.system.entry.js → p-9fd29197.system.entry.js} +1 -1
- package/dist/ripple/{p-f0d3ceb1.system.entry.js → p-a2f8608f.system.entry.js} +1 -1
- package/dist/ripple/{p-dc7e5609.system.entry.js → p-aa35c9dd.system.entry.js} +1 -1
- package/dist/ripple/{p-6ffdab0d.system.entry.js → p-ab7ce269.system.entry.js} +1 -1
- package/dist/ripple/{p-410687ea.entry.js → p-b5a6aebc.entry.js} +1 -1
- package/dist/ripple/{p-4650a83c.system.entry.js → p-b6c197c7.system.entry.js} +1 -1
- package/dist/ripple/{p-9c60325b.entry.js → p-c5a3766f.entry.js} +1 -1
- package/dist/ripple/{p-2af0b657.system.entry.js → p-c95317b4.system.entry.js} +1 -1
- package/dist/ripple/p-ce696630.entry.js +1 -0
- package/dist/ripple/{p-17438cd5.entry.js → p-d3326191.entry.js} +1 -1
- package/dist/ripple/{p-fe4c1194.system.entry.js → p-e47b10b1.system.entry.js} +1 -1
- package/dist/ripple/{p-490dafa4.js → p-eb308bc7.js} +1 -1
- package/dist/ripple/{p-4afa52d4.entry.js → p-f5cec3d1.entry.js} +1 -1
- package/dist/ripple/{p-08b7ec08.system.js → p-f5df5903.system.js} +0 -0
- package/dist/ripple/{p-8a2cabf2.entry.js → p-f7c2b508.entry.js} +1 -1
- package/dist/ripple/{p-cb357a84.entry.js → p-fcb81a4e.entry.js} +1 -1
- package/dist/ripple/{p-a6d6eae7.js → p-fd8070fb.js} +0 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +27 -27
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +36 -36
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +27 -27
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +17 -17
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +47 -47
- package/dist/types/components/wm-button/wm-button.d.ts +49 -43
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +41 -41
- package/dist/types/components/wm-input/wm-input.d.ts +46 -46
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +14 -14
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +11 -11
- package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +21 -21
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -28
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
- package/dist/types/components/wm-option/wm-option.d.ts +35 -35
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
- package/dist/types/components/wm-search/wm-search.d.ts +86 -86
- package/dist/types/components/wm-select/wm-select.d.ts +94 -94
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +121 -118
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +28 -24
- package/dist/types/global/__mocks__/functions.d.ts +6 -6
- package/dist/types/global/chartFunctions.d.ts +29 -29
- package/dist/types/global/functions.d.ts +42 -42
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +44 -44
- package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
- package/dist/types/global/services/http-service.d.ts +4 -4
- package/dist/types/lang/lang.d.ts +5 -5
- package/package.json +47 -47
- package/dist/esm-es5/functions-11c0c4e2.js +0 -1
- package/dist/esm-es5/global-5abca73e.js +0 -1
- package/dist/ripple/p-37b0a23c.system.js +0 -1
- package/dist/ripple/p-3e875e87.system.entry.js +0 -1
- package/dist/ripple/p-42bf2cd4.system.js +0 -1
- package/dist/ripple/p-70d0e993.js +0 -1
- package/dist/ripple/p-80b62707.entry.js +0 -1
- package/dist/ripple/p-d2a11410.entry.js +0 -1
- package/dist/ripple/p-db899686.system.js +0 -1
- package/dist/ripple/p-e2d5f8bd.js +0 -1
- package/dist/ripple/p-e4cb8aad.entry.js +0 -1
- package/dist/ripple/p-fa632547.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e,g as o}from"./p-c2abdcba.js";import{n,g as r,l as h,q as a}from"./p-6d7a6954.js";import{g as m}from"./p-43f1298b.js";const l=class{constructor(s){t(this,s),this.wmActionMenuLoaded=i(this,"wmActionMenuLoaded",7),this.menuLoaded=i(this,"menuLoaded",7),this.openUp=!1,this.isExpanded=!1,this.actionMenuType=null,this.buttonType=null,this.disabled=!1,this.keysSoFar="",this.searchIndex=0,this.keyClear=null}get horizontalPosition(){return this.el&&this.itemsEl&&n(this.el,this.itemsEl)?"right":"left"}get childItems(){return Array.from(this.el.querySelectorAll("wm-menuitem"))}get tempActionMenuType(){return this.actionMenuType||this.buttonType||"icon"}handleClickedItem(){this.close()}handleKeyUp(t){this.moveUp(t.target)}handleKeyDown(t){this.moveDown(t.detail)}handleHomeKey(){this.focusFirstItem()}handleEndKey(){this.focusLastItem()}handleTabKey(){this.isExpanded&&this.close()}handleEscKey(){this.close(),this.wmButtonEl.focus()}handleKey(t){switch(t.key){case"ArrowDown":this.isExpanded||(t.preventDefault(),this.open(),window.requestAnimationFrame((()=>this.focusFirstItem())));break;case"ArrowUp":this.isExpanded||(t.preventDefault(),this.open(),window.requestAnimationFrame((()=>this.focusLastItem())))}}handleMenuitemBlur(t){if(t.detail.relatedTarget!==this.el&&!this.el.contains(t.detail.relatedTarget)){const i=new CustomEvent("blur");i.relatedTarget=t.detail.relatedTarget,this.el.dispatchEvent(i)}}handleButtonBlur(t){(t.relatedTarget===this.el||this.el.contains(t.relatedTarget))&&t.stopPropagation()}componentWillLoad(){this.uid=this.el.id?this.el.id:r(),this.el.focus=function(){if(!this.disabled){const t=this.shadowRoot.querySelector("wm-button");t&&t.focus()}},this.buttonType&&console.warn("wm-action-menu: button-type has been deprecated as of v3.1.0. Please use action-menu-type instead.")}componentDidLoad(){"icon"===this.tempActionMenuType||this.buttonText||console.error("wm-action-menu should have a valid button-text property when action-menu-type is set to 'text' or 'selector'"),"icon"!==this.tempActionMenuType||this.tooltip||console.error("wm-action-menu should have a valid tooltip when action-menu-type is set to 'icon'"),this.wmActionMenuLoaded.emit(),this.menuLoaded.emit()}moveUp(t){const i=this.childItems.indexOf(t);0===i?this.focusLastItem():this.focusItem(this.childItems[i-1])}moveDown(t){const i=this.childItems.indexOf(t);i===this.childItems.length-1?this.focusFirstItem():this.focusItem(this.childItems[i+1])}open(){this.disabled||(this.openUp=h(this.el,this.itemsEl),this.isExpanded=!0,this.itemsEl.classList.remove("hidden"),window.requestAnimationFrame((()=>this.focusFirstItem())))}close(t=!0){this.isExpanded=!1,this.childItems.forEach((t=>t.focused=!1)),window.setTimeout((()=>{this.itemsEl.classList.add("hidden")}),150),window.setTimeout((()=>{!t||"BODY"!==document.activeElement.tagName&&"WM-MENUITEM"!==document.activeElement.tagName||this.wmButtonEl.focus()}),250)}focusItem(t){this.childItems.map((i=>i.focused=i===t)),t.focus&&t.focus()}focusFirstItem(){this.focusItem(this.childItems[0])}focusLastItem(){this.focusItem(this.childItems[this.childItems.length-1])}findAndFocusItem(t){const i=t.detail.toUpperCase();if(this.focusFirstItem(),!this.keysSoFar)for(var s=0;s<this.childItems.length;s++)this.childItems[s]===document.activeElement&&(this.searchIndex=s);this.keysSoFar+=i,this.clearKeysSoFarAfterDelay();var e=this.findMatchInRange(this.childItems,this.searchIndex+1,this.childItems.length);e||(e=this.findMatchInRange(this.childItems,0,this.searchIndex)),e&&this.focusItem(e)}clearKeysSoFarAfterDelay(){this.keyClear&&(window.clearTimeout(this.keyClear),this.keyClear=null),this.keyClear=window.setTimeout(function(){this.keysSoFar="",this.keyClear=null}.bind(this),500)}findMatchInRange(t,i,s){for(var e=i;e<s;e++){var o=t[e].innerText;if(o&&0===o.toUpperCase().indexOf(this.keysSoFar))return t[e]}return null}render(){return s(e,{onBlur:()=>this.close(!1)},s("div",{class:a()},s("wm-button",{"button-type":`${this.tempActionMenuType}only`,tooltip:this.tooltip,"label-for-identical-buttons":this.labelForIdenticalButtons,icon:"icon"===this.tempActionMenuType?"f1d9":"",id:`menubtn-${this.uid}`,onClick:()=>this.isExpanded?this.close():this.open(),onBlur:t=>this.handleButtonBlur(t),disabled:this.disabled,ref:t=>this.wmButtonEl=t,"tooltip-position":this.tooltipPosition||this.horizontalPosition,"aria-haspopup":"true","aria-expanded":this.isExpanded?"true":"false","aria-controls":`menu-${this.uid}`},this.buttonText),s("div",{class:`dropdown ${this.openUp?"open-up":""} ${this.horizontalPosition} ${this.isExpanded?"open":""} hidden`,id:`menu-${this.uid}`,tabindex:-1,role:"menu",ref:t=>this.itemsEl=t},s("slot",null))))}get el(){return o(this)}};l.style=":host{position:relative;display:inline-block;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;color:#575195;font-family:inherit}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host(:focus){outline:none}wm-action-menu:focus{outline:none}.dropdown{position:absolute;padding:0;margin:0.25rem 0;border-radius:3px 3px 3px 3px;min-width:11.4375rem;-ms-transform:scale(1, 0);-webkit-transform:scale(1, 0);-moz-transform:scale(1, 0);transform:scale(1, 0);-ms-transition:transform 0.25s ease;-webkit-transition:transform 0.25s ease;-moz-transition:transform 0.25s ease;-webkit-transition:-webkit-transform 0.25s ease;transition:-webkit-transform 0.25s ease;transition:transform 0.25s ease;transition:transform 0.25s ease, -webkit-transform 0.25s ease;-ms-transform-origin:center top;-webkit-transform-origin:center top;-moz-transform-origin:center top;transform-origin:center top;visibility:hidden;-webkit-box-shadow:0 3px 14px 3px rgba(5, 3, 3, 0.12), 0 4px 15px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 3px 14px 3px rgba(5, 3, 3, 0.12), 0 4px 15px 0 rgba(0, 0, 0, 0.2);box-shadow:0 3px 14px 3px rgba(5, 3, 3, 0.12), 0 4px 15px 0 rgba(0, 0, 0, 0.2);background:#fff;z-index:10;text-align:left;white-space:nowrap}.dropdown:focus{outline:none}.dropdown.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1);visibility:visible}.dropdown.open-up{bottom:2.5rem;top:auto;-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}.dropdown.right{left:0}.dropdown.left{right:0}";const d=class{constructor(s){t(this,s),this.wmMenuitemClicked=i(this,"wmMenuitemClicked",7),this.wmKeyUpPressed=i(this,"wmKeyUpPressed",7),this.wmKeyDownPressed=i(this,"wmKeyDownPressed",7),this.wmEscKeyPressed=i(this,"wmEscKeyPressed",7),this.wmHomeKeyPressed=i(this,"wmHomeKeyPressed",7),this.wmEndKeyPressed=i(this,"wmEndKeyPressed",7),this.wmPageDownItems=i(this,"wmPageDownItems",7),this.wmPageUpItems=i(this,"wmPageUpItems",7),this.wmTabKeyPressed=i(this,"wmTabKeyPressed",7),this.wmLetterPressed=i(this,"wmLetterPressed",7),this.wmMenuitemBlurred=i(this,"wmMenuitemBlurred",7),this.disabled=!1,this.focused=!1,this.icon=void 0,this.description=void 0,this.descriptionCharLimit=100,this.isKeying=!1}toggleKeyingOn(){this.isKeying=!0}toggleKeyingOff(){this.isKeying=!1}handleKeydown(t){const i=t.altKey||t.ctrlKey||t.metaKey,s=/^.$/.test(t.key)&&!i;switch(t.key){case"ArrowUp":t.preventDefault(),this.wmKeyUpPressed.emit(this.el);break;case"ArrowDown":t.preventDefault(),this.wmKeyDownPressed.emit(this.el);break;case"Enter":t.preventDefault(),this.disabled||this.el.click();break;case"Escape":t.preventDefault(),t.stopPropagation(),this.wmEscKeyPressed.emit();break;case"Home":t.preventDefault(),this.wmHomeKeyPressed.emit();break;case"End":t.preventDefault(),this.wmEndKeyPressed.emit();break;case"Tab":this.wmTabKeyPressed.emit();break;default:s&&(t.preventDefault(),this.wmLetterPressed.emit(t.key))}}handleClick(){this.disabled||this.wmMenuitemClicked.emit()}handleBlur(t){this.wmMenuitemBlurred.emit({relatedTarget:t.relatedTarget})}setOnClick(){this.disabled&&this.el.onclick?(this.onClickFunc=this.el.onclick,this.el.onclick=null):!this.disabled&&this.onClickFunc&&(this.el.onclick=this.onClickFunc)}componentWillLoad(){this.icon&&(this.icon=m(this.icon)),this.description&&(this.description.length>this.descriptionCharLimit&&console.error(`wm-menuitem description is above the character limit of ${this.descriptionCharLimit}`),this.icon&&console.error("wm-menuitems with descriptions do not support the use of icons")),this.setOnClick()}componentDidLoad(){this.icon&&(this.iconEl.classList.add("mdi"),this.iconEl.innerHTML=`&#x${this.icon};`)}render(){return s(e,{tabindex:-1,role:"menuitem","aria-disabled":this.disabled?"true":null},s("div",{class:"wrapper "+(this.focused&&this.isKeying?"focus":""),"aria-disabled":this.disabled?"true":null},s("span",{ref:t=>this.iconEl=t}),s("slot",null),this.description?s("div",{class:"description"},this.description):""))}get el(){return o(this)}static get watchers(){return{disabled:["setOnClick"]}}};d.style=':host,wm-menuitem{contain:content;font-family:inherit}:host .wrapper,wm-menuitem .wrapper{display:block;min-width:8.75rem;cursor:pointer;padding:1.25rem;border-radius:0px 0px 0px 0px;background:#fff;font-family:inherit;font-weight:500;list-style:none;border-bottom:2px solid rgba(46, 27, 70, 0.05);color:#575195;font-weight:700}:host .wrapper:focus,:host .wrapper.focus,wm-menuitem .wrapper:focus,wm-menuitem .wrapper.focus{outline:none;background:#f4f3f6}:host .wrapper:hover,wm-menuitem .wrapper:hover{background:#f4f3f6;outline:none}:host .wrapper .description,wm-menuitem .wrapper .description{color:#4a4a4a;font-size:0.875rem;padding-top:0.5rem;white-space:normal;font-weight:400}:host .wrapper[aria-disabled=true],wm-menuitem .wrapper[aria-disabled=true]{font-style:italic;color:#6b6b6b}:host .wrapper:not(:last-child),wm-menuitem .wrapper:not(:last-child){border-bottom:2px solid rgba(46, 27, 70, 0.05)}:host ::slotted,wm-menuitem ::slotted{font-family:inherit}:host .mdi,wm-menuitem .mdi{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;margin-right:0.625rem;pointer-events:none}:host(:focus),wm-menuitem:focus{outline:none;background:#f4f3f6}:host([aria-disabled=true]),wm-menuitem[aria-disabled=true]{pointer-events:none}';export{l as wm_action_menu,d as wm_menuitem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,H as e,g as r}from"./p-c2abdcba.js";import{i as n}from"./p-
|
|
1
|
+
import{r as t,c as o,h as i,H as e,g as r}from"./p-c2abdcba.js";import{i as n}from"./p-6d7a6954.js";const s=class{constructor(i){t(this,i),this.wmChartPopoverButtonTriggered=o(this,"wmChartPopoverButtonTriggered",7),this.wmProgressIndicatorButtonTriggered=o(this,"wmProgressIndicatorButtonTriggered",7),this.chartEl=this.el.parentElement.getRootNode().host,this.open=!1,this.coords={},this.popoverWidth=168,this.popoverClicked=!1}get eventToEmit(){return"WM-CHART"===this.chartEl.nodeName?this.wmChartPopoverButtonTriggered:this.wmProgressIndicatorButtonTriggered}handleClickOnDocument(){this.open=this.popoverClicked,this.popoverClicked=!1}handleClick(t){let o=!1;this.btnEl&&(o=t.target===this.btnEl||this.btnEl.contains(t.target)),this.popoverClicked=!o&&(t.target===this.el||this.el.contains(t.target))}handleButtonClick(){this.sliceRef&&(this.sliceRef.click(),this.eventToEmit.emit(this.sliceRef)),this.open=!1}renderLiveRegion(){if(this.liveRegion){this.liveRegion.innerHTML="";const t=document.createElement("div"),o=document.createElement("span");o.innerHTML=this.popoverTitle+" "||"",t.appendChild(o);const i=document.createElement("span");if(i.innerHTML=this.popoverText+" "||"",t.appendChild(i),this.buttonText){const o=document.createElement("span");o.innerHTML=this.buttonText+" "+n.formatMessage({id:"chart.infoButton",defaultMessage:"Button. Click for more information."}),t.appendChild(o)}this.liveRegion.appendChild(t)}}positionPopover(){this.el.style.top=this.coords.y+"px",this.el.style.left=window.innerWidth-this.coords.x>=this.popoverWidth+10?this.coords.x+"px":this.coords.x-this.popoverWidth+"px"}render(){return i(e,null,this.open?i("div",{"aria-hidden":"true",class:"popover"},i("h1",{class:"title"},this.popoverTitle),i("p",{class:"text"},this.popoverText),this.buttonText?i("button",{tabindex:"-1",focusable:"false",ref:t=>this.btnEl=t,class:"popover-button",onClick:()=>this.handleButtonClick()},i("svg",{class:"btn-icon",height:"9",width:"9"},i("path",{fill:"#575195",d:"M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z"})),i("span",{class:"button-text"},this.buttonText)):""):"",i("div",{ref:t=>this.liveRegion=t,class:"live-region sr-only","aria-live":"polite","aria-atomic":"true"},this.open&&this.renderLiveRegion()))}get el(){return r(this)}static get watchers(){return{coords:["positionPopover"]}}};s.style="priv-chart-popover{position:fixed;z-index:10;border-radius:0.1875rem;-webkit-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);-moz-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);background-color:#fff;font-size:0.875rem;text-align:left}priv-chart-popover.user-is-tabbing .button-text{background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 3px;background-position:0 1em;border-radius:0;line-height:normal}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}.popover{width:10.5rem;padding:0.625rem 0.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box}.popover h1.title{font-size:1em;font-weight:500;margin:0;padding-top:0;padding-left:0;padding-bottom:0.25rem}.popover .text{margin:0;margin-bottom:0.5rem}.popover .popover-button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;display:inline-block;margin-left:1rem;padding-left:0;padding-right:0;height:auto;border:none;background:transparent;cursor:pointer;text-decoration:none;letter-spacing:0;text-transform:none;text-align:initial;font-size:0.875rem;font-weight:700;color:#575195;line-height:normal}.popover .popover-button .btn-icon{position:absolute;top:0.1875rem;left:-1rem}.popover .popover-button:focus{outline:none}.popover .popover-button::-moz-focus-inner{border:0;outline:none}.popover .popover-button:hover{text-decoration:none;background:none;color:#454077}.popover .popover-button:hover span{text-decoration:underline}";export{s as priv_chart_popover}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as e,h as t,H as r,g as a}from"./p-c2abdcba.js";import{i as s,g as p,e as n}from"./p-
|
|
1
|
+
import{r as i,c as e,h as t,H as r,g as a}from"./p-c2abdcba.js";import{i as s,g as p,e as n}from"./p-6d7a6954.js";const l=class{constructor(t){i(this,t),this.wmInputValueChanged=e(this,"wmInputValueChanged",7),this.labelPosition="top",this.value="",this.disabled=!1,this.placeholder="",this.requiredField=!1,this.type="text",this.step=1,this.announcement="",this.displayedErrorMessage="",this.uid="",this.previousBlurredValue="",this.requiredErrorMessage=s.formatMessage({id:"global.requiredError",defaultMessage:"This field is required."}),this.numberErrorMessage=s.formatMessage({id:"input.numberError",defaultMessage:"Please enter a valid number."})}get charCount(){return this.value.length}componentWillLoad(){this.uid=this.el.id?this.el.id:p(),this.el.focus=function(){this.disabled||this.shadowRoot.querySelector("input").focus()},this.label||console.error("wm-input requires the label property")}componentDidLoad(){this.value&&(this.inputEl.value=this.value,this.previousBlurredValue=this.inputEl.value)}handleErrorMessage(i){this.displayedErrorMessage=i}handleKeyDown(i){const e=i.ctrlKey||i.metaKey||i.altKey;/^.$/.test(i.key)&&!e&&this.characterLimit&&this.inputEl.value.length>=this.characterLimit&&this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}handleBlur(i){this.value!==this.previousBlurredValue&&this.wmInputValueChanged.emit({value:this.value}),this.previousBlurredValue=this.value,this.preventValidation&&n(i,this.preventValidation)||(this.displayedErrorMessage=this.validate()),this.inputWrapperEl.classList.remove("focus")}handleInput(i){this.value=i.target.value,this.characterLimit&&this.charCount>=this.characterLimit-5&&this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}handleFocus(){this.inputWrapperEl.classList.add("focus")}validate(){const i=[this.validateNumber.bind(this),this.validateRequired.bind(this)];return this.errorMessage?this.errorMessage:i.reduce(((i,e)=>i||e()),"")}validateRequired(){return this.requiredField&&""===this.value?this.requiredErrorMessage:""}validateNumber(){return"number"===this.type&&this.inputEl.validity.badInput?this.numberErrorMessage:""}announce(i){this.liveRegionEl.textContent===i&&(i+=" "),this.announcement=i}generateCharacterLimitWarning(i,e){const t=s.formatMessage({id:"global.charactersEntered",defaultMessage:"{x, number} of {y, number} characters entered.",description:"for screen readers"},{x:i,y:e}),r=s.formatMessage({id:"global.characterLimitReached",defaultMessage:"No additional characters will be entered.",description:"for screen readers"});return`${t}${i>=e?" "+r:""}`}generateCharacterLimitLabel(i){return s.formatMessage({id:"global.characterLimit",defaultMessage:"{limit, number} characters allowed.",description:"for screen readers"},{limit:i})}renderErrorMessage(){return this.errorMessage||this.displayedErrorMessage}render(){return t(r,{id:this.uid},t("div",{class:`wrapper label-${this.labelPosition} ${this.errorMessage||this.displayedErrorMessage?"invalid":""}`,ref:i=>this.inputWrapperEl=i},t("div",{class:"label-wrapper"},"none"!==this.labelPosition&&t("label",{htmlFor:`inputfield-${this.uid}`,class:"label"},this.label,this.requiredField&&t("span",{class:"required","aria-hidden":"true"},"*"))),t("div",{class:"inner-wrapper"},t("div",{class:"inputfield-wrapper"},t("input",{ref:i=>this.inputEl=i,id:`inputfield-${this.uid}`,disabled:this.disabled,"aria-label":`${this.label}${this.characterLimit?" "+this.generateCharacterLimitLabel(this.characterLimit):""}`,"aria-describedby":`info-${this.uid} error-${this.uid}`,onInput:i=>this.handleInput(i),onKeyDown:i=>this.handleKeyDown(i),onBlur:i=>this.handleBlur(i),onFocus:this.handleFocus.bind(this),placeholder:this.placeholder,autocomplete:"off",required:this.requiredField,maxLength:this.characterLimit||void 0,type:this.type,step:this.step,max:this.max,min:this.min}),this.characterLimit&&"number"==typeof this.characterLimit?t("div",{class:"character-count"},this.charCount,"/",this.characterLimit):""),this.info&&t("div",{id:`info-${this.uid}`,class:"info"},this.info),t("div",{id:`error-${this.uid}`,"aria-live":"assertive",class:"error-message","aria-atomic":"true"},this.renderErrorMessage()),t("div",{class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:i=>this.liveRegionEl=i},this.announcement))))}get el(){return a(this)}static get watchers(){return{errorMessage:["handleErrorMessage"]}}};l.style=':host,wm-input{font-family:inherit;width:100%}:host *,wm-input *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper,wm-input .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label,wm-input .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required,wm-input .wrapper .label .required{color:#c0392b}:host .wrapper.label-left,wm-input .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper,wm-input .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label,wm-input .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label,wm-input .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label,wm-input .wrapper.invalid .label{color:#c0392b}:host .wrapper.invalid .label:after,wm-input .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f026";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after,[dir=RTL] wm-input .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label,wm-input .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper,wm-input .wrapper .inner-wrapper{width:100%}:host .wrapper .inputfield-wrapper,wm-input .wrapper .inputfield-wrapper{height:2.5rem;border:1px solid #4a4a4a;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex}:host .wrapper .character-count,wm-input .wrapper .character-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:5rem;background-color:rgba(74, 74, 74, 0.05);font-size:0.875rem;font-weight:500;-ms-flex-item-align:stretch;align-self:stretch}:host .wrapper input,wm-input .wrapper input{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;height:100%;-ms-flex:1;flex:1;padding:0.75rem 1rem;width:100%}:host .wrapper input:disabled,wm-input .wrapper input:disabled{background-color:#f0f0f0;color:#737373}:host .wrapper input:focus,wm-input .wrapper input:focus{outline:none}:host .wrapper .info,wm-input .wrapper .info{font-style:italic;line-height:100%;margin:4px 0}:host .wrapper.invalid .inputfield-wrapper,wm-input .wrapper.invalid .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px #c0392b;-moz-box-shadow:0 0 0 1px #c0392b;box-shadow:0 0 0 1px #c0392b;border-color:#c0392b}:host .wrapper.invalid .error-message,wm-input .wrapper.invalid .error-message{color:#c0392b;margin:4px 0;display:block;font-style:italic;line-height:100%}:host .wrapper:focus .inputfield-wrapper,:host .wrapper.focus .inputfield-wrapper,wm-input .wrapper:focus .inputfield-wrapper,wm-input .wrapper.focus .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px #20cbd4;-moz-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;outline:none;border-color:#20cbd4}:host .sr-only,wm-input .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}';export{l as wm_input}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,s,i){function r(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function o(e){try{l(i.next(e))}catch(e){n(e)}}function a(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?s(e.value):r(e.value).then(o,a)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return l([e,t])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:s.label++;return{value:o[1],done:false};case 5:s.label++;r=o[1];o=[0];continue;case 7:o=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){s=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){s.label=o[1];break}if(o[0]===6&&s.label<n[1]){s.label=n[1];n=o;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(o);break}if(n[2])s.ops.pop();s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e];r=0}finally{i=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-726b9452.system.js","./p-db899686.system.js"],(function(e){"use strict";var t,s,i,r,n,o;return{setters:[function(e){t=e.r;s=e.c;i=e.h;r=e.H;n=e.g},function(e){o=e.i}],execute:function(){var a=':host,wm-search{width:100%;font-size:0.875rem}:host *,wm-search *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wm-search-wrapper,wm-search .wm-search-wrapper{border-radius:3px;position:relative;border:1px solid rgba(35, 35, 35, 0.6);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}:host .wm-search-wrapper .search-icon,wm-search .wm-search-wrapper .search-icon{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1.0625rem;position:absolute;left:0.4375rem}:host .wm-search-wrapper input,wm-search .wm-search-wrapper input{border:none;height:40px;padding:0 1.75rem;background:transparent;overflow:visible;width:100%;-ms-flex:1;flex:1;font-family:inherit}:host .wm-search-wrapper input:focus,wm-search .wm-search-wrapper input:focus{outline:none}:host .wm-search-wrapper.focus,wm-search .wm-search-wrapper.focus{-webkit-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;border-color:#20cbd4;border-radius:3px}:host .find,wm-search .find{min-height:3rem}:host .find input,wm-search .find input{padding:16px 8px 16px 28px}:host .find .wm-find-elements,wm-search .find .wm-find-elements{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-right:16px}:host .find .wm-find-elements wm-button+wm-button,wm-search .find .wm-find-elements wm-button+wm-button{margin-left:0.25rem}:host .find .wm-find-elements .results,wm-search .find .wm-find-elements .results{margin-right:0.5rem;font-style:italic}:host .sr-only,wm-search .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .show-for-tabbers,wm-search .show-for-tabbers{all:unset;color:#575195;text-decoration:none;font-weight:500;font-size:0.875rem;margin:10px 0}:host .show-for-tabbers:hover,wm-search .show-for-tabbers:hover{background:-webkit-gradient(linear, left top, left bottom, from(#575195), to(#575195)) no-repeat;background:linear-gradient(#575195, #575195) no-repeat;background-size:100% 1px;background-position:0 1.2em;padding-bottom:0.2em}:host .show-for-tabbers:focus,wm-search .show-for-tabbers:focus{outline:none;background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 3px;background-position:0 1.2em;padding-bottom:0.2em}';var l=e("wm_search",function(){function e(e){t(this,e);this.wmSearchBrowseResults=s(this,"wmSearchBrowseResults",7);this.wmBrowseSearchResults=s(this,"wmBrowseSearchResults",7);this.wmSearchValueChanged=s(this,"wmSearchValueChanged",7);this.searchType="basic";this.disabled=false;this.placeholder="";this.label="";this.numResults=0;this.value="";this.isTabbing=false;this.highlightedId="";this.highlightedName=null;this.highlightedNum=0;this.previousBlurredValue="";this.resultsLiveRegion=null;this.wrapperEl=null;this.linkEl=null}e.prototype.toggleTabbingOn=function(){this.isTabbing=true;this.linkEl&&this.linkEl.classList.remove("sr-only");this.linkEl&&this.linkEl.classList.add("show-for-tabbers")};e.prototype.toggleTabbingOff=function(){this.isTabbing=false;this.linkEl&&this.linkEl.classList.add("sr-only");this.linkEl&&this.linkEl.classList.remove("show-for-tabbers")};e.prototype.componentWillLoad=function(){this.el.focus=function(){if(!this.disabled){this.shadowRoot.querySelector("#wm-search-input").focus();this.shadowRoot.querySelector("#wm-search-wrapper").classList.add("focus")}};if(this.placeholder===""){console.error("You must set the placeholder property for the wm-search component.")}if(this.label===""){console.error("You must set the label property for the wm-search component.")}this.hookToModal()};e.prototype.hookToModal=function(){var e=this;var t=this.el;while(!!t){if(t.tagName==="WM-MODAL"){this.parentModal=t}t=t.parentElement}if(this.parentModal){var s=["wmCloseTriggered","wmPrimaryTriggered","wmSecondaryTriggered"];s.map((function(t){e.parentModal.addEventListener(t,(function(){e.updateValue("")}))}))}};e.prototype.updateValue=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.value=e;this.resetHighlightCountToStart();return[2]}))}))};e.prototype.resetHighlightCountToStart=function(){if(this.searchType==="find"){if(this.numResults){this.highlightedNum=1}else{this.highlightedNum=0}}};e.prototype.componentDidRender=function(){this.announceChanges()};e.prototype.announceChanges=function(){var e=this;var t=this.getResultsMessage();if(this.searchType==="find"&&this.highlightedName){t+=", ".concat(this.highlightedName)}this.resultsLiveRegion&&(this.resultsLiveRegion.innerHTML="");window.requestAnimationFrame((function(){return e.resultsLiveRegion&&(e.resultsLiveRegion.innerHTML=t)}))};e.prototype.getResultsMessage=function(){if(this.value){if(this.searchType==="basic"){return o.formatMessage({id:"search.resultsFound",defaultMessage:"{numResults, plural, =0 {No results} one {1 result} other {# results}} found"},{numResults:this.numResults})}else{return o.formatMessage({id:"search.xOfYResults",defaultMessage:"{numResults, plural, =0 {No results found} other {{current} of {numResults} results}}"},{numResults:this.numResults,current:this.highlightedNum})}}else{return""}};e.prototype.changeHighlightedNum=function(e){if(this.numResults){if(e<1){this.highlightedNum=this.numResults}else if(e>this.numResults){this.highlightedNum=1}else{this.highlightedNum=e}this.wmSearchBrowseResults.emit({position:this.highlightedNum});this.wmBrowseSearchResults.emit({position:this.highlightedNum})}};e.prototype.addFocusStyle=function(){if(this.wrapperEl){this.wrapperEl.classList.add("focus")}};e.prototype.removeFocusStyle=function(){if(this.wrapperEl){this.wrapperEl.classList.remove("focus")}};e.prototype.handleBlur=function(){this.removeFocusStyle();if(this.previousBlurredValue!==this.value){this.wmSearchValueChanged.emit({value:this.value})}this.previousBlurredValue=this.value};e.prototype.renderResultsAndBrowseButtons=function(){var e=this;return i("div",{class:"wm-find-elements"},i("div",{id:"results-display",class:"results"},this.getResultsMessage()),i("div",{class:"wm-button-collection"},i("wm-button",{"button-type":"icononly",icon:"f05d",tooltip:o.formatMessage({id:"global.previous",description:"button text",defaultMessage:"previous"}),"tooltip-position":"bottom",onClick:function(){return e.changeHighlightedNum(e.highlightedNum-1)},disabled:this.disabled||this.numResults<2,"label-for-identical-buttons":o.formatMessage({id:"search.previousResult",defaultMessage:"Press to hear previous matching result"})}),i("wm-button",{"button-type":"icononly",icon:"f045",tooltip:o.formatMessage({id:"global.next",description:"button text",defaultMessage:"next"}),"tooltip-position":"bottom",onClick:function(){return e.changeHighlightedNum(e.highlightedNum+1)},disabled:this.disabled||this.numResults<2,"label-for-identical-buttons":o.formatMessage({id:"search.nextResult",defaultMessage:"Press to hear next matching result"})})))};e.prototype.renderJumpToLink=function(){var e=this;if(this.numResults&&this.highlightedId){return i("a",{ref:function(t){return e.linkEl=t},href:"#".concat(this.highlightedId),class:"sr-only"},o.formatMessage({id:"search.jumpToResult",defaultMessage:"Jump to search result in list"}))}else{return null}};e.prototype.render=function(){var e=this;return i(r,null,i("div",{id:"wm-search-wrapper",class:"wm-search-wrapper ".concat(this.searchType),ref:function(t){return e.wrapperEl=t}},i("input",{disabled:this.disabled,id:"wm-search-input",placeholder:this.placeholder,"aria-label":"".concat(this.label?this.label+". ":"").concat(o.formatMessage({id:"search.typeToFilterResults",defaultMessage:"Type to filter the results"})),onInput:function(t){return e.updateValue(t.target.value)},onFocus:function(){return e.addFocusStyle()},onBlur:function(){return e.handleBlur()},"aria-autocomplete":"none",autocomplete:"off",value:this.value}),i("span",{class:"mdi search-icon"},String.fromCodePoint(parseInt("0xf349"))),this.searchType==="find"&&this.renderResultsAndBrowseButtons(),i("div",{id:"wm-search-live",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:function(t){return e.resultsLiveRegion=t}})),this.searchType==="find"&&this.renderJumpToLink())};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{numResults:["resetHighlightCountToStart"]}},enumerable:false,configurable:true});return e}());l.style=a}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,s,i){function r(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function o(e){try{l(i.next(e))}catch(e){n(e)}}function a(e){try{l(i["throw"](e))}catch(e){n(e)}}function l(e){e.done?s(e.value):r(e.value).then(o,a)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return l([e,t])}}function l(o){if(i)throw new TypeError("Generator is already executing.");while(s)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:s.label++;return{value:o[1],done:false};case 5:s.label++;r=o[1];o=[0];continue;case 7:o=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){s=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){s.label=o[1];break}if(o[0]===6&&s.label<n[1]){s.label=n[1];n=o;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(o);break}if(n[2])s.ops.pop();s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e];r=0}finally{i=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-726b9452.system.js","./p-5754e2b8.system.js"],(function(e){"use strict";var t,s,i,r,n,o;return{setters:[function(e){t=e.r;s=e.c;i=e.h;r=e.H;n=e.g},function(e){o=e.i}],execute:function(){var a=':host,wm-search{width:100%;font-size:0.875rem}:host *,wm-search *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wm-search-wrapper,wm-search .wm-search-wrapper{border-radius:3px;position:relative;border:1px solid rgba(35, 35, 35, 0.6);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}:host .wm-search-wrapper .search-icon,wm-search .wm-search-wrapper .search-icon{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1.0625rem;position:absolute;left:0.4375rem}:host .wm-search-wrapper input,wm-search .wm-search-wrapper input{border:none;height:40px;padding:0 1.75rem;background:transparent;overflow:visible;width:100%;-ms-flex:1;flex:1;font-family:inherit}:host .wm-search-wrapper input:focus,wm-search .wm-search-wrapper input:focus{outline:none}:host .wm-search-wrapper.focus,wm-search .wm-search-wrapper.focus{-webkit-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;border-color:#20cbd4;border-radius:3px}:host .find,wm-search .find{min-height:3rem}:host .find input,wm-search .find input{padding:16px 8px 16px 28px}:host .find .wm-find-elements,wm-search .find .wm-find-elements{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-right:16px}:host .find .wm-find-elements wm-button+wm-button,wm-search .find .wm-find-elements wm-button+wm-button{margin-left:0.25rem}:host .find .wm-find-elements .results,wm-search .find .wm-find-elements .results{margin-right:0.5rem;font-style:italic}:host .sr-only,wm-search .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .show-for-tabbers,wm-search .show-for-tabbers{all:unset;color:#575195;text-decoration:none;font-weight:500;font-size:0.875rem;margin:10px 0}:host .show-for-tabbers:hover,wm-search .show-for-tabbers:hover{background:-webkit-gradient(linear, left top, left bottom, from(#575195), to(#575195)) no-repeat;background:linear-gradient(#575195, #575195) no-repeat;background-size:100% 1px;background-position:0 1.2em;padding-bottom:0.2em}:host .show-for-tabbers:focus,wm-search .show-for-tabbers:focus{outline:none;background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 3px;background-position:0 1.2em;padding-bottom:0.2em}';var l=e("wm_search",function(){function e(e){t(this,e);this.wmSearchBrowseResults=s(this,"wmSearchBrowseResults",7);this.wmBrowseSearchResults=s(this,"wmBrowseSearchResults",7);this.wmSearchValueChanged=s(this,"wmSearchValueChanged",7);this.searchType="basic";this.disabled=false;this.placeholder="";this.label="";this.numResults=0;this.value="";this.isTabbing=false;this.highlightedId="";this.highlightedName=null;this.highlightedNum=0;this.previousBlurredValue="";this.resultsLiveRegion=null;this.wrapperEl=null;this.linkEl=null}e.prototype.toggleTabbingOn=function(){this.isTabbing=true;this.linkEl&&this.linkEl.classList.remove("sr-only");this.linkEl&&this.linkEl.classList.add("show-for-tabbers")};e.prototype.toggleTabbingOff=function(){this.isTabbing=false;this.linkEl&&this.linkEl.classList.add("sr-only");this.linkEl&&this.linkEl.classList.remove("show-for-tabbers")};e.prototype.componentWillLoad=function(){this.el.focus=function(){if(!this.disabled){this.shadowRoot.querySelector("#wm-search-input").focus();this.shadowRoot.querySelector("#wm-search-wrapper").classList.add("focus")}};if(this.placeholder===""){console.error("You must set the placeholder property for the wm-search component.")}if(this.label===""){console.error("You must set the label property for the wm-search component.")}this.hookToModal()};e.prototype.hookToModal=function(){var e=this;var t=this.el;while(!!t){if(t.tagName==="WM-MODAL"){this.parentModal=t}t=t.parentElement}if(this.parentModal){var s=["wmCloseTriggered","wmPrimaryTriggered","wmSecondaryTriggered"];s.map((function(t){e.parentModal.addEventListener(t,(function(){e.updateValue("")}))}))}};e.prototype.updateValue=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.value=e;this.resetHighlightCountToStart();return[2]}))}))};e.prototype.resetHighlightCountToStart=function(){if(this.searchType==="find"){if(this.numResults){this.highlightedNum=1}else{this.highlightedNum=0}}};e.prototype.componentDidRender=function(){this.announceChanges()};e.prototype.announceChanges=function(){var e=this;var t=this.getResultsMessage();if(this.searchType==="find"&&this.highlightedName){t+=", ".concat(this.highlightedName)}this.resultsLiveRegion&&(this.resultsLiveRegion.innerHTML="");window.requestAnimationFrame((function(){return e.resultsLiveRegion&&(e.resultsLiveRegion.innerHTML=t)}))};e.prototype.getResultsMessage=function(){if(this.value){if(this.searchType==="basic"){return o.formatMessage({id:"search.resultsFound",defaultMessage:"{numResults, plural, =0 {No results} one {1 result} other {# results}} found"},{numResults:this.numResults})}else{return o.formatMessage({id:"search.xOfYResults",defaultMessage:"{numResults, plural, =0 {No results found} other {{current} of {numResults} results}}"},{numResults:this.numResults,current:this.highlightedNum})}}else{return""}};e.prototype.changeHighlightedNum=function(e){if(this.numResults){if(e<1){this.highlightedNum=this.numResults}else if(e>this.numResults){this.highlightedNum=1}else{this.highlightedNum=e}this.wmSearchBrowseResults.emit({position:this.highlightedNum});this.wmBrowseSearchResults.emit({position:this.highlightedNum})}};e.prototype.addFocusStyle=function(){if(this.wrapperEl){this.wrapperEl.classList.add("focus")}};e.prototype.removeFocusStyle=function(){if(this.wrapperEl){this.wrapperEl.classList.remove("focus")}};e.prototype.handleBlur=function(){this.removeFocusStyle();if(this.previousBlurredValue!==this.value){this.wmSearchValueChanged.emit({value:this.value})}this.previousBlurredValue=this.value};e.prototype.renderResultsAndBrowseButtons=function(){var e=this;return i("div",{class:"wm-find-elements"},i("div",{id:"results-display",class:"results"},this.getResultsMessage()),i("div",{class:"wm-button-collection"},i("wm-button",{"button-type":"icononly",icon:"f05d",tooltip:o.formatMessage({id:"global.previous",description:"button text",defaultMessage:"previous"}),"tooltip-position":"bottom",onClick:function(){return e.changeHighlightedNum(e.highlightedNum-1)},disabled:this.disabled||this.numResults<2,"label-for-identical-buttons":o.formatMessage({id:"search.previousResult",defaultMessage:"Press to hear previous matching result"})}),i("wm-button",{"button-type":"icononly",icon:"f045",tooltip:o.formatMessage({id:"global.next",description:"button text",defaultMessage:"next"}),"tooltip-position":"bottom",onClick:function(){return e.changeHighlightedNum(e.highlightedNum+1)},disabled:this.disabled||this.numResults<2,"label-for-identical-buttons":o.formatMessage({id:"search.nextResult",defaultMessage:"Press to hear next matching result"})})))};e.prototype.renderJumpToLink=function(){var e=this;if(this.numResults&&this.highlightedId){return i("a",{ref:function(t){return e.linkEl=t},href:"#".concat(this.highlightedId),class:"sr-only"},o.formatMessage({id:"search.jumpToResult",defaultMessage:"Jump to search result in list"}))}else{return null}};e.prototype.render=function(){var e=this;return i(r,null,i("div",{id:"wm-search-wrapper",class:"wm-search-wrapper ".concat(this.searchType),ref:function(t){return e.wrapperEl=t}},i("input",{disabled:this.disabled,id:"wm-search-input",placeholder:this.placeholder,"aria-label":"".concat(this.label?this.label+". ":"").concat(o.formatMessage({id:"search.typeToFilterResults",defaultMessage:"Type to filter the results"})),onInput:function(t){return e.updateValue(t.target.value)},onFocus:function(){return e.addFocusStyle()},onBlur:function(){return e.handleBlur()},"aria-autocomplete":"none",autocomplete:"off",value:this.value}),i("span",{class:"mdi search-icon"},String.fromCodePoint(parseInt("0xf349"))),this.searchType==="find"&&this.renderResultsAndBrowseButtons(),i("div",{id:"wm-search-live",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:function(t){return e.resultsLiveRegion=t}})),this.searchType==="find"&&this.renderJumpToLink())};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{numResults:["resetHighlightCountToStart"]}},enumerable:false,configurable:true});return e}());l.style=a}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var n=0,r=t.length,i;n<r;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register(["./p-726b9452.system.js","./p-db899686.system.js"],(function(e){"use strict";var t,a,n,r,i;return{setters:[function(e){t=e.r;a=e.c;n=e.h;r=e.g},function(e){i=e.d}],execute:function(){var s='nav .largescreen,nav .smallscreen{margin-bottom:0.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;justify-content:flex-end;font-size:0.875rem}nav .largescreen .pageview,nav .smallscreen .pageview{font-size:0.875rem;margin:0 0.625rem}nav .largescreen .paginationbtn,nav .smallscreen .paginationbtn{position:relative;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none;border:none;color:#575195;background-color:transparent;margin:0;padding:0;height:2.5rem;width:2.5rem;font-family:inherit;letter-spacing:0.3px;font-size:0.875rem;font-weight:500;cursor:pointer;text-transform:none}nav .largescreen .paginationbtn svg *,nav .smallscreen .paginationbtn svg *{fill:#565397}nav .largescreen .paginationbtn:hover:not([aria-current=page]):not([disabled]),nav .smallscreen .paginationbtn:hover:not([aria-current=page]):not([disabled]){text-decoration:underline}nav .largescreen .paginationbtn:focus,nav .smallscreen .paginationbtn:focus{outline:none}nav .largescreen .paginationbtn::-moz-focus-inner,nav .smallscreen .paginationbtn::-moz-focus-inner{border:0;outline:none}nav .largescreen .paginationbtn[disabled],nav .smallscreen .paginationbtn[disabled]{color:#9f9f9f;pointer-events:none}nav .largescreen .paginationbtn[disabled] svg *,nav .smallscreen .paginationbtn[disabled] svg *{fill:#9f9f9f}nav .largescreen .previousbtn,nav .smallscreen .previousbtn{margin-right:0.625rem;width:auto !important}nav .largescreen .nextbtn,nav .smallscreen .nextbtn{margin-left:0.625rem;margin-right:0;width:auto !important}nav .largescreen .previousbtn,nav .largescreen .nextbtn,nav .smallscreen .previousbtn,nav .smallscreen .nextbtn{-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none}nav .largescreen .ellipsis,nav .smallscreen .ellipsis{display:inline-block;width:2.5rem;text-align:center}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]),nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]){-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before{position:absolute;content:"";height:auto;width:16px;top:0;bottom:0;left:12px;right:0;background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 2px;background-position:0 2em;border-radius:0;line-height:normal}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner{border:0}nav .largescreen .user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{width:56px !important}nav .largescreen .user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before{width:32px !important}nav .largescreen .paginationbtn[aria-current=page]{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;-webkit-box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background-color:#575195;color:#fff}nav .largescreen .paginationbtn[aria-current=page]:hover{-webkit-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background:#4e4986}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}';var o=e("wm_pagination",function(){function e(e){var n=this;t(this,e);this.wmPaginationPageClicked=a(this,"wmPaginationPageClicked",7);this.pageClicked=a(this,"pageClicked",7);this.focusCurrentPage=a(this,"focusCurrentPage",7);this.currentPage=1;this.totalItems=undefined;this.itemsPerPage=undefined;this.value=1;this.isLargeViewport=window.innerWidth>600;this.isTabbing=false;this.srAnnouncement="";this.totalPages=0;this.debouncedResize=i((function(){n.isLargeViewport=window.innerWidth>600}),250);this.getMiddlePageNums=function(){var e;if(n.currentPage<4){e=[2,3,4]}else if(n.currentPage>n.totalPages-3){e=[n.totalPages-3,n.totalPages-2,n.totalPages-1]}else{e=[n.currentPage-1,n.currentPage,n.currentPage+1]}return e}}e.prototype.toggleTabbingOn=function(){this.isTabbing=true};e.prototype.toggleTabbingOff=function(){this.isTabbing=false};e.prototype.maintainFocusOnNumberChange=function(e){var t=this;window.requestAnimationFrame((function(){switch(e){case"previous":t.currentPage===1&&t.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("button#wm-".concat(t.totalPages)).focus();break;case"prev-arrow":t.currentPage===1&&t.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":t.el.shadowRoot.querySelector("button#wm-".concat(t.currentPage)).focus();default:return}}))};e.prototype.handleResize=function(){this.debouncedResize()};e.prototype.calculateTotalPages=function(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)};e.prototype.componentWillLoad=function(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage){throw new Error("Please check the required attributes")}this.calculateTotalPages();if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}};e.prototype.updatePageDisplayed=function(e){this.value=e;this.wmPaginationPageClicked.emit();this.pageClicked.emit();this.srAnnouncement="Current page, ".concat(this.currentPage,". ").concat(this.getCurrentPagesInView())};e.prototype.displayShortPagination=function(){var e=[];for(var t=1;t<=this.totalPages;t++){e.push(this.displayPageNumber(t))}return e};e.prototype.displayLongPagination=function(){var e=this;var t=__spreadArray(__spreadArray([this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis()],this.getMiddlePageNums().map((function(t){return e.displayPageNumber(t)})),true),[this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)],false);return t};e.prototype.displayPageNumber=function(e){var t=this;return n("button",{id:"wm-".concat(e),class:"paginationbtn",onClick:function(){t.currentPage=e;t.updatePageDisplayed(e);t.maintainFocusOnNumberChange("page")},value:e,"aria-label":this.currentPage!==e?"Go to page ".concat(e):"","aria-current":this.currentPage===e?"page":undefined},e)};e.prototype.displayEllipsis=function(){return n("span",{class:"ellipsis"},"...")};e.prototype.getCurrentPagesInView=function(){var e=this.itemsPerPage*this.currentPage;var t=e-this.itemsPerPage+1;if(e>this.totalItems){e=this.totalItems}return"Viewing "+(t===e?"".concat(t):"".concat(t,"–").concat(e," of ").concat(this.totalItems))};e.prototype.renderLarge=function(){var e=this;return n("div",{class:"largescreen"},n("div",{class:"pageview"},this.getCurrentPagesInView()),n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"previous",class:"paginationbtn previousbtn",onClick:function(){e.currentPage=e.currentPage-1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("previous")},disabled:this.currentPage===1,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),n("button",{id:"next",class:"paginationbtn nextbtn",onClick:function(){e.currentPage=e.currentPage+1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))};e.prototype.renderSmall=function(){var e=this;return n("div",{class:"smallscreen"},n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"wm-1-arw",class:"paginationbtn",onClick:function(){e.currentPage=1;e.updatePageDisplayed(1);e.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":this.currentPage===1?"page":undefined,"aria-label":"Go to page 1","aria-controls":"status",disabled:this.currentPage===1},n("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z"}))),n("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:function(){e.currentPage-=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("prev-arrow")},disabled:this.currentPage===1,"aria-label":"Go to previous page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,n("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:function(){e.currentPage+=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),n("button",{id:"wm-".concat(this.totalPages,"-arw"),class:"paginationbtn",onClick:function(){e.currentPage=e.totalPages;e.updatePageDisplayed(e.totalPages);e.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":undefined,"aria-label":"Go to last page, page ".concat(this.totalPages),"aria-controls":"status",disabled:this.currentPage===this.totalPages},n("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z"})))))};e.prototype.render=function(){return this.totalItems>this.itemsPerPage&&n("nav",{"aria-label":"Pagination Navigation. ".concat(this.getCurrentPagesInView(),". Current page, ").concat(this.currentPage,".")},this.isLargeViewport?this.renderLarge():this.renderSmall(),n("div",{id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}},enumerable:false,configurable:true});return e}());o.style=s}}}));
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var n=0,r=t.length,i;n<r;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register(["./p-726b9452.system.js","./p-5754e2b8.system.js"],(function(e){"use strict";var t,a,n,r,i;return{setters:[function(e){t=e.r;a=e.c;n=e.h;r=e.g},function(e){i=e.d}],execute:function(){var s='nav .largescreen,nav .smallscreen{margin-bottom:0.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;justify-content:flex-end;font-size:0.875rem}nav .largescreen .pageview,nav .smallscreen .pageview{font-size:0.875rem;margin:0 0.625rem}nav .largescreen .paginationbtn,nav .smallscreen .paginationbtn{position:relative;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none;border:none;color:#575195;background-color:transparent;margin:0;padding:0;height:2.5rem;width:2.5rem;font-family:inherit;letter-spacing:0.3px;font-size:0.875rem;font-weight:500;cursor:pointer;text-transform:none}nav .largescreen .paginationbtn svg *,nav .smallscreen .paginationbtn svg *{fill:#565397}nav .largescreen .paginationbtn:hover:not([aria-current=page]):not([disabled]),nav .smallscreen .paginationbtn:hover:not([aria-current=page]):not([disabled]){text-decoration:underline}nav .largescreen .paginationbtn:focus,nav .smallscreen .paginationbtn:focus{outline:none}nav .largescreen .paginationbtn::-moz-focus-inner,nav .smallscreen .paginationbtn::-moz-focus-inner{border:0;outline:none}nav .largescreen .paginationbtn[disabled],nav .smallscreen .paginationbtn[disabled]{color:#9f9f9f;pointer-events:none}nav .largescreen .paginationbtn[disabled] svg *,nav .smallscreen .paginationbtn[disabled] svg *{fill:#9f9f9f}nav .largescreen .previousbtn,nav .smallscreen .previousbtn{margin-right:0.625rem;width:auto !important}nav .largescreen .nextbtn,nav .smallscreen .nextbtn{margin-left:0.625rem;margin-right:0;width:auto !important}nav .largescreen .previousbtn,nav .largescreen .nextbtn,nav .smallscreen .previousbtn,nav .smallscreen .nextbtn{-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none}nav .largescreen .ellipsis,nav .smallscreen .ellipsis{display:inline-block;width:2.5rem;text-align:center}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]),nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]){-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before{position:absolute;content:"";height:auto;width:16px;top:0;bottom:0;left:12px;right:0;background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 2px;background-position:0 2em;border-radius:0;line-height:normal}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner{border:0}nav .largescreen .user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{width:56px !important}nav .largescreen .user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before{width:32px !important}nav .largescreen .paginationbtn[aria-current=page]{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;-webkit-box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background-color:#575195;color:#fff}nav .largescreen .paginationbtn[aria-current=page]:hover{-webkit-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background:#4e4986}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}';var o=e("wm_pagination",function(){function e(e){var n=this;t(this,e);this.wmPaginationPageClicked=a(this,"wmPaginationPageClicked",7);this.pageClicked=a(this,"pageClicked",7);this.focusCurrentPage=a(this,"focusCurrentPage",7);this.currentPage=1;this.totalItems=undefined;this.itemsPerPage=undefined;this.value=1;this.isLargeViewport=window.innerWidth>600;this.isTabbing=false;this.srAnnouncement="";this.totalPages=0;this.debouncedResize=i((function(){n.isLargeViewport=window.innerWidth>600}),250);this.getMiddlePageNums=function(){var e;if(n.currentPage<4){e=[2,3,4]}else if(n.currentPage>n.totalPages-3){e=[n.totalPages-3,n.totalPages-2,n.totalPages-1]}else{e=[n.currentPage-1,n.currentPage,n.currentPage+1]}return e}}e.prototype.toggleTabbingOn=function(){this.isTabbing=true};e.prototype.toggleTabbingOff=function(){this.isTabbing=false};e.prototype.maintainFocusOnNumberChange=function(e){var t=this;window.requestAnimationFrame((function(){switch(e){case"previous":t.currentPage===1&&t.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("button#wm-".concat(t.totalPages)).focus();break;case"prev-arrow":t.currentPage===1&&t.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":t.el.shadowRoot.querySelector("button#wm-".concat(t.currentPage)).focus();default:return}}))};e.prototype.handleResize=function(){this.debouncedResize()};e.prototype.calculateTotalPages=function(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)};e.prototype.componentWillLoad=function(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage){throw new Error("Please check the required attributes")}this.calculateTotalPages();if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}};e.prototype.updatePageDisplayed=function(e){this.value=e;this.wmPaginationPageClicked.emit();this.pageClicked.emit();this.srAnnouncement="Current page, ".concat(this.currentPage,". ").concat(this.getCurrentPagesInView())};e.prototype.displayShortPagination=function(){var e=[];for(var t=1;t<=this.totalPages;t++){e.push(this.displayPageNumber(t))}return e};e.prototype.displayLongPagination=function(){var e=this;var t=__spreadArray(__spreadArray([this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis()],this.getMiddlePageNums().map((function(t){return e.displayPageNumber(t)})),true),[this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)],false);return t};e.prototype.displayPageNumber=function(e){var t=this;return n("button",{id:"wm-".concat(e),class:"paginationbtn",onClick:function(){t.currentPage=e;t.updatePageDisplayed(e);t.maintainFocusOnNumberChange("page")},value:e,"aria-label":this.currentPage!==e?"Go to page ".concat(e):"","aria-current":this.currentPage===e?"page":undefined},e)};e.prototype.displayEllipsis=function(){return n("span",{class:"ellipsis"},"...")};e.prototype.getCurrentPagesInView=function(){var e=this.itemsPerPage*this.currentPage;var t=e-this.itemsPerPage+1;if(e>this.totalItems){e=this.totalItems}return"Viewing "+(t===e?"".concat(t):"".concat(t,"–").concat(e," of ").concat(this.totalItems))};e.prototype.renderLarge=function(){var e=this;return n("div",{class:"largescreen"},n("div",{class:"pageview"},this.getCurrentPagesInView()),n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"previous",class:"paginationbtn previousbtn",onClick:function(){e.currentPage=e.currentPage-1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("previous")},disabled:this.currentPage===1,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),n("button",{id:"next",class:"paginationbtn nextbtn",onClick:function(){e.currentPage=e.currentPage+1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))};e.prototype.renderSmall=function(){var e=this;return n("div",{class:"smallscreen"},n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"wm-1-arw",class:"paginationbtn",onClick:function(){e.currentPage=1;e.updatePageDisplayed(1);e.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":this.currentPage===1?"page":undefined,"aria-label":"Go to page 1","aria-controls":"status",disabled:this.currentPage===1},n("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z"}))),n("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:function(){e.currentPage-=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("prev-arrow")},disabled:this.currentPage===1,"aria-label":"Go to previous page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,n("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:function(){e.currentPage+=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),n("button",{id:"wm-".concat(this.totalPages,"-arw"),class:"paginationbtn",onClick:function(){e.currentPage=e.totalPages;e.updatePageDisplayed(e.totalPages);e.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":undefined,"aria-label":"Go to last page, page ".concat(this.totalPages),"aria-controls":"status",disabled:this.currentPage===this.totalPages},n("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z"})))))};e.prototype.render=function(){return this.totalItems>this.itemsPerPage&&n("nav",{"aria-label":"Pagination Navigation. ".concat(this.getCurrentPagesInView(),". Current page, ").concat(this.currentPage,".")},this.isLargeViewport?this.renderLarge():this.renderSmall(),n("div",{id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}},enumerable:false,configurable:true});return e}());o.style=s}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],(function(e){"use strict";return{execute:function(){e({a:ta,b:Yt,c:ra,d:qt,e:ca,f:Xt,g:zt,h:na,j:la,k:pa,l:Jt,m:Qt,n:$t,o:ea,p:oa,q:Wt,r:Vt,s:sa,t:ya,u:aa});var t={"chart.clickToSeeDetails":[{type:0,value:"Click or use arrow keys to see details."}],"chart.hiddenPercentages":[{type:0,value:"Percentages smaller than 5% are not shown when too close to each other."}],"chart.infoButton":[{type:0,value:"Button. Click for more information."}],"chart.interactiveChart":[{type:0,value:"Interactive chart. Use arrow keys to browse elements, press Tab to exit."}],"date.april":[{type:0,value:"April"}],"date.august":[{type:0,value:"August"}],"date.calendarView":[{type:0,value:"Calendar View"}],"date.currentMonth":[{type:0,value:"current month"}],"date.december":[{type:0,value:"December"}],"date.february":[{type:0,value:"February"}],"date.format":[{options:{int:{value:[{type:0,value:"dd/mm/yyyy"}]},other:{value:[{type:0,value:"yyyy/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/yyyy"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/yyyy"}],"date.formatISO":[{type:0,value:"yyyy/mm/dd"}],"date.formatUS":[{type:0,value:"mm/dd/yyyy"}],"date.fr":[{type:0,value:"Fr"}],"date.friday":[{type:0,value:"Friday"}],"date.instructions":[{type:0,value:"Use arrows to select a date in the table. Tab left or right to buttons for selecting previous month, next month, or the month selection table."}],"date.invalidDate":[{type:0,value:"Please enter a valid date in the format "},{options:{int:{value:[{type:0,value:"dd/mm/yyyy"}]},other:{value:[{type:0,value:"yyyy/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/yyyy"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"January"}],"date.july":[{type:0,value:"July"}],"date.june":[{type:0,value:"June"}],"date.march":[{type:0,value:"March"}],"date.may":[{type:0,value:"May"}],"date.mo":[{type:0,value:"Mo"}],"date.monday":[{type:0,value:"Monday"}],"date.november":[{type:0,value:"November"}],"date.october":[{type:0,value:"October"}],"date.requiredDateError":[{type:0,value:"A date is required."}],"date.sa":[{type:0,value:"Sa"}],"date.saturday":[{type:0,value:"Saturday"}],"date.selectMonth":[{type:0,value:"Activate to select a month."}],"date.selectNextMonth":[{type:0,value:"Select next month"}],"date.selectNextYear":[{type:0,value:"Select next year"}],"date.selectPreviousMonth":[{type:0,value:"Select previous month"}],"date.selectPreviousYear":[{type:0,value:"Select previous year"}],"date.selectYear":[{type:0,value:"Activate to select a year."}],"date.september":[{type:0,value:"September"}],"date.su":[{type:0,value:"Su"}],"date.sunday":[{type:0,value:"Sunday"}],"date.th":[{type:0,value:"Th"}],"date.thursday":[{type:0,value:"Thursday"}],"date.today":[{type:0,value:"today"}],"date.tu":[{type:0,value:"Tu"}],"date.tuesday":[{type:0,value:"Tuesday"}],"date.we":[{type:0,value:"We"}],"date.wednesday":[{type:0,value:"Wednesday"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" characters allowed."}],"global.characterLimitReached":[{type:0,value:"No additional characters will be entered."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" of "},{style:null,type:2,value:"y"},{type:0,value:" characters entered."}],"global.closeVerb":[{type:0,value:"Close"}],"global.genericError":[{type:0,value:"An error occurred. Please try again."}],"global.newWindowLink":[{type:0,value:"Opens in a new window."}],"global.next":[{type:0,value:"next"}],"global.openVerb":[{type:0,value:"Open"}],"global.previous":[{type:0,value:"previous"}],"global.requiredError":[{type:0,value:"This field is required."}],"global.requiredField":[{type:0,value:"required field"}],"input.numberError":[{type:0,value:"Please enter a valid number."}],"navigation.mainNavigation":[{type:0,value:"Main"}],"navigation.showNavigation":[{type:0,value:"Show navigation"}],"navigator.WatermarkAppNavigation":[{type:0,value:"Watermark App Navigation"}],"navigator.logout":[{type:0,value:"Log Out"}],"navigator.userinfo":[{type:0,value:"User information"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"User information and product navigator"}],"navigator.userinfoLabel":[{type:0,value:"for "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Watermark Apps"}],"search.jumpToResult":[{type:0,value:"Jump to search result in list"}],"search.nextResult":[{type:0,value:"Press to hear next matching result"}],"search.previousResult":[{type:0,value:"Press to hear previous matching result"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"No results"}]},one:{value:[{type:0,value:"1 result"}]},other:{value:[{type:7},{type:0,value:" results"}]}},pluralType:"cardinal",type:6,value:"numResults"},{type:0,value:" found"}],"search.typeToFilterResults":[{type:0,value:"Type to filter the results"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"No results found"}]},other:{value:[{type:1,value:"current"},{type:0,value:" of "},{type:1,value:"numResults"},{type:0,value:" results"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"All selected"}],"select.multiPlaceholder":[{type:0,value:"Make a selection"}],"select.noSearchResults":[{type:0,value:"No results found. Please try your search again."}],"select.searchPlaceholder":[{type:0,value:"Search"}],"select.searchResultsFound":[{offset:0,options:{one:{value:[{type:0,value:"1 option found"}]},other:{value:[{type:7},{type:0,value:" options found"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 existing option."}]},other:{value:[{type:7},{type:0,value:" existing options."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Search and select a tag."}],"tagInput.helpTextEditable":[{type:0,value:"Press the Enter or Comma key to add a new tag."}],"tagInput.maxTagsReached":[{type:0,value:"The maximum amount of tags has been reached, no additional tags can be added."}],"tagInput.placeholderAdd":[{type:0,value:"Add a new tag"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Add or search for a tag"}],"tagInput.placeholderSearch":[{type:0,value:"Search and select a tag"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" added."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" has already been added."}],"tagInput.tagAreaInstructions":[{type:0,value:"tag selection. Press Backspace or Delete to remove a tag."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" removed"}],"tagInput.tagsAddedCounter":[{type:0,value:"Tags added: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Please enter a valid time."}],"time.requiredError":[{type:0,value:"A time is required."}],"time.selectTime":[{type:0,value:"Select time"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"More information"}],"uploader.acceptedFileTypes":[{type:0,value:"Accepted file "},{offset:0,options:{"=1":{value:[{type:0,value:"type"}]},other:{value:[{type:0,value:"types"}]}},pluralType:"cardinal",type:6,value:"amount"},{type:0,value:": "},{type:1,value:"fileTypes"}],"uploader.actionMenuLabel":[{type:0,value:"Actions"}],"uploader.clearErrorLabel":[{type:0,value:"Clear "},{type:1,value:"fileName"},{type:0,value:" error"}],"uploader.clearErrorText":[{type:0,value:"Clear"}],"uploader.deleteAction":[{type:0,value:"Delete File"}],"uploader.downloadAction":[{type:0,value:"Download File"}],"uploader.duplicateName":[{type:0,value:"A file with this name already exists."}],"uploader.fileCount":[{type:1,value:"x"},{type:0,value:" of "},{type:1,value:"y"},{type:0,value:" Files"}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" was deleted."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" could not be deleted."}],"uploader.fileTooLarge":[{type:0,value:"The selected file is too large. Maximum file size is "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadLimitExceeded":[{type:0,value:"Upload unsuccessful because file selection would exceed the maximum number of files"}],"uploader.fileUploadLimitReached":[{type:0,value:"The maximum number of files has been reached"}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 file added"}]},other:{value:[{type:7},{type:0,value:" files added"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 file uploading"}]},other:{value:[{type:7},{type:0,value:" files uploading"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Finished uploading"}],"uploader.invalidFileType":[{type:0,value:"The file type is invalid. Accepted types: "},{type:1,value:"validTypes"}],"uploader.maxSize":[{type:0,value:"Maximum file size "},{type:1,value:"maxSize"},{type:0,value:"MB"}],"uploader.previewAction":[{type:0,value:"Preview File"}],"uploader.uploadProgress":[{type:0,value:"Upload progress: "},{type:1,value:"percentage"},{type:0,value:"%"}],"uploader.waitToUpload":[{type:0,value:"Please wait for current upload to complete before uploading new files."}],"uploader.zeroFileSize":[{type:0,value:"The file must be more than 0 bytes"}]};var a={"chart.clickToSeeDetails":[{type:0,value:"Cliquez ou utilisez les flèches directionnelles pour plus d'information."}],"chart.hiddenPercentages":[{type:0,value:"Les pourcentages contigus de moins de 5% ne sont pas affichés."}],"chart.infoButton":[{type:0,value:"Bouton. Activer pour plus d'informations."}],"chart.interactiveChart":[{type:0,value:"Graphique interactif. Utilisez les touches directionnelles pour parcourir les éléments, tabulation pour sortir."}],"date.april":[{type:0,value:"Avril"}],"date.august":[{type:0,value:"Août"}],"date.calendarView":[{type:0,value:"Voir le calendrier"}],"date.currentMonth":[{type:0,value:"Mois actuel"}],"date.december":[{type:0,value:"Décembre"}],"date.february":[{type:0,value:"Février"}],"date.format":[{options:{int:{value:[{type:0,value:"jj/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/jj"}]},us:{value:[{type:0,value:"mm/jj/aaaa"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"jj/mm/aaaa"}],"date.formatISO":[{type:0,value:"aaaa/mm/jj"}],"date.formatUS":[{type:0,value:"mm/jj/aaaa"}],"date.fr":[{type:0,value:"Ve"}],"date.friday":[{type:0,value:"Vendredi"}],"date.instructions":[{type:0,value:"Utilisez les flèches directionnelles pour choisir une date dans le tableau. La touche tabulation permet d'accéder aux boutons de sélection du mois."}],"date.invalidDate":[{type:0,value:"Entrez une date valide au format "},{options:{int:{value:[{type:0,value:"jj/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/jj"}]},us:{value:[{type:0,value:"mm/jj/aaaa"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Janvier"}],"date.july":[{type:0,value:"Juillet"}],"date.june":[{type:0,value:"Juin"}],"date.march":[{type:0,value:"Mars"}],"date.may":[{type:0,value:"Mai"}],"date.mo":[{type:0,value:"Lu"}],"date.monday":[{type:0,value:"Lundi"}],"date.november":[{type:0,value:"Novembre"}],"date.october":[{type:0,value:"Octobre"}],"date.requiredDateError":[{type:0,value:"Vous devez renseigner une date."}],"date.sa":[{type:0,value:"Sa"}],"date.saturday":[{type:0,value:"Samedi"}],"date.selectMonth":[{type:0,value:"Activer pour sélectionner le mois."}],"date.selectNextMonth":[{type:0,value:"Sélectionner le mois suivant"}],"date.selectNextYear":[{type:0,value:"Sélectionner l'année suivante"}],"date.selectPreviousMonth":[{type:0,value:"Sélectionner le mois prédédent"}],"date.selectPreviousYear":[{type:0,value:"Sélectionner l'année prédédente"}],"date.selectYear":[{type:0,value:"Activer pour sélectionner l'année."}],"date.september":[{type:0,value:"Septembre"}],"date.su":[{type:0,value:"Di"}],"date.sunday":[{type:0,value:"Dimanche"}],"date.th":[{type:0,value:"Je"}],"date.thursday":[{type:0,value:"Jeudi"}],"date.today":[{type:0,value:"aujourd'hui"}],"date.tu":[{type:0,value:"Ma"}],"date.tuesday":[{type:0,value:"Mardi"}],"date.we":[{type:0,value:"Me"}],"date.wednesday":[{type:0,value:"Mercredi"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" caractères autorisés."}],"global.characterLimitReached":[{type:0,value:"Aucun autre caractère ne peut être ajouté."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" caractères sur "},{style:null,type:2,value:"y"},{type:0,value:" ajoutés."}],"global.closeVerb":[{type:0,value:"Fermer"}],"global.genericError":[{type:0,value:"Une erreur s'est produite. Veuillez réessayer."}],"global.newWindowLink":[{type:0,value:"S'ouvre dans une nouvelle fenêtre."}],"global.next":[{type:0,value:"suivant"}],"global.openVerb":[{type:0,value:"Ouvrir"}],"global.previous":[{type:0,value:"précédent"}],"global.requiredError":[{type:0,value:"Ce champ est requis."}],"global.requiredField":[{type:0,value:"champ requis"}],"input.numberError":[{type:0,value:"Entrez un nombre valide."}],"navigation.mainNavigation":[{type:0,value:"Principale"}],"navigation.showNavigation":[{type:0,value:"Ouvrir la navigation"}],"navigator.WatermarkAppNavigation":[{type:0,value:"Navigation des Apps Watermark"}],"navigator.logout":[{type:0,value:"Se déconnecter"}],"navigator.userinfo":[{type:0,value:"Informations utilisateur"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Informations utilisateur et navigateur de produits"}],"navigator.userinfoLabel":[{type:0,value:"pour "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Apps Watermark"}],"search.jumpToResult":[{type:0,value:"Aller au résultat"}],"search.nextResult":[{type:0,value:"Activer pour entendre le résultat suivant"}],"search.previousResult":[{type:0,value:"Activer pour entendre le résultat précédent"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"Aucun résultat"}]},one:{value:[{type:0,value:"1 résultat"}]},other:{value:[{type:7},{type:0,value:" résultats"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"search.typeToFilterResults":[{type:0,value:"Tapez pour filtrer les résultats"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"Aucun résultat"}]},other:{value:[{type:0,value:"Résultat "},{type:1,value:"current"},{type:0,value:" de "},{type:1,value:"numResults"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Tous sélectionnés"}],"select.multiPlaceholder":[{type:0,value:"Faites une sélection"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 option existante."}]},other:{value:[{type:7},{type:0,value:" options existantes."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Recherchez et sélectionnez une étiquette."}],"tagInput.helpTextEditable":[{type:0,value:"Appuyez sur Entrée ou insérez une virgule pour ajouter une nouvelle étiquette."}],"tagInput.maxTagsReached":[{type:0,value:"Le nombre maximal d'étiquettes est atteint, aucune autre ne peut être ajoutée."}],"tagInput.placeholderAdd":[{type:0,value:"Ajoutez une nouvelle étiquette"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Ajoutez ou recherchez une étiquette"}],"tagInput.placeholderSearch":[{type:0,value:"Recherchez et sélectionnez une étiquette"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" ajoutée."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" a déjà été ajoutée."}],"tagInput.tagAreaInstructions":[{type:0,value:"selection d'étiquettes. Touche retour arrière ou supprimer pour enlever une étiquette."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" enlevée"}],"tagInput.tagsAddedCounter":[{type:0,value:"Étiquette ajoutée : "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Entrez une heure valide."}],"time.requiredError":[{type:0,value:"Vous devez renseigner une heure."}],"time.selectTime":[{type:0,value:"Choisissez une heure"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"Plus d'information"}],"uploader.duplicateName":[{type:0,value:"Un fichier du même nom existe déjà."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" a été supprimé."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" n'a pas pu être supprimé."}],"uploader.fileTooLarge":[{type:0,value:"Le fichier sélectionné est trop lourd. La taille maximum est de "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"Le nombre de fichiers selectionnés dépasse la limite."}],"uploader.fileUploadLimit":[{type:0,value:"Vous avez atteint le nombre maximum de fichiers."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 fichier ajouté"}]},other:{value:[{type:7},{type:0,value:" fichiers ajoutés"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 fichier"}]},other:{value:[{type:7},{type:0,value:" fichiers"}]}},pluralType:"cardinal",type:6,value:"num"},{type:0,value:" en cours de téléchargement."}],"uploader.finishedUploading":[{type:0,value:"Téléchargement terminé"}],"uploader.invalidFileType":[{type:0,value:"Le type du fichier est invalide. Fichiers acceptés : "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Progression de l'envoi: "},{type:1,value:"percentage"},{type:0,value:"%"}],"uploader.waitToUpload":[{type:0,value:"Attendez la fin du chargement en cours pour ajouter de nouveaux fichiers."}]};var r={"chart.clickToSeeDetails":[{type:0,value:"Haga clic o utilice las flechas para ver los detalles."}],"chart.hiddenPercentages":[{type:0,value:"Los porcentajes menores a 5 % no se mostrarán si se encuentran demasiado cerca entre ellos."}],"chart.infoButton":[{type:0,value:"Botón. Haga clic para obtener más información"}],"chart.interactiveChart":[{type:0,value:"Cuadro interactivo. Utilice las teclas de flechas para buscar elementos, presione la tecla Tab para salir."}],"date.april":[{type:0,value:"Abril"}],"date.august":[{type:0,value:"Agosto"}],"date.calendarView":[{type:0,value:"Vista de calendario"}],"date.currentMonth":[{type:0,value:"mes en curso"}],"date.december":[{type:0,value:"Diciembre"}],"date.february":[{type:0,value:"Febrero"}],"date.format":[{options:{int:{value:[{type:0,value:"dd/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/aaaa"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/aaaa"}],"date.formatISO":[{type:0,value:"aaaa/mm/dd"}],"date.formatUS":[{type:0,value:"mm/dd/aaaa"}],"date.fr":[{type:0,value:"Vi"}],"date.friday":[{type:0,value:"Viernes"}],"date.instructions":[{type:0,value:"Utilice las flechas para seleccionar una fecha en la tabla. Presione los botones izquierdo o derecho para seleccionar el mes anterior, el mes siguiente o la tabla de selección de mes."}],"date.invalidDate":[{type:0,value:"Escriba una fecha válida en el formato "},{options:{int:{value:[{type:0,value:"dd/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/aaaa"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Enero"}],"date.july":[{type:0,value:"Julio"}],"date.june":[{type:0,value:"Junio"}],"date.march":[{type:0,value:"Marzo"}],"date.may":[{type:0,value:"Mayo"}],"date.mo":[{type:0,value:"Lu"}],"date.monday":[{type:0,value:"Lunes"}],"date.november":[{type:0,value:"Noviembre"}],"date.october":[{type:0,value:"Octubre"}],"date.requiredDateError":[{type:0,value:"La fecha se require."}],"date.sa":[{type:0,value:"Sá"}],"date.saturday":[{type:0,value:"Sábado"}],"date.selectMonth":[{type:0,value:"Active para seleccionar un mes."}],"date.selectNextMonth":[{type:0,value:"Seleccionar el mes siguiente"}],"date.selectNextYear":[{type:0,value:"Seleccionar el año siguiente"}],"date.selectPreviousMonth":[{type:0,value:"Seleccionar el mes anterior"}],"date.selectPreviousYear":[{type:0,value:"Seleccionar el año anterior"}],"date.selectYear":[{type:0,value:"Active para seleccionar un año."}],"date.september":[{type:0,value:"Septiembre"}],"date.su":[{type:0,value:"Do"}],"date.sunday":[{type:0,value:"Domingo"}],"date.th":[{type:0,value:"Ju"}],"date.thursday":[{type:0,value:"Jueves"}],"date.today":[{type:0,value:"hoy"}],"date.tu":[{type:0,value:"Ma"}],"date.tuesday":[{type:0,value:"Martes"}],"date.we":[{type:0,value:"Mi"}],"date.wednesday":[{type:0,value:"Miércoles"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" caracteres permitido."}],"global.characterLimitReached":[{type:0,value:"No se grabaran caracteres adicionales."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" de "},{style:null,type:2,value:"y"},{type:0,value:" caracteres ingresados."}],"global.closeVerb":[{type:0,value:"Cerrar"}],"global.genericError":[{type:0,value:"Se produjo un error. Vuelva a intentarlo."}],"global.newWindowLink":[{type:0,value:"Se abre en una nueva ventana."}],"global.next":[{type:0,value:"siguiente"}],"global.previous":[{type:0,value:"anterior"}],"global.requiredError":[{type:0,value:"Se require este campo de ingreso."}],"global.requiredField":[{type:0,value:"Campo de ingreso requerido"}],"input.numberError":[{type:0,value:"Ingrese un numero valido por favor."}],"navigator.WatermarkAppNavigation":[{type:0,value:"Navegación de la aplicación de Watermark"}],"navigator.logout":[{type:0,value:"Cerrar sesión"}],"navigator.userinfo":[{type:0,value:"Información de Usuario"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Información de Usuario y Navegador de Productos"}],"navigator.userinfoLabel":[{type:0,value:"para "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Aplicaciones de Watermark"}],"search.jumpToResult":[{type:0,value:"Salte para buscar resultados en la lista"}],"search.nextResult":[{type:0,value:"Presione para escuchar el siguiente resultado coincidente"}],"search.previousResult":[{type:0,value:"Presione para escuchar el resultado coincidente anterior"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"No se encontraron resultados"}]},one:{value:[{type:0,value:"Se encontró un resultado"}]},other:{value:[{type:7},{type:0,value:" resultados encontrados"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"search.typeToFilterResults":[{type:0,value:"Escriba para filtrar los resultados"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"No se encontraron resultados"}]},one:{value:[{type:0,value:"1 de 1 resultado encontrado"}]},other:{value:[{type:1,value:"current"},{type:0,value:" de "},{type:1,value:"numResults"},{type:0,value:" resultados encontrados"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Todo seleccionado"}],"select.multiPlaceholder":[{type:0,value:"Haga una elección"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"solo una opcion existe."}]},other:{value:[{type:7},{type:0,value:" opciones existen."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Buscsa y selecciona una etiqueta."}],"tagInput.helpTextEditable":[{type:0,value:"Presione la tecla de enter o coma para agregar una nueva etiqueta."}],"tagInput.maxTagsReached":[{type:0,value:"Se ha alcanzado el limite máximo de etiquetas, no se pueden agregar etiquetas adicionales."}],"tagInput.placeholderAdd":[{type:0,value:"Agrega una nueva etiqueta"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Agrega o busca por una etiqueta"}],"tagInput.placeholderSearch":[{type:0,value:"Buscsa y selecciona una etiqueta"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" agregada."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" ya ha side añadida."}],"tagInput.tagAreaInstructions":[{type:0,value:"Selección de etiquetas. Presione la tecla retroceso o eliminar para quitar una etiqueta."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" quitado"}],"tagInput.tagsAddedCounter":[{type:0,value:"Etiquetas añadidas: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Ingrese un tiempo valido por favor."}],"time.requiredError":[{type:0,value:"Se require una hora. "}],"time.selectTime":[{type:0,value:"Selecciona hora"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"Más información"}],"uploader.duplicateName":[{type:0,value:"Ya existe un archivo con este nombre."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" se eliminó."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" no se pudo eliminar."}],"uploader.fileTooLarge":[{type:0,value:"El archivo seleccionado es muy grande. El tamaño máximo de archivo es "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"El número de archivos seleccionados excede el límite."}],"uploader.fileUploadLimit":[{type:0,value:"Alcanzó el límite de carga de archivos."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 archivo agregado"}]},other:{value:[{type:7},{type:0,value:" archivos agregados"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 archivo cargando"}]},other:{value:[{type:7},{type:0,value:" archivos cargandos"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Finalizó la carga"}],"uploader.invalidFileType":[{type:0,value:"El tipo de archivo no es válido. Tipos aceptados: "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Progreso de la carga: "},{type:1,value:"percentage"},{type:0,value:"%"}]};var n={"chart.clickToSeeDetails":[{type:0,value:"Ickclay oryay useyay arrowyay eyskay otay eesay etailsday."}],"chart.hiddenPercentages":[{type:0,value:"Ercentagespay allersmay anthay 5% areyay otnay ownshay enwhay ootay oseclay otay eachyay otheryay."}],"chart.infoButton":[{type:0,value:"Uttonbay. Ickclay orfay oremay informationyay."}],"chart.interactiveChart":[{type:0,value:"Interactiveyay artchay. Useyay arrowyay eyskay otay owsebray elementsyay, esspray Abtay otay exityay."}],"date.april":[{type:0,value:"Aprilyay"}],"date.august":[{type:0,value:"Augustyay"}],"date.calendarView":[{type:0,value:"Alendarcay Iewvay"}],"date.currentMonth":[{type:0,value:"urrentcay onthmay"}],"date.december":[{type:0,value:"Ecemberday"}],"date.february":[{type:0,value:"Ebruaryfay"}],"date.format":[{options:{int:{value:[{type:0,value:"dd/mm/yyyyay"}]},other:{value:[{type:0,value:"yyyy/mm/dday"}]},us:{value:[{type:0,value:"mm/dd/yyyyay"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/yyyyay"}],"date.formatISO":[{type:0,value:"yyyy/mm/dday"}],"date.formatUS":[{type:0,value:"mm/dd/yyyyay"}],"date.fr":[{type:0,value:"Fray"}],"date.friday":[{type:0,value:"Idayfray"}],"date.instructions":[{type:0,value:"Useyay arrowsyay otay electsay ayay ateday inyay ethay abletay. Abtay eftlay oryay ightray otay uttonsbay orfay electingsay eviouspray onthmay, extnay onthmay, oryay ethay onthmay electionsay abletay."}],"date.invalidDate":[{type:0,value:"Easeplay enteryay ayay alidvay ateday inyay ethay ormatfay "},{options:{int:{value:[{type:0,value:"dd/mm/yyyyay"}]},other:{value:[{type:0,value:"yyyy/mm/dday"}]},us:{value:[{type:0,value:"mm/dd/yyyyay"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Anuaryjay"}],"date.july":[{type:0,value:"Ulyjay"}],"date.june":[{type:0,value:"Unejay"}],"date.march":[{type:0,value:"Archmay"}],"date.may":[{type:0,value:"Aymay"}],"date.mo":[{type:0,value:"Omay"}],"date.monday":[{type:0,value:"Ondaymay"}],"date.november":[{type:0,value:"Ovembernay"}],"date.october":[{type:0,value:"Octoberyay"}],"date.requiredDateError":[{type:0,value:"Ayay ateday isyay equiredray."}],"date.sa":[{type:0,value:"Asay"}],"date.saturday":[{type:0,value:"Aturdaysay"}],"date.selectMonth":[{type:0,value:"Activateyay otay electsay ayay onthmay."}],"date.selectNextMonth":[{type:0,value:"Electsay extnay onthmay"}],"date.selectNextYear":[{type:0,value:"Electsay extnay earyay"}],"date.selectPreviousMonth":[{type:0,value:"Electsay eviouspray onthmay"}],"date.selectPreviousYear":[{type:0,value:"Electsay eviouspray earyay"}],"date.selectYear":[{type:0,value:"Activateyay otay electsay ayay earyay."}],"date.september":[{type:0,value:"Eptembersay"}],"date.su":[{type:0,value:"Usay"}],"date.sunday":[{type:0,value:"Undaysay"}],"date.th":[{type:0,value:"Thay"}],"date.thursday":[{type:0,value:"Ursdaythay"}],"date.today":[{type:0,value:"odaytay"}],"date.tu":[{type:0,value:"Utay"}],"date.tuesday":[{type:0,value:"Uesdaytay"}],"date.we":[{type:0,value:"Eway"}],"date.wednesday":[{type:0,value:"Ednesdayway"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" aracterschay allowedyay."}],"global.characterLimitReached":[{type:0,value:"Onay additionalyay aracterschay illway ebay enteredyay."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" ofyay "},{style:null,type:2,value:"y"},{type:0,value:" aracterschay enteredyay."}],"global.closeVerb":[{type:0,value:"Oseclay"}],"global.genericError":[{type:0,value:"Anyay erroryay occurredyay. Easeplay tryay againyay."}],"global.newWindowLink":[{type:0,value:"Opensyay inyay ayay ewnay indowway."}],"global.next":[{type:0,value:"extnay"}],"global.openVerb":[{type:0,value:"Openyay"}],"global.previous":[{type:0,value:"eviouspray"}],"global.requiredError":[{type:0,value:"Isthay ieldfay isyay equiredray."}],"global.requiredField":[{type:0,value:"equiredray ieldfay"}],"input.numberError":[{type:0,value:"Easeplay enteryay ayay alidvay umbernay."}],"navigation.mainNavigation":[{type:0,value:"Ainmay"}],"navigation.showNavigation":[{type:0,value:"Owshay avigationnay"}],"navigator.WatermarkAppNavigation":[{type:0,value:"Atermarkway Appyay Avigationnay"}],"navigator.logout":[{type:0,value:"Oglay Outyay"}],"navigator.userinfo":[{type:0,value:"Useryay informationyay"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Useryay informationyay andyay oductpray avigatornay"}],"navigator.userinfoLabel":[{type:0,value:"orfay "},{type:1,value:"name"},{type:0,value:", emailyay "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Atermarkway Appsyay"}],"search.jumpToResult":[{type:0,value:"Umpjay otay earchsay esultray inyay istlay"}],"search.nextResult":[{type:0,value:"Esspray otay earhay extnay atchingmay esultray"}],"search.previousResult":[{type:0,value:"Esspray otay earhay eviouspray atchingmay esultray"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"Onay esultsray"}]},one:{value:[{type:0,value:"1 esultray"}]},other:{value:[{type:7},{type:0,value:" esultsray"}]}},pluralType:"cardinal",type:6,value:"numResults"},{type:0,value:" oundfay"}],"search.typeToFilterResults":[{type:0,value:"Etypay otay ilterfay ethay esultsray"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"Onay esultsray oundfay"}]},other:{value:[{type:1,value:"current"},{type:0,value:" ofyay "},{type:1,value:"numResults"},{type:0,value:" esultsray"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Allyay electedsay"}],"select.multiPlaceholder":[{type:0,value:"Akemay ayay electionsay"}],"select.noSearchResults":[{type:0,value:"Onay esultsray oundfay. Easeplay tryay ouryay earchsay againyay."}],"select.searchPlaceholder":[{type:0,value:"Earchsay"}],"select.searchResultsFound":[{offset:0,options:{one:{value:[{type:0,value:"1 optionyay oundfay"}]},other:{value:[{type:7},{type:0,value:" optionsyay oundfay"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 existingyay optionyay."}]},other:{value:[{type:7},{type:0,value:" existingyay optionsyay."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Earchsay andyay electsay ayay agtay."}],"tagInput.helpTextEditable":[{type:0,value:"Esspray ethay Enteryay oryay Ommacay eykay otay addyay ayay ewnay agtay."}],"tagInput.maxTagsReached":[{type:0,value:"Ethay aximummay amountyay ofyay agstay ashay eenbay eachedray, onay additionalyay agstay ancay ebay addedyay."}],"tagInput.placeholderAdd":[{type:0,value:"Addyay ayay ewnay agtay"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Addyay oryay earchsay orfay ayay agtay"}],"tagInput.placeholderSearch":[{type:0,value:"Earchsay andyay electsay ayay agtay"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" addedyay."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" ashay alreadyyay eenbay addedyay."}],"tagInput.tagAreaInstructions":[{type:0,value:"agtay electionsay. Esspray Ackspacebay oryay Eleteday otay emoveray ayay agtay."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" emovedray"}],"tagInput.tagsAddedCounter":[{type:0,value:"Agstay addedyay: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Easeplay enteryay ayay alidvay imetay."}],"time.requiredError":[{type:0,value:"Ayay imetay isyay equiredray."}],"time.selectTime":[{type:0,value:"Electsay imetay"}],"time.timeFormat":[{type:0,value:"hh:mmay"}],"toggletip.moreInformation":[{type:0,value:"Oremay informationyay"}],"uploader.acceptedFileTypes":[{type:0,value:"Acceptedyay ilefay "},{offset:0,options:{"=1":{value:[{type:0,value:"etypay"}]},other:{value:[{type:0,value:"estypay"}]}},pluralType:"cardinal",type:6,value:"amount"},{type:0,value:": "},{type:1,value:"fileTypes"}],"uploader.actionMenuLabel":[{type:0,value:"Actionsyay"}],"uploader.clearErrorLabel":[{type:0,value:"Earclay "},{type:1,value:"fileName"},{type:0,value:" erroryay"}],"uploader.clearErrorText":[{type:0,value:"Earclay"}],"uploader.deleteAction":[{type:0,value:"Eleteday Ilefay"}],"uploader.downloadAction":[{type:0,value:"Ownloadday Ilefay"}],"uploader.duplicateName":[{type:0,value:"Ayay ilefay ithway isthay amenay alreadyyay existsyay."}],"uploader.fileCount":[{type:1,value:"x"},{type:0,value:" ofyay "},{type:1,value:"y"},{type:0,value:" Ilesfay"}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" asway eletedday."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" ouldcay otnay ebay eletedday."}],"uploader.fileTooLarge":[{type:0,value:"Ethay electedsay ilefay isyay ootay argelay. Aximummay ilefay izesay isyay "},{type:1,value:"size"},{type:0,value:"Mbay"}],"uploader.fileUploadLimitExceeded":[{type:0,value:"Uploadyay unsuccessfulyay ecausebay ilefay electionsay ouldway exceedyay ethay aximummay umbernay ofyay ilesfay"}],"uploader.fileUploadLimitReached":[{type:0,value:"Ethay aximummay umbernay ofyay ilesfay ashay eenbay eachedray"}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 ilefay addedyay"}]},other:{value:[{type:7},{type:0,value:" ilesfay addedyay"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 ilefay uploadingyay"}]},other:{value:[{type:7},{type:0,value:" ilesfay uploadingyay"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Inishedfay uploadingyay"}],"uploader.invalidFileType":[{type:0,value:"Ethay ilefay etypay isyay invalidyay. Acceptedyay estypay: "},{type:1,value:"validTypes"}],"uploader.maxSize":[{type:0,value:"Aximummay ilefay izesay "},{type:1,value:"maxSize"},{type:0,value:"MBay"}],"uploader.previewAction":[{type:0,value:"Eviewpray Ilefay"}],"uploader.uploadProgress":[{type:0,value:"Uploadyay ogresspray: "},{type:1,value:"percentage"},{type:0,value:"%"}],"uploader.waitToUpload":[{type:0,value:"Easeplay aitway orfay urrentcay uploadyay otay ompletecay eforebay uploadingyay ewnay ilesfay."}],"uploader.zeroFileSize":[{type:0,value:"Ethay ilefay ustmay ebay oremay anthay 0 esbytay"}]};var i=Object.freeze({__proto__:null,en:t,fr:a,es:r,pig:n});var l=function(e,t){l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};return l(e,t)};function o(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");l(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}var u=function(){u=Object.assign||function e(t){for(var a,r=1,n=arguments.length;r<n;r++){a=arguments[r];for(var i in a)if(Object.prototype.hasOwnProperty.call(a,i))t[i]=a[i]}return t};return u.apply(this,arguments)};function s(e,t,a){if(a||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))}var p;(function(e){e[e["EXPECT_ARGUMENT_CLOSING_BRACE"]=1]="EXPECT_ARGUMENT_CLOSING_BRACE";e[e["EMPTY_ARGUMENT"]=2]="EMPTY_ARGUMENT";e[e["MALFORMED_ARGUMENT"]=3]="MALFORMED_ARGUMENT";e[e["EXPECT_ARGUMENT_TYPE"]=4]="EXPECT_ARGUMENT_TYPE";e[e["INVALID_ARGUMENT_TYPE"]=5]="INVALID_ARGUMENT_TYPE";e[e["EXPECT_ARGUMENT_STYLE"]=6]="EXPECT_ARGUMENT_STYLE";e[e["INVALID_NUMBER_SKELETON"]=7]="INVALID_NUMBER_SKELETON";e[e["INVALID_DATE_TIME_SKELETON"]=8]="INVALID_DATE_TIME_SKELETON";e[e["EXPECT_NUMBER_SKELETON"]=9]="EXPECT_NUMBER_SKELETON";e[e["EXPECT_DATE_TIME_SKELETON"]=10]="EXPECT_DATE_TIME_SKELETON";e[e["UNCLOSED_QUOTE_IN_ARGUMENT_STYLE"]=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE";e[e["EXPECT_SELECT_ARGUMENT_OPTIONS"]=12]="EXPECT_SELECT_ARGUMENT_OPTIONS";e[e["EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE"]=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE";e[e["INVALID_PLURAL_ARGUMENT_OFFSET_VALUE"]=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE";e[e["EXPECT_SELECT_ARGUMENT_SELECTOR"]=15]="EXPECT_SELECT_ARGUMENT_SELECTOR";e[e["EXPECT_PLURAL_ARGUMENT_SELECTOR"]=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR";e[e["EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT"]=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT";e[e["EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT"]=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT";e[e["INVALID_PLURAL_ARGUMENT_SELECTOR"]=19]="INVALID_PLURAL_ARGUMENT_SELECTOR";e[e["DUPLICATE_PLURAL_ARGUMENT_SELECTOR"]=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR";e[e["DUPLICATE_SELECT_ARGUMENT_SELECTOR"]=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR";e[e["MISSING_OTHER_CLAUSE"]=22]="MISSING_OTHER_CLAUSE";e[e["INVALID_TAG"]=23]="INVALID_TAG";e[e["INVALID_TAG_NAME"]=25]="INVALID_TAG_NAME";e[e["UNMATCHED_CLOSING_TAG"]=26]="UNMATCHED_CLOSING_TAG";e[e["UNCLOSED_TAG"]=27]="UNCLOSED_TAG"})(p||(p={}));var c;(function(e){e[e["literal"]=0]="literal";e[e["argument"]=1]="argument";e[e["number"]=2]="number";e[e["date"]=3]="date";e[e["time"]=4]="time";e[e["select"]=5]="select";e[e["plural"]=6]="plural";e[e["pound"]=7]="pound";e[e["tag"]=8]="tag"})(c||(c={}));var y;(function(e){e[e["number"]=0]="number";e[e["dateTime"]=1]="dateTime"})(y||(y={}));function h(e){return e.type===c.literal}function v(e){return e.type===c.argument}function d(e){return e.type===c.number}function f(e){return e.type===c.date}function m(e){return e.type===c.time}function g(e){return e.type===c.select}function b(e){return e.type===c.plural}function E(e){return e.type===c.pound}function T(e){return e.type===c.tag}function A(e){return!!(e&&typeof e==="object"&&e.type===y.number)}function I(e){return!!(e&&typeof e==="object"&&e.type===y.dateTime)}var S=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var R=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function w(e){var t={};e.replace(R,(function(e){var a=e.length;switch(e[0]){case"G":t.era=a===4?"long":a===5?"narrow":"short";break;case"y":t.year=a===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][a-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][a-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=a===4?"short":a===5?"narrow":"short";break;case"e":if(a<4){throw new RangeError("`e..eee` (weekday) patterns are not supported")}t.weekday=["short","long","narrow","short"][a-4];break;case"c":if(a<4){throw new RangeError("`c..ccc` (weekday) patterns are not supported")}t.weekday=["short","long","narrow","short"][a-4];break;case"a":t.hour12=true;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12";t.hour=["numeric","2-digit"][a-1];break;case"H":t.hourCycle="h23";t.hour=["numeric","2-digit"][a-1];break;case"K":t.hourCycle="h11";t.hour=["numeric","2-digit"][a-1];break;case"k":t.hourCycle="h24";t.hour=["numeric","2-digit"][a-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][a-1];break;case"s":t.second=["numeric","2-digit"][a-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=a<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}));return t}var N=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function B(e){if(e.length===0){throw new Error("Number skeleton cannot be empty")}var t=e.split(N).filter((function(e){return e.length>0}));var a=[];for(var r=0,n=t;r<n.length;r++){var i=n[r];var l=i.split("/");if(l.length===0){throw new Error("Invalid number skeleton")}var o=l[0],u=l.slice(1);for(var s=0,p=u;s<p.length;s++){var c=p[s];if(c.length===0){throw new Error("Invalid number skeleton")}}a.push({stem:o,options:u})}return a}function L(e){return e.replace(/^(.*?)-/,"")}var H=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;var _=/^(@+)?(\+|#+)?[rs]?$/g;var P=/(\*)(0+)|(#+)(0+)|(0+)/g;var M=/^(0+)$/;function O(e){var t={};if(e[e.length-1]==="r"){t.roundingPriority="morePrecision"}else if(e[e.length-1]==="s"){t.roundingPriority="lessPrecision"}e.replace(_,(function(e,a,r){if(typeof r!=="string"){t.minimumSignificantDigits=a.length;t.maximumSignificantDigits=a.length}else if(r==="+"){t.minimumSignificantDigits=a.length}else if(a[0]==="#"){t.maximumSignificantDigits=a.length}else{t.minimumSignificantDigits=a.length;t.maximumSignificantDigits=a.length+(typeof r==="string"?r.length:0)}return""}));return t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function U(e){var t;if(e[0]==="E"&&e[1]==="E"){t={notation:"engineering"};e=e.slice(2)}else if(e[0]==="E"){t={notation:"scientific"};e=e.slice(1)}if(t){var a=e.slice(0,2);if(a==="+!"){t.signDisplay="always";e=e.slice(2)}else if(a==="+?"){t.signDisplay="exceptZero";e=e.slice(2)}if(!M.test(e)){throw new Error("Malformed concise eng/scientific notation")}t.minimumIntegerDigits=e.length}return t}function x(e){var t={};var a=C(e);if(a){return a}return t}function F(e){var t={};for(var a=0,r=e;a<r.length;a++){var n=r[a];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent";t.scale=100;continue;case"currency":t.style="currency";t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=false;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit";t.unit=L(n.options[0]);continue;case"compact-short":case"K":t.notation="compact";t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact";t.compactDisplay="long";continue;case"scientific":t=u(u(u({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return u(u({},e),x(t))}),{}));continue;case"engineering":t=u(u(u({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return u(u({},e),x(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol";t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code";t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name";t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"integer-width":if(n.options.length>1){throw new RangeError("integer-width stems only accept a single optional option")}n.options[0].replace(P,(function(e,a,r,n,i,l){if(a){t.minimumIntegerDigits=r.length}else if(n&&i){throw new Error("We currently do not support maximum integer digits")}else if(l){throw new Error("We currently do not support exact integer digits")}return""}));continue}if(M.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(H.test(n.stem)){if(n.options.length>1){throw new RangeError("Fraction-precision stems only accept a single optional option")}n.stem.replace(H,(function(e,a,r,n,i,l){if(r==="*"){t.minimumFractionDigits=a.length}else if(n&&n[0]==="#"){t.maximumFractionDigits=n.length}else if(i&&l){t.minimumFractionDigits=i.length;t.maximumFractionDigits=i.length+l.length}else{t.minimumFractionDigits=a.length;t.maximumFractionDigits=a.length}return""}));var i=n.options[0];if(i==="w"){t=u(u({},t),{trailingZeroDisplay:"stripIfInteger"})}else if(i){t=u(u({},t),O(i))}continue}if(_.test(n.stem)){t=u(u({},t),O(n.stem));continue}var l=C(n.stem);if(l){t=u(u({},t),l)}var o=U(n.stem);if(o){t=u(u({},t),o)}}return t}var D={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function G(e,t){var a="";for(var r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){var i=0;while(r+1<e.length&&e.charAt(r+1)===n){i++;r++}var l=1+(i&1);var o=i<2?1:3+(i>>1);var u="a";var s=k(t);if(s=="H"||s=="k"){o=0}while(o-- >0){a+=u}while(l-- >0){a=s+a}}else if(n==="J"){a+="H"}else{a+=n}}return a}function k(e){var t=e.hourCycle;if(t===undefined&&e.hourCycles&&e.hourCycles.length){t=e.hourCycles[0]}if(t){switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}}var a=e.language;var r;if(a!=="root"){r=e.maximize().region}var n=D[r||""]||D[a||""]||D["".concat(a,"-001")]||D["001"];return n[0]}var j;var z=new RegExp("^".concat(S.source,"*"));var V=new RegExp("".concat(S.source,"*$"));function q(e,t){return{start:e,end:t}}var W=!!String.prototype.startsWith;var Y=!!String.fromCodePoint;var X=!!Object.fromEntries;var K=!!String.prototype.codePointAt;var Z=!!String.prototype.trimStart;var J=!!String.prototype.trimEnd;var Q=!!Number.isSafeInteger;var $=Q?Number.isSafeInteger:function(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991};var ee=true;try{var te=ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ee=((j=te.exec("a"))===null||j===void 0?void 0:j[0])==="a"}catch(e){ee=false}var ae=W?function e(t,a,r){return t.startsWith(a,r)}:function e(t,a,r){return t.slice(r,r+a.length)===a};var re=Y?String.fromCodePoint:function e(){var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}var r="";var n=t.length;var i=0;var l;while(n>i){l=t[i++];if(l>1114111)throw RangeError(l+" is not a valid code point");r+=l<65536?String.fromCharCode(l):String.fromCharCode(((l-=65536)>>10)+55296,l%1024+56320)}return r};var ne=X?Object.fromEntries:function e(t){var a={};for(var r=0,n=t;r<n.length;r++){var i=n[r],l=i[0],o=i[1];a[l]=o}return a};var ie=K?function e(t,a){return t.codePointAt(a)}:function e(t,a){var r=t.length;if(a<0||a>=r){return undefined}var n=t.charCodeAt(a);var i;return n<55296||n>56319||a+1===r||(i=t.charCodeAt(a+1))<56320||i>57343?n:(n-55296<<10)+(i-56320)+65536};var le=Z?function e(t){return t.trimStart()}:function e(t){return t.replace(z,"")};var oe=J?function e(t){return t.trimEnd()}:function e(t){return t.replace(V,"")};function ue(e,t){return new RegExp(e,t)}var se;if(ee){var pe=ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");se=function e(t,a){var r;pe.lastIndex=a;var n=pe.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else{se=function e(t,a){var r=[];while(true){var n=ie(t,a);if(n===undefined||de(n)||fe(n)){break}r.push(n);a+=n>=65536?2:1}return re.apply(void 0,r)}}var ce=function(){function e(e,t){if(t===void 0){t={}}this.message=e;this.position={offset:0,line:1,column:1};this.ignoreTag=!!t.ignoreTag;this.locale=t.locale;this.requiresOtherClause=!!t.requiresOtherClause;this.shouldParseSkeletons=!!t.shouldParseSkeletons}e.prototype.parse=function(){if(this.offset()!==0){throw Error("parser can only be used once")}return this.parseMessage(0,"",false)};e.prototype.parseMessage=function(e,t,a){var r=[];while(!this.isEOF()){var n=this.char();if(n===123){var i=this.parseArgument(e,a);if(i.err){return i}r.push(i.val)}else if(n===125&&e>0){break}else if(n===35&&(t==="plural"||t==="selectordinal")){var l=this.clonePosition();this.bump();r.push({type:c.pound,location:q(l,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(a){break}else{return this.error(p.UNMATCHED_CLOSING_TAG,q(this.clonePosition(),this.clonePosition()))}}else if(n===60&&!this.ignoreTag&&ye(this.peek()||0)){var i=this.parseTag(e,t);if(i.err){return i}r.push(i.val)}else{var i=this.parseLiteral(e,t);if(i.err){return i}r.push(i.val)}}return{val:r,err:null}};e.prototype.parseTag=function(e,t){var a=this.clonePosition();this.bump();var r=this.parseTagName();this.bumpSpace();if(this.bumpIf("/>")){return{val:{type:c.literal,value:"<".concat(r,"/>"),location:q(a,this.clonePosition())},err:null}}else if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,true);if(n.err){return n}var i=n.val;var l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ye(this.char())){return this.error(p.INVALID_TAG,q(l,this.clonePosition()))}var o=this.clonePosition();var u=this.parseTagName();if(r!==u){return this.error(p.UNMATCHED_CLOSING_TAG,q(o,this.clonePosition()))}this.bumpSpace();if(!this.bumpIf(">")){return this.error(p.INVALID_TAG,q(l,this.clonePosition()))}return{val:{type:c.tag,value:r,children:i,location:q(a,this.clonePosition())},err:null}}else{return this.error(p.UNCLOSED_TAG,q(a,this.clonePosition()))}}else{return this.error(p.INVALID_TAG,q(a,this.clonePosition()))}};e.prototype.parseTagName=function(){var e=this.offset();this.bump();while(!this.isEOF()&&ve(this.char())){this.bump()}return this.message.slice(e,this.offset())};e.prototype.parseLiteral=function(e,t){var a=this.clonePosition();var r="";while(true){var n=this.tryParseQuote(t);if(n){r+=n;continue}var i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}var l=this.tryParseLeftAngleBracket();if(l){r+=l;continue}break}var o=q(a,this.clonePosition());return{val:{type:c.literal,value:r,location:o},err:null}};e.prototype.tryParseLeftAngleBracket=function(){if(!this.isEOF()&&this.char()===60&&(this.ignoreTag||!he(this.peek()||0))){this.bump();return"<"}return null};e.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39){return null}switch(this.peek()){case 39:this.bump();this.bump();return"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal"){break}return null;default:return null}this.bump();var t=[this.char()];this.bump();while(!this.isEOF()){var a=this.char();if(a===39){if(this.peek()===39){t.push(39);this.bump()}else{this.bump();break}}else{t.push(a)}this.bump()}return re.apply(void 0,t)};e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF()){return null}var a=this.char();if(a===60||a===123||a===35&&(t==="plural"||t==="selectordinal")||a===125&&e>0){return null}else{this.bump();return re(a)}};e.prototype.parseArgument=function(e,t){var a=this.clonePosition();this.bump();this.bumpSpace();if(this.isEOF()){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(a,this.clonePosition()))}if(this.char()===125){this.bump();return this.error(p.EMPTY_ARGUMENT,q(a,this.clonePosition()))}var r=this.parseIdentifierIfPossible().value;if(!r){return this.error(p.MALFORMED_ARGUMENT,q(a,this.clonePosition()))}this.bumpSpace();if(this.isEOF()){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(a,this.clonePosition()))}switch(this.char()){case 125:{this.bump();return{val:{type:c.argument,value:r,location:q(a,this.clonePosition())},err:null}}case 44:{this.bump();this.bumpSpace();if(this.isEOF()){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(a,this.clonePosition()))}return this.parseArgumentOptions(e,t,r,a)}default:return this.error(p.MALFORMED_ARGUMENT,q(a,this.clonePosition()))}};e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition();var t=this.offset();var a=se(this.message,t);var r=t+a.length;this.bumpTo(r);var n=this.clonePosition();var i=q(e,n);return{value:a,location:i}};e.prototype.parseArgumentOptions=function(e,t,a,r){var n;var i=this.clonePosition();var l=this.parseIdentifierIfPossible().value;var o=this.clonePosition();switch(l){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,q(i,o));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();var v=this.parseSimpleArgStyleIfPossible();if(v.err){return v}var d=oe(v.val);if(d.length===0){return this.error(p.EXPECT_ARGUMENT_STYLE,q(this.clonePosition(),this.clonePosition()))}var f=q(h,this.clonePosition());s={style:d,styleLocation:f}}var m=this.tryParseArgumentClose(r);if(m.err){return m}var g=q(r,this.clonePosition());if(s&&ae(s===null||s===void 0?void 0:s.style,"::",0)){var b=le(s.style.slice(2));if(l==="number"){var v=this.parseNumberSkeletonFromString(b,s.styleLocation);if(v.err){return v}return{val:{type:c.number,value:a,location:g,style:v.val},err:null}}else{if(b.length===0){return this.error(p.EXPECT_DATE_TIME_SKELETON,g)}var E=b;if(this.locale){E=G(b,this.locale)}var d={type:y.dateTime,pattern:E,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?w(E):{}};var T=l==="date"?c.date:c.time;return{val:{type:T,value:a,location:g,style:d},err:null}}}return{val:{type:l==="number"?c.number:l==="date"?c.date:c.time,value:a,location:g,style:(n=s===null||s===void 0?void 0:s.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();this.bumpSpace();if(!this.bumpIf(",")){return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,q(A,u({},A)))}this.bumpSpace();var I=this.parseIdentifierIfPossible();var S=0;if(l!=="select"&&I.value==="offset"){if(!this.bumpIf(":")){return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,q(this.clonePosition(),this.clonePosition()))}this.bumpSpace();var v=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(v.err){return v}this.bumpSpace();I=this.parseIdentifierIfPossible();S=v.val}var R=this.tryParsePluralOrSelectOptions(e,l,t,I);if(R.err){return R}var m=this.tryParseArgumentClose(r);if(m.err){return m}var N=q(r,this.clonePosition());if(l==="select"){return{val:{type:c.select,value:a,options:ne(R.val),location:N},err:null}}else{return{val:{type:c.plural,value:a,options:ne(R.val),offset:S,pluralType:l==="plural"?"cardinal":"ordinal",location:N},err:null}}}default:return this.error(p.INVALID_ARGUMENT_TYPE,q(i,o))}};e.prototype.tryParseArgumentClose=function(e){if(this.isEOF()||this.char()!==125){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(e,this.clonePosition()))}this.bump();return{val:true,err:null}};e.prototype.parseSimpleArgStyleIfPossible=function(){var e=0;var t=this.clonePosition();while(!this.isEOF()){var a=this.char();switch(a){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'")){return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,q(r,this.clonePosition()))}this.bump();break}case 123:{e+=1;this.bump();break}case 125:{if(e>0){e-=1}else{return{val:this.message.slice(t.offset,this.offset()),err:null}}break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}};e.prototype.parseNumberSkeletonFromString=function(e,t){var a=[];try{a=B(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:y.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?F(a):{}},err:null}};e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,r){var n;var i=false;var l=[];var o=new Set;var u=r.value,s=r.location;while(true){if(u.length===0){var c=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err){return y}s=q(c,this.clonePosition());u=this.message.slice(c.offset,this.offset())}else{break}}if(o.has(u)){return this.error(t==="select"?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s)}if(u==="other"){i=true}this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{")){return this.error(t==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,q(this.clonePosition(),this.clonePosition()))}var v=this.parseMessage(e+1,t,a);if(v.err){return v}var d=this.tryParseArgumentClose(h);if(d.err){return d}l.push([u,{value:v.val,location:q(h,this.clonePosition())}]);o.add(u);this.bumpSpace();n=this.parseIdentifierIfPossible(),u=n.value,s=n.location}if(l.length===0){return this.error(t==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,q(this.clonePosition(),this.clonePosition()))}if(this.requiresOtherClause&&!i){return this.error(p.MISSING_OTHER_CLAUSE,q(this.clonePosition(),this.clonePosition()))}return{val:l,err:null}};e.prototype.tryParseDecimalInteger=function(e,t){var a=1;var r=this.clonePosition();if(this.bumpIf("+"));else if(this.bumpIf("-")){a=-1}var n=false;var i=0;while(!this.isEOF()){var l=this.char();if(l>=48&&l<=57){n=true;i=i*10+(l-48);this.bump()}else{break}}var o=q(r,this.clonePosition());if(!n){return this.error(e,o)}i*=a;if(!$(i)){return this.error(t,o)}return{val:i,err:null}};e.prototype.offset=function(){return this.position.offset};e.prototype.isEOF=function(){return this.offset()===this.message.length};e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}};e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length){throw Error("out of bound")}var t=ie(this.message,e);if(t===undefined){throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"))}return t};e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}};e.prototype.bump=function(){if(this.isEOF()){return}var e=this.char();if(e===10){this.position.line+=1;this.position.column=1;this.position.offset+=1}else{this.position.column+=1;this.position.offset+=e<65536?1:2}};e.prototype.bumpIf=function(e){if(ae(this.message,e,this.offset())){for(var t=0;t<e.length;t++){this.bump()}return true}return false};e.prototype.bumpUntil=function(e){var t=this.offset();var a=this.message.indexOf(e,t);if(a>=0){this.bumpTo(a);return true}else{this.bumpTo(this.message.length);return false}};e.prototype.bumpTo=function(e){if(this.offset()>e){throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()))}e=Math.min(e,this.message.length);while(true){var t=this.offset();if(t===e){break}if(t>e){throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"))}this.bump();if(this.isEOF()){break}}};e.prototype.bumpSpace=function(){while(!this.isEOF()&&de(this.char())){this.bump()}};e.prototype.peek=function(){if(this.isEOF()){return null}var e=this.char();var t=this.offset();var a=this.message.charCodeAt(t+(e>=65536?2:1));return a!==null&&a!==void 0?a:null};return e}();function ye(e){return e>=97&&e<=122||e>=65&&e<=90}function he(e){return ye(e)||e===47}function ve(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function de(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function fe(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function me(e){e.forEach((function(e){delete e.location;if(g(e)||b(e)){for(var t in e.options){delete e.options[t].location;me(e.options[t].value)}}else if(d(e)&&A(e.style)){delete e.style.location}else if((f(e)||m(e))&&I(e.style)){delete e.style.location}else if(T(e)){me(e.children)}}))}function ge(e,t){if(t===void 0){t={}}t=u({shouldParseSkeletons:true,requiresOtherClause:true},t);var a=new ce(e,t).parse();if(a.err){var r=SyntaxError(p[a.err.kind]);r.location=a.err.location;r.originalMessage=a.err.message;throw r}if(!(t===null||t===void 0?void 0:t.captureLocation)){me(a.val)}return a.val}function be(e,t){var a=t&&t.cache?t.cache:Le;var r=t&&t.serializer?t.serializer:Ne;var n=t&&t.strategy?t.strategy:Se;return n(e,{cache:a,serializer:r})}function Ee(e){return e==null||typeof e==="number"||typeof e==="boolean"}function Te(e,t,a,r){var n=Ee(r)?r:a(r);var i=t.get(n);if(typeof i==="undefined"){i=e.call(this,r);t.set(n,i)}return i}function Ae(e,t,a){var r=Array.prototype.slice.call(arguments,3);var n=a(r);var i=t.get(n);if(typeof i==="undefined"){i=e.apply(this,r);t.set(n,i)}return i}function Ie(e,t,a,r,n){return a.bind(t,e,r,n)}function Se(e,t){var a=e.length===1?Te:Ae;return Ie(e,this,a,t.cache.create(),t.serializer)}function Re(e,t){return Ie(e,this,Ae,t.cache.create(),t.serializer)}function we(e,t){return Ie(e,this,Te,t.cache.create(),t.serializer)}var Ne=function(){return JSON.stringify(arguments)};function Be(){this.cache=Object.create(null)}Be.prototype.get=function(e){return this.cache[e]};Be.prototype.set=function(e,t){this.cache[e]=t};var Le={create:function e(){return new Be}};var He={variadic:Re,monadic:we};var _e;(function(e){e["MISSING_VALUE"]="MISSING_VALUE";e["INVALID_VALUE"]="INVALID_VALUE";e["MISSING_INTL_API"]="MISSING_INTL_API"})(_e||(_e={}));var Pe=function(e){o(t,e);function t(t,a,r){var n=e.call(this,t)||this;n.code=a;n.originalMessage=r;return n}t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};return t}(Error);var Me=function(e){o(t,e);function t(t,a,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(r).join('", "'),'"'),_e.INVALID_VALUE,n)||this}return t}(Pe);var Oe=function(e){o(t,e);function t(t,a,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),_e.INVALID_VALUE,r)||this}return t}(Pe);var Ce=function(e){o(t,e);function t(t,a){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(a,'"'),_e.MISSING_VALUE,a)||this}return t}(Pe);var Ue;(function(e){e[e["literal"]=0]="literal";e[e["object"]=1]="object"})(Ue||(Ue={}));function xe(e){if(e.length<2){return e}return e.reduce((function(e,t){var a=e[e.length-1];if(!a||a.type!==Ue.literal||t.type!==Ue.literal){e.push(t)}else{a.value+=t.value}return e}),[])}function Fe(e){return typeof e==="function"}function De(e,t,a,r,n,i,l){if(e.length===1&&h(e[0])){return[{type:Ue.literal,value:e[0].value}]}var o=[];for(var u=0,s=e;u<s.length;u++){var p=s[u];if(h(p)){o.push({type:Ue.literal,value:p.value});continue}if(E(p)){if(typeof i==="number"){o.push({type:Ue.literal,value:a.getNumberFormat(t).format(i)})}continue}var c=p.value;if(!(n&&c in n)){throw new Ce(c,l)}var y=n[c];if(v(p)){if(!y||typeof y==="string"||typeof y==="number"){y=typeof y==="string"||typeof y==="number"?String(y):""}o.push({type:typeof y==="string"?Ue.literal:Ue.object,value:y});continue}if(f(p)){var S=typeof p.style==="string"?r.date[p.style]:I(p.style)?p.style.parsedOptions:undefined;o.push({type:Ue.literal,value:a.getDateTimeFormat(t,S).format(y)});continue}if(m(p)){var S=typeof p.style==="string"?r.time[p.style]:I(p.style)?p.style.parsedOptions:r.time.medium;o.push({type:Ue.literal,value:a.getDateTimeFormat(t,S).format(y)});continue}if(d(p)){var S=typeof p.style==="string"?r.number[p.style]:A(p.style)?p.style.parsedOptions:undefined;if(S&&S.scale){y=y*(S.scale||1)}o.push({type:Ue.literal,value:a.getNumberFormat(t,S).format(y)});continue}if(T(p)){var R=p.children,w=p.value;var N=n[w];if(!Fe(N)){throw new Oe(w,"function",l)}var B=De(R,t,a,r,n,i);var L=N(B.map((function(e){return e.value})));if(!Array.isArray(L)){L=[L]}o.push.apply(o,L.map((function(e){return{type:typeof e==="string"?Ue.literal:Ue.object,value:e}})))}if(g(p)){var H=p.options[y]||p.options.other;if(!H){throw new Me(p.value,y,Object.keys(p.options),l)}o.push.apply(o,De(H.value,t,a,r,n));continue}if(b(p)){var H=p.options["=".concat(y)];if(!H){if(!Intl.PluralRules){throw new Pe('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',_e.MISSING_INTL_API,l)}var _=a.getPluralRules(t,{type:p.pluralType}).select(y-(p.offset||0));H=p.options[_]||p.options.other}if(!H){throw new Me(p.value,y,Object.keys(p.options),l)}o.push.apply(o,De(H.value,t,a,r,n,y-(p.offset||0)));continue}}return xe(o)}function Ge(e,t){if(!t){return e}return u(u(u({},e||{}),t||{}),Object.keys(e).reduce((function(a,r){a[r]=u(u({},e[r]),t[r]||{});return a}),{}))}function ke(e,t){if(!t){return e}return Object.keys(e).reduce((function(a,r){a[r]=Ge(e[r],t[r]);return a}),u({},e))}function je(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function ze(e){if(e===void 0){e={number:{},dateTime:{},pluralRules:{}}}return{getNumberFormat:be((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t,false)))}),{cache:je(e.number),strategy:He.variadic}),getDateTimeFormat:be((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t,false)))}),{cache:je(e.dateTime),strategy:He.variadic}),getPluralRules:be((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t,false)))}),{cache:je(e.pluralRules),strategy:He.variadic})}}var Ve=function(){function e(t,a,r,n){var i=this;if(a===void 0){a=e.defaultLocale}this.formatterCache={number:{},dateTime:{},pluralRules:{}};this.format=function(e){var t=i.formatToParts(e);if(t.length===1){return t[0].value}var a=t.reduce((function(e,t){if(!e.length||t.type!==Ue.literal||typeof e[e.length-1]!=="string"){e.push(t.value)}else{e[e.length-1]+=t.value}return e}),[]);if(a.length<=1){return a[0]||""}return a};this.formatToParts=function(e){return De(i.ast,i.locales,i.formatters,i.formats,e,undefined,i.message)};this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}};this.getAst=function(){return i.ast};this.locales=a;this.resolvedLocale=e.resolveLocale(a);if(typeof t==="string"){this.message=t;if(!e.__parse){throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`")}this.ast=e.__parse(t,{ignoreTag:n===null||n===void 0?void 0:n.ignoreTag,locale:this.resolvedLocale})}else{this.ast=t}if(!Array.isArray(this.ast)){throw new TypeError("A message must be provided as a String or AST.")}this.formats=ke(e.formats,r);this.formatters=n&&n.formatters||ze(this.formatterCache)}Object.defineProperty(e,"defaultLocale",{get:function(){if(!e.memoizedDefaultLocale){e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale}return e.memoizedDefaultLocale},enumerable:false,configurable:true});e.memoizedDefaultLocale=null;e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);if(t.length>0){return new Intl.Locale(t[0])}return new Intl.Locale(typeof e==="string"?e:e[0])};e.__parse=ge;e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};return e}();var qe;(function(e){e["FORMAT_ERROR"]="FORMAT_ERROR";e["UNSUPPORTED_FORMATTER"]="UNSUPPORTED_FORMATTER";e["INVALID_CONFIG"]="INVALID_CONFIG";e["MISSING_DATA"]="MISSING_DATA";e["MISSING_TRANSLATION"]="MISSING_TRANSLATION"})(qe||(qe={}));var We=function(e){o(t,e);function t(a,r,n){var i=this;var l=n?n instanceof Error?n:new Error(String(n)):undefined;i=e.call(this,"[@formatjs/intl Error ".concat(a,"] ").concat(r," \n").concat(l?"\n".concat(l.message,"\n").concat(l.stack):""))||this;i.code=a;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(i,t)}return i}return t}(Error);var Ye=function(e){o(t,e);function t(t,a){return e.call(this,qe.UNSUPPORTED_FORMATTER,t,a)||this}return t}(We);var Xe=function(e){o(t,e);function t(t,a){return e.call(this,qe.INVALID_CONFIG,t,a)||this}return t}(We);var Ke=function(e){o(t,e);function t(t,a){return e.call(this,qe.MISSING_DATA,t,a)||this}return t}(We);var Ze=function(e){o(t,e);function t(t,a,r){return e.call(this,qe.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(a,"\n"),r)||this}return t}(We);var Je=function(e){o(t,e);function t(t,a,r,n){var i=e.call(this,"".concat(t," \nMessageID: ").concat(r===null||r===void 0?void 0:r.id,"\nDefault Message: ").concat(r===null||r===void 0?void 0:r.defaultMessage,"\nDescription: ").concat(r===null||r===void 0?void 0:r.description," \n"),a,n)||this;i.descriptor=r;return i}return t}(Ze);var Qe=function(e){o(t,e);function t(t,a){var r=e.call(this,qe.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(a,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;r.descriptor=t;return r}return t}(We);function $e(e,t,a){if(a===void 0){a={}}return t.reduce((function(t,r){if(r in e){t[r]=e[r]}else if(r in a){t[r]=a[r]}return t}),{})}var et=function(e){};var tt=function(e){};var at={formats:{},messages:{},timeZone:undefined,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:true,onError:et,onWarn:tt};function rt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function nt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function it(e){if(e===void 0){e=rt()}var t=Intl.RelativeTimeFormat;var a=Intl.ListFormat;var r=Intl.DisplayNames;var n=be((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t,false)))}),{cache:nt(e.dateTime),strategy:He.variadic});var i=be((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t,false)))}),{cache:nt(e.number),strategy:He.variadic});var l=be((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t,false)))}),{cache:nt(e.pluralRules),strategy:He.variadic});return{getDateTimeFormat:n,getNumberFormat:i,getMessageFormat:be((function(e,t,a,r){return new Ve(e,t,a,u({formatters:{getNumberFormat:i,getDateTimeFormat:n,getPluralRules:l}},r||{}))}),{cache:nt(e.message),strategy:He.variadic}),getRelativeTimeFormat:be((function(){var e=[];for(var a=0;a<arguments.length;a++){e[a]=arguments[a]}return new(t.bind.apply(t,s([void 0],e,false)))}),{cache:nt(e.relativeTime),strategy:He.variadic}),getPluralRules:l,getListFormat:be((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(a.bind.apply(a,s([void 0],e,false)))}),{cache:nt(e.list),strategy:He.variadic}),getDisplayNames:be((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(r.bind.apply(r,s([void 0],e,false)))}),{cache:nt(e.displayNames),strategy:He.variadic})}}function lt(e,t,a,r){var n=e&&e[t];var i;if(n){i=n[a]}if(i){return i}r(new Ye("No ".concat(t," format named: ").concat(a)))}function ot(e,t,a){if(a===void 0){a=Error}if(!e){throw new a(t)}}function ut(e,t){return Object.keys(e).reduce((function(a,r){a[r]=u({timeZone:t},e[r]);return a}),{})}function st(e,t){var a=Object.keys(u(u({},e),t));return a.reduce((function(a,r){a[r]=u(u({},e[r]||{}),t[r]||{});return a}),{})}function pt(e,t){if(!t){return e}var a=Ve.formats;return u(u(u({},a),e),{date:st(ut(a.date,t),ut(e.date||{},t)),time:st(ut(a.time,t),ut(e.time||{},t))})}function ct(e,t,a,r,n){var i=e.locale,l=e.formats,o=e.messages,s=e.defaultLocale,p=e.defaultFormats,y=e.fallbackOnEmptyString,h=e.onError,v=e.timeZone,d=e.defaultRichTextElements;if(a===void 0){a={id:""}}var f=a.id,m=a.defaultMessage;ot(!!f,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var g=String(f);var b=o&&Object.prototype.hasOwnProperty.call(o,g)&&o[g];if(Array.isArray(b)&&b.length===1&&b[0].type===c.literal){return b[0].value}if(!r&&b&&typeof b==="string"&&!d){return b.replace(/'\{(.*?)\}'/gi,"{$1}")}r=u(u({},d),r||{});l=pt(l,v);p=pt(p,v);if(!b){if(y===false&&b===""){return b}if(!m||i&&i.toLowerCase()!==s.toLowerCase()){h(new Qe(a,i))}if(m){try{var E=t.getMessageFormat(m,s,p,n);return E.format(r)}catch(e){h(new Je('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),i,a,e));return typeof m==="string"?m:g}}return g}try{var E=t.getMessageFormat(b,i,l,u({formatters:t},n||{}));return E.format(r)}catch(e){h(new Je('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),i,a,e))}if(m){try{var E=t.getMessageFormat(m,s,p,n);return E.format(r)}catch(e){h(new Je('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),i,a,e))}}if(typeof b==="string"){return b}if(typeof m==="string"){return m}return g}var yt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function ht(e,t,a,r){var n=e.locale,i=e.formats,l=e.onError,o=e.timeZone;if(r===void 0){r={}}var s=r.format;var p=u(u({},o&&{timeZone:o}),s&<(i,t,s,l));var c=$e(r,yt,p);if(t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle){c=u(u({},c),{hour:"numeric",minute:"numeric"})}return a(n,c)}function vt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],l=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return ht(e,"date",t,l).format(o)}catch(t){e.onError(new We(qe.FORMAT_ERROR,"Error formatting date.",t))}return String(o)}function dt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],l=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return ht(e,"time",t,l).format(o)}catch(t){e.onError(new We(qe.FORMAT_ERROR,"Error formatting time.",t))}return String(o)}function ft(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],l=a[2],o=l===void 0?{}:l;var u=e.timeZone,s=e.locale,p=e.onError;var c=$e(o,yt,u?{timeZone:u}:{});try{return t(s,c).formatRange(n,i)}catch(e){p(new We(qe.FORMAT_ERROR,"Error formatting date time range.",e))}return String(n)}function mt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],l=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return ht(e,"date",t,l).formatToParts(o)}catch(t){e.onError(new We(qe.FORMAT_ERROR,"Error formatting date.",t))}return[]}function gt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var n=a[0],i=a[1],l=i===void 0?{}:i;var o=typeof n==="string"?new Date(n||0):n;try{return ht(e,"time",t,l).formatToParts(o)}catch(t){e.onError(new We(qe.FORMAT_ERROR,"Error formatting time.",t))}return[]}var bt=["localeMatcher","style","type","fallback"];function Et(e,t,a,r){var n=e.locale,i=e.onError;var l=Intl.DisplayNames;if(!l){i(new Pe('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',_e.MISSING_INTL_API))}var o=$e(r,bt);try{return t(n,o).of(a)}catch(e){i(new We(qe.FORMAT_ERROR,"Error formatting display name.",e))}}var Tt=["localeMatcher","type","style"];var At=Date.now();function It(e){return"".concat(At,"_").concat(e,"_").concat(At)}function St(e,t,a,r){if(r===void 0){r={}}var n=Rt(e,t,a,r).reduce((function(e,t){var a=t.value;if(typeof a!=="string"){e.push(a)}else if(typeof e[e.length-1]==="string"){e[e.length-1]+=a}else{e.push(a)}return e}),[]);return n.length===1?n[0]:n}function Rt(e,t,a,r){var n=e.locale,i=e.onError;if(r===void 0){r={}}var l=Intl.ListFormat;if(!l){i(new Pe('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',_e.MISSING_INTL_API))}var o=$e(r,Tt);try{var s={};var p=a.map((function(e,t){if(typeof e==="object"){var a=It(t);s[a]=e;return a}return String(e)}));return t(n,o).formatToParts(p).map((function(e){return e.type==="literal"?e:u(u({},e),{value:s[e.value]||e.value})}))}catch(e){i(new We(qe.FORMAT_ERROR,"Error formatting list.",e))}return a}var wt=["localeMatcher","type"];function Nt(e,t,a,r){var n=e.locale,i=e.onError;if(r===void 0){r={}}if(!Intl.PluralRules){i(new Pe('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',_e.MISSING_INTL_API))}var l=$e(r,wt);try{return t(n,l).select(a)}catch(e){i(new Ze("Error formatting plural.",n,e))}return"other"}var Bt=["numeric","style"];function Lt(e,t,a){var r=e.locale,n=e.formats,i=e.onError;if(a===void 0){a={}}var l=a.format;var o=!!l&<(n,"relative",l,i)||{};var u=$e(a,Bt,o);return t(r,u)}function Ht(e,t,a,r,n){if(n===void 0){n={}}if(!r){r="second"}var i=Intl.RelativeTimeFormat;if(!i){e.onError(new Pe('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',_e.MISSING_INTL_API))}try{return Lt(e,t,n).format(a,r)}catch(t){e.onError(new Ze("Error formatting relative time.",e.locale,t))}return String(a)}var _t=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Pt(e,t,a){var r=e.locale,n=e.formats,i=e.onError;if(a===void 0){a={}}var l=a.format;var o=l&<(n,"number",l,i)||{};var u=$e(a,_t,o);return t(r,u)}function Mt(e,t,a,r){if(r===void 0){r={}}try{return Pt(e,t,r).format(a)}catch(t){e.onError(new We(qe.FORMAT_ERROR,"Error formatting number.",t))}return String(a)}function Ot(e,t,a,r){if(r===void 0){r={}}try{return Pt(e,t,r).formatToParts(a)}catch(t){e.onError(new We(qe.FORMAT_ERROR,"Error formatting number.",t))}return[]}function Ct(e){var t=e?e[Object.keys(e)[0]]:undefined;return typeof t==="string"}function Ut(e){if(e.onWarn&&e.defaultRichTextElements&&Ct(e.messages||{})){e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}}function xt(e,t){var a=it(t);var r=u(u({},at),e);var n=r.locale,i=r.defaultLocale,l=r.onError;if(!n){if(l){l(new Xe('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')))}r.locale=r.defaultLocale||"en"}else if(!Intl.NumberFormat.supportedLocalesOf(n).length&&l){l(new Ke('Missing locale data for locale: "'.concat(n,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}else if(!Intl.DateTimeFormat.supportedLocalesOf(n).length&&l){l(new Ke('Missing locale data for locale: "'.concat(n,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}Ut(r);return u(u({},r),{formatters:a,formatNumber:Mt.bind(null,r,a.getNumberFormat),formatNumberToParts:Ot.bind(null,r,a.getNumberFormat),formatRelativeTime:Ht.bind(null,r,a.getRelativeTimeFormat),formatDate:vt.bind(null,r,a.getDateTimeFormat),formatDateToParts:mt.bind(null,r,a.getDateTimeFormat),formatTime:dt.bind(null,r,a.getDateTimeFormat),formatDateTimeRange:ft.bind(null,r,a.getDateTimeFormat),formatTimeToParts:gt.bind(null,r,a.getDateTimeFormat),formatPlural:Nt.bind(null,r,a.getPluralRules),formatMessage:ct.bind(null,r,a),$t:ct.bind(null,r,a),formatList:St.bind(null,r,a.getListFormat),formatListToParts:Rt.bind(null,r,a.getListFormat),formatDisplayName:Et.bind(null,r,a.getDisplayNames)})}var Ft="en";function Dt(){var e=document.documentElement.getAttribute("lang");if(!!e){return e}else if(window.navigator&&window.navigator.language){var t=window.navigator.languages?window.navigator.languages[0]:window.navigator.language;return t.slice(0,2)}else{return Ft}}var Gt=rt();var kt=Dt();var jt=e("i",xt({locale:kt,defaultLocale:"en",messages:i[kt]||t},Gt));function zt(){return"wmcl-"+Math.random().toString(36).substr(2,10)}function Vt(e,t){var a;var r=false;return function(){var n=this;if(!r){e.apply(n,arguments);r=true;clearTimeout(a);a=setTimeout((function(){r=false}),t)}}}function qt(e,t){var a;return function(){var r=this;var n=function(){return e.apply(r,arguments)};clearTimeout(a);a=setTimeout(n,t)}}function Wt(){var e=document.querySelector("html").getAttribute("dir");return e?e.toLowerCase():""}function Yt(e){var t=e.getBoundingClientRect();var a=t.x;var r=t.y;if(!a){if(Wt()==="rtl"){a=t.right}else{a=t.left}r=t.top}return{x:a,y:r}}function Xt(e){while(!!e){if(e.scrollHeight>e.clientHeight&&["scroll","auto"].includes(window.getComputedStyle(e).overflowY)){return e}e=e.parentElement}}function Kt(e){while(!!e){if(window.getComputedStyle(e).overflowY!=="visible"){return e}e=e.parentElement}}function Zt(e,t){var a=Kt(e);return{closableElHeight:t.clientHeight,closableElWidth:t.clientWidth,spaceAbove:a?e.getBoundingClientRect().top-a.getBoundingClientRect().top:e.getBoundingClientRect().top,spaceBelow:a?a.getBoundingClientRect().bottom-e.getBoundingClientRect().bottom:document.documentElement.clientHeight-e.getBoundingClientRect().bottom,spaceLeft:a?e.getBoundingClientRect().left-a.getBoundingClientRect().left:e.getBoundingClientRect().left,spaceRight:a?a.getBoundingClientRect().right-e.getBoundingClientRect().right:document.documentElement.clientWidth-e.getBoundingClientRect().right}}function Jt(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var n=Zt(e,t),i=n.closableElHeight,l=n.spaceAbove,o=n.spaceBelow;var u=i>o+r&&i<=l+a;return u}function Qt(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var n=Zt(e,t),i=n.closableElHeight,l=n.spaceAbove,o=n.spaceBelow;var u=i>l+a&&i<=o+r;return u}function $t(e,t){var a=Zt(e,t),r=a.closableElWidth,n=a.spaceLeft,i=a.spaceRight;var l=r>n&&i>n;return l}function ea(e,t){var a=Zt(e,t),r=a.closableElWidth,n=a.spaceLeft,i=a.spaceRight;var l=r>i&&n>i;return l}function ta(e,t,a){var r=Zt(t,a),n=r.spaceLeft,i=r.spaceRight,l=r.spaceBelow,o=r.spaceAbove;var u=a.getBoundingClientRect().width;var s=a.getBoundingClientRect().height;var p=o>s;var c=l>s;var y=n-24>u;var h=i-24>u;var v=function(e){return!p?e.replace("top","bottom"):e};var d=function(e){return!c&&p?e.replace("bottom","top"):e};var f=function(e,t){if(!y&&h){e=e.replace("left","right")}else if(!y&&!h){e=t}return e};var m=function(e,t){if(!h&&y){e=e.replace("right","left")}else if(!h&&!y){e=t}return e};switch(e){case"left":e=f(e,"bottom");case"right":e=m(e,"bottom");case"top-left":e=f(e,"top");e=v(e);case"top-right":e=m(e,"top");e=v(e);case"bottom-left":e=f(e,"bottom");e=d(e);case"bottom-right":e=m(e,"bottom");e=d(e);case"top":e=v(e);case"bottom":e=d(e)}return e}function aa(e,t){var a=0;if(e.type==="click"){a=e.clientX}else if(e.type==="focus"){a=0}else{var r=e;while(r){if(r.tagName=="BODY"){var n=r.scrollLeft||document.documentElement.scrollLeft;a+=r.offsetLeft-n+r.clientLeft}else{a+=r.offsetLeft-r.scrollLeft+r.clientLeft}r=r.offsetParent}}return window.innerWidth-a>=t}function ra(e){while(e&&e.shadowRoot){e=e.shadowRoot.activeElement}return e}function na(e){var t=["button","a","input","select","textarea","wm-button","wm-search","wm-select","wm-action-menu","wm-tab-item","wm-datepicker"];var a=e;t.forEach((function(e){if(a&&a.shadowRoot){var t=a.shadowRoot.querySelector(e);if(t){if(e.startsWith("wm-")){a=na(t)}else{a=t}}}}));return a}function ia(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null){return true}if(e.disabled){return false}switch(e.nodeName){case"A":return!!e.href&&e.rel!="ignore";case"INPUT":return e.type!="hidden"&&e.type!="file";case"BUTTON":case"SELECT":case"TEXTAREA":case"WM-BUTTON":case"WM-SELECT":case"WM-ACTION-MENU":case"WM-DATEPICKER":case"WM-TIMEPICKER":case"WM-INPUT":case"WM-TAG-INPUT":case"WM-TAB-ITEM":case"WM-SEARCH":return true;default:return false}}function la(e){if(ia(e)){return na(e)}else if(e.childNodes.length>0){e.childNodes.forEach((function(e){var t=la(e);return t&&na(t)}))}}function oa(e,t){var a=t.split(" ");var r=e.name&&e.name.split(".");var n=r&&r.length>1&&r[r.length-1];return n?a.includes(n.toLowerCase()):!!e.type?ua(a).includes(e.type):true}function ua(e){var t={aac:["audio/aac"],abw:["application/x-abiword"],arc:["application/x-freearc"],avi:["video/x-msvideo"],azw:["application/vnd.amazon.ebook"],bin:["application/octet-stream"],bmp:["image/bmp"],bz:["application/x-bzip"],bz2:["application/x-bzip2"],csh:["application/x-csh"],css:["text/css"],csv:["text/csv"],doc:["application/msword"],docx:["application/vnd.openxmlformats-officedocument.wordprocessingml.document"],eot:["application/vnd.ms-fontobject"],epub:["application/epub+zip"],gz:["application/gzip"],gif:["image/gif"],htm:["text/html"],html:["text/html"],ico:["image/vnd.microsoft.icon"],ics:["text/calendar"],jar:["application/java-archive"],jpeg:["image/jpeg"],jpg:["image/jpeg"],js:["text/javascript"],json:["application/json"],jsonld:["application/ld+json"],log:["text/plain"],mid:["audio/x-midi"],midi:["audio/x-midi"],mjs:["text/javascript"],mp3:["audio/mpeg"],mpeg:["video/mpeg"],mpkg:["application/vnd.apple.installer+xml"],odp:["application/vnd.oasis.opendocument.presentation"],ods:["application/vnd.oasis.opendocument.spreadsheet"],odt:["application/vnd.oasis.opendocument.text"],oga:["audio/ogg"],ogv:["video/ogg"],ogx:["application/ogg"],opus:["audio/opus"],otf:["font/otf"],png:["image/png"],pdf:["application/pdf"],php:["application/php"],ppt:["application/vnd.ms-powerpoint"],pptx:["application/vnd.openxmlformats-officedocument.presentationml.presentation"],rar:["application/vnd.rar","application/x-rar","application/x-rar-compressed"],rtf:["application/rtf"],sh:["application/x-sh"],svg:["image/svg+xml"],swf:["application/x-shockwave-flash"],tar:["application/x-tar"],tif:["image/tiff"],tiff:["image/tiff"],ts:["video/mp2t"],ttf:["font/ttf"],txt:["text/plain"],vsd:["application/vnd.visio"],wav:["audio/wav"],weba:["audio/webm"],webm:["video/webm"],webp:["image/webp"],woff:["font/woff"],woff2:["font/woff2"],xhtml:["application/xhtml+xml"],xls:["application/vnd.ms-excel"],xlsx:["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],xml:["application/xml","text/xml"],xul:["application/vnd.mozilla.xul+xml"],zip:["application/zip","application/x-zip-compressed","multipart/x-zip"],"3gp":["video/3gpp","audio/3gpp"],"3g2":["video/3gpp2","audio/3gpp2"],"7z":["application/x-7z-compressed"]};return e.reduce((function(e,a){return e.concat(t[a])}),[])}function sa(e){var t=/^([a-z0-9]*)(_[a-z0-9]*)*$/g;if(t.test(e)){var a="";var r=e.split("_");r.forEach((function(e,t){a+=t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1)}));return a}else{return e}}function pa(e,t,a){var r=e;if(t==="ArrowDown"){r=(e+1)%a}if(t==="ArrowUp"){r=e===0?a-1:e-1}return r}function ca(e,t){var a=t.split(" ");return e.relatedTarget&&a.includes(e.relatedTarget.id)}function ya(e){return e=="false"?false:!!e}}}}));
|