@postnord/pn-marketweb-components 2.3.12 → 2.3.14
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/cjs/{MarketWebContextService-f77b4a5f.js → MarketWebContextService-17053565.js} +1 -1
- package/cjs/{index-e3e27c79.js → index-4199ff85.js} +828 -278
- package/cjs/{index-28bbc937.js → index-95e5b7f9.js} +1 -1
- package/cjs/loader.cjs.js +3 -2
- package/cjs/pn-animated-tile.cjs.entry.js +5 -5
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/cjs/pn-breakpoints.cjs.entry.js +2 -2
- package/cjs/pn-chart.cjs.entry.js +3 -2
- package/cjs/pn-charts-card.cjs.entry.js +10 -3
- package/cjs/pn-choice-button.cjs.entry.js +5 -2
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-customernumber-selector.cjs.entry.js +2 -2
- package/cjs/pn-filter-checkbox.cjs.entry.js +5 -2
- package/cjs/pn-find-price-result.cjs.entry.js +7 -4
- package/cjs/{pn-find-price-store-a91ce3f6.js → pn-find-price-store-e0d1e412.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +4 -4
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
- package/cjs/{pn-find-service-and-price-store-16a7936c.js → pn-find-service-and-price-store-6e26630d.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +4 -4
- package/cjs/pn-language-selector_9.cjs.entry.js +75 -72
- package/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/cjs/pn-mainnav-link.cjs.entry.js +4 -10
- package/cjs/{pn-mainnav-store-61a75ea0.js → pn-mainnav-store-8c337865.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +6 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +2 -7
- package/cjs/pn-marketweb-search.cjs.entry.js +2 -6
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +79 -57
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +12 -10
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/cjs/{pn-marketweb-siteheader-store-e29ad918.js → pn-marketweb-siteheader-store-5ced6902.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +35 -39
- package/cjs/pn-multi-formfield.cjs.entry.js +10 -10
- package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/cjs/pn-pex-pricefinder.cjs.entry.js +2 -5
- package/cjs/pn-product-card_3.cjs.entry.js +15 -4
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile-info_2.cjs.entry.js +10 -3
- package/cjs/pn-product-tile.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -4
- package/cjs/{pn-profile-modal-store-6117e304.js → pn-profile-modal-store-947b08ae.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +4 -4
- package/cjs/pn-profile-modal.cjs.entry.js +4 -4
- package/cjs/pn-profile-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-profile-selector.cjs.entry.js +5 -5
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +5 -2
- package/cjs/pn-proxio-findprice.cjs.entry.js +5 -5
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +4 -6
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +12 -5
- package/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/cjs/pn-quote-card.cjs.entry.js +2 -3
- package/cjs/pn-scroll.cjs.entry.js +2 -2
- package/cjs/pn-share-item.cjs.entry.js +2 -2
- package/cjs/pn-share.cjs.entry.js +12 -2
- package/cjs/pn-sidenav-level.cjs.entry.js +4 -4
- package/cjs/pn-sidenav-link.cjs.entry.js +4 -12
- package/cjs/{pn-sidenav-store-d9bd9e00.js → pn-sidenav-store-d2389306.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +4 -5
- package/cjs/pn-sidenav.cjs.entry.js +44 -31
- package/cjs/pn-site-footer_2.cjs.entry.js +3 -4
- package/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/cjs/pn-stats-info-data.cjs.entry.js +8 -8
- package/cjs/pn-stats-info.cjs.entry.js +3 -2
- package/cjs/pn-teaser-card.cjs.entry.js +3 -4
- package/cjs/pn-titletag.cjs.entry.js +2 -4
- package/collection/collection-manifest.json +2 -2
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.js +28 -26
- package/collection/components/animation/pn-scroll/pn-scroll.js +92 -86
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +12 -11
- package/collection/components/cards/pn-quote-card/pn-quote-card.js +68 -79
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +109 -113
- package/collection/components/charts/pn-chart/pn-chart.js +83 -74
- package/collection/components/charts/pn-charts-card/pn-charts-card.js +162 -169
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +133 -128
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +51 -49
- package/collection/components/cta/pn-share/pn-share-item.js +51 -50
- package/collection/components/cta/pn-share/pn-share.js +65 -60
- package/collection/components/cta/pn-share/translations.js +9 -0
- package/collection/components/cta/pn-spotlight/pn-spotlight.js +73 -71
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +120 -115
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info.js +82 -78
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +93 -87
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +193 -195
- package/collection/components/input/pn-choice-button/pn-choice-button.js +145 -137
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +128 -122
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +347 -355
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +258 -260
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.js +0 -3
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +201 -221
- package/collection/components/layout-components/pn-marketweb-sitefooter/translations.js +72 -45
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +34 -29
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +101 -101
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +110 -105
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +51 -45
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +174 -181
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +259 -256
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +170 -172
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +84 -75
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +509 -560
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/translations.js +24 -0
- package/collection/components/layout-components/pn-multi-formfield/pn-multi-formfield.js +105 -99
- package/collection/components/minor/pn-titletag/pn-titletag.js +51 -49
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +119 -123
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js +71 -64
- package/collection/components/navigation/pn-language-selector/translations.js +6 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +92 -97
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +39 -33
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js +182 -183
- package/collection/components/navigation/pn-mainnav/translations.js +55 -34
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +29 -22
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +128 -134
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +39 -34
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js +71 -66
- package/collection/components/navigation/pn-sidenav/translations.js +45 -30
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +34 -29
- package/collection/components/navigation/pn-site-footer/pn-site-footer.js +68 -75
- package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +85 -89
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +68 -67
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +85 -79
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +182 -188
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +91 -84
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +116 -115
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +68 -67
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +78 -76
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +48 -42
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +163 -179
- package/collection/components/widgets/pn-find-price/pn-find-price.js +99 -113
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +66 -67
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +133 -148
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +87 -102
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +92 -94
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +138 -131
- package/collection/components/widgets/pn-product-card/pn-product-card.js +12 -21
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +101 -108
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +137 -140
- package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +70 -62
- package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +87 -83
- package/collection/components/widgets/pn-product-tile/pn-product-tile.js +12 -16
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +205 -206
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +134 -152
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +130 -145
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +87 -82
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +55 -57
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +85 -81
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +12 -20
- package/collection/globals/MarketWebContextService.js +1 -1
- package/{esm/MarketWebContextService-3ed3fe80.js → components/MarketWebContextService.js} +1 -1
- package/components/_commonjsHelpers.js +32 -0
- package/components/convert.js +1823 -0
- package/components/data.js +37 -0
- package/components/index.d.ts +105 -0
- package/components/index.js +76 -0
- package/components/index2.js +59 -0
- package/components/index3.js +187 -0
- package/components/pn-animated-tile.d.ts +11 -0
- package/components/pn-animated-tile.js +52 -0
- package/components/pn-bonus-progressbar-level.d.ts +11 -0
- package/components/pn-bonus-progressbar-level.js +65 -0
- package/components/pn-bonus-progressbar.d.ts +11 -0
- package/components/pn-bonus-progressbar.js +128 -0
- package/components/pn-breakpoints.d.ts +11 -0
- package/components/pn-breakpoints.js +45 -0
- package/components/pn-chart.d.ts +11 -0
- package/components/pn-chart.js +22151 -0
- package/components/pn-charts-card.d.ts +11 -0
- package/components/pn-charts-card.js +57 -0
- package/components/pn-choice-button.d.ts +11 -0
- package/components/pn-choice-button.js +6 -0
- package/components/pn-choice-button2.js +61 -0
- package/components/pn-customernumber-selector-option.d.ts +11 -0
- package/components/pn-customernumber-selector-option.js +41 -0
- package/components/pn-customernumber-selector.d.ts +11 -0
- package/components/pn-customernumber-selector.js +77 -0
- package/components/pn-filter-checkbox.d.ts +11 -0
- package/components/pn-filter-checkbox.js +93 -0
- package/components/pn-find-price-result.d.ts +11 -0
- package/components/pn-find-price-result.js +6 -0
- package/components/pn-find-price-result2.js +192 -0
- package/components/pn-find-price.d.ts +11 -0
- package/components/pn-find-price.js +281 -0
- package/components/pn-find-service-and-price-result.d.ts +11 -0
- package/components/pn-find-service-and-price-result.js +6 -0
- package/components/pn-find-service-and-price-result2.js +96 -0
- package/components/pn-find-service-and-price.d.ts +11 -0
- package/components/pn-find-service-and-price.js +314 -0
- package/components/pn-language-selector-option.d.ts +11 -0
- package/components/pn-language-selector-option.js +6 -0
- package/components/pn-language-selector-option2.js +51 -0
- package/components/pn-language-selector.d.ts +11 -0
- package/components/pn-language-selector.js +6 -0
- package/components/pn-language-selector2.js +148 -0
- package/components/pn-line-shape.d.ts +11 -0
- package/components/pn-line-shape.js +35 -0
- package/components/pn-mainnav-level.d.ts +11 -0
- package/components/pn-mainnav-level.js +6 -0
- package/components/pn-mainnav-level2.js +117 -0
- package/components/pn-mainnav-link.d.ts +11 -0
- package/components/pn-mainnav-link.js +6 -0
- package/components/pn-mainnav-link2.js +57 -0
- package/components/pn-mainnav-list.d.ts +11 -0
- package/components/pn-mainnav-list.js +6 -0
- package/components/pn-mainnav-list2.js +39 -0
- package/{esm/pn-mainnav-store-28571e54.js → components/pn-mainnav-store.js} +1 -1
- package/components/pn-mainnav.d.ts +11 -0
- package/components/pn-mainnav.js +6 -0
- package/components/pn-mainnav2.js +141 -0
- package/components/pn-marketweb-input.d.ts +11 -0
- package/components/pn-marketweb-input.js +6 -0
- package/components/pn-marketweb-input2.js +102 -0
- package/components/pn-marketweb-search.d.ts +11 -0
- package/components/pn-marketweb-search.js +129 -0
- package/components/pn-marketweb-sitefooter.d.ts +11 -0
- package/components/pn-marketweb-sitefooter.js +362 -0
- package/components/pn-marketweb-siteheader-login-button.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-button.js +6 -0
- package/components/pn-marketweb-siteheader-login-button2.js +79 -0
- package/components/pn-marketweb-siteheader-login-linklist.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-linklist.js +6 -0
- package/components/pn-marketweb-siteheader-login-linklist2.js +105 -0
- package/components/pn-marketweb-siteheader-login-links.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-links.js +6 -0
- package/components/pn-marketweb-siteheader-login-links2.js +116 -0
- package/components/pn-marketweb-siteheader-login-mypage-button.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-mypage-button.js +6 -0
- package/components/pn-marketweb-siteheader-login-mypage-button2.js +36 -0
- package/components/pn-marketweb-siteheader-login-profileselection.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-profileselection.js +6 -0
- package/components/pn-marketweb-siteheader-login-profileselection2.js +244 -0
- package/components/pn-marketweb-siteheader-login.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login.js +6 -0
- package/components/pn-marketweb-siteheader-login2.js +589 -0
- package/components/pn-marketweb-siteheader-search.d.ts +11 -0
- package/components/pn-marketweb-siteheader-search.js +6 -0
- package/components/pn-marketweb-siteheader-search2.js +131 -0
- package/components/pn-marketweb-siteheader-unified-login.d.ts +11 -0
- package/components/pn-marketweb-siteheader-unified-login.js +6 -0
- package/components/pn-marketweb-siteheader-unified-login2.js +52 -0
- package/components/pn-marketweb-siteheader.d.ts +11 -0
- package/components/pn-marketweb-siteheader.js +584 -0
- package/components/pn-multi-formfield.d.ts +11 -0
- package/components/pn-multi-formfield.js +277 -0
- package/components/pn-parcel-tracker.d.ts +11 -0
- package/components/pn-parcel-tracker.js +58 -0
- package/components/pn-pex-pricefinder.d.ts +11 -0
- package/components/pn-pex-pricefinder.js +156 -0
- package/components/pn-product-card-info.d.ts +11 -0
- package/components/pn-product-card-info.js +6 -0
- package/components/pn-product-card-info2.js +45 -0
- package/components/pn-product-card-price.d.ts +11 -0
- package/components/pn-product-card-price.js +6 -0
- package/components/pn-product-card-price2.js +48 -0
- package/components/pn-product-card.d.ts +11 -0
- package/components/pn-product-card.js +6 -0
- package/components/pn-product-card2.js +30 -0
- package/components/pn-product-pricelist-result.d.ts +11 -0
- package/components/pn-product-pricelist-result.js +130 -0
- package/components/pn-product-pricelist.d.ts +11 -0
- package/components/pn-product-pricelist.js +259 -0
- package/components/pn-product-tile-info.d.ts +11 -0
- package/components/pn-product-tile-info.js +6 -0
- package/components/pn-product-tile-info2.js +38 -0
- package/components/pn-product-tile-price.d.ts +11 -0
- package/components/pn-product-tile-price.js +6 -0
- package/components/pn-product-tile-price2.js +42 -0
- package/components/pn-product-tile.d.ts +11 -0
- package/components/pn-product-tile.js +33 -0
- package/components/pn-profile-modal-customernumber.d.ts +11 -0
- package/components/pn-profile-modal-customernumber.js +46 -0
- package/components/pn-profile-modal-profile.d.ts +11 -0
- package/components/pn-profile-modal-profile.js +71 -0
- package/{esm/pn-profile-modal-store-ae9e0d5a.js → components/pn-profile-modal-store.js} +1 -1
- package/components/pn-profile-modal-type.d.ts +11 -0
- package/components/pn-profile-modal-type.js +56 -0
- package/components/pn-profile-modal.d.ts +11 -0
- package/components/pn-profile-modal.js +92 -0
- package/components/pn-profile-selector-option.d.ts +11 -0
- package/components/pn-profile-selector-option.js +41 -0
- package/components/pn-profile-selector.d.ts +11 -0
- package/components/pn-profile-selector.js +79 -0
- package/components/pn-proxio-findprice-result.d.ts +11 -0
- package/components/pn-proxio-findprice-result.js +6 -0
- package/components/pn-proxio-findprice-result2.js +124 -0
- package/components/pn-proxio-findprice.d.ts +11 -0
- package/components/pn-proxio-findprice.js +454 -0
- package/components/pn-proxio-pricegroup.d.ts +11 -0
- package/components/pn-proxio-pricegroup.js +194 -0
- package/components/pn-proxio-productcard-description.d.ts +11 -0
- package/components/pn-proxio-productcard-description.js +6 -0
- package/components/pn-proxio-productcard-description2.js +43 -0
- package/components/pn-proxio-productcard-information.d.ts +11 -0
- package/components/pn-proxio-productcard-information.js +6 -0
- package/components/pn-proxio-productcard-information2.js +37 -0
- package/components/pn-proxio-productcard-pricelink.d.ts +11 -0
- package/components/pn-proxio-productcard-pricelink.js +6 -0
- package/components/pn-proxio-productcard-pricelink2.js +40 -0
- package/components/pn-proxio-productcard.d.ts +11 -0
- package/components/pn-proxio-productcard.js +6 -0
- package/components/pn-proxio-productcard2.js +30 -0
- package/components/pn-quick-cta.d.ts +11 -0
- package/components/pn-quick-cta.js +39 -0
- package/components/pn-quote-card.d.ts +11 -0
- package/components/pn-quote-card.js +41 -0
- package/components/pn-scroll.d.ts +11 -0
- package/components/pn-scroll.js +79 -0
- package/components/pn-share-item.d.ts +11 -0
- package/components/pn-share-item.js +6 -0
- package/components/pn-share-item2.js +36 -0
- package/components/pn-share.d.ts +11 -0
- package/components/pn-share.js +98 -0
- package/components/pn-sidenav-level.d.ts +11 -0
- package/components/pn-sidenav-level.js +84 -0
- package/components/pn-sidenav-link.d.ts +11 -0
- package/components/pn-sidenav-link.js +87 -0
- package/{esm/pn-sidenav-store-50b186d6.js → components/pn-sidenav-store.js} +1 -1
- package/components/pn-sidenav-togglebutton.d.ts +11 -0
- package/components/pn-sidenav-togglebutton.js +45 -0
- package/components/pn-sidenav.d.ts +11 -0
- package/components/pn-sidenav.js +110 -0
- package/components/pn-site-footer-col.d.ts +11 -0
- package/components/pn-site-footer-col.js +6 -0
- package/components/pn-site-footer-col2.js +33 -0
- package/components/pn-site-footer.d.ts +11 -0
- package/components/pn-site-footer.js +6 -0
- package/components/pn-site-footer2.js +38 -0
- package/components/pn-site-selector-item.d.ts +11 -0
- package/components/pn-site-selector-item.js +6 -0
- package/components/pn-site-selector-item2.js +39 -0
- package/components/pn-site-selector.d.ts +11 -0
- package/components/pn-site-selector.js +6 -0
- package/components/pn-site-selector2.js +69 -0
- package/components/pn-spotlight.d.ts +11 -0
- package/components/pn-spotlight.js +47 -0
- package/components/pn-stats-info-data.d.ts +11 -0
- package/components/pn-stats-info-data.js +6 -0
- package/components/pn-stats-info-data2.js +93 -0
- package/components/pn-stats-info.d.ts +11 -0
- package/components/pn-stats-info.js +59 -0
- package/components/pn-teaser-card.d.ts +11 -0
- package/components/pn-teaser-card.js +56 -0
- package/components/pn-titletag.d.ts +11 -0
- package/components/pn-titletag.js +6 -0
- package/components/pn-titletag2.js +36 -0
- package/components/translations.js +19 -0
- package/components/v4.js +66 -0
- package/esm/MarketWebContextService-f6a33f17.js +318 -0
- package/esm/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
- package/esm/{index-5397620b.js → index-c118284d.js} +828 -279
- package/esm/loader.js +3 -2
- package/esm/pn-animated-tile.entry.js +5 -5
- package/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/esm/pn-bonus-progressbar.entry.js +2 -2
- package/esm/pn-breakpoints.entry.js +2 -2
- package/esm/pn-chart.entry.js +3 -2
- package/esm/pn-charts-card.entry.js +10 -3
- package/esm/pn-choice-button.entry.js +5 -2
- package/esm/pn-customernumber-selector-option.entry.js +2 -2
- package/esm/pn-customernumber-selector.entry.js +2 -2
- package/esm/pn-filter-checkbox.entry.js +5 -2
- package/esm/pn-find-price-result.entry.js +7 -4
- package/esm/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
- package/esm/pn-find-price.entry.js +4 -4
- package/esm/pn-find-service-and-price-result.entry.js +4 -4
- package/esm/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +4 -4
- package/esm/pn-language-selector_9.entry.js +75 -72
- package/esm/pn-line-shape.entry.js +2 -2
- package/esm/pn-mainnav-link.entry.js +4 -10
- package/esm/pn-mainnav-store-5d91f523.js +17 -0
- package/esm/pn-market-web-components.js +3 -2
- package/esm/pn-marketweb-input.entry.js +2 -7
- package/esm/pn-marketweb-search.entry.js +2 -6
- package/esm/pn-marketweb-sitefooter.entry.js +79 -57
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +12 -10
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/esm/{pn-marketweb-siteheader-store-cd0a1dab.js → pn-marketweb-siteheader-store-9df5290d.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +35 -39
- package/esm/pn-multi-formfield.entry.js +10 -10
- package/esm/pn-parcel-tracker.entry.js +2 -2
- package/esm/pn-pex-pricefinder.entry.js +2 -5
- package/esm/pn-product-card_3.entry.js +15 -4
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile-info_2.entry.js +10 -3
- package/esm/pn-product-tile.entry.js +2 -2
- package/esm/pn-profile-modal-customernumber.entry.js +2 -2
- package/esm/pn-profile-modal-profile.entry.js +4 -4
- package/esm/pn-profile-modal-store-81f53310.js +15 -0
- package/esm/pn-profile-modal-type.entry.js +4 -4
- package/esm/pn-profile-modal.entry.js +4 -4
- package/esm/pn-profile-selector-option.entry.js +2 -2
- package/esm/pn-profile-selector.entry.js +5 -5
- package/esm/pn-proxio-findprice-result.entry.js +5 -2
- package/esm/pn-proxio-findprice.entry.js +5 -5
- package/esm/pn-proxio-pricegroup.entry.js +4 -6
- package/esm/pn-proxio-productcard_4.entry.js +12 -5
- package/esm/pn-quick-cta.entry.js +2 -2
- package/esm/pn-quote-card.entry.js +2 -3
- package/esm/pn-scroll.entry.js +2 -2
- package/esm/pn-share-item.entry.js +2 -2
- package/esm/pn-share.entry.js +12 -2
- package/esm/pn-sidenav-level.entry.js +4 -4
- package/esm/pn-sidenav-link.entry.js +4 -12
- package/esm/pn-sidenav-store-94be19c8.js +14 -0
- package/esm/pn-sidenav-togglebutton.entry.js +4 -5
- package/esm/pn-sidenav.entry.js +44 -31
- package/esm/pn-site-footer_2.entry.js +3 -4
- package/esm/pn-spotlight.entry.js +2 -2
- package/esm/pn-stats-info-data.entry.js +8 -8
- package/esm/pn-stats-info.entry.js +3 -2
- package/esm/pn-teaser-card.entry.js +3 -4
- package/esm/pn-titletag.entry.js +2 -4
- package/esm/polyfills/css-shim.js +1 -1
- package/esm-es5/MarketWebContextService-f6a33f17.js +1 -0
- package/esm-es5/convert-f6377d13.js +1 -1
- package/esm-es5/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
- package/esm-es5/index-c118284d.js +1 -0
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-breakpoints.entry.js +1 -1
- package/esm-es5/pn-chart.entry.js +2 -2
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-line-shape.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-28571e54.js → pn-mainnav-store-5d91f523.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-search.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -1
- package/esm-es5/pn-parcel-tracker.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-ae9e0d5a.js → pn-profile-modal-store-81f53310.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
- package/esm-es5/pn-quick-cta.entry.js +1 -1
- package/esm-es5/pn-quote-card.entry.js +1 -1
- package/esm-es5/pn-scroll.entry.js +1 -1
- package/esm-es5/pn-share-item.entry.js +1 -1
- package/esm-es5/pn-share.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-50b186d6.js → pn-sidenav-store-94be19c8.js} +1 -1
- package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -1
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/{umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js → loader/index.js} +4 -1
- package/loader/package.json +11 -0
- package/package.json +7 -5
- package/pn-market-web-components/{p-3d05a6c1.system.entry.js → p-0159804c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-13baed17.system.entry.js → p-02632961.system.entry.js} +1 -1
- package/pn-market-web-components/p-0ba1df3b.entry.js +1 -0
- package/pn-market-web-components/p-0d4d15ca.entry.js +1 -0
- package/pn-market-web-components/p-0f1115aa.entry.js +1 -0
- package/pn-market-web-components/p-0fbcacf3.system.entry.js +1 -0
- package/pn-market-web-components/p-12f461db.entry.js +1 -0
- package/pn-market-web-components/{p-3738a2df.system.js → p-13d2d138.system.js} +1 -1
- package/pn-market-web-components/p-1545fb34.entry.js +1 -0
- package/pn-market-web-components/p-156fedd7.entry.js +1 -0
- package/pn-market-web-components/p-15e680a8.entry.js +1 -0
- package/pn-market-web-components/p-1646c170.system.entry.js +1 -0
- package/pn-market-web-components/p-17fb8d9e.entry.js +1 -0
- package/pn-market-web-components/p-18abec91.entry.js +1 -0
- package/pn-market-web-components/p-1a064ded.entry.js +1 -0
- package/pn-market-web-components/p-1a9b2a0e.system.entry.js +1 -0
- package/pn-market-web-components/{p-fc1083d2.system.entry.js → p-1d50340b.system.entry.js} +1 -1
- package/pn-market-web-components/p-1d9de480.system.entry.js +1 -0
- package/pn-market-web-components/{p-1ce871c5.system.entry.js → p-1fb4eae4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-80dce81e.system.entry.js → p-2145d5e0.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a1cf4618.system.entry.js → p-2844f3b2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8e890ab1.system.entry.js → p-29d0ec91.system.entry.js} +1 -1
- package/pn-market-web-components/p-2a5cd298.entry.js +1 -0
- package/pn-market-web-components/{p-c9fb0f01.system.entry.js → p-2e507907.system.entry.js} +2 -2
- package/pn-market-web-components/p-33322417.system.js +1 -0
- package/pn-market-web-components/p-34c0b146.entry.js +1 -0
- package/pn-market-web-components/p-37d26cef.entry.js +1 -0
- package/pn-market-web-components/p-386d72ea.entry.js +1 -0
- package/pn-market-web-components/p-38f135fd.entry.js +1 -0
- package/pn-market-web-components/{p-a5f75560.system.js → p-396b254a.system.js} +1 -1
- package/pn-market-web-components/{p-94958580.system.js → p-3a450371.system.js} +1 -1
- package/pn-market-web-components/p-3d8925bd.entry.js +1 -0
- package/pn-market-web-components/{p-add7d76c.system.js → p-441249d9.system.js} +1 -1
- package/pn-market-web-components/p-44c05fba.entry.js +1 -0
- package/pn-market-web-components/p-44f58f15.js +1 -0
- package/pn-market-web-components/p-47d717a3.entry.js +1 -0
- package/pn-market-web-components/p-48c74c53.entry.js +1 -0
- package/pn-market-web-components/p-49f60496.entry.js +1 -0
- package/pn-market-web-components/p-4b2e76e9.entry.js +1 -0
- package/pn-market-web-components/{p-7079df88.system.entry.js → p-4d561de4.system.entry.js} +1 -1
- package/pn-market-web-components/p-4ef54288.entry.js +1 -0
- package/pn-market-web-components/p-507f8886.entry.js +1 -0
- package/pn-market-web-components/p-530be6fe.entry.js +1 -0
- package/pn-market-web-components/p-54544560.system.entry.js +1 -0
- package/pn-market-web-components/{p-74d35edf.system.entry.js → p-545a40a7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4a03854b.system.entry.js → p-589a9a4c.system.entry.js} +1 -1
- package/pn-market-web-components/p-59024d31.entry.js +1 -0
- package/pn-market-web-components/{p-c62a91ba.system.entry.js → p-5a41c1bb.system.entry.js} +1 -1
- package/pn-market-web-components/{p-723b9901.system.entry.js → p-5a506356.system.entry.js} +1 -1
- package/pn-market-web-components/p-5a6761da.js +1 -0
- package/pn-market-web-components/p-5d21372b.js +1 -0
- package/pn-market-web-components/p-5e768b73.entry.js +1 -0
- package/pn-market-web-components/{p-f782ce94.system.entry.js → p-658f6ff7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8117b79e.system.entry.js → p-68324e6f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9c3de760.system.entry.js → p-6a4ae9af.system.entry.js} +1 -1
- package/pn-market-web-components/p-6b176af7.entry.js +1 -0
- package/pn-market-web-components/p-6b5ff47f.entry.js +1 -0
- package/pn-market-web-components/{p-7b9fb94f.system.entry.js → p-6d050c3a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-02ea55ad.system.js → p-6f1d6a1a.system.js} +1 -1
- package/pn-market-web-components/p-71895c6f.entry.js +1 -0
- package/pn-market-web-components/p-73ee3141.entry.js +1 -0
- package/pn-market-web-components/{p-ecf712bb.system.entry.js → p-752616b7.system.entry.js} +1 -1
- package/pn-market-web-components/p-773b59c0.entry.js +24 -0
- package/pn-market-web-components/p-78543a18.system.entry.js +1 -0
- package/pn-market-web-components/p-7c1b31e8.js +2 -0
- package/pn-market-web-components/p-7d992089.entry.js +1 -0
- package/pn-market-web-components/p-7dff99ed.entry.js +1 -0
- package/pn-market-web-components/p-8079dfd5.system.entry.js +1 -0
- package/pn-market-web-components/p-82db879c.entry.js +1 -0
- package/pn-market-web-components/p-833bab34.entry.js +1 -0
- package/pn-market-web-components/{p-290d5824.system.entry.js → p-853e6559.system.entry.js} +1 -1
- package/pn-market-web-components/p-864fe276.entry.js +1 -0
- package/pn-market-web-components/{p-f58bde56.js → p-8666d14d.js} +1 -1
- package/pn-market-web-components/p-8766fa86.system.js +1 -1
- package/pn-market-web-components/p-87fd21d8.entry.js +1 -0
- package/pn-market-web-components/{p-054f8b3a.system.entry.js → p-8805bc30.system.entry.js} +1 -1
- package/pn-market-web-components/{p-450cbe76.system.entry.js → p-8ca063a9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9edaf6b6.system.entry.js → p-8cefd900.system.entry.js} +1 -1
- package/pn-market-web-components/p-8f32fa2b.system.entry.js +1 -0
- package/pn-market-web-components/{p-58a57436.system.entry.js → p-8fee0115.system.entry.js} +1 -1
- package/pn-market-web-components/{p-aa271997.system.entry.js → p-9010c32a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f312ff98.system.entry.js → p-939b5792.system.entry.js} +1 -1
- package/pn-market-web-components/p-97564852.entry.js +1 -0
- package/pn-market-web-components/p-9a1c267d.entry.js +1 -0
- package/pn-market-web-components/p-9ed7a18f.entry.js +1 -0
- package/pn-market-web-components/p-9f0f1dd8.system.entry.js +1 -0
- package/pn-market-web-components/{p-4f67721e.system.entry.js → p-9f95b3c9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0cacf9fb.js → p-a1a58fe4.js} +1 -1
- package/pn-market-web-components/p-a5faec68.system.js +2 -0
- package/pn-market-web-components/p-a799fee1.entry.js +1 -0
- package/pn-market-web-components/p-aaa94bee.system.entry.js +1 -0
- package/pn-market-web-components/{p-2718b89a.system.entry.js → p-abfed655.system.entry.js} +1 -1
- package/pn-market-web-components/p-ac62dc33.entry.js +1 -0
- package/pn-market-web-components/p-ad1f57dc.entry.js +1 -0
- package/pn-market-web-components/{p-dbe032f7.system.js → p-ad836c55.system.js} +1 -1
- package/pn-market-web-components/p-b0102ff6.entry.js +1 -0
- package/pn-market-web-components/p-b6bebd40.system.entry.js +1 -0
- package/pn-market-web-components/{p-625fb7fb.system.entry.js → p-b890f3f9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d790293c.system.entry.js → p-bab17118.system.entry.js} +1 -1
- package/pn-market-web-components/p-bdd1ec55.entry.js +1 -0
- package/pn-market-web-components/p-beefd9f7.entry.js +1 -0
- package/pn-market-web-components/p-bfe239ca.js +1 -1
- package/pn-market-web-components/p-c0db1ffd.js +1 -0
- package/pn-market-web-components/p-c1565c47.entry.js +1 -0
- package/pn-market-web-components/p-c1d9a064.entry.js +1 -0
- package/pn-market-web-components/p-c5643358.system.entry.js +1 -0
- package/pn-market-web-components/{p-84699999.js → p-c5727e83.js} +1 -1
- package/pn-market-web-components/{p-447ef543.system.entry.js → p-c576ac3e.system.entry.js} +1 -1
- package/pn-market-web-components/p-c668f453.entry.js +1 -0
- package/pn-market-web-components/p-ca3d998d.system.entry.js +1 -0
- package/pn-market-web-components/{p-879c0887.system.entry.js → p-cccb53f2.system.entry.js} +1 -1
- package/pn-market-web-components/p-d295ef71.system.js +1 -0
- package/pn-market-web-components/{p-825b8fb8.system.js → p-d34c9be2.system.js} +1 -1
- package/pn-market-web-components/p-d5ae9797.entry.js +1 -0
- package/pn-market-web-components/p-d6ee168b.system.entry.js +1 -0
- package/pn-market-web-components/p-d70e685c.entry.js +1 -0
- package/pn-market-web-components/p-dbd7837e.entry.js +1 -0
- package/pn-market-web-components/p-dc598ef8.entry.js +1 -0
- package/pn-market-web-components/p-e0e45eb0.system.entry.js +1 -0
- package/pn-market-web-components/p-e2abebd7.entry.js +1 -0
- package/pn-market-web-components/{p-36a1b8e1.system.entry.js → p-e4961116.system.entry.js} +1 -1
- package/pn-market-web-components/p-e4fbd06c.entry.js +1 -0
- package/pn-market-web-components/{p-93cecc43.system.entry.js → p-e737c51d.system.entry.js} +1 -1
- package/pn-market-web-components/p-e7f43cc2.entry.js +1 -0
- package/pn-market-web-components/p-ea4ec1db.system.entry.js +1 -0
- package/pn-market-web-components/{p-86f06e26.js → p-ecaad0c1.js} +1 -1
- package/pn-market-web-components/p-ed81a6d6.system.entry.js +1 -0
- package/pn-market-web-components/{p-e6fa11ad.system.entry.js → p-ef721555.system.entry.js} +1 -1
- package/pn-market-web-components/{p-41220f82.system.entry.js → p-f2817445.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1151bf60.system.entry.js → p-f7cb2ef9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a864fbed.system.entry.js → p-fca11f16.system.entry.js} +1 -1
- package/pn-market-web-components/{p-47f4f5b5.system.entry.js → p-fe0d832d.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b88337dd.system.entry.js → p-ffe18938.system.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +2 -1
- package/types/components/cta/pn-share/translations.d.ts +9 -0
- package/types/components/layout-components/pn-marketweb-sitefooter/translations.d.ts +27 -0
- package/types/components/layout-components/pn-marketweb-siteheader/translations.d.ts +24 -0
- package/types/components/navigation/pn-language-selector/translations.d.ts +6 -0
- package/types/components/navigation/pn-mainnav/translations.d.ts +21 -0
- package/types/components/navigation/pn-sidenav/translations.d.ts +15 -0
- package/types/components.d.ts +58 -22
- package/types/stencil-public-runtime.d.ts +79 -7
- package/custom-elements/index.d.ts +0 -489
- package/custom-elements/index.js +0 -30532
- package/esm-es5/MarketWebContextService-3ed3fe80.js +0 -1
- package/esm-es5/index-5397620b.js +0 -1
- package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +0 -1
- package/pn-market-web-components/p-0796f9b2.entry.js +0 -1
- package/pn-market-web-components/p-07ca420d.entry.js +0 -1
- package/pn-market-web-components/p-086a72ca.system.entry.js +0 -1
- package/pn-market-web-components/p-138b1e76.entry.js +0 -1
- package/pn-market-web-components/p-15112837.entry.js +0 -1
- package/pn-market-web-components/p-16c4bc50.entry.js +0 -1
- package/pn-market-web-components/p-17c4004f.entry.js +0 -1
- package/pn-market-web-components/p-1ca41ab1.entry.js +0 -1
- package/pn-market-web-components/p-21c01c47.entry.js +0 -1
- package/pn-market-web-components/p-227e1d46.entry.js +0 -1
- package/pn-market-web-components/p-2da8e5e8.system.entry.js +0 -1
- package/pn-market-web-components/p-2e2dfb79.entry.js +0 -1
- package/pn-market-web-components/p-2e3bde56.entry.js +0 -1
- package/pn-market-web-components/p-3343610e.entry.js +0 -1
- package/pn-market-web-components/p-35fcd76c.system.entry.js +0 -1
- package/pn-market-web-components/p-36654f2a.system.js +0 -1
- package/pn-market-web-components/p-381b3ec0.entry.js +0 -1
- package/pn-market-web-components/p-381c034b.entry.js +0 -1
- package/pn-market-web-components/p-3969ec4d.entry.js +0 -1
- package/pn-market-web-components/p-397514bc.system.entry.js +0 -1
- package/pn-market-web-components/p-3f4a0538.entry.js +0 -1
- package/pn-market-web-components/p-468025b2.system.entry.js +0 -1
- package/pn-market-web-components/p-479b970a.entry.js +0 -1
- package/pn-market-web-components/p-499bb3ac.entry.js +0 -1
- package/pn-market-web-components/p-4bef1bf3.entry.js +0 -1
- package/pn-market-web-components/p-4de40b15.entry.js +0 -1
- package/pn-market-web-components/p-557328e3.system.entry.js +0 -1
- package/pn-market-web-components/p-5776275b.entry.js +0 -1
- package/pn-market-web-components/p-58e8d7d5.js +0 -1
- package/pn-market-web-components/p-5f0acbbd.entry.js +0 -1
- package/pn-market-web-components/p-61dbe832.entry.js +0 -1
- package/pn-market-web-components/p-67380aa4.entry.js +0 -1
- package/pn-market-web-components/p-67887512.system.js +0 -1
- package/pn-market-web-components/p-6f28cfba.entry.js +0 -1
- package/pn-market-web-components/p-715d1ef7.entry.js +0 -1
- package/pn-market-web-components/p-77c907d9.entry.js +0 -1
- package/pn-market-web-components/p-783b4892.js +0 -1
- package/pn-market-web-components/p-7ce41d14.entry.js +0 -1
- package/pn-market-web-components/p-81d764a0.entry.js +0 -1
- package/pn-market-web-components/p-861def61.entry.js +0 -1
- package/pn-market-web-components/p-88185835.entry.js +0 -1
- package/pn-market-web-components/p-885bc8d7.system.entry.js +0 -1
- package/pn-market-web-components/p-8b684578.entry.js +0 -1
- package/pn-market-web-components/p-8e146205.entry.js +0 -1
- package/pn-market-web-components/p-8e4d292f.entry.js +0 -1
- package/pn-market-web-components/p-8f1b7c70.system.entry.js +0 -1
- package/pn-market-web-components/p-906719be.system.entry.js +0 -1
- package/pn-market-web-components/p-91c5cd79.entry.js +0 -1
- package/pn-market-web-components/p-9344cd23.js +0 -1
- package/pn-market-web-components/p-93d454ea.entry.js +0 -1
- package/pn-market-web-components/p-951861fa.entry.js +0 -1
- package/pn-market-web-components/p-98a7ddd1.system.entry.js +0 -1
- package/pn-market-web-components/p-996d8a6a.entry.js +0 -1
- package/pn-market-web-components/p-9b855b11.entry.js +0 -24
- package/pn-market-web-components/p-9c2c1aa2.entry.js +0 -1
- package/pn-market-web-components/p-a247058b.system.entry.js +0 -1
- package/pn-market-web-components/p-a5171cb9.system.entry.js +0 -1
- package/pn-market-web-components/p-a7bb94a0.entry.js +0 -1
- package/pn-market-web-components/p-a921d3fd.system.entry.js +0 -1
- package/pn-market-web-components/p-b1474b9e.entry.js +0 -1
- package/pn-market-web-components/p-b9a84e67.entry.js +0 -1
- package/pn-market-web-components/p-bb4f0673.system.entry.js +0 -1
- package/pn-market-web-components/p-bb626ab4.js +0 -1
- package/pn-market-web-components/p-bd22aaac.entry.js +0 -1
- package/pn-market-web-components/p-c2e55f38.entry.js +0 -1
- package/pn-market-web-components/p-c5179a9b.system.entry.js +0 -1
- package/pn-market-web-components/p-c714a790.entry.js +0 -1
- package/pn-market-web-components/p-cb53b67f.system.js +0 -1
- package/pn-market-web-components/p-d0155ddf.entry.js +0 -1
- package/pn-market-web-components/p-d7e3d918.entry.js +0 -1
- package/pn-market-web-components/p-e32dc098.entry.js +0 -1
- package/pn-market-web-components/p-e9576f26.entry.js +0 -1
- package/pn-market-web-components/p-e9fe5c54.entry.js +0 -1
- package/pn-market-web-components/p-ecdf2b69.system.entry.js +0 -1
- package/pn-market-web-components/p-ee589138.entry.js +0 -1
- package/pn-market-web-components/p-f008015e.system.entry.js +0 -1
- package/pn-market-web-components/p-f61342c3.js +0 -1
- package/pn-market-web-components/p-f774e2cc.entry.js +0 -1
- package/pn-market-web-components/p-f82c5d08.entry.js +0 -1
- package/pn-market-web-components/p-fc974bca.entry.js +0 -1
- package/pn-market-web-components/p-fea72975.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -57
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +0 -122
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +0 -2609
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +0 -19
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +0 -2583
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +0 -14
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +0 -24
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +0 -18505
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +0 -341
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +0 -150
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +0 -559
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +0 -498
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +0 -83
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +0 -130
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +0 -146
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +0 -48
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +0 -324
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +0 -118
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +0 -47
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +0 -51
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +0 -137
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +0 -47
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +0 -55
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +0 -45
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +0 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +0 -85
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +0 -730
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +0 -29
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +0 -44
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +0 -433
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +0 -49
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +0 -99
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +0 -154
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +0 -50
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +0 -123
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +0 -111
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +0 -28
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +0 -4526
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +0 -43
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +0 -327
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +0 -6192
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +0 -175
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +0 -70673
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +0 -218
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +0 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +0 -120
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +0 -18
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +0 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +0 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +0 -808
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +0 -5
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +0 -264
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +0 -1799
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -132
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +0 -160
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +0 -82
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -1066
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +0 -92
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +0 -88
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +0 -3371
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +0 -142
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +0 -23
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -11
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -34
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +0 -387
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +0 -1143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +0 -7
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +0 -217
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +0 -777
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +0 -143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +0 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +0 -51
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +0 -16
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +0 -41
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +0 -2268
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +0 -2338
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +0 -140
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +0 -1637
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +0 -1105
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +0 -7
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +0 -143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +0 -4858
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +0 -1020
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +0 -4822
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +0 -190
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +0 -99
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +0 -33
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +0 -13
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +0 -661
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +0 -2807
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +0 -6121
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +0 -52
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +0 -4155
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +0 -16
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +0 -59
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +0 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +0 -37
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +0 -14
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +0 -21
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +0 -23
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +0 -5
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +0 -11
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +0 -56
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +0 -429
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +0 -67
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +0 -21
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +0 -2
- /package/{custom-elements → components}/mockresponse.js +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import{r as t,h as n,a as r,g as e}from"./p-7c1b31e8.js";import{g as i,c as a,a as o}from"./p-814af281.js";
|
|
2
|
+
//! moment.js
|
|
3
|
+
//! version : 2.29.4
|
|
4
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5
|
+
//! license : MIT
|
|
6
|
+
//! momentjs.com
|
|
7
|
+
var u,s;function h(){return u.apply(null,arguments)}function f(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function c(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function d(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(l(t,n))return!1;return!0}function v(t){return void 0===t}function m(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function g(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function b(t,n){var r,e=[],i=t.length;for(r=0;r<i;++r)e.push(n(t[r],r));return e}function p(t,n){for(var r in n)l(n,r)&&(t[r]=n[r]);return l(n,"toString")&&(t.toString=n.toString),l(n,"valueOf")&&(t.valueOf=n.valueOf),t}function M(t,n,r,e){return On(t,n,r,e,!0).utc()}function y(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function w(t){if(null==t._isValid){var n=y(t),r=s.call(n.parsedDateParts,(function(t){return null!=t})),e=!isNaN(t._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&r);if(t._strict&&(e=e&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return e;t._isValid=e}return t._isValid}function k(t){var n=M(NaN);return null!=t?p(y(n),t):y(n).userInvalidated=!0,n}s=Array.prototype.some?Array.prototype.some:function(t){var n,r=Object(this),e=r.length>>>0;for(n=0;n<e;n++)if(n in r&&t.call(this,r[n],n,r))return!0;return!1};var x=h.momentProperties=[],S=!1;function D(t,n){var r,e,i,a=x.length;if(v(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),v(n._i)||(t._i=n._i),v(n._f)||(t._f=n._f),v(n._l)||(t._l=n._l),v(n._strict)||(t._strict=n._strict),v(n._tzm)||(t._tzm=n._tzm),v(n._isUTC)||(t._isUTC=n._isUTC),v(n._offset)||(t._offset=n._offset),v(n._pf)||(t._pf=y(n)),v(n._locale)||(t._locale=n._locale),a>0)for(r=0;r<a;r++)v(i=n[e=x[r]])||(t[e]=i);return t}function N(t){D(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===S&&(S=!0,h.updateOffset(this),S=!1)}function Y(t){return t instanceof N||null!=t&&null!=t._isAMomentObject}function _(t){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(t,n){var r=!0;return p((function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,t),r){var e,i,a,o=[],u=arguments.length;for(i=0;i<u;i++){if(e="","object"==typeof arguments[i]){for(a in e+="\n["+i+"] ",arguments[0])l(arguments[0],a)&&(e+=a+": "+arguments[0][a]+", ");e=e.slice(0,-2)}else e=arguments[i];o.push(e)}_(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)}),n)}var O,A={};function T(t,n){null!=h.deprecationHandler&&h.deprecationHandler(t,n),A[t]||(_(n),A[t]=!0)}function F(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,n){var r,e=p({},t);for(r in n)l(n,r)&&(c(t[r])&&c(n[r])?(e[r]={},p(e[r],t[r]),p(e[r],n[r])):null!=n[r]?e[r]=n[r]:delete e[r]);for(r in t)l(t,r)&&!l(n,r)&&c(t[r])&&(e[r]=p({},e[r]));return e}function j(t){null!=t&&this.set(t)}function E(t,n,r){var e=""+Math.abs(t);return(t>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,n-e.length)).toString().substr(1)+e}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null,O=Object.keys?Object.keys:function(t){var n,r=[];for(n in t)l(t,n)&&r.push(n);return r};var W=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},R={};function z(t,n,r,e){var i=e;"string"==typeof e&&(i=function(){return this[e]()}),t&&(R[t]=i),n&&(R[n[0]]=function(){return E(i.apply(this,arguments),n[1],n[2])}),r&&(R[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function P(t,n){return t.isValid()?(n=B(n,t.localeData()),H[n]=H[n]||function(t){var n,r,e,i=t.match(W);for(n=0,r=i.length;n<r;n++)i[n]=R[i[n]]?R[i[n]]:(e=i[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,a="";for(e=0;e<r;e++)a+=F(i[e])?i[e].call(n,t):i[e];return a}}(n),H[n](t)):t.localeData().invalidDate()}function B(t,n){var r=5;function e(t){return n.longDateFormat(t)||t}for(I.lastIndex=0;r>=0&&I.test(t);)t=t.replace(I,e),I.lastIndex=0,r-=1;return t}var G={};function U(t,n){var r=t.toLowerCase();G[r]=G[r+"s"]=G[n]=t}function q(t){return"string"==typeof t?G[t]||G[t.toLowerCase()]:void 0}function V(t){var n,r,e={};for(r in t)l(t,r)&&(n=q(r))&&(e[n]=t[r]);return e}var Z={};function $(t,n){Z[t]=n}function Q(t){return t%4==0&&t%100!=0||t%400==0}function J(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function X(t){var n=+t,r=0;return 0!==n&&isFinite(n)&&(r=J(n)),r}function K(t,n){return function(r){return null!=r?(nt(this,t,r),h.updateOffset(this,n),this):tt(this,t)}}function tt(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function nt(t,n,r){t.isValid()&&!isNaN(r)&&("FullYear"===n&&Q(t.year())&&1===t.month()&&29===t.date()?(r=X(r),t._d["set"+(t._isUTC?"UTC":"")+n](r,t.month(),Yt(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](r))}var rt,et=/\d/,it=/\d\d/,at=/\d{3}/,ot=/\d{4}/,ut=/[+-]?\d{6}/,st=/\d\d?/,ht=/\d\d\d\d?/,ft=/\d\d\d\d\d\d?/,ct=/\d{1,3}/,lt=/\d{1,4}/,dt=/[+-]?\d{1,6}/,vt=/\d+/,mt=/[+-]?\d+/,gt=/Z|[+-]\d\d:?\d\d/gi,bt=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Mt(t,n,r){rt[t]=F(n)?n:function(t){return t&&r?r:n}}function yt(t,n){return l(rt,t)?rt[t](n._strict,n._locale):new RegExp(wt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,r,e,i){return n||r||e||i}))))}function wt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}rt={};var kt,xt={};function St(t,n){var r,e,i=n;for("string"==typeof t&&(t=[t]),m(n)&&(i=function(t,r){r[n]=X(t)}),e=t.length,r=0;r<e;r++)xt[t[r]]=i}function Dt(t,n){St(t,(function(t,r,e,i){e._w=e._w||{},n(t,e._w,e,i)}))}function Nt(t,n,r){null!=n&&l(xt,t)&&xt[t](n,r._a,r,t)}function Yt(t,n){if(isNaN(t)||isNaN(n))return NaN;var r=(n%12+12)%12;return t+=(n-r)/12,1===r?Q(t)?29:28:31-r%7%2}kt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},z("M",["MM",2],"Mo",(function(){return this.month()+1})),z("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),z("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),U("month","M"),$("month",8),Mt("M",st),Mt("MM",st,it),Mt("MMM",(function(t,n){return n.monthsShortRegex(t)})),Mt("MMMM",(function(t,n){return n.monthsRegex(t)})),St(["M","MM"],(function(t,n){n[1]=X(t)-1})),St(["MMM","MMMM"],(function(t,n,r,e){var i=r._locale.monthsParse(t,e,r._strict);null!=i?n[1]=i:y(r).invalidMonth=t}));var _t="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ct="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,At=pt,Tt=pt;function Ft(t,n,r){var e,i,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)a=M([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(a,"").toLocaleLowerCase();return r?"MMM"===n?-1!==(i=kt.call(this._shortMonthsParse,o))?i:null:-1!==(i=kt.call(this._longMonthsParse,o))?i:null:"MMM"===n?-1!==(i=kt.call(this._shortMonthsParse,o))||-1!==(i=kt.call(this._longMonthsParse,o))?i:null:-1!==(i=kt.call(this._longMonthsParse,o))||-1!==(i=kt.call(this._shortMonthsParse,o))?i:null}function Lt(t,n){var r;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=X(n);else if(!m(n=t.localeData().monthsParse(n)))return t;return r=Math.min(t.date(),Yt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,r),t}function jt(t){return null!=t?(Lt(this,t),h.updateOffset(this,!0),this):tt(this,"Month")}function Et(){function t(t,n){return n.length-t.length}var n,r,e=[],i=[],a=[];for(n=0;n<12;n++)r=M([2e3,n]),e.push(this.monthsShort(r,"")),i.push(this.months(r,"")),a.push(this.months(r,"")),a.push(this.monthsShort(r,""));for(e.sort(t),i.sort(t),a.sort(t),n=0;n<12;n++)e[n]=wt(e[n]),i[n]=wt(i[n]);for(n=0;n<24;n++)a[n]=wt(a[n]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Wt(t){return Q(t)?366:365}z("Y",0,0,(function(){var t=this.year();return t<=9999?E(t,4):"+"+t})),z(0,["YY",2],0,(function(){return this.year()%100})),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),U("year","y"),$("year",1),Mt("Y",mt),Mt("YY",st,it),Mt("YYYY",lt,ot),Mt("YYYYY",dt,ut),Mt("YYYYYY",dt,ut),St(["YYYYY","YYYYYY"],0),St("YYYY",(function(t,n){n[0]=2===t.length?h.parseTwoDigitYear(t):X(t)})),St("YY",(function(t,n){n[0]=h.parseTwoDigitYear(t)})),St("Y",(function(t,n){n[0]=parseInt(t,10)})),h.parseTwoDigitYear=function(t){return X(t)+(X(t)>68?1900:2e3)};var It=K("FullYear",!0);function Ht(t,n,r,e,i,a,o){var u;return t<100&&t>=0?(u=new Date(t+400,n,r,e,i,a,o),isFinite(u.getFullYear())&&u.setFullYear(t)):u=new Date(t,n,r,e,i,a,o),u}function Rt(t){var n,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,r)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function zt(t,n,r){var e=7+n-r;return-(7+Rt(t,0,e).getUTCDay()-n)%7+e-1}function Pt(t,n,r,e,i){var a,o,u=1+7*(n-1)+(7+r-e)%7+zt(t,e,i);return u<=0?o=Wt(a=t-1)+u:u>Wt(t)?(a=t+1,o=u-Wt(t)):(a=t,o=u),{year:a,dayOfYear:o}}function Bt(t,n,r){var e,i,a=zt(t.year(),n,r),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?e=o+Gt(i=t.year()-1,n,r):o>Gt(t.year(),n,r)?(e=o-Gt(t.year(),n,r),i=t.year()+1):(i=t.year(),e=o),{week:e,year:i}}function Gt(t,n,r){var e=zt(t,n,r),i=zt(t+1,n,r);return(Wt(t)-e+i)/7}function Ut(t,n){return t.slice(n,7).concat(t.slice(0,n))}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),$("week",5),$("isoWeek",5),Mt("w",st),Mt("ww",st,it),Mt("W",st),Mt("WW",st,it),Dt(["w","ww","W","WW"],(function(t,n,r,e){n[e.substr(0,1)]=X(t)})),z("d",0,"do","day"),z("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),z("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),z("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),$("day",11),$("weekday",11),$("isoWeekday",11),Mt("d",st),Mt("e",st),Mt("E",st),Mt("dd",(function(t,n){return n.weekdaysMinRegex(t)})),Mt("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),Mt("dddd",(function(t,n){return n.weekdaysRegex(t)})),Dt(["dd","ddd","dddd"],(function(t,n,r,e){var i=r._locale.weekdaysParse(t,e,r._strict);null!=i?n.d=i:y(r).invalidWeekday=t})),Dt(["d","e","E"],(function(t,n,r,e){n[e]=X(t)}));var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$t=pt,Qt=pt,Jt=pt;function Xt(t,n,r){var e,i,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)a=M([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(a,"").toLocaleLowerCase();return r?"dddd"===n?-1!==(i=kt.call(this._weekdaysParse,o))?i:null:"ddd"===n?-1!==(i=kt.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=kt.call(this._minWeekdaysParse,o))?i:null:"dddd"===n?-1!==(i=kt.call(this._weekdaysParse,o))||-1!==(i=kt.call(this._shortWeekdaysParse,o))||-1!==(i=kt.call(this._minWeekdaysParse,o))?i:null:"ddd"===n?-1!==(i=kt.call(this._shortWeekdaysParse,o))||-1!==(i=kt.call(this._weekdaysParse,o))||-1!==(i=kt.call(this._minWeekdaysParse,o))?i:null:-1!==(i=kt.call(this._minWeekdaysParse,o))||-1!==(i=kt.call(this._weekdaysParse,o))||-1!==(i=kt.call(this._shortWeekdaysParse,o))?i:null}function Kt(){function t(t,n){return n.length-t.length}var n,r,e,i,a,o=[],u=[],s=[],h=[];for(n=0;n<7;n++)r=M([2e3,1]).day(n),e=wt(this.weekdaysMin(r,"")),i=wt(this.weekdaysShort(r,"")),a=wt(this.weekdays(r,"")),o.push(e),u.push(i),s.push(a),h.push(e),h.push(i),h.push(a);o.sort(t),u.sort(t),s.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function tn(){return this.hours()%12||12}function nn(t,n){z(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function rn(t,n){return n._meridiemParse}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,tn),z("k",["kk",2],0,(function(){return this.hours()||24})),z("hmm",0,0,(function(){return""+tn.apply(this)+E(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+tn.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),nn("a",!0),nn("A",!1),U("hour","h"),$("hour",13),Mt("a",rn),Mt("A",rn),Mt("H",st),Mt("h",st),Mt("k",st),Mt("HH",st,it),Mt("hh",st,it),Mt("kk",st,it),Mt("hmm",ht),Mt("hmmss",ft),Mt("Hmm",ht),Mt("Hmmss",ft),St(["H","HH"],3),St(["k","kk"],(function(t,n){var r=X(t);n[3]=24===r?0:r})),St(["a","A"],(function(t,n,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),St(["h","hh"],(function(t,n,r){n[3]=X(t),y(r).bigHour=!0})),St("hmm",(function(t,n,r){var e=t.length-2;n[3]=X(t.substr(0,e)),n[4]=X(t.substr(e)),y(r).bigHour=!0})),St("hmmss",(function(t,n,r){var e=t.length-4,i=t.length-2;n[3]=X(t.substr(0,e)),n[4]=X(t.substr(e,2)),n[5]=X(t.substr(i)),y(r).bigHour=!0})),St("Hmm",(function(t,n){var r=t.length-2;n[3]=X(t.substr(0,r)),n[4]=X(t.substr(r))})),St("Hmmss",(function(t,n){var r=t.length-4,e=t.length-2;n[3]=X(t.substr(0,r)),n[4]=X(t.substr(r,2)),n[5]=X(t.substr(e))}));var en,an=K("Hours",!0),on={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_t,monthsShort:Ct,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Zt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},un={},sn={};function hn(t,n){var r,e=Math.min(t.length,n.length);for(r=0;r<e;r+=1)if(t[r]!==n[r])return r;return e}function fn(t){return t?t.toLowerCase().replace("_","-"):t}function cn(t){var n=null;if(void 0===un[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=en._abbr,require("./locale/"+t),ln(n)}catch(r){un[t]=null}return un[t]}function ln(t,n){var r;return t&&((r=v(n)?vn(t):dn(t,n))?en=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),en._abbr}function dn(t,n){if(null!==n){var r,e=on;if(n.abbr=t,null!=un[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),e=un[t]._config;else if(null!=n.parentLocale)if(null!=un[n.parentLocale])e=un[n.parentLocale]._config;else{if(null==(r=cn(n.parentLocale)))return sn[n.parentLocale]||(sn[n.parentLocale]=[]),sn[n.parentLocale].push({name:t,config:n}),null;e=r._config}return un[t]=new j(L(e,n)),sn[t]&&sn[t].forEach((function(t){dn(t.name,t.config)})),ln(t),un[t]}return delete un[t],null}function vn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return en;if(!f(t)){if(n=cn(t))return n;t=[t]}return function(t){for(var n,r,e,i,a=0;a<t.length;){for(n=(i=fn(t[a]).split("-")).length,r=(r=fn(t[a+1]))?r.split("-"):null;n>0;){if(e=cn(i.slice(0,n).join("-")))return e;if(r&&r.length>=n&&hn(i,r)>=n-1)break;n--}a++}return en}(t)}function mn(t){var n,r=t._a;return r&&-2===y(t).overflow&&(n=r[1]<0||r[1]>11?1:r[2]<1||r[2]>Yt(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,y(t)._overflowDayOfYear&&(n<0||n>2)&&(n=2),y(t)._overflowWeeks&&-1===n&&(n=7),y(t)._overflowWeekday&&-1===n&&(n=8),y(t).overflow=n),t}var gn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wn=/^\/?Date\((-?\d+)/i,kn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Sn(t){var n,r,e,i,a,o,u=t._i,s=gn.exec(u)||bn.exec(u),h=Mn.length,f=yn.length;if(s){for(y(t).iso=!0,n=0,r=h;n<r;n++)if(Mn[n][1].exec(s[1])){i=Mn[n][0],e=!1!==Mn[n][2];break}if(null==i)return void(t._isValid=!1);if(s[3]){for(n=0,r=f;n<r;n++)if(yn[n][1].exec(s[3])){a=(s[2]||" ")+yn[n][0];break}if(null==a)return void(t._isValid=!1)}if(!e&&null!=a)return void(t._isValid=!1);if(s[4]){if(!pn.exec(s[4]))return void(t._isValid=!1);o="Z"}t._f=i+(a||"")+(o||""),_n(t)}else t._isValid=!1}function Dn(t){var n,r,e,i,a,o,u,s,h,f=kn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(f){if(r=f[3],e=f[2],i=f[5],a=f[6],o=f[7],u=[(s=f[4],h=parseInt(s,10),h<=49?2e3+h:h<=999?1900+h:h),Ct.indexOf(r),parseInt(e,10),parseInt(i,10),parseInt(a,10)],o&&u.push(parseInt(o,10)),!function(t,n,r){return!t||Vt.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(y(r).weekdayMismatch=!0,r._isValid=!1,!1)}(f[1],n=u,t))return;t._a=n,t._tzm=function(t,n,r){if(t)return xn[t];if(n)return 0;var e=parseInt(r,10),i=e%100;return(e-i)/100*60+i}(f[8],f[9],f[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),y(t).rfc2822=!0}else t._isValid=!1}function Nn(t,n,r){return null!=t?t:null!=n?n:r}function Yn(t){var n,r,e,i,a,o=[];if(!t._d){for(e=function(t){var n=new Date(h.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var n,r,e,i,a,o,u,s,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(a=1,o=4,r=Nn(n.GG,t._a[0],Bt(An(),1,4).year),e=Nn(n.W,1),((i=Nn(n.E,1))<1||i>7)&&(s=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,h=Bt(An(),a,o),r=Nn(n.gg,t._a[0],h.year),e=Nn(n.w,h.week),null!=n.d?((i=n.d)<0||i>6)&&(s=!0):null!=n.e?(i=n.e+a,(n.e<0||n.e>6)&&(s=!0)):i=a),e<1||e>Gt(r,a,o)?y(t)._overflowWeeks=!0:null!=s?y(t)._overflowWeekday=!0:(u=Pt(r,e,i,a,o),t._a[0]=u.year,t._dayOfYear=u.dayOfYear)}(t),null!=t._dayOfYear&&(a=Nn(t._a[0],e[0]),(t._dayOfYear>Wt(a)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),r=Rt(a,0,t._dayOfYear),t._a[1]=r.getUTCMonth(),t._a[2]=r.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=e[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Ht).apply(null,o),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(y(t).weekdayMismatch=!0)}}function _n(t){if(t._f!==h.ISO_8601)if(t._f!==h.RFC_2822){t._a=[],y(t).empty=!0;var n,r,e,i,a,o,u,s=""+t._i,f=s.length,c=0;for(u=(e=B(t._f,t._locale).match(W)||[]).length,n=0;n<u;n++)(r=(s.match(yt(i=e[n],t))||[])[0])&&((a=s.substr(0,s.indexOf(r))).length>0&&y(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),R[i]?(r?y(t).empty=!1:y(t).unusedTokens.push(i),Nt(i,r,t)):t._strict&&!r&&y(t).unusedTokens.push(i);y(t).charsLeftOver=f-c,s.length>0&&y(t).unusedInput.push(s),t._a[3]<=12&&!0===y(t).bigHour&&t._a[3]>0&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[3]=function(t,n,r){var e;return null==r?n:null!=t.meridiemHour?t.meridiemHour(n,r):null!=t.isPM?((e=t.isPM(r))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[3],t._meridiem),null!==(o=y(t).era)&&(t._a[0]=t._locale.erasConvertYear(o,t._a[0])),Yn(t),mn(t)}else Dn(t);else Sn(t)}function Cn(t){var n=t._i,r=t._f;return t._locale=t._locale||vn(t._l),null===n||void 0===r&&""===n?k({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),Y(n)?new N(mn(n)):(g(n)?t._d=n:f(r)?function(t){var n,r,e,i,a,o,u=!1,s=t._f.length;if(0===s)return y(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<s;i++)a=0,o=!1,n=D({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[i],_n(n),w(n)&&(o=!0),a+=y(n).charsLeftOver,a+=10*y(n).unusedTokens.length,y(n).score=a,u?a<e&&(e=a,r=n):(null==e||a<e||o)&&(e=a,r=n,o&&(u=!0));p(t,r||n)}(t):r?_n(t):function(t){var n=t._i;v(n)?t._d=new Date(h.now()):g(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=wn.exec(t._i);null===n?(Sn(t),!1===t._isValid&&(delete t._isValid,Dn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:h.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):f(n)?(t._a=b(n.slice(0),(function(t){return parseInt(t,10)})),Yn(t)):c(n)?function(t){if(!t._d){var n=V(t._i);t._a=b([n.year,n.month,void 0===n.day?n.date:n.day,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),Yn(t)}}(t):m(n)?t._d=new Date(n):h.createFromInputFallback(t)}(t),w(t)||(t._d=null),t))}function On(t,n,r,e,i){var a,o={};return!0!==n&&!1!==n||(e=n,n=void 0),!0!==r&&!1!==r||(e=r,r=void 0),(c(t)&&d(t)||f(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=t,o._f=n,o._strict=e,(a=new N(mn(Cn(o))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function An(t,n,r,e){return On(t,n,r,e,!1)}h.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),h.ISO_8601=function(){},h.RFC_2822=function(){};var Tn=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=An.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:k()})),Fn=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=An.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:k()}));function Ln(t,n){var r,e;if(1===n.length&&f(n[0])&&(n=n[0]),!n.length)return An();for(r=n[0],e=1;e<n.length;++e)n[e].isValid()&&!n[e][t](r)||(r=n[e]);return r}var jn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function En(t){var n=V(t),r=n.year||0,e=n.quarter||0,i=n.month||0,a=n.week||n.isoWeek||0,o=n.day||0,u=n.hour||0,s=n.minute||0,h=n.second||0,f=n.millisecond||0;this._isValid=function(t){var n,r,e=!1,i=jn.length;for(n in t)if(l(t,n)&&(-1===kt.call(jn,n)||null!=t[n]&&isNaN(t[n])))return!1;for(r=0;r<i;++r)if(t[jn[r]]){if(e)return!1;parseFloat(t[jn[r]])!==X(t[jn[r]])&&(e=!0)}return!0}(n),this._milliseconds=+f+1e3*h+6e4*s+1e3*u*60*60,this._days=+o+7*a,this._months=+i+3*e+12*r,this._data={},this._locale=vn(),this._bubble()}function Wn(t){return t instanceof En}function In(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Hn(t,n){z(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+E(~~(t/60),2)+n+E(~~t%60,2)}))}Hn("Z",":"),Hn("ZZ",""),Mt("Z",bt),Mt("ZZ",bt),St(["Z","ZZ"],(function(t,n,r){r._useUTC=!0,r._tzm=zn(bt,t)}));var Rn=/([\+\-]|\d\d)/gi;function zn(t,n){var r,e,i=(n||"").match(t);return null===i?null:0===(e=60*(r=((i[i.length-1]||[])+"").match(Rn)||["-",0,0])[1]+X(r[2]))?0:"+"===r[0]?e:-e}function Pn(t,n){var r,e;return n._isUTC?(r=n.clone(),e=(Y(t)||g(t)?t.valueOf():An(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+e),h.updateOffset(r,!1),r):An(t).local()}function Bn(t){return-Math.round(t._d.getTimezoneOffset())}function Gn(){return!!this.isValid()&&this._isUTC&&0===this._offset}h.updateOffset=function(){};var Un=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,qn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vn(t,n){var r,e,i,a,o,u,s=t,h=null;return Wn(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:m(t)||!isNaN(+t)?(s={},n?s[n]=+t:s.milliseconds=+t):(h=Un.exec(t))?(r="-"===h[1]?-1:1,s={y:0,d:X(h[2])*r,h:X(h[3])*r,m:X(h[4])*r,s:X(h[5])*r,ms:X(In(1e3*h[6]))*r}):(h=qn.exec(t))?s={y:Zn(h[2],r="-"===h[1]?-1:1),M:Zn(h[3],r),w:Zn(h[4],r),d:Zn(h[5],r),h:Zn(h[6],r),m:Zn(h[7],r),s:Zn(h[8],r)}:null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(a=An(s.from),o=An(s.to),i=a.isValid()&&o.isValid()?(o=Pn(o,a),a.isBefore(o)?u=$n(a,o):((u=$n(o,a)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(s={}).ms=i.milliseconds,s.M=i.months),e=new En(s),Wn(t)&&l(t,"_locale")&&(e._locale=t._locale),Wn(t)&&l(t,"_isValid")&&(e._isValid=t._isValid),e}function Zn(t,n){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*n}function $n(t,n){var r={};return r.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(r.months,"M").isAfter(n)&&--r.months,r.milliseconds=+n-+t.clone().add(r.months,"M"),r}function Qn(t,n){return function(r,e){var i;return null===e||isNaN(+e)||(T(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=e,e=i),Jn(this,Vn(r,e),t),this}}function Jn(t,n,r,e){var i=n._milliseconds,a=In(n._days),o=In(n._months);t.isValid()&&(e=null==e||e,o&&Lt(t,tt(t,"Month")+o*r),a&&nt(t,"Date",tt(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),e&&h.updateOffset(t,a||o))}Vn.fn=En.prototype,Vn.invalid=function(){return Vn(NaN)};var Xn=Qn(1,"add"),Kn=Qn(-1,"subtract");function tr(t){return"string"==typeof t||t instanceof String}function nr(t){return Y(t)||g(t)||tr(t)||m(t)||function(t){var n=f(t),r=!1;return n&&(r=0===t.filter((function(n){return!m(n)&&tr(t)})).length),n&&r}(t)||function(t){var n,r=c(t)&&!d(t),e=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=i.length;for(n=0;n<a;n+=1)e=e||l(t,i[n]);return r&&e}(t)||null==t}function rr(t){var n,r=c(t)&&!d(t),e=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<i.length;n+=1)e=e||l(t,i[n]);return r&&e}function er(t,n){if(t.date()<n.date())return-er(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(r,"months");return-(r+(n-e<0?(n-e)/(e-t.clone().add(r-1,"months")):(n-e)/(t.clone().add(r+1,"months")-e)))||0}function ir(t){var n;return void 0===t?this._locale._abbr:(null!=(n=vn(t))&&(this._locale=n),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ar=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function or(){return this._locale}var ur=1e3,sr=6e4,hr=36e5,fr=126227808e5;function cr(t,n){return(t%n+n)%n}function lr(t,n,r){return t<100&&t>=0?new Date(t+400,n,r)-fr:new Date(t,n,r).valueOf()}function dr(t,n,r){return t<100&&t>=0?Date.UTC(t+400,n,r)-fr:Date.UTC(t,n,r)}function vr(t,n){return n.erasAbbrRegex(t)}function mr(){var t,n,r=[],e=[],i=[],a=[],o=this.eras();for(t=0,n=o.length;t<n;++t)e.push(wt(o[t].name)),r.push(wt(o[t].abbr)),i.push(wt(o[t].narrow)),a.push(wt(o[t].name)),a.push(wt(o[t].abbr)),a.push(wt(o[t].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function gr(t,n){z(0,[t,t.length],0,n)}function br(t,n,r,e,i){var a;return null==t?Bt(this,e,i).year:(n>(a=Gt(t,e,i))&&(n=a),pr.call(this,t,n,r,e,i))}function pr(t,n,r,e,i){var a=Pt(t,n,r,e,i),o=Rt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),Mt("N",vr),Mt("NN",vr),Mt("NNN",vr),Mt("NNNN",(function(t,n){return n.erasNameRegex(t)})),Mt("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),St(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,r,e){var i=r._locale.erasParse(t,e,r._strict);i?y(r).era=i:y(r).invalidEra=t})),Mt("y",vt),Mt("yy",vt),Mt("yyy",vt),Mt("yyyy",vt),Mt("yo",(function(t,n){return n._eraYearOrdinalRegex||vt})),St(["y","yy","yyy","yyyy"],0),St(["yo"],(function(t,n,r){var e;r._locale._eraYearOrdinalRegex&&(e=t.match(r._locale._eraYearOrdinalRegex)),n[0]=r._locale.eraYearOrdinalParse?r._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),gr("gggg","weekYear"),gr("ggggg","weekYear"),gr("GGGG","isoWeekYear"),gr("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),$("weekYear",1),$("isoWeekYear",1),Mt("G",mt),Mt("g",mt),Mt("GG",st,it),Mt("gg",st,it),Mt("GGGG",lt,ot),Mt("gggg",lt,ot),Mt("GGGGG",dt,ut),Mt("ggggg",dt,ut),Dt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,r,e){n[e.substr(0,2)]=X(t)})),Dt(["gg","GG"],(function(t,n,r,e){n[e]=h.parseTwoDigitYear(t)})),z("Q",0,"Qo","quarter"),U("quarter","Q"),$("quarter",7),Mt("Q",et),St("Q",(function(t,n){n[1]=3*(X(t)-1)})),z("D",["DD",2],"Do","date"),U("date","D"),$("date",9),Mt("D",st),Mt("DD",st,it),Mt("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),St(["D","DD"],2),St("Do",(function(t,n){n[2]=X(t.match(st)[0])}));var Mr=K("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),$("dayOfYear",4),Mt("DDD",ct),Mt("DDDD",at),St(["DDD","DDDD"],(function(t,n,r){r._dayOfYear=X(t)})),z("m",["mm",2],0,"minute"),U("minute","m"),$("minute",14),Mt("m",st),Mt("mm",st,it),St(["m","mm"],4);var yr=K("Minutes",!1);z("s",["ss",2],0,"second"),U("second","s"),$("second",15),Mt("s",st),Mt("ss",st,it),St(["s","ss"],5);var wr,kr,xr=K("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),U("millisecond","ms"),$("millisecond",16),Mt("S",ct,et),Mt("SS",ct,it),Mt("SSS",ct,at),wr="SSSS";wr.length<=9;wr+="S")Mt(wr,vt);function Sr(t,n){n[6]=X(1e3*("0."+t))}for(wr="S";wr.length<=9;wr+="S")St(wr,Sr);kr=K("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var Dr=N.prototype;function Nr(t){return t}Dr.add=Xn,Dr.calendar=function(t,n){1===arguments.length&&(arguments[0]?nr(arguments[0])?(t=arguments[0],n=void 0):rr(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var r=t||An(),e=Pn(r,this).startOf("day"),i=h.calendarFormat(this,e)||"sameElse",a=n&&(F(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,An(r)))},Dr.clone=function(){return new N(this)},Dr.diff=function(t,n,r){var e,i,a;if(!this.isValid())return NaN;if(!(e=Pn(t,this)).isValid())return NaN;switch(i=6e4*(e.utcOffset()-this.utcOffset()),n=q(n)){case"year":a=er(this,e)/12;break;case"month":a=er(this,e);break;case"quarter":a=er(this,e)/3;break;case"second":a=(this-e)/1e3;break;case"minute":a=(this-e)/6e4;break;case"hour":a=(this-e)/36e5;break;case"day":a=(this-e-i)/864e5;break;case"week":a=(this-e-i)/6048e5;break;default:a=this-e}return r?a:J(a)},Dr.endOf=function(t){var n,r;if(void 0===(t=q(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?dr:lr,t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=hr-cr(n+(this._isUTC?0:this.utcOffset()*sr),hr)-1;break;case"minute":n=this._d.valueOf(),n+=sr-cr(n,sr)-1;break;case"second":n=this._d.valueOf(),n+=ur-cr(n,ur)-1}return this._d.setTime(n),h.updateOffset(this,!0),this},Dr.format=function(t){t||(t=this.isUtc()?h.defaultFormatUtc:h.defaultFormat);var n=P(this,t);return this.localeData().postformat(n)},Dr.from=function(t,n){return this.isValid()&&(Y(t)&&t.isValid()||An(t).isValid())?Vn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Dr.fromNow=function(t){return this.from(An(),t)},Dr.to=function(t,n){return this.isValid()&&(Y(t)&&t.isValid()||An(t).isValid())?Vn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Dr.toNow=function(t){return this.to(An(),t)},Dr.get=function(t){return F(this[t=q(t)])?this[t]():this},Dr.invalidAt=function(){return y(this).overflow},Dr.isAfter=function(t,n){var r=Y(t)?t:An(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(n=q(n)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(n).valueOf())},Dr.isBefore=function(t,n){var r=Y(t)?t:An(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(n=q(n)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(n).valueOf()<r.valueOf())},Dr.isBetween=function(t,n,r,e){var i=Y(t)?t:An(t),a=Y(n)?n:An(n);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(e=e||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===e[1]?this.isBefore(a,r):!this.isAfter(a,r))},Dr.isSame=function(t,n){var r,e=Y(t)?t:An(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=q(n)||"millisecond")?this.valueOf()===e.valueOf():(r=e.valueOf(),this.clone().startOf(n).valueOf()<=r&&r<=this.clone().endOf(n).valueOf()))},Dr.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Dr.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Dr.isValid=function(){return w(this)},Dr.lang=ar,Dr.locale=ir,Dr.localeData=or,Dr.max=Fn,Dr.min=Tn,Dr.parsingFlags=function(){return p({},y(this))},Dr.set=function(t,n){if("object"==typeof t){var r,e=function(t){var n,r=[];for(n in t)l(t,n)&&r.push({unit:n,priority:Z[n]});return r.sort((function(t,n){return t.priority-n.priority})),r}(t=V(t)),i=e.length;for(r=0;r<i;r++)this[e[r].unit](t[e[r].unit])}else if(F(this[t=q(t)]))return this[t](n);return this},Dr.startOf=function(t){var n,r;if(void 0===(t=q(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?dr:lr,t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=cr(n+(this._isUTC?0:this.utcOffset()*sr),hr);break;case"minute":n=this._d.valueOf(),n-=cr(n,sr);break;case"second":n=this._d.valueOf(),n-=cr(n,ur)}return this._d.setTime(n),h.updateOffset(this,!0),this},Dr.subtract=Kn,Dr.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Dr.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Dr.toDate=function(){return new Date(this.valueOf())},Dr.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,r=n?this.clone().utc():this;return r.year()<0||r.year()>9999?P(r,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):F(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(r,"Z")):P(r,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Dr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,r="moment",e="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+r+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Dr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Dr.toJSON=function(){return this.isValid()?this.toISOString():null},Dr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Dr.unix=function(){return Math.floor(this.valueOf()/1e3)},Dr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Dr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Dr.eraName=function(){var t,n,r,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(r=this.clone().startOf("day").valueOf(),e[t].since<=r&&r<=e[t].until)return e[t].name;if(e[t].until<=r&&r<=e[t].since)return e[t].name}return""},Dr.eraNarrow=function(){var t,n,r,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(r=this.clone().startOf("day").valueOf(),e[t].since<=r&&r<=e[t].until)return e[t].narrow;if(e[t].until<=r&&r<=e[t].since)return e[t].narrow}return""},Dr.eraAbbr=function(){var t,n,r,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(r=this.clone().startOf("day").valueOf(),e[t].since<=r&&r<=e[t].until)return e[t].abbr;if(e[t].until<=r&&r<=e[t].since)return e[t].abbr}return""},Dr.eraYear=function(){var t,n,r,e,i=this.localeData().eras();for(t=0,n=i.length;t<n;++t)if(r=i[t].since<=i[t].until?1:-1,e=this.clone().startOf("day").valueOf(),i[t].since<=e&&e<=i[t].until||i[t].until<=e&&e<=i[t].since)return(this.year()-h(i[t].since).year())*r+i[t].offset;return this.year()},Dr.year=It,Dr.isLeapYear=function(){return Q(this.year())},Dr.weekYear=function(t){return br.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Dr.isoWeekYear=function(t){return br.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Dr.quarter=Dr.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Dr.month=jt,Dr.daysInMonth=function(){return Yt(this.year(),this.month())},Dr.week=Dr.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Dr.isoWeek=Dr.isoWeeks=function(t){var n=Bt(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Dr.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},Dr.weeksInWeekYear=function(){var t=this.localeData()._week;return Gt(this.weekYear(),t.dow,t.doy)},Dr.isoWeeksInYear=function(){return Gt(this.year(),1,4)},Dr.isoWeeksInISOWeekYear=function(){return Gt(this.isoWeekYear(),1,4)},Dr.date=Mr,Dr.day=Dr.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},Dr.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},Dr.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Dr.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},Dr.hour=Dr.hours=an,Dr.minute=Dr.minutes=yr,Dr.second=Dr.seconds=xr,Dr.millisecond=Dr.milliseconds=kr,Dr.utcOffset=function(t,n,r){var e,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=zn(bt,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(e=Bn(this)),this._offset=t,this._isUTC=!0,null!=e&&this.add(e,"m"),i!==t&&(!n||this._changeInProgress?Jn(this,Vn(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Bn(this)},Dr.utc=function(t){return this.utcOffset(0,t)},Dr.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Bn(this),"m")),this},Dr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=zn(gt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Dr.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?An(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Dr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Dr.isLocal=function(){return!!this.isValid()&&!this._isUTC},Dr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Dr.isUtc=Gn,Dr.isUTC=Gn,Dr.zoneAbbr=function(){return this._isUTC?"UTC":""},Dr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Dr.dates=C("dates accessor is deprecated. Use date instead.",Mr),Dr.months=C("months accessor is deprecated. Use month instead",jt),Dr.years=C("years accessor is deprecated. Use year instead",It),Dr.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),Dr.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!v(this._isDSTShifted))return this._isDSTShifted;var t,n={};return D(n,this),(n=Cn(n))._a?(t=n._isUTC?M(n._a):An(n._a),this._isDSTShifted=this.isValid()&&function(t,n){var r,e=Math.min(t.length,n.length),i=Math.abs(t.length-n.length),a=0;for(r=0;r<e;r++)X(t[r])!==X(n[r])&&a++;return a+i}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Yr=j.prototype;function _r(t,n,r,e){var i=vn(),a=M().set(e,n);return i[r](a,t)}function Cr(t,n,r){if(m(t)&&(n=t,t=void 0),t=t||"",null!=n)return _r(t,n,r,"month");var e,i=[];for(e=0;e<12;e++)i[e]=_r(t,e,r,"month");return i}function Or(t,n,r,e){"boolean"==typeof t?(m(n)&&(r=n,n=void 0),n=n||""):(r=n=t,t=!1,m(n)&&(r=n,n=void 0),n=n||"");var i,a=vn(),o=t?a._week.dow:0,u=[];if(null!=r)return _r(n,(r+o)%7,e,"day");for(i=0;i<7;i++)u[i]=_r(n,(i+o)%7,e,"day");return u}Yr.calendar=function(t,n,r){var e=this._calendar[t]||this._calendar.sameElse;return F(e)?e.call(n,r):e},Yr.longDateFormat=function(t){var n=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return n||!r?n:(this._longDateFormat[t]=r.match(W).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Yr.invalidDate=function(){return this._invalidDate},Yr.ordinal=function(t){return this._ordinal.replace("%d",t)},Yr.preparse=Nr,Yr.postformat=Nr,Yr.relativeTime=function(t,n,r,e){var i=this._relativeTime[r];return F(i)?i(t,n,r,e):i.replace(/%d/i,t)},Yr.pastFuture=function(t,n){var r=this._relativeTime[t>0?"future":"past"];return F(r)?r(n):r.replace(/%s/i,n)},Yr.set=function(t){var n,r;for(r in t)l(t,r)&&(F(n=t[r])?this[r]=n:this["_"+r]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yr.eras=function(){var t,n,r,e=this._eras||vn("en")._eras;for(t=0,n=e.length;t<n;++t)switch("string"==typeof e[t].since&&(r=h(e[t].since).startOf("day"),e[t].since=r.valueOf()),typeof e[t].until){case"undefined":e[t].until=1/0;break;case"string":r=h(e[t].until).startOf("day").valueOf(),e[t].until=r.valueOf()}return e},Yr.erasParse=function(t,n,r){var e,i,a,o,u,s=this.eras();for(t=t.toUpperCase(),e=0,i=s.length;e<i;++e)if(a=s[e].name.toUpperCase(),o=s[e].abbr.toUpperCase(),u=s[e].narrow.toUpperCase(),r)switch(n){case"N":case"NN":case"NNN":if(o===t)return s[e];break;case"NNNN":if(a===t)return s[e];break;case"NNNNN":if(u===t)return s[e]}else if([a,o,u].indexOf(t)>=0)return s[e]},Yr.erasConvertYear=function(t,n){var r=t.since<=t.until?1:-1;return void 0===n?h(t.since).year():h(t.since).year()+(n-t.offset)*r},Yr.erasAbbrRegex=function(t){return l(this,"_erasAbbrRegex")||mr.call(this),t?this._erasAbbrRegex:this._erasRegex},Yr.erasNameRegex=function(t){return l(this,"_erasNameRegex")||mr.call(this),t?this._erasNameRegex:this._erasRegex},Yr.erasNarrowRegex=function(t){return l(this,"_erasNarrowRegex")||mr.call(this),t?this._erasNarrowRegex:this._erasRegex},Yr.months=function(t,n){return t?f(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(n)?"format":"standalone"][t.month()]:f(this._months)?this._months:this._months.standalone},Yr.monthsShort=function(t,n){return t?f(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(n)?"format":"standalone"][t.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yr.monthsParse=function(t,n,r){var e,i,a;if(this._monthsParseExact)return Ft.call(this,t,n,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(i=M([2e3,e]),r&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[e]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[e]=new RegExp(a.replace(".",""),"i")),r&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(r&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!r&&this._monthsParse[e].test(t))return e}},Yr.monthsRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||Et.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Tt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Yr.monthsShortRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||Et.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=At),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Yr.week=function(t){return Bt(t,this._week.dow,this._week.doy).week},Yr.firstDayOfYear=function(){return this._week.doy},Yr.firstDayOfWeek=function(){return this._week.dow},Yr.weekdays=function(t,n){var r=f(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?Ut(r,this._week.dow):t?r[t.day()]:r},Yr.weekdaysMin=function(t){return!0===t?Ut(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Yr.weekdaysShort=function(t){return!0===t?Ut(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Yr.weekdaysParse=function(t,n,r){var e,i,a;if(this._weekdaysParseExact)return Xt.call(this,t,n,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(i=M([2e3,1]).day(e),r&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[e]=new RegExp(a.replace(".",""),"i")),r&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(r&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(r&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!r&&this._weekdaysParse[e].test(t))return e}},Yr.weekdaysRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$t),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Yr.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yr.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yr.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Yr.meridiem=function(t,n,r){return t>11?r?"pm":"PM":r?"am":"AM"},ln("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===X(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),h.lang=C("moment.lang is deprecated. Use moment.locale instead.",ln),h.langData=C("moment.langData is deprecated. Use moment.localeData instead.",vn);var Ar=Math.abs;function Tr(t,n,r,e){var i=Vn(n,r);return t._milliseconds+=e*i._milliseconds,t._days+=e*i._days,t._months+=e*i._months,t._bubble()}function Fr(t){return t<0?Math.floor(t):Math.ceil(t)}function Lr(t){return 4800*t/146097}function jr(t){return 146097*t/4800}function Er(t){return function(){return this.as(t)}}var Wr=Er("ms"),Ir=Er("s"),Hr=Er("m"),Rr=Er("h"),zr=Er("d"),Pr=Er("w"),Br=Er("M"),Gr=Er("Q"),Ur=Er("y");function qr(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vr=qr("milliseconds"),Zr=qr("seconds"),$r=qr("minutes"),Qr=qr("hours"),Jr=qr("days"),Xr=qr("months"),Kr=qr("years"),te=Math.round,ne={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function re(t,n,r,e,i){return i.relativeTime(n||1,!!r,t,e)}var ee=Math.abs;function ie(t){return(t>0)-(t<0)||+t}function ae(){if(!this.isValid())return this.localeData().invalidDate();var t,n,r,e,i,a,o,u,s=ee(this._milliseconds)/1e3,h=ee(this._days),f=ee(this._months),c=this.asSeconds();return c?(t=J(s/60),n=J(t/60),s%=60,t%=60,r=J(f/12),f%=12,e=s?s.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",a=ie(this._months)!==ie(c)?"-":"",o=ie(this._days)!==ie(c)?"-":"",u=ie(this._milliseconds)!==ie(c)?"-":"",i+"P"+(r?a+r+"Y":"")+(f?a+f+"M":"")+(h?o+h+"D":"")+(n||t||s?"T":"")+(n?u+n+"H":"")+(t?u+t+"M":"")+(s?u+e+"S":"")):"P0D"}var oe=En.prototype;oe.isValid=function(){return this._isValid},oe.abs=function(){var t=this._data;return this._milliseconds=Ar(this._milliseconds),this._days=Ar(this._days),this._months=Ar(this._months),t.milliseconds=Ar(t.milliseconds),t.seconds=Ar(t.seconds),t.minutes=Ar(t.minutes),t.hours=Ar(t.hours),t.months=Ar(t.months),t.years=Ar(t.years),this},oe.add=function(t,n){return Tr(this,t,n,1)},oe.subtract=function(t,n){return Tr(this,t,n,-1)},oe.as=function(t){if(!this.isValid())return NaN;var n,r,e=this._milliseconds;if("month"===(t=q(t))||"quarter"===t||"year"===t)switch(r=this._months+Lr(n=this._days+e/864e5),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(n=this._days+Math.round(jr(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},oe.asMilliseconds=Wr,oe.asSeconds=Ir,oe.asMinutes=Hr,oe.asHours=Rr,oe.asDays=zr,oe.asWeeks=Pr,oe.asMonths=Br,oe.asQuarters=Gr,oe.asYears=Ur,oe.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*X(this._months/12):NaN},oe._bubble=function(){var t,n,r,e,i,a=this._milliseconds,o=this._days,u=this._months,s=this._data;return a>=0&&o>=0&&u>=0||a<=0&&o<=0&&u<=0||(a+=864e5*Fr(jr(u)+o),o=0,u=0),s.milliseconds=a%1e3,t=J(a/1e3),s.seconds=t%60,n=J(t/60),s.minutes=n%60,r=J(n/60),s.hours=r%24,o+=J(r/24),u+=i=J(Lr(o)),o-=Fr(jr(i)),e=J(u/12),u%=12,s.days=o,s.months=u,s.years=e,this},oe.clone=function(){return Vn(this)},oe.get=function(t){return t=q(t),this.isValid()?this[t+"s"]():NaN},oe.milliseconds=Vr,oe.seconds=Zr,oe.minutes=$r,oe.hours=Qr,oe.days=Jr,oe.weeks=function(){return J(this.days()/7)},oe.months=Xr,oe.years=Kr,oe.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var r,e,i=!1,a=ne;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof n&&(a=Object.assign({},ne,n),null!=n.s&&null==n.ss&&(a.ss=n.s-1)),e=function(t,n,r,e){var i=Vn(t).abs(),a=te(i.as("s")),o=te(i.as("m")),u=te(i.as("h")),s=te(i.as("d")),h=te(i.as("M")),f=te(i.as("w")),c=te(i.as("y")),l=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||o<=1&&["m"]||o<r.m&&["mm",o]||u<=1&&["h"]||u<r.h&&["hh",u]||s<=1&&["d"]||s<r.d&&["dd",s];return null!=r.w&&(l=l||f<=1&&["w"]||f<r.w&&["ww",f]),(l=l||h<=1&&["M"]||h<r.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=n,l[3]=+t>0,l[4]=e,re.apply(null,l)}(this,!i,a,r=this.localeData()),i&&(e=r.pastFuture(+this,e)),r.postformat(e)},oe.toISOString=ae,oe.toString=ae,oe.toJSON=ae,oe.locale=ir,oe.localeData=or,oe.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ae),oe.lang=ar,z("X",0,0,"unix"),z("x",0,0,"valueOf"),Mt("x",mt),Mt("X",/[+-]?\d+(\.\d{1,3})?/),St("X",(function(t,n,r){r._d=new Date(1e3*parseFloat(t))})),St("x",(function(t,n,r){r._d=new Date(X(t))})),
|
|
8
|
+
//! moment.js
|
|
9
|
+
h.version="2.29.4",u=An,h.fn=Dr,h.min=function(){var t=[].slice.call(arguments,0);return Ln("isBefore",t)},h.max=function(){var t=[].slice.call(arguments,0);return Ln("isAfter",t)},h.now=function(){return Date.now?Date.now():+new Date},h.utc=M,h.unix=function(t){return An(1e3*t)},h.months=function(t,n){return Cr(t,n,"months")},h.isDate=g,h.locale=ln,h.invalid=k,h.duration=Vn,h.isMoment=Y,h.weekdays=function(t,n,r){return Or(t,n,r,"weekdays")},h.parseZone=function(){return An.apply(null,arguments).parseZone()},h.localeData=vn,h.isDuration=Wn,h.monthsShort=function(t,n){return Cr(t,n,"monthsShort")},h.weekdaysMin=function(t,n,r){return Or(t,n,r,"weekdaysMin")},h.defineLocale=dn,h.updateLocale=function(t,n){if(null!=n){var r,e,i=on;null!=un[t]&&null!=un[t].parentLocale?un[t].set(L(un[t]._config,n)):(null!=(e=cn(t))&&(i=e._config),n=L(i,n),null==e&&(n.abbr=t),(r=new j(n)).parentLocale=un[t],un[t]=r),ln(t)}else null!=un[t]&&(null!=un[t].parentLocale?(un[t]=un[t].parentLocale,t===ln()&&ln(t)):null!=un[t]&&delete un[t]);return un[t]},h.locales=function(){return O(un)},h.weekdaysShort=function(t,n,r){return Or(t,n,r,"weekdaysShort")},h.normalizeUnits=q,h.relativeTimeRounding=function(t){return void 0===t?te:"function"==typeof t&&(te=t,!0)},h.relativeTimeThreshold=function(t,n){return void 0!==ne[t]&&(void 0===n?ne[t]:(ne[t]=n,"s"===t&&(ne.ss=n-1),!0))},h.calendarFormat=function(t,n){var r=t.diff(n,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},h.prototype=Dr,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ue=i(Object.freeze({__proto__:null,default:h}));var se=a((function(t){
|
|
10
|
+
/*!
|
|
11
|
+
* Chart.js v2.9.4
|
|
12
|
+
* https://www.chartjs.org
|
|
13
|
+
* (c) 2020 Chart.js Contributors
|
|
14
|
+
* Released under the MIT License
|
|
15
|
+
*/
|
|
16
|
+
t.exports=function(t){t=t&&t.hasOwnProperty("default")?t.default:t;var n={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},r=function(t,n){return t(n={exports:{}},n.exports),n.exports}((function(t){var r={};for(var e in n)n.hasOwnProperty(e)&&(r[n[e]]=e);var i=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in i)if(i.hasOwnProperty(a)){if(!("channels"in i[a]))throw new Error("missing channels property: "+a);if(!("labels"in i[a]))throw new Error("missing channel labels property: "+a);if(i[a].labels.length!==i[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=i[a].channels,u=i[a].labels;delete i[a].channels,delete i[a].labels,Object.defineProperty(i[a],"channels",{value:o}),Object.defineProperty(i[a],"labels",{value:u})}i.rgb.hsl=function(t){var n,r,e=t[0]/255,i=t[1]/255,a=t[2]/255,o=Math.min(e,i,a),u=Math.max(e,i,a),s=u-o;return u===o?n=0:e===u?n=(i-a)/s:i===u?n=2+(a-e)/s:a===u&&(n=4+(e-i)/s),(n=Math.min(60*n,360))<0&&(n+=360),r=(o+u)/2,[n,100*(u===o?0:r<=.5?s/(u+o):s/(2-u-o)),100*r]},i.rgb.hsv=function(t){var n,r,e,i,a,o=t[0]/255,u=t[1]/255,s=t[2]/255,h=Math.max(o,u,s),f=h-Math.min(o,u,s),c=function(t){return(h-t)/6/f+.5};return 0===f?i=a=0:(a=f/h,n=c(o),r=c(u),e=c(s),o===h?i=e-r:u===h?i=1/3+n-e:s===h&&(i=2/3+r-n),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*h]},i.rgb.hwb=function(t){var n=t[0],r=t[1],e=t[2];return[i.rgb.hsl(t)[0],1/255*Math.min(n,Math.min(r,e))*100,100*(e=1-1/255*Math.max(n,Math.max(r,e)))]},i.rgb.cmyk=function(t){var n,r=t[0]/255,e=t[1]/255,i=t[2]/255;return[100*((1-r-(n=Math.min(1-r,1-e,1-i)))/(1-n)||0),100*((1-e-n)/(1-n)||0),100*((1-i-n)/(1-n)||0),100*n]},i.rgb.keyword=function(t){var e=r[t];if(e)return e;var i,a,o,u=1/0;for(var s in n)if(n.hasOwnProperty(s)){var h=(a=t,o=n[s],Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));h<u&&(u=h,i=s)}return i},i.keyword.rgb=function(t){return n[t]},i.rgb.xyz=function(t){var n=t[0]/255,r=t[1]/255,e=t[2]/255;return[100*(.4124*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)),100*(.2126*n+.7152*r+.0722*e),100*(.0193*n+.1192*r+.9505*e)]},i.rgb.lab=function(t){var n=i.rgb.xyz(t),r=n[0],e=n[1],a=n[2];return e/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(e=e>.008856?Math.pow(e,1/3):7.787*e+16/116)-16,500*(r-e),200*(e-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(t){var n,r,e,i,a,o=t[0]/360,u=t[1]/100,s=t[2]/100;if(0===u)return[a=255*s,a,a];n=2*s-(r=s<.5?s*(1+u):s+u-s*u),i=[0,0,0];for(var h=0;h<3;h++)(e=o+1/3*-(h-1))<0&&e++,e>1&&e--,i[h]=255*(a=6*e<1?n+6*(r-n)*e:2*e<1?r:3*e<2?n+(r-n)*(2/3-e)*6:n);return i},i.hsl.hsv=function(t){var n=t[0],r=t[1]/100,e=t[2]/100,i=r,a=Math.max(e,.01);return r*=(e*=2)<=1?e:2-e,i*=a<=1?a:2-a,[n,100*(0===e?2*i/(a+i):2*r/(e+r)),(e+r)/2*100]},i.hsv.rgb=function(t){var n=t[0]/60,r=t[1]/100,e=t[2]/100,i=Math.floor(n)%6,a=n-Math.floor(n),o=255*e*(1-r),u=255*e*(1-r*a),s=255*e*(1-r*(1-a));switch(e*=255,i){case 0:return[e,s,o];case 1:return[u,e,o];case 2:return[o,e,s];case 3:return[o,u,e];case 4:return[s,o,e];case 5:return[e,o,u]}},i.hsv.hsl=function(t){var n,r,e,i=t[0],a=t[1]/100,o=t[2]/100,u=Math.max(o,.01);return e=(2-a)*o,r=a*u,[i,100*(r=(r/=(n=(2-a)*u)<=1?n:2-n)||0),100*(e/=2)]},i.hwb.rgb=function(t){var n,r,e,i,a,o,u,s=t[0]/360,h=t[1]/100,f=t[2]/100,c=h+f;switch(c>1&&(h/=c,f/=c),e=6*s-(n=Math.floor(6*s)),0!=(1&n)&&(e=1-e),i=h+e*((r=1-f)-h),n){default:case 6:case 0:a=r,o=i,u=h;break;case 1:a=i,o=r,u=h;break;case 2:a=h,o=r,u=i;break;case 3:a=h,o=i,u=r;break;case 4:a=i,o=h,u=r;break;case 5:a=r,o=h,u=i}return[255*a,255*o,255*u]},i.cmyk.rgb=function(t){var n=t[1]/100,r=t[2]/100,e=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-e)+e)),255*(1-Math.min(1,n*(1-e)+e)),255*(1-Math.min(1,r*(1-e)+e))]},i.xyz.rgb=function(t){var n,r,e,i=t[0]/100,a=t[1]/100,o=t[2]/100;return r=-.9689*i+1.8758*a+.0415*o,e=.0557*i+-.204*a+1.057*o,n=(n=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,[255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1)),255*(e=Math.min(Math.max(0,e),1))]},i.xyz.lab=function(t){var n=t[0],r=t[1],e=t[2];return r/=100,e/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(e=e>.008856?Math.pow(e,1/3):7.787*e+16/116))]},i.lab.xyz=function(t){var n,r,e;n=t[1]/500+(r=(t[0]+16)/116),e=r-t[2]/200;var i=Math.pow(r,3),a=Math.pow(n,3),o=Math.pow(e,3);return r=i>.008856?i:(r-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,[n*=95.047,r*=100,e*=108.883]},i.lab.lch=function(t){var n,r=t[0],e=t[1],i=t[2];return(n=360*Math.atan2(i,e)/2/Math.PI)<0&&(n+=360),[r,Math.sqrt(e*e+i*i),n]},i.lch.lab=function(t){var n,r=t[1];return n=t[2]/360*2*Math.PI,[t[0],r*Math.cos(n),r*Math.sin(n)]},i.rgb.ansi16=function(t){var n=t[0],r=t[1],e=t[2],a=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(e/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(o+=60),o},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var n=t[0],r=t[1],e=t[2];return n===r&&r===e?n<8?16:n>248?231:Math.round((n-8)/247*24)+232:16+36*Math.round(n/255*5)+6*Math.round(r/255*5)+Math.round(e/255*5)},i.ansi16.rgb=function(t){var n=t%10;if(0===n||7===n)return t>50&&(n+=3.5),[n=n/10.5*255,n,n];var r=.5*(1+~~(t>50));return[(1&n)*r*255,(n>>1&1)*r*255,(n>>2&1)*r*255]},i.ansi256.rgb=function(t){if(t>=232){var n=10*(t-232)+8;return[n,n,n]}var r;return t-=16,[Math.floor(t/36)/5*255,Math.floor((r=t%36)/6)/5*255,r%6/5*255]},i.rgb.hex=function(t){var n=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.hex.rgb=function(t){var n=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!n)return[0,0,0];var r=n[0];3===n[0].length&&(r=r.split("").map((function(t){return t+t})).join(""));var e=parseInt(r,16);return[e>>16&255,e>>8&255,255&e]},i.rgb.hcg=function(t){var n,r=t[0]/255,e=t[1]/255,i=t[2]/255,a=Math.max(Math.max(r,e),i),o=Math.min(Math.min(r,e),i),u=a-o;return n=u<=0?0:a===r?(e-i)/u%6:a===e?2+(i-r)/u:4+(r-e)/u+4,n/=6,[360*(n%=1),100*u,100*(u<1?o/(1-u):0)]},i.hsl.hcg=function(t){var n,r=t[1]/100,e=t[2]/100,i=0;return(n=e<.5?2*r*e:2*r*(1-e))<1&&(i=(e-.5*n)/(1-n)),[t[0],100*n,100*i]},i.hsv.hcg=function(t){var n=t[2]/100,r=t[1]/100*n,e=0;return r<1&&(e=(n-r)/(1-r)),[t[0],100*r,100*e]},i.hcg.rgb=function(t){var n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var e,i=[0,0,0],a=t[0]/360%1*6,o=a%1,u=1-o;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return[255*(n*i[0]+(e=(1-n)*r)),255*(n*i[1]+e),255*(n*i[2]+e)]},i.hcg.hsv=function(t){var n=t[1]/100,r=n+t[2]/100*(1-n),e=0;return r>0&&(e=n/r),[t[0],100*e,100*r]},i.hcg.hsl=function(t){var n=t[1]/100,r=t[2]/100*(1-n)+.5*n,e=0;return r>0&&r<.5?e=n/(2*r):r>=.5&&r<1&&(e=n/(2*(1-r))),[t[0],100*e,100*r]},i.hcg.hwb=function(t){var n=t[1]/100,r=n+t[2]/100*(1-n);return[t[0],100*(r-n),100*(1-r)]},i.hwb.hcg=function(t){var n=1-t[2]/100,r=n-t[1]/100,e=0;return r<1&&(e=(n-r)/(1-r)),[t[0],100*r,100*e]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var n=255&Math.round(t[0]/100*255),r=((n<<16)+(n<<8)+n).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function e(t){var n=function(){for(var t={},n=Object.keys(r),e=n.length,i=0;i<e;i++)t[n[i]]={distance:-1,parent:null};return t}(),e=[t];for(n[t].distance=0;e.length;)for(var i=e.pop(),a=Object.keys(r[i]),o=a.length,u=0;u<o;u++){var s=a[u],h=n[s];-1===h.distance&&(h.distance=n[i].distance+1,h.parent=i,e.unshift(s))}return n}function i(t,n){return function(r){return n(t(r))}}function a(t,n){for(var e=[n[t].parent,t],a=r[n[t].parent][t],o=n[t].parent;n[o].parent;)e.unshift(n[o].parent),a=i(r[n[o].parent][o],a),o=n[o].parent;return a.conversion=e,a}var o={};Object.keys(r).forEach((function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:r[t].channels}),Object.defineProperty(o[t],"labels",{value:r[t].labels});var n=function(t){for(var n=e(t),r={},i=Object.keys(n),o=i.length,u=0;u<o;u++){var s=i[u];null!==n[s].parent&&(r[s]=a(s,n))}return r}(t);Object.keys(n).forEach((function(r){var e=n[r];o[t][r]=function(t){var n=function(n){if(null==n)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var r=t(n);if("object"==typeof r)for(var e=r.length,i=0;i<e;i++)r[i]=Math.round(r[i]);return r};return"conversion"in t&&(n.conversion=t.conversion),n}(e),o[t][r].raw=function(t){var n=function(n){return null==n?n:(arguments.length>1&&(n=Array.prototype.slice.call(arguments)),t(n))};return"conversion"in t&&(n.conversion=t.conversion),n}(e)}))}));var u=o,s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},h={getRgba:f,getHsla:c,getRgb:function(t){var n=f(t);return n&&n.slice(0,3)},getHsl:function(t){var n=c(t);return n&&n.slice(0,3)},getHwb:l,getAlpha:function(t){var n=f(t);return n||(n=c(t))||(n=l(t))?n[3]:void 0},hexString:function(t,n){return n=void 0!==n&&3===t.length?n:t[3],"#"+b(t[0])+b(t[1])+b(t[2])+(n>=0&&n<1?b(Math.round(255*n)):"")},rgbString:function(t,n){return n<1||t[3]&&t[3]<1?d(t,n):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:d,percentString:function(t,n){return n<1||t[3]&&t[3]<1?v(t,n):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:v,hslString:function(t,n){return n<1||t[3]&&t[3]<1?m(t,n):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:m,hwbString:function(t,n){return void 0===n&&(n=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==n&&1!==n?", "+n:"")+")"},keyword:function(t){return p[t.slice(0,3)]}};function f(t){if(t){var n=[0,0,0],r=1,e=t.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(e){i=(e=e[1])[3];for(var a=0;a<n.length;a++)n[a]=parseInt(e[a]+e[a],16);i&&(r=Math.round(parseInt(i+i,16)/255*100)/100)}else if(e=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(i=e[2],e=e[1],a=0;a<n.length;a++)n[a]=parseInt(e.slice(2*a,2*a+2),16);i&&(r=Math.round(parseInt(i,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<n.length;a++)n[a]=parseInt(e[a+1]);r=parseFloat(e[4])}else if(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<n.length;a++)n[a]=Math.round(2.55*parseFloat(e[a+1]));r=parseFloat(e[4])}else if(e=t.match(/(\w+)/)){if("transparent"==e[1])return[0,0,0,0];if(!(n=s[e[1]]))return}for(a=0;a<n.length;a++)n[a]=g(n[a],0,255);return r=r||0==r?g(r,0,1):1,n[3]=r,n}}function c(t){if(t){var n=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(n){var r=parseFloat(n[4]);return[g(parseInt(n[1]),0,360),g(parseFloat(n[2]),0,100),g(parseFloat(n[3]),0,100),g(isNaN(r)?1:r,0,1)]}}}function l(t){if(t){var n=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(n){var r=parseFloat(n[4]);return[g(parseInt(n[1]),0,360),g(parseFloat(n[2]),0,100),g(parseFloat(n[3]),0,100),g(isNaN(r)?1:r,0,1)]}}}function d(t,n){return void 0===n&&(n=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+n+")"}function v(t,n){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(n||t[3]||1)+")"}function m(t,n){return void 0===n&&(n=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+n+")"}function g(t,n,r){return Math.min(Math.max(n,t),r)}function b(t){var n=t.toString(16).toUpperCase();return n.length<2?"0"+n:n}var p={};for(var M in s)p[s[M]]=M;var y=function(t){return t instanceof y?t:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(n=h.getRgba(t))?this.setValues("rgb",n):(n=h.getHsla(t))?this.setValues("hsl",n):(n=h.getHwb(t))&&this.setValues("hwb",n):"object"==typeof t&&(void 0!==(n=t).r||void 0!==n.red?this.setValues("rgb",n):void 0!==n.l||void 0!==n.lightness?this.setValues("hsl",n):void 0!==n.v||void 0!==n.value?this.setValues("hsv",n):void 0!==n.w||void 0!==n.whiteness?this.setValues("hwb",n):void 0===n.c&&void 0===n.cyan||this.setValues("cmyk",n)))):new y(t);var n};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return h.hexString(this.values.rgb)},rgbString:function(){return h.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return h.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return h.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return h.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return h.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return h.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return h.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,n=[],r=0;r<t.length;r++){var e=t[r]/255;n[r]=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}return.2126*n[0]+.7152*n[1]+.0722*n[2]},contrast:function(t){var n=this.luminosity(),r=t.luminosity();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},level:function(t){var n=this.contrast(t);return n>=7.1?"AAA":n>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],n=0;n<3;n++)t[n]=255-this.values.rgb[n];return this.setValues("rgb",t),this},lighten:function(t){var n=this.values.hsl;return n[2]+=n[2]*t,this.setValues("hsl",n),this},darken:function(t){var n=this.values.hsl;return n[2]-=n[2]*t,this.setValues("hsl",n),this},saturate:function(t){var n=this.values.hsl;return n[1]+=n[1]*t,this.setValues("hsl",n),this},desaturate:function(t){var n=this.values.hsl;return n[1]-=n[1]*t,this.setValues("hsl",n),this},whiten:function(t){var n=this.values.hwb;return n[1]+=n[1]*t,this.setValues("hwb",n),this},blacken:function(t){var n=this.values.hwb;return n[2]+=n[2]*t,this.setValues("hwb",n),this},greyscale:function(){var t=this.values.rgb,n=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[n,n,n]),this},clearer:function(t){var n=this.values.alpha;return this.setValues("alpha",n-n*t),this},opaquer:function(t){var n=this.values.alpha;return this.setValues("alpha",n+n*t),this},rotate:function(t){var n=this.values.hsl,r=(n[0]+t)%360;return n[0]=r<0?360+r:r,this.setValues("hsl",n),this},mix:function(t,n){var r=this,e=t,i=void 0===n?.5:n,a=2*i-1,o=r.alpha()-e.alpha(),u=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,s=1-u;return this.rgb(u*r.red()+s*e.red(),u*r.green()+s*e.green(),u*r.blue()+s*e.blue()).alpha(r.alpha()*i+e.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,n,r=new y,e=this.values,i=r.values;for(var a in e)e.hasOwnProperty(a)&&("[object Array]"===(n={}.toString.call(t=e[a]))?i[a]=t.slice(0):"[object Number]"===n?i[a]=t:console.error("unexpected color value:",t));return r}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var n=this.values,r={},e=0;e<t.length;e++)r[t.charAt(e)]=n[t][e];return 1!==n.alpha&&(r.a=n.alpha),r},y.prototype.setValues=function(t,n){var r,e,i=this.values,a=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=n;else if(n.length)i[t]=n.slice(0,t.length),s=n[t.length];else if(void 0!==n[t.charAt(0)]){for(r=0;r<t.length;r++)i[t][r]=n[t.charAt(r)];s=n.a}else if(void 0!==n[a[t][0]]){var h=a[t];for(r=0;r<t.length;r++)i[t][r]=n[h[r]];s=n.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===t)return!1;for(r=0;r<t.length;r++)e=Math.max(0,Math.min(o[t][r],i[t][r])),i[t][r]=Math.round(e);for(var f in a)f!==t&&(i[f]=u[t][f](i[t]));return!0},y.prototype.setSpace=function(t,n){var r=n[0];return void 0===r?this.getValues(t):("number"==typeof r&&(r=Array.prototype.slice.call(n)),this.setValues(t,r),this)},y.prototype.setChannel=function(t,n,r){var e=this.values[t];return void 0===r?e[n]:(r===e[n]||(e[n]=r,this.setValues(t,e)),this)},"undefined"!=typeof window&&(window.Color=y);var w=y;function k(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var x,S={noop:function(){},uid:(x=0,function(){return x++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var n=Object.prototype.toString.call(t);return"[object"===n.substr(0,7)&&"Array]"===n.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,n){return void 0===t?n:t},valueAtIndexOrDefault:function(t,n,r){return S.valueOrDefault(S.isArray(t)?t[n]:t,r)},callback:function(t,n,r){if(t&&"function"==typeof t.call)return t.apply(r,n)},each:function(t,n,r,e){var i,a,o;if(S.isArray(t))if(a=t.length,e)for(i=a-1;i>=0;i--)n.call(r,t[i],i);else for(i=0;i<a;i++)n.call(r,t[i],i);else if(S.isObject(t))for(a=(o=Object.keys(t)).length,i=0;i<a;i++)n.call(r,t[o[i]],o[i])},arrayEquals:function(t,n){var r,e,i,a;if(!t||!n||t.length!==n.length)return!1;for(r=0,e=t.length;r<e;++r)if(a=n[r],(i=t[r])instanceof Array&&a instanceof Array){if(!S.arrayEquals(i,a))return!1}else if(i!==a)return!1;return!0},clone:function(t){if(S.isArray(t))return t.map(S.clone);if(S.isObject(t)){for(var n=Object.create(t),r=Object.keys(t),e=r.length,i=0;i<e;++i)n[r[i]]=S.clone(t[r[i]]);return n}return t},_merger:function(t,n,r,e){if(k(t)){var i=n[t],a=r[t];S.isObject(i)&&S.isObject(a)?S.merge(i,a,e):n[t]=S.clone(a)}},_mergerIf:function(t,n,r){if(k(t)){var e=n[t],i=r[t];S.isObject(e)&&S.isObject(i)?S.mergeIf(e,i):n.hasOwnProperty(t)||(n[t]=S.clone(i))}},merge:function(t,n,r){var e,i,a,o,u,s=S.isArray(n)?n:[n],h=s.length;if(!S.isObject(t))return t;for(e=(r=r||{}).merger||S._merger,i=0;i<h;++i)if(S.isObject(n=s[i]))for(u=0,o=(a=Object.keys(n)).length;u<o;++u)e(a[u],t,n,r);return t},mergeIf:function(t,n){return S.merge(t,n,{merger:S._mergerIf})},extend:Object.assign||function(t){return S.merge(t,[].slice.call(arguments,1),{merger:function(t,n,r){n[t]=r[t]}})},inherits:function(t){var n=this,r=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return n.apply(this,arguments)},e=function(){this.constructor=r};return e.prototype=n.prototype,r.prototype=new e,r.extend=S.inherits,t&&S.extend(r.prototype,t),r.__super__=n.prototype,r},_deprecated:function(t,n,r,e){void 0!==n&&console.warn(t+': "'+r+'" is deprecated. Please use "'+e+'" instead')}},D=S;S.callCallback=S.callback,S.indexOf=function(t,n,r){return Array.prototype.indexOf.call(t,n,r)},S.getValueOrDefault=S.valueOrDefault,S.getValueAtIndexOrDefault=S.valueAtIndexOrDefault;var N={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var n=1.70158,r=0;return 0===t?0:1===t?1:(r||(r=.3),n=r/(2*Math.PI)*Math.asin(1),-1*Math.pow(2,10*(t-=1))*Math.sin((t-n)*(2*Math.PI)/r))},easeOutElastic:function(t){var n=1.70158,r=0;return 0===t?0:1===t?1:(r||(r=.3),n=r/(2*Math.PI)*Math.asin(1),1*Math.pow(2,-10*t)*Math.sin((t-n)*(2*Math.PI)/r)+1)},easeInOutElastic:function(t){var n=1.70158,r=0;return 0===t?0:2==(t/=.5)?1:(r||(r=.45),n=r/(2*Math.PI)*Math.asin(1),t<1?1*Math.pow(2,10*(t-=1))*Math.sin((t-n)*(2*Math.PI)/r)*-.5:1*Math.pow(2,-10*(t-=1))*Math.sin((t-n)*(2*Math.PI)/r)*.5+1)},easeInBack:function(t){var n=1.70158;return t*t*((n+1)*t-n)},easeOutBack:function(t){var n=1.70158;return(t-=1)*t*((n+1)*t+n)+1},easeInOutBack:function(t){var n=1.70158;return(t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},easeInBounce:function(t){return 1-N.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*N.easeInBounce(2*t):.5*N.easeOutBounce(2*t-1)+.5}},Y={effects:N};D.easingEffects=N;var _=Math.PI,C=_/180,O=2*_,A=_/2,T=_/4,F=2*_/3,L={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,n,r,e,i,a){if(a){var o=Math.min(a,i/2,e/2),u=n+o,s=r+o,h=n+e-o,f=r+i-o;t.moveTo(n,s),u<h&&s<f?(t.arc(u,s,o,-_,-A),t.arc(h,s,o,-A,0),t.arc(h,f,o,0,A),t.arc(u,f,o,A,_)):u<h?(t.moveTo(u,r),t.arc(h,s,o,-A,A),t.arc(u,s,o,A,_+A)):s<f?(t.arc(u,s,o,-_,0),t.arc(u,f,o,0,_)):t.arc(u,s,o,-_,_),t.closePath(),t.moveTo(n,r)}else t.rect(n,r,e,i)},drawPoint:function(t,n,r,e,i,a){var o,u,s,h,f,c=(a||0)*C;if(n&&"object"==typeof n&&("[object HTMLImageElement]"===(o=n.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(e,i),t.rotate(c),t.drawImage(n,-n.width/2,-n.height/2,n.width,n.height),void t.restore();if(!(isNaN(r)||r<=0)){switch(t.beginPath(),n){default:t.arc(e,i,r,0,O),t.closePath();break;case"triangle":t.moveTo(e+Math.sin(c)*r,i-Math.cos(c)*r),c+=F,t.lineTo(e+Math.sin(c)*r,i-Math.cos(c)*r),c+=F,t.lineTo(e+Math.sin(c)*r,i-Math.cos(c)*r),t.closePath();break;case"rectRounded":h=r-(f=.516*r),u=Math.cos(c+T)*h,s=Math.sin(c+T)*h,t.arc(e-u,i-s,f,c-_,c-A),t.arc(e+s,i-u,f,c-A,c),t.arc(e+u,i+s,f,c,c+A),t.arc(e-s,i+u,f,c+A,c+_),t.closePath();break;case"rect":if(!a){h=Math.SQRT1_2*r,t.rect(e-h,i-h,2*h,2*h);break}c+=T;case"rectRot":u=Math.cos(c)*r,s=Math.sin(c)*r,t.moveTo(e-u,i-s),t.lineTo(e+s,i-u),t.lineTo(e+u,i+s),t.lineTo(e-s,i+u),t.closePath();break;case"crossRot":c+=T;case"cross":u=Math.cos(c)*r,s=Math.sin(c)*r,t.moveTo(e-u,i-s),t.lineTo(e+u,i+s),t.moveTo(e+s,i-u),t.lineTo(e-s,i+u);break;case"star":u=Math.cos(c)*r,s=Math.sin(c)*r,t.moveTo(e-u,i-s),t.lineTo(e+u,i+s),t.moveTo(e+s,i-u),t.lineTo(e-s,i+u),c+=T,u=Math.cos(c)*r,s=Math.sin(c)*r,t.moveTo(e-u,i-s),t.lineTo(e+u,i+s),t.moveTo(e+s,i-u),t.lineTo(e-s,i+u);break;case"line":u=Math.cos(c)*r,s=Math.sin(c)*r,t.moveTo(e-u,i-s),t.lineTo(e+u,i+s);break;case"dash":t.moveTo(e,i),t.lineTo(e+Math.cos(c)*r,i+Math.sin(c)*r)}t.fill(),t.stroke()}},_isPointInArea:function(t,n){var r=1e-6;return t.x>n.left-r&&t.x<n.right+r&&t.y>n.top-r&&t.y<n.bottom+r},clipArea:function(t,n){t.save(),t.beginPath(),t.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,n,r,e){var i=r.steppedLine;if(i){if("middle"===i){var a=(n.x+r.x)/2;t.lineTo(a,e?r.y:n.y),t.lineTo(a,e?n.y:r.y)}else"after"===i&&!e||"after"!==i&&e?t.lineTo(n.x,r.y):t.lineTo(r.x,n.y);t.lineTo(r.x,r.y)}else r.tension?t.bezierCurveTo(e?n.controlPointPreviousX:n.controlPointNextX,e?n.controlPointPreviousY:n.controlPointNextY,e?r.controlPointNextX:r.controlPointPreviousX,e?r.controlPointNextY:r.controlPointPreviousY,r.x,r.y):t.lineTo(r.x,r.y)}},j=L;D.clear=L.clear,D.drawRoundedRectangle=function(t){t.beginPath(),L.roundedRect.apply(L,arguments)};var E={_set:function(t,n){return D.merge(this[t]||(this[t]={}),n)}};E._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var W=E,I=D.valueOrDefault;var H={toLineHeight:function(t,n){var r=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!r||"normal"===r[1])return 1.2*n;switch(t=+r[2],r[3]){case"px":return t;case"%":t/=100}return n*t},toPadding:function(t){var n,r,e,i;return D.isObject(t)?(n=+t.top||0,r=+t.right||0,e=+t.bottom||0,i=+t.left||0):n=r=e=i=+t||0,{top:n,right:r,bottom:e,left:i,height:n+e,width:i+r}},_parseFont:function(t){var n=W.global,r=I(t.fontSize,n.defaultFontSize),e={family:I(t.fontFamily,n.defaultFontFamily),lineHeight:D.options.toLineHeight(I(t.lineHeight,n.defaultLineHeight),r),size:r,style:I(t.fontStyle,n.defaultFontStyle),weight:null,string:""};return e.string=function(t){return!t||D.isNullOrUndef(t.size)||D.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(e),e},resolve:function(t,n,r,e){var i,a,o,u=!0;for(i=0,a=t.length;i<a;++i)if(void 0!==(o=t[i])&&(void 0!==n&&"function"==typeof o&&(o=o(n),u=!1),void 0!==r&&D.isArray(o)&&(o=o[r],u=!1),void 0!==o))return e&&!u&&(e.cacheable=!1),o}},R={_factorize:function(t){var n,r=[],e=Math.sqrt(t);for(n=1;n<e;n++)t%n==0&&(r.push(n),r.push(t/n));return e===(0|e)&&r.push(e),r.sort((function(t,n){return t-n})).pop(),r},log10:Math.log10||function(t){var n=Math.log(t)*Math.LOG10E,r=Math.round(n);return t===Math.pow(10,r)?r:n}},z=R;D.log10=R.log10;var P=D,B=j,G=H,U=z,q={getRtlAdapter:function(t,n,r){return t?function(t,n){return{x:function(r){return t+t+n-r},setWidth:function(t){n=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,n){return t-n},leftForLtr:function(t,n){return t-n}}}(n,r):{x:function(t){return t},setWidth:function(){},textAlign:function(t){return t},xPlus:function(t,n){return t+n},leftForLtr:function(t){return t}}},overrideTextDirection:function(t,n){var r,e;"ltr"!==n&&"rtl"!==n||(e=[(r=t.canvas.style).getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",n,"important"),t.prevTextDirection=e)},restoreTextDirection:function(t){var n=t.prevTextDirection;void 0!==n&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",n[0],n[1]))}};P.easing=Y,P.canvas=B,P.options=G,P.math=U,P.rtl=q;var V=function(t){P.extend(this,t),this.initialize.apply(this,arguments)};P.extend(V.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=P.extend({},t._model)),t._start={},t},transition:function(t){var n=this,r=n._model,e=n._start,i=n._view;return r&&1!==t?(i||(i=n._view={}),e||(e=n._start={}),function(t,n,r,e){var i,a,o,u,s,h,f,c,l,d=Object.keys(r);for(i=0,a=d.length;i<a;++i)if(h=r[o=d[i]],n.hasOwnProperty(o)||(n[o]=h),(u=n[o])!==h&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=u),(f=typeof h)==typeof(s=t[o]))if("string"===f){if((c=w(s)).valid&&(l=w(h)).valid){n[o]=l.mix(c,e).rgbString();continue}}else if(P.isFinite(s)&&P.isFinite(h)){n[o]=s+(h-s)*e;continue}n[o]=h}}(e,i,r,t),n):(n._view=P.extend({},r),n._start=null,n)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return P.isNumber(this._model.x)&&P.isNumber(this._model.y)}}),V.extend=P.inherits;var Z=V,$=Z.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Q=$;Object.defineProperty($.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty($.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),W._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:P.noop,onComplete:P.noop}});var J={animations:[],request:null,addAnimation:function(t,n,r,e){var i,a,o=this.animations;for(n.chart=t,n.startTime=Date.now(),n.duration=r,e||(t.animating=!0),i=0,a=o.length;i<a;++i)if(o[i].chart===t)return void(o[i]=n);o.push(n),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var n=P.findIndex(this.animations,(function(n){return n.chart===t}));-1!==n&&(this.animations.splice(n,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=P.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){var t=this;t.advance(),t.animations.length>0&&t.requestAnimationFrame()},advance:function(){for(var t,n,r,e,i=this.animations,a=0;a<i.length;)n=(t=i[a]).chart,r=t.numSteps,e=Math.floor((Date.now()-t.startTime)/t.duration*r)+1,t.currentStep=Math.min(e,r),P.callback(t.render,[n,t],n),P.callback(t.onAnimationProgress,[t],n),t.currentStep>=r?(P.callback(t.onAnimationComplete,[t],n),n.animating=!1,i.splice(a,1)):++a}},X=P.options.resolve,K=["push","pop","shift","splice","unshift"];function tt(t,n){var r=t._chartjs;if(r){var e=r.listeners,i=e.indexOf(n);-1!==i&&e.splice(i,1),e.length>0||(K.forEach((function(n){delete t[n]})),delete t._chartjs)}}var nt=function(t,n){this.initialize(t,n)};P.extend(nt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,n){var r=this;r.chart=t,r.index=n,r.linkScales(),r.addElements(),r._type=r.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,n=t.getMeta(),r=t.chart,e=r.scales,i=t.getDataset(),a=r.options.scales;null!==n.xAxisID&&n.xAxisID in e&&!i.xAxisID||(n.xAxisID=i.xAxisID||a.xAxes[0].id),null!==n.yAxisID&&n.yAxisID in e&&!i.yAxisID||(n.yAxisID=i.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&tt(this._data,this)},createMetaDataset:function(){var t=this,n=t.datasetElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var n=this,r=n.dataElementType;return r&&new r({_chart:n.chart,_datasetIndex:n.index,_index:t})},addElements:function(){var t,n,r=this,e=r.getMeta(),i=r.getDataset().data||[],a=e.data;for(t=0,n=i.length;t<n;++t)a[t]=a[t]||r.createMetaData(t);e.dataset=e.dataset||r.createMetaDataset()},addElementAndReset:function(t){var n=this.createMetaData(t);this.getMeta().data.splice(t,0,n),this.updateElement(n,t,!0)},buildOrUpdateElements:function(){var t,n,r=this,e=r.getDataset(),i=e.data||(e.data=[]);r._data!==i&&(r._data&&tt(r._data,r),i&&Object.isExtensible(i)&&(n=r,(t=i)._chartjs?t._chartjs.listeners.push(n):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),K.forEach((function(n){var r="onData"+n.charAt(0).toUpperCase()+n.slice(1),e=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value:function(){var n=Array.prototype.slice.call(arguments),i=e.apply(this,n);return P.each(t._chartjs.listeners,(function(t){"function"==typeof t[r]&&t[r].apply(t,n)})),i}})})))),r._data=i),r.resyncElements()},_configure:function(){var t=this;t._config=P.merge(Object.create(null),[t.chart.options.datasets[t._type],t.getDataset()],{merger:function(t,n,r){"_meta"!==t&&"data"!==t&&P._merger(t,n,r)}})},_update:function(t){var n=this;n._configure(),n._cachedDataOpts=null,n.update(t)},update:P.noop,transition:function(t){for(var n=this.getMeta(),r=n.data||[],e=r.length,i=0;i<e;++i)r[i].transition(t);n.dataset&&n.dataset.transition(t)},draw:function(){var t=this.getMeta(),n=t.data||[],r=n.length,e=0;for(t.dataset&&t.dataset.draw();e<r;++e)n[e].draw()},getStyle:function(t){var n,r=this,e=r.getMeta(),i=e.dataset;return r._configure(),!1!==(n=i&&void 0===t?r._resolveDatasetElementOptions(i||{}):r._resolveDataElementOptions(e.data[t=t||0]||{},t)).fill&&null!==n.fill||(n.backgroundColor=n.borderColor),n},_resolveDatasetElementOptions:function(t,n){var r,e,i,a,o=this,u=o.chart,s=o._config,h=t.custom||{},f=u.options.elements[o.datasetElementType.prototype._type]||{},c=o._datasetElementOptions,l={},d={chart:u,dataset:o.getDataset(),datasetIndex:o.index,hover:n};for(r=0,e=c.length;r<e;++r)i=c[r],a=n?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,l[i]=X([h[a],s[a],f[a]],d);return l},_resolveDataElementOptions:function(t,n){var r=this,e=t&&t.custom,i=r._cachedDataOpts;if(i&&!e)return i;var a,o,u,s,h=r.chart,f=r._config,c=h.options.elements[r.dataElementType.prototype._type]||{},l=r._dataElementOptions,d={},v={chart:h,dataIndex:n,dataset:r.getDataset(),datasetIndex:r.index},m={cacheable:!e};if(e=e||{},P.isArray(l))for(o=0,u=l.length;o<u;++o)d[s=l[o]]=X([e[s],f[s],c[s]],v,n,m);else for(o=0,u=(a=Object.keys(l)).length;o<u;++o)d[s=a[o]]=X([e[s],f[l[s]],f[s],c[s]],v,n,m);return m.cacheable&&(r._cachedDataOpts=Object.freeze(d)),d},removeHoverStyle:function(t){P.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t._index,e=t.custom||{},i=t._model,a=P.getHoverColor;t.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=X([e.hoverBackgroundColor,n.hoverBackgroundColor,a(i.backgroundColor)],void 0,r),i.borderColor=X([e.hoverBorderColor,n.hoverBorderColor,a(i.borderColor)],void 0,r),i.borderWidth=X([e.hoverBorderWidth,n.hoverBorderWidth,i.borderWidth],void 0,r)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,n,r,e,i,a,o=this.getMeta().dataset,u={};if(o){for(a=o._model,i=this._resolveDatasetElementOptions(o,!0),t=0,n=(e=Object.keys(i)).length;t<n;++t)u[r=e[t]]=a[r],a[r]=i[r];o.$previousStyle=u}},resyncElements:function(){var t=this,n=t.getMeta(),r=t.getDataset().data,e=n.data.length,i=r.length;i<e?n.data.splice(i,e-i):i>e&&t.insertElements(e,i-e)},insertElements:function(t,n){for(var r=0;r<n;++r)this.addElementAndReset(t+r)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,n){this.getMeta().data.splice(t,n),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),nt.extend=P.inherits;var rt=nt,et=2*Math.PI;function it(t,n){var r=n.startAngle,e=n.endAngle,i=n.pixelMargin,a=i/n.outerRadius,o=n.x,u=n.y;t.beginPath(),t.arc(o,u,n.outerRadius,r-a,e+a),n.innerRadius>i?t.arc(o,u,n.innerRadius-i,e+(a=i/n.innerRadius),r-a,!0):t.arc(o,u,i,e+Math.PI/2,r-Math.PI/2),t.closePath(),t.clip()}function at(t,n,r){var e="inner"===n.borderAlign;e?(t.lineWidth=2*n.borderWidth,t.lineJoin="round"):(t.lineWidth=n.borderWidth,t.lineJoin="bevel"),r.fullCircles&&function(t,n,r,e){var i,a=r.endAngle;for(e&&(r.endAngle=r.startAngle+et,it(t,r),r.endAngle=a,r.endAngle===r.startAngle&&r.fullCircles&&(r.endAngle+=et,r.fullCircles--)),t.beginPath(),t.arc(r.x,r.y,r.innerRadius,r.startAngle+et,r.startAngle,!0),i=0;i<r.fullCircles;++i)t.stroke();for(t.beginPath(),t.arc(r.x,r.y,n.outerRadius,r.startAngle,r.startAngle+et),i=0;i<r.fullCircles;++i)t.stroke()}(t,n,r,e),e&&it(t,r),t.beginPath(),t.arc(r.x,r.y,n.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),t.stroke()}W._set("global",{elements:{arc:{backgroundColor:W.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ot=Z.extend({_type:"arc",inLabelRange:function(t){var n=this._view;return!!n&&Math.pow(t-n.x,2)<Math.pow(n.radius+n.hoverRadius,2)},inRange:function(t,n){var r=this._view;if(r){for(var e=P.getAngleFromPoint(r,{x:t,y:n}),i=e.angle,a=e.distance,o=r.startAngle,u=r.endAngle;u<o;)u+=et;for(;i>u;)i-=et;for(;i<o;)i+=et;return i>=o&&i<=u&&a>=r.innerRadius&&a<=r.outerRadius}return!1},getCenterPoint:function(){var t=this._view,n=(t.startAngle+t.endAngle)/2,r=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(n)*r,y:t.y+Math.sin(n)*r}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,n=t.startAngle+(t.endAngle-t.startAngle)/2,r=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(n)*r,y:t.y+Math.sin(n)*r}},draw:function(){var t,n=this._chart.ctx,r=this._view,e="inner"===r.borderAlign?.33:0,i={x:r.x,y:r.y,innerRadius:r.innerRadius,outerRadius:Math.max(r.outerRadius-e,0),pixelMargin:e,startAngle:r.startAngle,endAngle:r.endAngle,fullCircles:Math.floor(r.circumference/et)};if(n.save(),n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+et,n.beginPath(),n.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),n.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),n.closePath(),t=0;t<i.fullCircles;++t)n.fill();i.endAngle=i.startAngle+r.circumference%et}n.beginPath(),n.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),n.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),n.closePath(),n.fill(),r.borderWidth&&at(n,r,i),n.restore()}}),ut=P.valueOrDefault,st=W.global.defaultColor;W._set("global",{elements:{line:{tension:.4,backgroundColor:st,borderWidth:3,borderColor:st,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ht=Z.extend({_type:"line",draw:function(){var t,n,r,e=this,i=e._view,a=e._chart.ctx,o=i.spanGaps,u=e._children.slice(),s=W.global,h=s.elements.line,f=-1,c=e._loop;if(u.length){if(e._loop){for(t=0;t<u.length;++t)if(n=P.previousItem(u,t),!u[t]._view.skip&&n._view.skip){u=u.slice(t).concat(u.slice(0,t)),c=o;break}c&&u.push(u[0])}for(a.save(),a.lineCap=i.borderCapStyle||h.borderCapStyle,a.setLineDash&&a.setLineDash(i.borderDash||h.borderDash),a.lineDashOffset=ut(i.borderDashOffset,h.borderDashOffset),a.lineJoin=i.borderJoinStyle||h.borderJoinStyle,a.lineWidth=ut(i.borderWidth,h.borderWidth),a.strokeStyle=i.borderColor||s.defaultColor,a.beginPath(),(r=u[0]._view).skip||(a.moveTo(r.x,r.y),f=0),t=1;t<u.length;++t)r=u[t]._view,n=-1===f?P.previousItem(u,t):u[f],r.skip||(f!==t-1&&!o||-1===f?a.moveTo(r.x,r.y):P.canvas.lineTo(a,n._view,r),f=t);c&&a.closePath(),a.stroke(),a.restore()}}}),ft=P.valueOrDefault,ct=W.global.defaultColor;function lt(t){var n=this._view;return!!n&&Math.abs(t-n.x)<n.radius+n.hitRadius}W._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:ct,borderColor:ct,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var dt=Z.extend({_type:"point",inRange:function(t,n){var r=this._view;return!!r&&Math.pow(t-r.x,2)+Math.pow(n-r.y,2)<Math.pow(r.hitRadius+r.radius,2)},inLabelRange:lt,inXRange:lt,inYRange:function(t){var n=this._view;return!!n&&Math.abs(t-n.y)<n.radius+n.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var n=this._view,r=this._chart.ctx,e=n.pointStyle,i=n.rotation,a=n.radius,o=n.x,u=n.y,s=W.global,h=s.defaultColor;n.skip||(void 0===t||P.canvas._isPointInArea(n,t))&&(r.strokeStyle=n.borderColor||h,r.lineWidth=ft(n.borderWidth,s.elements.point.borderWidth),r.fillStyle=n.backgroundColor||h,P.canvas.drawPoint(r,e,a,o,u,i))}}),vt=W.global.defaultColor;function mt(t){return t&&void 0!==t.width}function gt(t){var n,r,e,i,a;return mt(t)?(n=t.x-(a=t.width/2),r=t.x+a,e=Math.min(t.y,t.base),i=Math.max(t.y,t.base)):(a=t.height/2,n=Math.min(t.x,t.base),r=Math.max(t.x,t.base),e=t.y-a,i=t.y+a),{left:n,top:e,right:r,bottom:i}}function bt(t,n,r){return t===n?r:t===r?n:t}function pt(t,n,r){var e,i,a,o,u=t.borderWidth,s=function(t){var n=t.borderSkipped,r={};return n?(t.horizontal?t.base>t.x&&(n=bt(n,"left","right")):t.base<t.y&&(n=bt(n,"bottom","top")),r[n]=!0,r):r}(t);return P.isObject(u)?(e=+u.top||0,i=+u.right||0,a=+u.bottom||0,o=+u.left||0):e=i=a=o=+u||0,{t:s.top||e<0?0:e>r?r:e,r:s.right||i<0?0:i>n?n:i,b:s.bottom||a<0?0:a>r?r:a,l:s.left||o<0?0:o>n?n:o}}function Mt(t,n,r){var e=null===n,i=null===r,a=!(!t||e&&i)&>(t);return a&&(e||n>=a.left&&n<=a.right)&&(i||r>=a.top&&r<=a.bottom)}W._set("global",{elements:{rectangle:{backgroundColor:vt,borderColor:vt,borderSkipped:"bottom",borderWidth:0}}});var yt=Z.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,n=this._view,r=function(t){var n=gt(t),r=n.right-n.left,e=n.bottom-n.top,i=pt(t,r/2,e/2);return{outer:{x:n.left,y:n.top,w:r,h:e},inner:{x:n.left+i.l,y:n.top+i.t,w:r-i.l-i.r,h:e-i.t-i.b}}}(n),e=r.outer,i=r.inner;t.fillStyle=n.backgroundColor,t.fillRect(e.x,e.y,e.w,e.h),e.w===i.w&&e.h===i.h||(t.save(),t.beginPath(),t.rect(e.x,e.y,e.w,e.h),t.clip(),t.fillStyle=n.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,n){return Mt(this._view,t,n)},inLabelRange:function(t,n){var r=this._view;return mt(r)?Mt(r,t,null):Mt(r,null,n)},inXRange:function(t){return Mt(this._view,t,null)},inYRange:function(t){return Mt(this._view,null,t)},getCenterPoint:function(){var t,n,r=this._view;return mt(r)?(t=r.x,n=(r.y+r.base)/2):(t=(r.x+r.base)/2,n=r.y),{x:t,y:n}},getArea:function(){var t=this._view;return mt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),wt={},kt=ht,xt=dt,St=yt;wt.Arc=ot,wt.Line=kt,wt.Point=xt,wt.Rectangle=St;var Dt=P._deprecated,Nt=P.valueOrDefault;function Yt(t,n,r){var e,i,a=r.barThickness,o=n.stackCount,u=n.pixels[t],s=P.isNullOrUndef(a)?function(t,n){var r,e,i,a,o=t._length;for(i=1,a=n.length;i<a;++i)o=Math.min(o,Math.abs(n[i]-n[i-1]));for(i=0,a=t.getTicks().length;i<a;++i)e=t.getPixelForTick(i),o=i>0?Math.min(o,Math.abs(e-r)):o,r=e;return o}(n.scale,n.pixels):-1;return P.isNullOrUndef(a)?(e=s*r.categoryPercentage,i=r.barPercentage):(e=a*o,i=1),{chunk:e/o,ratio:i,start:u-e/2}}W._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),W._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var _t=rt.extend({dataElementType:wt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,n,r=this;rt.prototype.initialize.apply(r,arguments),(t=r.getMeta()).stack=r.getDataset().stack,t.bar=!0,n=r._getIndexScale().options,Dt("bar chart",n.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Dt("bar chart",n.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Dt("bar chart",n.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Dt("bar chart",r._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Dt("bar chart",n.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var n,r,e=this,i=e.getMeta().data;for(e._ruler=e.getRuler(),n=0,r=i.length;n<r;++n)e.updateElement(i[n],n,t)},updateElement:function(t,n,r){var e=this,i=e.getMeta(),a=e.getDataset(),o=e._resolveDataElementOptions(t,n);t._xScale=e.getScaleForId(i.xAxisID),t._yScale=e.getScaleForId(i.yAxisID),t._datasetIndex=e.index,t._index=n,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:a.label,label:e.chart.data.labels[n]},P.isArray(a.data[n])&&(t._model.borderSkipped=null),e._updateElementGeometry(t,n,r,o),t.pivot()},_updateElementGeometry:function(t,n,r,e){var i=this,a=t._model,o=i._getValueScale(),u=o.getBasePixel(),s=o.isHorizontal(),h=i._ruler||i.getRuler(),f=i.calculateBarValuePixels(i.index,n,e),c=i.calculateBarIndexPixels(i.index,n,h,e);a.horizontal=s,a.base=r?u:f.base,a.x=s?r?u:f.head:c.center,a.y=s?c.center:r?u:f.head,a.height=s?c.size:void 0,a.width=s?void 0:c.size},_getStacks:function(t){var n,r,e=this._getIndexScale(),i=e._getMatchingVisibleMetas(this._type),a=e.options.stacked,o=i.length,u=[];for(n=0;n<o&&(r=i[n],(!1===a||-1===u.indexOf(r.stack)||void 0===a&&void 0===r.stack)&&u.push(r.stack),r.index!==t);++n);return u},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,n){var r=this._getStacks(t),e=void 0!==n?r.indexOf(n):-1;return-1===e?r.length-1:e},getRuler:function(){var t,n,r=this,e=r._getIndexScale(),i=[];for(t=0,n=r.getMeta().data.length;t<n;++t)i.push(e.getPixelForValue(null,t,r.index));return{pixels:i,start:e._startPixel,end:e._endPixel,stackCount:r.getStackCount(),scale:e}},calculateBarValuePixels:function(t,n,r){var e,i,a,o,u,s,h,f=this,c=f.chart,l=f._getValueScale(),d=l.isHorizontal(),v=c.data.datasets,m=l._getMatchingVisibleMetas(f._type),g=l._parseValue(v[t].data[n]),b=r.minBarLength,p=l.options.stacked,M=f.getMeta().stack,y=void 0===g.start?0:g.max>=0&&g.min>=0?g.min:g.max,w=void 0===g.start?g.end:g.max>=0&&g.min>=0?g.max-g.min:g.min-g.max,k=m.length;if(p||void 0===p&&void 0!==M)for(e=0;e<k&&(i=m[e]).index!==t;++e)i.stack===M&&(a=void 0===(h=l._parseValue(v[i.index].data[n])).start?h.end:h.min>=0&&h.max>=0?h.max:h.min,(g.min<0&&a<0||g.max>=0&&a>0)&&(y+=a));return o=l.getPixelForValue(y),s=(u=l.getPixelForValue(y+w))-o,void 0!==b&&Math.abs(s)<b&&(s=b,u=w>=0&&!d||w<0&&d?o-b:o+b),{size:s,base:o,head:u,center:u+s/2}},calculateBarIndexPixels:function(t,n,r,e){var i="flex"===e.barThickness?function(t,n,r){var e,i=n.pixels,a=i[t],o=t>0?i[t-1]:null,u=t<i.length-1?i[t+1]:null,s=r.categoryPercentage;return null===o&&(o=a-(null===u?n.end-n.start:u-a)),null===u&&(u=a+a-o),e=a-(a-Math.min(o,u))/2*s,{chunk:Math.abs(u-o)/2*s/n.stackCount,ratio:r.barPercentage,start:e}}(n,r,e):Yt(n,r,e),a=this.getStackIndex(t,this.getMeta().stack),o=i.start+i.chunk*a+i.chunk/2,u=Math.min(Nt(e.maxBarThickness,1/0),i.chunk*i.ratio);return{base:o-u/2,head:o+u/2,center:o,size:u}},draw:function(){var t=this,n=t.chart,r=t._getValueScale(),e=t.getMeta().data,i=t.getDataset(),a=e.length,o=0;for(P.canvas.clipArea(n.ctx,n.chartArea);o<a;++o){var u=r._parseValue(i.data[o]);isNaN(u.min)||isNaN(u.max)||e[o].draw()}P.canvas.unclipArea(n.ctx)},_resolveDataElementOptions:function(){var t=this,n=P.extend({},rt.prototype._resolveDataElementOptions.apply(t,arguments)),r=t._getIndexScale().options,e=t._getValueScale().options;return n.barPercentage=Nt(r.barPercentage,n.barPercentage),n.barThickness=Nt(r.barThickness,n.barThickness),n.categoryPercentage=Nt(r.categoryPercentage,n.categoryPercentage),n.maxBarThickness=Nt(r.maxBarThickness,n.maxBarThickness),n.minBarLength=Nt(e.minBarLength,n.minBarLength),n}}),Ct=P.valueOrDefault,Ot=P.options.resolve;W._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,n){return(n.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+n.datasets[t.datasetIndex].data[t.index].r+")"}}}});var At=rt.extend({dataElementType:wt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var n=this,r=n.getMeta();P.each(r.data,(function(r,e){n.updateElement(r,e,t)}))},updateElement:function(t,n,r){var e=this,i=e.getMeta(),a=t.custom||{},o=e.getScaleForId(i.xAxisID),u=e.getScaleForId(i.yAxisID),s=e._resolveDataElementOptions(t,n),h=e.getDataset().data[n],f=e.index,c=r?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof h?h:NaN,n,f),l=r?u.getBasePixel():u.getPixelForValue(h,n,f);t._xScale=o,t._yScale=u,t._options=s,t._datasetIndex=f,t._index=n,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:r?0:s.radius,skip:a.skip||isNaN(c)||isNaN(l),x:c,y:l},t.pivot()},setHoverStyle:function(t){var n=t._model,r=t._options,e=P.getHoverColor;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.backgroundColor=Ct(r.hoverBackgroundColor,e(r.backgroundColor)),n.borderColor=Ct(r.hoverBorderColor,e(r.borderColor)),n.borderWidth=Ct(r.hoverBorderWidth,r.borderWidth),n.radius=r.radius+r.hoverRadius},_resolveDataElementOptions:function(t,n){var r=this,e=r.chart,i=r.getDataset(),a=t.custom||{},o=i.data[n]||{},u=rt.prototype._resolveDataElementOptions.apply(r,arguments),s={chart:e,dataIndex:n,dataset:i,datasetIndex:r.index};return r._cachedDataOpts===u&&(u=P.extend({},u)),u.radius=Ot([a.radius,o.r,r._config.radius,e.options.elements.point.radius],s,n),u}}),Tt=P.valueOrDefault,Ft=Math.PI,Lt=2*Ft,jt=Ft/2;W._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var n,r,e,i=document.createElement("ul"),a=t.data,o=a.datasets,u=a.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(n=0,r=o[0].data.length;n<r;++n)(e=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[n],u[n]&&e.appendChild(document.createTextNode(u[n]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map((function(r,e){var i=t.getDatasetMeta(0),a=i.controller.getStyle(e);return{text:r,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(n.datasets[0].data[e])||i.data[e].hidden,index:e}})):[]}},onClick:function(t,n){var r,e,i,a=n.index,o=this.chart;for(r=0,e=(o.data.datasets||[]).length;r<e;++r)(i=o.getDatasetMeta(r)).data[a]&&(i.data[a].hidden=!i.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-jt,circumference:Lt,tooltips:{callbacks:{title:function(){return""},label:function(t,n){var r=n.labels[t.index],e=": "+n.datasets[t.datasetIndex].data[t.index];return P.isArray(r)?(r=r.slice())[0]+=e:r+=e,r}}}});var Et=rt.extend({dataElementType:wt.Arc,linkScales:P.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var n=0,r=0;r<t;++r)this.chart.isDatasetVisible(r)&&++n;return n},update:function(t){var n,r,e=this,i=e.chart,a=i.chartArea,o=i.options,u=1,s=1,h=0,f=0,c=e.getMeta(),l=c.data,d=o.cutoutPercentage/100||0,v=o.circumference,m=e._getRingWeight(e.index);if(v<Lt){var g=o.rotation%Lt,b=(g+=g>=Ft?-Lt:g<-Ft?Lt:0)+v,p=Math.cos(g),M=Math.sin(g),y=Math.cos(b),w=Math.sin(b),k=g<=0&&b>=0||b>=Lt,x=g<=jt&&b>=jt||b>=Lt+jt,S=g<=-jt&&b>=-jt||b>=Ft+jt,D=g===-Ft||b>=Ft?-1:Math.min(p,p*d,y,y*d),N=S?-1:Math.min(M,M*d,w,w*d),Y=k?1:Math.max(p,p*d,y,y*d),_=x?1:Math.max(M,M*d,w,w*d);u=(Y-D)/2,s=(_-N)/2,h=-(Y+D)/2,f=-(_+N)/2}for(n=0,r=l.length;n<r;++n)l[n]._options=e._resolveDataElementOptions(l[n],n);for(i.borderWidth=e.getMaxBorderWidth(),i.outerRadius=Math.max(Math.min((a.right-a.left-i.borderWidth)/u,(a.bottom-a.top-i.borderWidth)/s)/2,0),i.innerRadius=Math.max(i.outerRadius*d,0),i.radiusLength=(i.outerRadius-i.innerRadius)/(e._getVisibleDatasetWeightTotal()||1),i.offsetX=h*i.outerRadius,i.offsetY=f*i.outerRadius,c.total=e.calculateTotal(),e.outerRadius=i.outerRadius-i.radiusLength*e._getRingWeightOffset(e.index),e.innerRadius=Math.max(e.outerRadius-i.radiusLength*m,0),n=0,r=l.length;n<r;++n)e.updateElement(l[n],n,t)},updateElement:function(t,n,r){var e=this,i=e.chart,a=i.chartArea,o=i.options,u=o.animation,s=(a.left+a.right)/2,h=(a.top+a.bottom)/2,f=o.rotation,c=o.rotation,l=e.getDataset(),d=r&&u.animateRotate||t.hidden?0:e.calculateCircumference(l.data[n])*(o.circumference/Lt),v=t._options||{};P.extend(t,{_datasetIndex:e.index,_index:n,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:s+i.offsetX,y:h+i.offsetY,startAngle:f,endAngle:c,circumference:d,outerRadius:r&&u.animateScale?0:e.outerRadius,innerRadius:r&&u.animateScale?0:e.innerRadius,label:P.valueAtIndexOrDefault(l.label,n,i.data.labels[n])}});var m=t._model;r&&u.animateRotate||(m.startAngle=0===n?o.rotation:e.getMeta().data[n-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},calculateTotal:function(){var t,n=this.getDataset(),r=this.getMeta(),e=0;return P.each(r.data,(function(r,i){t=n.data[i],isNaN(t)||r.hidden||(e+=Math.abs(t))})),e},calculateCircumference:function(t){var n=this.getMeta().total;return n>0&&!isNaN(t)?Lt*(Math.abs(t)/n):0},getMaxBorderWidth:function(t){var n,r,e,i,a,o,u,s,h=0,f=this.chart;if(!t)for(n=0,r=f.data.datasets.length;n<r;++n)if(f.isDatasetVisible(n)){t=(e=f.getDatasetMeta(n)).data,n!==this.index&&(a=e.controller);break}if(!t)return 0;for(n=0,r=t.length;n<r;++n)i=t[n],a?(a._configure(),o=a._resolveDataElementOptions(i,n)):o=i._options,"inner"!==o.borderAlign&&(h=(s=o.hoverBorderWidth)>(h=(u=o.borderWidth)>h?u:h)?s:h);return h},setHoverStyle:function(t){var n=t._model,r=t._options,e=P.getHoverColor;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth},n.backgroundColor=Tt(r.hoverBackgroundColor,e(r.backgroundColor)),n.borderColor=Tt(r.hoverBorderColor,e(r.borderColor)),n.borderWidth=Tt(r.hoverBorderWidth,r.borderWidth)},_getRingWeightOffset:function(t){for(var n=0,r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n},_getRingWeight:function(t){return Math.max(Tt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});W._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),W._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Wt=_t.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),It=P.valueOrDefault,Ht=P.options.resolve,Rt=P.canvas._isPointInArea;function zt(t,n){var r=t&&t.options.ticks||{},e=r.reverse,i=void 0===r.min?n:0,a=void 0===r.max?n:0;return{start:e?a:i,end:e?i:a}}function Pt(t,n,r){var e=r/2,i=zt(t,e),a=zt(n,e);return{top:a.end,right:i.end,bottom:a.start,left:i.start}}function Bt(t){var n,r,e,i;return P.isObject(t)?(n=t.top,r=t.right,e=t.bottom,i=t.left):n=r=e=i=t,{top:n,right:r,bottom:e,left:i}}W._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Gt=rt.extend({datasetElementType:wt.Line,dataElementType:wt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var n,r,e=this,i=e.getMeta(),a=i.dataset,o=i.data||[],u=e._config,s=e._showLine=It(u.showLine,e.chart.options.showLines);for(e._xScale=e.getScaleForId(i.xAxisID),e._yScale=e.getScaleForId(i.yAxisID),s&&(void 0!==u.tension&&void 0===u.lineTension&&(u.lineTension=u.tension),a._scale=e._yScale,a._datasetIndex=e.index,a._children=o,a._model=e._resolveDatasetElementOptions(a),a.pivot()),n=0,r=o.length;n<r;++n)e.updateElement(o[n],n,t);for(s&&0!==a._model.tension&&e.updateBezierControlPoints(),n=0,r=o.length;n<r;++n)o[n].pivot()},updateElement:function(t,n,r){var e,i,a=this,o=a.getMeta(),u=t.custom||{},s=a.getDataset(),h=a.index,f=s.data[n],c=a._xScale,l=a._yScale,d=o.dataset._model,v=a._resolveDataElementOptions(t,n);e=c.getPixelForValue("object"==typeof f?f:NaN,n,h),i=r?l.getBasePixel():a.calculatePointY(f,n,h),t._xScale=c,t._yScale=l,t._options=v,t._datasetIndex=h,t._index=n,t._model={x:e,y:i,skip:u.skip||isNaN(e)||isNaN(i),radius:v.radius,pointStyle:v.pointStyle,rotation:v.rotation,backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,tension:It(u.tension,d?d.tension:0),steppedLine:!!d&&d.steppedLine,hitRadius:v.hitRadius}},_resolveDatasetElementOptions:function(t){var n=this,r=n._config,e=t.custom||{},i=n.chart.options,a=i.elements.line,o=rt.prototype._resolveDatasetElementOptions.apply(n,arguments);return o.spanGaps=It(r.spanGaps,i.spanGaps),o.tension=It(r.lineTension,a.tension),o.steppedLine=Ht([e.steppedLine,r.steppedLine,a.stepped]),o.clip=Bt(It(r.clip,Pt(n._xScale,n._yScale,o.borderWidth))),o},calculatePointY:function(t,n,r){var e,i,a,o,u,s,h=this.chart,f=this._yScale,c=0,l=0;if(f.options.stacked){for(o=+f.getRightValue(t),s=(u=h._getSortedVisibleDatasetMetas()).length,e=0;e<s&&(i=u[e]).index!==r;++e)"line"===i.type&&i.yAxisID===f.id&&((a=+f.getRightValue(h.data.datasets[i.index].data[n]))<0?l+=a||0:c+=a||0);return f.getPixelForValue(o<0?l+o:c+o)}return f.getPixelForValue(t)},updateBezierControlPoints:function(){var t,n,r,e,i=this.chart,a=this.getMeta(),o=a.dataset._model,u=i.chartArea,s=a.data||[];function h(t,n,r){return Math.max(Math.min(t,r),n)}if(o.spanGaps&&(s=s.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)P.splineCurveMonotone(s);else for(t=0,n=s.length;t<n;++t)r=s[t]._model,e=P.splineCurve(P.previousItem(s,t)._model,r,P.nextItem(s,t)._model,o.tension),r.controlPointPreviousX=e.previous.x,r.controlPointPreviousY=e.previous.y,r.controlPointNextX=e.next.x,r.controlPointNextY=e.next.y;if(i.options.elements.line.capBezierPoints)for(t=0,n=s.length;t<n;++t)Rt(r=s[t]._model,u)&&(t>0&&Rt(s[t-1]._model,u)&&(r.controlPointPreviousX=h(r.controlPointPreviousX,u.left,u.right),r.controlPointPreviousY=h(r.controlPointPreviousY,u.top,u.bottom)),t<s.length-1&&Rt(s[t+1]._model,u)&&(r.controlPointNextX=h(r.controlPointNextX,u.left,u.right),r.controlPointNextY=h(r.controlPointNextY,u.top,u.bottom)))},draw:function(){var t,n=this,r=n.chart,e=n.getMeta(),i=e.data||[],a=r.chartArea,o=r.canvas,u=0,s=i.length;for(n._showLine&&(P.canvas.clipArea(r.ctx,{left:!1===(t=e.dataset._model.clip).left?0:a.left-t.left,right:!1===t.right?o.width:a.right+t.right,top:!1===t.top?0:a.top-t.top,bottom:!1===t.bottom?o.height:a.bottom+t.bottom}),e.dataset.draw(),P.canvas.unclipArea(r.ctx));u<s;++u)i[u].draw(a)},setHoverStyle:function(t){var n=t._model,r=t._options,e=P.getHoverColor;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.backgroundColor=It(r.hoverBackgroundColor,e(r.backgroundColor)),n.borderColor=It(r.hoverBorderColor,e(r.borderColor)),n.borderWidth=It(r.hoverBorderWidth,r.borderWidth),n.radius=It(r.hoverRadius,r.radius)}}),Ut=P.options.resolve;W._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var n,r,e,i=document.createElement("ul"),a=t.data,o=a.datasets,u=a.labels;if(i.setAttribute("class",t.id+"-legend"),o.length)for(n=0,r=o[0].data.length;n<r;++n)(e=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[n],u[n]&&e.appendChild(document.createTextNode(u[n]));return i.outerHTML},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map((function(r,e){var i=t.getDatasetMeta(0),a=i.controller.getStyle(e);return{text:r,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(n.datasets[0].data[e])||i.data[e].hidden,index:e}})):[]}},onClick:function(t,n){var r,e,i,a=n.index,o=this.chart;for(r=0,e=(o.data.datasets||[]).length;r<e;++r)(i=o.getDatasetMeta(r)).data[a].hidden=!i.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,n){return n.labels[t.index]+": "+t.yLabel}}}});var qt=rt.extend({dataElementType:wt.Arc,linkScales:P.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var n,r,e,i=this,a=i.getDataset(),o=i.getMeta(),u=i.chart.options.startAngle||0,s=i._starts=[],h=i._angles=[],f=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),n=0,r=a.data.length;n<r;n++)s[n]=u,e=i._computeAngle(n),h[n]=e,u+=e;for(n=0,r=f.length;n<r;++n)f[n]._options=i._resolveDataElementOptions(f[n],n),i.updateElement(f[n],n,t)},_updateRadius:function(){var t=this,n=t.chart,r=n.chartArea,e=n.options,i=Math.min(r.right-r.left,r.bottom-r.top);n.outerRadius=Math.max(i/2,0),n.innerRadius=Math.max(e.cutoutPercentage?n.outerRadius/100*e.cutoutPercentage:1,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),t.outerRadius=n.outerRadius-n.radiusLength*t.index,t.innerRadius=t.outerRadius-n.radiusLength},updateElement:function(t,n,r){var e=this,i=e.chart,a=e.getDataset(),o=i.options,u=o.animation,s=i.scale,h=i.data.labels,f=s.xCenter,c=s.yCenter,l=o.startAngle,d=t.hidden?0:s.getDistanceFromCenterForValue(a.data[n]),v=e._starts[n],m=v+(t.hidden?0:e._angles[n]),g=u.animateScale?0:s.getDistanceFromCenterForValue(a.data[n]),b=t._options||{};P.extend(t,{_datasetIndex:e.index,_index:n,_scale:s,_model:{backgroundColor:b.backgroundColor,borderColor:b.borderColor,borderWidth:b.borderWidth,borderAlign:b.borderAlign,x:f,y:c,innerRadius:0,outerRadius:r?g:d,startAngle:r&&u.animateRotate?l:v,endAngle:r&&u.animateRotate?l:m,label:P.valueAtIndexOrDefault(h,n,h[n])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),n=this.getMeta(),r=0;return P.each(n.data,(function(n,e){isNaN(t.data[e])||n.hidden||r++})),r},setHoverStyle:function(t){var n=t._model,r=t._options,e=P.getHoverColor,i=P.valueOrDefault;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth},n.backgroundColor=i(r.hoverBackgroundColor,e(r.backgroundColor)),n.borderColor=i(r.hoverBorderColor,e(r.borderColor)),n.borderWidth=i(r.hoverBorderWidth,r.borderWidth)},_computeAngle:function(t){var n=this,r=this.getMeta().count,e=n.getDataset(),i=n.getMeta();return isNaN(e.data[t])||i.data[t].hidden?0:Ut([n.chart.options.elements.arc.angle,2*Math.PI/r],{chart:n.chart,dataIndex:t,dataset:e,datasetIndex:n.index},t)}});W._set("pie",P.clone(W.doughnut)),W._set("pie",{cutoutPercentage:0});var Vt=Et,Zt=P.valueOrDefault;W._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var $t=rt.extend({datasetElementType:wt.Line,dataElementType:wt.Point,linkScales:P.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var n,r,e=this,i=e.getMeta(),a=i.dataset,o=i.data||[],u=e.chart.scale,s=e._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),a._scale=u,a._datasetIndex=e.index,a._children=o,a._loop=!0,a._model=e._resolveDatasetElementOptions(a),a.pivot(),n=0,r=o.length;n<r;++n)e.updateElement(o[n],n,t);for(e.updateBezierControlPoints(),n=0,r=o.length;n<r;++n)o[n].pivot()},updateElement:function(t,n,r){var e=this,i=t.custom||{},a=e.getDataset(),o=e.chart.scale,u=o.getPointPositionForValue(n,a.data[n]),s=e._resolveDataElementOptions(t,n),h=e.getMeta().dataset._model,f=r?o.xCenter:u.x,c=r?o.yCenter:u.y;t._scale=o,t._options=s,t._datasetIndex=e.index,t._index=n,t._model={x:f,y:c,skip:i.skip||isNaN(f)||isNaN(c),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:Zt(i.tension,h?h.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,n=t._config,r=t.chart.options,e=rt.prototype._resolveDatasetElementOptions.apply(t,arguments);return e.spanGaps=Zt(n.spanGaps,r.spanGaps),e.tension=Zt(n.lineTension,r.elements.line.tension),e},updateBezierControlPoints:function(){var t,n,r,e,i=this.getMeta(),a=this.chart.chartArea,o=i.data||[];function u(t,n,r){return Math.max(Math.min(t,r),n)}for(i.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,n=o.length;t<n;++t)r=o[t]._model,e=P.splineCurve(P.previousItem(o,t,!0)._model,r,P.nextItem(o,t,!0)._model,r.tension),r.controlPointPreviousX=u(e.previous.x,a.left,a.right),r.controlPointPreviousY=u(e.previous.y,a.top,a.bottom),r.controlPointNextX=u(e.next.x,a.left,a.right),r.controlPointNextY=u(e.next.y,a.top,a.bottom)},setHoverStyle:function(t){var n=t._model,r=t._options,e=P.getHoverColor;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.backgroundColor=Zt(r.hoverBackgroundColor,e(r.backgroundColor)),n.borderColor=Zt(r.hoverBorderColor,e(r.borderColor)),n.borderWidth=Zt(r.hoverBorderWidth,r.borderWidth),n.radius=Zt(r.hoverRadius,r.radius)}});W._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),W._set("global",{datasets:{scatter:{showLine:!1}}});var Qt={bar:_t,bubble:At,doughnut:Et,horizontalBar:Wt,line:Gt,polarArea:qt,pie:Vt,radar:$t,scatter:Gt};function Jt(t,n){return t.native?{x:t.x,y:t.y}:P.getRelativePosition(t,n)}function Xt(t,n){var r,e,i,a,o,u,s=t._getSortedVisibleDatasetMetas();for(e=0,a=s.length;e<a;++e)for(i=0,o=(r=s[e].data).length;i<o;++i)(u=r[i])._view.skip||n(u)}function Kt(t,n){var r=[];return Xt(t,(function(t){t.inRange(n.x,n.y)&&r.push(t)})),r}function tn(t,n,r,e){var i=Number.POSITIVE_INFINITY,a=[];return Xt(t,(function(t){if(!r||t.inRange(n.x,n.y)){var o=t.getCenterPoint(),u=e(n,o);u<i?(a=[t],i=u):u===i&&a.push(t)}})),a}function nn(t){var n=-1!==t.indexOf("x"),r=-1!==t.indexOf("y");return function(t,e){var i=n?Math.abs(t.x-e.x):0,a=r?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function rn(t,n,r){var e=Jt(n,t);r.axis=r.axis||"x";var i=nn(r.axis),a=r.intersect?Kt(t,e):tn(t,e,!1,i),o=[];return a.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var n=t.data[a[0]._index];n&&!n._view.skip&&o.push(n)})),o):[]}var en={modes:{single:function(t,n){var r=Jt(n,t),e=[];return Xt(t,(function(t){if(t.inRange(r.x,r.y))return e.push(t),e})),e.slice(0,1)},label:rn,index:rn,dataset:function(t,n,r){var e=Jt(n,t);r.axis=r.axis||"xy";var i=nn(r.axis),a=r.intersect?Kt(t,e):tn(t,e,!1,i);return a.length>0&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,n){return rn(t,n,{intersect:!1})},point:function(t,n){return Kt(t,Jt(n,t))},nearest:function(t,n,r){var e=Jt(n,t);r.axis=r.axis||"xy";var i=nn(r.axis);return tn(t,e,r.intersect,i)},x:function(t,n,r){var e=Jt(n,t),i=[],a=!1;return Xt(t,(function(t){t.inXRange(e.x)&&i.push(t),t.inRange(e.x,e.y)&&(a=!0)})),r.intersect&&!a&&(i=[]),i},y:function(t,n,r){var e=Jt(n,t),i=[],a=!1;return Xt(t,(function(t){t.inYRange(e.y)&&i.push(t),t.inRange(e.x,e.y)&&(a=!0)})),r.intersect&&!a&&(i=[]),i}}},an=P.extend;function on(t,n){return P.where(t,(function(t){return t.pos===n}))}function un(t,n){return t.sort((function(t,r){var e=n?r:t,i=n?t:r;return e.weight===i.weight?e.index-i.index:e.weight-i.weight}))}function sn(t,n,r,e){return Math.max(t[r],n[r])+Math.max(t[e],n[e])}function hn(t,n,r){var e,i,a=r.box,o=t.maxPadding;if(r.size&&(t[r.pos]-=r.size),r.size=r.horizontal?a.height:a.width,t[r.pos]+=r.size,a.getPadding){var u=a.getPadding();o.top=Math.max(o.top,u.top),o.left=Math.max(o.left,u.left),o.bottom=Math.max(o.bottom,u.bottom),o.right=Math.max(o.right,u.right)}if(e=n.outerWidth-sn(o,t,"left","right"),i=n.outerHeight-sn(o,t,"top","bottom"),e!==t.w||i!==t.h){t.w=e,t.h=i;var s=r.horizontal?[e,t.w]:[i,t.h];return!(s[0]===s[1]||isNaN(s[0])&&isNaN(s[1]))}}function fn(t,n){var r,e=n.maxPadding;return r={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach((function(t){r[t]=Math.max(n[t],e[t])})),r}function cn(t,n,r){var e,i,a,o,u,s,h=[];for(e=0,i=t.length;e<i;++e)(o=(a=t[e]).box).update(a.width||n.w,a.height||n.h,fn(a.horizontal,n)),hn(n,r,a)&&(s=!0,h.length&&(u=!0)),o.fullWidth||h.push(a);return u&&cn(h,n,r)||s}function ln(t,n,r){var e,i,a,o,u=r.padding,s=n.x,h=n.y;for(e=0,i=t.length;e<i;++e)o=(a=t[e]).box,a.horizontal?(o.left=o.fullWidth?u.left:n.left,o.right=o.fullWidth?r.outerWidth-u.right:n.left+n.w,o.top=h,o.bottom=h+o.height,o.width=o.right-o.left,h=o.bottom):(o.left=s,o.right=s+o.width,o.top=n.top,o.bottom=n.top+n.h,o.height=o.bottom-o.top,s=o.right);n.x=s,n.y=h}W._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var dn,vn={defaults:{},addBox:function(t,n){t.boxes||(t.boxes=[]),n.fullWidth=n.fullWidth||!1,n.position=n.position||"top",n.weight=n.weight||0,n._layers=n._layers||function(){return[{z:0,draw:function(){n.draw.apply(n,arguments)}}]},t.boxes.push(n)},removeBox:function(t,n){var r=t.boxes?t.boxes.indexOf(n):-1;-1!==r&&t.boxes.splice(r,1)},configure:function(t,n,r){for(var e,i=["fullWidth","position","weight"],a=i.length,o=0;o<a;++o)r.hasOwnProperty(e=i[o])&&(n[e]=r[e])},update:function(t,n,r){if(t){var e=P.options.toPadding((t.options.layout||{}).padding),i=n-e.width,a=r-e.height,o=function(t){var n=function(t){var n,r,e,i=[];for(n=0,r=(t||[]).length;n<r;++n)i.push({index:n,box:e=t[n],pos:e.position,horizontal:e.isHorizontal(),weight:e.weight});return i}(t),r=un(on(n,"left"),!0),e=un(on(n,"right")),i=un(on(n,"top"),!0),a=un(on(n,"bottom"));return{leftAndTop:r.concat(i),rightAndBottom:e.concat(a),chartArea:on(n,"chartArea"),vertical:r.concat(e),horizontal:i.concat(a)}}(t.boxes),u=o.vertical,s=o.horizontal,h=Object.freeze({outerWidth:n,outerHeight:r,padding:e,availableWidth:i,vBoxMaxWidth:i/2/u.length,hBoxMaxHeight:a/2}),f=an({maxPadding:an({},e),w:i,h:a,x:e.left,y:e.top},e);(function(t,n){var r,e,i;for(r=0,e=t.length;r<e;++r)(i=t[r]).width=i.horizontal?i.box.fullWidth&&n.availableWidth:n.vBoxMaxWidth,i.height=i.horizontal&&n.hBoxMaxHeight})(u.concat(s),h),cn(u,f,h),cn(s,f,h)&&cn(u,f,h),function(t){var n=t.maxPadding;function r(r){var e=Math.max(n[r]-t[r],0);return t[r]+=e,e}t.y+=r("top"),t.x+=r("left"),r("right"),r("bottom")}(f),ln(o.leftAndTop,f,h),f.x+=f.w,f.y+=f.h,ln(o.rightAndBottom,f,h),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h},P.each(o.chartArea,(function(n){var r=n.box;an(r,t.chartArea),r.update(f.w,f.h)}))}}},mn=(dn=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&dn.default||dn,gn="$chartjs",bn="chartjs-",pn=bn+"size-monitor",Mn=bn+"render-monitor",yn=bn+"render-animation",wn=["animationstart","webkitAnimationStart"],kn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function xn(t,n){var r=P.getStyle(t,n),e=r&&r.match(/^(\d+)(\.\d+)?px$/);return e?Number(e[1]):void 0}var Sn=!!function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,n)}catch(r){}return t}()&&{passive:!0};function Dn(t,n,r){t.addEventListener(n,r,Sn)}function Nn(t,n,r){t.removeEventListener(n,r,Sn)}function Yn(t,n,r,e,i){return{type:t,chart:n,native:i||null,x:void 0!==r?r:null,y:void 0!==e?e:null}}function _n(t){var n=document.createElement("div");return n.className=t||"",n}function Cn(t,n,r){var e,i,a,o,u=t[gn]||(t[gn]={}),s=u.resizer=function(t){var n=1e6,r=_n(pn),e=_n(pn+"-expand"),i=_n(pn+"-shrink");e.appendChild(_n()),i.appendChild(_n()),r.appendChild(e),r.appendChild(i),r._reset=function(){e.scrollLeft=n,e.scrollTop=n,i.scrollLeft=n,i.scrollTop=n};var a=function(){r._reset(),t()};return Dn(e,"scroll",a.bind(e,"expand")),Dn(i,"scroll",a.bind(i,"shrink")),r}((e=function(){if(u.resizer){var e=r.options.maintainAspectRatio&&t.parentNode,i=e?e.clientWidth:0;n(Yn("resize",r)),e&&e.clientWidth<i&&r.canvas&&n(Yn("resize",r))}},a=!1,o=[],function(){o=Array.prototype.slice.call(arguments),i=i||this,a||(a=!0,P.requestAnimFrame.call(window,(function(){a=!1,e.apply(i,o)})))}));!function(t,n){var r=t[gn]||(t[gn]={}),e=r.renderProxy=function(t){t.animationName===yn&&n()};P.each(wn,(function(n){Dn(t,n,e)})),r.reflow=!!t.offsetParent,t.classList.add(Mn)}(t,(function(){if(u.resizer){var n=t.parentNode;n&&n!==s.parentNode&&n.insertBefore(s,n.firstChild),s._reset()}}))}function On(t){var n=t[gn]||{},r=n.resizer;delete n.resizer,function(t){var n=t[gn]||{},r=n.renderProxy;r&&(P.each(wn,(function(n){Nn(t,n,r)})),delete n.renderProxy),t.classList.remove(Mn)}(t),r&&r.parentNode&&r.parentNode.removeChild(r)}var An={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var n=t.getRootNode?t.getRootNode():document;!function(t,n){var r=t[gn]||(t[gn]={});if(!r.containsStyles){r.containsStyles=!0,n="/* Chart.js */\n"+n;var e=document.createElement("style");e.setAttribute("type","text/css"),e.appendChild(document.createTextNode(n)),t.appendChild(e)}}(n.host?n:document.head,mn)}},acquireContext:function(t,n){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(this._ensureLoaded(t),function(t,n){var r=t.style,e=t.getAttribute("height"),i=t.getAttribute("width");if(t[gn]={initial:{height:e,width:i,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",null===i||""===i){var a=xn(t,"width");void 0!==a&&(t.width=a)}if(null===e||""===e)if(""===t.style.height)t.height=t.width/(n.options.aspectRatio||2);else{var o=xn(t,"height");void 0!==a&&(t.height=o)}}(t,n),r):null},releaseContext:function(t){var n=t.canvas;if(n[gn]){var r=n[gn].initial;["height","width"].forEach((function(t){var e=r[t];P.isNullOrUndef(e)?n.removeAttribute(t):n.setAttribute(t,e)})),P.each(r.style||{},(function(t,r){n.style[r]=t})),n.width=n.width,delete n[gn]}},addEventListener:function(t,n,r){var e=t.canvas;if("resize"!==n){var i=r[gn]||(r[gn]={});Dn(e,n,(i.proxies||(i.proxies={}))[t.id+"_"+n]=function(n){r(function(t,n){var r=kn[t.type]||t.type,e=P.getRelativePosition(t,n);return Yn(r,n,e.x,e.y,t)}(n,t))})}else Cn(e,r,t)},removeEventListener:function(t,n,r){var e=t.canvas;if("resize"!==n){var i=((r[gn]||{}).proxies||{})[t.id+"_"+n];i&&Nn(e,n,i)}else On(e)}};P.addEvent=Dn,P.removeEvent=Nn;var Tn=P.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},An._enabled?An:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}});W._set("global",{plugins:{}});var Fn={_plugins:[],_cacheId:0,register:function(t){var n=this._plugins;[].concat(t).forEach((function(t){-1===n.indexOf(t)&&n.push(t)})),this._cacheId++},unregister:function(t){var n=this._plugins;[].concat(t).forEach((function(t){var r=n.indexOf(t);-1!==r&&n.splice(r,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,n,r){var e,i,a,o,u,s=this.descriptors(t),h=s.length;for(e=0;e<h;++e)if("function"==typeof(u=(a=(i=s[e]).plugin)[n])&&((o=[t].concat(r||[])).push(i.options),!1===u.apply(a,o)))return!1;return!0},descriptors:function(t){var n=t.$plugins||(t.$plugins={});if(n.id===this._cacheId)return n.descriptors;var r=[],e=[],i=t&&t.config||{},a=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach((function(t){if(-1===r.indexOf(t)){var n=t.id,i=a[n];!1!==i&&(!0===i&&(i=P.clone(W.global.plugins[n])),r.push(t),e.push({plugin:t,options:i||{}}))}})),n.descriptors=e,n.id=this._cacheId,e},_invalidate:function(t){delete t.$plugins}},Ln={constructors:{},defaults:{},registerScaleType:function(t,n,r){this.constructors[t]=n,this.defaults[t]=P.clone(r)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?P.merge(Object.create(null),[W.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,n){var r=this;r.defaults.hasOwnProperty(t)&&(r.defaults[t]=P.extend(r.defaults[t],n))},addScalesToLayout:function(t){P.each(t.scales,(function(n){n.fullWidth=n.options.fullWidth,n.position=n.options.position,n.weight=n.options.weight,vn.addBox(t,n)}))}},jn=P.valueOrDefault,En=P.rtl.getRtlAdapter;W._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:P.noop,title:function(t,n){var r="",e=n.labels,i=e?e.length:0;if(t.length>0){var a=t[0];a.label?r=a.label:a.xLabel?r=a.xLabel:i>0&&a.index<i&&(r=e[a.index])}return r},afterTitle:P.noop,beforeBody:P.noop,beforeLabel:P.noop,label:function(t,n){var r=n.datasets[t.datasetIndex].label||"";return r&&(r+=": "),P.isNullOrUndef(t.value)?r+=t.yLabel:r+=t.value,r},labelColor:function(t,n){var r=n.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:r.borderColor,backgroundColor:r.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:P.noop,afterBody:P.noop,beforeFooter:P.noop,footer:P.noop,afterFooter:P.noop}}});var Wn={average:function(t){if(!t.length)return!1;var n,r,e=0,i=0,a=0;for(n=0,r=t.length;n<r;++n){var o=t[n];if(o&&o.hasValue()){var u=o.tooltipPosition();e+=u.x,i+=u.y,++a}}return{x:e/a,y:i/a}},nearest:function(t,n){var r,e,i,a=n.x,o=n.y,u=Number.POSITIVE_INFINITY;for(r=0,e=t.length;r<e;++r){var s=t[r];if(s&&s.hasValue()){var h=s.getCenterPoint(),f=P.distanceBetweenPoints(n,h);f<u&&(u=f,i=s)}}if(i){var c=i.tooltipPosition();a=c.x,o=c.y}return{x:a,y:o}}};function In(t,n){return n&&(P.isArray(n)?Array.prototype.push.apply(t,n):t.push(n)),t}function Hn(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Rn(t){var n=W.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:jn(t.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:jn(t.bodyFontStyle,n.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:jn(t.bodyFontSize,n.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:jn(t.titleFontFamily,n.defaultFontFamily),_titleFontStyle:jn(t.titleFontStyle,n.defaultFontStyle),titleFontSize:jn(t.titleFontSize,n.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:jn(t.footerFontFamily,n.defaultFontFamily),_footerFontStyle:jn(t.footerFontStyle,n.defaultFontStyle),footerFontSize:jn(t.footerFontSize,n.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function zn(t,n){return"center"===n?t.x+t.width/2:"right"===n?t.x+t.width-t.xPadding:t.x+t.xPadding}function Pn(t){return In([],Hn(t))}var Bn=Z.extend({initialize:function(){this._model=Rn(this._options),this._lastActive=[]},getTitle:function(){var t=this,n=t._options.callbacks,r=n.beforeTitle.apply(t,arguments),e=n.title.apply(t,arguments),i=n.afterTitle.apply(t,arguments),a=[];return a=In(a,Hn(r)),a=In(a,Hn(e)),In(a,Hn(i))},getBeforeBody:function(){return Pn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,n){var r=this,e=r._options.callbacks,i=[];return P.each(t,(function(t){var a={before:[],lines:[],after:[]};In(a.before,Hn(e.beforeLabel.call(r,t,n))),In(a.lines,e.label.call(r,t,n)),In(a.after,Hn(e.afterLabel.call(r,t,n))),i.push(a)})),i},getAfterBody:function(){return Pn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,n=t._options.callbacks,r=n.beforeFooter.apply(t,arguments),e=n.footer.apply(t,arguments),i=n.afterFooter.apply(t,arguments),a=[];return a=In(a,Hn(r)),a=In(a,Hn(e)),In(a,Hn(i))},update:function(t){var n,r,e,i,a,o,u,s,h,f,c=this,l=c._options,d=c._model,v=c._model=Rn(l),m=c._active,g=c._data,b={xAlign:d.xAlign,yAlign:d.yAlign},p={x:d.x,y:d.y},M={width:d.width,height:d.height},y={x:d.caretX,y:d.caretY};if(m.length){v.opacity=1;var w=[],k=[];y=Wn[l.position].call(c,m,c._eventPosition);var x=[];for(n=0,r=m.length;n<r;++n)x.push((i=void 0,a=void 0,o=void 0,u=void 0,s=void 0,h=void 0,f=void 0,i=(e=m[n])._xScale,a=e._yScale||e._scale,o=e._index,s=e._chart.getDatasetMeta(u=e._datasetIndex).controller,h=s._getIndexScale(),f=s._getValueScale(),{xLabel:i?i.getLabelForIndex(o,u):"",yLabel:a?a.getLabelForIndex(o,u):"",label:h?""+h.getLabelForIndex(o,u):"",value:f?""+f.getLabelForIndex(o,u):"",index:o,datasetIndex:u,x:e._model.x,y:e._model.y}));l.filter&&(x=x.filter((function(t){return l.filter(t,g)}))),l.itemSort&&(x=x.sort((function(t,n){return l.itemSort(t,n,g)}))),P.each(x,(function(t){w.push(l.callbacks.labelColor.call(c,t,c._chart)),k.push(l.callbacks.labelTextColor.call(c,t,c._chart))})),v.title=c.getTitle(x,g),v.beforeBody=c.getBeforeBody(x,g),v.body=c.getBody(x,g),v.afterBody=c.getAfterBody(x,g),v.footer=c.getFooter(x,g),v.x=y.x,v.y=y.y,v.caretPadding=l.caretPadding,v.labelColors=w,v.labelTextColors=k,v.dataPoints=x,p=function(t,n,r,e){var i=t.x,a=t.y,o=t.caretPadding,u=r.xAlign,s=r.yAlign,h=t.caretSize+o,f=t.cornerRadius+o;return"right"===u?i-=n.width:"center"===u&&((i-=n.width/2)+n.width>e.width&&(i=e.width-n.width),i<0&&(i=0)),"top"===s?a+=h:a-="bottom"===s?n.height+h:n.height/2,"center"===s?"left"===u?i+=h:"right"===u&&(i-=h):"left"===u?i-=f:"right"===u&&(i+=f),{x:i,y:a}}(v,M=function(t,n){var r=t._chart.ctx,e=2*n.yPadding,i=0,a=n.body,o=a.reduce((function(t,n){return t+n.before.length+n.lines.length+n.after.length}),0),u=n.title.length,s=n.footer.length,h=n.titleFontSize,f=n.bodyFontSize,c=n.footerFontSize;e+=u*h,e+=u?(u-1)*n.titleSpacing:0,e+=u?n.titleMarginBottom:0,e+=(o+=n.beforeBody.length+n.afterBody.length)*f,e+=o?(o-1)*n.bodySpacing:0,e+=s?n.footerMarginTop:0,e+=s*c,e+=s?(s-1)*n.footerSpacing:0;var l=0,d=function(t){i=Math.max(i,r.measureText(t).width+l)};return r.font=P.fontString(h,n._titleFontStyle,n._titleFontFamily),P.each(n.title,d),r.font=P.fontString(f,n._bodyFontStyle,n._bodyFontFamily),P.each(n.beforeBody.concat(n.afterBody),d),l=n.displayColors?f+2:0,P.each(a,(function(t){P.each(t.before,d),P.each(t.lines,d),P.each(t.after,d)})),l=0,r.font=P.fontString(c,n._footerFontStyle,n._footerFontFamily),P.each(n.footer,d),{width:i+=2*n.xPadding,height:e}}(this,v),b=function(t,n){var r,e,i,a,o,u=t._model,s=t._chart,h=t._chart.chartArea,f="center",c="center";u.y<n.height?c="top":u.y>s.height-n.height&&(c="bottom");var l=(h.left+h.right)/2,d=(h.top+h.bottom)/2;"center"===c?(r=function(t){return t<=l},e=function(t){return t>l}):(r=function(t){return t<=n.width/2},e=function(t){return t>=s.width-n.width/2}),i=function(t){return t+n.width+u.caretSize+u.caretPadding>s.width},a=function(t){return t-n.width-u.caretSize-u.caretPadding<0},o=function(t){return t<=d?"top":"bottom"},r(u.x)?(f="left",i(u.x)&&(f="center",c=o(u.y))):e(u.x)&&(f="right",a(u.x)&&(f="center",c=o(u.y)));var v=t._options;return{xAlign:v.xAlign?v.xAlign:f,yAlign:v.yAlign?v.yAlign:c}}(this,M),c._chart)}else v.opacity=0;return v.xAlign=b.xAlign,v.yAlign=b.yAlign,v.x=p.x,v.y=p.y,v.width=M.width,v.height=M.height,v.caretX=y.x,v.caretY=y.y,c._model=v,t&&l.custom&&l.custom.call(c,v),c},drawCaret:function(t,n){var r=this._chart.ctx,e=this.getCaretPosition(t,n,this._view);r.lineTo(e.x1,e.y1),r.lineTo(e.x2,e.y2),r.lineTo(e.x3,e.y3)},getCaretPosition:function(t,n,r){var e,i,a,o,u,s,h=r.caretSize,f=r.cornerRadius,c=r.xAlign,l=r.yAlign,d=t.x,v=t.y,m=n.width,g=n.height;if("center"===l)u=v+g/2,"left"===c?(i=(e=d)-h,a=e,o=u+h,s=u-h):(i=(e=d+m)+h,a=e,o=u-h,s=u+h);else if("left"===c?(e=(i=d+f+h)-h,a=i+h):"right"===c?(e=(i=d+m-f-h)-h,a=i+h):(e=(i=r.caretX)-h,a=i+h),"top"===l)u=(o=v)-h,s=o;else{u=(o=v+g)+h,s=o;var b=a;a=e,e=b}return{x1:e,x2:i,x3:a,y1:o,y2:u,y3:s}},drawTitle:function(t,n,r){var e,i,a,o=n.title,u=o.length;if(u){var s=En(n.rtl,n.x,n.width);for(t.x=zn(n,n._titleAlign),r.textAlign=s.textAlign(n._titleAlign),r.textBaseline="middle",e=n.titleFontSize,i=n.titleSpacing,r.fillStyle=n.titleFontColor,r.font=P.fontString(e,n._titleFontStyle,n._titleFontFamily),a=0;a<u;++a)r.fillText(o[a],s.x(t.x),t.y+e/2),t.y+=e+i,a+1===u&&(t.y+=n.titleMarginBottom-i)}},drawBody:function(t,n,r){var e,i,a,o,u,s,h,f,c=n.bodyFontSize,l=n.bodySpacing,d=n._bodyAlign,v=n.body,m=n.displayColors,g=0,b=m?zn(n,"left"):0,p=En(n.rtl,n.x,n.width),M=function(n){r.fillText(n,p.x(t.x+g),t.y+c/2),t.y+=c+l},y=p.textAlign(d);for(r.textAlign=d,r.textBaseline="middle",r.font=P.fontString(c,n._bodyFontStyle,n._bodyFontFamily),t.x=zn(n,y),r.fillStyle=n.bodyFontColor,P.each(n.beforeBody,M),g=m&&"right"!==y?"center"===d?c/2+1:c+2:0,u=0,h=v.length;u<h;++u){for(e=v[u],a=n.labelColors[u],r.fillStyle=i=n.labelTextColors[u],P.each(e.before,M),s=0,f=(o=e.lines).length;s<f;++s){if(m){var w=p.x(b);r.fillStyle=n.legendColorBackground,r.fillRect(p.leftForLtr(w,c),t.y,c,c),r.lineWidth=1,r.strokeStyle=a.borderColor,r.strokeRect(p.leftForLtr(w,c),t.y,c,c),r.fillStyle=a.backgroundColor,r.fillRect(p.leftForLtr(p.xPlus(w,1),c-2),t.y+1,c-2,c-2),r.fillStyle=i}M(o[s])}P.each(e.after,M)}g=0,P.each(n.afterBody,M),t.y-=l},drawFooter:function(t,n,r){var e,i,a=n.footer,o=a.length;if(o){var u=En(n.rtl,n.x,n.width);for(t.x=zn(n,n._footerAlign),t.y+=n.footerMarginTop,r.textAlign=u.textAlign(n._footerAlign),r.textBaseline="middle",e=n.footerFontSize,r.fillStyle=n.footerFontColor,r.font=P.fontString(e,n._footerFontStyle,n._footerFontFamily),i=0;i<o;++i)r.fillText(a[i],u.x(t.x),t.y+e/2),t.y+=e+n.footerSpacing}},drawBackground:function(t,n,r,e){r.fillStyle=n.backgroundColor,r.strokeStyle=n.borderColor,r.lineWidth=n.borderWidth;var i=n.xAlign,a=n.yAlign,o=t.x,u=t.y,s=e.width,h=e.height,f=n.cornerRadius;r.beginPath(),r.moveTo(o+f,u),"top"===a&&this.drawCaret(t,e),r.lineTo(o+s-f,u),r.quadraticCurveTo(o+s,u,o+s,u+f),"center"===a&&"right"===i&&this.drawCaret(t,e),r.lineTo(o+s,u+h-f),r.quadraticCurveTo(o+s,u+h,o+s-f,u+h),"bottom"===a&&this.drawCaret(t,e),r.lineTo(o+f,u+h),r.quadraticCurveTo(o,u+h,o,u+h-f),"center"===a&&"left"===i&&this.drawCaret(t,e),r.lineTo(o,u+f),r.quadraticCurveTo(o,u,o+f,u),r.closePath(),r.fill(),n.borderWidth>0&&r.stroke()},draw:function(){var t=this._chart.ctx,n=this._view;if(0!==n.opacity){var r={width:n.width,height:n.height},e={x:n.x,y:n.y},i=Math.abs(n.opacity<.001)?0:n.opacity;this._options.enabled&&(n.title.length||n.beforeBody.length||n.body.length||n.afterBody.length||n.footer.length)&&(t.save(),t.globalAlpha=i,this.drawBackground(e,n,t,r),e.y+=n.yPadding,P.rtl.overrideTextDirection(t,n.textDirection),this.drawTitle(e,n,t),this.drawBody(e,n,t),this.drawFooter(e,n,t),P.rtl.restoreTextDirection(t,n.textDirection),t.restore())}},handleEvent:function(t){var n,r=this,e=r._options;return r._lastActive=r._lastActive||[],"mouseout"===t.type?r._active=[]:(r._active=r._chart.getElementsAtEventForMode(t,e.mode,e),e.reverse&&r._active.reverse()),(n=!P.arrayEquals(r._active,r._lastActive))&&(r._lastActive=r._active,(e.enabled||e.custom)&&(r._eventPosition={x:t.x,y:t.y},r.update(!0),r.pivot())),n}}),Gn=Bn;Gn.positioners=Wn;var Un=P.valueOrDefault;function qn(){return P.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,n,r,e){if("xAxes"===t||"yAxes"===t){var i,a,o,u=r[t].length;for(n[t]||(n[t]=[]),i=0;i<u;++i)a=Un((o=r[t][i]).type,"xAxes"===t?"category":"linear"),i>=n[t].length&&n[t].push({}),P.merge(n[t][i],!n[t][i].type||o.type&&o.type!==n[t][i].type?[Ln.getScaleDefaults(a),o]:o)}else P._merger(t,n,r,e)}})}function Vn(){return P.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,n,r,e){var i=n[t]||Object.create(null),a=r[t];"scales"===t?n[t]=qn(i,a):"scale"===t?n[t]=P.merge(i,[Ln.getScaleDefaults(a.type),a]):P._merger(t,n,r,e)}})}function Zn(t){var n=t.options;P.each(t.scales,(function(n){vn.removeBox(t,n)})),n=Vn(W.global,W[t.config.type],n),t.options=t.config.options=n,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=n.tooltips,t.tooltip.initialize()}function $n(t,n,r){var e,i=function(t){return t.id===e};do{e=n+r++}while(P.findIndex(t,i)>=0);return e}function Qn(t){return"top"===t||"bottom"===t}function Jn(t,n){return function(r,e){return r[t]===e[t]?r[n]-e[n]:r[t]-e[t]}}W._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Xn=function(t,n){return this.construct(t,n),this};P.extend(Xn.prototype,{construct:function(t,n){var r=this;n=function(t){var n=(t=t||Object.create(null)).data=t.data||{};return n.datasets=n.datasets||[],n.labels=n.labels||[],t.options=Vn(W.global,W[t.type],t.options||{}),t}(n);var e=Tn.acquireContext(t,n),i=e&&e.canvas,a=i&&i.height,o=i&&i.width;r.id=P.uid(),r.ctx=e,r.canvas=i,r.config=n,r.width=o,r.height=a,r.aspectRatio=a?o/a:null,r.options=n.options,r._bufferedRender=!1,r._layers=[],r.chart=r,r.controller=r,Xn.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(t){r.config.data=t}}),e&&i?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Fn.notify(t,"beforeInit"),P.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Fn.notify(t,"afterInit"),t},clear:function(){return P.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(t){var n=this,r=n.options,e=n.canvas,i=r.maintainAspectRatio&&n.aspectRatio||null,a=Math.max(0,Math.floor(P.getMaximumWidth(e))),o=Math.max(0,Math.floor(i?a/i:P.getMaximumHeight(e)));if((n.width!==a||n.height!==o)&&(e.width=n.width=a,e.height=n.height=o,e.style.width=a+"px",e.style.height=o+"px",P.retinaScale(n,r.devicePixelRatio),!t)){var u={width:a,height:o};Fn.notify(n,"resize",[u]),r.onResize&&r.onResize(n,u),n.stop(),n.update({duration:r.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,n=t.scales||{},r=t.scale;P.each(n.xAxes,(function(t,r){t.id||(t.id=$n(n.xAxes,"x-axis-",r))})),P.each(n.yAxes,(function(t,r){t.id||(t.id=$n(n.yAxes,"y-axis-",r))})),r&&(r.id=r.id||"scale")},buildOrUpdateScales:function(){var t=this,n=t.options,r=t.scales||{},e=[],i=Object.keys(r).reduce((function(t,n){return t[n]=!1,t}),{});n.scales&&(e=e.concat((n.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(n.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),n.scale&&e.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),P.each(e,(function(n){var e=n.options,a=e.id,o=Un(e.type,n.dtype);Qn(e.position)!==Qn(n.dposition)&&(e.position=n.dposition),i[a]=!0;var u=null;if(a in r&&r[a].type===o)(u=r[a]).options=e,u.ctx=t.ctx,u.chart=t;else{var s=Ln.getScaleConstructor(o);if(!s)return;u=new s({id:a,type:o,options:e,ctx:t.ctx,chart:t}),r[u.id]=u}u.mergeTicksOptions(),n.isDefault&&(t.scale=u)})),P.each(i,(function(t,n){t||delete r[n]})),t.scales=r,Ln.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,n,r=this,e=[],i=r.data.datasets;for(t=0,n=i.length;t<n;t++){var a=i[t],o=r.getDatasetMeta(t),u=a.type||r.config.type;if(o.type&&o.type!==u&&(r.destroyDatasetMeta(t),o=r.getDatasetMeta(t)),o.type=u,o.order=a.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var s=Qt[o.type];if(void 0===s)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new s(r,t),e.push(o.controller)}}return e},resetElements:function(){var t=this;P.each(t.data.datasets,(function(n,r){t.getDatasetMeta(r).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var n,r,e=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Zn(e),Fn._invalidate(e),!1!==Fn.notify(e,"beforeUpdate")){e.tooltip._data=e.data;var i=e.buildOrUpdateControllers();for(n=0,r=e.data.datasets.length;n<r;n++)e.getDatasetMeta(n).controller.buildOrUpdateElements();e.updateLayout(),e.options.animation&&e.options.animation.duration&&P.each(i,(function(t){t.reset()})),e.updateDatasets(),e.tooltip.initialize(),e.lastActive=[],Fn.notify(e,"afterUpdate"),e._layers.sort(Jn("z","_idx")),e._bufferedRender?e._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:e.render(t)}},updateLayout:function(){var t=this;!1!==Fn.notify(t,"beforeLayout")&&(vn.update(this,this.width,this.height),t._layers=[],P.each(t.boxes,(function(n){n._configure&&n._configure(),t._layers.push.apply(t._layers,n._layers())}),t),t._layers.forEach((function(t,n){t._idx=n})),Fn.notify(t,"afterScaleUpdate"),Fn.notify(t,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==Fn.notify(t,"beforeDatasetsUpdate")){for(var n=0,r=t.data.datasets.length;n<r;++n)t.updateDataset(n);Fn.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var n=this,r=n.getDatasetMeta(t),e={meta:r,index:t};!1!==Fn.notify(n,"beforeDatasetUpdate",[e])&&(r.controller._update(),Fn.notify(n,"afterDatasetUpdate",[e]))},render:function(t){var n=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var r=n.options.animation,e=Un(t.duration,r&&r.duration),i=t.lazy;if(!1!==Fn.notify(n,"beforeRender")){var a=function(t){Fn.notify(n,"afterRender"),P.callback(r&&r.onComplete,[t],n)};if(r&&e){var o=new Q({numSteps:e/16.66,easing:t.easing||r.easing,render:function(t,n){var r=n.currentStep,e=r/n.numSteps;t.draw((0,P.easing.effects[n.easing])(e),e,r)},onAnimationProgress:r.onProgress,onAnimationComplete:a});J.addAnimation(n,o,e,i)}else n.draw(),a(new Q({numSteps:0,chart:n}));return n}},draw:function(t){var n,r,e=this;if(e.clear(),P.isNullOrUndef(t)&&(t=1),e.transition(t),!(e.width<=0||e.height<=0)&&!1!==Fn.notify(e,"beforeDraw",[t])){for(r=e._layers,n=0;n<r.length&&r[n].z<=0;++n)r[n].draw(e.chartArea);for(e.drawDatasets(t);n<r.length;++n)r[n].draw(e.chartArea);e._drawTooltip(t),Fn.notify(e,"afterDraw",[t])}},transition:function(t){for(var n=this,r=0,e=(n.data.datasets||[]).length;r<e;++r)n.isDatasetVisible(r)&&n.getDatasetMeta(r).controller.transition(t);n.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var n,r,e=this,i=[];for(n=0,r=(e.data.datasets||[]).length;n<r;++n)t&&!e.isDatasetVisible(n)||i.push(e.getDatasetMeta(n));return i.sort(Jn("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var n,r,e=this;if(!1!==Fn.notify(e,"beforeDatasetsDraw",[t])){for(r=(n=e._getSortedVisibleDatasetMetas()).length-1;r>=0;--r)e.drawDataset(n[r],t);Fn.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,n){var r={meta:t,index:t.index,easingValue:n};!1!==Fn.notify(this,"beforeDatasetDraw",[r])&&(t.controller.draw(n),Fn.notify(this,"afterDatasetDraw",[r]))},_drawTooltip:function(t){var n=this,r=n.tooltip,e={tooltip:r,easingValue:t};!1!==Fn.notify(n,"beforeTooltipDraw",[e])&&(r.draw(),Fn.notify(n,"afterTooltipDraw",[e]))},getElementAtEvent:function(t){return en.modes.single(this,t)},getElementsAtEvent:function(t){return en.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return en.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,n,r){var e=en.modes[n];return"function"==typeof e?e(this,t,r):[]},getDatasetAtEvent:function(t){return en.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var n=this,r=n.data.datasets[t];r._meta||(r._meta={});var e=r._meta[n.id];return e||(e=r._meta[n.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:r.order||0,index:t}),e},getVisibleDatasetCount:function(){for(var t=0,n=0,r=this.data.datasets.length;n<r;++n)this.isDatasetVisible(n)&&t++;return t},isDatasetVisible:function(t){var n=this.getDatasetMeta(t);return"boolean"==typeof n.hidden?!n.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var n=this.id,r=this.data.datasets[t],e=r._meta&&r._meta[n];e&&(e.controller.destroy(),delete r._meta[n])},destroy:function(){var t,n,r=this,e=r.canvas;for(r.stop(),t=0,n=r.data.datasets.length;t<n;++t)r.destroyDatasetMeta(t);e&&(r.unbindEvents(),P.canvas.clear(r),Tn.releaseContext(r.ctx),r.canvas=null,r.ctx=null),Fn.notify(r,"destroy"),delete Xn.instances[r.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Gn({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,n=t._listeners={},r=function(){t.eventHandler.apply(t,arguments)};P.each(t.options.events,(function(e){Tn.addEventListener(t,e,r),n[e]=r})),t.options.responsive&&(r=function(){t.resize()},Tn.addEventListener(t,"resize",r),n.resize=r)},unbindEvents:function(){var t=this,n=t._listeners;n&&(delete t._listeners,P.each(n,(function(n,r){Tn.removeEventListener(t,r,n)})))},updateHoverStyle:function(t,n,r){var e,i,a,o=r?"set":"remove";for(i=0,a=t.length;i<a;++i)(e=t[i])&&this.getDatasetMeta(e._datasetIndex).controller[o+"HoverStyle"](e);"dataset"===n&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var n=this,r=n.tooltip;if(!1!==Fn.notify(n,"beforeEvent",[t])){n._bufferedRender=!0,n._bufferedRequest=null;var e=n.handleEvent(t);r&&(e=r._start?r.handleEvent(t):e|r.handleEvent(t)),Fn.notify(n,"afterEvent",[t]);var i=n._bufferedRequest;return i?n.render(i):e&&!n.animating&&(n.stop(),n.render({duration:n.options.hover.animationDuration,lazy:!0})),n._bufferedRender=!1,n._bufferedRequest=null,n}},handleEvent:function(t){var n,r=this,e=r.options||{},i=e.hover;return r.lastActive=r.lastActive||[],r.active="mouseout"===t.type?[]:r.getElementsAtEventForMode(t,i.mode,i),P.callback(e.onHover||e.hover.onHover,[t.native,r.active],r),"mouseup"!==t.type&&"click"!==t.type||e.onClick&&e.onClick.call(r,t.native,r.active),r.lastActive.length&&r.updateHoverStyle(r.lastActive,i.mode,!1),r.active.length&&i.mode&&r.updateHoverStyle(r.active,i.mode,!0),n=!P.arrayEquals(r.active,r.lastActive),r.lastActive=r.active,n}}),Xn.instances={};var Kn=Xn;Xn.Controller=Xn,Xn.types={},P.configMerge=Vn,P.scaleMerge=qn;function tr(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function nr(t){this.options=t||{}}P.extend(nr.prototype,{formats:tr,parse:tr,format:tr,add:tr,diff:tr,startOf:tr,endOf:tr,_create:function(t){return t}}),nr.override=function(t){P.extend(nr.prototype,t)};var rr={_date:nr},er={formatters:{values:function(t){return P.isArray(t)?t:""+t},linear:function(t,n,r){var e=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(e)>1&&t!==Math.floor(t)&&(e=t-Math.floor(t));var i=P.log10(Math.abs(e)),a="";if(0!==t)if(Math.max(Math.abs(r[0]),Math.abs(r[r.length-1]))<1e-4){var o=P.log10(Math.abs(t)),u=Math.floor(o)-Math.floor(i);u=Math.max(Math.min(u,20),0),a=t.toExponential(u)}else{var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),a=t.toFixed(s)}else a="0";return a},logarithmic:function(t,n,r){var e=t/Math.pow(10,Math.floor(P.log10(t)));return 0===t?"0":1===e||2===e||5===e||0===n||n===r.length-1?t.toExponential():""}}},ir=P.isArray,ar=P.isNullOrUndef,or=P.valueOrDefault,ur=P.valueAtIndexOrDefault;function sr(t,n,r){var e,i=t.getTicks().length,a=Math.min(n,i-1),o=t.getPixelForTick(a),u=t._startPixel,s=t._endPixel,h=1e-6;if(!(r&&(e=1===i?Math.max(o-u,s-o):0===n?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(a-1))/2,(o+=a<n?e:-e)<u-h||o>s+h)))return o}function hr(t,n,r,e){var i,a,o,u,s,h,f,c,l,d,v,m,g,b=r.length,p=[],M=[],y=[],w=0,k=0;for(i=0;i<b;++i){if(u=r[i].label,t.font=h=(s=r[i].major?n.major:n.minor).string,f=e[h]=e[h]||{data:{},gc:[]},c=s.lineHeight,l=d=0,ar(u)||ir(u)){if(ir(u))for(a=0,o=u.length;a<o;++a)ar(v=u[a])||ir(v)||(l=P.measureText(t,f.data,f.gc,l,v),d+=c)}else l=P.measureText(t,f.data,f.gc,l,u),d=c;p.push(l),M.push(d),y.push(c/2),w=Math.max(l,w),k=Math.max(d,k)}function x(t){return{width:p[t]||0,height:M[t]||0,offset:y[t]||0}}return function(t,n){P.each(t,(function(t){var r,e=t.gc,i=e.length/2;if(i>n){for(r=0;r<i;++r)delete t.data[e[r]];e.splice(0,i)}}))}(e,b),m=p.indexOf(w),g=M.indexOf(k),{first:x(0),last:x(b-1),widest:x(m),highest:x(g)}}function fr(t){return t.drawTicks?t.tickMarkLength:0}function cr(t){var n,r;return t.display?(n=P.options._parseFont(t),r=P.options.toPadding(t.padding),n.lineHeight+r.height):0}function lr(t,n){return P.extend(P.options._parseFont({fontFamily:or(n.fontFamily,t.fontFamily),fontSize:or(n.fontSize,t.fontSize),fontStyle:or(n.fontStyle,t.fontStyle),lineHeight:or(n.lineHeight,t.lineHeight)}),{color:P.options.resolve([n.fontColor,t.fontColor,W.global.defaultFontColor])})}function dr(t){var n=lr(t,t.minor);return{minor:n,major:t.major.enabled?lr(t,t.major):n}}function vr(t){var n,r,e,i=[];for(r=0,e=t.length;r<e;++r)void 0!==(n=t[r])._index&&i.push(n);return i}function mr(t,n,r,e){var i,a,o,u,s=or(r,0),h=Math.min(or(e,t.length),t.length),f=0;for(n=Math.ceil(n),e&&(n=(i=e-r)/Math.floor(i/n)),u=s;u<0;)f++,u=Math.round(s+f*n);for(a=Math.max(s,0);a<h;a++)o=t[a],a===u?(o._index=a,f++,u=Math.round(s+f*n)):delete o.label}W._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:er.formatters.values,minor:{},major:{}}});var gr=Z.extend({zeroLineIndex:0,getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){P.callback(this.options.beforeUpdate,[this])},update:function(t,n,r){var e,i,a,o,u,s=this,h=s.options.ticks,f=h.sampleSize;if(s.beforeUpdate(),s.maxWidth=t,s.maxHeight=n,s.margins=P.extend({left:0,right:0,top:0,bottom:0},r),s._ticks=null,s.ticks=null,s._labelSizes=null,s._maxLabelLines=0,s.longestLabelWidth=0,s.longestTextCache=s.longestTextCache||{},s._gridLineItems=null,s._labelItems=null,s.beforeSetDimensions(),s.setDimensions(),s.afterSetDimensions(),s.beforeDataLimits(),s.determineDataLimits(),s.afterDataLimits(),s.beforeBuildTicks(),o=s.buildTicks()||[],(!(o=s.afterBuildTicks(o)||o)||!o.length)&&s.ticks)for(o=[],e=0,i=s.ticks.length;e<i;++e)o.push({value:s.ticks[e],major:!1});return s._ticks=o,a=s._convertTicksToLabels((u=f<o.length)?function(t,n){for(var r=[],e=t.length/n,i=0,a=t.length;i<a;i+=e)r.push(t[Math.floor(i)]);return r}(o,f):o),s._configure(),s.beforeCalculateTickRotation(),s.calculateTickRotation(),s.afterCalculateTickRotation(),s.beforeFit(),s.fit(),s.afterFit(),s._ticksToDraw=h.display&&(h.autoSkip||"auto"===h.source)?s._autoSkip(o):o,u&&(a=s._convertTicksToLabels(s._ticksToDraw)),s.ticks=a,s.afterUpdate(),s.minSize},_configure:function(){var t,n,r=this,e=r.options.ticks.reverse;r.isHorizontal()?(t=r.left,n=r.right):(t=r.top,n=r.bottom,e=!e),r._startPixel=t,r._endPixel=n,r._reversePixels=e,r._length=n-t},afterUpdate:function(){P.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){P.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){P.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){P.callback(this.options.beforeDataLimits,[this])},determineDataLimits:P.noop,afterDataLimits:function(){P.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){P.callback(this.options.beforeBuildTicks,[this])},buildTicks:P.noop,afterBuildTicks:function(t){var n=this;return ir(t)&&t.length?P.callback(n.options.afterBuildTicks,[n,t]):(n.ticks=P.callback(n.options.afterBuildTicks,[n,n.ticks])||n.ticks,t)},beforeTickToLabelConversion:function(){P.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,n=t.options.ticks;t.ticks=t.ticks.map(n.userCallback||n.callback,this)},afterTickToLabelConversion:function(){P.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){P.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,n,r,e,i,a,o,u=this,s=u.options,h=s.ticks,f=u.getTicks().length,c=h.minRotation||0,l=h.maxRotation,d=c;!u._isVisible()||!h.display||c>=l||f<=1||!u.isHorizontal()?u.labelRotation=c:(n=(t=u._getLabelSizes()).widest.width,r=t.highest.height-t.highest.offset,e=Math.min(u.maxWidth,u.chart.width-n),n+6>(i=s.offset?u.maxWidth/f:e/(f-1))&&(i=e/(f-(s.offset?.5:1)),a=u.maxHeight-fr(s.gridLines)-h.padding-cr(s.scaleLabel),o=Math.sqrt(n*n+r*r),d=P.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(a/o,1))-Math.asin(r/o))),d=Math.max(c,Math.min(l,d))),u.labelRotation=d)},afterCalculateTickRotation:function(){P.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){P.callback(this.options.beforeFit,[this])},fit:function(){var t=this,n=t.minSize={width:0,height:0},r=t.chart,e=t.options,i=e.ticks,a=e.scaleLabel,o=e.gridLines,u=t._isVisible(),s="bottom"===e.position,h=t.isHorizontal();if(h?n.width=t.maxWidth:u&&(n.width=fr(o)+cr(a)),h?u&&(n.height=fr(o)+cr(a)):n.height=t.maxHeight,i.display&&u){var f=dr(i),c=t._getLabelSizes(),l=c.first,d=c.last,v=c.widest,m=c.highest,g=.4*f.minor.lineHeight,b=i.padding;if(h){var p=0!==t.labelRotation,M=P.toRadians(t.labelRotation),y=Math.cos(M),w=Math.sin(M);n.height=Math.min(t.maxHeight,n.height+(w*v.width+y*(m.height-(p?m.offset:0))+(p?0:g))+b);var k,x,S=t.getPixelForTick(0)-t.left,D=t.right-t.getPixelForTick(t.getTicks().length-1);p?(k=s?y*l.width+w*l.offset:w*(l.height-l.offset),x=s?w*(d.height-d.offset):y*d.width+w*d.offset):(k=l.width/2,x=d.width/2),t.paddingLeft=Math.max((k-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((x-D)*t.width/(t.width-D),0)+3}else n.width=Math.min(t.maxWidth,n.width+(i.mirror?0:v.width+b+g)),t.paddingTop=l.height/2,t.paddingBottom=d.height/2}t.handleMargins(),h?(t.width=t._length=r.width-t.margins.left-t.margins.right,t.height=n.height):(t.width=n.width,t.height=t._length=r.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){P.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ar(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var n,r,e,i=this;for(i.ticks=t.map((function(t){return t.value})),i.beforeTickToLabelConversion(),n=i.convertTicksToLabels(t)||i.ticks,i.afterTickToLabelConversion(),r=0,e=t.length;r<e;++r)t[r].label=n[r];return n},_getLabelSizes:function(){var t=this,n=t._labelSizes;return n||(t._labelSizes=n=hr(t.ctx,dr(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=n.widest.width),n},_parseValue:function(t){var n,r,e,i;return ir(t)?(n=+this.getRightValue(t[0]),r=+this.getRightValue(t[1]),e=Math.min(n,r),i=Math.max(n,r)):(n=void 0,r=t=+this.getRightValue(t),e=t,i=t),{min:e,max:i,start:n,end:r}},_getScaleLabel:function(t){var n=this._parseValue(t);return void 0!==n.start?"["+n.start+", "+n.end+"]":+this.getRightValue(t)},getLabelForIndex:P.noop,getPixelForValue:P.noop,getValueForPixel:P.noop,getPixelForTick:function(t){var n=this,r=n.options.offset,e=n._ticks.length,i=1/Math.max(e-(r?0:1),1);return t<0||t>e-1?null:n.getPixelForDecimal(t*i+(r?i/2:0))},getPixelForDecimal:function(t){var n=this;return n._reversePixels&&(t=1-t),n._startPixel+t*n._length},getDecimalForPixel:function(t){var n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,n=t.min,r=t.max;return t.beginAtZero?0:n<0&&r<0?r:n>0&&r>0?n:0},_autoSkip:function(t){var n,r,e,i,a=this,o=a.options.ticks,u=a._length,s=o.maxTicksLimit||u/a._tickSize()+1,h=o.major.enabled?function(t){var n,r,e=[];for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}(t):[],f=h.length,c=h[0],l=h[f-1];if(f>s)return function(t,n,r){var e,i,a=0,o=n[0];for(r=Math.ceil(r),e=0;e<t.length;e++)i=t[e],e===o?(i._index=e,o=n[++a*r]):delete i.label}(t,h,f/s),vr(t);if(e=function(t,n,r,e){var i,a,o,u,s=function(t){var n,r,e=t.length;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}(t),h=(n.length-1)/e;if(!s)return Math.max(h,1);for(o=0,u=(i=P.math._factorize(s)).length-1;o<u;o++)if((a=i[o])>h)return a;return Math.max(h,1)}(h,t,0,s),f>0){for(n=0,r=f-1;n<r;n++)mr(t,e,h[n],h[n+1]);return mr(t,e,P.isNullOrUndef(i=f>1?(l-c)/(f-1):null)?0:c-i,c),mr(t,e,l,P.isNullOrUndef(i)?t.length:l+i),vr(t)}return mr(t,e),vr(t)},_tickSize:function(){var t=this,n=t.options.ticks,r=P.toRadians(t.labelRotation),e=Math.abs(Math.cos(r)),i=Math.abs(Math.sin(r)),a=t._getLabelSizes(),o=n.autoSkipPadding||0,u=a?a.widest.width+o:0,s=a?a.highest.height+o:0;return t.isHorizontal()?s*e>u*i?u/e:s/i:s*i<u*e?s/e:u/i},_isVisible:function(){var t,n,r,e=this,i=e.chart,a=e.options.display;if("auto"!==a)return!!a;for(t=0,n=i.data.datasets.length;t<n;++t)if(i.isDatasetVisible(t)&&((r=i.getDatasetMeta(t)).xAxisID===e.id||r.yAxisID===e.id))return!0;return!1},_computeGridLineItems:function(t){var n,r,e,i,a,o,u,s,h,f,c,l,d,v,m,g,b,p=this,M=p.chart,y=p.options,w=y.gridLines,k=y.position,x=w.offsetGridLines,S=p.isHorizontal(),D=p._ticksToDraw,N=D.length+(x?1:0),Y=fr(w),_=[],C=w.drawBorder?ur(w.lineWidth,0,0):0,O=C/2,A=P._alignPixel,T=function(t){return A(M,t,C)};for("top"===k?(n=T(p.bottom),u=p.bottom-Y,h=n-O,c=T(t.top)+O,d=t.bottom):"bottom"===k?(n=T(p.top),c=t.top,d=T(t.bottom)-O,u=n+O,h=p.top+Y):"left"===k?(n=T(p.right),o=p.right-Y,s=n-O,f=T(t.left)+O,l=t.right):(n=T(p.left),f=t.left,l=T(t.right)-O,o=n+O,s=p.left+Y),r=0;r<N;++r)ar((e=D[r]||{}).label)&&r<D.length||(r===p.zeroLineIndex&&y.offset===x?(v=w.zeroLineWidth,m=w.zeroLineColor,g=w.zeroLineBorderDash||[],b=w.zeroLineBorderDashOffset||0):(v=ur(w.lineWidth,r,1),m=ur(w.color,r,"rgba(0,0,0,0.1)"),g=w.borderDash||[],b=w.borderDashOffset||0),void 0!==(i=sr(p,e._index||r,x))&&(a=A(M,i,v),S?o=s=f=l=a:u=h=c=d=a,_.push({tx1:o,ty1:u,tx2:s,ty2:h,x1:f,y1:c,x2:l,y2:d,width:v,color:m,borderDash:g,borderDashOffset:b})));return _.ticksLength=N,_.borderValue=n,_},_computeLabelItems:function(){var t,n,r,e,i,a,o,u,s,h,f,c,l=this,d=l.options,v=d.ticks,m=d.position,g=v.mirror,b=l.isHorizontal(),p=l._ticksToDraw,M=dr(v),y=v.padding,w=fr(d.gridLines),k=-P.toRadians(l.labelRotation),x=[];for("top"===m?(a=l.bottom-w-y,o=k?"left":"center"):"bottom"===m?(a=l.top+w+y,o=k?"right":"center"):"left"===m?(i=l.right-(g?0:w)-y,o=g?"left":"right"):(i=l.left+(g?0:w)+y,o=g?"right":"left"),t=0,n=p.length;t<n;++t)ar(e=(r=p[t]).label)||(u=l.getPixelForTick(r._index||t)+v.labelOffset,h=(s=r.major?M.major:M.minor).lineHeight,f=ir(e)?e.length:1,b?(i=u,c="top"===m?((k?1:.5)-f)*h:(k?0:.5)*h):(a=u,c=(1-f)*h/2),x.push({x:i,y:a,rotation:k,label:e,font:s,textOffset:c,textAlign:o}));return x},_drawGrid:function(t){var n=this,r=n.options.gridLines;if(r.display){var e,i,a,o,u,s=n.ctx,h=n.chart,f=P._alignPixel,c=r.drawBorder?ur(r.lineWidth,0,0):0,l=n._gridLineItems||(n._gridLineItems=n._computeGridLineItems(t));for(a=0,o=l.length;a<o;++a)i=(u=l[a]).color,(e=u.width)&&i&&(s.save(),s.lineWidth=e,s.strokeStyle=i,s.setLineDash&&(s.setLineDash(u.borderDash),s.lineDashOffset=u.borderDashOffset),s.beginPath(),r.drawTicks&&(s.moveTo(u.tx1,u.ty1),s.lineTo(u.tx2,u.ty2)),r.drawOnChartArea&&(s.moveTo(u.x1,u.y1),s.lineTo(u.x2,u.y2)),s.stroke(),s.restore());if(c){var d,v,m,g,b=c,p=ur(r.lineWidth,l.ticksLength-1,1),M=l.borderValue;n.isHorizontal()?(d=f(h,n.left,b)-b/2,v=f(h,n.right,p)+p/2,m=g=M):(m=f(h,n.top,b)-b/2,g=f(h,n.bottom,p)+p/2,d=v=M),s.lineWidth=c,s.strokeStyle=ur(r.color,0),s.beginPath(),s.moveTo(d,m),s.lineTo(v,g),s.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var n,r,e,i,a,o,u,s,h=t.ctx,f=t._labelItems||(t._labelItems=t._computeLabelItems());for(n=0,e=f.length;n<e;++n){if(o=(a=f[n]).font,h.save(),h.translate(a.x,a.y),h.rotate(a.rotation),h.font=o.string,h.fillStyle=o.color,h.textBaseline="middle",h.textAlign=a.textAlign,s=a.textOffset,ir(u=a.label))for(r=0,i=u.length;r<i;++r)h.fillText(""+u[r],0,s),s+=o.lineHeight;else h.fillText(u,0,s);h.restore()}}},_drawTitle:function(){var t=this,n=t.ctx,r=t.options,e=r.scaleLabel;if(e.display){var i,a,o=or(e.fontColor,W.global.defaultFontColor),u=P.options._parseFont(e),s=P.options.toPadding(e.padding),h=u.lineHeight/2,f=r.position,c=0;if(t.isHorizontal())i=t.left+t.width/2,a="bottom"===f?t.bottom-h-s.bottom:t.top+h+s.top;else{var l="left"===f;i=l?t.left+h+s.top:t.right-h-s.top,a=t.top+t.height/2,c=l?-.5*Math.PI:.5*Math.PI}n.save(),n.translate(i,a),n.rotate(c),n.textAlign="center",n.textBaseline="middle",n.fillStyle=o,n.font=u.string,n.fillText(e.labelString,0,0),n.restore()}},draw:function(t){var n=this;n._isVisible()&&(n._drawGrid(t),n._drawTitle(),n._drawLabels())},_layers:function(){var t=this,n=t.options,r=n.ticks&&n.ticks.z||0,e=n.gridLines&&n.gridLines.z||0;return t._isVisible()&&r!==e&&t.draw===t._draw?[{z:e,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:r,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:r,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var n=this,r=n.isHorizontal();return n.chart._getSortedVisibleDatasetMetas().filter((function(e){return(!t||e.type===t)&&(r?e.xAxisID===n.id:e.yAxisID===n.id)}))}});gr.prototype._draw=gr.prototype.draw;var br=gr,pr=P.isNullOrUndef,Mr=br.extend({determineDataLimits:function(){var t,n=this,r=n._getLabels(),e=n.options.ticks,i=e.min,a=e.max,o=0,u=r.length-1;void 0!==i&&(t=r.indexOf(i))>=0&&(o=t),void 0!==a&&(t=r.indexOf(a))>=0&&(u=t),n.minIndex=o,n.maxIndex=u,n.min=r[o],n.max=r[u]},buildTicks:function(){var t=this,n=t._getLabels(),r=t.minIndex,e=t.maxIndex;t.ticks=0===r&&e===n.length-1?n:n.slice(r,e+1)},getLabelForIndex:function(t,n){var r=this,e=r.chart;return e.getDatasetMeta(n).controller._getValueScaleId()===r.id?r.getRightValue(e.data.datasets[n].data[t]):r._getLabels()[t]},_configure:function(){var t=this,n=t.options.offset,r=t.ticks;br.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),r&&(t._startValue=t.minIndex-(n?.5:0),t._valueRange=Math.max(r.length-(n?0:1),1))},getPixelForValue:function(t,n,r){var e,i,a,o=this;return pr(n)||pr(r)||(t=o.chart.data.datasets[r].data[n]),pr(t)||(e=o.isHorizontal()?t.x:t.y),(void 0!==e||void 0!==t&&isNaN(n))&&(i=o._getLabels(),t=P.valueOrDefault(e,t),n=-1!==(a=i.indexOf(t))?a:n,isNaN(n)&&(n=t)),o.getPixelForDecimal((n-o._startValue)/o._valueRange)},getPixelForTick:function(t){var n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t],t+this.minIndex)},getValueForPixel:function(t){var n=this,r=Math.round(n._startValue+n.getDecimalForPixel(t)*n._valueRange);return Math.min(Math.max(r,0),n.ticks.length-1)},getBasePixel:function(){return this.bottom}});Mr._defaults={position:"bottom"};var yr=P.isNullOrUndef;var wr=br.extend({getRightValue:function(t){return"string"==typeof t?+t:br.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,n=t.options.ticks;if(n.beginAtZero){var r=P.sign(t.min),e=P.sign(t.max);r<0&&e<0?t.max=0:r>0&&e>0&&(t.min=0)}var i=void 0!==n.min||void 0!==n.suggestedMin,a=void 0!==n.max||void 0!==n.suggestedMax;void 0!==n.min?t.min=n.min:void 0!==n.suggestedMin&&(t.min=null===t.min?n.suggestedMin:Math.min(t.min,n.suggestedMin)),void 0!==n.max?t.max=n.max:void 0!==n.suggestedMax&&(t.max=null===t.max?n.suggestedMax:Math.max(t.max,n.suggestedMax)),i!==a&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,n.beginAtZero||t.min--)},getTickLimit:function(){var t,n=this,r=n.options.ticks,e=r.stepSize,i=r.maxTicksLimit;return e?t=Math.ceil(n.max/e)-Math.floor(n.min/e)+1:(t=n._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:P.noop,buildTicks:function(){var t=this,n=t.options.ticks,r=t.getTickLimit(),e={maxTicks:r=Math.max(2,r),min:n.min,max:n.max,precision:n.precision,stepSize:P.valueOrDefault(n.fixedStepSize,n.stepSize)},i=t.ticks=function(t,n){var r,e,i,a,o=[],u=t.stepSize,s=u||1,h=t.maxTicks-1,f=t.min,c=t.max,l=t.precision,d=n.min,v=n.max,m=P.niceNum((v-d)/h/s)*s;if(m<1e-14&&yr(f)&&yr(c))return[d,v];(a=Math.ceil(v/m)-Math.floor(d/m))>h&&(m=P.niceNum(a*m/h/s)*s),u||yr(l)?r=Math.pow(10,P._decimalPlaces(m)):(r=Math.pow(10,l),m=Math.ceil(m*r)/r),e=Math.floor(d/m)*m,i=Math.ceil(v/m)*m,u&&(!yr(f)&&P.almostWhole(f/m,m/1e3)&&(e=f),!yr(c)&&P.almostWhole(c/m,m/1e3)&&(i=c)),a=P.almostEquals(a=(i-e)/m,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),e=Math.round(e*r)/r,i=Math.round(i*r)/r,o.push(yr(f)?e:f);for(var g=1;g<a;++g)o.push(Math.round((e+g*m)*r)/r);return o.push(yr(c)?i:c),o}(e,t);t.handleDirectionalChanges(),t.max=P.max(i),t.min=P.min(i),n.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),br.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,n=this,r=n.getTicks(),e=n.min,i=n.max;br.prototype._configure.call(n),n.options.offset&&r.length&&(e-=t=(i-e)/Math.max(r.length-1,1)/2,i+=t),n._startValue=e,n._endValue=i,n._valueRange=i-e}}),kr={position:"left",ticks:{callback:er.formatters.linear}};function xr(t,n,r,e){var i,a,o=t.options,u=function(t,n,r){var e=[r.type,void 0===n&&void 0===r.stack?r.index:"",r.stack].join(".");return void 0===t[e]&&(t[e]={pos:[],neg:[]}),t[e]}(n,o.stacked,r),s=u.pos,h=u.neg,f=e.length;for(i=0;i<f;++i)a=t._parseValue(e[i]),isNaN(a.min)||isNaN(a.max)||r.data[i].hidden||(s[i]=s[i]||0,h[i]=h[i]||0,o.relativePoints?s[i]=100:a.min<0||a.max<0?h[i]+=a.min:s[i]+=a.max)}function Sr(t,n,r){var e,i,a=r.length;for(e=0;e<a;++e)i=t._parseValue(r[e]),isNaN(i.min)||isNaN(i.max)||n.data[e].hidden||(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}var Dr=wr.extend({determineDataLimits:function(){var t,n,r,e,i=this,a=i.options,o=i.chart.data.datasets,u=i._getMatchingVisibleMetas(),s=a.stacked,h={},f=u.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===s)for(t=0;!s&&t<f;++t)s=void 0!==(n=u[t]).stack;for(t=0;t<f;++t)r=o[(n=u[t]).index].data,s?xr(i,h,n,r):Sr(i,n,r);P.each(h,(function(t){e=t.pos.concat(t.neg),i.min=Math.min(i.min,P.min(e)),i.max=Math.max(i.max,P.max(e))})),i.min=P.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=P.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var t,n=this;return n.isHorizontal()?Math.ceil(n.width/40):(t=P.options._parseFont(n.options.ticks),Math.ceil(n.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,n){return this._getScaleLabel(this.chart.data.datasets[n].data[t])},getPixelForValue:function(t){var n=this;return n.getPixelForDecimal((+n.getRightValue(t)-n._startValue)/n._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var n=this.ticksAsNumbers;return t<0||t>n.length-1?null:this.getPixelForValue(n[t])}});Dr._defaults=kr;var Nr=P.valueOrDefault,Yr=P.math.log10;var _r={position:"left",ticks:{callback:er.formatters.logarithmic}};function Cr(t,n){return P.isFinite(t)&&t>=0?t:n}var Or=br.extend({determineDataLimits:function(){var t,n,r,e,i,a,o=this,u=o.options,s=o.chart,h=s.data.datasets,f=o.isHorizontal();function c(t){return f?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var l=u.stacked;if(void 0===l)for(t=0;t<h.length;t++)if(n=s.getDatasetMeta(t),s.isDatasetVisible(t)&&c(n)&&void 0!==n.stack){l=!0;break}if(u.stacked||l){var d={};for(t=0;t<h.length;t++){var v=[(n=s.getDatasetMeta(t)).type,void 0===u.stacked&&void 0===n.stack?t:"",n.stack].join(".");if(s.isDatasetVisible(t)&&c(n))for(void 0===d[v]&&(d[v]=[]),i=0,a=(e=h[t].data).length;i<a;i++){var m=d[v];r=o._parseValue(e[i]),isNaN(r.min)||isNaN(r.max)||n.data[i].hidden||r.min<0||r.max<0||(m[i]=m[i]||0,m[i]+=r.max)}}P.each(d,(function(t){if(t.length>0){var n=P.min(t),r=P.max(t);o.min=Math.min(o.min,n),o.max=Math.max(o.max,r)}}))}else for(t=0;t<h.length;t++)if(n=s.getDatasetMeta(t),s.isDatasetVisible(t)&&c(n))for(i=0,a=(e=h[t].data).length;i<a;i++)r=o._parseValue(e[i]),isNaN(r.min)||isNaN(r.max)||n.data[i].hidden||r.min<0||r.max<0||(o.min=Math.min(r.min,o.min),o.max=Math.max(r.max,o.max),0!==r.min&&(o.minNotZero=Math.min(r.min,o.minNotZero)));o.min=P.isFinite(o.min)?o.min:null,o.max=P.isFinite(o.max)?o.max:null,o.minNotZero=P.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,n=t.options.ticks;t.min=Cr(n.min,t.min),t.max=Cr(n.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(Yr(t.min))-1),t.max=Math.pow(10,Math.floor(Yr(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(Yr(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(Yr(t.min))+1):10),null===t.minNotZero&&(t.minNotZero=t.min>0?t.min:t.max<1?Math.pow(10,Math.floor(Yr(t.max))):1)},buildTicks:function(){var t=this,n=t.options.ticks,r=!t.isHorizontal(),e={min:Cr(n.min),max:Cr(n.max)},i=t.ticks=function(t,n){var r,e,i=[],a=Nr(t.min,Math.pow(10,Math.floor(Yr(n.min)))),o=Math.floor(Yr(n.max)),u=Math.ceil(n.max/Math.pow(10,o));0===a?(r=Math.floor(Yr(n.minNotZero)),e=Math.floor(n.minNotZero/Math.pow(10,r)),i.push(a),a=e*Math.pow(10,r)):(r=Math.floor(Yr(a)),e=Math.floor(a/Math.pow(10,r)));var s=r<0?Math.pow(10,Math.abs(r)):1;do{i.push(a),10==++e&&(e=1,s=++r>=0?1:s),a=Math.round(e*Math.pow(10,r)*s)/s}while(r<o||r===o&&e<u);var h=Nr(t.max,a);return i.push(h),i}(e,t);t.max=P.max(i),t.min=P.min(i),n.reverse?(r=!r,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),r&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),br.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,n){return this._getScaleLabel(this.chart.data.datasets[n].data[t])},getPixelForTick:function(t){var n=this.tickValues;return t<0||t>n.length-1?null:this.getPixelForValue(n[t])},_getFirstTickValue:function(t){var n=Math.floor(Yr(t));return Math.floor(t/Math.pow(10,n))*Math.pow(10,n)},_configure:function(){var t=this,n=t.min,r=0;br.prototype._configure.call(t),0===n&&(n=t._getFirstTickValue(t.minNotZero),r=Nr(t.options.ticks.fontSize,W.global.defaultFontSize)/t._length),t._startValue=Yr(n),t._valueOffset=r,t._valueRange=(Yr(t.max)-Yr(n))/(1-r)},getPixelForValue:function(t){var n=this,r=0;return(t=+n.getRightValue(t))>n.min&&t>0&&(r=(Yr(t)-n._startValue)/n._valueRange+n._valueOffset),n.getPixelForDecimal(r)},getValueForPixel:function(t){var n=this,r=n.getDecimalForPixel(t);return 0===r&&0===n.min?0:Math.pow(10,n._startValue+(r-n._valueOffset)*n._valueRange)}});Or._defaults=_r;var Ar=P.valueOrDefault,Tr=P.valueAtIndexOrDefault,Fr=P.options.resolve,Lr={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:er.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function jr(t){var n=t.ticks;return n.display&&t.display?Ar(n.fontSize,W.global.defaultFontSize)+2*n.backdropPaddingY:0}function Er(t,n,r,e,i){return t===e||t===i?{start:n-r/2,end:n+r/2}:t<e||t>i?{start:n-r,end:n}:{start:n,end:n+r}}function Wr(t){return 0===t||180===t?"center":t<180?"left":"right"}function Ir(t,n,r,e){var i,a,o=r.y+e/2;if(P.isArray(n))for(i=0,a=n.length;i<a;++i)t.fillText(n[i],r.x,o),o+=e;else t.fillText(n,r.x,o)}function Hr(t,n,r){90===t||270===t?r.y-=n.h/2:(t>270||t<90)&&(r.y-=n.h)}function Rr(t){return P.isNumber(t)?t:0}var zr=wr.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=jr(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,n=t.chart,r=Number.POSITIVE_INFINITY,e=Number.NEGATIVE_INFINITY;P.each(n.data.datasets,(function(i,a){if(n.isDatasetVisible(a)){var o=n.getDatasetMeta(a);P.each(i.data,(function(n,i){var a=+t.getRightValue(n);isNaN(a)||o.data[i].hidden||(r=Math.min(a,r),e=Math.max(a,e))}))}})),t.min=r===Number.POSITIVE_INFINITY?0:r,t.max=e===Number.NEGATIVE_INFINITY?0:e,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/jr(this.options))},convertTicksToLabels:function(){var t=this;wr.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var n=P.callback(t.options.pointLabels.callback,arguments,t);return n||0===n?n:""}))},getLabelForIndex:function(t,n){return+this.getRightValue(this.chart.data.datasets[n].data[t])},fit:function(){var t=this,n=t.options;n.display&&n.pointLabels.display?function(t){var n,r,e,i=P.options._parseFont(t.options.pointLabels),a={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=i.string,t._pointLabelSizes=[];var u,s,h,f=t.chart.data.labels.length;for(n=0;n<f;n++){e=t.getPointPosition(n,t.drawingArea+5),u=t.ctx,s=i.lineHeight,r=P.isArray(h=t.pointLabels[n])?{w:P.longestText(u,u.font,h),h:h.length*s}:{w:u.measureText(h).width,h:s},t._pointLabelSizes[n]=r;var c=t.getIndexAngle(n),l=P.toDegrees(c)%360,d=Er(l,e.x,r.w,0,180),v=Er(l,e.y,r.h,90,270);d.start<a.l&&(a.l=d.start,o.l=c),d.end>a.r&&(a.r=d.end,o.r=c),v.start<a.t&&(a.t=v.start,o.t=c),v.end>a.b&&(a.b=v.end,o.b=c)}t.setReductions(t.drawingArea,a,o)}(t):t.setCenterPoint(0,0,0,0)},setReductions:function(t,n,r){var e=this,i=n.l/Math.sin(r.l),a=Math.max(n.r-e.width,0)/Math.sin(r.r),o=-n.t/Math.cos(r.t),u=-Math.max(n.b-(e.height-e.paddingTop),0)/Math.cos(r.b);i=Rr(i),a=Rr(a),o=Rr(o),u=Rr(u),e.drawingArea=Math.min(Math.floor(t-(i+a)/2),Math.floor(t-(o+u)/2)),e.setCenterPoint(i,a,o,u)},setCenterPoint:function(t,n,r,e){var i=this,a=r+i.drawingArea,o=i.height-i.paddingTop-e-i.drawingArea;i.xCenter=Math.floor((t+i.drawingArea+(i.width-n-i.drawingArea))/2+i.left),i.yCenter=Math.floor((a+o)/2+i.top+i.paddingTop)},getIndexAngle:function(t){var n=this.chart,r=(t*(360/n.data.labels.length)+((n.options||{}).startAngle||0))%360;return(r<0?r+360:r)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var n=this;if(P.isNullOrUndef(t))return NaN;var r=n.drawingArea/(n.max-n.min);return n.options.ticks.reverse?(n.max-t)*r:(t-n.min)*r},getPointPosition:function(t,n){var r=this,e=r.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(e)*n+r.xCenter,y:Math.sin(e)*n+r.yCenter}},getPointPositionForValue:function(t,n){return this.getPointPosition(t,this.getDistanceFromCenterForValue(n))},getBasePosition:function(t){var n=this,r=n.min,e=n.max;return n.getPointPositionForValue(t||0,n.beginAtZero?0:r<0&&e<0?e:r>0&&e>0?r:0)},_drawGrid:function(){var t,n,r,e=this,i=e.ctx,a=e.options,o=a.gridLines,u=a.angleLines,s=Ar(u.lineWidth,o.lineWidth),h=Ar(u.color,o.color);if(a.pointLabels.display&&function(t){var n=t.ctx,r=t.options,e=r.pointLabels,i=jr(r),a=t.getDistanceFromCenterForValue(r.ticks.reverse?t.min:t.max),o=P.options._parseFont(e);n.save(),n.font=o.string,n.textBaseline="middle";for(var u=t.chart.data.labels.length-1;u>=0;u--){var s=t.getPointPosition(u,a+(0===u?i/2:0)+5),h=Tr(e.fontColor,u,W.global.defaultFontColor);n.fillStyle=h;var f=t.getIndexAngle(u),c=P.toDegrees(f);n.textAlign=Wr(c),Hr(c,t._pointLabelSizes[u],s),Ir(n,t.pointLabels[u],s,o.lineHeight)}n.restore()}(e),o.display&&P.each(e.ticks,(function(t,r){0!==r&&(n=e.getDistanceFromCenterForValue(e.ticksAsNumbers[r]),function(t,n,r,e){var i,a=t.ctx,o=n.circular,u=t.chart.data.labels.length,s=Tr(n.color,e-1),h=Tr(n.lineWidth,e-1);if((o||u)&&s&&h){if(a.save(),a.strokeStyle=s,a.lineWidth=h,a.setLineDash&&(a.setLineDash(n.borderDash||[]),a.lineDashOffset=n.borderDashOffset||0),a.beginPath(),o)a.arc(t.xCenter,t.yCenter,r,0,2*Math.PI);else{i=t.getPointPosition(0,r),a.moveTo(i.x,i.y);for(var f=1;f<u;f++)i=t.getPointPosition(f,r),a.lineTo(i.x,i.y)}a.closePath(),a.stroke(),a.restore()}}(e,o,n,r))})),u.display&&s&&h){for(i.save(),i.lineWidth=s,i.strokeStyle=h,i.setLineDash&&(i.setLineDash(Fr([u.borderDash,o.borderDash,[]])),i.lineDashOffset=Fr([u.borderDashOffset,o.borderDashOffset,0])),t=e.chart.data.labels.length-1;t>=0;t--)n=e.getDistanceFromCenterForValue(a.ticks.reverse?e.min:e.max),r=e.getPointPosition(t,n),i.beginPath(),i.moveTo(e.xCenter,e.yCenter),i.lineTo(r.x,r.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,n=t.ctx,r=t.options.ticks;if(r.display){var e,i,a=t.getIndexAngle(0),o=P.options._parseFont(r),u=Ar(r.fontColor,W.global.defaultFontColor);n.save(),n.font=o.string,n.translate(t.xCenter,t.yCenter),n.rotate(a),n.textAlign="center",n.textBaseline="middle",P.each(t.ticks,(function(a,s){(0!==s||r.reverse)&&(e=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),r.showLabelBackdrop&&(i=n.measureText(a).width,n.fillStyle=r.backdropColor,n.fillRect(-i/2-r.backdropPaddingX,-e-o.size/2-r.backdropPaddingY,i+2*r.backdropPaddingX,o.size+2*r.backdropPaddingY)),n.fillStyle=u,n.fillText(a,0,-e))})),n.restore()}},_drawTitle:P.noop});zr._defaults=Lr;var Pr=P._deprecated,Br=P.options.resolve,Gr=P.valueOrDefault,Ur=Number.MIN_SAFE_INTEGER||-9007199254740991,qr=Number.MAX_SAFE_INTEGER||9007199254740991,Vr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Zr=Object.keys(Vr);function $r(t,n){return t-n}function Qr(t){return P.valueOrDefault(t.time.min,t.ticks.min)}function Jr(t){return P.valueOrDefault(t.time.max,t.ticks.max)}function Xr(t,n,r,e){var i=function(t,n,r){for(var e,i,a,o=0,u=t.length-1;o>=0&&o<=u;){if(a=t[e=o+u>>1],!(i=t[e-1]||null))return{lo:null,hi:a};if(a[n]<r)o=e+1;else{if(!(i[n]>r))return{lo:i,hi:a};u=e-1}}return{lo:a,hi:null}}(t,n,r),a=i.lo?i.hi?i.lo:t[t.length-2]:t[0],o=i.lo?i.hi?i.hi:t[t.length-1]:t[1],u=o[n]-a[n];return a[e]+(o[e]-a[e])*(u?(r-a[n])/u:0)}function Kr(t,n){var r=t._adapter,e=t.options.time,i=e.parser,a=i||e.format,o=n;return"function"==typeof i&&(o=i(o)),P.isFinite(o)||(o="string"==typeof a?r.parse(o,a):r.parse(o)),null!==o?+o:(i||"function"!=typeof a||(o=a(n),P.isFinite(o)||(o=r.parse(o))),o)}function te(t,n){if(P.isNullOrUndef(n))return null;var r=t.options.time,e=Kr(t,t.getRightValue(n));return null===e||r.round&&(e=+t._adapter.startOf(e,r.round)),e}function ne(t,n,r,e){var i,a,o=Zr.length;for(i=Zr.indexOf(t);i<o-1;++i)if((a=Vr[Zr[i]]).common&&Math.ceil((r-n)/((a.steps?a.steps:qr)*a.size))<=e)return Zr[i];return Zr[o-1]}function re(t,n,r){var e,i,a=[],o={},u=n.length;for(e=0;e<u;++e)o[i=n[e]]=e,a.push({value:i,major:!1});return 0!==u&&r?function(t,n,r,e){var i,a,o=t._adapter,u=+o.startOf(n[0].value,e),s=n[n.length-1].value;for(i=u;i<=s;i=+o.add(i,1,e))(a=r[i])>=0&&(n[a].major=!0);return n}(t,a,o,r):a}var ee=br.extend({initialize:function(){this.mergeTicksOptions(),br.prototype.initialize.call(this)},update:function(){var t=this,n=t.options,r=n.time||(n.time={}),e=t._adapter=new rr._date(n.adapters.date);return Pr("time scale",r.format,"time.format","time.parser"),Pr("time scale",r.min,"time.min","ticks.min"),Pr("time scale",r.max,"time.max","ticks.max"),P.mergeIf(r.displayFormats,e.formats()),br.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),br.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,n,r,e,i,a,o,u=this,s=u.chart,h=u._adapter,f=u.options,c=f.time.unit||"day",l=qr,d=Ur,v=[],m=[],g=[],b=u._getLabels();for(t=0,r=b.length;t<r;++t)g.push(te(u,b[t]));for(t=0,r=(s.data.datasets||[]).length;t<r;++t)if(s.isDatasetVisible(t))if(P.isObject((i=s.data.datasets[t].data)[0]))for(m[t]=[],n=0,e=i.length;n<e;++n)a=te(u,i[n]),v.push(a),m[t][n]=a;else m[t]=g.slice(0),o||(v=v.concat(g),o=!0);else m[t]=[];g.length&&(l=Math.min(l,g[0]),d=Math.max(d,g[g.length-1])),v.length&&(v=r>1?function(t){var n,r,e,i={},a=[];for(n=0,r=t.length;n<r;++n)i[e=t[n]]||(i[e]=!0,a.push(e));return a}(v).sort($r):v.sort($r),l=Math.min(l,v[0]),d=Math.max(d,v[v.length-1])),l=te(u,Qr(f))||l,d=te(u,Jr(f))||d,l=l===qr?+h.startOf(Date.now(),c):l,d=d===Ur?+h.endOf(Date.now(),c)+1:d,u.min=Math.min(l,d),u.max=Math.max(l+1,d),u._table=[],u._timestamps={data:v,datasets:m,labels:g}},buildTicks:function(){var t,n,r,e=this,i=e.min,a=e.max,o=e.options,u=o.ticks,s=o.time,h=e._timestamps,f=[],c=e.getLabelCapacity(i),l=u.source,d=o.distribution;for(h="data"===l||"auto"===l&&"series"===d?h.data:"labels"===l?h.labels:function(t,n,r,e){var i,a=t._adapter,o=t.options,u=o.time,s=u.unit||ne(u.minUnit,n,r,e),h=Br([u.stepSize,u.unitStepSize,1]),f="week"===s&&u.isoWeekday,c=n,l=[];if(f&&(c=+a.startOf(c,"isoWeek",f)),c=+a.startOf(c,f?"day":s),a.diff(r,n,s)>1e5*h)throw n+" and "+r+" are too far apart with stepSize of "+h+" "+s;for(i=c;i<r;i=+a.add(i,h,s))l.push(i);return i!==r&&"ticks"!==o.bounds||l.push(i),l}(e,i,a,c),"ticks"===o.bounds&&h.length&&(i=h[0],a=h[h.length-1]),i=te(e,Qr(o))||i,a=te(e,Jr(o))||a,t=0,n=h.length;t<n;++t)(r=h[t])>=i&&r<=a&&f.push(r);return e.min=i,e.max=a,e._unit=s.unit||(u.autoSkip?ne(s.minUnit,e.min,e.max,c):function(t,n,r,e,i){var a,o;for(a=Zr.length-1;a>=Zr.indexOf(r);a--)if(Vr[o=Zr[a]].common&&t._adapter.diff(i,e,o)>=n-1)return o;return Zr[r?Zr.indexOf(r):0]}(e,f.length,s.minUnit,e.min,e.max)),e._majorUnit=u.major.enabled&&"year"!==e._unit?function(t){for(var n=Zr.indexOf(t)+1,r=Zr.length;n<r;++n)if(Vr[Zr[n]].common)return Zr[n]}(e._unit):void 0,e._table=function(t,n,r,e){if("linear"===e||!t.length)return[{time:n,pos:0},{time:r,pos:1}];var i,a,o,u,s,h=[],f=[n];for(i=0,a=t.length;i<a;++i)(u=t[i])>n&&u<r&&f.push(u);for(f.push(r),i=0,a=f.length;i<a;++i)s=f[i+1],u=f[i],void 0!==(o=f[i-1])&&void 0!==s&&Math.round((s+o)/2)===u||h.push({time:u,pos:i/(a-1)});return h}(e._timestamps.data,i,a,d),e._offsets=function(t,n,r,e,i){var a,o,u=0,s=0;return i.offset&&n.length&&(a=Xr(t,"time",n[0],"pos"),u=1===n.length?1-a:(Xr(t,"time",n[1],"pos")-a)/2,o=Xr(t,"time",n[n.length-1],"pos"),s=1===n.length?o:(o-Xr(t,"time",n[n.length-2],"pos"))/2),{start:u,end:s,factor:1/(u+1+s)}}(e._table,f,0,0,o),u.reverse&&f.reverse(),re(e,f,e._majorUnit)},getLabelForIndex:function(t,n){var r=this,e=r._adapter,i=r.chart.data,a=r.options.time,o=i.labels&&t<i.labels.length?i.labels[t]:"",u=i.datasets[n].data[t];return P.isObject(u)&&(o=r.getRightValue(u)),a.tooltipFormat?e.format(Kr(r,o),a.tooltipFormat):"string"==typeof o?o:e.format(Kr(r,o),a.displayFormats.datetime)},tickFormatFunction:function(t,n,r,e){var i=this,a=i.options,o=a.time.displayFormats,u=i._majorUnit,s=o[u],h=r[n],f=a.ticks,c=u&&s&&h&&h.major,l=i._adapter.format(t,e||(c?s:o[i._unit])),d=c?f.major:f.minor,v=Br([d.callback,d.userCallback,f.callback,f.userCallback]);return v?v(l,n,r):l},convertTicksToLabels:function(t){var n,r,e=[];for(n=0,r=t.length;n<r;++n)e.push(this.tickFormatFunction(t[n].value,n,t));return e},getPixelForOffset:function(t){var n=this,r=n._offsets,e=Xr(n._table,"time",t,"pos");return n.getPixelForDecimal((r.start+e)*r.factor)},getPixelForValue:function(t,n,r){var e=this,i=null;if(void 0!==n&&void 0!==r&&(i=e._timestamps.datasets[r][n]),null===i&&(i=te(e,t)),null!==i)return e.getPixelForOffset(i)},getPixelForTick:function(t){var n=this.getTicks();return t>=0&&t<n.length?this.getPixelForOffset(n[t].value):null},getValueForPixel:function(t){var n=this,r=n._offsets,e=n.getDecimalForPixel(t)/r.factor-r.end,i=Xr(n._table,"pos",e,"time");return n._adapter._create(i)},_getLabelSize:function(t){var n=this,r=n.options.ticks,e=n.ctx.measureText(t).width,i=P.toRadians(n.isHorizontal()?r.maxRotation:r.minRotation),a=Math.cos(i),o=Math.sin(i),u=Gr(r.fontSize,W.global.defaultFontSize);return{w:e*a+u*o,h:e*o+u*a}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var n=this,r=n.options.time,e=r.displayFormats,i=e[r.unit]||e.millisecond,a=n.tickFormatFunction(t,0,re(n,[t],n._majorUnit),i),o=n._getLabelSize(a),u=Math.floor(n.isHorizontal()?n.width/o.w:n.height/o.h);return n.options.offset&&u--,u>0?u:1}});ee._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var ie={category:Mr,linear:Dr,logarithmic:Or,radialLinear:zr,time:ee},ae={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};rr._date.override("function"==typeof t?{_id:"moment",formats:function(){return ae},parse:function(n,r){return"string"==typeof n&&"string"==typeof r?n=t(n,r):n instanceof t||(n=t(n)),n.isValid()?n.valueOf():null},format:function(n,r){return t(n).format(r)},add:function(n,r,e){return t(n).add(r,e).valueOf()},diff:function(n,r,e){return t(n).diff(t(r),e)},startOf:function(n,r,e){return n=t(n),"isoWeek"===r?n.isoWeekday(e).valueOf():n.startOf(r).valueOf()},endOf:function(n,r){return t(n).endOf(r).valueOf()},_create:function(n){return t(n)}}:{}),W._set("global",{plugins:{filler:{propagate:!0}}});var oe={dataset:function(t){var n=t.fill,r=t.chart,e=r.getDatasetMeta(n),i=e&&r.isDatasetVisible(n)&&e.dataset._children||[],a=i.length||0;return a?function(t,n){return n<a&&i[n]._view||null}:null},boundary:function(t){var n=t.boundary,r=n?n.x:null,e=n?n.y:null;return P.isArray(n)?function(t,r){return n[r]}:function(t){return{x:null===r?t.x:r,y:null===e?t.y:e}}}};function ue(t,n,r){var e,i=t._model||{},a=i.fill;if(void 0===a&&(a=!!i.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(e=parseFloat(a,10),isFinite(e)&&Math.floor(e)===e)return"-"!==a[0]&&"+"!==a[0]||(e=n+e),!(e===n||e<0||e>=r)&&e;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function se(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var n,r,e,i,a,o=t.el._scale,u=o.options,s=o.chart.data.labels.length,h=t.fill,f=[];if(!s)return null;for(r=u.ticks.reverse?o.min:o.max,e=o.getPointPositionForValue(0,n=u.ticks.reverse?o.max:o.min),i=0;i<s;++i)a="start"===h||"end"===h?o.getPointPositionForValue(i,"start"===h?n:r):o.getBasePosition(i),u.gridLines.circular&&(a.cx=e.x,a.cy=e.y,a.angle=o.getIndexAngle(i)-Math.PI/2),f.push(a);return f}(t):function(t){var n,r=t.el._model||{},e=t.el._scale||{},i=t.fill,a=null;if(isFinite(i))return null;if("start"===i?a=void 0===r.scaleBottom?e.bottom:r.scaleBottom:"end"===i?a=void 0===r.scaleTop?e.top:r.scaleTop:void 0!==r.scaleZero?a=r.scaleZero:e.getBasePixel&&(a=e.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(P.isFinite(a))return{x:(n=e.isHorizontal())?a:null,y:n?null:a}}return null}(t)}function he(t,n,r){var e,i=t[n].fill,a=[n];if(!r)return i;for(;!1!==i&&-1===a.indexOf(i);){if(!isFinite(i))return i;if(!(e=t[i]))return!1;if(e.visible)return i;a.push(i),i=e.fill}return!1}function fe(t){var n=t.fill,r="dataset";return!1===n?null:(isFinite(n)||(r="boundary"),oe[r](t))}function ce(t){return t&&!t.skip}function le(t,n,r,e,i){var a,o,u,s;if(e&&i){for(t.moveTo(n[0].x,n[0].y),a=1;a<e;++a)P.canvas.lineTo(t,n[a-1],n[a]);if(void 0===r[0].angle)for(t.lineTo(r[i-1].x,r[i-1].y),a=i-1;a>0;--a)P.canvas.lineTo(t,r[a],r[a-1],!0);else for(o=r[0].cx,u=r[0].cy,s=Math.sqrt(Math.pow(r[0].x-o,2)+Math.pow(r[0].y-u,2)),a=i-1;a>0;--a)t.arc(o,u,s,r[a].angle,r[a-1].angle,!0)}}function de(t,n,r,e,i,a){var o,u,s,h,f,c,l,d,v=n.length,m=e.spanGaps,g=[],b=[],p=0,M=0;for(t.beginPath(),o=0,u=v;o<u;++o)f=r(h=n[s=o%v]._view,s,e),c=ce(h),l=ce(f),a&&void 0===d&&c&&(u=v+(d=o+1)),c&&l?(p=g.push(h),M=b.push(f)):p&&M&&(m?(c&&g.push(h),l&&b.push(f)):(le(t,g,b,p,M),p=M=0,g=[],b=[]));le(t,g,b,p,M),t.closePath(),t.fillStyle=i,t.fill()}var ve={id:"filler",afterDatasetsUpdate:function(t,n){var r,e,i,a,o=(t.data.datasets||[]).length,u=n.propagate,s=[];for(e=0;e<o;++e)a=null,(i=(r=t.getDatasetMeta(e)).dataset)&&i._model&&i instanceof wt.Line&&(a={visible:t.isDatasetVisible(e),fill:ue(i,e,o),chart:t,el:i}),r.$filler=a,s.push(a);for(e=0;e<o;++e)(a=s[e])&&(a.fill=he(s,e,u),a.boundary=se(a),a.mapper=fe(a))},beforeDatasetsDraw:function(t){var n,r,e,i,a,o,u,s=t._getSortedVisibleDatasetMetas(),h=t.ctx;for(r=s.length-1;r>=0;--r)(n=s[r].$filler)&&n.visible&&(a=(e=n.el)._children||[],u=(i=e._view).backgroundColor||W.global.defaultColor,(o=n.mapper)&&u&&a.length&&(P.canvas.clipArea(h,t.chartArea),de(h,a,o,i,u,e._loop),P.canvas.unclipArea(h)))}},me=P.rtl.getRtlAdapter,ge=P.noop,be=P.valueOrDefault;function pe(t,n){return t.usePointStyle&&t.boxWidth>n?n:t.boxWidth}W._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,n){var r=n.datasetIndex,e=this.chart,i=e.getDatasetMeta(r);i.hidden=null===i.hidden?!e.data.datasets[r].hidden:null,e.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var n=t.data.datasets,r=t.options.legend||{},e=r.labels&&r.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(r){var i=r.controller.getStyle(e?0:void 0);return{text:n[r.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(r.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:r.index}}),this)}}},legendCallback:function(t){var n,r,e,i=document.createElement("ul"),a=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),n=0,r=a.length;n<r;n++)(e=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[n].backgroundColor,a[n].label&&e.appendChild(document.createTextNode(a[n].label));return i.outerHTML}});var Me=Z.extend({initialize:function(t){var n=this;P.extend(n,t),n.legendHitBoxes=[],n._hoveredItem=null,n.doughnutMode=!1},beforeUpdate:ge,update:function(t,n,r){var e=this;return e.beforeUpdate(),e.maxWidth=t,e.maxHeight=n,e.margins=r,e.beforeSetDimensions(),e.setDimensions(),e.afterSetDimensions(),e.beforeBuildLabels(),e.buildLabels(),e.afterBuildLabels(),e.beforeFit(),e.fit(),e.afterFit(),e.afterUpdate(),e.minSize},afterUpdate:ge,beforeSetDimensions:ge,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:ge,beforeBuildLabels:ge,buildLabels:function(){var t=this,n=t.options.labels||{},r=P.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(r=r.filter((function(r){return n.filter(r,t.chart.data)}))),t.options.reverse&&r.reverse(),t.legendItems=r},afterBuildLabels:ge,beforeFit:ge,fit:function(){var t=this,n=t.options,r=n.labels,e=n.display,i=t.ctx,a=P.options._parseFont(r),o=a.size,u=t.legendHitBoxes=[],s=t.minSize,h=t.isHorizontal();if(h?(s.width=t.maxWidth,s.height=e?10:0):(s.width=e?10:0,s.height=t.maxHeight),e){if(i.font=a.string,h){var f=t.lineWidths=[0],c=0;i.textAlign="left",i.textBaseline="middle",P.each(t.legendItems,(function(t,n){var e=pe(r,o)+o/2+i.measureText(t.text).width;(0===n||f[f.length-1]+e+2*r.padding>s.width)&&(c+=o+r.padding,f[f.length-(n>0?0:1)]=0),u[n]={left:0,top:0,width:e,height:o},f[f.length-1]+=e+r.padding})),s.height+=c}else{var l=r.padding,d=t.columnWidths=[],v=t.columnHeights=[],m=r.padding,g=0,b=0;P.each(t.legendItems,(function(t,n){var e=pe(r,o)+o/2+i.measureText(t.text).width;n>0&&b+o+2*l>s.height&&(m+=g+r.padding,d.push(g),v.push(b),g=0,b=0),g=Math.max(g,e),b+=o+l,u[n]={left:0,top:0,width:e,height:o}})),m+=g,d.push(g),v.push(b),s.width+=m}t.width=s.width,t.height=s.height}else t.width=s.width=t.height=s.height=0},afterFit:ge,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,n=t.options,r=n.labels,e=W.global,i=e.defaultColor,a=e.elements.line,o=t.height,u=t.columnHeights,s=t.width,h=t.lineWidths;if(n.display){var f,c=me(n.rtl,t.left,t.minSize.width),l=t.ctx,d=be(r.fontColor,e.defaultFontColor),v=P.options._parseFont(r),m=v.size;l.textAlign=c.textAlign("left"),l.textBaseline="middle",l.lineWidth=.5,l.strokeStyle=d,l.fillStyle=d,l.font=v.string;var g=pe(r,m),b=t.legendHitBoxes,p=function(t,e){switch(n.align){case"start":return r.padding;case"end":return t-e;default:return(t-e+r.padding)/2}},M=t.isHorizontal();f=M?{x:t.left+p(s,h[0]),y:t.top+r.padding,line:0}:{x:t.left+r.padding,y:t.top+p(o,u[0]),line:0},P.rtl.overrideTextDirection(t.ctx,n.textDirection);var y=m+r.padding;P.each(t.legendItems,(function(n,e){var d=l.measureText(n.text).width,v=g+m/2+d,w=f.x,k=f.y;c.setWidth(t.minSize.width),M?e>0&&w+v+r.padding>t.left+t.minSize.width&&(k=f.y+=y,f.line++,w=f.x=t.left+p(s,h[f.line])):e>0&&k+y>t.top+t.minSize.height&&(w=f.x=w+t.columnWidths[f.line]+r.padding,f.line++,k=f.y=t.top+p(o,u[f.line]));var x=c.x(w);(function(t,n,e){if(!(isNaN(g)||g<=0)){l.save();var o=be(e.lineWidth,a.borderWidth);if(l.fillStyle=be(e.fillStyle,i),l.lineCap=be(e.lineCap,a.borderCapStyle),l.lineDashOffset=be(e.lineDashOffset,a.borderDashOffset),l.lineJoin=be(e.lineJoin,a.borderJoinStyle),l.lineWidth=o,l.strokeStyle=be(e.strokeStyle,i),l.setLineDash&&l.setLineDash(be(e.lineDash,a.borderDash)),r&&r.usePointStyle){var u=g*Math.SQRT2/2,s=c.xPlus(t,g/2);P.canvas.drawPoint(l,e.pointStyle,u,s,n+m/2,e.rotation)}else l.fillRect(c.leftForLtr(t,g),n,g,m),0!==o&&l.strokeRect(c.leftForLtr(t,g),n,g,m);l.restore()}})(x,k,n),b[e].left=c.leftForLtr(x,b[e].width),b[e].top=k,function(t,n,r,e){var i=m/2,a=c.xPlus(t,g+i),o=n+i;l.fillText(r.text,a,o),r.hidden&&(l.beginPath(),l.lineWidth=2,l.moveTo(a,o),l.lineTo(c.xPlus(a,e),o),l.stroke())}(x,k,n,d),M?f.x+=v+r.padding:f.y+=y})),P.rtl.restoreTextDirection(t.ctx,n.textDirection)}},_getLegendItemAt:function(t,n){var r,e,i,a=this;if(t>=a.left&&t<=a.right&&n>=a.top&&n<=a.bottom)for(i=a.legendHitBoxes,r=0;r<i.length;++r)if(t>=(e=i[r]).left&&t<=e.left+e.width&&n>=e.top&&n<=e.top+e.height)return a.legendItems[r];return null},handleEvent:function(t){var n,r=this,e=r.options,i="mouseup"===t.type?"click":t.type;if("mousemove"===i){if(!e.onHover&&!e.onLeave)return}else{if("click"!==i)return;if(!e.onClick)return}n=r._getLegendItemAt(t.x,t.y),"click"===i?n&&e.onClick&&e.onClick.call(r,t.native,n):(e.onLeave&&n!==r._hoveredItem&&(r._hoveredItem&&e.onLeave.call(r,t.native,r._hoveredItem),r._hoveredItem=n),e.onHover&&n&&e.onHover.call(r,t.native,n))}});function ye(t,n){var r=new Me({ctx:t.ctx,options:n,chart:t});vn.configure(t,r,n),vn.addBox(t,r),t.legend=r}var we={id:"legend",_element:Me,beforeInit:function(t){var n=t.options.legend;n&&ye(t,n)},beforeUpdate:function(t){var n=t.options.legend,r=t.legend;n?(P.mergeIf(n,W.global.legend),r?(vn.configure(t,r,n),r.options=n):ye(t,n)):r&&(vn.removeBox(t,r),delete t.legend)},afterEvent:function(t,n){var r=t.legend;r&&r.handleEvent(n)}},ke=P.noop;W._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var xe=Z.extend({initialize:function(t){P.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:ke,update:function(t,n,r){var e=this;return e.beforeUpdate(),e.maxWidth=t,e.maxHeight=n,e.margins=r,e.beforeSetDimensions(),e.setDimensions(),e.afterSetDimensions(),e.beforeBuildLabels(),e.buildLabels(),e.afterBuildLabels(),e.beforeFit(),e.fit(),e.afterFit(),e.afterUpdate(),e.minSize},afterUpdate:ke,beforeSetDimensions:ke,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:ke,beforeBuildLabels:ke,buildLabels:ke,afterBuildLabels:ke,beforeFit:ke,fit:function(){var t,n=this,r=n.options,e=n.minSize={},i=n.isHorizontal();r.display?(t=(P.isArray(r.text)?r.text.length:1)*P.options._parseFont(r).lineHeight+2*r.padding,n.width=e.width=i?n.maxWidth:t,n.height=e.height=i?t:n.maxHeight):n.width=e.width=n.height=e.height=0},afterFit:ke,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,n=t.ctx,r=t.options;if(r.display){var e,i,a,o=P.options._parseFont(r),u=o.lineHeight,s=u/2+r.padding,h=0,f=t.top,c=t.left,l=t.bottom,d=t.right;n.fillStyle=P.valueOrDefault(r.fontColor,W.global.defaultFontColor),n.font=o.string,t.isHorizontal()?(i=c+(d-c)/2,a=f+s,e=d-c):(i="left"===r.position?c+s:d-s,a=f+(l-f)/2,e=l-f,h=Math.PI*("left"===r.position?-.5:.5)),n.save(),n.translate(i,a),n.rotate(h),n.textAlign="center",n.textBaseline="middle";var v=r.text;if(P.isArray(v))for(var m=0,g=0;g<v.length;++g)n.fillText(v[g],0,m,e),m+=u;else n.fillText(v,0,0,e);n.restore()}}});function Se(t,n){var r=new xe({ctx:t.ctx,options:n,chart:t});vn.configure(t,r,n),vn.addBox(t,r),t.titleBlock=r}var De={},Ne=ve,Ye=we,_e={id:"title",_element:xe,beforeInit:function(t){var n=t.options.title;n&&Se(t,n)},beforeUpdate:function(t){var n=t.options.title,r=t.titleBlock;n?(P.mergeIf(n,W.global.title),r?(vn.configure(t,r,n),r.options=n):Se(t,n)):r&&(vn.removeBox(t,r),delete t.titleBlock)}};for(var Ce in De.filler=Ne,De.legend=Ye,De.title=_e,Kn.helpers=P,function(){function t(t,n,r){var e;return"string"==typeof t?(e=parseInt(t,10),-1!==t.indexOf("%")&&(e=e/100*n.parentNode[r])):e=t,e}function n(t){return null!=t&&"none"!==t}function r(r,e,i){var a=document.defaultView,o=P._getParentNode(r),u=a.getComputedStyle(r)[e],s=a.getComputedStyle(o)[e],h=n(u),f=n(s),c=Number.POSITIVE_INFINITY;return h||f?Math.min(h?t(u,r,i):c,f?t(s,o,i):c):"none"}P.where=function(t,n){if(P.isArray(t)&&Array.prototype.filter)return t.filter(n);var r=[];return P.each(t,(function(t){n(t)&&r.push(t)})),r},P.findIndex=Array.prototype.findIndex?function(t,n,r){return t.findIndex(n,r)}:function(t,n,r){r=void 0===r?t:r;for(var e=0,i=t.length;e<i;++e)if(n.call(r,t[e],e,t))return e;return-1},P.findNextWhere=function(t,n,r){P.isNullOrUndef(r)&&(r=-1);for(var e=r+1;e<t.length;e++){var i=t[e];if(n(i))return i}},P.findPreviousWhere=function(t,n,r){P.isNullOrUndef(r)&&(r=t.length);for(var e=r-1;e>=0;e--){var i=t[e];if(n(i))return i}},P.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},P.almostEquals=function(t,n,r){return Math.abs(t-n)<r},P.almostWhole=function(t,n){var r=Math.round(t);return r-n<=t&&r+n>=t},P.max=function(t){return t.reduce((function(t,n){return isNaN(n)?t:Math.max(t,n)}),Number.NEGATIVE_INFINITY)},P.min=function(t){return t.reduce((function(t,n){return isNaN(n)?t:Math.min(t,n)}),Number.POSITIVE_INFINITY)},P.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},P.toRadians=function(t){return t*(Math.PI/180)},P.toDegrees=function(t){return t*(180/Math.PI)},P._decimalPlaces=function(t){if(P.isFinite(t)){for(var n=1,r=0;Math.round(t*n)/n!==t;)n*=10,r++;return r}},P.getAngleFromPoint=function(t,n){var r=n.x-t.x,e=n.y-t.y,i=Math.sqrt(r*r+e*e),a=Math.atan2(e,r);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:i}},P.distanceBetweenPoints=function(t,n){return Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2))},P.aliasPixel=function(t){return t%2==0?0:.5},P._alignPixel=function(t,n,r){var e=t.currentDevicePixelRatio,i=r/2;return Math.round((n-i)*e)/e+i},P.splineCurve=function(t,n,r,e){var i=t.skip?n:t,a=n,o=r.skip?n:r,u=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),s=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),h=u/(u+s),f=s/(u+s),c=e*(h=isNaN(h)?0:h),l=e*(f=isNaN(f)?0:f);return{previous:{x:a.x-c*(o.x-i.x),y:a.y-c*(o.y-i.y)},next:{x:a.x+l*(o.x-i.x),y:a.y+l*(o.y-i.y)}}},P.EPSILON=Number.EPSILON||1e-14,P.splineCurveMonotone=function(t){var n,r,e,i,a,o,u,s,h,f=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),c=f.length;for(n=0;n<c;++n)if(!(e=f[n]).model.skip){if(r=n>0?f[n-1]:null,(i=n<c-1?f[n+1]:null)&&!i.model.skip){var l=i.model.x-e.model.x;e.deltaK=0!==l?(i.model.y-e.model.y)/l:0}e.mK=!r||r.model.skip?e.deltaK:!i||i.model.skip?r.deltaK:this.sign(r.deltaK)!==this.sign(e.deltaK)?0:(r.deltaK+e.deltaK)/2}for(n=0;n<c-1;++n)i=f[n+1],(e=f[n]).model.skip||i.model.skip||(P.almostEquals(e.deltaK,0,this.EPSILON)?e.mK=i.mK=0:(a=e.mK/e.deltaK,o=i.mK/e.deltaK,(s=Math.pow(a,2)+Math.pow(o,2))<=9||(u=3/Math.sqrt(s),e.mK=a*u*e.deltaK,i.mK=o*u*e.deltaK)));for(n=0;n<c;++n)(e=f[n]).model.skip||(i=n<c-1?f[n+1]:null,(r=n>0?f[n-1]:null)&&!r.model.skip&&(e.model.controlPointPreviousX=e.model.x-(h=(e.model.x-r.model.x)/3),e.model.controlPointPreviousY=e.model.y-h*e.mK),i&&!i.model.skip&&(e.model.controlPointNextX=e.model.x+(h=(i.model.x-e.model.x)/3),e.model.controlPointNextY=e.model.y+h*e.mK))},P.nextItem=function(t,n,r){return r?n>=t.length-1?t[0]:t[n+1]:n>=t.length-1?t[t.length-1]:t[n+1]},P.previousItem=function(t,n,r){return r?n<=0?t[t.length-1]:t[n-1]:n<=0?t[0]:t[n-1]},P.niceNum=function(t,n){var r=Math.floor(P.log10(t)),e=t/Math.pow(10,r);return(n?e<1.5?1:e<3?2:e<7?5:10:e<=1?1:e<=2?2:e<=5?5:10)*Math.pow(10,r)},P.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},P.getRelativePosition=function(t,n){var r,e,i=t.originalEvent||t,a=t.target||t.srcElement,o=a.getBoundingClientRect(),u=i.touches;u&&u.length>0?(r=u[0].clientX,e=u[0].clientY):(r=i.clientX,e=i.clientY);var s=parseFloat(P.getStyle(a,"padding-left")),h=parseFloat(P.getStyle(a,"padding-top")),f=parseFloat(P.getStyle(a,"padding-right")),c=parseFloat(P.getStyle(a,"padding-bottom")),l=o.bottom-o.top-h-c;return{x:r=Math.round((r-o.left-s)/(o.right-o.left-s-f)*a.width/n.currentDevicePixelRatio),y:e=Math.round((e-o.top-h)/l*a.height/n.currentDevicePixelRatio)}},P.getConstraintWidth=function(t){return r(t,"max-width","clientWidth")},P.getConstraintHeight=function(t){return r(t,"max-height","clientHeight")},P._calculatePadding=function(t,n,r){return(n=P.getStyle(t,n)).indexOf("%")>-1?r*parseInt(n,10)/100:parseInt(n,10)},P._getParentNode=function(t){var n=t.parentNode;return n&&"[object ShadowRoot]"===n.toString()&&(n=n.host),n},P.getMaximumWidth=function(t){var n=P._getParentNode(t);if(!n)return t.clientWidth;var r=n.clientWidth,e=r-P._calculatePadding(n,"padding-left",r)-P._calculatePadding(n,"padding-right",r),i=P.getConstraintWidth(t);return isNaN(i)?e:Math.min(e,i)},P.getMaximumHeight=function(t){var n=P._getParentNode(t);if(!n)return t.clientHeight;var r=n.clientHeight,e=r-P._calculatePadding(n,"padding-top",r)-P._calculatePadding(n,"padding-bottom",r),i=P.getConstraintHeight(t);return isNaN(i)?e:Math.min(e,i)},P.getStyle=function(t,n){return t.currentStyle?t.currentStyle[n]:document.defaultView.getComputedStyle(t,null).getPropertyValue(n)},P.retinaScale=function(t,n){var r=t.currentDevicePixelRatio=n||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==r){var e=t.canvas,i=t.height,a=t.width;e.height=i*r,e.width=a*r,t.ctx.scale(r,r),e.style.height||e.style.width||(e.style.height=i+"px",e.style.width=a+"px")}},P.fontString=function(t,n,r){return n+" "+t+"px "+r},P.longestText=function(t,n,r,e){var i=(e=e||{}).data=e.data||{},a=e.garbageCollect=e.garbageCollect||[];e.font!==n&&(i=e.data={},a=e.garbageCollect=[],e.font=n),t.font=n;var o,u,s,h,f,c=0,l=r.length;for(o=0;o<l;o++)if(null!=(h=r[o])&&!0!==P.isArray(h))c=P.measureText(t,i,a,c,h);else if(P.isArray(h))for(u=0,s=h.length;u<s;u++)null==(f=h[u])||P.isArray(f)||(c=P.measureText(t,i,a,c,f));var d=a.length/2;if(d>r.length){for(o=0;o<d;o++)delete i[a[o]];a.splice(0,d)}return c},P.measureText=function(t,n,r,e,i){var a=n[i];return a||(a=n[i]=t.measureText(i).width,r.push(i)),a>e&&(e=a),e},P.numberOfLabelLines=function(t){var n=1;return P.each(t,(function(t){P.isArray(t)&&t.length>n&&(n=t.length)})),n},P.color=w?function(t){return t instanceof CanvasGradient&&(t=W.global.defaultColor),w(t)}:function(t){return console.error("Color.js not found!"),t},P.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:P.color(t).saturate(.5).darken(.1).rgbString()}}(),Kn._adapters=rr,Kn.Animation=Q,Kn.animationService=J,Kn.controllers=Qt,Kn.DatasetController=rt,Kn.defaults=W,Kn.Element=Z,Kn.elements=wt,Kn.Interaction=en,Kn.layouts=vn,Kn.platform=Tn,Kn.plugins=Fn,Kn.Scale=br,Kn.scaleService=Ln,Kn.Ticks=er,Kn.Tooltip=Gn,Kn.helpers.each(ie,(function(t,n){Kn.scaleService.registerScaleType(n,t,t._defaults)})),De)De.hasOwnProperty(Ce)&&Kn.plugins.register(De[Ce]);Kn.platform.initialize();var Oe=Kn;return"undefined"!=typeof window&&(window.Chart=Kn),Kn.Chart=Kn,Kn.Legend=De.legend._element,Kn.Title=De.title._element,Kn.pluginService=Kn.plugins,Kn.PluginBase=Kn.Element.extend({}),Kn.canvasHelpers=Kn.helpers.canvas,Kn.layoutService=Kn.layouts,Kn.LinearScaleBase=wr,Kn.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Kn[t]=function(n,r){return new Kn(n,Kn.helpers.merge(r||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Oe}(function(){try{return ue}catch(t){}}())})),he=a((function(){
|
|
17
|
+
/*!
|
|
18
|
+
* @license
|
|
19
|
+
* chartjs-plugin-deferred v1.0.2
|
|
20
|
+
* https://chartjs-plugin-deferred.netlify.app
|
|
21
|
+
* (c) 2016-2021 chartjs-plugin-deferred contributors
|
|
22
|
+
* Released under the MIT license
|
|
23
|
+
*/
|
|
24
|
+
!function(t){var n=(t=t&&t.hasOwnProperty("default")?t.default:t).helpers,r="$chartjs_deferred",e="$deferred";function i(t,r){r?window.setTimeout(t,r):n.requestAnimFrame.call(window,t)}function a(t,n){var r=parseInt(t,10);return isNaN(r)?0:"string"==typeof t&&-1!==t.indexOf("%")?r/100*n:r}function o(t){var n=t[e].options,r=t.chart.canvas;if(!r||null===r.offsetParent)return!1;var i=r.getBoundingClientRect(),o=a(n.yOffset||0,i.height),u=a(n.xOffset||0,i.width);return i.right-u>=0&&i.bottom-o>=0&&i.left+u<=window.innerWidth&&i.top+o<=window.innerHeight}function u(t){var n=t.target[r];n.ticking||(n.ticking=!0,i((function(){var t,r,i=n.charts.slice(),a=i.length;for(r=0;r<a;++r)o(t=i[r])&&(h(t),t[e].appeared=!0,t.update());n.ticking=!1})))}function s(t){if(t.nodeType===Node.ELEMENT_NODE){var r=n.getStyle(t,"overflow-x"),e=n.getStyle(t,"overflow-y");return"auto"===r||"scroll"===r||"auto"===e||"scroll"===e}return t.nodeType===Node.DOCUMENT_NODE}function h(t){t[e].elements.forEach((function(e){var i=e[r].charts;i.splice(i.indexOf(t),1),i.length||(n.removeEvent(e,"scroll",u),delete e[r])})),t[e].elements=[]}t.defaults.global.plugins.deferred={xOffset:0,yOffset:0,delay:0},t.plugins.register({id:"deferred",beforeInit:function(t,i){t[e]={options:i,appeared:!1,delayed:!1,loaded:!1,elements:[]},function(t){for(var i,a,o=t.chart.canvas.parentElement;o;)s(o)&&(0===(a=(i=o[r]||(o[r]={})).charts||(i.charts=[])).length&&n.addEvent(o,"scroll",u),a.push(t),t[e].elements.push(o)),o=o.parentElement||o.ownerDocument}(t)},beforeDatasetsUpdate:function(t,n){var r=t[e];if(!r.loaded){if(!r.appeared&&!o(t))return!1;if(r.appeared=!0,r.loaded=!0,h(t),n.delay>0)return r.delayed=!0,i((function(){t.ctx&&(r.delayed=!1,t.update())}),n.delay),!1}if(r.delayed)return!1},destroy:function(t){h(t)}})}(se)}));const fe=class{constructor(n){t(this,n),this.labels=null,this.dataSets=null,this.dataChartType="doughnut",this.myChartCtxRef=void 0}dataChangeHandler(){this.parsedDataSets=JSON.parse(this.dataSets),this.numberOfSetsGreaterThanOne=this.parsedDataSets.length>1,this.parsedDatasetWithDataParsed=this.parsedDataSets.map((t=>((t,n)=>{const r={datalabels:{color:"#FFF",font:{size:22,weight:600}}};let e={};return"doughnut"===n||"pie"===n?e=Object.assign(Object.assign({},r),{borderColor:t.borderColor?t.borderColor:"transparent",datalabels:Object.assign(Object.assign({},r.datalabels),{color:"#000000"})}):"line"===n?e=Object.assign(Object.assign({},r),{fill:!1}):"bar"===n&&(e=Object.assign({},r)),Object.assign(Object.assign({},t),e)})(t,this.dataChartType))),this.data=Object.assign(Object.assign({},this.data),{datasets:this.parsedDatasetWithDataParsed})}labelsChangeHandler(){this.parsedLabels=JSON.parse(this.labels),this.data=Object.assign(Object.assign({},this.data),{labels:this.parsedLabels})}componentWillLoad(){this.dataChangeHandler(),this.labelsChangeHandler()}componentDidLoad(){se.Chart.plugins.register(he),this.myChartCtxRef=this.element.querySelector("#chart-canvas"),this.myChart=new se.Chart(this.myChartCtxRef,((t,n,r=!1)=>{let e={type:t,data:this.data,options:{responsive:!0,maintainAspectRatio:!1,aspectRatio:1,legend:{display:r,position:"bottom",labels:{boxWidth:20,fontFamily:"sans-serif"}},tooltip:{enabled:!0},plugins:{deferred:{enabled:!0,yOffset:"50%",delay:300}}}};return"bar"===t?Object.assign(Object.assign({},e),{options:Object.assign(Object.assign({},e.options),{scales:{yAxes:[{ticks:{beginAtZero:!0}}]}})}):"doughnut"===t||"pie"===t?Object.assign(Object.assign({},e),{options:Object.assign(Object.assign({},e.options),{legend:Object.assign(Object.assign({},e.options.legend),{display:!0})})}):e})(this.dataChartType,0,this.numberOfSetsGreaterThanOne))}render(){return n(r,null,n("div",{class:"chart-wrapper"},n("canvas",{id:"chart-canvas",class:"pnChart"})))}get element(){return e(this)}static get watchers(){return{dataSets:["dataChangeHandler"],labels:["labelsChangeHandler"]}}};fe.style="pn-chart{display:-ms-flexbox;display:flex;height:100%;width:100%}pn-chart .chart-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;width:100vw;height:30vh;padding:1.6rem 0}@media screen and (min-width: 1640px){pn-chart .chart-wrapper{padding:2.4rem 0}}pn-chart canvas.pnChart{width:100% !important}pn-chart[data-chart-type=bar] .chart-wrapper,pn-chart[data-chart-type=line] .chart-wrapper{min-height:100%;max-width:100%;min-width:100%}@media screen and (min-width: 768px){.fullwidth pn-chart{-ms-flex-pack:center;justify-content:center}}@media screen and (min-width: 768px){.fullwidth pn-chart .chart-wrapper{height:40vh;width:30vw}}";export{fe as pn_chart}
|