@watermarkinsights/ripple 5.16.0-alpha.11 → 5.16.0-alpha.13
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/dist/cjs/{app-globals-DRIUP2B4.js → app-globals-9NXIHgu3.js} +1 -1
- package/dist/cjs/{chartFunctions-D441_SCy.js → chartFunctions-DFMB7Bjs.js} +1 -1
- package/dist/cjs/{index-bkpjhWBk.js → index-H4E3eeKZ.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +1 -1
- package/dist/cjs/priv-chart-popover.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/wm-button.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +2 -2
- package/dist/cjs/wm-date-range.cjs.entry.js +1 -1
- package/dist/cjs/wm-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +1 -1
- package/dist/cjs/wm-modal_3.cjs.entry.js +1 -1
- package/dist/cjs/wm-navigation_3.cjs.entry.js +1 -1
- package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
- package/dist/cjs/wm-nested-select.cjs.entry.js +1 -1
- package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +1 -1
- package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +1 -1
- package/dist/cjs/wm-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +1 -1
- package/dist/cjs/wm-tag-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/wm-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/wm-uploader.cjs.entry.js +8 -5
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
- package/dist/collection/components/wm-uploader/wm-uploader.css +1 -0
- package/dist/collection/components/wm-uploader/wm-uploader.js +6 -3
- package/dist/esm/{app-globals-C7MKvxOg.js → app-globals-BNPUkoUt.js} +1 -1
- package/dist/esm/{chartFunctions-D1WRRNPk.js → chartFunctions-BLjGh_yo.js} +1 -1
- package/dist/esm/{index-BmU89qgm.js → index-C-E-By4e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/priv-calendar.entry.js +1 -1
- package/dist/esm/priv-chart-popover.entry.js +1 -1
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +3 -3
- package/dist/esm/wm-action-menu_2.entry.js +1 -1
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-chart-slice.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +2 -2
- package/dist/esm/wm-date-range.entry.js +1 -1
- package/dist/esm/wm-datepicker.entry.js +1 -1
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +1 -1
- package/dist/esm/wm-input.entry.js +1 -1
- package/dist/esm/wm-line-chart.entry.js +2 -2
- package/dist/esm/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm/wm-modal_3.entry.js +1 -1
- package/dist/esm/wm-navigation_3.entry.js +1 -1
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +1 -1
- package/dist/esm/wm-optgroup.entry.js +1 -1
- package/dist/esm/wm-option_2.entry.js +1 -1
- package/dist/esm/wm-pagination.entry.js +1 -1
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +1 -1
- package/dist/esm/wm-snackbar.entry.js +1 -1
- package/dist/esm/wm-tab-item_3.entry.js +1 -1
- package/dist/esm/wm-tag-input.entry.js +1 -1
- package/dist/esm/wm-tag-option.entry.js +1 -1
- package/dist/esm/wm-textarea.entry.js +1 -1
- package/dist/esm/wm-timepicker.entry.js +1 -1
- package/dist/esm/wm-toggletip.entry.js +1 -1
- package/dist/esm/wm-uploader.entry.js +8 -5
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-BNPUkoUt.js +1 -0
- package/dist/esm-es5/{chartFunctions-D1WRRNPk.js → chartFunctions-BLjGh_yo.js} +1 -1
- package/dist/esm-es5/{index-BmU89qgm.js → index-C-E-By4e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.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-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.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-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.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-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.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/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/ripple/{p-fe71211e.system.entry.js → p-0327a2c8.system.entry.js} +1 -1
- package/dist/ripple/{p-ee8649b3.system.entry.js → p-089abdfc.system.entry.js} +1 -1
- package/dist/ripple/{p-a1f70a0a.system.entry.js → p-17c731d6.system.entry.js} +1 -1
- package/dist/ripple/{p-f47bacb5.entry.js → p-19865407.entry.js} +1 -1
- package/dist/ripple/{p-3d83fdec.system.entry.js → p-1ca43593.system.entry.js} +1 -1
- package/dist/ripple/{p-819382b4.entry.js → p-1ccf6d7c.entry.js} +1 -1
- package/dist/ripple/{p-9a9e1d00.entry.js → p-2021c4f7.entry.js} +1 -1
- package/dist/ripple/{p-4adda78c.entry.js → p-2be4ae61.entry.js} +1 -1
- package/dist/ripple/{p-24a498ec.system.entry.js → p-36b4df18.system.entry.js} +1 -1
- package/dist/ripple/{p-5bb7a993.entry.js → p-37f4622f.entry.js} +1 -1
- package/dist/ripple/{p-d1651848.entry.js → p-385147aa.entry.js} +1 -1
- package/dist/ripple/{p-cc9752df.system.entry.js → p-3b7bf277.system.entry.js} +1 -1
- package/dist/ripple/{p-35f0c155.system.entry.js → p-3d0c35c9.system.entry.js} +1 -1
- package/dist/ripple/p-3f4274a3.entry.js +1 -0
- package/dist/ripple/{p-f4a19c56.system.entry.js → p-40f123ee.system.entry.js} +1 -1
- package/dist/ripple/{p-cca5dd54.entry.js → p-41d8be2e.entry.js} +1 -1
- package/dist/ripple/{p-12e14668.entry.js → p-45ab6c4a.entry.js} +1 -1
- package/dist/ripple/{p-582e730d.system.entry.js → p-478e5069.system.entry.js} +1 -1
- package/dist/ripple/{p-514af1a7.system.entry.js → p-484c87d1.system.entry.js} +1 -1
- package/dist/ripple/{p-5ecfe800.entry.js → p-4af98b35.entry.js} +1 -1
- package/dist/ripple/{p-07cb5512.system.entry.js → p-4afb057b.system.entry.js} +1 -1
- package/dist/ripple/{p-62520534.entry.js → p-4d32daeb.entry.js} +1 -1
- package/dist/ripple/{p-9e353b52.entry.js → p-4eb6930b.entry.js} +1 -1
- package/dist/ripple/{p-72c247fb.system.entry.js → p-540de835.system.entry.js} +1 -1
- package/dist/ripple/{p-d83f36af.system.entry.js → p-57885083.system.entry.js} +1 -1
- package/dist/ripple/{p-c889749f.system.entry.js → p-5884f2af.system.entry.js} +1 -1
- package/dist/ripple/{p-5aeb9091.system.entry.js → p-5cc69165.system.entry.js} +1 -1
- package/dist/ripple/{p-423931b7.entry.js → p-5d2348b6.entry.js} +1 -1
- package/dist/ripple/{p-64a308de.system.entry.js → p-62f475c1.system.entry.js} +1 -1
- package/dist/ripple/{p-bda8ce77.system.entry.js → p-63dd7bb4.system.entry.js} +1 -1
- package/dist/ripple/{p-c12eb0fa.system.entry.js → p-6589b394.system.entry.js} +1 -1
- package/dist/ripple/{p-24857d09.entry.js → p-68d8df0f.entry.js} +1 -1
- package/dist/ripple/{p-29eb4cc7.entry.js → p-6aa3d014.entry.js} +1 -1
- package/dist/ripple/{p-6ed1a615.system.entry.js → p-6c066023.system.entry.js} +1 -1
- package/dist/ripple/{p-98c7683b.system.entry.js → p-6ed6019f.system.entry.js} +1 -1
- package/dist/ripple/{p-5975c901.system.entry.js → p-70c8d4f4.system.entry.js} +1 -1
- package/dist/ripple/{p-00cec2a0.system.entry.js → p-72c61438.system.entry.js} +1 -1
- package/dist/ripple/{p-c44cbbea.entry.js → p-7309ba5e.entry.js} +1 -1
- package/dist/ripple/{p-f4ad21f8.entry.js → p-76b54b8a.entry.js} +1 -1
- package/dist/ripple/{p-81870134.entry.js → p-795ecc2f.entry.js} +1 -1
- package/dist/ripple/{p-5b523b9f.system.entry.js → p-885a1fdb.system.entry.js} +1 -1
- package/dist/ripple/{p-2f04ea70.entry.js → p-8ab6b775.entry.js} +1 -1
- package/dist/ripple/{p-19f43d88.entry.js → p-8af9a491.entry.js} +1 -1
- package/dist/ripple/{p-628dfdaf.system.entry.js → p-8d315da3.system.entry.js} +1 -1
- package/dist/ripple/{p-c72b5e55.system.entry.js → p-90052a7f.system.entry.js} +1 -1
- package/dist/ripple/{p-64f555f9.entry.js → p-911907c5.entry.js} +1 -1
- package/dist/ripple/{p-9635519f.entry.js → p-936bee47.entry.js} +1 -1
- package/dist/ripple/{p-e0a1a76d.system.entry.js → p-983ab2ad.system.entry.js} +1 -1
- package/dist/ripple/{p-f073981c.entry.js → p-9d0ca16a.entry.js} +1 -1
- package/dist/ripple/{p-Dd2F6qzY.system.js → p-B5BgystP.system.js} +1 -1
- package/dist/ripple/p-BDF61j7P.system.js +1 -0
- package/dist/ripple/{p-B7qucsb3.system.js → p-BUP1pADI.system.js} +1 -1
- package/dist/ripple/{p-D1BYKagG.js → p-Bc1r16wF.js} +1 -1
- package/dist/ripple/{p-BmU89qgm.js → p-C-E-By4e.js} +1 -1
- package/dist/ripple/p-C4CRgsL9.js +1 -0
- package/dist/ripple/{p-CLQInGS5.system.js → p-D0eZSvEu.system.js} +1 -1
- package/dist/ripple/{p-65058356.system.entry.js → p-a60e886d.system.entry.js} +1 -1
- package/dist/ripple/{p-f5ca18bb.entry.js → p-a82d08f1.entry.js} +1 -1
- package/dist/ripple/{p-9223a1bf.system.entry.js → p-a91703be.system.entry.js} +1 -1
- package/dist/ripple/{p-cb5c1920.entry.js → p-ab05d1f0.entry.js} +1 -1
- package/dist/ripple/{p-a0add2dd.entry.js → p-ab2a734d.entry.js} +1 -1
- package/dist/ripple/{p-65c38f2b.entry.js → p-acca480e.entry.js} +1 -1
- package/dist/ripple/{p-08b265a2.entry.js → p-ae00335a.entry.js} +1 -1
- package/dist/ripple/{p-ec6e0106.system.entry.js → p-b125c946.system.entry.js} +1 -1
- package/dist/ripple/{p-59030f63.entry.js → p-b18d9709.entry.js} +1 -1
- package/dist/ripple/{p-2269f7f7.system.entry.js → p-c5688577.system.entry.js} +1 -1
- package/dist/ripple/{p-44004383.entry.js → p-cb32b5f5.entry.js} +1 -1
- package/dist/ripple/{p-2a85a48c.system.entry.js → p-cb40a99a.system.entry.js} +1 -1
- package/dist/ripple/{p-0fce4df8.system.entry.js → p-cd9f7986.system.entry.js} +1 -1
- package/dist/ripple/{p-d14aedd7.entry.js → p-cfe55c87.entry.js} +1 -1
- package/dist/ripple/{p-120c9c9c.entry.js → p-d276f67c.entry.js} +1 -1
- package/dist/ripple/{p-9a5a577a.entry.js → p-d5f04a3c.entry.js} +1 -1
- package/dist/ripple/{p-6650bcad.entry.js → p-d998d931.entry.js} +1 -1
- package/dist/ripple/{p-a8eff037.system.entry.js → p-e527d2c6.system.entry.js} +1 -1
- package/dist/ripple/{p-5a10db87.system.entry.js → p-e9b4a77a.system.entry.js} +1 -1
- package/dist/ripple/{p-e01688df.system.entry.js → p-f2ad44e2.system.entry.js} +1 -1
- package/dist/ripple/{p-81245443.entry.js → p-f7065bc8.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-C7MKvxOg.js +0 -1
- package/dist/ripple/p-BRUS9KP_.system.js +0 -1
- package/dist/ripple/p-CZkA6XrR.js +0 -1
- package/dist/ripple/p-ac310358.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as globalFn}from"./index-C-E-By4e.js";var globalScripts=globalFn;export{globalScripts as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function o(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?r(e.value):i(e.value).then(s,o)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(o[0]===6&&r.label<a[1]){r.label=a[1];a=o;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(o);break}if(a[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};import{h}from"./index-BmU89qgm.js";import{i as intl,s as safeMultiplyFloat,c as checkForActiveElInShadow,a as getPosition}from"./functions-DT2ztGYg.js";var colors={salmon:"#ff5f4e",cyan:"#19a1a9",forest:"#088000",midnight:"#2e1b46",lavender:"#8b86ca",periwinkle:"#575195",gray:"#6b6b6b"};var allChartsDetails={doughnut:{size:155,colors:[colors.forest,colors.gray],thickness:.73,padding:25,category:"doughnut"},doughnut1:{size:130,colors:[colors.lavender,colors.midnight,colors.gray],thickness:.5,padding:90,category:"doughnut"},doughnut2:{size:130,colors:[colors.periwinkle,colors.cyan,colors.midnight,colors.salmon,colors.gray],thickness:.5,padding:90,category:"doughnut"},doughnut3:{size:130,colors:[colors.lavender,colors.midnight,"#0089e4",colors.forest,"#ea8500","#d54f41","#146ca9"],thickness:.5,padding:90,category:"doughnut"},bar:{size:350,colors:[colors.forest,colors.gray],padding:0,category:"stackedBar"},bar2:{size:400,colors:[colors.gray,colors.lavender,colors.periwinkle,colors.midnight,colors.cyan,colors.salmon],padding:0,category:"stackedBar"},bar3:{size:300,colors:["#0d696e",colors.cyan,"#8e4129",colors.salmon],padding:0,category:"stackedBar"},bar4:{size:400,colors:[colors.salmon,colors.cyan,colors.periwinkle],padding:0,category:"stackedBar"},bar5:{size:400,colors:[colors.gray,colors.lavender,colors.midnight,"#0089e4",colors.forest,"#ea8500","#d54f41","#146ca9"],padding:0,category:"stackedBar"},bar6:{size:400,colors:[colors.lavender],padding:0,category:"simpleBar"},bar7:{size:400,colors:[colors.periwinkle,colors.cyan,colors.salmon,colors.gray],padding:0,category:"simpleBar"}};function showValue(e){return e==="percentage"||e==="amount"?"show-values":""}var textHiddenMessage=intl.formatMessage({id:"chart.hiddenValues",defaultMessage:"Values are hidden when too close together.",description:"Text displayed when a chart has some values hidden"});var seeDetailsMessage=intl.formatMessage({id:"chart.clickToSeeDetails",defaultMessage:"Click or use arrow keys to see details.",description:"Text displayed, guiding user to interact to see more details."});function abbrNumber(e){return e>999||e<-999?Math.round(e/100)/10+"K":e}function amountToPercent(e,t,r){return r?Math.round(e*100/t):Math.round(e*1e4/t)/100}function amountToDegree(e,t){return e*360/t}function toFixed(e){return parseFloat((Math.floor(e*100)/100).toFixed(2))}function polarToCartesian(e,t,r,n){var i=toFixed(e+e*t*Math.cos(Math.PI*r/180));var a=toFixed(e+e*t*Math.sin(Math.PI*r/180));if(n!==undefined){var s=toFixed(e+e*t*Math.cos(Math.PI*n/180));var o=toFixed(e+e*t*Math.sin(Math.PI*n/180));return{x1:i,y1:a,x2:s,y2:o}}return{x:i,y:a}}function getArc(e,t,r,n,i){var a=toFixed(i/2*e);return"A ".concat(a,", ").concat(a," 0 ").concat(t," ").concat(toFixed(r),", ").concat(toFixed(n))}function scale(e,t,r,n,i){var a=(e-t)*(i-n)/(r-t)+n;return a<n?n:a>i?i:a}function minSpacing(e){return scale(e,300,900,70,150)}function getMaxTicks(e){return Math.round(e/minSpacing(e))}function getInterval(e,t){var r=e/t;var n=Math.pow(10,Math.floor(Math.log10(r)));var i=r/n;var a;if(i>5){a=10*n}else if(i>3){a=5*n}else if(i>2){a=3*n}else if(i>1.5){a=2*n}else if(i>1){a=1.5*n}else{a=n}return a}function handleSliceKeyDown(e){if(this.popoverEl&&this.popoverEl.open&&e.key==="Enter"){var t=this.popoverEl.querySelector("button");t&&t.click()}}function handleSliceClick(e,t){if(this.popoverEl&&!this.isTabbing){t.coords={x:e.clientX,y:e.clientY};openPopover(this.popoverEl,t);highlightSegmentInfo(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),t)}}function handleSliceFocus(e,t){if(this.popoverEl&&this.isTabbing){this.focusedSliceId=t.id;t.coords=getPosition(e.target);t.coords.x=t.coords.x+30;t.coords.y=t.coords.y+30;openPopover(this.popoverEl,t);highlightSegmentInfo(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),t)}}function handleChartKeydown(e){switch(e.key){case"ArrowUp":case"ArrowLeft":e.preventDefault();this.isTabbing=true;focusPrevious.call(this);break;case"ArrowRight":case"ArrowDown":e.preventDefault();this.isTabbing=true;focusNext.call(this);break;case"Tab":exitChart.call(this);break;case"Escape":this.popoverEl.open=false;this.userIsNavigating=false;break}}function openPopover(e,t){e.open=false;if(t.title&&t.text){e.sliceDetails=Object.assign({},t);window.setTimeout((function(){return e.open=true}),30)}}function focusNext(){var e=checkForActiveElInShadow(document.activeElement);var t=(this.sliceEls.indexOf(e)+1)%this.sliceEls.length;focusSlice.call(this,t)}function focusPrevious(){if(this.sliceEls){var e=checkForActiveElInShadow(document.activeElement);var t=this.sliceEls.indexOf(e);if(t===-1){t=0}else if(t===0){t=this.sliceEls.length-1}else{t-=1}focusSlice.call(this,t)}}function focusSlice(e){var t=this;if(this.sliceEls&&this.el){this.userIsNavigating=true;this.componentWrapperEl.tabIndex=-1;this.el.focusable=false;this.sliceEls.map((function(e){e.tabIndex=-1;e.focusable=false}));this.sliceEls[e].tabIndex=0;this.sliceEls[e].focusable=true;this.sliceEls[e].focus();this.focusedSliceId=this.sliceEls[e].id;window.setTimeout((function(){if(t.popoverEl){t.popoverEl.open=true}}),10)}}function exitChart(){var e=this;this.focusedSliceId=undefined;this.sliceEls&&this.sliceEls.map((function(e){e.tabIndex=-1;e.focusable=false}));this.userIsNavigating=false;window.setTimeout((function(){e.componentWrapperEl.tabIndex=0;e.el.focusable=true;if(e.popoverEl){e.popoverEl.open=false}}),100)}function getDetails(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i;var a=this;return __generator(this,(function(s){this.slicesDetails=[];t=0;r=Array.from(this.el.children);this.total=r.reduce((function(e,t){var r=parseInt(t.getAttribute("amount")||"0");return e+r}),0);n=__spreadArray([],allChartsDetails[e].colors,true);if(this.chartType==="bar2"){if(r.length<=5){n.splice(1,1)}if(r.length<=4){n.splice(2,1)}}if(e==="bar3"&&r.length===2){n=[n[1],n[3]]}if(e==="doughnut2"&&r.length<5){n.splice(2,1);if(r.length<4){n.shift()}}if(e==="bar5"&&!this.notStartedColor){n.shift()}i=0;r.forEach((function(r,s){var o=r.getAttribute("amount");if(o==null)return;var c=parseInt(o||"0");var u=amountToPercent(c,a.total,true);var h=s;if(e==="bar6"){h=0}var l={amount:c,visualAmount:c,perc:u,legend:r.getAttribute("legend"),color:n[h]||colors.gray,offset:t,id:"".concat(a.uid,"-").concat(i+1),title:r.getAttribute("popover-title"),text:r.getAttribute("popover-text"),buttonText:r.getAttribute("popover-button-text"),sliceRef:r,inSmallCluster:false,index:i};t+=c;a.slicesDetails.push(l);i++}));return[2]}))}))}function sortSlicesDetails(e,t){var r=__spreadArray([],e,true).sort((function(e,t){return e.amount===t.amount?0:e.amount>t.amount?-1:1}));var n=0;r.filter((function(e){return e.amount>0})).forEach((function(e,i){var a=r[i===0?r.length-1:i-1];var s=r[i===r.length-1?0:i+1];var o=amountToPercent(a.amount,t,true);var c=amountToPercent(s.amount,t,true);var u=e.perc===0?8:5;var h=e.perc<4;var l=o<u;var d=c<u;var f=h&&(l||d);e.inSmallCluster=f;e.offset=n;n+=e.amount}));return r}function getPathData(e,t,r){var n=amountToDegree(t,this.total)-90;var i=e/this.total*360;var a=n+i;var s=i>180?"1 1":"0 1";var o=i>180?"1 0":"0 0";var c=this.chartDetails.size/2;var u=this.chartDetails.thickness;var h=1;var l=r==="doughnut";var d=1.5;var f=l?2.25:3;if(i===360){a-=.01}var v=polarToCartesian(c,h,n+d,a);var g=polarToCartesian(c,u,n+f,a);var p="M ".concat(v.x1,", ").concat(v.y1," ");var m=getArc(h,s,v.x2,v.y2,this.chartDetails.size);var b=" L ".concat(g.x2,", ").concat(g.y2," ");var x=getArc(u,o,g.x1,g.y1,this.chartDetails.size);return p+m+b+x+" z"}function renderInstructionsText(){var e=intl.formatMessage({id:"chart.instructions",defaultMessage:"Use arrow keys to browse elements, press Tab to exit.",description:"For screen readers only, instructions on how to interact with the chart component"});return h("div",{id:"chart-instructions"},e)}function renderFilter(){return h("defs",null,h("filter",{id:"wmHoverDropShadow"},h("feGaussianBlur",{stdDeviation:"3"}),h("feOffset",{result:"offsetblur"}),h("feFlood",{"flood-color":"#333"}),h("feComposite",{operator:"in",in2:"offsetblur"}),h("feMerge",null,h("feMergeNode",null),h("feMergeNode",{in:"SourceGraphic"}))))}function applyMinimumAngle(e,t,r){var n=t.map((function(e){return amountToDegree(e.amount,r)}));var i=n.some((function(t){return t!==0&&t<e}));if(i){var a=n.map((function(t){return t==0?t:Math.max(t,e)}));var s=a.reduce((function(t,r){return t+(r>e&&r!==0?r:0)}),0);var o=a.reduce((function(t,r){return t+(r>e&&r!==0?0:r)}),0);var c=360-o;var u=s-c;var h=u/c;var l=a.map((function(t){return t>e?t-h*t:t==0?0:e}));var d=0;t=t.map((function(e,t){var n=l[t]/360*r;var i=d;d+=n;return Object.assign(Object.assign({},e),{visualAmount:n,offset:i})}))}return t}function renderDoughnut(e){var t=this;var r=this.chartDetails.size+this.chartDetails.padding;var n=e==="doughnut";var i=n?this.slicesDetails:sortSlicesDetails(this.slicesDetails,this.total);i=applyMinimumAngle(7,i,this.total);var a=i[0].amount;var s=amountToPercent(a,this.total,true);if(s===0&&a>0){s="<1%"}else if(s===100&&a<this.total){s=">99%"}else{s=s+"%"}return h("div",{class:"chart-wrapper doughnut-wrapper"},h("svg",{width:r+"px",height:r+"px",id:"graphic-".concat(this.uid),class:"doughnut-svg"},renderFilter(),i.map((function(r){return renderPath.call(t,r,e)})),renderFocusOutline.call(this),n?h("text",{class:"value",x:"50%",y:"50%","font-size":"1.5rem","font-weight":"500","text-anchor":"middle","dominant-baseline":"middle"},s):h("g",{transform:"translate(".concat(this.chartDetails.padding/2,", ").concat(this.chartDetails.padding/2,")"),"text-anchor":"middle","dominant-baseline":"middle"},i.map((function(e){return e.amount>0&&!e.inSmallCluster?renderDoughnutText.call(t,e):""})))))}function highlightSegmentInfo(e,t){e.forEach((function(e){if(e.dataset.segmentindex&&parseInt(e.dataset.segmentindex)!==t.index){e.classList.add("faded")}else{e.classList.remove("faded")}}))}function removeSegmentInfoHighlight(e){e.forEach((function(e){e.classList.remove("faded")}))}function renderPath(e,t){var r=this;var n=amountToPercent(e.amount,this.total,true)+"%";return!isNaN(e.amount)&&h("g",{transform:"translate(".concat(this.chartDetails.padding/2,", ").concat(this.chartDetails.padding/2,")")},h("path",{id:e.id,class:"segment doughnut-segment",fill:e.visualAmount?e.color:"transparent",d:getPathData.call(this,e.visualAmount,e.offset,t),onClick:function(t){return handleSliceClick.call(r,t,e)},onFocus:function(t){return handleSliceFocus.call(r,t,e)},onKeyDown:function(e){return handleSliceKeyDown.call(r,e)},role:"img","aria-label":"".concat(e.legend,", ").concat(n),"data-segmentindex":e.index}))}function renderFocusOutline(){return this.isTabbing?h("g",{transform:"translate(".concat(this.chartDetails.padding/2,", ").concat(this.chartDetails.padding/2,")")},h("use",{tabindex:-1,id:"kfbg1",xlinkHref:"#".concat(this.focusedSliceId)}),h("use",{tabindex:-1,id:"kfstroke",xlinkHref:"#".concat(this.focusedSliceId)}),h("use",{tabindex:-1,id:"kfbg2",xlinkHref:"#".concat(this.focusedSliceId)})):""}function renderDoughnutText(e){var t=amountToDegree(e.offset+e.visualAmount/2,this.total);var r=polarToCartesian(this.chartDetails.size/2,1.4,t-90),n=r.x,i=r.y;var a;if(e.perc===0&&e.amount>0){a="<1%"}else if(e.perc===100&&e.amount<this.total){a=">99%"}else{a=e.perc+"%"}return h("text",{class:"value",x:n+"px",y:i+"px","data-segmentindex":e.index},a)}function renderStackedBar(e){var t=this;var r=e==="bar";var n=this.el.shadowRoot.querySelectorAll(".value");if(n.length>0){requestAnimationFrame((function(){var e=[];var r=4;var i=false;n.forEach((function(t){t.classList.remove("hidden");var n=parseInt(t.dataset.value);if(e.length>0&&n!=0){var a=t.getBoundingClientRect().left-r;e.forEach((function(e){var r=parseInt(e.dataset.value);var s=e.getBoundingClientRect().right>a;if(s){var o=n<r?t:e;o.classList.add("hidden");i=true}}))}if(!t.classList.contains("hidden")&&n>0){e.push(t)}}));(t.isBar||t.isDoughnut)&&t.showHiddenValuesMessage(i)}))}return h("div",{class:"chart-wrapper bar-wrapper"},r?h("div",{class:"single-perc"},amountToPercent(this.slicesDetails[0].amount,this.total,true)+"%"):"",this.chartType==="bar3"&&this.drawAxis(),h("div",{class:"inner-stacked-bar-wrapper ".concat(showValue(this.valueFormat))},!r?h("div",{class:"values ".concat(this.valueFormat)},this.slicesDetails.map((function(e){return t.renderBarText(e,5)}))):"",h("div",{class:"stacked-bar-segments-wrapper"},this.slicesDetails.map((function(e){return renderStackedBarSegment.call(t,e,5)}))),r?renderCompletionMessage.call(this):""),this.chartType==="bar3"?h("div",{class:"bar3-axis-label","aria-hidden":"true"},h("span",null,"0%"),h("span",null,"100%")):"")}function renderStackedBarSegment(e,t){var r=this;var n=amountToPercent(e.amount,this.total,false);var i=this.el.shadowRoot.querySelector(".stacked-bar-segments-wrapper");var a=i?i.offsetWidth:this.el.offsetWidth;var s=n/100*a>=t;var o=s||e.amount==0?"".concat(n,"%"):"".concat(t,"px");var c="";if(this.valueFormat=="percentage"){c="".concat(amountToPercent(e.amount,this.total,true)," %")}else if(this.valueFormat=="amount"){c=e.amount.toString()}return h("div",{class:"segment stacked-bar-segment ".concat(amountToPercent(e.amount,this.total,false)===0?"zero":""," ").concat(s?"":"fixed-width"),style:{backgroundColor:e.color,width:o},onClick:function(t){return handleSliceClick.call(r,t,e)},onFocus:function(t){return handleSliceFocus.call(r,t,e)},onKeyDown:function(e){return handleSliceKeyDown.call(r,e)},"data-segmentindex":e.index},h("span",{class:"sr-only"},"".concat(e.legend," ").concat(c)))}function renderSimpleBar(e){var t=this;var r=this.slicesDetails.map((function(e){return e.amount})).reduce((function(e,t){return e>t?e:t}));var n=parseInt(getComputedStyle(this.el).getPropertyValue("--labelWidth"),10);var i=48;var a=this.el.getBoundingClientRect().width;var s=a-n-i;var o=getMaxTicks(s);var c=getInterval(r,o);var u=o*c;var l=Math.floor((u-r)/c);o-=l;this.el.style.setProperty("--backgroundSize",100/o+"%");this.el.style.setProperty("--labelWidth",this.labelWidth);if(e==="bar7"&&!this.showBarLegend){this.el.style.setProperty("--labelWidth","0px")}var d=[];this.slicesDetails.forEach((function(n){n.legend&&d.push(renderSimpleBarLegend(n.legend,t.showBarLegend,e));d.push(renderSimpleBarItem.call(t,n,c,o,r))}));var f=[];for(var v=1;v<=o;v++){var g=abbrNumber(safeMultiplyFloat(v,c));f.push(h("div",{class:"tick"},h("span",null,g)))}var p=e==="bar6"&&this.showGrid&&this.el.getBoundingClientRect().width>300;return h("div",{class:"chart-wrapper simple-bar-wrapper"},h("div",{class:"chart ".concat(showValue(this.valueFormat))},p&&h("div",{class:"gridlines"}),h("div",{class:"rows"},d)),p&&h("div",{class:"x-axis","aria-hidden":"true"},h("div",{class:"zero"},h("span",null,"0")),f))}function renderSimpleBarLegend(e,t,r){var n=r==="bar7"&&!t?" hidden":"";return h("label",{class:"label".concat(n)},e)}function renderSimpleBarItem(e,t,r,n){var i=this;var a=this.currentChartType==="bar6"?t*r:n;var s=amountToPercent(e.amount,a,false);var o=s?s+"%":"1px";var c=abbrNumber(e.amount);var u=this.valueFormat==="amount"?c:"";if(this.currentChartType==="bar6"&&this.valueFormat==="percentage"){u=e.amount+"%"}else if(this.currentChartType==="bar7"&&this.valueFormat==="percentage"){u=(this.total===0?"0":amountToPercent(e.amount,this.total,true))+"%"}return h("div",{class:"bar segment",style:{backgroundColor:e.color,width:o},onClick:function(t){return handleSliceClick.call(i,t,e)},onFocus:function(t){return handleSliceFocus.call(i,t,e)},onKeyDown:function(e){return handleSliceKeyDown.call(i,e)},"data-segmentindex":e.index},h("div",{class:"value"},u))}function renderLegend(e){var t=this;if(this.showLegend){var r=this.slicesDetails.reduce((function(e,t){return e=t.inSmallCluster?true:e}),false);this.isDoughnut&&this.showHiddenValuesMessage(r);return h("div",{class:"legend-wrapper"},h("div",{class:"legend ".concat(e," ").concat(this.mode==="bar"?"--top":"--bottom"),"aria-hidden":"true"},this.slicesDetails.map((function(e){var r=t.printModeFormat=="amount"?"".concat(e.amount,"/").concat(t.total):"".concat(amountToPercent(e.amount,t.total,true),"%");if(!!e.amount||!!e.legend){return renderLegendItem.call(t,{key:e.legend,color:e.color},r,e)}}))),this.isDoughnut&&!this.printMode&&renderHiddenValuesMessage())}}function renderLegendItem(e,t,r){var n=this;if(t===void 0){t=""}if(r===void 0){r=null}var i=function(e){if(r){r.coords={x:e.clientX,y:e.clientY};openPopover(n.popoverEl,r);highlightSegmentInfo(Array.from(n.el.shadowRoot.querySelectorAll("[data-segmentindex")),r)}};return h("div",{class:"legend-item",onClick:function(e){return i(e)},"data-segmentindex":r?r.index:null},h("div",{class:"legend-color",style:{backgroundColor:e.color}}),h("div",{class:"legend-text"},e.key,t&&h("span",{class:"print-value ".concat(this.printMode?"force-visible":"")},": ",t)))}function renderCompletionMessage(){if(this.completionMessage){return h("div",{class:"completion-message"},this.completionMessage)}}function renderHiddenValuesMessage(){return h("div",{class:"hidden-values-warning hidden"},textHiddenMessage,h("br",null),seeDetailsMessage)}export{allChartsDetails as a,amountToPercent as b,renderSimpleBar as c,renderStackedBar as d,renderDoughnut as e,renderInstructionsText as f,getDetails as g,handleChartKeydown as h,renderLegend as i,renderHiddenValuesMessage as j,exitChart as k,getInterval as l,abbrNumber as m,renderCompletionMessage as n,renderLegendItem as o,removeSegmentInfoHighlight as r};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function s(e){try{c(n.next(e))}catch(e){a(e)}}function o(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?r(e.value):i(e.value).then(s,o)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(o[0]===6&&r.label<a[1]){r.label=a[1];a=o;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(o);break}if(a[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};import{h}from"./index-C-E-By4e.js";import{i as intl,s as safeMultiplyFloat,c as checkForActiveElInShadow,a as getPosition}from"./functions-DT2ztGYg.js";var colors={salmon:"#ff5f4e",cyan:"#19a1a9",forest:"#088000",midnight:"#2e1b46",lavender:"#8b86ca",periwinkle:"#575195",gray:"#6b6b6b"};var allChartsDetails={doughnut:{size:155,colors:[colors.forest,colors.gray],thickness:.73,padding:25,category:"doughnut"},doughnut1:{size:130,colors:[colors.lavender,colors.midnight,colors.gray],thickness:.5,padding:90,category:"doughnut"},doughnut2:{size:130,colors:[colors.periwinkle,colors.cyan,colors.midnight,colors.salmon,colors.gray],thickness:.5,padding:90,category:"doughnut"},doughnut3:{size:130,colors:[colors.lavender,colors.midnight,"#0089e4",colors.forest,"#ea8500","#d54f41","#146ca9"],thickness:.5,padding:90,category:"doughnut"},bar:{size:350,colors:[colors.forest,colors.gray],padding:0,category:"stackedBar"},bar2:{size:400,colors:[colors.gray,colors.lavender,colors.periwinkle,colors.midnight,colors.cyan,colors.salmon],padding:0,category:"stackedBar"},bar3:{size:300,colors:["#0d696e",colors.cyan,"#8e4129",colors.salmon],padding:0,category:"stackedBar"},bar4:{size:400,colors:[colors.salmon,colors.cyan,colors.periwinkle],padding:0,category:"stackedBar"},bar5:{size:400,colors:[colors.gray,colors.lavender,colors.midnight,"#0089e4",colors.forest,"#ea8500","#d54f41","#146ca9"],padding:0,category:"stackedBar"},bar6:{size:400,colors:[colors.lavender],padding:0,category:"simpleBar"},bar7:{size:400,colors:[colors.periwinkle,colors.cyan,colors.salmon,colors.gray],padding:0,category:"simpleBar"}};function showValue(e){return e==="percentage"||e==="amount"?"show-values":""}var textHiddenMessage=intl.formatMessage({id:"chart.hiddenValues",defaultMessage:"Values are hidden when too close together.",description:"Text displayed when a chart has some values hidden"});var seeDetailsMessage=intl.formatMessage({id:"chart.clickToSeeDetails",defaultMessage:"Click or use arrow keys to see details.",description:"Text displayed, guiding user to interact to see more details."});function abbrNumber(e){return e>999||e<-999?Math.round(e/100)/10+"K":e}function amountToPercent(e,t,r){return r?Math.round(e*100/t):Math.round(e*1e4/t)/100}function amountToDegree(e,t){return e*360/t}function toFixed(e){return parseFloat((Math.floor(e*100)/100).toFixed(2))}function polarToCartesian(e,t,r,n){var i=toFixed(e+e*t*Math.cos(Math.PI*r/180));var a=toFixed(e+e*t*Math.sin(Math.PI*r/180));if(n!==undefined){var s=toFixed(e+e*t*Math.cos(Math.PI*n/180));var o=toFixed(e+e*t*Math.sin(Math.PI*n/180));return{x1:i,y1:a,x2:s,y2:o}}return{x:i,y:a}}function getArc(e,t,r,n,i){var a=toFixed(i/2*e);return"A ".concat(a,", ").concat(a," 0 ").concat(t," ").concat(toFixed(r),", ").concat(toFixed(n))}function scale(e,t,r,n,i){var a=(e-t)*(i-n)/(r-t)+n;return a<n?n:a>i?i:a}function minSpacing(e){return scale(e,300,900,70,150)}function getMaxTicks(e){return Math.round(e/minSpacing(e))}function getInterval(e,t){var r=e/t;var n=Math.pow(10,Math.floor(Math.log10(r)));var i=r/n;var a;if(i>5){a=10*n}else if(i>3){a=5*n}else if(i>2){a=3*n}else if(i>1.5){a=2*n}else if(i>1){a=1.5*n}else{a=n}return a}function handleSliceKeyDown(e){if(this.popoverEl&&this.popoverEl.open&&e.key==="Enter"){var t=this.popoverEl.querySelector("button");t&&t.click()}}function handleSliceClick(e,t){if(this.popoverEl&&!this.isTabbing){t.coords={x:e.clientX,y:e.clientY};openPopover(this.popoverEl,t);highlightSegmentInfo(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),t)}}function handleSliceFocus(e,t){if(this.popoverEl&&this.isTabbing){this.focusedSliceId=t.id;t.coords=getPosition(e.target);t.coords.x=t.coords.x+30;t.coords.y=t.coords.y+30;openPopover(this.popoverEl,t);highlightSegmentInfo(Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex")),t)}}function handleChartKeydown(e){switch(e.key){case"ArrowUp":case"ArrowLeft":e.preventDefault();this.isTabbing=true;focusPrevious.call(this);break;case"ArrowRight":case"ArrowDown":e.preventDefault();this.isTabbing=true;focusNext.call(this);break;case"Tab":exitChart.call(this);break;case"Escape":this.popoverEl.open=false;this.userIsNavigating=false;break}}function openPopover(e,t){e.open=false;if(t.title&&t.text){e.sliceDetails=Object.assign({},t);window.setTimeout((function(){return e.open=true}),30)}}function focusNext(){var e=checkForActiveElInShadow(document.activeElement);var t=(this.sliceEls.indexOf(e)+1)%this.sliceEls.length;focusSlice.call(this,t)}function focusPrevious(){if(this.sliceEls){var e=checkForActiveElInShadow(document.activeElement);var t=this.sliceEls.indexOf(e);if(t===-1){t=0}else if(t===0){t=this.sliceEls.length-1}else{t-=1}focusSlice.call(this,t)}}function focusSlice(e){var t=this;if(this.sliceEls&&this.el){this.userIsNavigating=true;this.componentWrapperEl.tabIndex=-1;this.el.focusable=false;this.sliceEls.map((function(e){e.tabIndex=-1;e.focusable=false}));this.sliceEls[e].tabIndex=0;this.sliceEls[e].focusable=true;this.sliceEls[e].focus();this.focusedSliceId=this.sliceEls[e].id;window.setTimeout((function(){if(t.popoverEl){t.popoverEl.open=true}}),10)}}function exitChart(){var e=this;this.focusedSliceId=undefined;this.sliceEls&&this.sliceEls.map((function(e){e.tabIndex=-1;e.focusable=false}));this.userIsNavigating=false;window.setTimeout((function(){e.componentWrapperEl.tabIndex=0;e.el.focusable=true;if(e.popoverEl){e.popoverEl.open=false}}),100)}function getDetails(e){return __awaiter(this,void 0,void 0,(function(){var t,r,n,i;var a=this;return __generator(this,(function(s){this.slicesDetails=[];t=0;r=Array.from(this.el.children);this.total=r.reduce((function(e,t){var r=parseInt(t.getAttribute("amount")||"0");return e+r}),0);n=__spreadArray([],allChartsDetails[e].colors,true);if(this.chartType==="bar2"){if(r.length<=5){n.splice(1,1)}if(r.length<=4){n.splice(2,1)}}if(e==="bar3"&&r.length===2){n=[n[1],n[3]]}if(e==="doughnut2"&&r.length<5){n.splice(2,1);if(r.length<4){n.shift()}}if(e==="bar5"&&!this.notStartedColor){n.shift()}i=0;r.forEach((function(r,s){var o=r.getAttribute("amount");if(o==null)return;var c=parseInt(o||"0");var u=amountToPercent(c,a.total,true);var h=s;if(e==="bar6"){h=0}var l={amount:c,visualAmount:c,perc:u,legend:r.getAttribute("legend"),color:n[h]||colors.gray,offset:t,id:"".concat(a.uid,"-").concat(i+1),title:r.getAttribute("popover-title"),text:r.getAttribute("popover-text"),buttonText:r.getAttribute("popover-button-text"),sliceRef:r,inSmallCluster:false,index:i};t+=c;a.slicesDetails.push(l);i++}));return[2]}))}))}function sortSlicesDetails(e,t){var r=__spreadArray([],e,true).sort((function(e,t){return e.amount===t.amount?0:e.amount>t.amount?-1:1}));var n=0;r.filter((function(e){return e.amount>0})).forEach((function(e,i){var a=r[i===0?r.length-1:i-1];var s=r[i===r.length-1?0:i+1];var o=amountToPercent(a.amount,t,true);var c=amountToPercent(s.amount,t,true);var u=e.perc===0?8:5;var h=e.perc<4;var l=o<u;var d=c<u;var f=h&&(l||d);e.inSmallCluster=f;e.offset=n;n+=e.amount}));return r}function getPathData(e,t,r){var n=amountToDegree(t,this.total)-90;var i=e/this.total*360;var a=n+i;var s=i>180?"1 1":"0 1";var o=i>180?"1 0":"0 0";var c=this.chartDetails.size/2;var u=this.chartDetails.thickness;var h=1;var l=r==="doughnut";var d=1.5;var f=l?2.25:3;if(i===360){a-=.01}var v=polarToCartesian(c,h,n+d,a);var g=polarToCartesian(c,u,n+f,a);var p="M ".concat(v.x1,", ").concat(v.y1," ");var m=getArc(h,s,v.x2,v.y2,this.chartDetails.size);var b=" L ".concat(g.x2,", ").concat(g.y2," ");var x=getArc(u,o,g.x1,g.y1,this.chartDetails.size);return p+m+b+x+" z"}function renderInstructionsText(){var e=intl.formatMessage({id:"chart.instructions",defaultMessage:"Use arrow keys to browse elements, press Tab to exit.",description:"For screen readers only, instructions on how to interact with the chart component"});return h("div",{id:"chart-instructions"},e)}function renderFilter(){return h("defs",null,h("filter",{id:"wmHoverDropShadow"},h("feGaussianBlur",{stdDeviation:"3"}),h("feOffset",{result:"offsetblur"}),h("feFlood",{"flood-color":"#333"}),h("feComposite",{operator:"in",in2:"offsetblur"}),h("feMerge",null,h("feMergeNode",null),h("feMergeNode",{in:"SourceGraphic"}))))}function applyMinimumAngle(e,t,r){var n=t.map((function(e){return amountToDegree(e.amount,r)}));var i=n.some((function(t){return t!==0&&t<e}));if(i){var a=n.map((function(t){return t==0?t:Math.max(t,e)}));var s=a.reduce((function(t,r){return t+(r>e&&r!==0?r:0)}),0);var o=a.reduce((function(t,r){return t+(r>e&&r!==0?0:r)}),0);var c=360-o;var u=s-c;var h=u/c;var l=a.map((function(t){return t>e?t-h*t:t==0?0:e}));var d=0;t=t.map((function(e,t){var n=l[t]/360*r;var i=d;d+=n;return Object.assign(Object.assign({},e),{visualAmount:n,offset:i})}))}return t}function renderDoughnut(e){var t=this;var r=this.chartDetails.size+this.chartDetails.padding;var n=e==="doughnut";var i=n?this.slicesDetails:sortSlicesDetails(this.slicesDetails,this.total);i=applyMinimumAngle(7,i,this.total);var a=i[0].amount;var s=amountToPercent(a,this.total,true);if(s===0&&a>0){s="<1%"}else if(s===100&&a<this.total){s=">99%"}else{s=s+"%"}return h("div",{class:"chart-wrapper doughnut-wrapper"},h("svg",{width:r+"px",height:r+"px",id:"graphic-".concat(this.uid),class:"doughnut-svg"},renderFilter(),i.map((function(r){return renderPath.call(t,r,e)})),renderFocusOutline.call(this),n?h("text",{class:"value",x:"50%",y:"50%","font-size":"1.5rem","font-weight":"500","text-anchor":"middle","dominant-baseline":"middle"},s):h("g",{transform:"translate(".concat(this.chartDetails.padding/2,", ").concat(this.chartDetails.padding/2,")"),"text-anchor":"middle","dominant-baseline":"middle"},i.map((function(e){return e.amount>0&&!e.inSmallCluster?renderDoughnutText.call(t,e):""})))))}function highlightSegmentInfo(e,t){e.forEach((function(e){if(e.dataset.segmentindex&&parseInt(e.dataset.segmentindex)!==t.index){e.classList.add("faded")}else{e.classList.remove("faded")}}))}function removeSegmentInfoHighlight(e){e.forEach((function(e){e.classList.remove("faded")}))}function renderPath(e,t){var r=this;var n=amountToPercent(e.amount,this.total,true)+"%";return!isNaN(e.amount)&&h("g",{transform:"translate(".concat(this.chartDetails.padding/2,", ").concat(this.chartDetails.padding/2,")")},h("path",{id:e.id,class:"segment doughnut-segment",fill:e.visualAmount?e.color:"transparent",d:getPathData.call(this,e.visualAmount,e.offset,t),onClick:function(t){return handleSliceClick.call(r,t,e)},onFocus:function(t){return handleSliceFocus.call(r,t,e)},onKeyDown:function(e){return handleSliceKeyDown.call(r,e)},role:"img","aria-label":"".concat(e.legend,", ").concat(n),"data-segmentindex":e.index}))}function renderFocusOutline(){return this.isTabbing?h("g",{transform:"translate(".concat(this.chartDetails.padding/2,", ").concat(this.chartDetails.padding/2,")")},h("use",{tabindex:-1,id:"kfbg1",xlinkHref:"#".concat(this.focusedSliceId)}),h("use",{tabindex:-1,id:"kfstroke",xlinkHref:"#".concat(this.focusedSliceId)}),h("use",{tabindex:-1,id:"kfbg2",xlinkHref:"#".concat(this.focusedSliceId)})):""}function renderDoughnutText(e){var t=amountToDegree(e.offset+e.visualAmount/2,this.total);var r=polarToCartesian(this.chartDetails.size/2,1.4,t-90),n=r.x,i=r.y;var a;if(e.perc===0&&e.amount>0){a="<1%"}else if(e.perc===100&&e.amount<this.total){a=">99%"}else{a=e.perc+"%"}return h("text",{class:"value",x:n+"px",y:i+"px","data-segmentindex":e.index},a)}function renderStackedBar(e){var t=this;var r=e==="bar";var n=this.el.shadowRoot.querySelectorAll(".value");if(n.length>0){requestAnimationFrame((function(){var e=[];var r=4;var i=false;n.forEach((function(t){t.classList.remove("hidden");var n=parseInt(t.dataset.value);if(e.length>0&&n!=0){var a=t.getBoundingClientRect().left-r;e.forEach((function(e){var r=parseInt(e.dataset.value);var s=e.getBoundingClientRect().right>a;if(s){var o=n<r?t:e;o.classList.add("hidden");i=true}}))}if(!t.classList.contains("hidden")&&n>0){e.push(t)}}));(t.isBar||t.isDoughnut)&&t.showHiddenValuesMessage(i)}))}return h("div",{class:"chart-wrapper bar-wrapper"},r?h("div",{class:"single-perc"},amountToPercent(this.slicesDetails[0].amount,this.total,true)+"%"):"",this.chartType==="bar3"&&this.drawAxis(),h("div",{class:"inner-stacked-bar-wrapper ".concat(showValue(this.valueFormat))},!r?h("div",{class:"values ".concat(this.valueFormat)},this.slicesDetails.map((function(e){return t.renderBarText(e,5)}))):"",h("div",{class:"stacked-bar-segments-wrapper"},this.slicesDetails.map((function(e){return renderStackedBarSegment.call(t,e,5)}))),r?renderCompletionMessage.call(this):""),this.chartType==="bar3"?h("div",{class:"bar3-axis-label","aria-hidden":"true"},h("span",null,"0%"),h("span",null,"100%")):"")}function renderStackedBarSegment(e,t){var r=this;var n=amountToPercent(e.amount,this.total,false);var i=this.el.shadowRoot.querySelector(".stacked-bar-segments-wrapper");var a=i?i.offsetWidth:this.el.offsetWidth;var s=n/100*a>=t;var o=s||e.amount==0?"".concat(n,"%"):"".concat(t,"px");var c="";if(this.valueFormat=="percentage"){c="".concat(amountToPercent(e.amount,this.total,true)," %")}else if(this.valueFormat=="amount"){c=e.amount.toString()}return h("div",{class:"segment stacked-bar-segment ".concat(amountToPercent(e.amount,this.total,false)===0?"zero":""," ").concat(s?"":"fixed-width"),style:{backgroundColor:e.color,width:o},onClick:function(t){return handleSliceClick.call(r,t,e)},onFocus:function(t){return handleSliceFocus.call(r,t,e)},onKeyDown:function(e){return handleSliceKeyDown.call(r,e)},"data-segmentindex":e.index},h("span",{class:"sr-only"},"".concat(e.legend," ").concat(c)))}function renderSimpleBar(e){var t=this;var r=this.slicesDetails.map((function(e){return e.amount})).reduce((function(e,t){return e>t?e:t}));var n=parseInt(getComputedStyle(this.el).getPropertyValue("--labelWidth"),10);var i=48;var a=this.el.getBoundingClientRect().width;var s=a-n-i;var o=getMaxTicks(s);var c=getInterval(r,o);var u=o*c;var l=Math.floor((u-r)/c);o-=l;this.el.style.setProperty("--backgroundSize",100/o+"%");this.el.style.setProperty("--labelWidth",this.labelWidth);if(e==="bar7"&&!this.showBarLegend){this.el.style.setProperty("--labelWidth","0px")}var d=[];this.slicesDetails.forEach((function(n){n.legend&&d.push(renderSimpleBarLegend(n.legend,t.showBarLegend,e));d.push(renderSimpleBarItem.call(t,n,c,o,r))}));var f=[];for(var v=1;v<=o;v++){var g=abbrNumber(safeMultiplyFloat(v,c));f.push(h("div",{class:"tick"},h("span",null,g)))}var p=e==="bar6"&&this.showGrid&&this.el.getBoundingClientRect().width>300;return h("div",{class:"chart-wrapper simple-bar-wrapper"},h("div",{class:"chart ".concat(showValue(this.valueFormat))},p&&h("div",{class:"gridlines"}),h("div",{class:"rows"},d)),p&&h("div",{class:"x-axis","aria-hidden":"true"},h("div",{class:"zero"},h("span",null,"0")),f))}function renderSimpleBarLegend(e,t,r){var n=r==="bar7"&&!t?" hidden":"";return h("label",{class:"label".concat(n)},e)}function renderSimpleBarItem(e,t,r,n){var i=this;var a=this.currentChartType==="bar6"?t*r:n;var s=amountToPercent(e.amount,a,false);var o=s?s+"%":"1px";var c=abbrNumber(e.amount);var u=this.valueFormat==="amount"?c:"";if(this.currentChartType==="bar6"&&this.valueFormat==="percentage"){u=e.amount+"%"}else if(this.currentChartType==="bar7"&&this.valueFormat==="percentage"){u=(this.total===0?"0":amountToPercent(e.amount,this.total,true))+"%"}return h("div",{class:"bar segment",style:{backgroundColor:e.color,width:o},onClick:function(t){return handleSliceClick.call(i,t,e)},onFocus:function(t){return handleSliceFocus.call(i,t,e)},onKeyDown:function(e){return handleSliceKeyDown.call(i,e)},"data-segmentindex":e.index},h("div",{class:"value"},u))}function renderLegend(e){var t=this;if(this.showLegend){var r=this.slicesDetails.reduce((function(e,t){return e=t.inSmallCluster?true:e}),false);this.isDoughnut&&this.showHiddenValuesMessage(r);return h("div",{class:"legend-wrapper"},h("div",{class:"legend ".concat(e," ").concat(this.mode==="bar"?"--top":"--bottom"),"aria-hidden":"true"},this.slicesDetails.map((function(e){var r=t.printModeFormat=="amount"?"".concat(e.amount,"/").concat(t.total):"".concat(amountToPercent(e.amount,t.total,true),"%");if(!!e.amount||!!e.legend){return renderLegendItem.call(t,{key:e.legend,color:e.color},r,e)}}))),this.isDoughnut&&!this.printMode&&renderHiddenValuesMessage())}}function renderLegendItem(e,t,r){var n=this;if(t===void 0){t=""}if(r===void 0){r=null}var i=function(e){if(r){r.coords={x:e.clientX,y:e.clientY};openPopover(n.popoverEl,r);highlightSegmentInfo(Array.from(n.el.shadowRoot.querySelectorAll("[data-segmentindex")),r)}};return h("div",{class:"legend-item",onClick:function(e){return i(e)},"data-segmentindex":r?r.index:null},h("div",{class:"legend-color",style:{backgroundColor:e.color}}),h("div",{class:"legend-text"},e.key,t&&h("span",{class:"print-value ".concat(this.printMode?"force-visible":"")},": ",t)))}function renderCompletionMessage(){if(this.completionMessage){return h("div",{class:"completion-message"},this.completionMessage)}}function renderHiddenValuesMessage(){return h("div",{class:"hidden-values-warning hidden"},textHiddenMessage,h("br",null),seeDetailsMessage)}export{allChartsDetails as a,amountToPercent as b,renderSimpleBar as c,renderStackedBar as d,renderDoughnut as e,renderInstructionsText as f,getDetails as g,handleChartKeydown as h,renderLegend as i,renderHiddenValuesMessage as j,exitChart as k,getInterval as l,abbrNumber as m,renderCompletionMessage as n,renderLegendItem as o,removeSegmentInfoHighlight as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o))e[o]=r[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function o(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):o(e.value).then(a,l)}s((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(r){return s([e,r])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,l[0]&&(t=0)),t)try{if(n=1,o&&(i=l[0]&2?o["return"]:l[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;if(o=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:t.label++;return{value:l[1],done:false};case 5:t.label++;o=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1];i=l;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(l);break}if(i[2])t.ops.pop();t.trys.pop();continue}l=r.call(e,t)}catch(e){l=[6,e];o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};var NAMESPACE="ripple";var BUILD={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var version="5.16.0-alpha.11";if(window.navigator.plugins.length>0){console.log("%cRipple component library %c%s","color: #575195; font-weight: bold","font-weight: bold",version)}function wmComponentKeys(e){if(e.key=="Tab"){var r=new Event("wmUserIsTabbing");window.dispatchEvent(r);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(e.key=="ArrowLeft"||e.key=="ArrowUp"||e.key=="ArrowRight"||e.key=="ArrowDown"){var r=new Event("wmUserIsKeying");window.dispatchEvent(r);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var e=new Event("wmUserIsNotTabbing");window.dispatchEvent(e);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",wmComponentKeys);window.addEventListener("mousedown",wmComponentMouseDownOnce);var tooltipContainer=document.createElement("div");tooltipContainer.id="wm-tooltip-container";var tooltipEl=document.createElement("div");tooltipEl.id="wm-tooltip";tooltipEl.classList.add("wm-tooltip");tooltipEl.setAttribute("popover","manual");tooltipEl.setAttribute("aria-hidden","true");var tooltipStyles=document.createElement("style");tooltipStyles.textContent="\n.wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: var(--wmcolor-tooltip-background);\n color: var(--wmcolor-tooltip-text);\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n inset: unset;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n border: none;\n}\n\n.wm-tooltip:popover-open {\n opacity: 0;\n}\n\n.wm-tooltip.show {\n transition-delay: 500ms;\n opacity: 1;\n}\n";document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);document.querySelector("body").appendChild(tooltipContainer);var globalFn=function(){};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,r){e.__stencil__getHostRef=function(){return r};r.t=e};var registerHost=function(e,r){var t={o:0,$hostElement$:e,i:r,l:new Map};{t.u=new Promise((function(e){return t.v=e}))}{t.p=new Promise((function(e){return t.m=e}));e["s-p"]=[];e["s-rc"]=[]}var n=t;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.h.replace(/-/g,"_");var o=e.S;if(!o){return void 0}var i=cmpModules.get(o);if(i){return i[n]}if(!t||!BUILD.hotModuleReplacement){var a=function(e){cmpModules.set(o,e);return e[n]};switch(o){case"wm-tag-option":return import("./wm-tag-option.entry.js").then(a,consoleError);case"wm-wrapper":return import("./wm-wrapper.entry.js").then(a,consoleError);case"wm-chart-slice":return import("./wm-chart-slice.entry.js").then(a,consoleError);case"wm-button":return import("./wm-button.entry.js").then(a,consoleError);case"wm-chart":return import("./wm-chart.entry.js").then(a,consoleError);case"wm-datepicker":return import("./wm-datepicker.entry.js").then(a,consoleError);case"wm-file":return import("./wm-file.entry.js").then(a,consoleError);case"wm-file-list":return import("./wm-file-list.entry.js").then(a,consoleError);case"wm-flyout":return import("./wm-flyout.entry.js").then(a,consoleError);case"wm-input":return import("./wm-input.entry.js").then(a,consoleError);case"wm-pagination":return import("./wm-pagination.entry.js").then(a,consoleError);case"wm-search":return import("./wm-search.entry.js").then(a,consoleError);case"wm-snackbar":return import("./wm-snackbar.entry.js").then(a,consoleError);case"wm-timepicker":return import("./wm-timepicker.entry.js").then(a,consoleError);case"wm-toggletip":return import("./wm-toggletip.entry.js").then(a,consoleError);case"wm-tag-input":return import("./wm-tag-input.entry.js").then(a,consoleError);case"wm-textarea":return import("./wm-textarea.entry.js").then(a,consoleError);case"wm-uploader":return import("./wm-uploader.entry.js").then(a,consoleError);case"wm-date-range":return import("./wm-date-range.entry.js").then(a,consoleError);case"wm-line-chart":return import("./wm-line-chart.entry.js").then(a,consoleError);case"wm-nested-select":return import("./wm-nested-select.entry.js").then(a,consoleError);case"wm-optgroup":return import("./wm-optgroup.entry.js").then(a,consoleError);case"priv-navigator-button":return import("./priv-navigator-button.entry.js").then(a,consoleError);case"priv-navigator-item":return import("./priv-navigator-item.entry.js").then(a,consoleError);case"priv-calendar":return import("./priv-calendar.entry.js").then(a,consoleError);case"priv-chart-popover":return import("./priv-chart-popover.entry.js").then(a,consoleError);case"priv-option-list":return import("./priv-option-list.entry.js").then(a,consoleError);case"wm-navigator":return import("./wm-navigator.entry.js").then(a,consoleError);case"wm-action-menu_2":return import("./wm-action-menu_2.entry.js").then(a,consoleError);case"wm-option_2":return import("./wm-option_2.entry.js").then(a,consoleError);case"wm-progress-indicator_3":return import("./wm-progress-indicator_3.entry.js").then(a,consoleError);case"wm-modal_3":return import("./wm-modal_3.entry.js").then(a,consoleError);case"wm-modal-pss_3":return import("./wm-modal-pss_3.entry.js").then(a,consoleError);case"wm-navigation_3":return import("./wm-navigation_3.entry.js").then(a,consoleError);case"wm-tab-item_3":return import("./wm-tab-item_3.entry.js").then(a,consoleError)}}return import("./".concat(o,".entry.js").concat("")).then((function(e){{cmpModules.set(o,e)}return e[n]}),(function(e){consoleError(e,r.$hostElement$)}))};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var plt={o:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var supportsListenerOptions=function(){var e;var r=false;try{(e=win.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(e){}return r}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var supportsMutableAdoptedStyleSheets=supportsConstructableStylesheets?function(){return!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable}():false;var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.o&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var escapeRegExpSpecialCharacters=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};function createStyleSheetIfNeededAndSupported(e){return void 0}var globalStyleSheet;function createShadowRoot(e){var r;var t=this.attachShadow({mode:"open",delegatesFocus:!!(e.o&16)});if(globalStyleSheet===void 0)globalStyleSheet=(r=createStyleSheetIfNeededAndSupported())!=null?r:null;if(globalStyleSheet){if(supportsMutableAdoptedStyleSheets){t.adoptedStyleSheets.push(globalStyleSheet)}else{t.adoptedStyleSheets=__spreadArray(__spreadArray([],t.adoptedStyleSheets,true),[globalStyleSheet],false)}}}var updateFallbackSlotVisibility=function(e){var r=internalCall(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){getHostSlotNodes(r,e.tagName).forEach((function(e){if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(getSlotChildSiblings(e,getSlotName(e),false).length){e.hidden=true}else{e.hidden=false}}}))}var t=0;for(t=0;t<r.length;t++){var n=r[t];if(n.nodeType===1&&internalCall(n,"childNodes").length){updateFallbackSlotVisibility(n)}}};var getSlottedChildNodes=function(e){var r=[];for(var t=0;t<e.length;t++){var n=e[t]["s-nr"]||void 0;if(n&&n.isConnected){r.push(n)}}return r};function getHostSlotNodes(e,r,t){var n=0;var o=[];var i;for(;n<e.length;n++){i=e[n];if(i["s-sr"]&&(!r||i["s-hn"]===r)&&t===void 0){o.push(i)}o=__spreadArray(__spreadArray([],o,true),getHostSlotNodes(i.childNodes,r,t),true)}return o}var getSlotChildSiblings=function(e,r,t){if(t===void 0){t=true}var n=[];if(t&&e["s-sr"]||!e["s-sr"])n.push(e);var o=e;while(o=o.nextSibling){if(getSlotName(o)===r&&(t||!o["s-sr"]))n.push(o)}return n};var isNodeLocatedInSlot=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var getSlotName=function(e){return typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0};function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;var r=function(r){return function(e){var t=[];var n=this["s-sn"];if(e==null?void 0:e.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var o=this["s-cr"].parentElement;var i=o.__childNodes?o.childNodes:getSlottedChildNodes(o.childNodes);i.forEach((function(e){if(n===getSlotName(e)){t.push(e)}}));if(r){return t.filter((function(e){return e.nodeType===1}))}return t}.bind(e)};e.assignedElements=r(true);e.assignedNodes=r(false)}function internalCall(e,r){if("__"+r in e){var t=e["__"+r];if(typeof t!=="function")return t;return t.bind(e)}else{if(typeof e[r]!=="function")return e[r];return e[r].bind(e)}}var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var o=getScopeId(r);var i=styles.get(o);if(!win.document){return o}e=e.nodeType===11?e:win.document;if(i){if(typeof i==="string"){e=e.head||e;var a=rootAppliedStyles.get(e);var l=void 0;if(!a){rootAppliedStyles.set(e,a=new Set)}if(!a.has(o)){{l=win.document.createElement("style");l.innerHTML=i;var s=(n=plt.C)!=null?n:queryNonceMetaTagContent(win.document);if(s!=null){l.setAttribute("nonce",s)}if(!(r.o&1)){if(e.nodeName==="HEAD"){var u=e.querySelectorAll("link[rel=preconnect]");var f=u.length>0?u[u.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(i);if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.unshift(c)}else{e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(l)}}}else{e.append(l)}}if(r.o&1){e.insertBefore(l,null)}}if(r.o&4){l.innerHTML+=SLOT_FB_CSS}if(a){a.add(o)}}}else if(!e.adoptedStyleSheets.includes(i)){if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.push(i)}else{e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}}return o};var attachStyles=function(e){var r=e.i;var t=e.$hostElement$;var n=r.o;var o=createTime("attachStyles",r.h);var i=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}o()};var getScopeId=function(e,r){return"sc-"+e.h};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var o=null;var i=null;var a=null;var l=false;var s=false;var u=[];var f=function(r){for(var t=0;t<r.length;t++){o=r[t];if(Array.isArray(o)){f(o)}else if(o!=null&&typeof o!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(o)){o=String(o)}if(l&&s){u[u.length-1].N+=o}else{u.push(l?newVNode(null,o):o)}s=l}}};f(t);if(r){if(r.key){i=r.key}if(r.name){a=r.name}{var c=r.className||r.class;if(c){r.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,u,vdomFnUtils)}var v=newVNode(e,null);v.k=r;if(u.length>0){v.T=u}{v.R=i}{v.j=a}return v};var newVNode=function(e,r){var t={o:0,A:e,N:r,L:null,T:null};{t.k=null}{t.R=null}{t.j=null}return t};var Host={};var isHost=function(e){return e&&e.A===Host};var vdomFnUtils={forEach:function(e,r){return e.map(convertToPublic).forEach(r)},map:function(e,r){return e.map(convertToPublic).map(r).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.k,vchildren:e.T,vkey:e.R,vname:e.j,vtag:e.A,vtext:e.N}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var r=__assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[],false))}var t=newVNode(e.vtag,e.vtext);t.k=e.vattrs;t.T=e.vchildren;t.R=e.vkey;t.j=e.vname;return t};var createSupportsRuleRe=function(e){var r=escapeRegExpSpecialCharacters(e);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(r,"))(").concat(r,"\\b)"),"g")};createSupportsRuleRe("::slotted");createSupportsRuleRe(":host");createSupportsRuleRe(":host-context");var parsePropertyValue=function(e,r,t){if(typeof e==="string"&&(r&16||r&8)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))){try{return JSON.parse(e)}catch(e){}}if(e!=null&&!isComplexType(e)){if(r&4){{return e==="false"?false:e===""||!!e}}if(r&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(r&1){return String(e)}return e}return e};var getElement=function(e){var r;return(r=getHostRef(e))==null?void 0:r.$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var setAccessor=function(e,r,t,n,o,i,a){if(t===n){return}var l=isMemberInElement(e,r);var s=r.toLowerCase();if(r==="class"){var u=e.classList;var f=parseClassList(t);var c=parseClassList(n);{u.remove.apply(u,f.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!f.includes(e)})))}}else if(r==="style"){{for(var v in t){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!t||n[v]!==t[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!l&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,s)){r=s.slice(2)}else{r=s[2]+r.slice(3)}if(t||n){var p=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,p)}if(n){plt.ael(e,r,n,p)}}}else{var d=isComplexType(n);if((l||d&&n!==null)&&!o){try{if(!e.tagName.includes("-")){var m=n==null?"":n;if(r==="list"){l=false}else if(t==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}else if(e[r]!==n){e[r]=n}}catch(e){}}var w=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){r=s;w=true}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){if(w){e.removeAttributeNS(XLINK_NS,r)}else{e.removeAttribute(r)}}}else if((!l||i&4||o)&&!d&&e.nodeType===1){n=n===true?"":n;if(w){e.setAttributeNS(XLINK_NS,r,n)}else{e.setAttribute(r,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t,n){var o=r.L.nodeType===11&&r.L.host?r.L.host:r.L;var i=e&&e.k||{};var a=r.k||{};{for(var l=0,s=sortedAttrNames(Object.keys(i));l<s.length;l++){var u=s[l];if(!(u in a)){setAccessor(o,u,i[u],void 0,t,r.o)}}}for(var f=0,c=sortedAttrNames(Object.keys(a));f<c.length;f++){var u=c[f];setAccessor(o,u,i[u],a[u],t,r.o)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,r,t){var n;var o=r.T[t];var i=0;var a;var l;var s;if(!useNativeShadowDom){checkSlotRelocate=true;if(o.A==="slot"){o.o|=o.T?2:1}}if(o.N!==null){a=o.L=win.document.createTextNode(o.N)}else if(o.o&1){a=o.L=win.document.createTextNode("");{updateElement(null,o,isSvgMode)}}else{if(!isSvgMode){isSvgMode=o.A==="svg"}if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=o.L=win.document.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&o.o&2?"slot-fb":o.A);if(isSvgMode&&o.A==="foreignObject"){isSvgMode=false}{updateElement(null,o,isSvgMode)}if(o.T){for(i=0;i<o.T.length;++i){l=createElm(e,o,i);if(l){a.appendChild(l)}}}{if(o.A==="svg"){isSvgMode=false}else if(a.tagName==="foreignObject"){isSvgMode=true}}}a["s-hn"]=hostTagName;{if(o.o&(2|1)){a["s-sr"]=true;a["s-cr"]=contentRef;a["s-sn"]=o.j||"";a["s-rf"]=(n=o.k)==null?void 0:n.ref;patchSlotNode(a);s=e&&e.T&&e.T[t];if(s&&s.A===o.A&&e.L){{putBackInOriginalLocation(e.L,false)}}}}return a};var putBackInOriginalLocation=function(e,r){plt.o|=1;var t=Array.from(e.__childNodes||e.childNodes);for(var n=t.length-1;n>=0;n--){var o=t[n];if(o["s-hn"]!==hostTagName&&o["s-ol"]){insertBefore(referenceNode(o).parentNode,o,referenceNode(o));o["s-ol"].remove();o["s-ol"]=void 0;o["s-sh"]=void 0;checkSlotRelocate=true}if(r){putBackInOriginalLocation(o,r)}}plt.o&=-2};var addVnodes=function(e,r,t,n,o,i){var a=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(a.shadowRoot&&a.tagName===hostTagName){a=a.shadowRoot}for(;o<=i;++o){if(n[o]){l=createElm(null,t,o);if(l){n[o].L=l;insertBefore(a,l,referenceNode(r))}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var o=e[n];if(o){var i=o.L;nullifyVNodeRefs(o);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,r,t,n,o){if(o===void 0){o=false}var i=0;var a=0;var l=0;var s=0;var u=r.length-1;var f=r[0];var c=r[u];var v=n.length-1;var p=n[0];var d=n[v];var m;var w;while(i<=u&&a<=v){if(f==null){f=r[++i]}else if(c==null){c=r[--u]}else if(p==null){p=n[++a]}else if(d==null){d=n[--v]}else if(isSameVnode(f,p,o)){patch(f,p,o);f=r[++i];p=n[++a]}else if(isSameVnode(c,d,o)){patch(c,d,o);c=r[--u];d=n[--v]}else if(isSameVnode(f,d,o)){if(f.A==="slot"||d.A==="slot"){putBackInOriginalLocation(f.L.parentNode,false)}patch(f,d,o);insertBefore(e,f.L,c.L.nextSibling);f=r[++i];d=n[--v]}else if(isSameVnode(c,p,o)){if(f.A==="slot"||d.A==="slot"){putBackInOriginalLocation(c.L.parentNode,false)}patch(c,p,o);insertBefore(e,c.L,f.L);c=r[--u];p=n[++a]}else{l=-1;{for(s=i;s<=u;++s){if(r[s]&&r[s].R!==null&&r[s].R===p.R){l=s;break}}}if(l>=0){w=r[l];if(w.A!==p.A){m=createElm(r&&r[a],t,l)}else{patch(w,p,o);r[l]=void 0;m=w.L}p=n[++a]}else{m=createElm(r&&r[a],t,a);p=n[++a]}if(m){{insertBefore(referenceNode(f.L).parentNode,m,referenceNode(f.L))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].L,t,n,a,v)}else if(a>v){removeVnodes(r,i,u)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.A===r.A){if(e.A==="slot"){return e.j===r.j}if(!t){return e.R===r.R}if(t&&!e.R&&r.R){e.R=r.R}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.L=e.L;var o=e.T;var i=r.T;var a=r.A;var l=r.N;var s;if(l===null){{isSvgMode=a==="svg"?true:a==="foreignObject"?false:isSvgMode}{updateElement(e,r,isSvgMode)}if(o!==null&&i!==null){updateChildren(n,o,r,i,t)}else if(i!==null){if(e.N!==null){n.textContent=""}addVnodes(n,null,r,i,0,i.length-1)}else if(!t&&BUILD.updatable&&o!==null){removeVnodes(o,0,o.length-1)}else;if(isSvgMode&&a==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.N!==l){n.data=l}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var r;var t;var n;var o=e.__childNodes||e.childNodes;for(var i=0,a=o;i<a.length;i++){var l=a[i];if(l["s-sr"]&&(r=l["s-cr"])&&r.parentNode){t=r.parentNode.__childNodes||r.parentNode.childNodes;var s=l["s-sn"];var u=function(){r=t[n];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==l["s-hn"]&&true){if(isNodeLocatedInSlot(r,s)){var e=relocateNodes.find((function(e){return e.M===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||s;if(e){e.M["s-sh"]=l["s-hn"];e.V=l}else{r["s-sh"]=l["s-hn"];relocateNodes.push({V:l,M:r})}if(r["s-sr"]){relocateNodes.map((function(t){if(isNodeLocatedInSlot(t.M,r["s-sn"])){e=relocateNodes.find((function(e){return e.M===r}));if(e&&!t.V){t.V=e.V}}}))}}else if(!relocateNodes.some((function(e){return e.M===r}))){relocateNodes.push({M:r})}}};for(n=t.length-1;n>=0;n--){u()}}if(l.nodeType===1){markSlotContentForRelocation(l)}}};var nullifyVNodeRefs=function(e){{e.k&&e.k.ref&&e.k.ref(null);e.T&&e.T.map(nullifyVNodeRefs)}};var insertBefore=function(e,r,t){{return e==null?void 0:e.insertBefore(r,t)}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n,o,i,a;var l=e.$hostElement$;var s=e.i;var u=e.O||newVNode(null,null);var f=isHost(r);var c=f?r:h(null,null,r);hostTagName=l.tagName;if(s.H){c.k=c.k||{};s.H.map((function(e){var r=e[0],t=e[1];return c.k[t]=l[r]}))}if(t&&c.k){for(var v=0,p=Object.keys(c.k);v<p.length;v++){var d=p[v];if(l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){c.k[d]=l[d]}}}c.A=null;c.o|=4;e.O=c;c.L=u.L=l.shadowRoot||l;useNativeShadowDom=!!(s.o&1)&&!(s.o&128);{contentRef=l["s-cr"];checkSlotFallbackVisibility=false}patch(u,c,t);{plt.o|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.L);for(var m=0,w=relocateNodes;m<w.length;m++){var y=w[m];var g=y.M;if(!g["s-ol"]&&win.document){var S=win.document.createTextNode("");S["s-nr"]=g;insertBefore(g.parentNode,g["s-ol"]=S,g)}}for(var b=0,E=relocateNodes;b<E.length;b++){var y=E[b];var g=y.M;var _=y.V;if(_){var C=_.parentNode;var N=_.nextSibling;{var S=(n=g["s-ol"])==null?void 0:n.previousSibling;while(S){var k=(o=S["s-nr"])!=null?o:null;if(k&&k["s-sn"]===g["s-sn"]&&C===(k.__parentNode||k.parentNode)){k=k.nextSibling;while(k===g||(k==null?void 0:k["s-sr"])){k=k==null?void 0:k.nextSibling}if(!k||!k["s-nr"]){N=k;break}}S=S.previousSibling}}var T=g.__parentNode||g.parentNode;var R=g.__nextSibling||g.nextSibling;if(!N&&C!==T||R!==N){if(g!==N){if(!g["s-hn"]&&g["s-ol"]){g["s-hn"]=g["s-ol"].parentNode.nodeName}insertBefore(C,g,N);if(g.nodeType===1&&g.tagName!=="SLOT-FB"){g.hidden=(i=g["s-ih"])!=null?i:false}}}g&&typeof _["s-rf"]==="function"&&_["s-rf"](_)}else{if(g.nodeType===1){if(t){g["s-ih"]=(a=g.hidden)!=null?a:false}g.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.L)}plt.o&=-2;relocateNodes.length=0}contentRef=void 0};var attachToAncestor=function(e,r){if(r&&!e.I&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.I=function(){r["s-p"].splice(t-1,1);n()}})))}};var scheduleUpdate=function(e,r){{e.o|=16}if(e.o&4){e.o|=512;return}attachToAncestor(e,e.$);var t=function(){return dispatchHooks(e,r)};if(r){queueMicrotask((function(){t()}));return}return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.i.h);var o=e.t;if(!o){throw new Error("Can't render component <".concat(t.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(r){{e.o|=256;if(e.F){e.F.map((function(e){var r=e[0],n=e[1];return safeCall(o,r,n,t)}));e.F=void 0}}i=safeCall(o,"componentWillLoad",void 0,t)}else{i=safeCall(o,"componentWillUpdate",void 0,t)}i=enqueue(i,(function(){return safeCall(o,"componentWillRender",void 0,t)}));n();return enqueue(i,(function(){return updateComponent(e,o,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,l,s,u;return __generator(this,(function(f){o=e.$hostElement$;i=createTime("update",e.i.h);a=o["s-rc"];if(t){attachStyles(e)}l=createTime("render",e.i.h);{callRender(e,r,o,t)}if(a){a.map((function(e){return e()}));o["s-rc"]=void 0}l();i();{s=(n=o["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.o|=4;s.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render&&r.render();{e.o&=-17}{e.o|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.i.h;var t=e.$hostElement$;var n=createTime("postUpdate",r);var o=e.t;var i=e.$;safeCall(o,"componentDidRender",void 0,t);if(!(e.o&64)){e.o|=64;{addHydratedFlag(t)}safeCall(o,"componentDidLoad",void 0,t);n();{e.m(t);if(!i){appDidLoad()}}}else{safeCall(o,"componentDidUpdate",void 0,t);n()}{e.v(t)}{if(e.I){e.I();e.I=void 0}if(e.o&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.o&=-517}};var forceUpdate=function(e){var r;{var t=getHostRef(e);var n=(r=t==null?void 0:t.$hostElement$)==null?void 0:r.isConnected;if(n&&(t.o&(2|16))===2){scheduleUpdate(t,false)}return n}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t,n){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var r;return e.classList.add((r=BUILD.hydratedSelectorName)!=null?r:"hydrated")};var getValue=function(e,r){return getHostRef(e).l.get(r)};var setValue=function(e,r,t,n){var o=getHostRef(e);if(!o){return}if(!o){throw new Error("Couldn't find host element for \"".concat(n.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var i=o.$hostElement$;var a=o.l.get(r);var l=o.o;var s=o.t;t=parsePropertyValue(t,n.U[r][0]);var u=Number.isNaN(a)&&Number.isNaN(t);var f=t!==a&&!u;if((!(l&8)||a===void 0)&&f){o.l.set(r,t);if(s){if(n.P&&l&128){var c=n.P[r];if(c){c.map((function(e){try{s[e](t,a,r)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){if(s.componentShouldUpdate){if(s.componentShouldUpdate(t,a,r)===false){return}}scheduleUpdate(o,false)}}}};var proxyComponent=function(e,r,t){var n,o;var i=e.prototype;if(r.U||(r.P||e.watchers)){if(e.watchers&&!r.P){r.P=e.watchers}var a=Object.entries((n=r.U)!=null?n:{});a.map((function(e){var n=e[0],o=e[1][0];if(o&31||t&2&&o&32){var a=Object.getOwnPropertyDescriptor(i,n)||{},l=a.get,s=a.set;if(l)r.U[n][0]|=2048;if(s)r.U[n][0]|=4096;if(t&1||!l){Object.defineProperty(i,n,{get:function(){{if((r.U[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var t=e?e.t:i;if(!t)return;return t[n]}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var a=getHostRef(this);if(!a){return}if(s){var l=o&32?this[n]:a.$hostElement$[n];if(typeof l==="undefined"&&a.l.get(n)){e=a.l.get(n)}else if(!a.l.get(n)&&l){a.l.set(n,l)}s.apply(this,[parsePropertyValue(e,o)]);e=o&32?this[n]:a.$hostElement$[n];setValue(this,n,e,r);return}{if((t&1)===0||(r.U[n][0]&4096)===0){setValue(this,n,e,r);if(t&1&&!a.t){a.p.then((function(){if(r.U[n][0]&4096&&a.t[n]!==a.l.get(n)){a.t[n]=e}}))}return}var u=function(){var t=a.t[n];if(!a.l.get(n)&&t){a.l.set(n,t)}a.t[n]=parsePropertyValue(e,o);setValue(i,n,a.t[n],r)};if(a.t){u()}else{a.p.then((function(){return u()}))}}}})}else if(t&1&&o&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var o=getHostRef(this);return(t=o==null?void 0:o.u)==null?void 0:t.then((function(){var r;return(r=o.t)==null?void 0:r[n].apply(r,e)}))}})}}));if(t&1){var l=new Map;i.attributeChangedCallback=function(e,t,n){var o=this;plt.jmp((function(){var a;var s=l.get(e);if(o.hasOwnProperty(s)&&BUILD.lazyLoad){n=o[s];delete o[s]}else if(i.hasOwnProperty(s)&&typeof o[s]==="number"&&o[s]==n){return}else if(s==null){var u=getHostRef(o);var f=u==null?void 0:u.o;if(u&&f&&!(f&8)&&f&128&&n!==t){var c=u.t;var v=(a=r.P)==null?void 0:a[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}var p=Object.getOwnPropertyDescriptor(i,s);n=n===null&&typeof o[s]==="boolean"?false:n;if(n!==o[s]&&(!p.get||!!p.set)){o[s]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((o=r.P)!=null?o:{}),true),a.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var o;var i=n[1]||t;l.set(i,t);if(n[0]&512){(o=r.H)==null?void 0:o.push([t,i])}return i})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,l,s,u,f,c,v,p;return __generator(this,(function(d){switch(d.label){case 0:if(!((r.o&32)===0))return[3,6];r.o|=32;o=t.S;if(!o)return[3,4];i=loadModule(t,r);if(!(i&&"then"in i))return[3,2];a=uniqueTime();return[4,i];case 1:n=d.sent();a();return[3,3];case 2:n=i;d.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(r.D,'" was not found'))}if(!n.isProxied){{t.P=n.watchers}proxyComponent(n,t,2);n.isProxied=true}l=createTime("createInstance",t.h);{r.o|=8}try{new n(r)}catch(r){consoleError(r,e)}{r.o&=-9}{r.o|=128}l();fireConnectedCallback(r.t,e);return[3,5];case 4:n=e.constructor;s=e.localName;customElements.whenDefined(s).then((function(){return r.o|=128}));d.label=5;case 5:if(n&&n.style){u=void 0;if(typeof n.style==="string"){u=n.style}f=getScopeId(t);if(!styles.has(f)){c=createTime("registerStyles",t.h);registerStyle(f,u,!!(t.o&1));c()}}d.label=6;case 6:v=r.$;p=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(p)}else{p()}return[2]}}))}))};var fireConnectedCallback=function(e,r){{safeCall(e,"connectedCallback",void 0,r)}};var connectedCallback=function(e){if((plt.o&1)===0){var r=getHostRef(e);if(!r){return}var t=r.i;var n=createTime("connectedCallback",t.h);if(!(r.o&1)){r.o|=1;{if(t.o&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o["s-p"]){attachToAncestor(r,r.$=o);break}}}if(t.U){Object.entries(t.U).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var o=e[t];delete e[t];e[t]=o}}))}{initializeComponent(e,r,t)}}else{addHostEventListeners(e,r,t.B);if(r==null?void 0:r.t){fireConnectedCallback(r.t,e)}else if(r==null?void 0:r.p){r.p.then((function(){return fireConnectedCallback(r.t,e)}))}}n()}};var setContentReference=function(e){if(!win.document){return}var r=e["s-cr"]=win.document.createComment("");r["s-cn"]=true;insertBefore(e,r,e.firstChild)};var disconnectInstance=function(e,r){{safeCall(e,"disconnectedCallback",void 0,r||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.o&1)===0){r=getHostRef(e);{if(r==null?void 0:r.q){r.q.map((function(e){return e()}));r.q=void 0}}if(r==null?void 0:r.t){disconnectInstance(r.t,e)}else if(r==null?void 0:r.p){r.p.then((function(){return disconnectInstance(r.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var o=[];var i=r.exclude||[];var a=win.customElements;var l=win.document.head;var s=l.querySelector("meta[charset]");var u=win.document.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt._=new URL(r.resourcesUrl||"./",win.document.baseURI).href;var p=false;e.map((function(e){e[1].map((function(r){var t;var n={o:r[0],h:r[1],U:r[2],B:r[3]};if(n.o&4){p=true}{n.U=r[2]}{n.B=r[3]}{n.H=[]}{n.P=(t=r[4])!=null?t:{}}var l=n.h;var s=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;registerHost(r,n);if(n.o&1){{if(!r.shadowRoot){createShadowRoot.call(r,n)}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.h,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;var r=getHostRef(this);if(!r){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,r,n.B)}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var r;var t=getHostRef(e);if(!t){return}var n=f.findIndex((function(r){return r===e}));if(n>-1){f.splice(n,1)}if(((r=t==null?void 0:t.O)==null?void 0:r.L)instanceof Node&&!t.O.L.isConnected){delete t.O.L}}))};r.prototype.componentOnReady=function(){var e;return(e=getHostRef(this))==null?void 0:e.p};return r}(HTMLElement);n.S=e[0];if(!i.includes(l)&&!a.get(l)){o.push(l);a.define(l,proxyComponent(s,n,1))}}))}));if(o.length>0){if(p){u.textContent+=SLOT_FB_CSS}{u.textContent+=o.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var d=(t=plt.C)!=null?t:queryNonceMetaTagContent(win.document);if(d!=null){u.setAttribute("nonce",d)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,r){return r};var addHostEventListeners=function(e,r,t,n){if(t&&win.document){t.map((function(t){var n=t[0],o=t[1],i=t[2];var a=getHostListenerTarget(win.document,e,n);var l=hostListenerProxy(r,i);var s=hostListenerOpts(n);plt.ael(a,o,l,s);(r.q=r.q||[]).push((function(){return plt.rel(a,o,l,s)}))}))}};var hostListenerProxy=function(e,r){return function(t){var n;try{{if(e.o&256){(n=e.t)==null?void 0:n[r](t)}else{(e.F=e.F||[]).push([r,t])}}}catch(r){consoleError(r,e.$hostElement$)}}};var getHostListenerTarget=function(e,r,t){if(t&4){return e}if(t&8){return win}return r};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.C=e};export{Fragment as F,Host as H,getElement as a,bootstrapLazy as b,createEvent as c,forceUpdate as f,globalFn as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o))e[o]=r[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function o(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):o(e.value).then(a,l)}s((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(r){return s([e,r])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,l[0]&&(t=0)),t)try{if(n=1,o&&(i=l[0]&2?o["return"]:l[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;if(o=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:t.label++;return{value:l[1],done:false};case 5:t.label++;o=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1];i=l;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(l);break}if(i[2])t.ops.pop();t.trys.pop();continue}l=r.call(e,t)}catch(e){l=[6,e];o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};var NAMESPACE="ripple";var BUILD={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var version="5.16.0-alpha.13";if(window.navigator.plugins.length>0){console.log("%cRipple component library %c%s","color: #575195; font-weight: bold","font-weight: bold",version)}function wmComponentKeys(e){if(e.key=="Tab"){var r=new Event("wmUserIsTabbing");window.dispatchEvent(r);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(e.key=="ArrowLeft"||e.key=="ArrowUp"||e.key=="ArrowRight"||e.key=="ArrowDown"){var r=new Event("wmUserIsKeying");window.dispatchEvent(r);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var e=new Event("wmUserIsNotTabbing");window.dispatchEvent(e);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",wmComponentKeys);window.addEventListener("mousedown",wmComponentMouseDownOnce);var tooltipContainer=document.createElement("div");tooltipContainer.id="wm-tooltip-container";var tooltipEl=document.createElement("div");tooltipEl.id="wm-tooltip";tooltipEl.classList.add("wm-tooltip");tooltipEl.setAttribute("popover","manual");tooltipEl.setAttribute("aria-hidden","true");var tooltipStyles=document.createElement("style");tooltipStyles.textContent="\n.wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: var(--wmcolor-tooltip-background);\n color: var(--wmcolor-tooltip-text);\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n inset: unset;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n border: none;\n}\n\n.wm-tooltip:popover-open {\n opacity: 0;\n}\n\n.wm-tooltip.show {\n transition-delay: 500ms;\n opacity: 1;\n}\n";document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);document.querySelector("body").appendChild(tooltipContainer);var globalFn=function(){};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,r){e.__stencil__getHostRef=function(){return r};r.t=e};var registerHost=function(e,r){var t={o:0,$hostElement$:e,i:r,l:new Map};{t.u=new Promise((function(e){return t.v=e}))}{t.p=new Promise((function(e){return t.m=e}));e["s-p"]=[];e["s-rc"]=[]}var n=t;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.h.replace(/-/g,"_");var o=e.S;if(!o){return void 0}var i=cmpModules.get(o);if(i){return i[n]}if(!t||!BUILD.hotModuleReplacement){var a=function(e){cmpModules.set(o,e);return e[n]};switch(o){case"wm-tag-option":return import("./wm-tag-option.entry.js").then(a,consoleError);case"wm-wrapper":return import("./wm-wrapper.entry.js").then(a,consoleError);case"wm-chart-slice":return import("./wm-chart-slice.entry.js").then(a,consoleError);case"wm-button":return import("./wm-button.entry.js").then(a,consoleError);case"wm-chart":return import("./wm-chart.entry.js").then(a,consoleError);case"wm-datepicker":return import("./wm-datepicker.entry.js").then(a,consoleError);case"wm-file":return import("./wm-file.entry.js").then(a,consoleError);case"wm-file-list":return import("./wm-file-list.entry.js").then(a,consoleError);case"wm-flyout":return import("./wm-flyout.entry.js").then(a,consoleError);case"wm-input":return import("./wm-input.entry.js").then(a,consoleError);case"wm-pagination":return import("./wm-pagination.entry.js").then(a,consoleError);case"wm-search":return import("./wm-search.entry.js").then(a,consoleError);case"wm-snackbar":return import("./wm-snackbar.entry.js").then(a,consoleError);case"wm-timepicker":return import("./wm-timepicker.entry.js").then(a,consoleError);case"wm-toggletip":return import("./wm-toggletip.entry.js").then(a,consoleError);case"wm-tag-input":return import("./wm-tag-input.entry.js").then(a,consoleError);case"wm-textarea":return import("./wm-textarea.entry.js").then(a,consoleError);case"wm-uploader":return import("./wm-uploader.entry.js").then(a,consoleError);case"wm-date-range":return import("./wm-date-range.entry.js").then(a,consoleError);case"wm-line-chart":return import("./wm-line-chart.entry.js").then(a,consoleError);case"wm-nested-select":return import("./wm-nested-select.entry.js").then(a,consoleError);case"wm-optgroup":return import("./wm-optgroup.entry.js").then(a,consoleError);case"priv-navigator-button":return import("./priv-navigator-button.entry.js").then(a,consoleError);case"priv-navigator-item":return import("./priv-navigator-item.entry.js").then(a,consoleError);case"priv-calendar":return import("./priv-calendar.entry.js").then(a,consoleError);case"priv-chart-popover":return import("./priv-chart-popover.entry.js").then(a,consoleError);case"priv-option-list":return import("./priv-option-list.entry.js").then(a,consoleError);case"wm-navigator":return import("./wm-navigator.entry.js").then(a,consoleError);case"wm-action-menu_2":return import("./wm-action-menu_2.entry.js").then(a,consoleError);case"wm-option_2":return import("./wm-option_2.entry.js").then(a,consoleError);case"wm-progress-indicator_3":return import("./wm-progress-indicator_3.entry.js").then(a,consoleError);case"wm-modal_3":return import("./wm-modal_3.entry.js").then(a,consoleError);case"wm-modal-pss_3":return import("./wm-modal-pss_3.entry.js").then(a,consoleError);case"wm-navigation_3":return import("./wm-navigation_3.entry.js").then(a,consoleError);case"wm-tab-item_3":return import("./wm-tab-item_3.entry.js").then(a,consoleError)}}return import("./".concat(o,".entry.js").concat("")).then((function(e){{cmpModules.set(o,e)}return e[n]}),(function(e){consoleError(e,r.$hostElement$)}))};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var plt={o:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var supportsListenerOptions=function(){var e;var r=false;try{(e=win.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(e){}return r}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var supportsMutableAdoptedStyleSheets=supportsConstructableStylesheets?function(){return!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable}():false;var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.o&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var escapeRegExpSpecialCharacters=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};function createStyleSheetIfNeededAndSupported(e){return void 0}var globalStyleSheet;function createShadowRoot(e){var r;var t=this.attachShadow({mode:"open",delegatesFocus:!!(e.o&16)});if(globalStyleSheet===void 0)globalStyleSheet=(r=createStyleSheetIfNeededAndSupported())!=null?r:null;if(globalStyleSheet){if(supportsMutableAdoptedStyleSheets){t.adoptedStyleSheets.push(globalStyleSheet)}else{t.adoptedStyleSheets=__spreadArray(__spreadArray([],t.adoptedStyleSheets,true),[globalStyleSheet],false)}}}var updateFallbackSlotVisibility=function(e){var r=internalCall(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){getHostSlotNodes(r,e.tagName).forEach((function(e){if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(getSlotChildSiblings(e,getSlotName(e),false).length){e.hidden=true}else{e.hidden=false}}}))}var t=0;for(t=0;t<r.length;t++){var n=r[t];if(n.nodeType===1&&internalCall(n,"childNodes").length){updateFallbackSlotVisibility(n)}}};var getSlottedChildNodes=function(e){var r=[];for(var t=0;t<e.length;t++){var n=e[t]["s-nr"]||void 0;if(n&&n.isConnected){r.push(n)}}return r};function getHostSlotNodes(e,r,t){var n=0;var o=[];var i;for(;n<e.length;n++){i=e[n];if(i["s-sr"]&&(!r||i["s-hn"]===r)&&t===void 0){o.push(i)}o=__spreadArray(__spreadArray([],o,true),getHostSlotNodes(i.childNodes,r,t),true)}return o}var getSlotChildSiblings=function(e,r,t){if(t===void 0){t=true}var n=[];if(t&&e["s-sr"]||!e["s-sr"])n.push(e);var o=e;while(o=o.nextSibling){if(getSlotName(o)===r&&(t||!o["s-sr"]))n.push(o)}return n};var isNodeLocatedInSlot=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var getSlotName=function(e){return typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0};function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;var r=function(r){return function(e){var t=[];var n=this["s-sn"];if(e==null?void 0:e.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var o=this["s-cr"].parentElement;var i=o.__childNodes?o.childNodes:getSlottedChildNodes(o.childNodes);i.forEach((function(e){if(n===getSlotName(e)){t.push(e)}}));if(r){return t.filter((function(e){return e.nodeType===1}))}return t}.bind(e)};e.assignedElements=r(true);e.assignedNodes=r(false)}function internalCall(e,r){if("__"+r in e){var t=e["__"+r];if(typeof t!=="function")return t;return t.bind(e)}else{if(typeof e[r]!=="function")return e[r];return e[r].bind(e)}}var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var o=getScopeId(r);var i=styles.get(o);if(!win.document){return o}e=e.nodeType===11?e:win.document;if(i){if(typeof i==="string"){e=e.head||e;var a=rootAppliedStyles.get(e);var l=void 0;if(!a){rootAppliedStyles.set(e,a=new Set)}if(!a.has(o)){{l=win.document.createElement("style");l.innerHTML=i;var s=(n=plt.C)!=null?n:queryNonceMetaTagContent(win.document);if(s!=null){l.setAttribute("nonce",s)}if(!(r.o&1)){if(e.nodeName==="HEAD"){var u=e.querySelectorAll("link[rel=preconnect]");var f=u.length>0?u[u.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(i);if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.unshift(c)}else{e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(l)}}}else{e.append(l)}}if(r.o&1){e.insertBefore(l,null)}}if(r.o&4){l.innerHTML+=SLOT_FB_CSS}if(a){a.add(o)}}}else if(!e.adoptedStyleSheets.includes(i)){if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.push(i)}else{e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}}return o};var attachStyles=function(e){var r=e.i;var t=e.$hostElement$;var n=r.o;var o=createTime("attachStyles",r.h);var i=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}o()};var getScopeId=function(e,r){return"sc-"+e.h};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var o=null;var i=null;var a=null;var l=false;var s=false;var u=[];var f=function(r){for(var t=0;t<r.length;t++){o=r[t];if(Array.isArray(o)){f(o)}else if(o!=null&&typeof o!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(o)){o=String(o)}if(l&&s){u[u.length-1].N+=o}else{u.push(l?newVNode(null,o):o)}s=l}}};f(t);if(r){if(r.key){i=r.key}if(r.name){a=r.name}{var c=r.className||r.class;if(c){r.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,u,vdomFnUtils)}var v=newVNode(e,null);v.k=r;if(u.length>0){v.T=u}{v.R=i}{v.j=a}return v};var newVNode=function(e,r){var t={o:0,A:e,N:r,L:null,T:null};{t.k=null}{t.R=null}{t.j=null}return t};var Host={};var isHost=function(e){return e&&e.A===Host};var vdomFnUtils={forEach:function(e,r){return e.map(convertToPublic).forEach(r)},map:function(e,r){return e.map(convertToPublic).map(r).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.k,vchildren:e.T,vkey:e.R,vname:e.j,vtag:e.A,vtext:e.N}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var r=__assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[],false))}var t=newVNode(e.vtag,e.vtext);t.k=e.vattrs;t.T=e.vchildren;t.R=e.vkey;t.j=e.vname;return t};var createSupportsRuleRe=function(e){var r=escapeRegExpSpecialCharacters(e);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(r,"))(").concat(r,"\\b)"),"g")};createSupportsRuleRe("::slotted");createSupportsRuleRe(":host");createSupportsRuleRe(":host-context");var parsePropertyValue=function(e,r,t){if(typeof e==="string"&&(r&16||r&8)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))){try{return JSON.parse(e)}catch(e){}}if(e!=null&&!isComplexType(e)){if(r&4){{return e==="false"?false:e===""||!!e}}if(r&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(r&1){return String(e)}return e}return e};var getElement=function(e){var r;return(r=getHostRef(e))==null?void 0:r.$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var setAccessor=function(e,r,t,n,o,i,a){if(t===n){return}var l=isMemberInElement(e,r);var s=r.toLowerCase();if(r==="class"){var u=e.classList;var f=parseClassList(t);var c=parseClassList(n);{u.remove.apply(u,f.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!f.includes(e)})))}}else if(r==="style"){{for(var v in t){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!t||n[v]!==t[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!l&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,s)){r=s.slice(2)}else{r=s[2]+r.slice(3)}if(t||n){var p=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,p)}if(n){plt.ael(e,r,n,p)}}}else{var d=isComplexType(n);if((l||d&&n!==null)&&!o){try{if(!e.tagName.includes("-")){var m=n==null?"":n;if(r==="list"){l=false}else if(t==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}else if(e[r]!==n){e[r]=n}}catch(e){}}var w=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){r=s;w=true}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){if(w){e.removeAttributeNS(XLINK_NS,r)}else{e.removeAttribute(r)}}}else if((!l||i&4||o)&&!d&&e.nodeType===1){n=n===true?"":n;if(w){e.setAttributeNS(XLINK_NS,r,n)}else{e.setAttribute(r,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t,n){var o=r.L.nodeType===11&&r.L.host?r.L.host:r.L;var i=e&&e.k||{};var a=r.k||{};{for(var l=0,s=sortedAttrNames(Object.keys(i));l<s.length;l++){var u=s[l];if(!(u in a)){setAccessor(o,u,i[u],void 0,t,r.o)}}}for(var f=0,c=sortedAttrNames(Object.keys(a));f<c.length;f++){var u=c[f];setAccessor(o,u,i[u],a[u],t,r.o)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,r,t){var n;var o=r.T[t];var i=0;var a;var l;var s;if(!useNativeShadowDom){checkSlotRelocate=true;if(o.A==="slot"){o.o|=o.T?2:1}}if(o.N!==null){a=o.L=win.document.createTextNode(o.N)}else if(o.o&1){a=o.L=win.document.createTextNode("");{updateElement(null,o,isSvgMode)}}else{if(!isSvgMode){isSvgMode=o.A==="svg"}if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=o.L=win.document.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&o.o&2?"slot-fb":o.A);if(isSvgMode&&o.A==="foreignObject"){isSvgMode=false}{updateElement(null,o,isSvgMode)}if(o.T){for(i=0;i<o.T.length;++i){l=createElm(e,o,i);if(l){a.appendChild(l)}}}{if(o.A==="svg"){isSvgMode=false}else if(a.tagName==="foreignObject"){isSvgMode=true}}}a["s-hn"]=hostTagName;{if(o.o&(2|1)){a["s-sr"]=true;a["s-cr"]=contentRef;a["s-sn"]=o.j||"";a["s-rf"]=(n=o.k)==null?void 0:n.ref;patchSlotNode(a);s=e&&e.T&&e.T[t];if(s&&s.A===o.A&&e.L){{putBackInOriginalLocation(e.L,false)}}}}return a};var putBackInOriginalLocation=function(e,r){plt.o|=1;var t=Array.from(e.__childNodes||e.childNodes);for(var n=t.length-1;n>=0;n--){var o=t[n];if(o["s-hn"]!==hostTagName&&o["s-ol"]){insertBefore(referenceNode(o).parentNode,o,referenceNode(o));o["s-ol"].remove();o["s-ol"]=void 0;o["s-sh"]=void 0;checkSlotRelocate=true}if(r){putBackInOriginalLocation(o,r)}}plt.o&=-2};var addVnodes=function(e,r,t,n,o,i){var a=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(a.shadowRoot&&a.tagName===hostTagName){a=a.shadowRoot}for(;o<=i;++o){if(n[o]){l=createElm(null,t,o);if(l){n[o].L=l;insertBefore(a,l,referenceNode(r))}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var o=e[n];if(o){var i=o.L;nullifyVNodeRefs(o);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,r,t,n,o){if(o===void 0){o=false}var i=0;var a=0;var l=0;var s=0;var u=r.length-1;var f=r[0];var c=r[u];var v=n.length-1;var p=n[0];var d=n[v];var m;var w;while(i<=u&&a<=v){if(f==null){f=r[++i]}else if(c==null){c=r[--u]}else if(p==null){p=n[++a]}else if(d==null){d=n[--v]}else if(isSameVnode(f,p,o)){patch(f,p,o);f=r[++i];p=n[++a]}else if(isSameVnode(c,d,o)){patch(c,d,o);c=r[--u];d=n[--v]}else if(isSameVnode(f,d,o)){if(f.A==="slot"||d.A==="slot"){putBackInOriginalLocation(f.L.parentNode,false)}patch(f,d,o);insertBefore(e,f.L,c.L.nextSibling);f=r[++i];d=n[--v]}else if(isSameVnode(c,p,o)){if(f.A==="slot"||d.A==="slot"){putBackInOriginalLocation(c.L.parentNode,false)}patch(c,p,o);insertBefore(e,c.L,f.L);c=r[--u];p=n[++a]}else{l=-1;{for(s=i;s<=u;++s){if(r[s]&&r[s].R!==null&&r[s].R===p.R){l=s;break}}}if(l>=0){w=r[l];if(w.A!==p.A){m=createElm(r&&r[a],t,l)}else{patch(w,p,o);r[l]=void 0;m=w.L}p=n[++a]}else{m=createElm(r&&r[a],t,a);p=n[++a]}if(m){{insertBefore(referenceNode(f.L).parentNode,m,referenceNode(f.L))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].L,t,n,a,v)}else if(a>v){removeVnodes(r,i,u)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.A===r.A){if(e.A==="slot"){return e.j===r.j}if(!t){return e.R===r.R}if(t&&!e.R&&r.R){e.R=r.R}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.L=e.L;var o=e.T;var i=r.T;var a=r.A;var l=r.N;var s;if(l===null){{isSvgMode=a==="svg"?true:a==="foreignObject"?false:isSvgMode}{updateElement(e,r,isSvgMode)}if(o!==null&&i!==null){updateChildren(n,o,r,i,t)}else if(i!==null){if(e.N!==null){n.textContent=""}addVnodes(n,null,r,i,0,i.length-1)}else if(!t&&BUILD.updatable&&o!==null){removeVnodes(o,0,o.length-1)}else;if(isSvgMode&&a==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.N!==l){n.data=l}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var r;var t;var n;var o=e.__childNodes||e.childNodes;for(var i=0,a=o;i<a.length;i++){var l=a[i];if(l["s-sr"]&&(r=l["s-cr"])&&r.parentNode){t=r.parentNode.__childNodes||r.parentNode.childNodes;var s=l["s-sn"];var u=function(){r=t[n];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==l["s-hn"]&&true){if(isNodeLocatedInSlot(r,s)){var e=relocateNodes.find((function(e){return e.M===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||s;if(e){e.M["s-sh"]=l["s-hn"];e.V=l}else{r["s-sh"]=l["s-hn"];relocateNodes.push({V:l,M:r})}if(r["s-sr"]){relocateNodes.map((function(t){if(isNodeLocatedInSlot(t.M,r["s-sn"])){e=relocateNodes.find((function(e){return e.M===r}));if(e&&!t.V){t.V=e.V}}}))}}else if(!relocateNodes.some((function(e){return e.M===r}))){relocateNodes.push({M:r})}}};for(n=t.length-1;n>=0;n--){u()}}if(l.nodeType===1){markSlotContentForRelocation(l)}}};var nullifyVNodeRefs=function(e){{e.k&&e.k.ref&&e.k.ref(null);e.T&&e.T.map(nullifyVNodeRefs)}};var insertBefore=function(e,r,t){{return e==null?void 0:e.insertBefore(r,t)}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n,o,i,a;var l=e.$hostElement$;var s=e.i;var u=e.O||newVNode(null,null);var f=isHost(r);var c=f?r:h(null,null,r);hostTagName=l.tagName;if(s.H){c.k=c.k||{};s.H.map((function(e){var r=e[0],t=e[1];return c.k[t]=l[r]}))}if(t&&c.k){for(var v=0,p=Object.keys(c.k);v<p.length;v++){var d=p[v];if(l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){c.k[d]=l[d]}}}c.A=null;c.o|=4;e.O=c;c.L=u.L=l.shadowRoot||l;useNativeShadowDom=!!(s.o&1)&&!(s.o&128);{contentRef=l["s-cr"];checkSlotFallbackVisibility=false}patch(u,c,t);{plt.o|=1;if(checkSlotRelocate){markSlotContentForRelocation(c.L);for(var m=0,w=relocateNodes;m<w.length;m++){var y=w[m];var g=y.M;if(!g["s-ol"]&&win.document){var S=win.document.createTextNode("");S["s-nr"]=g;insertBefore(g.parentNode,g["s-ol"]=S,g)}}for(var b=0,E=relocateNodes;b<E.length;b++){var y=E[b];var g=y.M;var _=y.V;if(_){var C=_.parentNode;var N=_.nextSibling;{var S=(n=g["s-ol"])==null?void 0:n.previousSibling;while(S){var k=(o=S["s-nr"])!=null?o:null;if(k&&k["s-sn"]===g["s-sn"]&&C===(k.__parentNode||k.parentNode)){k=k.nextSibling;while(k===g||(k==null?void 0:k["s-sr"])){k=k==null?void 0:k.nextSibling}if(!k||!k["s-nr"]){N=k;break}}S=S.previousSibling}}var T=g.__parentNode||g.parentNode;var R=g.__nextSibling||g.nextSibling;if(!N&&C!==T||R!==N){if(g!==N){if(!g["s-hn"]&&g["s-ol"]){g["s-hn"]=g["s-ol"].parentNode.nodeName}insertBefore(C,g,N);if(g.nodeType===1&&g.tagName!=="SLOT-FB"){g.hidden=(i=g["s-ih"])!=null?i:false}}}g&&typeof _["s-rf"]==="function"&&_["s-rf"](_)}else{if(g.nodeType===1){if(t){g["s-ih"]=(a=g.hidden)!=null?a:false}g.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(c.L)}plt.o&=-2;relocateNodes.length=0}contentRef=void 0};var attachToAncestor=function(e,r){if(r&&!e.I&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.I=function(){r["s-p"].splice(t-1,1);n()}})))}};var scheduleUpdate=function(e,r){{e.o|=16}if(e.o&4){e.o|=512;return}attachToAncestor(e,e.$);var t=function(){return dispatchHooks(e,r)};if(r){queueMicrotask((function(){t()}));return}return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.i.h);var o=e.t;if(!o){throw new Error("Can't render component <".concat(t.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(r){{e.o|=256;if(e.F){e.F.map((function(e){var r=e[0],n=e[1];return safeCall(o,r,n,t)}));e.F=void 0}}i=safeCall(o,"componentWillLoad",void 0,t)}else{i=safeCall(o,"componentWillUpdate",void 0,t)}i=enqueue(i,(function(){return safeCall(o,"componentWillRender",void 0,t)}));n();return enqueue(i,(function(){return updateComponent(e,o,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,l,s,u;return __generator(this,(function(f){o=e.$hostElement$;i=createTime("update",e.i.h);a=o["s-rc"];if(t){attachStyles(e)}l=createTime("render",e.i.h);{callRender(e,r,o,t)}if(a){a.map((function(e){return e()}));o["s-rc"]=void 0}l();i();{s=(n=o["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.o|=4;s.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render&&r.render();{e.o&=-17}{e.o|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.i.h;var t=e.$hostElement$;var n=createTime("postUpdate",r);var o=e.t;var i=e.$;safeCall(o,"componentDidRender",void 0,t);if(!(e.o&64)){e.o|=64;{addHydratedFlag(t)}safeCall(o,"componentDidLoad",void 0,t);n();{e.m(t);if(!i){appDidLoad()}}}else{safeCall(o,"componentDidUpdate",void 0,t);n()}{e.v(t)}{if(e.I){e.I();e.I=void 0}if(e.o&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.o&=-517}};var forceUpdate=function(e){var r;{var t=getHostRef(e);var n=(r=t==null?void 0:t.$hostElement$)==null?void 0:r.isConnected;if(n&&(t.o&(2|16))===2){scheduleUpdate(t,false)}return n}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t,n){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var r;return e.classList.add((r=BUILD.hydratedSelectorName)!=null?r:"hydrated")};var getValue=function(e,r){return getHostRef(e).l.get(r)};var setValue=function(e,r,t,n){var o=getHostRef(e);if(!o){return}if(!o){throw new Error("Couldn't find host element for \"".concat(n.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var i=o.$hostElement$;var a=o.l.get(r);var l=o.o;var s=o.t;t=parsePropertyValue(t,n.U[r][0]);var u=Number.isNaN(a)&&Number.isNaN(t);var f=t!==a&&!u;if((!(l&8)||a===void 0)&&f){o.l.set(r,t);if(s){if(n.P&&l&128){var c=n.P[r];if(c){c.map((function(e){try{s[e](t,a,r)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){if(s.componentShouldUpdate){if(s.componentShouldUpdate(t,a,r)===false){return}}scheduleUpdate(o,false)}}}};var proxyComponent=function(e,r,t){var n,o;var i=e.prototype;if(r.U||(r.P||e.watchers)){if(e.watchers&&!r.P){r.P=e.watchers}var a=Object.entries((n=r.U)!=null?n:{});a.map((function(e){var n=e[0],o=e[1][0];if(o&31||t&2&&o&32){var a=Object.getOwnPropertyDescriptor(i,n)||{},l=a.get,s=a.set;if(l)r.U[n][0]|=2048;if(s)r.U[n][0]|=4096;if(t&1||!l){Object.defineProperty(i,n,{get:function(){{if((r.U[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var t=e?e.t:i;if(!t)return;return t[n]}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var a=getHostRef(this);if(!a){return}if(s){var l=o&32?this[n]:a.$hostElement$[n];if(typeof l==="undefined"&&a.l.get(n)){e=a.l.get(n)}else if(!a.l.get(n)&&l){a.l.set(n,l)}s.apply(this,[parsePropertyValue(e,o)]);e=o&32?this[n]:a.$hostElement$[n];setValue(this,n,e,r);return}{if((t&1)===0||(r.U[n][0]&4096)===0){setValue(this,n,e,r);if(t&1&&!a.t){a.p.then((function(){if(r.U[n][0]&4096&&a.t[n]!==a.l.get(n)){a.t[n]=e}}))}return}var u=function(){var t=a.t[n];if(!a.l.get(n)&&t){a.l.set(n,t)}a.t[n]=parsePropertyValue(e,o);setValue(i,n,a.t[n],r)};if(a.t){u()}else{a.p.then((function(){return u()}))}}}})}else if(t&1&&o&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var o=getHostRef(this);return(t=o==null?void 0:o.u)==null?void 0:t.then((function(){var r;return(r=o.t)==null?void 0:r[n].apply(r,e)}))}})}}));if(t&1){var l=new Map;i.attributeChangedCallback=function(e,t,n){var o=this;plt.jmp((function(){var a;var s=l.get(e);if(o.hasOwnProperty(s)&&BUILD.lazyLoad){n=o[s];delete o[s]}else if(i.hasOwnProperty(s)&&typeof o[s]==="number"&&o[s]==n){return}else if(s==null){var u=getHostRef(o);var f=u==null?void 0:u.o;if(u&&f&&!(f&8)&&f&128&&n!==t){var c=u.t;var v=(a=r.P)==null?void 0:a[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}var p=Object.getOwnPropertyDescriptor(i,s);n=n===null&&typeof o[s]==="boolean"?false:n;if(n!==o[s]&&(!p.get||!!p.set)){o[s]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((o=r.P)!=null?o:{}),true),a.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var o;var i=n[1]||t;l.set(i,t);if(n[0]&512){(o=r.H)==null?void 0:o.push([t,i])}return i})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,l,s,u,f,c,v,p;return __generator(this,(function(d){switch(d.label){case 0:if(!((r.o&32)===0))return[3,6];r.o|=32;o=t.S;if(!o)return[3,4];i=loadModule(t,r);if(!(i&&"then"in i))return[3,2];a=uniqueTime();return[4,i];case 1:n=d.sent();a();return[3,3];case 2:n=i;d.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(r.D,'" was not found'))}if(!n.isProxied){{t.P=n.watchers}proxyComponent(n,t,2);n.isProxied=true}l=createTime("createInstance",t.h);{r.o|=8}try{new n(r)}catch(r){consoleError(r,e)}{r.o&=-9}{r.o|=128}l();fireConnectedCallback(r.t,e);return[3,5];case 4:n=e.constructor;s=e.localName;customElements.whenDefined(s).then((function(){return r.o|=128}));d.label=5;case 5:if(n&&n.style){u=void 0;if(typeof n.style==="string"){u=n.style}f=getScopeId(t);if(!styles.has(f)){c=createTime("registerStyles",t.h);registerStyle(f,u,!!(t.o&1));c()}}d.label=6;case 6:v=r.$;p=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(p)}else{p()}return[2]}}))}))};var fireConnectedCallback=function(e,r){{safeCall(e,"connectedCallback",void 0,r)}};var connectedCallback=function(e){if((plt.o&1)===0){var r=getHostRef(e);if(!r){return}var t=r.i;var n=createTime("connectedCallback",t.h);if(!(r.o&1)){r.o|=1;{if(t.o&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o["s-p"]){attachToAncestor(r,r.$=o);break}}}if(t.U){Object.entries(t.U).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var o=e[t];delete e[t];e[t]=o}}))}{initializeComponent(e,r,t)}}else{addHostEventListeners(e,r,t.B);if(r==null?void 0:r.t){fireConnectedCallback(r.t,e)}else if(r==null?void 0:r.p){r.p.then((function(){return fireConnectedCallback(r.t,e)}))}}n()}};var setContentReference=function(e){if(!win.document){return}var r=e["s-cr"]=win.document.createComment("");r["s-cn"]=true;insertBefore(e,r,e.firstChild)};var disconnectInstance=function(e,r){{safeCall(e,"disconnectedCallback",void 0,r||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.o&1)===0){r=getHostRef(e);{if(r==null?void 0:r.q){r.q.map((function(e){return e()}));r.q=void 0}}if(r==null?void 0:r.t){disconnectInstance(r.t,e)}else if(r==null?void 0:r.p){r.p.then((function(){return disconnectInstance(r.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var o=[];var i=r.exclude||[];var a=win.customElements;var l=win.document.head;var s=l.querySelector("meta[charset]");var u=win.document.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt._=new URL(r.resourcesUrl||"./",win.document.baseURI).href;var p=false;e.map((function(e){e[1].map((function(r){var t;var n={o:r[0],h:r[1],U:r[2],B:r[3]};if(n.o&4){p=true}{n.U=r[2]}{n.B=r[3]}{n.H=[]}{n.P=(t=r[4])!=null?t:{}}var l=n.h;var s=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;registerHost(r,n);if(n.o&1){{if(!r.shadowRoot){createShadowRoot.call(r,n)}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.h,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;var r=getHostRef(this);if(!r){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,r,n.B)}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var r;var t=getHostRef(e);if(!t){return}var n=f.findIndex((function(r){return r===e}));if(n>-1){f.splice(n,1)}if(((r=t==null?void 0:t.O)==null?void 0:r.L)instanceof Node&&!t.O.L.isConnected){delete t.O.L}}))};r.prototype.componentOnReady=function(){var e;return(e=getHostRef(this))==null?void 0:e.p};return r}(HTMLElement);n.S=e[0];if(!i.includes(l)&&!a.get(l)){o.push(l);a.define(l,proxyComponent(s,n,1))}}))}));if(o.length>0){if(p){u.textContent+=SLOT_FB_CSS}{u.textContent+=o.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var d=(t=plt.C)!=null?t:queryNonceMetaTagContent(win.document);if(d!=null){u.setAttribute("nonce",d)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,r){return r};var addHostEventListeners=function(e,r,t,n){if(t&&win.document){t.map((function(t){var n=t[0],o=t[1],i=t[2];var a=getHostListenerTarget(win.document,e,n);var l=hostListenerProxy(r,i);var s=hostListenerOpts(n);plt.ael(a,o,l,s);(r.q=r.q||[]).push((function(){return plt.rel(a,o,l,s)}))}))}};var hostListenerProxy=function(e,r){return function(t){var n;try{{if(e.o&256){(n=e.t)==null?void 0:n[r](t)}else{(e.F=e.F||[]).push([r,t])}}}catch(r){consoleError(r,e.$hostElement$)}}};var getHostListenerTarget=function(e,r,t){if(t&4){return e}if(t&8){return win}return r};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.C=e};export{Fragment as F,Host as H,getElement as a,bootstrapLazy as b,createEvent as c,forceUpdate as f,globalFn as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,a,t,i){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,l){function o(e){try{d(i.next(e))}catch(e){l(e)}}function r(e){try{d(i["throw"](e))}catch(e){l(e)}}function d(e){e.done?t(e.value):n(e.value).then(o,r)}d((i=i.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,n,l,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(e){return function(a){return d([e,a])}}function d(r){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(t=0)),t)try{if(i=1,n&&(l=r[0]&2?n["return"]:r[0]?n["throw"]||((l=n["return"])&&l.call(n),0):n.next)&&!(l=l.call(n,r[1])).done)return l;if(n=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:t.label++;return{value:r[1],done:false};case 5:t.label++;n=r[1];r=[0];continue;case 7:r=t.ops.pop();t.trys.pop();continue;default:if(!(l=t.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){t.label=r[1];break}if(r[0]===6&&t.label<l[1]){t.label=l[1];l=r;break}if(l&&t.label<l[2]){t.label=l[2];t.ops.push(r);break}if(l[2])t.ops.pop();t.trys.pop();continue}r=a.call(e,t)}catch(e){r=[6,e];n=0}finally{i=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-BmU89qgm.js";export{s as setNonce}from"./index-BmU89qgm.js";import{g as globalScripts}from"./app-globals-C7MKvxOg.js";var defineCustomElements=function(e,a){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy(JSON.parse('[["wm-tab-item_3",[[273,"wm-tab-list",{"customBackground":[1,"custom-background"],"customPadding":[1,"custom-padding"],"selectedTab":[1,"selected-tab"]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"keydownOnTabItem","handleKeydown"]],{"selectedTab":["setSelected"]}],[273,"wm-tab-item",{"selected":[4],"show":[4],"tabId":[1,"tab-id"]}],[256,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]}]]],["wm-file",[[273,"wm-file",{"name":[1],"type":[1],"fileActions":[1,"file-actions"],"lastUpdated":[1,"last-updated"],"progress":[514],"size":[1],"uploadedBy":[1,"uploaded-by"],"errorMessage":[1,"error-message"],"showInfo":[1025,"show-info"]}]]],["wm-modal-pss_3",[[256,"wm-modal-pss-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[256,"wm-modal-pss-header",{"heading":[1],"subheading":[1]}],[256,"wm-modal-pss",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},[[0,"click","handleClick"],[0,"keydown","closeModalOnEscape"]],{"open":["toggleModal"]}]]],["wm-modal_3",[[256,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[256,"wm-modal-header",{"heading":[1],"subheading":[1]}],[260,"wm-modal",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"returnFocusEl":[32],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},null,{"open":["toggleModal"]}]]],["wm-navigator",[[273,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"itemIndexToFocus":[32]},[[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]],{"products":["parseData"]}]]],["wm-optgroup",[[273,"wm-optgroup",{"label":[1],"isExpanded":[1028,"is-expanded"],"multiple":[1028],"disabled":[4],"emitDeselection":[64],"handleChildChange":[64]},[[0,"wmKeyLeftPressed","handleOptionKeyLeft"]],{"isExpanded":["isExpandedChanged"]}]]],["wm-navigation_3",[[273,"wm-navigation",{"open":[1540]},[[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]],{"open":["handleStateChange"]}],[273,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[273,"wm-navigation-item",{"href":[1],"text":[1],"active":[4]}]]],["wm-progress-indicator_3",[[273,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"isTabbing":[32],"mode":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]],{"mode":["handleModeUpdate"]}],[273,"wm-progress-monitor",{"breakpoint":[8],"groupLegend":[1,"group-legend"],"barLabelsWidth":[1,"bar-labels-width"]}],[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-chart",[[273,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"labelWidth":[1,"label-width"],"subinfo":[1],"valueFormat":[1,"value-format"],"showGrid":[4,"show-grid"],"showLegend":[4,"show-legend"],"showBarLegend":[4,"show-bar-legend"],"notStartedColor":[4,"not-started-color"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"labelPosition":[1,"label-position"],"isTabbing":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["wm-date-range",[[273,"wm-date-range",{"dateFormat":[1,"date-format"],"disabled":[4],"errorMessage":[513,"error-message"],"invalidStart":[4,"invalid-start"],"invalidEnd":[4,"invalid-end"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"preselected":[1],"requiredField":[4,"required-field"],"valueStart":[1025,"value-start"],"valueEnd":[1025,"value-end"],"availSpace":[32],"isExpanded":[32],"reformatDate":[64],"isValidISO":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"],[0,"outOfCal","handleOutOfCal"],[0,"cellHovered","handleCellHovered"],[9,"resize","setAvailSpace"]],{"disabled":["handleDisabled"],"valueStart":["updateValueStart"],"valueEnd":["updateValueEnd"],"errorMessage":["handleErrorMessage"]}]]],["wm-datepicker",[[273,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1,"label-position"],"label":[1],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"reformatDate":[64],"isValidIso":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"cellTriggered","handleCellTriggered"]],{"disabled":["handleDisabledChange"],"value":["updateValue"],"errorMessage":["announceError"]}]]],["wm-flyout",[[257,"wm-flyout",{"eyebrow":[1],"heading":[1],"subheading":[1],"flyoutWidth":[1,"flyout-width"],"primaryText":[1,"primary-text"],"secondaryText":[1,"secondary-text"],"infoText":[1,"info-text"],"breadcrumb":[1],"elementToFocus":[1,"element-to-focus"],"open":[516],"returnFocusEl":[32],"isBreadcrumbsOverflowing":[32],"focusHeading":[64]},null,{"open":["handleOpenChange"],"flyoutWidth":["setFlyoutWidth"]}]]],["wm-line-chart",[[257,"wm-line-chart",{"label":[1],"description":[1],"xAxisLabel":[1,"x-axis-label"],"yAxisLabel":[1,"y-axis-label"],"lineData":[513,"line-data"],"units":[1],"labelWidth":[1,"label-width"],"highlightQualifier":[1,"highlight-qualifier"],"highlightStart":[1,"highlight-start"],"highlightEnd":[1,"highlight-end"],"visibilityToggles":[4,"visibility-toggles"],"showDeltas":[4,"show-deltas"],"yRange":[1,"y-range"],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"intervalSkip":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"],"intervalSkip":["handleIntervalSkip"]}]]],["wm-search",[[273,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"announcement":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"numResults":["handleNumResultsUpdate"],"disabled":["handleDisabledChange"]}]]],["wm-chart-slice",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-file-list",[[273,"wm-file-list",{"showInfo":[1,"show-info"]}]]],["wm-input",[[273,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"inputWidth":[1,"input-width"],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"symbolBefore":[1,"symbol-before"],"symbolAfter":[1,"symbol-after"],"textAfter":[1,"text-after"],"type":[1],"step":[2],"min":[2],"max":[2],"isSubmit":[4,"is-submit"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-nested-select",[[273,"wm-nested-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"constrainedMaxHeight":[1025,"constrained-max-height"],"isExpanded":[32],"showClearSelectionButton":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"keydown","handleKeyDown"],[6,"click","handleClick"],[0,"optgroupExpanded","handleOptgroupExpanded"],[0,"optgroupHidden","handleOptgroupHidden"]]]]],["wm-pagination",[[273,"wm-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeSize":[4,"is-large-size"],"srAnnouncement":[32]},null,{"totalItems":["calculateTotalPages"],"itemsPerPage":["calculateTotalPages"]}]]],["wm-snackbar",[[257,"wm-snackbar",{"notifications":[1537],"isTabbing":[32],"announcement":[32]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]],{"notifications":["updateSnacks"]}]]],["wm-tag-input",[[273,"wm-tag-input",{"label":[1],"errorMessage":[1,"error-message"],"info":[1],"labelPosition":[1,"label-position"],"maxTags":[2,"max-tags"],"placeholder":[1025],"requiredField":[4,"required-field"],"tagInputType":[1,"tag-input-type"],"helpText":[1,"help-text"],"addNew":[4,"add-new"],"characterLimit":[2,"character-limit"],"colHeaders":[1,"col-headers"],"colWidths":[1,"col-widths"],"colWrap":[1,"col-wrap"],"isKeying":[32],"isExpanded":[32],"liveRegionMessage":[32],"focusedOption":[32],"focusedColumn":[32],"focusedTagIndex":[32],"tagsList":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"privTagOptionSelected","handleTagOptionSelected"],[0,"privTagOptionDeselected","handleTagOptionDeselected"],[4,"click","handleClick"],[11,"scroll","dismissTooltip"],[0,"blur","handleBlur"]],{"errorMessage":["announceError"]}]]],["wm-tag-option",[[0,"wm-tag-option",{"selected":[1540],"locked":[4],"col1":[1],"col2":[1],"col3":[1],"col4":[1],"emitSelectedEvent":[64],"emitDeselectedEvent":[64]},null,{"selected":["handleSelected"]}]]],["wm-textarea",[[257,"wm-textarea",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"inputWidth":[1,"input-width"],"inputHeight":[1,"input-height"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-timepicker",[[273,"wm-timepicker",{"disabled":[4],"value":[1025],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"isValidTime":[64],"reformatTime":[64]},[[0,"keydown","handleKey"]],{"disabled":["handleDisabledChange"],"value":["handleValueChange"],"errorMessage":["announceError"]}]]],["wm-toggletip",[[273,"wm-toggletip",{"label":[1],"tooltip":[1],"tooltipPosition":[1,"tooltip-position"],"targetSize":[1,"target-size"],"toggletipType":[1,"toggletip-type"],"isHidden":[32]},[[9,"resize","handleResize"],[0,"keydown","handleKeydown"],[4,"click","handleClick"]]]]],["wm-uploader",[[273,"wm-uploader",{"label":[1],"uploaderType":[1,"uploader-type"],"dropArea":[1,"drop-area"],"buttonText":[1,"button-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1,"max-size"],"maxFiles":[2,"max-files"],"errorMessage":[1,"error-message"],"requiredField":[4,"required-field"],"showInfo":[1,"show-info"],"isTabbing":[32],"notif":[32],"isCondensed":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmFileErrorCleared","handleFileErrorCleared"],[0,"wmFileDelete","storeDeletedId"],[5,"dragenter","handleDocumentDragEnter"],[5,"mouseout","handleDocumentMouseOut"],[5,"dragleave","handleDocumentDragLeave"],[4,"visibilitychange","handleDocumentVisibilityChange"]],{"errorMessage":["announceError"]}]]],["wm-wrapper",[[256,"wm-wrapper"]]],["priv-navigator-button",[[273,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"]}]]],["priv-navigator-item",[[257,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["wm-action-menu_2",[[273,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"darkMode":[4,"dark-mode"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[257,"wm-menuitem",{"disabled":[4],"icon":[1025],"description":[1]},[[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]],{"disabled":["setOnClick"]}]]],["priv-calendar",[[256,"priv-calendar",{"disabled":[4],"view":[1025],"focusDate":[1025,"focus-date"],"startDate":[1,"start-date"],"endDate":[1,"end-date"],"hoverDate":[1,"hover-date"],"focusFirstFocusable":[64],"focusLastFocusable":[64],"focusCell":[64]},[[0,"keydown","handleKey"]],{"focusDate":["handleFocusDate"]}]]],["priv-chart-popover",[[256,"priv-chart-popover",{"open":[1028],"sliceDetails":[16,"slice-details"]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]],["priv-option-list",[[260,"priv-option-list",{"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"searchPlaceholder":[1,"search-placeholder"],"optgroupLabel":[1,"optgroup-label"],"maxHeight":[1,"max-height"],"upwardsHeightLimit":[2,"upwards-height-limit"],"announcement":[32],"searchTerm":[32],"handleChildChange":[64],"clearSearch":[64],"focusOption":[64],"handleInitialFocus":[64],"unfocusAll":[64],"updateOptionVisibility":[64]},[[0,"wmLetterPressed","findAndFocusOption"],[0,"wmOptionSelected","handleOptionSelection"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstOption"],[0,"wmEndKeyPressed","moveToLastOption"],[0,"intCloneClicked","handleOptionCloneSelection"]]]]],["wm-option_2",[[273,"wm-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"isExpanded":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"wmOptionBlurred","handleOptionBlur"],[6,"click","handleClick"],[0,"keydown","handleKey"]],{"errorMessage":["announceError"],"disabled":["handleDisabledChange"]}],[257,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4],"searchTerm":[32]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]],{"selected":["syncAriaSelected"],"disabled":["syncAriaDisabled","updateDisabledOnClick"]}]]],["wm-button",[[273,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"icon":[1537],"iconSize":[1,"icon-size"],"iconRotate":[2,"icon-rotate"],"iconFlip":[1,"icon-flip"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"isSubmit":[4,"is-submit"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[11,"scroll","handleScroll"],[0,"keydown","handleKeydown"]],{"buttonType":["validateType"],"icon":["updateIcon"],"disabled":["handleDisabledChange"]}]]]]'),a)]}}))}))};export{defineCustomElements};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,a,t,i){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,l){function o(e){try{d(i.next(e))}catch(e){l(e)}}function r(e){try{d(i["throw"](e))}catch(e){l(e)}}function d(e){e.done?t(e.value):n(e.value).then(o,r)}d((i=i.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,n,l,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(e){return function(a){return d([e,a])}}function d(r){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(t=0)),t)try{if(i=1,n&&(l=r[0]&2?n["return"]:r[0]?n["throw"]||((l=n["return"])&&l.call(n),0):n.next)&&!(l=l.call(n,r[1])).done)return l;if(n=0,l)r=[r[0]&2,l.value];switch(r[0]){case 0:case 1:l=r;break;case 4:t.label++;return{value:r[1],done:false};case 5:t.label++;n=r[1];r=[0];continue;case 7:r=t.ops.pop();t.trys.pop();continue;default:if(!(l=t.trys,l=l.length>0&&l[l.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!l||r[1]>l[0]&&r[1]<l[3])){t.label=r[1];break}if(r[0]===6&&t.label<l[1]){t.label=l[1];l=r;break}if(l&&t.label<l[2]){t.label=l[2];t.ops.push(r);break}if(l[2])t.ops.pop();t.trys.pop();continue}r=a.call(e,t)}catch(e){r=[6,e];n=0}finally{i=l=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-C-E-By4e.js";export{s as setNonce}from"./index-C-E-By4e.js";import{g as globalScripts}from"./app-globals-BNPUkoUt.js";var defineCustomElements=function(e,a){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:e.sent();return[2,bootstrapLazy(JSON.parse('[["wm-tab-item_3",[[273,"wm-tab-list",{"customBackground":[1,"custom-background"],"customPadding":[1,"custom-padding"],"selectedTab":[1,"selected-tab"]},[[0,"tabItemLoaded","tabItemLoaded"],[0,"keydownOnTabItem","handleKeydown"]],{"selectedTab":["setSelected"]}],[273,"wm-tab-item",{"selected":[4],"show":[4],"tabId":[1,"tab-id"]}],[256,"wm-tab-panel",{"active":[1028],"tabId":[1025,"tab-id"]}]]],["wm-file",[[273,"wm-file",{"name":[1],"type":[1],"fileActions":[1,"file-actions"],"lastUpdated":[1,"last-updated"],"progress":[514],"size":[1],"uploadedBy":[1,"uploaded-by"],"errorMessage":[1,"error-message"],"showInfo":[1025,"show-info"]}]]],["wm-modal-pss_3",[[256,"wm-modal-pss-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[256,"wm-modal-pss-header",{"heading":[1],"subheading":[1]}],[256,"wm-modal-pss",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},[[0,"click","handleClick"],[0,"keydown","closeModalOnEscape"]],{"open":["toggleModal"]}]]],["wm-modal_3",[[256,"wm-modal-footer",{"secondaryText":[1,"secondary-text"],"primaryText":[1,"primary-text"],"infoText":[1,"info-text"],"primaryActionDisabled":[4,"primary-action-disabled"],"deleteStyle":[4,"delete-style"]}],[256,"wm-modal-header",{"heading":[1],"subheading":[1]}],[260,"wm-modal",{"open":[1540],"elementToFocus":[1025,"element-to-focus"],"modalType":[513,"modal-type"],"uid":[1537],"returnFocusEl":[32],"emitCloseEvent":[64],"emitPrimaryEvent":[64],"emitSecondaryEvent":[64]},null,{"open":["toggleModal"]}]]],["wm-navigator",[[273,"wm-navigator",{"userName":[1,"user-name"],"email":[1],"authType":[2,"auth-type"],"connectionName":[1,"connection-name"],"logoutUrl":[1,"logout-url"],"products":[1],"loadFromUserinfo":[4,"load-from-userinfo"],"isOpen":[32],"itemIndexToFocus":[32]},[[0,"keydown","handleKeys"],[0,"keydownOnNavItem","handleKeydown"],[4,"click","handleClick"],[0,"buttonActivated","handleButtonClick"]],{"products":["parseData"]}]]],["wm-optgroup",[[273,"wm-optgroup",{"label":[1],"isExpanded":[1028,"is-expanded"],"multiple":[1028],"disabled":[4],"emitDeselection":[64],"handleChildChange":[64]},[[0,"wmKeyLeftPressed","handleOptionKeyLeft"]],{"isExpanded":["isExpandedChanged"]}]]],["wm-navigation_3",[[273,"wm-navigation",{"open":[1540]},[[0,"keydown","closeOnEscape"],[9,"resize","handleWindowResize"],[8,"wmNavigationHamburgerClicked","handleHamburgerClicked"],[0,"wmNavigationItemClicked","handleClickOnItem"]],{"open":["handleStateChange"]}],[273,"wm-navigation-hamburger",{"navId":[1,"nav-id"],"isTabbing":[32],"open":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[4,"wmNavigationStateChanged","handleNavigationStateChanged"]]],[273,"wm-navigation-item",{"href":[1],"text":[1],"active":[4]}]]],["wm-progress-indicator_3",[[273,"wm-progress-indicator",{"label":[1],"subinfo":[1],"completionMessage":[1,"completion-message"],"showLegend":[4,"show-legend"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"isTabbing":[32],"mode":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmProgressSliceUpdated","handleSliceUpdate"]],{"mode":["handleModeUpdate"]}],[273,"wm-progress-monitor",{"breakpoint":[8],"groupLegend":[1,"group-legend"],"barLabelsWidth":[1,"bar-labels-width"]}],[1,"wm-progress-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-chart",[[273,"wm-chart",{"chartType":[1,"chart-type"],"label":[1],"labelWidth":[1,"label-width"],"subinfo":[1],"valueFormat":[1,"value-format"],"showGrid":[4,"show-grid"],"showLegend":[4,"show-legend"],"showBarLegend":[4,"show-bar-legend"],"notStartedColor":[4,"not-started-color"],"printMode":[4,"print-mode"],"printModeFormat":[1,"print-mode-format"],"labelPosition":[1,"label-position"],"isTabbing":[32],"userIsNavigating":[32],"focusedSliceId":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"keydown","handleKeydown"],[0,"wmChartSliceUpdated","handleSliceUpdate"]]]]],["wm-date-range",[[273,"wm-date-range",{"dateFormat":[1,"date-format"],"disabled":[4],"errorMessage":[513,"error-message"],"invalidStart":[4,"invalid-start"],"invalidEnd":[4,"invalid-end"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"preselected":[1],"requiredField":[4,"required-field"],"valueStart":[1025,"value-start"],"valueEnd":[1025,"value-end"],"availSpace":[32],"isExpanded":[32],"reformatDate":[64],"isValidISO":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"popupBlurred","handlePopupBlurred"],[0,"cellTriggered","handleCellTriggered"],[0,"outOfCal","handleOutOfCal"],[0,"cellHovered","handleCellHovered"],[9,"resize","setAvailSpace"]],{"disabled":["handleDisabled"],"valueStart":["updateValueStart"],"valueEnd":["updateValueEnd"],"errorMessage":["handleErrorMessage"]}]]],["wm-datepicker",[[273,"wm-datepicker",{"value":[1025],"disabled":[4],"dateFormat":[1,"date-format"],"errorMessage":[513,"error-message"],"labelPosition":[1,"label-position"],"label":[1],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"reformatDate":[64],"isValidIso":[64]},[[0,"keydown","handleKey"],[4,"click","blurHandler"],[8,"blur","handleBlurOnWindow"],[0,"cellTriggered","handleCellTriggered"]],{"disabled":["handleDisabledChange"],"value":["updateValue"],"errorMessage":["announceError"]}]]],["wm-flyout",[[257,"wm-flyout",{"eyebrow":[1],"heading":[1],"subheading":[1],"flyoutWidth":[1,"flyout-width"],"primaryText":[1,"primary-text"],"secondaryText":[1,"secondary-text"],"infoText":[1,"info-text"],"breadcrumb":[1],"elementToFocus":[1,"element-to-focus"],"open":[516],"returnFocusEl":[32],"isBreadcrumbsOverflowing":[32],"focusHeading":[64]},null,{"open":["handleOpenChange"],"flyoutWidth":["setFlyoutWidth"]}]]],["wm-line-chart",[[257,"wm-line-chart",{"label":[1],"description":[1],"xAxisLabel":[1,"x-axis-label"],"yAxisLabel":[1,"y-axis-label"],"lineData":[513,"line-data"],"units":[1],"labelWidth":[1,"label-width"],"highlightQualifier":[1,"highlight-qualifier"],"highlightStart":[1,"highlight-start"],"highlightEnd":[1,"highlight-end"],"visibilityToggles":[4,"visibility-toggles"],"showDeltas":[4,"show-deltas"],"yRange":[1,"y-range"],"parsedLineData":[32],"popoverIndex":[32],"focusedLine":[32],"hiddenLines":[32],"isTabbing":[32],"intervalSkip":[32],"announcement":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"lineData":["parseData"],"intervalSkip":["handleIntervalSkip"]}]]],["wm-search",[[273,"wm-search",{"searchType":[1025,"search-type"],"disabled":[516],"placeholder":[1],"label":[1],"numResults":[1026,"num-results"],"value":[1537],"highlightedId":[1,"highlighted-id"],"highlightedName":[1,"highlighted-name"],"isTabbing":[32],"highlightedNum":[32],"previousBlurredValue":[32],"parentModal":[32],"announcement":[32],"updateValue":[64]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"]],{"numResults":["handleNumResultsUpdate"],"disabled":["handleDisabledChange"]}]]],["wm-chart-slice",[[0,"wm-chart-slice",{"legend":[1],"amount":[1],"popoverTitle":[1,"popover-title"],"popoverText":[1,"popover-text"],"popoverButtonText":[1,"popover-button-text"]}]]],["wm-file-list",[[273,"wm-file-list",{"showInfo":[1,"show-info"]}]]],["wm-input",[[273,"wm-input",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"inputWidth":[1,"input-width"],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"symbolBefore":[1,"symbol-before"],"symbolAfter":[1,"symbol-after"],"textAfter":[1,"text-after"],"type":[1],"step":[2],"min":[2],"max":[2],"isSubmit":[4,"is-submit"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-nested-select",[[273,"wm-nested-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"constrainedMaxHeight":[1025,"constrained-max-height"],"isExpanded":[32],"showClearSelectionButton":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"keydown","handleKeyDown"],[6,"click","handleClick"],[0,"optgroupExpanded","handleOptgroupExpanded"],[0,"optgroupHidden","handleOptgroupHidden"]]]]],["wm-pagination",[[273,"wm-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"value":[2],"isLargeSize":[4,"is-large-size"],"srAnnouncement":[32]},null,{"totalItems":["calculateTotalPages"],"itemsPerPage":["calculateTotalPages"]}]]],["wm-snackbar",[[257,"wm-snackbar",{"notifications":[1537],"isTabbing":[32],"announcement":[32]},[[4,"keydown","checkForTabbing"],[5,"mouseover","handleMouse"]],{"notifications":["updateSnacks"]}]]],["wm-tag-input",[[273,"wm-tag-input",{"label":[1],"errorMessage":[1,"error-message"],"info":[1],"labelPosition":[1,"label-position"],"maxTags":[2,"max-tags"],"placeholder":[1025],"requiredField":[4,"required-field"],"tagInputType":[1,"tag-input-type"],"helpText":[1,"help-text"],"addNew":[4,"add-new"],"characterLimit":[2,"character-limit"],"colHeaders":[1,"col-headers"],"colWidths":[1,"col-widths"],"colWrap":[1,"col-wrap"],"isKeying":[32],"isExpanded":[32],"liveRegionMessage":[32],"focusedOption":[32],"focusedColumn":[32],"focusedTagIndex":[32],"tagsList":[32]},[[8,"wmUserIsKeying","toggleKeyingOn"],[8,"wmUserIsTabbing","toggleKeyingOn"],[8,"wmUserIsNotKeying","toggleKeyingOff"],[8,"wmUserIsNotTabbing","toggleKeyingOff"],[0,"privTagOptionSelected","handleTagOptionSelected"],[0,"privTagOptionDeselected","handleTagOptionDeselected"],[4,"click","handleClick"],[11,"scroll","dismissTooltip"],[0,"blur","handleBlur"]],{"errorMessage":["announceError"]}]]],["wm-tag-option",[[0,"wm-tag-option",{"selected":[1540],"locked":[4],"col1":[1],"col2":[1],"col3":[1],"col4":[1],"emitSelectedEvent":[64],"emitDeselectedEvent":[64]},null,{"selected":["handleSelected"]}]]],["wm-textarea",[[257,"wm-textarea",{"label":[1],"labelPosition":[1,"label-position"],"value":[1025],"disabled":[4],"info":[1],"placeholder":[1],"requiredField":[4,"required-field"],"errorMessage":[1,"error-message"],"characterLimit":[2,"character-limit"],"inputWidth":[1,"input-width"],"inputHeight":[1,"input-height"],"announcement":[32]},null,{"disabled":["handleDisabledChange"],"errorMessage":["announceError"]}]]],["wm-timepicker",[[273,"wm-timepicker",{"disabled":[4],"value":[1025],"errorMessage":[1,"error-message"],"label":[1],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"preselected":[1],"isExpanded":[32],"isValidTime":[64],"reformatTime":[64]},[[0,"keydown","handleKey"]],{"disabled":["handleDisabledChange"],"value":["handleValueChange"],"errorMessage":["announceError"]}]]],["wm-toggletip",[[273,"wm-toggletip",{"label":[1],"tooltip":[1],"tooltipPosition":[1,"tooltip-position"],"targetSize":[1,"target-size"],"toggletipType":[1,"toggletip-type"],"isHidden":[32]},[[9,"resize","handleResize"],[0,"keydown","handleKeydown"],[4,"click","handleClick"]]]]],["wm-uploader",[[273,"wm-uploader",{"label":[1],"uploaderType":[1,"uploader-type"],"dropArea":[1,"drop-area"],"buttonText":[1,"button-text"],"icon":[1],"fileTypes":[1,"file-types"],"maxSize":[1,"max-size"],"maxFiles":[2,"max-files"],"errorMessage":[1,"error-message"],"requiredField":[4,"required-field"],"showInfo":[1,"show-info"],"isTabbing":[32],"notif":[32],"isCondensed":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[0,"wmFileErrorCleared","handleFileErrorCleared"],[0,"wmFileDelete","storeDeletedId"],[5,"dragenter","handleDocumentDragEnter"],[5,"mouseout","handleDocumentMouseOut"],[5,"dragleave","handleDocumentDragLeave"],[4,"visibilitychange","handleDocumentVisibilityChange"]],{"errorMessage":["announceError"]}]]],["wm-wrapper",[[256,"wm-wrapper"]]],["priv-navigator-button",[[273,"priv-navigator-button",{"expanded":[1028],"altText":[1,"alt-text"]}]]],["priv-navigator-item",[[257,"priv-navigator-item",{"selected":[1028],"focused":[1028],"link":[1025]},[[0,"keydown","handleKeyDown"]]]]],["wm-action-menu_2",[[273,"wm-action-menu",{"tooltipPosition":[1,"tooltip-position"],"actionMenuType":[1,"action-menu-type"],"buttonText":[1,"button-text"],"disabled":[516],"tooltip":[1],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"darkMode":[4,"dark-mode"],"isExpanded":[32]},[[0,"wmMenuitemClicked","handleClickedItem"],[0,"wmKeyUpPressed","handleKeyUp"],[0,"wmKeyDownPressed","handleKeyDown"],[0,"wmHomeKeyPressed","handleHomeKey"],[0,"wmEndKeyPressed","handleEndKey"],[0,"wmTabKeyPressed","handleTabKey"],[0,"wmEscKeyPressed","handleEscKey"],[0,"keydown","handleKey"],[0,"wmMenuitemBlurred","handleMenuitemBlur"],[0,"wmLetterPressed","findAndFocusItem"]]],[257,"wm-menuitem",{"disabled":[4],"icon":[1025],"description":[1]},[[0,"keydown","handleKeydown"],[0,"click","handleClick"],[0,"blur","handleBlur"]],{"disabled":["setOnClick"]}]]],["priv-calendar",[[256,"priv-calendar",{"disabled":[4],"view":[1025],"focusDate":[1025,"focus-date"],"startDate":[1,"start-date"],"endDate":[1,"end-date"],"hoverDate":[1,"hover-date"],"focusFirstFocusable":[64],"focusLastFocusable":[64],"focusCell":[64]},[[0,"keydown","handleKey"]],{"focusDate":["handleFocusDate"]}]]],["priv-chart-popover",[[256,"priv-chart-popover",{"open":[1028],"sliceDetails":[16,"slice-details"]},[[4,"click","handleClickOnDocument"],[0,"click","handleClick"]],{"open":["handleOpenChange"],"sliceDetails":["handleDetailsChange"]}]]],["priv-option-list",[[260,"priv-option-list",{"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"searchPlaceholder":[1,"search-placeholder"],"optgroupLabel":[1,"optgroup-label"],"maxHeight":[1,"max-height"],"upwardsHeightLimit":[2,"upwards-height-limit"],"announcement":[32],"searchTerm":[32],"handleChildChange":[64],"clearSearch":[64],"focusOption":[64],"handleInitialFocus":[64],"unfocusAll":[64],"updateOptionVisibility":[64]},[[0,"wmLetterPressed","findAndFocusOption"],[0,"wmOptionSelected","handleOptionSelection"],[0,"wmKeyUpPressed","handleChildUp"],[0,"wmKeyDownPressed","handleChildDown"],[0,"wmHomeKeyPressed","moveToFirstOption"],[0,"wmEndKeyPressed","moveToLastOption"],[0,"intCloneClicked","handleOptionCloneSelection"]]]]],["wm-option_2",[[273,"wm-select",{"disabled":[516],"maxHeight":[1,"max-height"],"label":[1025],"labelPosition":[1,"label-position"],"requiredField":[4,"required-field"],"errorMessage":[1025,"error-message"],"multiple":[4],"search":[4],"selectAll":[4,"select-all"],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"allSelectedMessage":[1,"all-selected-message"],"isExpanded":[32],"announcement":[32]},[[0,"wmOptionSelected","handleOptionSelection"],[0,"wmEnterKeyPressed","handleChildEnter"],[0,"wmEscKeyPressed","closePopupOnEscape"],[0,"wmOptionBlurred","handleOptionBlur"],[6,"click","handleClick"],[0,"keydown","handleKey"]],{"errorMessage":["announceError"],"disabled":["handleDisabledChange"]}],[257,"wm-option",{"value":[1],"subinfo":[1025],"disabled":[516],"selected":[516],"focused":[4],"searchTerm":[32]},[[0,"keydown","handleKeydown"],[0,"click","handleSelection"],[0,"blur","handleBlur"]],{"selected":["syncAriaSelected"],"disabled":["syncAriaDisabled","updateDisabledOnClick"]}]]],["wm-button",[[273,"wm-button",{"disabled":[516],"buttonType":[1025,"button-type"],"icon":[1537],"iconSize":[1,"icon-size"],"iconRotate":[2,"icon-rotate"],"iconFlip":[1,"icon-flip"],"tooltip":[1537],"labelForIdenticalButtons":[1,"label-for-identical-buttons"],"tooltipPosition":[1,"tooltip-position"],"permanentlyDelete":[4,"permanently-delete"],"textWrap":[4,"text-wrap"],"customBackground":[1,"custom-background"],"isSubmit":[4,"is-submit"],"isTabbing":[32]},[[8,"wmUserIsTabbing","toggleTabbingOn"],[8,"wmUserIsNotTabbing","toggleTabbingOff"],[11,"scroll","handleScroll"],[0,"keydown","handleKeydown"]],{"buttonType":["validateType"],"icon":["updateIcon"],"disabled":["handleDisabledChange"]}]]]]'),a)]}}))}))};export{defineCustomElements};
|