@saasquatch/mint-components 1.5.0-49 → 1.5.0-52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{AutoColor-a489ed67.js → AutoColor-db901e98.js} +101 -105
- package/dist/cjs/{GenericTableView-f9bd3b19.js → GenericTableView-34662639.js} +5 -6
- package/dist/cjs/{JSS-24a85193.js → JSS-c65a40f1.js} +39 -39
- package/dist/cjs/{global-32bf222f.js → global-08276663.js} +589 -589
- package/dist/cjs/{index-d8fa5d8e.js → index-b0129cd6.js} +104 -181
- package/dist/cjs/{index.module-0f10a4c4.js → index.module-54724339.js} +6392 -6392
- package/dist/cjs/loader.cjs.js +7 -7
- package/dist/cjs/{luxon-751f2e1c.js → luxon-59ca7d19.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +9 -9
- package/dist/cjs/{sqm-asset-card-view-0764beab.js → sqm-asset-card-view-d9ac6a95.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-big-stat-view-37e341c1.js → sqm-big-stat-view-e5dc0877.js} +2 -2
- package/dist/cjs/sqm-big-stat.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-brand_26.cjs.entry.js → sqm-brand_27.cjs.entry.js} +328 -251
- package/dist/cjs/sqm-form-message.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +10 -10
- package/dist/cjs/{sqm-hero-view-6706134d.js → sqm-hero-view-a13795c0.js} +4 -4
- package/dist/cjs/sqm-hero.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-leaderboard-rank-view-5e2bcad9.js → sqm-leaderboard-rank-view-35015d30.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +14 -15
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-name-fields-view-c684114f.js → sqm-name-fields-view-c95e4768.js} +10 -12
- package/dist/cjs/sqm-name-fields.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-7f69e118.js → sqm-navigation-sidebar-item-view-da648fbc.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-navigation-sidebar-view-b53fad32.js → sqm-navigation-sidebar-view-36632c96.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +26 -27
- package/dist/cjs/sqm-popup-container.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-container-view-a78ab7ca.js → sqm-portal-container-view-185b4bd0.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-2a783b13.js → sqm-portal-email-verification-view-991a6739.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-footer-view-ff16e344.js → sqm-portal-footer-view-266e5a7d.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-036e5d76.js → sqm-portal-forgot-password-view-10c0b54f.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +13 -13
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-portal-profile-view-0c31ff46.js → sqm-portal-profile-view-fda5946f.js} +10 -13
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -16
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-reset-password-view-c2ca03ef.js → sqm-portal-reset-password-view-1fdc957e.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +15 -15
- package/dist/cjs/{sqm-portal-section-view-073d9dda.js → sqm-portal-section-view-3b6c990e.js} +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-1fa62a17.js → sqm-portal-verify-email-view-4c78e231.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +14 -14
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +31 -31
- package/dist/cjs/sqm-refresh-button.cjs.entry.js +7 -7
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -27
- package/dist/cjs/sqm-route.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-stat-container-view-fd6e8f8d.js → sqm-stat-container-view-5b2db929.js} +2 -18
- package/dist/cjs/sqm-stat-container.cjs.entry.js +6 -6
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +642 -599
- package/dist/cjs/sqm-table-cell_3.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-text-span-view-dd99633a.js → sqm-text-span-view-f101dedf.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +5 -5
- package/dist/cjs/sqm-titled-section.cjs.entry.js +6 -6
- package/dist/{esm/stencil-hooks.module-1bcbec4f.js → cjs/stencil-hooks.module-87a1f4f7.js} +58 -40
- package/dist/cjs/{use-callback-867e51f6.js → use-callback-e754042f.js} +1 -1
- package/dist/cjs/{useChildElements-6f8aa7de.js → useChildElements-4bc9b219.js} +3 -3
- package/dist/cjs/{useDemoBigStat-1fa1ca6a.js → useDemoBigStat-42fa7a69.js} +5 -5
- package/dist/cjs/{useLeaderboard-b712d583.js → useLeaderboard-6110cd94.js} +5 -5
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +3 -4
- package/dist/collection/components/sqm-image/Image.stories.js +25 -0
- package/dist/collection/components/sqm-image/sqm-image-view.js +32 -0
- package/dist/collection/components/sqm-image/sqm-image.js +137 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +3 -4
- package/dist/collection/components/sqm-media/HeroImage.stories.js +37 -0
- package/dist/collection/components/sqm-media/{sqm-media-view.js → sqm-hero-image-view.js} +26 -18
- package/dist/collection/components/sqm-media/{sqm-media.js → sqm-hero-image.js} +77 -38
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +8 -10
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -5
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -8
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +10 -12
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
- package/dist/collection/components/sqm-referral-card/sqm-timeline-entry.js +47 -16
- package/dist/collection/components/sqm-referral-card/sqm-timeline.js +21 -16
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +0 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
- package/dist/collection/components/sqm-refresh-button/sqm-refresh-button.js +1 -3
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -3
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -2
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +0 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +0 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +3 -4
- package/dist/collection/components/sqm-share-button/useShareButton.js +1 -2
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +0 -16
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +2 -2
- package/dist/collection/tables/GenericTableView.js +3 -4
- package/dist/esm/{AutoColor-9281c94b.js → AutoColor-5d891803.js} +101 -105
- package/dist/esm/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +5 -6
- package/dist/esm/{JSS-df9ea8a0.js → JSS-96eeab98.js} +39 -39
- package/dist/esm/{global-cc738e38.js → global-6bd9287e.js} +589 -589
- package/dist/esm/{index-2c5a6587.js → index-17b4da69.js} +104 -181
- package/dist/esm/{index.module-983975d9.js → index.module-ec3dcc82.js} +6374 -6374
- package/dist/esm/loader.js +7 -7
- package/dist/esm/{luxon-afa282c2.js → luxon-5fa22651.js} +2 -2
- package/dist/esm/mint-components.js +9 -9
- package/dist/esm/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +9 -9
- package/dist/esm/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +2 -2
- package/dist/esm/sqm-big-stat.entry.js +9 -9
- package/dist/esm/{sqm-brand_26.entry.js → sqm-brand_27.entry.js} +327 -251
- package/dist/esm/sqm-form-message.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +10 -10
- package/dist/esm/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +4 -4
- package/dist/esm/sqm-hero.entry.js +7 -7
- package/dist/esm/{sqm-leaderboard-rank-view-91a35c42.js → sqm-leaderboard-rank-view-da91f5f3.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +14 -15
- package/dist/esm/sqm-leaderboard.entry.js +9 -9
- package/dist/esm/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +10 -12
- package/dist/esm/sqm-name-fields.entry.js +9 -9
- package/dist/esm/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +11 -11
- package/dist/esm/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
- package/dist/esm/sqm-password-field.entry.js +26 -27
- package/dist/esm/sqm-popup-container.entry.js +9 -9
- package/dist/esm/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +13 -13
- package/dist/esm/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +9 -9
- package/dist/esm/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +13 -13
- package/dist/esm/sqm-portal-logout.entry.js +8 -8
- package/dist/esm/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +10 -13
- package/dist/esm/sqm-portal-profile.entry.js +16 -16
- package/dist/esm/sqm-portal-protected-route.entry.js +11 -11
- package/dist/esm/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +15 -15
- package/dist/esm/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +2 -2
- package/dist/esm/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +14 -14
- package/dist/esm/sqm-referral-table_11.entry.js +31 -31
- package/dist/esm/sqm-refresh-button.entry.js +7 -7
- package/dist/esm/sqm-rewards-table_9.entry.js +26 -27
- package/dist/esm/sqm-route.entry.js +2 -2
- package/dist/esm/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +2 -18
- package/dist/esm/sqm-stat-container.entry.js +6 -6
- package/dist/esm/sqm-stencilbook.entry.js +642 -599
- package/dist/esm/sqm-table-cell_3.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +5 -5
- package/dist/esm/sqm-titled-section.entry.js +6 -6
- package/dist/{cjs/stencil-hooks.module-23a5a83a.js → esm/stencil-hooks.module-2f159754.js} +40 -58
- package/dist/esm/{use-callback-cfeaefe1.js → use-callback-d8ef4b5d.js} +1 -1
- package/dist/esm/{useChildElements-9936fb9a.js → useChildElements-c11d6189.js} +3 -3
- package/dist/esm/{useDemoBigStat-5450ce4c.js → useDemoBigStat-e2295035.js} +5 -5
- package/dist/esm/{useLeaderboard-c0017437.js → useLeaderboard-5d875f53.js} +5 -5
- package/dist/esm-es5/AutoColor-5d891803.js +1 -0
- package/dist/esm-es5/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +1 -1
- package/dist/esm-es5/JSS-96eeab98.js +8 -0
- package/dist/esm-es5/global-6bd9287e.js +285 -0
- package/dist/esm-es5/index-17b4da69.js +1 -0
- package/dist/esm-es5/index.module-ec3dcc82.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-afa282c2.js → luxon-5fa22651.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-brand_27.entry.js +1 -0
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
- package/dist/esm-es5/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-refresh-button.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +1 -1
- package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-table-cell_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-titled-section.entry.js +1 -1
- package/dist/esm-es5/stencil-hooks.module-2f159754.js +53 -0
- package/dist/esm-es5/use-callback-d8ef4b5d.js +1 -0
- package/dist/esm-es5/useChildElements-c11d6189.js +1 -0
- package/dist/esm-es5/useDemoBigStat-e2295035.js +1 -0
- package/dist/esm-es5/useLeaderboard-5d875f53.js +1 -0
- package/dist/loader/index.d.ts +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-09357f10.system.entry.js → p-01748c80.system.entry.js} +1 -1
- package/dist/mint-components/p-023dcaee.js +1 -0
- package/dist/mint-components/{p-64d2bfb1.system.entry.js → p-067cf6da.system.entry.js} +1 -1
- package/dist/mint-components/p-0c19f830.entry.js +1 -0
- package/dist/mint-components/{p-0e97beb3.js → p-0e7e10b6.js} +1 -1
- package/dist/mint-components/p-1288be55.entry.js +1 -0
- package/dist/mint-components/{p-c4cedfef.system.entry.js → p-136e2028.system.entry.js} +1 -1
- package/dist/mint-components/{p-b138c9e4.system.js → p-16effd39.system.js} +1 -1
- package/dist/mint-components/{p-740a45df.js → p-179988b5.js} +1 -1
- package/dist/mint-components/{p-38045cb3.system.js → p-1959da16.system.js} +1 -1
- package/dist/mint-components/{p-408f48ec.system.entry.js → p-197d1027.system.entry.js} +1 -1
- package/dist/mint-components/{p-6e2e549a.js → p-1d1e9197.js} +1 -1
- package/dist/mint-components/p-204fd08c.js +1 -0
- package/dist/mint-components/p-220181cd.system.entry.js +1 -0
- package/dist/mint-components/p-232db563.system.entry.js +1 -0
- package/dist/mint-components/{p-ef4e8230.system.entry.js → p-2454f30a.system.entry.js} +1 -1
- package/dist/mint-components/p-24724b6b.entry.js +13 -0
- package/dist/mint-components/p-27e04aaf.entry.js +1 -0
- package/dist/mint-components/{p-96103ab1.system.js → p-2c49c7a8.system.js} +1 -1
- package/dist/mint-components/p-348461ec.system.entry.js +1 -0
- package/dist/mint-components/{p-747dc08d.js → p-373fa002.js} +1 -1
- package/dist/mint-components/p-3b184c32.js +1 -0
- package/dist/mint-components/{p-1ef9bc8f.system.js → p-3bbb90a9.system.js} +1 -1
- package/dist/mint-components/{p-4c5581b9.js → p-3dc2850c.js} +1 -1
- package/dist/mint-components/{p-e52d6c0f.js → p-3e556042.js} +1 -1
- package/dist/mint-components/{p-65d669e7.system.entry.js → p-4275c957.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5d104d8.system.js → p-4279da4b.system.js} +1 -1
- package/dist/mint-components/{p-fc103049.system.js → p-443c133e.system.js} +1 -1
- package/dist/mint-components/p-48abcb89.entry.js +86 -0
- package/dist/mint-components/p-49c9ff69.entry.js +1 -0
- package/dist/mint-components/{p-eba0f8b5.js → p-4a1b7d35.js} +1 -1
- package/dist/mint-components/p-4c21835b.entry.js +1 -0
- package/dist/mint-components/p-4e0b9201.system.js +1 -0
- package/dist/mint-components/{p-159a0455.system.entry.js → p-4e8e99bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-79b96b7c.js → p-509e6dc9.js} +4 -4
- package/dist/mint-components/p-5289072a.js +1 -0
- package/dist/mint-components/p-54986541.entry.js +1 -0
- package/dist/mint-components/{p-754c90b6.js → p-54e855a1.js} +1 -1
- package/dist/mint-components/{p-6d1fd7ef.js → p-591de129.js} +1 -1
- package/dist/mint-components/{p-2cf031e5.js → p-5c75acad.js} +1 -1
- package/dist/mint-components/{p-feb4ccf1.system.js → p-5df1d9ae.system.js} +1 -1
- package/dist/mint-components/{p-b094bf1f.system.entry.js → p-5e2b006a.system.entry.js} +1 -1
- package/dist/mint-components/{p-39ba54b0.js → p-61a542ec.js} +1 -1
- package/dist/mint-components/p-62625e22.entry.js +1 -0
- package/dist/mint-components/p-62e49806.system.entry.js +1 -0
- package/dist/mint-components/p-639d3dd3.entry.js +1 -0
- package/dist/mint-components/p-63a6475a.system.entry.js +1 -0
- package/dist/mint-components/{p-73246c5e.js → p-64c3217a.js} +1 -1
- package/dist/mint-components/{p-feea807c.system.js → p-6b43e4cc.system.js} +1 -1
- package/dist/mint-components/{p-a6940c14.system.entry.js → p-6e70be1c.system.entry.js} +1 -1
- package/dist/mint-components/p-6f88ea09.system.js +1 -0
- package/dist/mint-components/p-72a978c8.entry.js +1 -0
- package/dist/mint-components/{p-637a01d0.system.js → p-72c87c04.system.js} +1 -1
- package/dist/mint-components/{p-071fdcfa.js → p-73d5306f.js} +1 -1
- package/dist/mint-components/p-76325d9c.system.entry.js +1 -0
- package/dist/mint-components/{p-80eb9f8a.js → p-7a1ebc00.js} +15 -15
- package/dist/mint-components/{p-720d9f1a.system.entry.js → p-81681ebd.system.entry.js} +1 -1
- package/dist/mint-components/p-871536c7.entry.js +1 -0
- package/dist/mint-components/{p-9fa1fb4e.system.js → p-8bcaafaf.system.js} +1 -1
- package/dist/mint-components/{p-a6a9d6b7.system.entry.js → p-91ab2b0d.system.entry.js} +1 -1
- package/dist/mint-components/{p-efb82cfc.system.js → p-91d119ad.system.js} +1 -1
- package/dist/mint-components/p-9580888c.system.js +53 -0
- package/dist/mint-components/p-96c971fa.entry.js +1 -0
- package/dist/mint-components/p-97f843f9.system.entry.js +1 -0
- package/dist/mint-components/p-98393bf0.entry.js +1 -0
- package/dist/mint-components/{p-e46a4dc4.js → p-9b48d01e.js} +1 -1
- package/dist/mint-components/p-9f215c7f.entry.js +161 -0
- package/dist/mint-components/p-9f65904f.entry.js +1 -0
- package/dist/mint-components/{p-5cc0dc12.system.js → p-a09e3176.system.js} +1 -1
- package/dist/mint-components/p-a674c833.system.entry.js +1 -0
- package/dist/mint-components/p-ac5f63b1.entry.js +33 -0
- package/dist/mint-components/p-ac65007d.js +1 -0
- package/dist/mint-components/p-af5673c4.entry.js +1 -0
- package/dist/mint-components/p-b0c32d15.system.js +1 -0
- package/dist/mint-components/p-b0d6a380.system.js +1 -0
- package/dist/mint-components/p-b0e8c584.system.entry.js +1 -0
- package/dist/mint-components/p-b3201e4c.entry.js +1 -0
- package/dist/mint-components/p-b3735eaf.entry.js +9 -0
- package/dist/mint-components/p-b3af1c6f.js +1 -0
- package/dist/mint-components/p-b69365f5.entry.js +1 -0
- package/dist/mint-components/p-b77bb179.system.js +285 -0
- package/dist/mint-components/p-b7da9a8a.js +42 -0
- package/dist/mint-components/{p-e29935f9.system.js → p-b8434fc0.system.js} +1 -1
- package/dist/mint-components/p-b9974b87.entry.js +1 -0
- package/dist/mint-components/{p-86372145.system.entry.js → p-ba41fde8.system.entry.js} +1 -1
- package/dist/mint-components/{p-80493415.system.entry.js → p-bd0475a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-0ef64931.system.js → p-bf055b6c.system.js} +1 -1
- package/dist/mint-components/{p-1b2b1ba2.js → p-c157f510.js} +3 -3
- package/dist/mint-components/{p-16db729c.system.entry.js → p-c1a47137.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ca5b819.js → p-c2e84199.js} +1 -1
- package/dist/mint-components/p-cb93f2c8.entry.js +1 -0
- package/dist/mint-components/p-cd4037d1.entry.js +1 -0
- package/dist/mint-components/{p-d8e97fb7.system.js → p-ce0ec1c4.system.js} +1 -1
- package/dist/mint-components/p-d10efde1.system.js +1 -0
- package/dist/mint-components/p-d1520098.js +1 -0
- package/dist/mint-components/p-d312db42.entry.js +1 -0
- package/dist/mint-components/{p-d27c4eb5.js → p-d33eb961.js} +1 -1
- package/dist/mint-components/{p-5c4dec0c.system.entry.js → p-d6ef4765.system.entry.js} +1 -1
- package/dist/mint-components/p-dc17de12.entry.js +119 -0
- package/dist/mint-components/p-dcff1a85.entry.js +1 -0
- package/dist/mint-components/{p-6d6791b6.system.js → p-df466813.system.js} +1 -1
- package/dist/mint-components/{p-b81b4ebf.system.js → p-e00e11b1.system.js} +1 -1
- package/dist/mint-components/{p-35a8858e.system.js → p-e0be39d0.system.js} +1 -1
- package/dist/mint-components/{p-83e18382.system.entry.js → p-e1166d9b.system.entry.js} +1 -1
- package/dist/mint-components/{p-6353bf11.entry.js → p-e7b20665.entry.js} +1 -1
- package/dist/mint-components/{p-bb2bc191.system.js → p-ea110693.system.js} +1 -1
- package/dist/mint-components/p-ea197664.js +1 -0
- package/dist/mint-components/p-eb23e1b9.system.entry.js +1 -0
- package/dist/mint-components/{p-8c5bf8ee.system.js → p-eba2e455.system.js} +1 -1
- package/dist/mint-components/p-ef99c411.system.entry.js +1 -0
- package/dist/mint-components/p-f143117c.entry.js +1 -0
- package/dist/mint-components/p-f241ee8a.system.entry.js +1 -0
- package/dist/mint-components/p-f372c8d8.entry.js +1 -0
- package/dist/mint-components/p-f5cba1f7.system.entry.js +1 -0
- package/dist/mint-components/{p-82a02b17.system.js → p-f8d95abc.system.js} +1 -1
- package/dist/mint-components/{p-af859f26.js → p-f9008f86.js} +153 -153
- package/dist/mint-components/{p-4479f753.system.entry.js → p-fb8a587b.system.entry.js} +1 -1
- package/dist/mint-components/p-fe4d9531.system.js +1 -0
- package/dist/mint-components/p-ff17b3a4.system.js +1 -0
- package/dist/types/components/sqm-image/Image.stories.d.ts +11 -0
- package/dist/types/components/sqm-image/sqm-image-view.d.ts +8 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +31 -0
- package/dist/types/components/sqm-media/HeroImage.stories.d.ts +15 -0
- package/dist/types/components/sqm-media/{sqm-media-view.d.ts → sqm-hero-image-view.d.ts} +6 -3
- package/dist/types/components/sqm-media/{sqm-media.d.ts → sqm-hero-image.d.ts} +16 -9
- package/dist/types/components/sqm-referral-card/sqm-timeline-entry.d.ts +4 -0
- package/dist/types/components.d.ts +215 -138
- package/dist/types/stencil-public-runtime.d.ts +182 -190
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-media/Media.stories.js +0 -28
- package/dist/esm-es5/AutoColor-9281c94b.js +0 -1
- package/dist/esm-es5/JSS-df9ea8a0.js +0 -8
- package/dist/esm-es5/global-cc738e38.js +0 -285
- package/dist/esm-es5/index-2c5a6587.js +0 -1
- package/dist/esm-es5/index.module-983975d9.js +0 -1
- package/dist/esm-es5/sqm-brand_26.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-91a35c42.js +0 -1
- package/dist/esm-es5/stencil-hooks.module-1bcbec4f.js +0 -53
- package/dist/esm-es5/use-callback-cfeaefe1.js +0 -1
- package/dist/esm-es5/useChildElements-9936fb9a.js +0 -1
- package/dist/esm-es5/useDemoBigStat-5450ce4c.js +0 -1
- package/dist/esm-es5/useLeaderboard-c0017437.js +0 -1
- package/dist/mint-components/p-00894968.system.js +0 -1
- package/dist/mint-components/p-0449904d.system.entry.js +0 -1
- package/dist/mint-components/p-050bd4c1.entry.js +0 -1
- package/dist/mint-components/p-073c0485.system.js +0 -1
- package/dist/mint-components/p-09ae771c.system.entry.js +0 -1
- package/dist/mint-components/p-12557b30.js +0 -1
- package/dist/mint-components/p-15932a6d.entry.js +0 -1
- package/dist/mint-components/p-18e9e739.system.entry.js +0 -1
- package/dist/mint-components/p-1c0fac18.system.js +0 -1
- package/dist/mint-components/p-2012b3eb.entry.js +0 -1
- package/dist/mint-components/p-21bf87e9.system.js +0 -1
- package/dist/mint-components/p-2673d322.entry.js +0 -1
- package/dist/mint-components/p-32ec3994.entry.js +0 -161
- package/dist/mint-components/p-33bd2ff9.entry.js +0 -1
- package/dist/mint-components/p-3beda015.js +0 -1
- package/dist/mint-components/p-40849586.entry.js +0 -1
- package/dist/mint-components/p-40b91bd2.entry.js +0 -1
- package/dist/mint-components/p-40d9f8f3.entry.js +0 -1
- package/dist/mint-components/p-425ea70b.entry.js +0 -1
- package/dist/mint-components/p-46adc2cf.system.entry.js +0 -1
- package/dist/mint-components/p-4ac07db9.system.js +0 -1
- package/dist/mint-components/p-673d1d37.system.entry.js +0 -1
- package/dist/mint-components/p-6f2ab381.system.entry.js +0 -1
- package/dist/mint-components/p-71775f38.entry.js +0 -1
- package/dist/mint-components/p-746fa1fa.entry.js +0 -1
- package/dist/mint-components/p-77bf2413.entry.js +0 -1
- package/dist/mint-components/p-79339d1d.entry.js +0 -33
- package/dist/mint-components/p-7a24a7a4.system.entry.js +0 -1
- package/dist/mint-components/p-860513de.system.js +0 -53
- package/dist/mint-components/p-8873b8b0.system.entry.js +0 -1
- package/dist/mint-components/p-8b5f9502.system.entry.js +0 -1
- package/dist/mint-components/p-8f900354.system.entry.js +0 -1
- package/dist/mint-components/p-95b5aa14.system.js +0 -1
- package/dist/mint-components/p-a2c12d31.system.entry.js +0 -1
- package/dist/mint-components/p-a716fa21.entry.js +0 -1
- package/dist/mint-components/p-aa926a92.entry.js +0 -86
- package/dist/mint-components/p-adabc223.js +0 -1
- package/dist/mint-components/p-ae9a75d7.entry.js +0 -1
- package/dist/mint-components/p-aeaf1171.js +0 -1
- package/dist/mint-components/p-af8a82a5.entry.js +0 -1
- package/dist/mint-components/p-b094b800.js +0 -1
- package/dist/mint-components/p-c1509151.system.entry.js +0 -1
- package/dist/mint-components/p-c154b16e.system.entry.js +0 -1
- package/dist/mint-components/p-c164d3fe.js +0 -1
- package/dist/mint-components/p-c358211f.js +0 -1
- package/dist/mint-components/p-c824c2e5.system.js +0 -285
- package/dist/mint-components/p-ce5a08d0.entry.js +0 -119
- package/dist/mint-components/p-cfe598c1.js +0 -1
- package/dist/mint-components/p-cfe65695.entry.js +0 -1
- package/dist/mint-components/p-d2a2c424.js +0 -56
- package/dist/mint-components/p-d4c1b8e9.entry.js +0 -1
- package/dist/mint-components/p-d9bf4d77.entry.js +0 -1
- package/dist/mint-components/p-e341556f.entry.js +0 -13
- package/dist/mint-components/p-e551074e.system.js +0 -1
- package/dist/mint-components/p-e9a8a8f3.entry.js +0 -9
- package/dist/mint-components/p-eb3ce654.entry.js +0 -1
- package/dist/mint-components/p-eb4f3c85.entry.js +0 -1
- package/dist/mint-components/p-f0c38e7a.entry.js +0 -1
- package/dist/mint-components/p-f17cd500.entry.js +0 -1
- package/dist/mint-components/p-f39b5f6b.entry.js +0 -1
- package/dist/types/components/sqm-media/Media.stories.d.ts +0 -12
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-
|
|
2
|
-
import { s as src, m as memoize, S } from './index.module-
|
|
1
|
+
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-2f159754.js';
|
|
2
|
+
import { s as src, m as memoize, S } from './index.module-ec3dcc82.js';
|
|
3
3
|
import { i as insertCSS } from './insertcss-bcaf3818.js';
|
|
4
4
|
|
|
5
|
-
var __assign
|
|
6
|
-
__assign
|
|
5
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
6
|
+
__assign = Object.assign || function(t) {
|
|
7
7
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
8
|
s = arguments[i];
|
|
9
9
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -11,7 +11,7 @@ var __assign$2 = (undefined && undefined.__assign) || function () {
|
|
|
11
11
|
}
|
|
12
12
|
return t;
|
|
13
13
|
};
|
|
14
|
-
return __assign
|
|
14
|
+
return __assign.apply(this, arguments);
|
|
15
15
|
};
|
|
16
16
|
var MS_PER_SECOND = 1e3;
|
|
17
17
|
var SECS_PER_MIN = 60;
|
|
@@ -21,7 +21,7 @@ var SECS_PER_WEEK = SECS_PER_DAY * 7;
|
|
|
21
21
|
function selectUnit(from, to, thresholds) {
|
|
22
22
|
if (to === void 0) { to = Date.now(); }
|
|
23
23
|
if (thresholds === void 0) { thresholds = {}; }
|
|
24
|
-
var resolvedThresholds = __assign
|
|
24
|
+
var resolvedThresholds = __assign(__assign({}, DEFAULT_THRESHOLDS), (thresholds || {}));
|
|
25
25
|
var secs = (+from - +to) / MS_PER_SECOND;
|
|
26
26
|
if (Math.abs(secs) < resolvedThresholds.second) {
|
|
27
27
|
return {
|
|
@@ -87,7 +87,7 @@ const aliases = { "aa-SAAHO": "ssy", "aam": "aas", "aar": "aa", "abk": "ab", "ad
|
|
|
87
87
|
// prettier-ignore
|
|
88
88
|
const parentLocales = { "en-150": "en-001", "en-AG": "en-001", "en-AI": "en-001", "en-AU": "en-001", "en-BB": "en-001", "en-BM": "en-001", "en-BS": "en-001", "en-BW": "en-001", "en-BZ": "en-001", "en-CA": "en-001", "en-CC": "en-001", "en-CK": "en-001", "en-CM": "en-001", "en-CX": "en-001", "en-CY": "en-001", "en-DG": "en-001", "en-DM": "en-001", "en-ER": "en-001", "en-FJ": "en-001", "en-FK": "en-001", "en-FM": "en-001", "en-GB": "en-001", "en-GD": "en-001", "en-GG": "en-001", "en-GH": "en-001", "en-GI": "en-001", "en-GM": "en-001", "en-GY": "en-001", "en-HK": "en-001", "en-IE": "en-001", "en-IL": "en-001", "en-IM": "en-001", "en-IN": "en-001", "en-IO": "en-001", "en-JE": "en-001", "en-JM": "en-001", "en-KE": "en-001", "en-KI": "en-001", "en-KN": "en-001", "en-KY": "en-001", "en-LC": "en-001", "en-LR": "en-001", "en-LS": "en-001", "en-MG": "en-001", "en-MO": "en-001", "en-MS": "en-001", "en-MT": "en-001", "en-MU": "en-001", "en-MW": "en-001", "en-MY": "en-001", "en-NA": "en-001", "en-NF": "en-001", "en-NG": "en-001", "en-NR": "en-001", "en-NU": "en-001", "en-NZ": "en-001", "en-PG": "en-001", "en-PH": "en-001", "en-PK": "en-001", "en-PN": "en-001", "en-PW": "en-001", "en-RW": "en-001", "en-SB": "en-001", "en-SC": "en-001", "en-SD": "en-001", "en-SG": "en-001", "en-SH": "en-001", "en-SL": "en-001", "en-SS": "en-001", "en-SX": "en-001", "en-SZ": "en-001", "en-TC": "en-001", "en-TK": "en-001", "en-TO": "en-001", "en-TT": "en-001", "en-TV": "en-001", "en-TZ": "en-001", "en-UG": "en-001", "en-VC": "en-001", "en-VG": "en-001", "en-VU": "en-001", "en-WS": "en-001", "en-ZA": "en-001", "en-ZM": "en-001", "en-ZW": "en-001", "en-AT": "en-150", "en-BE": "en-150", "en-CH": "en-150", "en-DE": "en-150", "en-DK": "en-150", "en-FI": "en-150", "en-NL": "en-150", "en-SE": "en-150", "en-SI": "en-150", "es-AR": "es-419", "es-BO": "es-419", "es-BR": "es-419", "es-BZ": "es-419", "es-CL": "es-419", "es-CO": "es-419", "es-CR": "es-419", "es-CU": "es-419", "es-DO": "es-419", "es-EC": "es-419", "es-GT": "es-419", "es-HN": "es-419", "es-MX": "es-419", "es-NI": "es-419", "es-PA": "es-419", "es-PE": "es-419", "es-PR": "es-419", "es-PY": "es-419", "es-SV": "es-419", "es-US": "es-419", "es-UY": "es-419", "es-VE": "es-419", "pt-AO": "pt-PT", "pt-CH": "pt-PT", "pt-CV": "pt-PT", "pt-FR": "pt-PT", "pt-GQ": "pt-PT", "pt-GW": "pt-PT", "pt-LU": "pt-PT", "pt-MO": "pt-PT", "pt-MZ": "pt-PT", "pt-ST": "pt-PT", "pt-TL": "pt-PT", "zh-Hant-MO": "zh-Hant-HK" };
|
|
89
89
|
|
|
90
|
-
function invariant
|
|
90
|
+
function invariant(condition, message, Err) {
|
|
91
91
|
if (Err === void 0) { Err = Error; }
|
|
92
92
|
if (!condition) {
|
|
93
93
|
throw new Err(message);
|
|
@@ -107,7 +107,7 @@ function toObject(arg) {
|
|
|
107
107
|
/**
|
|
108
108
|
* https://tc39.es/ecma262/#sec-tostring
|
|
109
109
|
*/
|
|
110
|
-
function toString
|
|
110
|
+
function toString(o) {
|
|
111
111
|
// Only symbol is irregular...
|
|
112
112
|
if (typeof o === 'symbol') {
|
|
113
113
|
throw TypeError('Cannot convert a Symbol value to a string');
|
|
@@ -133,7 +133,7 @@ function getOption(opts, prop, type, values, fallback) {
|
|
|
133
133
|
value = Boolean(value);
|
|
134
134
|
}
|
|
135
135
|
if (type === 'string') {
|
|
136
|
-
value = toString
|
|
136
|
+
value = toString(value);
|
|
137
137
|
}
|
|
138
138
|
if (values !== undefined && !values.filter(function (val) { return val == value; }).length) {
|
|
139
139
|
throw new RangeError(value + " is not within " + values.join(', '));
|
|
@@ -228,7 +228,7 @@ function partitionPattern(pattern) {
|
|
|
228
228
|
var length = pattern.length;
|
|
229
229
|
while (beginIndex < pattern.length && beginIndex > -1) {
|
|
230
230
|
endIndex = pattern.indexOf('}', beginIndex);
|
|
231
|
-
invariant
|
|
231
|
+
invariant(endIndex > beginIndex, "Invalid pattern " + pattern);
|
|
232
232
|
if (beginIndex > nextIndex) {
|
|
233
233
|
result.push({
|
|
234
234
|
type: 'literal',
|
|
@@ -342,7 +342,7 @@ function getCanonicalLocales(locales) {
|
|
|
342
342
|
return Intl.DateTimeFormat.supportedLocalesOf(locales);
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
var __extends
|
|
345
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
346
346
|
var extendStatics = function (d, b) {
|
|
347
347
|
extendStatics = Object.setPrototypeOf ||
|
|
348
348
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -387,11 +387,11 @@ function createResolveLocale(getDefaultLocale) {
|
|
|
387
387
|
for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {
|
|
388
388
|
var key = relevantExtensionKeys_1[_i];
|
|
389
389
|
var foundLocaleData = localeData[foundLocale];
|
|
390
|
-
invariant
|
|
390
|
+
invariant(typeof foundLocaleData === 'object' && foundLocaleData !== null, "locale data " + key + " must be an object");
|
|
391
391
|
var keyLocaleData = foundLocaleData[key];
|
|
392
|
-
invariant
|
|
392
|
+
invariant(Array.isArray(keyLocaleData), "keyLocaleData for " + key + " must be an array");
|
|
393
393
|
var value = keyLocaleData[0];
|
|
394
|
-
invariant
|
|
394
|
+
invariant(typeof value === 'string' || value === null, 'value must be string or null');
|
|
395
395
|
var supportedExtensionAddition = '';
|
|
396
396
|
if (r.extension) {
|
|
397
397
|
var requestedValue = unicodeExtensionValue(r.extension, key);
|
|
@@ -410,7 +410,7 @@ function createResolveLocale(getDefaultLocale) {
|
|
|
410
410
|
}
|
|
411
411
|
if (key in options) {
|
|
412
412
|
var optionsValue = options[key];
|
|
413
|
-
invariant
|
|
413
|
+
invariant(typeof optionsValue === 'string' ||
|
|
414
414
|
typeof optionsValue === 'undefined' ||
|
|
415
415
|
optionsValue === null, 'optionsValue must be String, Undefined or Null');
|
|
416
416
|
if (~keyLocaleData.indexOf(optionsValue)) {
|
|
@@ -445,7 +445,7 @@ function createResolveLocale(getDefaultLocale) {
|
|
|
445
445
|
* @param key
|
|
446
446
|
*/
|
|
447
447
|
function unicodeExtensionValue(extension, key) {
|
|
448
|
-
invariant
|
|
448
|
+
invariant(key.length === 2, 'key must have 2 elements');
|
|
449
449
|
var size = extension.length;
|
|
450
450
|
var searchValue = "-" + key + "-";
|
|
451
451
|
var pos = extension.indexOf(searchValue);
|
|
@@ -587,7 +587,7 @@ function supportedLocales(availableLocales, requestedLocales, options) {
|
|
|
587
587
|
return lookupSupportedLocales(availableLocales, requestedLocales);
|
|
588
588
|
}
|
|
589
589
|
var MissingLocaleDataError = /** @class */ (function (_super) {
|
|
590
|
-
__extends
|
|
590
|
+
__extends(MissingLocaleDataError, _super);
|
|
591
591
|
function MissingLocaleDataError() {
|
|
592
592
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
593
593
|
_this.type = 'MISSING_LOCALE_DATA';
|
|
@@ -703,14 +703,14 @@ const lib = /*#__PURE__*/Object.freeze({
|
|
|
703
703
|
toObject: toObject,
|
|
704
704
|
objectIs: objectIs,
|
|
705
705
|
isWellFormedCurrencyCode: isWellFormedCurrencyCode,
|
|
706
|
-
toString: toString
|
|
706
|
+
toString: toString,
|
|
707
707
|
createResolveLocale: createResolveLocale,
|
|
708
708
|
getLocaleHierarchy: getLocaleHierarchy,
|
|
709
709
|
supportedLocales: supportedLocales,
|
|
710
710
|
unpackData: unpackData,
|
|
711
711
|
isMissingLocaleDataError: isMissingLocaleDataError,
|
|
712
712
|
getCanonicalLocales: getCanonicalLocales,
|
|
713
|
-
invariant: invariant
|
|
713
|
+
invariant: invariant,
|
|
714
714
|
SANCTIONED_UNITS: SANCTIONED_UNITS,
|
|
715
715
|
removeUnitNamespace: removeUnitNamespace,
|
|
716
716
|
get InternalSlotToken () { return InternalSlotToken; }
|
|
@@ -718,7 +718,7 @@ const lib = /*#__PURE__*/Object.freeze({
|
|
|
718
718
|
|
|
719
719
|
const intl_utils_1 = /*@__PURE__*/getAugmentedNamespace(lib);
|
|
720
720
|
|
|
721
|
-
var core
|
|
721
|
+
var core = createCommonjsModule(function (module, exports) {
|
|
722
722
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
723
723
|
__assign = Object.assign || function(t) {
|
|
724
724
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -1082,21 +1082,21 @@ try {
|
|
|
1082
1082
|
catch (e) {
|
|
1083
1083
|
// Meta fix so we're test262-compliant, not important
|
|
1084
1084
|
}
|
|
1085
|
-
|
|
1085
|
+
|
|
1086
1086
|
});
|
|
1087
1087
|
|
|
1088
|
-
createCommonjsModule(function (module, exports) {
|
|
1088
|
+
var polyfill = createCommonjsModule(function (module, exports) {
|
|
1089
1089
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1090
1090
|
|
|
1091
1091
|
if (!('RelativeTimeFormat' in Intl)) {
|
|
1092
1092
|
Object.defineProperty(Intl, 'RelativeTimeFormat', {
|
|
1093
|
-
value: core
|
|
1093
|
+
value: core.default,
|
|
1094
1094
|
writable: true,
|
|
1095
1095
|
enumerable: false,
|
|
1096
1096
|
configurable: true,
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
|
-
|
|
1099
|
+
|
|
1100
1100
|
});
|
|
1101
1101
|
|
|
1102
1102
|
/* @generated */
|
|
@@ -1105,7 +1105,7 @@ if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData ==
|
|
|
1105
1105
|
Intl.RelativeTimeFormat.__addLocaleData({"data":{"en-001":{"year-short":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr","other":"in {0} yr"},"past":{"one":"{0} yr ago","other":"{0} yr ago"},"-1":"last yr"},"year-narrow":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr","other":"in {0} yr"},"past":{"one":"{0} yr ago","other":"{0} yr ago"},"-1":"last yr"},"quarter-short":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr","other":"in {0} qtr"},"past":{"one":"{0} qtr ago","other":"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr","other":"in {0} qtr"},"past":{"one":"{0} qtr ago","other":"{0} qtr ago"},"-1":"last qtr."},"month-short":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo","other":"in {0} mo"},"past":{"one":"{0} mo ago","other":"{0} mo ago"},"-1":"last mo"},"month-narrow":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo","other":"in {0} mo"},"past":{"one":"{0} mo ago","other":"{0} mo ago"},"-1":"last mo"},"week-short":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk","other":"in {0} wk"},"past":{"one":"{0} wk ago","other":"{0} wk ago"},"-1":"last wk"},"week-narrow":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk","other":"in {0} wk"},"past":{"one":"{0} wk ago","other":"{0} wk ago"},"-1":"last wk"},"hour-short":{"0":"this hour","future":{"one":"in {0} hr","other":"in {0} hr"},"past":{"one":"{0} hr ago","other":"{0} hr ago"}},"hour-narrow":{"0":"this hour","future":{"one":"in {0} hr","other":"in {0} hr"},"past":{"one":"{0} hr ago","other":"{0} hr ago"}},"minute-short":{"0":"this minute","future":{"one":"in {0} min","other":"in {0} min"},"past":{"one":"{0} min ago","other":"{0} min ago"}},"minute-narrow":{"0":"this minute","future":{"one":"in {0} min","other":"in {0} min"},"past":{"one":"{0} min ago","other":"{0} min ago"}},"second-short":{"0":"now","future":{"one":"in {0} sec","other":"in {0} sec"},"past":{"one":"{0} sec ago","other":"{0} sec ago"}},"second-narrow":{"0":"now","future":{"one":"in {0} sec","other":"in {0} sec"},"past":{"one":"{0} sec ago","other":"{0} sec ago"}}},"en-150":{"year-short":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr","other":"in {0} yr"},"past":{"one":"{0} yr ago","other":"{0} yr ago"},"-1":"last yr"},"year-narrow":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr","other":"in {0} yr"},"past":{"one":"{0} yr ago","other":"{0} yr ago"},"-1":"last yr"},"quarter-short":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr","other":"in {0} qtr"},"past":{"one":"{0} qtr ago","other":"{0} qtr ago"},"-1":"last qtr."},"quarter-narrow":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr","other":"in {0} qtr"},"past":{"one":"{0} qtr ago","other":"{0} qtr ago"},"-1":"last qtr."},"month-short":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo","other":"in {0} mo"},"past":{"one":"{0} mo ago","other":"{0} mo ago"},"-1":"last mo"},"month-narrow":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo","other":"in {0} mo"},"past":{"one":"{0} mo ago","other":"{0} mo ago"},"-1":"last mo"},"week-short":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk","other":"in {0} wk"},"past":{"one":"{0} wk ago","other":"{0} wk ago"},"-1":"last wk"},"week-narrow":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk","other":"in {0} wk"},"past":{"one":"{0} wk ago","other":"{0} wk ago"},"-1":"last wk"},"hour-short":{"0":"this hour","future":{"one":"in {0} hr","other":"in {0} hr"},"past":{"one":"{0} hr ago","other":"{0} hr ago"}},"hour-narrow":{"0":"this hour","future":{"one":"in {0} hr","other":"in {0} hr"},"past":{"one":"{0} hr ago","other":"{0} hr ago"}},"minute-short":{"0":"this minute","future":{"one":"in {0} min","other":"in {0} min"},"past":{"one":"{0} min ago","other":"{0} min ago"}},"minute-narrow":{"0":"this minute","future":{"one":"in {0} min","other":"in {0} min"},"past":{"one":"{0} min ago","other":"{0} min ago"}},"second-short":{"0":"now","future":{"one":"in {0} sec","other":"in {0} sec"},"past":{"one":"{0} sec ago","other":"{0} sec ago"}},"second-narrow":{"0":"now","future":{"one":"in {0} sec","other":"in {0} sec"},"past":{"one":"{0} sec ago","other":"{0} sec ago"}}},"en-AU":{"year-short":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr","other":"in {0} yrs"},"past":{"one":"{0} yr ago","other":"{0} yrs ago"},"-1":"last yr"},"year-narrow":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr","other":"in {0} yrs"},"past":{"one":"{0} yr ago","other":"{0} yrs ago"},"-1":"last yr"},"quarter-short":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr","other":"in {0} qtrs"},"past":{"one":"{0} qtr ago","other":"{0} qtrs ago"},"-1":"last qtr."},"quarter-narrow":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr","other":"in {0} qtrs"},"past":{"one":"in {0} qtr ago","other":"{0} qtrs ago"},"-1":"last qtr."},"month-short":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"},"-1":"last mo"},"month-narrow":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"},"-1":"last mo"},"week-short":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk","other":"in {0} wks"},"past":{"one":"{0} wk ago","other":"{0} wks ago"},"-1":"last wk"},"week-narrow":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk","other":"in {0} wks"},"past":{"one":"{0} wk ago","other":"{0} wks ago"},"-1":"last wk"},"hour-short":{"0":"this hour","future":{"one":"in {0} hr","other":"in {0} hrs"},"past":{"one":"{0} hr ago","other":"{0} hrs ago"}},"hour-narrow":{"0":"this hour","future":{"one":"in {0} hr","other":"in {0} hrs"},"past":{"one":"{0} hr ago","other":"{0} hrs ago"}},"minute-short":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} mins"},"past":{"one":"{0} min. ago","other":"{0} mins ago"}},"minute-narrow":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} mins"},"past":{"one":"{0} min. ago","other":"{0} mins ago"}},"second-short":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} secs"},"past":{"one":"{0} sec. ago","other":"{0} secs ago"}},"second-narrow":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} secs"},"past":{"one":"{0} sec. ago","other":"{0} secs ago"}}},"en-CA":{"year-short":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr.","other":"in {0} yrs."},"past":{"one":"{0} yr. ago","other":"{0} yrs. ago"},"-1":"last yr"},"year-narrow":{"0":"this yr","1":"next yr","future":{"one":"in {0} yr.","other":"in {0} yrs."},"past":{"one":"{0} yr. ago","other":"{0} yrs. ago"},"-1":"last yr"},"quarter-short":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"-1":"last qtr."},"month-short":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo.","other":"in {0} mos."},"past":{"one":"{0} mo. ago","other":"{0} mos. ago"},"-1":"last mo"},"month-narrow":{"0":"this mo","1":"next mo","future":{"one":"in {0} mo.","other":"in {0} mos."},"past":{"one":"{0} mo. ago","other":"{0} mos. ago"},"-1":"last mo"},"week-short":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk.","other":"in {0} wks."},"past":{"one":"{0} wk. ago","other":"{0} wks. ago"},"-1":"last wk"},"week-narrow":{"0":"this wk","1":"next wk","future":{"one":"in {0} wk.","other":"in {0} wks."},"past":{"one":"{0} wk. ago","other":"{0} wks. ago"},"-1":"last wk"},"hour-short":{"0":"this hour","future":{"one":"in {0} hr.","other":"in {0} hrs."},"past":{"one":"{0} hr. ago","other":"{0} hrs. ago"}},"hour-narrow":{"0":"this hour","future":{"one":"in {0} hr.","other":"in {0} hrs."},"past":{"one":"{0} hr. ago","other":"{0} hrs. ago"}},"minute-short":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} mins."},"past":{"one":"{0} min. ago","other":"{0} mins. ago"}},"minute-narrow":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} mins."},"past":{"one":"{0} min. ago","other":"{0} mins. ago"}},"second-short":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} secs."},"past":{"one":"{0} sec. ago","other":"{0} secs. ago"}},"second-narrow":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} secs."},"past":{"one":"{0} sec. ago","other":"{0} secs. ago"}}},"en-SG":{"quarter-short":{"0":"this qtr","1":"next qtr","future":{"one":"in {0} qtr","other":"in {0} qtrs"},"past":{"one":"{0} qtr ago","other":"{0} qtrs ago"},"-1":"last qtr"},"quarter-narrow":{"0":"this qtr","1":"next qtr","future":{"one":"in {0} qtr","other":"in {0} qtr"},"past":{"one":"{0} qtr ago","other":"{0} qtr ago"},"-1":"last qtr"},"month-short":{"0":"this mth","1":"next mth","future":{"one":"in {0} mth","other":"in {0} mth"},"past":{"one":"{0} mth ago","other":"{0} mth ago"},"-1":"last mth"}},"en":{"nu":["latn"],"year":{"0":"this year","1":"next year","future":{"one":"in {0} year","other":"in {0} years"},"past":{"one":"{0} year ago","other":"{0} years ago"},"-1":"last year"},"year-short":{"0":"this yr.","1":"next yr.","future":{"one":"in {0} yr.","other":"in {0} yr."},"past":{"one":"{0} yr. ago","other":"{0} yr. ago"},"-1":"last yr."},"year-narrow":{"0":"this yr.","1":"next yr.","future":{"one":"in {0} yr.","other":"in {0} yr."},"past":{"one":"{0} yr. ago","other":"{0} yr. ago"},"-1":"last yr."},"quarter":{"0":"this quarter","1":"next quarter","future":{"one":"in {0} quarter","other":"in {0} quarters"},"past":{"one":"{0} quarter ago","other":"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"-1":"last qtr."},"month":{"0":"this month","1":"next month","future":{"one":"in {0} month","other":"in {0} months"},"past":{"one":"{0} month ago","other":"{0} months ago"},"-1":"last month"},"month-short":{"0":"this mo.","1":"next mo.","future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"},"-1":"last mo."},"month-narrow":{"0":"this mo.","1":"next mo.","future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"},"-1":"last mo."},"week":{"0":"this week","1":"next week","future":{"one":"in {0} week","other":"in {0} weeks"},"past":{"one":"{0} week ago","other":"{0} weeks ago"},"-1":"last week"},"week-short":{"0":"this wk.","1":"next wk.","future":{"one":"in {0} wk.","other":"in {0} wk."},"past":{"one":"{0} wk. ago","other":"{0} wk. ago"},"-1":"last wk."},"week-narrow":{"0":"this wk.","1":"next wk.","future":{"one":"in {0} wk.","other":"in {0} wk."},"past":{"one":"{0} wk. ago","other":"{0} wk. ago"},"-1":"last wk."},"day":{"0":"today","1":"tomorrow","future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"},"-1":"yesterday"},"day-short":{"0":"today","1":"tomorrow","future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"},"-1":"yesterday"},"day-narrow":{"0":"today","1":"tomorrow","future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"},"-1":"yesterday"},"hour":{"0":"this hour","future":{"one":"in {0} hour","other":"in {0} hours"},"past":{"one":"{0} hour ago","other":"{0} hours ago"}},"hour-short":{"0":"this hour","future":{"one":"in {0} hr.","other":"in {0} hr."},"past":{"one":"{0} hr. ago","other":"{0} hr. ago"}},"hour-narrow":{"0":"this hour","future":{"one":"in {0} hr.","other":"in {0} hr."},"past":{"one":"{0} hr. ago","other":"{0} hr. ago"}},"minute":{"0":"this minute","future":{"one":"in {0} minute","other":"in {0} minutes"},"past":{"one":"{0} minute ago","other":"{0} minutes ago"}},"minute-short":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} min."},"past":{"one":"{0} min. ago","other":"{0} min. ago"}},"minute-narrow":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} min."},"past":{"one":"{0} min. ago","other":"{0} min. ago"}},"second":{"0":"now","future":{"one":"in {0} second","other":"in {0} seconds"},"past":{"one":"{0} second ago","other":"{0} seconds ago"}},"second-short":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} sec."},"past":{"one":"{0} sec. ago","other":"{0} sec. ago"}},"second-narrow":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} sec."},"past":{"one":"{0} sec. ago","other":"{0} sec. ago"}}}},"availableLocales":["en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-US-POSIX","en-US","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","en"],"aliases":{},"parentLocales":{"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CA":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PH":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150"}});
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
|
-
var core = createCommonjsModule(function (module, exports) {
|
|
1108
|
+
var core$1 = createCommonjsModule(function (module, exports) {
|
|
1109
1109
|
var __spreadArrays = (commonjsGlobal && commonjsGlobal.__spreadArrays) || function () {
|
|
1110
1110
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
1111
1111
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
@@ -1297,10 +1297,10 @@ try {
|
|
|
1297
1297
|
catch (ex) {
|
|
1298
1298
|
// Meta fixes for test262
|
|
1299
1299
|
}
|
|
1300
|
-
|
|
1300
|
+
|
|
1301
1301
|
});
|
|
1302
1302
|
|
|
1303
|
-
createCommonjsModule(function (module, exports) {
|
|
1303
|
+
var polyfill$1 = createCommonjsModule(function (module, exports) {
|
|
1304
1304
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1305
1305
|
|
|
1306
1306
|
if (typeof Intl.PluralRules === 'undefined' ||
|
|
@@ -1308,13 +1308,13 @@ if (typeof Intl.PluralRules === 'undefined' ||
|
|
|
1308
1308
|
new Intl.PluralRules('en', { minimumFractionDigits: 2 }).select(1) ===
|
|
1309
1309
|
'one')) {
|
|
1310
1310
|
Object.defineProperty(Intl, 'PluralRules', {
|
|
1311
|
-
value: core.PluralRules,
|
|
1311
|
+
value: core$1.PluralRules,
|
|
1312
1312
|
writable: true,
|
|
1313
1313
|
enumerable: false,
|
|
1314
1314
|
configurable: true,
|
|
1315
1315
|
});
|
|
1316
1316
|
}
|
|
1317
|
-
|
|
1317
|
+
|
|
1318
1318
|
});
|
|
1319
1319
|
|
|
1320
1320
|
/* @generated */
|
|
@@ -1371,11 +1371,11 @@ var _anObject = function (it) {
|
|
|
1371
1371
|
return it;
|
|
1372
1372
|
};
|
|
1373
1373
|
|
|
1374
|
-
var document$
|
|
1374
|
+
var document$1 = _global.document;
|
|
1375
1375
|
// typeof document.createElement is 'object' in old IE
|
|
1376
|
-
var is = _isObject(document$
|
|
1376
|
+
var is = _isObject(document$1) && _isObject(document$1.createElement);
|
|
1377
1377
|
var _domCreate = function (it) {
|
|
1378
|
-
return is ? document$
|
|
1378
|
+
return is ? document$1.createElement(it) : {};
|
|
1379
1379
|
};
|
|
1380
1380
|
|
|
1381
1381
|
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
@@ -1395,14 +1395,14 @@ var _toPrimitive = function (it, S) {
|
|
|
1395
1395
|
throw TypeError("Can't convert object to primitive value");
|
|
1396
1396
|
};
|
|
1397
1397
|
|
|
1398
|
-
var dP
|
|
1398
|
+
var dP = Object.defineProperty;
|
|
1399
1399
|
|
|
1400
|
-
var f
|
|
1400
|
+
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
1401
1401
|
_anObject(O);
|
|
1402
1402
|
P = _toPrimitive(P, true);
|
|
1403
1403
|
_anObject(Attributes);
|
|
1404
1404
|
if (_ie8DomDefine) try {
|
|
1405
|
-
return dP
|
|
1405
|
+
return dP(O, P, Attributes);
|
|
1406
1406
|
} catch (e) { /* empty */ }
|
|
1407
1407
|
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
1408
1408
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
@@ -1410,7 +1410,7 @@ var f$7 = _descriptors ? Object.defineProperty : function defineProperty(O, P, A
|
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
1412
|
var _objectDp = {
|
|
1413
|
-
f: f
|
|
1413
|
+
f: f
|
|
1414
1414
|
};
|
|
1415
1415
|
|
|
1416
1416
|
var _propertyDesc = function (bitmap, value) {
|
|
@@ -1429,10 +1429,10 @@ var _hide = _descriptors ? function (object, key, value) {
|
|
|
1429
1429
|
return object;
|
|
1430
1430
|
};
|
|
1431
1431
|
|
|
1432
|
-
var id
|
|
1432
|
+
var id = 0;
|
|
1433
1433
|
var px = Math.random();
|
|
1434
1434
|
var _uid = function (key) {
|
|
1435
|
-
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id
|
|
1435
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
1436
1436
|
};
|
|
1437
1437
|
|
|
1438
1438
|
var _library = false;
|
|
@@ -1445,7 +1445,7 @@ var store = _global[SHARED] || (_global[SHARED] = {});
|
|
|
1445
1445
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1446
1446
|
})('versions', []).push({
|
|
1447
1447
|
version: _core.version,
|
|
1448
|
-
mode:
|
|
1448
|
+
mode: 'global',
|
|
1449
1449
|
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
1450
1450
|
});
|
|
1451
1451
|
});
|
|
@@ -1509,7 +1509,7 @@ var _ctx = function (fn, that, length) {
|
|
|
1509
1509
|
};
|
|
1510
1510
|
};
|
|
1511
1511
|
|
|
1512
|
-
var PROTOTYPE
|
|
1512
|
+
var PROTOTYPE = 'prototype';
|
|
1513
1513
|
|
|
1514
1514
|
var $export = function (type, name, source) {
|
|
1515
1515
|
var IS_FORCED = type & $export.F;
|
|
@@ -1517,9 +1517,9 @@ var $export = function (type, name, source) {
|
|
|
1517
1517
|
var IS_STATIC = type & $export.S;
|
|
1518
1518
|
var IS_PROTO = type & $export.P;
|
|
1519
1519
|
var IS_BIND = type & $export.B;
|
|
1520
|
-
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] || (_global[name] = {}) : (_global[name] || {})[PROTOTYPE
|
|
1520
|
+
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] || (_global[name] = {}) : (_global[name] || {})[PROTOTYPE];
|
|
1521
1521
|
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
1522
|
-
var expProto = exports[PROTOTYPE
|
|
1522
|
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
|
1523
1523
|
var key, own, out, exp;
|
|
1524
1524
|
if (IS_GLOBAL) source = name;
|
|
1525
1525
|
for (key in source) {
|
|
@@ -1620,21 +1620,21 @@ $exports.store = store;
|
|
|
1620
1620
|
|
|
1621
1621
|
var def = _objectDp.f;
|
|
1622
1622
|
|
|
1623
|
-
var TAG
|
|
1623
|
+
var TAG = _wks('toStringTag');
|
|
1624
1624
|
|
|
1625
1625
|
var _setToStringTag = function (it, tag, stat) {
|
|
1626
|
-
if (it && !_has(it = stat ? it : it.prototype, TAG
|
|
1626
|
+
if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
1627
1627
|
};
|
|
1628
1628
|
|
|
1629
|
-
var f$
|
|
1629
|
+
var f$1 = _wks;
|
|
1630
1630
|
|
|
1631
1631
|
var _wksExt = {
|
|
1632
|
-
f: f$
|
|
1632
|
+
f: f$1
|
|
1633
1633
|
};
|
|
1634
1634
|
|
|
1635
1635
|
var defineProperty = _objectDp.f;
|
|
1636
1636
|
var _wksDefine = function (name) {
|
|
1637
|
-
var $Symbol = _core.Symbol || (_core.Symbol =
|
|
1637
|
+
var $Symbol = _core.Symbol || (_core.Symbol = _global.Symbol || {});
|
|
1638
1638
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: _wksExt.f(name) });
|
|
1639
1639
|
};
|
|
1640
1640
|
|
|
@@ -1666,23 +1666,23 @@ var _toIobject = function (it) {
|
|
|
1666
1666
|
|
|
1667
1667
|
// 7.1.4 ToInteger
|
|
1668
1668
|
var ceil = Math.ceil;
|
|
1669
|
-
var floor
|
|
1669
|
+
var floor = Math.floor;
|
|
1670
1670
|
var _toInteger = function (it) {
|
|
1671
|
-
return isNaN(it = +it) ? 0 : (it > 0 ? floor
|
|
1671
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
1672
1672
|
};
|
|
1673
1673
|
|
|
1674
1674
|
// 7.1.15 ToLength
|
|
1675
1675
|
|
|
1676
|
-
var min
|
|
1676
|
+
var min = Math.min;
|
|
1677
1677
|
var _toLength = function (it) {
|
|
1678
|
-
return it > 0 ? min
|
|
1678
|
+
return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
1679
1679
|
};
|
|
1680
1680
|
|
|
1681
|
-
var max
|
|
1682
|
-
var min$
|
|
1681
|
+
var max = Math.max;
|
|
1682
|
+
var min$1 = Math.min;
|
|
1683
1683
|
var _toAbsoluteIndex = function (index, length) {
|
|
1684
1684
|
index = _toInteger(index);
|
|
1685
|
-
return index < 0 ? max
|
|
1685
|
+
return index < 0 ? max(index + length, 0) : min$1(index, length);
|
|
1686
1686
|
};
|
|
1687
1687
|
|
|
1688
1688
|
// false -> Array#indexOf
|
|
@@ -1709,21 +1709,21 @@ var _arrayIncludes = function (IS_INCLUDES) {
|
|
|
1709
1709
|
};
|
|
1710
1710
|
};
|
|
1711
1711
|
|
|
1712
|
-
var shared
|
|
1712
|
+
var shared = _shared('keys');
|
|
1713
1713
|
|
|
1714
1714
|
var _sharedKey = function (key) {
|
|
1715
|
-
return shared
|
|
1715
|
+
return shared[key] || (shared[key] = _uid(key));
|
|
1716
1716
|
};
|
|
1717
1717
|
|
|
1718
1718
|
var arrayIndexOf = _arrayIncludes(false);
|
|
1719
|
-
var IE_PROTO
|
|
1719
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
1720
1720
|
|
|
1721
1721
|
var _objectKeysInternal = function (object, names) {
|
|
1722
1722
|
var O = _toIobject(object);
|
|
1723
1723
|
var i = 0;
|
|
1724
1724
|
var result = [];
|
|
1725
1725
|
var key;
|
|
1726
|
-
for (key in O) if (key != IE_PROTO
|
|
1726
|
+
for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
|
|
1727
1727
|
// Don't enum bug & hidden keys
|
|
1728
1728
|
while (names.length > i) if (_has(O, key = names[i++])) {
|
|
1729
1729
|
~arrayIndexOf(result, key) || result.push(key);
|
|
@@ -1744,16 +1744,16 @@ var _objectKeys = Object.keys || function keys(O) {
|
|
|
1744
1744
|
return _objectKeysInternal(O, _enumBugKeys);
|
|
1745
1745
|
};
|
|
1746
1746
|
|
|
1747
|
-
var f$
|
|
1747
|
+
var f$2 = Object.getOwnPropertySymbols;
|
|
1748
1748
|
|
|
1749
1749
|
var _objectGops = {
|
|
1750
|
-
f: f$
|
|
1750
|
+
f: f$2
|
|
1751
1751
|
};
|
|
1752
1752
|
|
|
1753
|
-
var f$
|
|
1753
|
+
var f$3 = {}.propertyIsEnumerable;
|
|
1754
1754
|
|
|
1755
1755
|
var _objectPie = {
|
|
1756
|
-
f: f$
|
|
1756
|
+
f: f$3
|
|
1757
1757
|
};
|
|
1758
1758
|
|
|
1759
1759
|
// all enumerable object keys, includes symbols
|
|
@@ -1794,8 +1794,8 @@ var _objectDps = _descriptors ? Object.defineProperties : function definePropert
|
|
|
1794
1794
|
return O;
|
|
1795
1795
|
};
|
|
1796
1796
|
|
|
1797
|
-
var document$
|
|
1798
|
-
var _html = document$
|
|
1797
|
+
var document$2 = _global.document;
|
|
1798
|
+
var _html = document$2 && document$2.documentElement;
|
|
1799
1799
|
|
|
1800
1800
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
1801
1801
|
|
|
@@ -1843,51 +1843,51 @@ var _objectCreate = Object.create || function create(O, Properties) {
|
|
|
1843
1843
|
|
|
1844
1844
|
var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
|
|
1845
1845
|
|
|
1846
|
-
var f$
|
|
1846
|
+
var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1847
1847
|
return _objectKeysInternal(O, hiddenKeys);
|
|
1848
1848
|
};
|
|
1849
1849
|
|
|
1850
1850
|
var _objectGopn = {
|
|
1851
|
-
f: f$
|
|
1851
|
+
f: f$4
|
|
1852
1852
|
};
|
|
1853
1853
|
|
|
1854
1854
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
1855
1855
|
|
|
1856
|
-
var gOPN
|
|
1857
|
-
var toString = {}.toString;
|
|
1856
|
+
var gOPN = _objectGopn.f;
|
|
1857
|
+
var toString$2 = {}.toString;
|
|
1858
1858
|
|
|
1859
1859
|
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
|
1860
1860
|
? Object.getOwnPropertyNames(window) : [];
|
|
1861
1861
|
|
|
1862
1862
|
var getWindowNames = function (it) {
|
|
1863
1863
|
try {
|
|
1864
|
-
return gOPN
|
|
1864
|
+
return gOPN(it);
|
|
1865
1865
|
} catch (e) {
|
|
1866
1866
|
return windowNames.slice();
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
|
|
1870
|
-
var f$
|
|
1871
|
-
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN
|
|
1870
|
+
var f$5 = function getOwnPropertyNames(it) {
|
|
1871
|
+
return windowNames && toString$2.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(_toIobject(it));
|
|
1872
1872
|
};
|
|
1873
1873
|
|
|
1874
1874
|
var _objectGopnExt = {
|
|
1875
|
-
f: f$
|
|
1875
|
+
f: f$5
|
|
1876
1876
|
};
|
|
1877
1877
|
|
|
1878
|
-
var gOPD
|
|
1878
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
1879
1879
|
|
|
1880
|
-
var f$
|
|
1880
|
+
var f$6 = _descriptors ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
|
1881
1881
|
O = _toIobject(O);
|
|
1882
1882
|
P = _toPrimitive(P, true);
|
|
1883
1883
|
if (_ie8DomDefine) try {
|
|
1884
|
-
return gOPD
|
|
1884
|
+
return gOPD(O, P);
|
|
1885
1885
|
} catch (e) { /* empty */ }
|
|
1886
1886
|
if (_has(O, P)) return _propertyDesc(!_objectPie.f.call(O, P), O[P]);
|
|
1887
1887
|
};
|
|
1888
1888
|
|
|
1889
1889
|
var _objectGopd = {
|
|
1890
|
-
f: f$
|
|
1890
|
+
f: f$6
|
|
1891
1891
|
};
|
|
1892
1892
|
|
|
1893
1893
|
// ECMAScript 6 symbols shim
|
|
@@ -1918,63 +1918,63 @@ var META = _meta.KEY;
|
|
|
1918
1918
|
|
|
1919
1919
|
|
|
1920
1920
|
|
|
1921
|
-
var gOPD$
|
|
1922
|
-
var dP$
|
|
1923
|
-
var gOPN$
|
|
1921
|
+
var gOPD$1 = _objectGopd.f;
|
|
1922
|
+
var dP$1 = _objectDp.f;
|
|
1923
|
+
var gOPN$1 = _objectGopnExt.f;
|
|
1924
1924
|
var $Symbol = _global.Symbol;
|
|
1925
1925
|
var $JSON = _global.JSON;
|
|
1926
1926
|
var _stringify = $JSON && $JSON.stringify;
|
|
1927
|
-
var PROTOTYPE = 'prototype';
|
|
1927
|
+
var PROTOTYPE$2 = 'prototype';
|
|
1928
1928
|
var HIDDEN = _wks('_hidden');
|
|
1929
|
-
var TO_PRIMITIVE
|
|
1930
|
-
var isEnum
|
|
1929
|
+
var TO_PRIMITIVE = _wks('toPrimitive');
|
|
1930
|
+
var isEnum = {}.propertyIsEnumerable;
|
|
1931
1931
|
var SymbolRegistry = _shared('symbol-registry');
|
|
1932
1932
|
var AllSymbols = _shared('symbols');
|
|
1933
1933
|
var OPSymbols = _shared('op-symbols');
|
|
1934
|
-
var ObjectProto
|
|
1935
|
-
var USE_NATIVE
|
|
1934
|
+
var ObjectProto = Object[PROTOTYPE$2];
|
|
1935
|
+
var USE_NATIVE = typeof $Symbol == 'function' && !!_objectGops.f;
|
|
1936
1936
|
var QObject = _global.QObject;
|
|
1937
1937
|
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
|
1938
|
-
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
1938
|
+
var setter = !QObject || !QObject[PROTOTYPE$2] || !QObject[PROTOTYPE$2].findChild;
|
|
1939
1939
|
|
|
1940
1940
|
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
1941
1941
|
var setSymbolDesc = _descriptors && _fails(function () {
|
|
1942
|
-
return _objectCreate(dP$
|
|
1943
|
-
get: function () { return dP$
|
|
1942
|
+
return _objectCreate(dP$1({}, 'a', {
|
|
1943
|
+
get: function () { return dP$1(this, 'a', { value: 7 }).a; }
|
|
1944
1944
|
})).a != 7;
|
|
1945
1945
|
}) ? function (it, key, D) {
|
|
1946
|
-
var protoDesc = gOPD$
|
|
1947
|
-
if (protoDesc) delete ObjectProto
|
|
1948
|
-
dP$
|
|
1949
|
-
if (protoDesc && it !== ObjectProto
|
|
1950
|
-
} : dP$
|
|
1951
|
-
|
|
1952
|
-
var wrap
|
|
1953
|
-
var sym = AllSymbols[tag] = _objectCreate($Symbol[PROTOTYPE]);
|
|
1946
|
+
var protoDesc = gOPD$1(ObjectProto, key);
|
|
1947
|
+
if (protoDesc) delete ObjectProto[key];
|
|
1948
|
+
dP$1(it, key, D);
|
|
1949
|
+
if (protoDesc && it !== ObjectProto) dP$1(ObjectProto, key, protoDesc);
|
|
1950
|
+
} : dP$1;
|
|
1951
|
+
|
|
1952
|
+
var wrap = function (tag) {
|
|
1953
|
+
var sym = AllSymbols[tag] = _objectCreate($Symbol[PROTOTYPE$2]);
|
|
1954
1954
|
sym._k = tag;
|
|
1955
1955
|
return sym;
|
|
1956
1956
|
};
|
|
1957
1957
|
|
|
1958
|
-
var isSymbol = USE_NATIVE
|
|
1958
|
+
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
|
|
1959
1959
|
return typeof it == 'symbol';
|
|
1960
1960
|
} : function (it) {
|
|
1961
1961
|
return it instanceof $Symbol;
|
|
1962
1962
|
};
|
|
1963
1963
|
|
|
1964
1964
|
var $defineProperty = function defineProperty(it, key, D) {
|
|
1965
|
-
if (it === ObjectProto
|
|
1965
|
+
if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
|
|
1966
1966
|
_anObject(it);
|
|
1967
1967
|
key = _toPrimitive(key, true);
|
|
1968
1968
|
_anObject(D);
|
|
1969
1969
|
if (_has(AllSymbols, key)) {
|
|
1970
1970
|
if (!D.enumerable) {
|
|
1971
|
-
if (!_has(it, HIDDEN)) dP$
|
|
1971
|
+
if (!_has(it, HIDDEN)) dP$1(it, HIDDEN, _propertyDesc(1, {}));
|
|
1972
1972
|
it[HIDDEN][key] = true;
|
|
1973
1973
|
} else {
|
|
1974
1974
|
if (_has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
|
|
1975
1975
|
D = _objectCreate(D, { enumerable: _propertyDesc(0, false) });
|
|
1976
1976
|
} return setSymbolDesc(it, key, D);
|
|
1977
|
-
} return dP$
|
|
1977
|
+
} return dP$1(it, key, D);
|
|
1978
1978
|
};
|
|
1979
1979
|
var $defineProperties = function defineProperties(it, P) {
|
|
1980
1980
|
_anObject(it);
|
|
@@ -1989,20 +1989,20 @@ var $create = function create(it, P) {
|
|
|
1989
1989
|
return P === undefined ? _objectCreate(it) : $defineProperties(_objectCreate(it), P);
|
|
1990
1990
|
};
|
|
1991
1991
|
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
|
|
1992
|
-
var E = isEnum
|
|
1993
|
-
if (this === ObjectProto
|
|
1992
|
+
var E = isEnum.call(this, key = _toPrimitive(key, true));
|
|
1993
|
+
if (this === ObjectProto && _has(AllSymbols, key) && !_has(OPSymbols, key)) return false;
|
|
1994
1994
|
return E || !_has(this, key) || !_has(AllSymbols, key) || _has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
|
|
1995
1995
|
};
|
|
1996
|
-
var $getOwnPropertyDescriptor
|
|
1996
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
|
|
1997
1997
|
it = _toIobject(it);
|
|
1998
1998
|
key = _toPrimitive(key, true);
|
|
1999
|
-
if (it === ObjectProto
|
|
2000
|
-
var D = gOPD$
|
|
1999
|
+
if (it === ObjectProto && _has(AllSymbols, key) && !_has(OPSymbols, key)) return;
|
|
2000
|
+
var D = gOPD$1(it, key);
|
|
2001
2001
|
if (D && _has(AllSymbols, key) && !(_has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
|
|
2002
2002
|
return D;
|
|
2003
2003
|
};
|
|
2004
2004
|
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
|
2005
|
-
var names = gOPN$
|
|
2005
|
+
var names = gOPN$1(_toIobject(it));
|
|
2006
2006
|
var result = [];
|
|
2007
2007
|
var i = 0;
|
|
2008
2008
|
var key;
|
|
@@ -2011,58 +2011,58 @@ var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
|
|
2011
2011
|
} return result;
|
|
2012
2012
|
};
|
|
2013
2013
|
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
|
|
2014
|
-
var IS_OP = it === ObjectProto
|
|
2015
|
-
var names = gOPN$
|
|
2014
|
+
var IS_OP = it === ObjectProto;
|
|
2015
|
+
var names = gOPN$1(IS_OP ? OPSymbols : _toIobject(it));
|
|
2016
2016
|
var result = [];
|
|
2017
2017
|
var i = 0;
|
|
2018
2018
|
var key;
|
|
2019
2019
|
while (names.length > i) {
|
|
2020
|
-
if (_has(AllSymbols, key = names[i++]) && (IS_OP ? _has(ObjectProto
|
|
2020
|
+
if (_has(AllSymbols, key = names[i++]) && (IS_OP ? _has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
|
|
2021
2021
|
} return result;
|
|
2022
2022
|
};
|
|
2023
2023
|
|
|
2024
2024
|
// 19.4.1.1 Symbol([description])
|
|
2025
|
-
if (!USE_NATIVE
|
|
2025
|
+
if (!USE_NATIVE) {
|
|
2026
2026
|
$Symbol = function Symbol() {
|
|
2027
2027
|
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
|
|
2028
2028
|
var tag = _uid(arguments.length > 0 ? arguments[0] : undefined);
|
|
2029
2029
|
var $set = function (value) {
|
|
2030
|
-
if (this === ObjectProto
|
|
2030
|
+
if (this === ObjectProto) $set.call(OPSymbols, value);
|
|
2031
2031
|
if (_has(this, HIDDEN) && _has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
|
|
2032
2032
|
setSymbolDesc(this, tag, _propertyDesc(1, value));
|
|
2033
2033
|
};
|
|
2034
|
-
if (_descriptors && setter) setSymbolDesc(ObjectProto
|
|
2035
|
-
return wrap
|
|
2034
|
+
if (_descriptors && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
|
|
2035
|
+
return wrap(tag);
|
|
2036
2036
|
};
|
|
2037
|
-
_redefine($Symbol[PROTOTYPE], 'toString', function toString() {
|
|
2037
|
+
_redefine($Symbol[PROTOTYPE$2], 'toString', function toString() {
|
|
2038
2038
|
return this._k;
|
|
2039
2039
|
});
|
|
2040
2040
|
|
|
2041
|
-
_objectGopd.f = $getOwnPropertyDescriptor
|
|
2041
|
+
_objectGopd.f = $getOwnPropertyDescriptor;
|
|
2042
2042
|
_objectDp.f = $defineProperty;
|
|
2043
2043
|
_objectGopn.f = _objectGopnExt.f = $getOwnPropertyNames;
|
|
2044
2044
|
_objectPie.f = $propertyIsEnumerable;
|
|
2045
2045
|
_objectGops.f = $getOwnPropertySymbols;
|
|
2046
2046
|
|
|
2047
2047
|
if (_descriptors && !_library) {
|
|
2048
|
-
_redefine(ObjectProto
|
|
2048
|
+
_redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
|
2049
2049
|
}
|
|
2050
2050
|
|
|
2051
2051
|
_wksExt.f = function (name) {
|
|
2052
|
-
return wrap
|
|
2052
|
+
return wrap(_wks(name));
|
|
2053
2053
|
};
|
|
2054
2054
|
}
|
|
2055
2055
|
|
|
2056
|
-
_export(_export.G + _export.W + _export.F * !USE_NATIVE
|
|
2056
|
+
_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
2057
2057
|
|
|
2058
2058
|
for (var es6Symbols = (
|
|
2059
2059
|
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
|
|
2060
2060
|
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
|
|
2061
|
-
).split(','), j
|
|
2061
|
+
).split(','), j = 0; es6Symbols.length > j;)_wks(es6Symbols[j++]);
|
|
2062
2062
|
|
|
2063
2063
|
for (var wellKnownSymbols = _objectKeys(_wks.store), k = 0; wellKnownSymbols.length > k;) _wksDefine(wellKnownSymbols[k++]);
|
|
2064
2064
|
|
|
2065
|
-
_export(_export.S + _export.F * !USE_NATIVE
|
|
2065
|
+
_export(_export.S + _export.F * !USE_NATIVE, 'Symbol', {
|
|
2066
2066
|
// 19.4.2.1 Symbol.for(key)
|
|
2067
2067
|
'for': function (key) {
|
|
2068
2068
|
return _has(SymbolRegistry, key += '')
|
|
@@ -2078,7 +2078,7 @@ _export(_export.S + _export.F * !USE_NATIVE$1, 'Symbol', {
|
|
|
2078
2078
|
useSimple: function () { setter = false; }
|
|
2079
2079
|
});
|
|
2080
2080
|
|
|
2081
|
-
_export(_export.S + _export.F * !USE_NATIVE
|
|
2081
|
+
_export(_export.S + _export.F * !USE_NATIVE, 'Object', {
|
|
2082
2082
|
// 19.1.2.2 Object.create(O [, Properties])
|
|
2083
2083
|
create: $create,
|
|
2084
2084
|
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
|
@@ -2086,7 +2086,7 @@ _export(_export.S + _export.F * !USE_NATIVE$1, 'Object', {
|
|
|
2086
2086
|
// 19.1.2.3 Object.defineProperties(O, Properties)
|
|
2087
2087
|
defineProperties: $defineProperties,
|
|
2088
2088
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
2089
|
-
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
|
2089
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
|
2090
2090
|
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
2091
2091
|
getOwnPropertyNames: $getOwnPropertyNames,
|
|
2092
2092
|
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
|
@@ -2104,7 +2104,7 @@ _export(_export.S + _export.F * FAILS_ON_PRIMITIVES, 'Object', {
|
|
|
2104
2104
|
});
|
|
2105
2105
|
|
|
2106
2106
|
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
2107
|
-
$JSON && _export(_export.S + _export.F * (!USE_NATIVE
|
|
2107
|
+
$JSON && _export(_export.S + _export.F * (!USE_NATIVE || _fails(function () {
|
|
2108
2108
|
var S = $Symbol();
|
|
2109
2109
|
// MS Edge converts symbol values to JSON as {}
|
|
2110
2110
|
// WebKit converts symbol values to JSON as null
|
|
@@ -2128,7 +2128,7 @@ $JSON && _export(_export.S + _export.F * (!USE_NATIVE$1 || _fails(function () {
|
|
|
2128
2128
|
});
|
|
2129
2129
|
|
|
2130
2130
|
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
|
|
2131
|
-
$Symbol[PROTOTYPE][TO_PRIMITIVE
|
|
2131
|
+
$Symbol[PROTOTYPE$2][TO_PRIMITIVE] || _hide($Symbol[PROTOTYPE$2], TO_PRIMITIVE, $Symbol[PROTOTYPE$2].valueOf);
|
|
2132
2132
|
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
|
2133
2133
|
_setToStringTag($Symbol, 'Symbol');
|
|
2134
2134
|
// 20.2.1.9 Math[@@toStringTag]
|
|
@@ -2158,26 +2158,26 @@ var _objectSap = function (KEY, exec) {
|
|
|
2158
2158
|
|
|
2159
2159
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
2160
2160
|
|
|
2161
|
-
var $getOwnPropertyDescriptor = _objectGopd.f;
|
|
2161
|
+
var $getOwnPropertyDescriptor$1 = _objectGopd.f;
|
|
2162
2162
|
|
|
2163
2163
|
_objectSap('getOwnPropertyDescriptor', function () {
|
|
2164
2164
|
return function getOwnPropertyDescriptor(it, key) {
|
|
2165
|
-
return $getOwnPropertyDescriptor(_toIobject(it), key);
|
|
2165
|
+
return $getOwnPropertyDescriptor$1(_toIobject(it), key);
|
|
2166
2166
|
};
|
|
2167
2167
|
});
|
|
2168
2168
|
|
|
2169
2169
|
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
2170
2170
|
|
|
2171
2171
|
|
|
2172
|
-
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
2173
|
-
var ObjectProto = Object.prototype;
|
|
2172
|
+
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
2173
|
+
var ObjectProto$1 = Object.prototype;
|
|
2174
2174
|
|
|
2175
2175
|
var _objectGpo = Object.getPrototypeOf || function (O) {
|
|
2176
2176
|
O = _toObject(O);
|
|
2177
|
-
if (_has(O, IE_PROTO)) return O[IE_PROTO];
|
|
2177
|
+
if (_has(O, IE_PROTO$2)) return O[IE_PROTO$2];
|
|
2178
2178
|
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
|
2179
2179
|
return O.constructor.prototype;
|
|
2180
|
-
} return O instanceof Object ? ObjectProto : null;
|
|
2180
|
+
} return O instanceof Object ? ObjectProto$1 : null;
|
|
2181
2181
|
};
|
|
2182
2182
|
|
|
2183
2183
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
@@ -2207,11 +2207,11 @@ _objectSap('getOwnPropertyNames', function () {
|
|
|
2207
2207
|
|
|
2208
2208
|
// 19.1.2.5 Object.freeze(O)
|
|
2209
2209
|
|
|
2210
|
-
var meta
|
|
2210
|
+
var meta = _meta.onFreeze;
|
|
2211
2211
|
|
|
2212
2212
|
_objectSap('freeze', function ($freeze) {
|
|
2213
2213
|
return function freeze(it) {
|
|
2214
|
-
return $freeze && _isObject(it) ? $freeze(meta
|
|
2214
|
+
return $freeze && _isObject(it) ? $freeze(meta(it)) : it;
|
|
2215
2215
|
};
|
|
2216
2216
|
});
|
|
2217
2217
|
|
|
@@ -2227,11 +2227,11 @@ _objectSap('seal', function ($seal) {
|
|
|
2227
2227
|
|
|
2228
2228
|
// 19.1.2.15 Object.preventExtensions(O)
|
|
2229
2229
|
|
|
2230
|
-
var meta = _meta.onFreeze;
|
|
2230
|
+
var meta$2 = _meta.onFreeze;
|
|
2231
2231
|
|
|
2232
2232
|
_objectSap('preventExtensions', function ($preventExtensions) {
|
|
2233
2233
|
return function preventExtensions(it) {
|
|
2234
|
-
return $preventExtensions && _isObject(it) ? $preventExtensions(meta(it)) : it;
|
|
2234
|
+
return $preventExtensions && _isObject(it) ? $preventExtensions(meta$2(it)) : it;
|
|
2235
2235
|
};
|
|
2236
2236
|
});
|
|
2237
2237
|
|
|
@@ -2347,7 +2347,7 @@ _export(_export.S, 'Object', { setPrototypeOf: _setProto.set });
|
|
|
2347
2347
|
|
|
2348
2348
|
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
2349
2349
|
|
|
2350
|
-
var TAG = _wks('toStringTag');
|
|
2350
|
+
var TAG$1 = _wks('toStringTag');
|
|
2351
2351
|
// ES3 wrong here
|
|
2352
2352
|
var ARG = _cof(function () { return arguments; }()) == 'Arguments';
|
|
2353
2353
|
|
|
@@ -2362,7 +2362,7 @@ var _classof = function (it) {
|
|
|
2362
2362
|
var O, T, B;
|
|
2363
2363
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2364
2364
|
// @@toStringTag case
|
|
2365
|
-
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
2365
|
+
: typeof (T = tryGet(O = Object(it), TAG$1)) == 'string' ? T
|
|
2366
2366
|
// builtinTag case
|
|
2367
2367
|
: ARG ? _cof(O)
|
|
2368
2368
|
// ES3 arguments fallback
|
|
@@ -2371,9 +2371,9 @@ var _classof = function (it) {
|
|
|
2371
2371
|
|
|
2372
2372
|
// 19.1.3.6 Object.prototype.toString()
|
|
2373
2373
|
|
|
2374
|
-
var test
|
|
2375
|
-
test
|
|
2376
|
-
if (test
|
|
2374
|
+
var test = {};
|
|
2375
|
+
test[_wks('toStringTag')] = 'z';
|
|
2376
|
+
if (test + '' != '[object z]') {
|
|
2377
2377
|
_redefine(Object.prototype, 'toString', function toString() {
|
|
2378
2378
|
return '[object ' + _classof(this) + ']';
|
|
2379
2379
|
}, true);
|
|
@@ -2396,7 +2396,7 @@ var _invoke = function (fn, args, that) {
|
|
|
2396
2396
|
} return fn.apply(that, args);
|
|
2397
2397
|
};
|
|
2398
2398
|
|
|
2399
|
-
var arraySlice
|
|
2399
|
+
var arraySlice = [].slice;
|
|
2400
2400
|
var factories = {};
|
|
2401
2401
|
|
|
2402
2402
|
var construct = function (F, len, args) {
|
|
@@ -2409,9 +2409,9 @@ var construct = function (F, len, args) {
|
|
|
2409
2409
|
|
|
2410
2410
|
var _bind = Function.bind || function bind(that /* , ...args */) {
|
|
2411
2411
|
var fn = _aFunction(this);
|
|
2412
|
-
var partArgs = arraySlice
|
|
2412
|
+
var partArgs = arraySlice.call(arguments, 1);
|
|
2413
2413
|
var bound = function (/* args... */) {
|
|
2414
|
-
var args = partArgs.concat(arraySlice
|
|
2414
|
+
var args = partArgs.concat(arraySlice.call(arguments));
|
|
2415
2415
|
return this instanceof bound ? construct(fn, args.length, args) : _invoke(fn, args, that);
|
|
2416
2416
|
};
|
|
2417
2417
|
if (_isObject(fn.prototype)) bound.prototype = fn.prototype;
|
|
@@ -2423,13 +2423,13 @@ var _bind = Function.bind || function bind(that /* , ...args */) {
|
|
|
2423
2423
|
|
|
2424
2424
|
_export(_export.P, 'Function', { bind: _bind });
|
|
2425
2425
|
|
|
2426
|
-
var dP$
|
|
2426
|
+
var dP$2 = _objectDp.f;
|
|
2427
2427
|
var FProto = Function.prototype;
|
|
2428
2428
|
var nameRE = /^\s*function ([^ (]*)/;
|
|
2429
|
-
var NAME
|
|
2429
|
+
var NAME = 'name';
|
|
2430
2430
|
|
|
2431
2431
|
// 19.2.4.2 name
|
|
2432
|
-
NAME
|
|
2432
|
+
NAME in FProto || _descriptors && dP$2(FProto, NAME, {
|
|
2433
2433
|
configurable: true,
|
|
2434
2434
|
get: function () {
|
|
2435
2435
|
try {
|
|
@@ -2482,12 +2482,12 @@ var trim = exporter.trim = function (string, TYPE) {
|
|
|
2482
2482
|
var _stringTrim = exporter;
|
|
2483
2483
|
|
|
2484
2484
|
var $parseInt = _global.parseInt;
|
|
2485
|
-
var $trim
|
|
2485
|
+
var $trim = _stringTrim.trim;
|
|
2486
2486
|
|
|
2487
2487
|
var hex = /^[-+]?0[xX]/;
|
|
2488
2488
|
|
|
2489
2489
|
var _parseInt = $parseInt(_stringWs + '08') !== 8 || $parseInt(_stringWs + '0x16') !== 22 ? function parseInt(str, radix) {
|
|
2490
|
-
var string = $trim
|
|
2490
|
+
var string = $trim(String(str), 3);
|
|
2491
2491
|
return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
|
|
2492
2492
|
} : $parseInt;
|
|
2493
2493
|
|
|
@@ -2515,23 +2515,23 @@ var _inheritIfRequired = function (that, target, C) {
|
|
|
2515
2515
|
} return that;
|
|
2516
2516
|
};
|
|
2517
2517
|
|
|
2518
|
-
var gOPN$
|
|
2519
|
-
var gOPD$
|
|
2520
|
-
var dP$
|
|
2521
|
-
var $trim = _stringTrim.trim;
|
|
2522
|
-
var NUMBER
|
|
2523
|
-
var $Number = _global[NUMBER
|
|
2524
|
-
var Base
|
|
2525
|
-
var proto
|
|
2518
|
+
var gOPN$2 = _objectGopn.f;
|
|
2519
|
+
var gOPD$2 = _objectGopd.f;
|
|
2520
|
+
var dP$3 = _objectDp.f;
|
|
2521
|
+
var $trim$2 = _stringTrim.trim;
|
|
2522
|
+
var NUMBER = 'Number';
|
|
2523
|
+
var $Number = _global[NUMBER];
|
|
2524
|
+
var Base = $Number;
|
|
2525
|
+
var proto = $Number.prototype;
|
|
2526
2526
|
// Opera ~12 has broken Object#toString
|
|
2527
|
-
var BROKEN_COF = _cof(_objectCreate(proto
|
|
2527
|
+
var BROKEN_COF = _cof(_objectCreate(proto)) == NUMBER;
|
|
2528
2528
|
var TRIM = 'trim' in String.prototype;
|
|
2529
2529
|
|
|
2530
2530
|
// 7.1.3 ToNumber(argument)
|
|
2531
2531
|
var toNumber = function (argument) {
|
|
2532
2532
|
var it = _toPrimitive(argument, false);
|
|
2533
2533
|
if (typeof it == 'string' && it.length > 2) {
|
|
2534
|
-
it = TRIM ? it.trim() : $trim(it, 3);
|
|
2534
|
+
it = TRIM ? it.trim() : $trim$2(it, 3);
|
|
2535
2535
|
var first = it.charCodeAt(0);
|
|
2536
2536
|
var third, radix, maxCode;
|
|
2537
2537
|
if (first === 43 || first === 45) {
|
|
@@ -2559,23 +2559,23 @@ if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
|
2559
2559
|
var that = this;
|
|
2560
2560
|
return that instanceof $Number
|
|
2561
2561
|
// check on 1..constructor(foo) case
|
|
2562
|
-
&& (BROKEN_COF ? _fails(function () { proto
|
|
2563
|
-
? _inheritIfRequired(new Base
|
|
2562
|
+
&& (BROKEN_COF ? _fails(function () { proto.valueOf.call(that); }) : _cof(that) != NUMBER)
|
|
2563
|
+
? _inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
|
|
2564
2564
|
};
|
|
2565
|
-
for (var keys
|
|
2565
|
+
for (var keys = _descriptors ? gOPN$2(Base) : (
|
|
2566
2566
|
// ES3:
|
|
2567
2567
|
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2568
2568
|
// ES6 (in case, if modules with ES6 Number statics required before):
|
|
2569
2569
|
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
|
2570
2570
|
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
|
2571
|
-
).split(','), j = 0, key
|
|
2572
|
-
if (_has(Base
|
|
2573
|
-
dP$
|
|
2571
|
+
).split(','), j$1 = 0, key; keys.length > j$1; j$1++) {
|
|
2572
|
+
if (_has(Base, key = keys[j$1]) && !_has($Number, key)) {
|
|
2573
|
+
dP$3($Number, key, gOPD$2(Base, key));
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
|
-
$Number.prototype = proto
|
|
2577
|
-
proto
|
|
2578
|
-
_redefine(_global, NUMBER
|
|
2576
|
+
$Number.prototype = proto;
|
|
2577
|
+
proto.constructor = $Number;
|
|
2578
|
+
_redefine(_global, NUMBER, $Number);
|
|
2579
2579
|
}
|
|
2580
2580
|
|
|
2581
2581
|
var _aNumberValue = function (it, msg) {
|
|
@@ -2593,7 +2593,7 @@ var _stringRepeat = function repeat(count) {
|
|
|
2593
2593
|
};
|
|
2594
2594
|
|
|
2595
2595
|
var $toFixed = 1.0.toFixed;
|
|
2596
|
-
var floor$
|
|
2596
|
+
var floor$1 = Math.floor;
|
|
2597
2597
|
var data = [0, 0, 0, 0, 0, 0];
|
|
2598
2598
|
var ERROR = 'Number.toFixed: incorrect invocation!';
|
|
2599
2599
|
var ZERO = '0';
|
|
@@ -2604,7 +2604,7 @@ var multiply = function (n, c) {
|
|
|
2604
2604
|
while (++i < 6) {
|
|
2605
2605
|
c2 += n * data[i];
|
|
2606
2606
|
data[i] = c2 % 1e7;
|
|
2607
|
-
c2 = floor$
|
|
2607
|
+
c2 = floor$1(c2 / 1e7);
|
|
2608
2608
|
}
|
|
2609
2609
|
};
|
|
2610
2610
|
var divide = function (n) {
|
|
@@ -2612,7 +2612,7 @@ var divide = function (n) {
|
|
|
2612
2612
|
var c = 0;
|
|
2613
2613
|
while (--i >= 0) {
|
|
2614
2614
|
c += data[i];
|
|
2615
|
-
data[i] = floor$
|
|
2615
|
+
data[i] = floor$1(c / n);
|
|
2616
2616
|
c = (c % n) * 1e7;
|
|
2617
2617
|
}
|
|
2618
2618
|
};
|
|
@@ -2626,8 +2626,8 @@ var numToString = function () {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
} return s;
|
|
2628
2628
|
};
|
|
2629
|
-
var pow
|
|
2630
|
-
return n === 0 ? acc : n % 2 === 1 ? pow
|
|
2629
|
+
var pow = function (x, n, acc) {
|
|
2630
|
+
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
2631
2631
|
};
|
|
2632
2632
|
var log = function (x) {
|
|
2633
2633
|
var n = 0;
|
|
@@ -2666,8 +2666,8 @@ _export(_export.P + _export.F * (!!$toFixed && (
|
|
|
2666
2666
|
x = -x;
|
|
2667
2667
|
}
|
|
2668
2668
|
if (x > 1e-21) {
|
|
2669
|
-
e = log(x * pow
|
|
2670
|
-
z = e < 0 ? x * pow
|
|
2669
|
+
e = log(x * pow(2, 69, 1)) - 69;
|
|
2670
|
+
z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
|
|
2671
2671
|
z *= 0x10000000000000;
|
|
2672
2672
|
e = 52 - e;
|
|
2673
2673
|
if (e > 0) {
|
|
@@ -2677,7 +2677,7 @@ _export(_export.P + _export.F * (!!$toFixed && (
|
|
|
2677
2677
|
multiply(1e7, 0);
|
|
2678
2678
|
j -= 7;
|
|
2679
2679
|
}
|
|
2680
|
-
multiply(pow
|
|
2680
|
+
multiply(pow(10, j, 1), 0);
|
|
2681
2681
|
j = e - 1;
|
|
2682
2682
|
while (j >= 23) {
|
|
2683
2683
|
divide(1 << 23);
|
|
@@ -2734,9 +2734,9 @@ _export(_export.S, 'Number', {
|
|
|
2734
2734
|
|
|
2735
2735
|
// 20.1.2.3 Number.isInteger(number)
|
|
2736
2736
|
|
|
2737
|
-
var floor$
|
|
2737
|
+
var floor$2 = Math.floor;
|
|
2738
2738
|
var _isInteger = function isInteger(it) {
|
|
2739
|
-
return !_isObject(it) && isFinite(it) && floor$
|
|
2739
|
+
return !_isObject(it) && isFinite(it) && floor$2(it) === it;
|
|
2740
2740
|
};
|
|
2741
2741
|
|
|
2742
2742
|
// 20.1.2.3 Number.isInteger(number)
|
|
@@ -2757,11 +2757,11 @@ _export(_export.S, 'Number', {
|
|
|
2757
2757
|
// 20.1.2.5 Number.isSafeInteger(number)
|
|
2758
2758
|
|
|
2759
2759
|
|
|
2760
|
-
var abs
|
|
2760
|
+
var abs = Math.abs;
|
|
2761
2761
|
|
|
2762
2762
|
_export(_export.S, 'Number', {
|
|
2763
2763
|
isSafeInteger: function isSafeInteger(number) {
|
|
2764
|
-
return _isInteger(number) && abs
|
|
2764
|
+
return _isInteger(number) && abs(number) <= 0x1fffffffffffff;
|
|
2765
2765
|
}
|
|
2766
2766
|
});
|
|
2767
2767
|
|
|
@@ -2854,11 +2854,11 @@ _export(_export.S, 'Math', {
|
|
|
2854
2854
|
|
|
2855
2855
|
// 20.2.2.12 Math.cosh(x)
|
|
2856
2856
|
|
|
2857
|
-
var exp
|
|
2857
|
+
var exp = Math.exp;
|
|
2858
2858
|
|
|
2859
2859
|
_export(_export.S, 'Math', {
|
|
2860
2860
|
cosh: function cosh(x) {
|
|
2861
|
-
return (exp
|
|
2861
|
+
return (exp(x = +x) + exp(-x)) / 2;
|
|
2862
2862
|
}
|
|
2863
2863
|
});
|
|
2864
2864
|
|
|
@@ -2881,11 +2881,11 @@ _export(_export.S + _export.F * (_mathExpm1 != Math.expm1), 'Math', { expm1: _ma
|
|
|
2881
2881
|
|
|
2882
2882
|
// 20.2.2.16 Math.fround(x)
|
|
2883
2883
|
|
|
2884
|
-
var pow = Math.pow;
|
|
2885
|
-
var EPSILON = pow(2, -52);
|
|
2886
|
-
var EPSILON32 = pow(2, -23);
|
|
2887
|
-
var MAX32 = pow(2, 127) * (2 - EPSILON32);
|
|
2888
|
-
var MIN32 = pow(2, -126);
|
|
2884
|
+
var pow$1 = Math.pow;
|
|
2885
|
+
var EPSILON = pow$1(2, -52);
|
|
2886
|
+
var EPSILON32 = pow$1(2, -23);
|
|
2887
|
+
var MAX32 = pow$1(2, 127) * (2 - EPSILON32);
|
|
2888
|
+
var MIN32 = pow$1(2, -126);
|
|
2889
2889
|
|
|
2890
2890
|
var roundTiesToEven = function (n) {
|
|
2891
2891
|
return n + 1 / EPSILON - 1 / EPSILON;
|
|
@@ -2910,7 +2910,7 @@ _export(_export.S, 'Math', { fround: _mathFround });
|
|
|
2910
2910
|
|
|
2911
2911
|
// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
|
|
2912
2912
|
|
|
2913
|
-
var abs = Math.abs;
|
|
2913
|
+
var abs$1 = Math.abs;
|
|
2914
2914
|
|
|
2915
2915
|
_export(_export.S, 'Math', {
|
|
2916
2916
|
hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars
|
|
@@ -2920,7 +2920,7 @@ _export(_export.S, 'Math', {
|
|
|
2920
2920
|
var larg = 0;
|
|
2921
2921
|
var arg, div;
|
|
2922
2922
|
while (i < aLen) {
|
|
2923
|
-
arg = abs(arguments[i++]);
|
|
2923
|
+
arg = abs$1(arguments[i++]);
|
|
2924
2924
|
if (larg < arg) {
|
|
2925
2925
|
div = larg / arg;
|
|
2926
2926
|
sum = sum * div * div + 1;
|
|
@@ -2983,7 +2983,7 @@ _export(_export.S, 'Math', { sign: _mathSign });
|
|
|
2983
2983
|
// 20.2.2.30 Math.sinh(x)
|
|
2984
2984
|
|
|
2985
2985
|
|
|
2986
|
-
var exp$
|
|
2986
|
+
var exp$1 = Math.exp;
|
|
2987
2987
|
|
|
2988
2988
|
// V8 near Chromium 38 has a problem with very small numbers
|
|
2989
2989
|
_export(_export.S + _export.F * _fails(function () {
|
|
@@ -2992,20 +2992,20 @@ _export(_export.S + _export.F * _fails(function () {
|
|
|
2992
2992
|
sinh: function sinh(x) {
|
|
2993
2993
|
return Math.abs(x = +x) < 1
|
|
2994
2994
|
? (_mathExpm1(x) - _mathExpm1(-x)) / 2
|
|
2995
|
-
: (exp$
|
|
2995
|
+
: (exp$1(x - 1) - exp$1(-x - 1)) * (Math.E / 2);
|
|
2996
2996
|
}
|
|
2997
2997
|
});
|
|
2998
2998
|
|
|
2999
2999
|
// 20.2.2.33 Math.tanh(x)
|
|
3000
3000
|
|
|
3001
3001
|
|
|
3002
|
-
var exp$
|
|
3002
|
+
var exp$2 = Math.exp;
|
|
3003
3003
|
|
|
3004
3004
|
_export(_export.S, 'Math', {
|
|
3005
3005
|
tanh: function tanh(x) {
|
|
3006
3006
|
var a = _mathExpm1(x = +x);
|
|
3007
3007
|
var b = _mathExpm1(-x);
|
|
3008
|
-
return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp$
|
|
3008
|
+
return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp$2(x) + exp$2(-x));
|
|
3009
3009
|
}
|
|
3010
3010
|
});
|
|
3011
3011
|
|
|
@@ -3090,7 +3090,7 @@ var _iterCreate = function (Constructor, NAME, next) {
|
|
|
3090
3090
|
_setToStringTag(Constructor, NAME + ' Iterator');
|
|
3091
3091
|
};
|
|
3092
3092
|
|
|
3093
|
-
var ITERATOR
|
|
3093
|
+
var ITERATOR = _wks('iterator');
|
|
3094
3094
|
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
|
3095
3095
|
var FF_ITERATOR = '@@iterator';
|
|
3096
3096
|
var KEYS = 'keys';
|
|
@@ -3111,7 +3111,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3111
3111
|
var DEF_VALUES = DEFAULT == VALUES;
|
|
3112
3112
|
var VALUES_BUG = false;
|
|
3113
3113
|
var proto = Base.prototype;
|
|
3114
|
-
var $native = proto[ITERATOR
|
|
3114
|
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
|
3115
3115
|
var $default = $native || getMethod(DEFAULT);
|
|
3116
3116
|
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
|
3117
3117
|
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
|
@@ -3123,7 +3123,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3123
3123
|
// Set @@toStringTag to native iterators
|
|
3124
3124
|
_setToStringTag(IteratorPrototype, TAG, true);
|
|
3125
3125
|
// fix for some old engines
|
|
3126
|
-
if (typeof IteratorPrototype[ITERATOR
|
|
3126
|
+
if ( typeof IteratorPrototype[ITERATOR] != 'function') _hide(IteratorPrototype, ITERATOR, returnThis);
|
|
3127
3127
|
}
|
|
3128
3128
|
}
|
|
3129
3129
|
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
@@ -3132,8 +3132,8 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3132
3132
|
$default = function values() { return $native.call(this); };
|
|
3133
3133
|
}
|
|
3134
3134
|
// Define iterator
|
|
3135
|
-
if ((BUGGY || VALUES_BUG || !proto[ITERATOR
|
|
3136
|
-
_hide(proto, ITERATOR
|
|
3135
|
+
if ( (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
|
3136
|
+
_hide(proto, ITERATOR, $default);
|
|
3137
3137
|
}
|
|
3138
3138
|
// Plug for library
|
|
3139
3139
|
_iterators[NAME] = $default;
|
|
@@ -3151,7 +3151,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3151
3151
|
return methods;
|
|
3152
3152
|
};
|
|
3153
3153
|
|
|
3154
|
-
var $at
|
|
3154
|
+
var $at = _stringAt(true);
|
|
3155
3155
|
|
|
3156
3156
|
// 21.1.3.27 String.prototype[@@iterator]()
|
|
3157
3157
|
_iterDefine(String, 'String', function (iterated) {
|
|
@@ -3163,7 +3163,7 @@ _iterDefine(String, 'String', function (iterated) {
|
|
|
3163
3163
|
var index = this._i;
|
|
3164
3164
|
var point;
|
|
3165
3165
|
if (index >= O.length) return { value: undefined, done: true };
|
|
3166
|
-
point = $at
|
|
3166
|
+
point = $at(O, index);
|
|
3167
3167
|
this._i += point.length;
|
|
3168
3168
|
return { value: point, done: false };
|
|
3169
3169
|
});
|
|
@@ -3179,10 +3179,10 @@ _export(_export.P, 'String', {
|
|
|
3179
3179
|
// 7.2.8 IsRegExp(argument)
|
|
3180
3180
|
|
|
3181
3181
|
|
|
3182
|
-
var MATCH
|
|
3182
|
+
var MATCH = _wks('match');
|
|
3183
3183
|
var _isRegexp = function (it) {
|
|
3184
3184
|
var isRegExp;
|
|
3185
|
-
return _isObject(it) && ((isRegExp = it[MATCH
|
|
3185
|
+
return _isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : _cof(it) == 'RegExp');
|
|
3186
3186
|
};
|
|
3187
3187
|
|
|
3188
3188
|
// helper for String#{startsWith, endsWith, includes}
|
|
@@ -3194,14 +3194,14 @@ var _stringContext = function (that, searchString, NAME) {
|
|
|
3194
3194
|
return String(_defined(that));
|
|
3195
3195
|
};
|
|
3196
3196
|
|
|
3197
|
-
var MATCH = _wks('match');
|
|
3197
|
+
var MATCH$1 = _wks('match');
|
|
3198
3198
|
var _failsIsRegexp = function (KEY) {
|
|
3199
3199
|
var re = /./;
|
|
3200
3200
|
try {
|
|
3201
3201
|
'/./'[KEY](re);
|
|
3202
3202
|
} catch (e) {
|
|
3203
3203
|
try {
|
|
3204
|
-
re[MATCH] = false;
|
|
3204
|
+
re[MATCH$1] = false;
|
|
3205
3205
|
return !'/./'[KEY](re);
|
|
3206
3206
|
} catch (f) { /* empty */ }
|
|
3207
3207
|
} return true;
|
|
@@ -3378,7 +3378,7 @@ _export(_export.P + _export.F * _fails(function () {
|
|
|
3378
3378
|
|
|
3379
3379
|
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
|
3380
3380
|
|
|
3381
|
-
var getTime
|
|
3381
|
+
var getTime = Date.prototype.getTime;
|
|
3382
3382
|
var $toISOString = Date.prototype.toISOString;
|
|
3383
3383
|
|
|
3384
3384
|
var lz = function (num) {
|
|
@@ -3391,7 +3391,7 @@ var _dateToIsoString = (_fails(function () {
|
|
|
3391
3391
|
}) || !_fails(function () {
|
|
3392
3392
|
$toISOString.call(new Date(NaN));
|
|
3393
3393
|
})) ? function toISOString() {
|
|
3394
|
-
if (!isFinite(getTime
|
|
3394
|
+
if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
|
|
3395
3395
|
var d = this;
|
|
3396
3396
|
var y = d.getUTCFullYear();
|
|
3397
3397
|
var m = d.getUTCMilliseconds();
|
|
@@ -3413,28 +3413,28 @@ _export(_export.P + _export.F * (Date.prototype.toISOString !== _dateToIsoString
|
|
|
3413
3413
|
|
|
3414
3414
|
var DateProto = Date.prototype;
|
|
3415
3415
|
var INVALID_DATE = 'Invalid Date';
|
|
3416
|
-
var TO_STRING
|
|
3417
|
-
var $toString
|
|
3418
|
-
var getTime = DateProto.getTime;
|
|
3416
|
+
var TO_STRING = 'toString';
|
|
3417
|
+
var $toString = DateProto[TO_STRING];
|
|
3418
|
+
var getTime$1 = DateProto.getTime;
|
|
3419
3419
|
if (new Date(NaN) + '' != INVALID_DATE) {
|
|
3420
|
-
_redefine(DateProto, TO_STRING
|
|
3421
|
-
var value = getTime.call(this);
|
|
3420
|
+
_redefine(DateProto, TO_STRING, function toString() {
|
|
3421
|
+
var value = getTime$1.call(this);
|
|
3422
3422
|
// eslint-disable-next-line no-self-compare
|
|
3423
|
-
return value === value ? $toString
|
|
3423
|
+
return value === value ? $toString.call(this) : INVALID_DATE;
|
|
3424
3424
|
});
|
|
3425
3425
|
}
|
|
3426
3426
|
|
|
3427
|
-
var NUMBER = 'number';
|
|
3427
|
+
var NUMBER$1 = 'number';
|
|
3428
3428
|
|
|
3429
3429
|
var _dateToPrimitive = function (hint) {
|
|
3430
|
-
if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');
|
|
3431
|
-
return _toPrimitive(_anObject(this), hint != NUMBER);
|
|
3430
|
+
if (hint !== 'string' && hint !== NUMBER$1 && hint !== 'default') throw TypeError('Incorrect hint');
|
|
3431
|
+
return _toPrimitive(_anObject(this), hint != NUMBER$1);
|
|
3432
3432
|
};
|
|
3433
3433
|
|
|
3434
|
-
var TO_PRIMITIVE = _wks('toPrimitive');
|
|
3435
|
-
var proto$
|
|
3434
|
+
var TO_PRIMITIVE$1 = _wks('toPrimitive');
|
|
3435
|
+
var proto$1 = Date.prototype;
|
|
3436
3436
|
|
|
3437
|
-
if (!(TO_PRIMITIVE in proto$
|
|
3437
|
+
if (!(TO_PRIMITIVE$1 in proto$1)) _hide(proto$1, TO_PRIMITIVE$1, _dateToPrimitive);
|
|
3438
3438
|
|
|
3439
3439
|
// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
|
|
3440
3440
|
|
|
@@ -3456,11 +3456,11 @@ var _iterCall = function (iterator, fn, value, entries) {
|
|
|
3456
3456
|
|
|
3457
3457
|
// check on default Array iterator
|
|
3458
3458
|
|
|
3459
|
-
var ITERATOR$
|
|
3460
|
-
var ArrayProto
|
|
3459
|
+
var ITERATOR$1 = _wks('iterator');
|
|
3460
|
+
var ArrayProto = Array.prototype;
|
|
3461
3461
|
|
|
3462
3462
|
var _isArrayIter = function (it) {
|
|
3463
|
-
return it !== undefined && (_iterators.Array === it || ArrayProto
|
|
3463
|
+
return it !== undefined && (_iterators.Array === it || ArrayProto[ITERATOR$1] === it);
|
|
3464
3464
|
};
|
|
3465
3465
|
|
|
3466
3466
|
var _createProperty = function (object, index, value) {
|
|
@@ -3476,11 +3476,11 @@ var core_getIteratorMethod = _core.getIteratorMethod = function (it) {
|
|
|
3476
3476
|
|| _iterators[_classof(it)];
|
|
3477
3477
|
};
|
|
3478
3478
|
|
|
3479
|
-
var ITERATOR$
|
|
3479
|
+
var ITERATOR$3 = _wks('iterator');
|
|
3480
3480
|
var SAFE_CLOSING = false;
|
|
3481
3481
|
|
|
3482
3482
|
try {
|
|
3483
|
-
var riter = [7][ITERATOR$
|
|
3483
|
+
var riter = [7][ITERATOR$3]();
|
|
3484
3484
|
riter['return'] = function () { SAFE_CLOSING = true; };
|
|
3485
3485
|
// eslint-disable-next-line no-throw-literal
|
|
3486
3486
|
Array.from(riter, function () { throw 2; });
|
|
@@ -3491,9 +3491,9 @@ var _iterDetect = function (exec, skipClosing) {
|
|
|
3491
3491
|
var safe = false;
|
|
3492
3492
|
try {
|
|
3493
3493
|
var arr = [7];
|
|
3494
|
-
var iter = arr[ITERATOR$
|
|
3494
|
+
var iter = arr[ITERATOR$3]();
|
|
3495
3495
|
iter.next = function () { return { done: safe = true }; };
|
|
3496
|
-
arr[ITERATOR$
|
|
3496
|
+
arr[ITERATOR$3] = function () { return iter; };
|
|
3497
3497
|
exec(arr);
|
|
3498
3498
|
} catch (e) { /* empty */ }
|
|
3499
3499
|
return safe;
|
|
@@ -3562,17 +3562,17 @@ _export(_export.P + _export.F * (_iobject != Object || !_strictMethod(arrayJoin)
|
|
|
3562
3562
|
}
|
|
3563
3563
|
});
|
|
3564
3564
|
|
|
3565
|
-
var arraySlice = [].slice;
|
|
3565
|
+
var arraySlice$1 = [].slice;
|
|
3566
3566
|
|
|
3567
3567
|
// fallback for not array-like ES3 strings and DOM objects
|
|
3568
3568
|
_export(_export.P + _export.F * _fails(function () {
|
|
3569
|
-
if (_html) arraySlice.call(_html);
|
|
3569
|
+
if (_html) arraySlice$1.call(_html);
|
|
3570
3570
|
}), 'Array', {
|
|
3571
3571
|
slice: function slice(begin, end) {
|
|
3572
3572
|
var len = _toLength(this.length);
|
|
3573
3573
|
var klass = _cof(this);
|
|
3574
3574
|
end = end === undefined ? len : end;
|
|
3575
|
-
if (klass == 'Array') return arraySlice.call(this, begin, end);
|
|
3575
|
+
if (klass == 'Array') return arraySlice$1.call(this, begin, end);
|
|
3576
3576
|
var start = _toAbsoluteIndex(begin, len);
|
|
3577
3577
|
var upTo = _toAbsoluteIndex(end, len);
|
|
3578
3578
|
var size = _toLength(upTo - start);
|
|
@@ -3586,14 +3586,14 @@ _export(_export.P + _export.F * _fails(function () {
|
|
|
3586
3586
|
});
|
|
3587
3587
|
|
|
3588
3588
|
var $sort = [].sort;
|
|
3589
|
-
var test = [1, 2, 3];
|
|
3589
|
+
var test$1 = [1, 2, 3];
|
|
3590
3590
|
|
|
3591
3591
|
_export(_export.P + _export.F * (_fails(function () {
|
|
3592
3592
|
// IE8-
|
|
3593
|
-
test.sort(undefined);
|
|
3593
|
+
test$1.sort(undefined);
|
|
3594
3594
|
}) || !_fails(function () {
|
|
3595
3595
|
// V8 bug
|
|
3596
|
-
test.sort(null);
|
|
3596
|
+
test$1.sort(null);
|
|
3597
3597
|
// Old WebKit
|
|
3598
3598
|
}) || !_strictMethod($sort)), 'Array', {
|
|
3599
3599
|
// 22.1.3.25 Array.prototype.sort(comparefn)
|
|
@@ -3604,7 +3604,7 @@ _export(_export.P + _export.F * (_fails(function () {
|
|
|
3604
3604
|
}
|
|
3605
3605
|
});
|
|
3606
3606
|
|
|
3607
|
-
var SPECIES
|
|
3607
|
+
var SPECIES = _wks('species');
|
|
3608
3608
|
|
|
3609
3609
|
var _arraySpeciesConstructor = function (original) {
|
|
3610
3610
|
var C;
|
|
@@ -3613,7 +3613,7 @@ var _arraySpeciesConstructor = function (original) {
|
|
|
3613
3613
|
// cross-realm fallback
|
|
3614
3614
|
if (typeof C == 'function' && (C === Array || _isArray(C.prototype))) C = undefined;
|
|
3615
3615
|
if (_isObject(C)) {
|
|
3616
|
-
C = C[SPECIES
|
|
3616
|
+
C = C[SPECIES];
|
|
3617
3617
|
if (C === null) C = undefined;
|
|
3618
3618
|
}
|
|
3619
3619
|
} return C === undefined ? Array : C;
|
|
@@ -3756,27 +3756,27 @@ _export(_export.P + _export.F * !_strictMethod([].reduceRight, true), 'Array', {
|
|
|
3756
3756
|
});
|
|
3757
3757
|
|
|
3758
3758
|
var $indexOf = _arrayIncludes(false);
|
|
3759
|
-
var $native
|
|
3760
|
-
var NEGATIVE_ZERO
|
|
3759
|
+
var $native = [].indexOf;
|
|
3760
|
+
var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
|
|
3761
3761
|
|
|
3762
|
-
_export(_export.P + _export.F * (NEGATIVE_ZERO
|
|
3762
|
+
_export(_export.P + _export.F * (NEGATIVE_ZERO || !_strictMethod($native)), 'Array', {
|
|
3763
3763
|
// 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
|
|
3764
3764
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
3765
|
-
return NEGATIVE_ZERO
|
|
3765
|
+
return NEGATIVE_ZERO
|
|
3766
3766
|
// convert -0 to +0
|
|
3767
|
-
? $native
|
|
3767
|
+
? $native.apply(this, arguments) || 0
|
|
3768
3768
|
: $indexOf(this, searchElement, arguments[1]);
|
|
3769
3769
|
}
|
|
3770
3770
|
});
|
|
3771
3771
|
|
|
3772
|
-
var $native = [].lastIndexOf;
|
|
3773
|
-
var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
|
|
3772
|
+
var $native$1 = [].lastIndexOf;
|
|
3773
|
+
var NEGATIVE_ZERO$1 = !!$native$1 && 1 / [1].lastIndexOf(1, -0) < 0;
|
|
3774
3774
|
|
|
3775
|
-
_export(_export.P + _export.F * (NEGATIVE_ZERO || !_strictMethod($native)), 'Array', {
|
|
3775
|
+
_export(_export.P + _export.F * (NEGATIVE_ZERO$1 || !_strictMethod($native$1)), 'Array', {
|
|
3776
3776
|
// 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
|
|
3777
3777
|
lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
|
|
3778
3778
|
// convert -0 to +0
|
|
3779
|
-
if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
|
|
3779
|
+
if (NEGATIVE_ZERO$1) return $native$1.apply(this, arguments) || 0;
|
|
3780
3780
|
var O = _toIobject(this);
|
|
3781
3781
|
var length = _toLength(O.length);
|
|
3782
3782
|
var index = length - 1;
|
|
@@ -3810,10 +3810,10 @@ var _arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, st
|
|
|
3810
3810
|
|
|
3811
3811
|
// 22.1.3.31 Array.prototype[@@unscopables]
|
|
3812
3812
|
var UNSCOPABLES = _wks('unscopables');
|
|
3813
|
-
var ArrayProto = Array.prototype;
|
|
3814
|
-
if (ArrayProto[UNSCOPABLES] == undefined) _hide(ArrayProto, UNSCOPABLES, {});
|
|
3813
|
+
var ArrayProto$1 = Array.prototype;
|
|
3814
|
+
if (ArrayProto$1[UNSCOPABLES] == undefined) _hide(ArrayProto$1, UNSCOPABLES, {});
|
|
3815
3815
|
var _addToUnscopables = function (key) {
|
|
3816
|
-
ArrayProto[UNSCOPABLES][key] = true;
|
|
3816
|
+
ArrayProto$1[UNSCOPABLES][key] = true;
|
|
3817
3817
|
};
|
|
3818
3818
|
|
|
3819
3819
|
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
|
@@ -3843,37 +3843,37 @@ _addToUnscopables('fill');
|
|
|
3843
3843
|
|
|
3844
3844
|
// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
|
|
3845
3845
|
|
|
3846
|
-
var $find
|
|
3847
|
-
var KEY
|
|
3848
|
-
var forced
|
|
3846
|
+
var $find = _arrayMethods(5);
|
|
3847
|
+
var KEY = 'find';
|
|
3848
|
+
var forced = true;
|
|
3849
3849
|
// Shouldn't skip holes
|
|
3850
|
-
if (KEY
|
|
3851
|
-
_export(_export.P + _export.F * forced
|
|
3850
|
+
if (KEY in []) Array(1)[KEY](function () { forced = false; });
|
|
3851
|
+
_export(_export.P + _export.F * forced, 'Array', {
|
|
3852
3852
|
find: function find(callbackfn /* , that = undefined */) {
|
|
3853
|
-
return $find
|
|
3853
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3854
3854
|
}
|
|
3855
3855
|
});
|
|
3856
|
-
_addToUnscopables(KEY
|
|
3856
|
+
_addToUnscopables(KEY);
|
|
3857
3857
|
|
|
3858
3858
|
// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
|
|
3859
3859
|
|
|
3860
|
-
var $find = _arrayMethods(6);
|
|
3861
|
-
var KEY = 'findIndex';
|
|
3862
|
-
var forced = true;
|
|
3860
|
+
var $find$1 = _arrayMethods(6);
|
|
3861
|
+
var KEY$1 = 'findIndex';
|
|
3862
|
+
var forced$1 = true;
|
|
3863
3863
|
// Shouldn't skip holes
|
|
3864
|
-
if (KEY in []) Array(1)[KEY](function () { forced = false; });
|
|
3865
|
-
_export(_export.P + _export.F * forced, 'Array', {
|
|
3864
|
+
if (KEY$1 in []) Array(1)[KEY$1](function () { forced$1 = false; });
|
|
3865
|
+
_export(_export.P + _export.F * forced$1, 'Array', {
|
|
3866
3866
|
findIndex: function findIndex(callbackfn /* , that = undefined */) {
|
|
3867
|
-
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3867
|
+
return $find$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3868
3868
|
}
|
|
3869
3869
|
});
|
|
3870
|
-
_addToUnscopables(KEY);
|
|
3870
|
+
_addToUnscopables(KEY$1);
|
|
3871
3871
|
|
|
3872
|
-
var SPECIES$
|
|
3872
|
+
var SPECIES$1 = _wks('species');
|
|
3873
3873
|
|
|
3874
3874
|
var _setSpecies = function (KEY) {
|
|
3875
3875
|
var C = _global[KEY];
|
|
3876
|
-
if (_descriptors && C && !C[SPECIES$
|
|
3876
|
+
if (_descriptors && C && !C[SPECIES$1]) _objectDp.f(C, SPECIES$1, {
|
|
3877
3877
|
configurable: true,
|
|
3878
3878
|
get: function () { return this; }
|
|
3879
3879
|
});
|
|
@@ -3927,13 +3927,13 @@ var _flags = function () {
|
|
|
3927
3927
|
return result;
|
|
3928
3928
|
};
|
|
3929
3929
|
|
|
3930
|
-
var dP$
|
|
3931
|
-
var gOPN = _objectGopn.f;
|
|
3930
|
+
var dP$4 = _objectDp.f;
|
|
3931
|
+
var gOPN$3 = _objectGopn.f;
|
|
3932
3932
|
|
|
3933
3933
|
|
|
3934
3934
|
var $RegExp = _global.RegExp;
|
|
3935
|
-
var Base = $RegExp;
|
|
3936
|
-
var proto$
|
|
3935
|
+
var Base$1 = $RegExp;
|
|
3936
|
+
var proto$2 = $RegExp.prototype;
|
|
3937
3937
|
var re1 = /a/g;
|
|
3938
3938
|
var re2 = /a/g;
|
|
3939
3939
|
// "new" creates a new object, old webkit buggy here
|
|
@@ -3950,20 +3950,20 @@ if (_descriptors && (!CORRECT_NEW || _fails(function () {
|
|
|
3950
3950
|
var fiU = f === undefined;
|
|
3951
3951
|
return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
|
|
3952
3952
|
: _inheritIfRequired(CORRECT_NEW
|
|
3953
|
-
? new Base(piRE && !fiU ? p.source : p, f)
|
|
3954
|
-
: Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? _flags.call(p) : f)
|
|
3955
|
-
, tiRE ? this : proto$
|
|
3953
|
+
? new Base$1(piRE && !fiU ? p.source : p, f)
|
|
3954
|
+
: Base$1((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? _flags.call(p) : f)
|
|
3955
|
+
, tiRE ? this : proto$2, $RegExp);
|
|
3956
3956
|
};
|
|
3957
3957
|
var proxy = function (key) {
|
|
3958
|
-
key in $RegExp || dP$
|
|
3958
|
+
key in $RegExp || dP$4($RegExp, key, {
|
|
3959
3959
|
configurable: true,
|
|
3960
|
-
get: function () { return Base[key]; },
|
|
3961
|
-
set: function (it) { Base[key] = it; }
|
|
3960
|
+
get: function () { return Base$1[key]; },
|
|
3961
|
+
set: function (it) { Base$1[key] = it; }
|
|
3962
3962
|
});
|
|
3963
3963
|
};
|
|
3964
|
-
for (var keys = gOPN(Base), i
|
|
3965
|
-
proto$
|
|
3966
|
-
$RegExp.prototype = proto$
|
|
3964
|
+
for (var keys$1 = gOPN$3(Base$1), i = 0; keys$1.length > i;) proxy(keys$1[i++]);
|
|
3965
|
+
proto$2.constructor = $RegExp;
|
|
3966
|
+
$RegExp.prototype = proto$2;
|
|
3967
3967
|
_redefine(_global, 'RegExp', $RegExp);
|
|
3968
3968
|
}
|
|
3969
3969
|
|
|
@@ -3977,14 +3977,14 @@ var nativeReplace = String.prototype.replace;
|
|
|
3977
3977
|
|
|
3978
3978
|
var patchedExec = nativeExec;
|
|
3979
3979
|
|
|
3980
|
-
var LAST_INDEX
|
|
3980
|
+
var LAST_INDEX = 'lastIndex';
|
|
3981
3981
|
|
|
3982
3982
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
3983
3983
|
var re1 = /a/,
|
|
3984
3984
|
re2 = /b*/g;
|
|
3985
3985
|
nativeExec.call(re1, 'a');
|
|
3986
3986
|
nativeExec.call(re2, 'a');
|
|
3987
|
-
return re1[LAST_INDEX
|
|
3987
|
+
return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
|
|
3988
3988
|
})();
|
|
3989
3989
|
|
|
3990
3990
|
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
@@ -4000,12 +4000,12 @@ if (PATCH) {
|
|
|
4000
4000
|
if (NPCG_INCLUDED) {
|
|
4001
4001
|
reCopy = new RegExp('^' + re.source + '$(?!\\s)', _flags.call(re));
|
|
4002
4002
|
}
|
|
4003
|
-
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX
|
|
4003
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
|
|
4004
4004
|
|
|
4005
4005
|
match = nativeExec.call(re, str);
|
|
4006
4006
|
|
|
4007
4007
|
if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
4008
|
-
re[LAST_INDEX
|
|
4008
|
+
re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
|
|
4009
4009
|
}
|
|
4010
4010
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
4011
4011
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
@@ -4038,24 +4038,24 @@ if (_descriptors && /./g.flags != 'g') _objectDp.f(RegExp.prototype, 'flags', {
|
|
|
4038
4038
|
get: _flags
|
|
4039
4039
|
});
|
|
4040
4040
|
|
|
4041
|
-
var TO_STRING = 'toString';
|
|
4042
|
-
var $toString = /./[TO_STRING];
|
|
4041
|
+
var TO_STRING$1 = 'toString';
|
|
4042
|
+
var $toString$1 = /./[TO_STRING$1];
|
|
4043
4043
|
|
|
4044
|
-
var define
|
|
4045
|
-
_redefine(RegExp.prototype, TO_STRING, fn, true);
|
|
4044
|
+
var define = function (fn) {
|
|
4045
|
+
_redefine(RegExp.prototype, TO_STRING$1, fn, true);
|
|
4046
4046
|
};
|
|
4047
4047
|
|
|
4048
4048
|
// 21.2.5.14 RegExp.prototype.toString()
|
|
4049
|
-
if (_fails(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
|
4050
|
-
define
|
|
4049
|
+
if (_fails(function () { return $toString$1.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
|
4050
|
+
define(function toString() {
|
|
4051
4051
|
var R = _anObject(this);
|
|
4052
4052
|
return '/'.concat(R.source, '/',
|
|
4053
4053
|
'flags' in R ? R.flags : !_descriptors && R instanceof RegExp ? _flags.call(R) : undefined);
|
|
4054
4054
|
});
|
|
4055
4055
|
// FF44- RegExp#toString has a wrong name
|
|
4056
|
-
} else if ($toString.name != TO_STRING) {
|
|
4057
|
-
define
|
|
4058
|
-
return $toString.call(this);
|
|
4056
|
+
} else if ($toString$1.name != TO_STRING$1) {
|
|
4057
|
+
define(function toString() {
|
|
4058
|
+
return $toString$1.call(this);
|
|
4059
4059
|
});
|
|
4060
4060
|
}
|
|
4061
4061
|
|
|
@@ -4086,7 +4086,7 @@ var _regexpExecAbstract = function (R, S) {
|
|
|
4086
4086
|
return builtinExec.call(R, S);
|
|
4087
4087
|
};
|
|
4088
4088
|
|
|
4089
|
-
var SPECIES$
|
|
4089
|
+
var SPECIES$2 = _wks('species');
|
|
4090
4090
|
|
|
4091
4091
|
var REPLACE_SUPPORTS_NAMED_GROUPS = !_fails(function () {
|
|
4092
4092
|
// #replace needs built-in support for named groups.
|
|
@@ -4129,7 +4129,7 @@ var _fixReWks = function (KEY, length, exec) {
|
|
|
4129
4129
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
4130
4130
|
// a new one. We need to return the patched regex when creating the new one.
|
|
4131
4131
|
re.constructor = {};
|
|
4132
|
-
re.constructor[SPECIES$
|
|
4132
|
+
re.constructor[SPECIES$2] = function () { return re; };
|
|
4133
4133
|
}
|
|
4134
4134
|
re[SYMBOL]('');
|
|
4135
4135
|
return !execCalled;
|
|
@@ -4209,8 +4209,8 @@ _fixReWks('match', 1, function (defined, MATCH, $match, maybeCallNative) {
|
|
|
4209
4209
|
});
|
|
4210
4210
|
|
|
4211
4211
|
var max$1 = Math.max;
|
|
4212
|
-
var min$
|
|
4213
|
-
var floor = Math.floor;
|
|
4212
|
+
var min$2 = Math.min;
|
|
4213
|
+
var floor$3 = Math.floor;
|
|
4214
4214
|
var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
|
|
4215
4215
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
|
|
4216
4216
|
|
|
@@ -4259,7 +4259,7 @@ _fixReWks('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
|
4259
4259
|
for (var i = 0; i < results.length; i++) {
|
|
4260
4260
|
result = results[i];
|
|
4261
4261
|
var matched = String(result[0]);
|
|
4262
|
-
var position = max$1(min$
|
|
4262
|
+
var position = max$1(min$2(_toInteger(result.index), S.length), 0);
|
|
4263
4263
|
var captures = [];
|
|
4264
4264
|
// NOTE: This is equivalent to
|
|
4265
4265
|
// captures = result.slice(1).map(maybeToString)
|
|
@@ -4307,7 +4307,7 @@ _fixReWks('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
|
4307
4307
|
var n = +ch;
|
|
4308
4308
|
if (n === 0) return match;
|
|
4309
4309
|
if (n > m) {
|
|
4310
|
-
var f = floor(n / 10);
|
|
4310
|
+
var f = floor$3(n / 10);
|
|
4311
4311
|
if (f === 0) return match;
|
|
4312
4312
|
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
4313
4313
|
return match;
|
|
@@ -4348,18 +4348,18 @@ _fixReWks('search', 1, function (defined, SEARCH, $search, maybeCallNative) {
|
|
|
4348
4348
|
// 7.3.20 SpeciesConstructor(O, defaultConstructor)
|
|
4349
4349
|
|
|
4350
4350
|
|
|
4351
|
-
var SPECIES = _wks('species');
|
|
4351
|
+
var SPECIES$3 = _wks('species');
|
|
4352
4352
|
var _speciesConstructor = function (O, D) {
|
|
4353
4353
|
var C = _anObject(O).constructor;
|
|
4354
4354
|
var S;
|
|
4355
|
-
return C === undefined || (S = _anObject(C)[SPECIES]) == undefined ? D : _aFunction(S);
|
|
4355
|
+
return C === undefined || (S = _anObject(C)[SPECIES$3]) == undefined ? D : _aFunction(S);
|
|
4356
4356
|
};
|
|
4357
4357
|
|
|
4358
4358
|
var $min = Math.min;
|
|
4359
4359
|
var $push = [].push;
|
|
4360
4360
|
var $SPLIT = 'split';
|
|
4361
4361
|
var LENGTH = 'length';
|
|
4362
|
-
var LAST_INDEX = 'lastIndex';
|
|
4362
|
+
var LAST_INDEX$1 = 'lastIndex';
|
|
4363
4363
|
var MAX_UINT32 = 0xffffffff;
|
|
4364
4364
|
|
|
4365
4365
|
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
|
@@ -4393,7 +4393,7 @@ _fixReWks('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
|
|
|
4393
4393
|
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
4394
4394
|
var match, lastIndex, lastLength;
|
|
4395
4395
|
while (match = _regexpExec.call(separatorCopy, string)) {
|
|
4396
|
-
lastIndex = separatorCopy[LAST_INDEX];
|
|
4396
|
+
lastIndex = separatorCopy[LAST_INDEX$1];
|
|
4397
4397
|
if (lastIndex > lastLastIndex) {
|
|
4398
4398
|
output.push(string.slice(lastLastIndex, match.index));
|
|
4399
4399
|
if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
|
|
@@ -4401,7 +4401,7 @@ _fixReWks('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
|
|
|
4401
4401
|
lastLastIndex = lastIndex;
|
|
4402
4402
|
if (output[LENGTH] >= splitLimit) break;
|
|
4403
4403
|
}
|
|
4404
|
-
if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
|
|
4404
|
+
if (separatorCopy[LAST_INDEX$1] === match.index) separatorCopy[LAST_INDEX$1]++; // Avoid an infinite loop
|
|
4405
4405
|
}
|
|
4406
4406
|
if (lastLastIndex === string[LENGTH]) {
|
|
4407
4407
|
if (lastLength || !separatorCopy.test('')) output.push('');
|
|
@@ -4508,7 +4508,7 @@ exports.BREAK = BREAK;
|
|
|
4508
4508
|
exports.RETURN = RETURN;
|
|
4509
4509
|
});
|
|
4510
4510
|
|
|
4511
|
-
var process
|
|
4511
|
+
var process = _global.process;
|
|
4512
4512
|
var setTask = _global.setImmediate;
|
|
4513
4513
|
var clearTask = _global.clearImmediate;
|
|
4514
4514
|
var MessageChannel = _global.MessageChannel;
|
|
@@ -4546,9 +4546,9 @@ if (!setTask || !clearTask) {
|
|
|
4546
4546
|
delete queue[id];
|
|
4547
4547
|
};
|
|
4548
4548
|
// Node.js 0.8-
|
|
4549
|
-
if (_cof(process
|
|
4549
|
+
if (_cof(process) == 'process') {
|
|
4550
4550
|
defer = function (id) {
|
|
4551
|
-
process
|
|
4551
|
+
process.nextTick(_ctx(run, id, 1));
|
|
4552
4552
|
};
|
|
4553
4553
|
// Sphere (JS game engine) Dispatch API
|
|
4554
4554
|
} else if (Dispatch && Dispatch.now) {
|
|
@@ -4590,16 +4590,16 @@ var _task = {
|
|
|
4590
4590
|
|
|
4591
4591
|
var macrotask = _task.set;
|
|
4592
4592
|
var Observer = _global.MutationObserver || _global.WebKitMutationObserver;
|
|
4593
|
-
var process$
|
|
4593
|
+
var process$1 = _global.process;
|
|
4594
4594
|
var Promise$1 = _global.Promise;
|
|
4595
|
-
var isNode
|
|
4595
|
+
var isNode = _cof(process$1) == 'process';
|
|
4596
4596
|
|
|
4597
4597
|
var _microtask = function () {
|
|
4598
4598
|
var head, last, notify;
|
|
4599
4599
|
|
|
4600
4600
|
var flush = function () {
|
|
4601
4601
|
var parent, fn;
|
|
4602
|
-
if (isNode
|
|
4602
|
+
if (isNode && (parent = process$1.domain)) parent.exit();
|
|
4603
4603
|
while (head) {
|
|
4604
4604
|
fn = head.fn;
|
|
4605
4605
|
head = head.next;
|
|
@@ -4615,9 +4615,9 @@ var _microtask = function () {
|
|
|
4615
4615
|
};
|
|
4616
4616
|
|
|
4617
4617
|
// Node.js
|
|
4618
|
-
if (isNode
|
|
4618
|
+
if (isNode) {
|
|
4619
4619
|
notify = function () {
|
|
4620
|
-
process$
|
|
4620
|
+
process$1.nextTick(flush);
|
|
4621
4621
|
};
|
|
4622
4622
|
// browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
|
|
4623
4623
|
} else if (Observer && !(_global.navigator && _global.navigator.standalone)) {
|
|
@@ -4671,12 +4671,12 @@ function PromiseCapability(C) {
|
|
|
4671
4671
|
this.reject = _aFunction(reject);
|
|
4672
4672
|
}
|
|
4673
4673
|
|
|
4674
|
-
var f = function (C) {
|
|
4674
|
+
var f$7 = function (C) {
|
|
4675
4675
|
return new PromiseCapability(C);
|
|
4676
4676
|
};
|
|
4677
4677
|
|
|
4678
4678
|
var _newPromiseCapability = {
|
|
4679
|
-
f: f
|
|
4679
|
+
f: f$7
|
|
4680
4680
|
};
|
|
4681
4681
|
|
|
4682
4682
|
var _perform = function (exec) {
|
|
@@ -4706,23 +4706,23 @@ var _redefineAll = function (target, src, safe) {
|
|
|
4706
4706
|
};
|
|
4707
4707
|
|
|
4708
4708
|
var task = _task.set;
|
|
4709
|
-
var microtask
|
|
4709
|
+
var microtask = _microtask();
|
|
4710
4710
|
|
|
4711
4711
|
|
|
4712
4712
|
|
|
4713
4713
|
|
|
4714
4714
|
var PROMISE = 'Promise';
|
|
4715
4715
|
var TypeError$1 = _global.TypeError;
|
|
4716
|
-
var process$
|
|
4717
|
-
var versions = process$
|
|
4716
|
+
var process$2 = _global.process;
|
|
4717
|
+
var versions = process$2 && process$2.versions;
|
|
4718
4718
|
var v8 = versions && versions.v8 || '';
|
|
4719
4719
|
var $Promise = _global[PROMISE];
|
|
4720
|
-
var isNode$1 = _classof(process$
|
|
4720
|
+
var isNode$1 = _classof(process$2) == 'process';
|
|
4721
4721
|
var empty = function () { /* empty */ };
|
|
4722
4722
|
var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
|
|
4723
4723
|
var newPromiseCapability = newGenericPromiseCapability = _newPromiseCapability.f;
|
|
4724
4724
|
|
|
4725
|
-
var USE_NATIVE = !!function () {
|
|
4725
|
+
var USE_NATIVE$1 = !!function () {
|
|
4726
4726
|
try {
|
|
4727
4727
|
// correct subclassing with @@species support
|
|
4728
4728
|
var promise = $Promise.resolve(1);
|
|
@@ -4749,7 +4749,7 @@ var notify = function (promise, isReject) {
|
|
|
4749
4749
|
if (promise._n) return;
|
|
4750
4750
|
promise._n = true;
|
|
4751
4751
|
var chain = promise._c;
|
|
4752
|
-
microtask
|
|
4752
|
+
microtask(function () {
|
|
4753
4753
|
var value = promise._v;
|
|
4754
4754
|
var ok = promise._s == 1;
|
|
4755
4755
|
var i = 0;
|
|
@@ -4799,7 +4799,7 @@ var onUnhandled = function (promise) {
|
|
|
4799
4799
|
if (unhandled) {
|
|
4800
4800
|
result = _perform(function () {
|
|
4801
4801
|
if (isNode$1) {
|
|
4802
|
-
process$
|
|
4802
|
+
process$2.emit('unhandledRejection', value, promise);
|
|
4803
4803
|
} else if (handler = _global.onunhandledrejection) {
|
|
4804
4804
|
handler({ promise: promise, reason: value });
|
|
4805
4805
|
} else if ((console = _global.console) && console.error) {
|
|
@@ -4819,7 +4819,7 @@ var onHandleUnhandled = function (promise) {
|
|
|
4819
4819
|
task.call(_global, function () {
|
|
4820
4820
|
var handler;
|
|
4821
4821
|
if (isNode$1) {
|
|
4822
|
-
process$
|
|
4822
|
+
process$2.emit('rejectionHandled', promise);
|
|
4823
4823
|
} else if (handler = _global.onrejectionhandled) {
|
|
4824
4824
|
handler({ promise: promise, reason: promise._v });
|
|
4825
4825
|
}
|
|
@@ -4844,7 +4844,7 @@ var $resolve = function (value) {
|
|
|
4844
4844
|
try {
|
|
4845
4845
|
if (promise === value) throw TypeError$1("Promise can't be resolved itself");
|
|
4846
4846
|
if (then = isThenable(value)) {
|
|
4847
|
-
microtask
|
|
4847
|
+
microtask(function () {
|
|
4848
4848
|
var wrapper = { _w: promise, _d: false }; // wrap
|
|
4849
4849
|
try {
|
|
4850
4850
|
then.call(value, _ctx($resolve, wrapper, 1), _ctx($reject, wrapper, 1));
|
|
@@ -4863,7 +4863,7 @@ var $resolve = function (value) {
|
|
|
4863
4863
|
};
|
|
4864
4864
|
|
|
4865
4865
|
// constructor polyfill
|
|
4866
|
-
if (!USE_NATIVE) {
|
|
4866
|
+
if (!USE_NATIVE$1) {
|
|
4867
4867
|
// 25.4.3.1 Promise(executor)
|
|
4868
4868
|
$Promise = function Promise(executor) {
|
|
4869
4869
|
_anInstance(this, $Promise, PROMISE, '_h');
|
|
@@ -4891,7 +4891,7 @@ if (!USE_NATIVE) {
|
|
|
4891
4891
|
var reaction = newPromiseCapability(_speciesConstructor(this, $Promise));
|
|
4892
4892
|
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
|
4893
4893
|
reaction.fail = typeof onRejected == 'function' && onRejected;
|
|
4894
|
-
reaction.domain = isNode$1 ? process$
|
|
4894
|
+
reaction.domain = isNode$1 ? process$2.domain : undefined;
|
|
4895
4895
|
this._c.push(reaction);
|
|
4896
4896
|
if (this._a) this._a.push(reaction);
|
|
4897
4897
|
if (this._s) notify(this, false);
|
|
@@ -4915,13 +4915,13 @@ if (!USE_NATIVE) {
|
|
|
4915
4915
|
};
|
|
4916
4916
|
}
|
|
4917
4917
|
|
|
4918
|
-
_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Promise: $Promise });
|
|
4918
|
+
_export(_export.G + _export.W + _export.F * !USE_NATIVE$1, { Promise: $Promise });
|
|
4919
4919
|
_setToStringTag($Promise, PROMISE);
|
|
4920
4920
|
_setSpecies(PROMISE);
|
|
4921
4921
|
Wrapper = _core[PROMISE];
|
|
4922
4922
|
|
|
4923
4923
|
// statics
|
|
4924
|
-
_export(_export.S + _export.F * !USE_NATIVE, PROMISE, {
|
|
4924
|
+
_export(_export.S + _export.F * !USE_NATIVE$1, PROMISE, {
|
|
4925
4925
|
// 25.4.4.5 Promise.reject(r)
|
|
4926
4926
|
reject: function reject(r) {
|
|
4927
4927
|
var capability = newPromiseCapability(this);
|
|
@@ -4930,13 +4930,13 @@ _export(_export.S + _export.F * !USE_NATIVE, PROMISE, {
|
|
|
4930
4930
|
return capability.promise;
|
|
4931
4931
|
}
|
|
4932
4932
|
});
|
|
4933
|
-
_export(_export.S + _export.F * (!USE_NATIVE), PROMISE, {
|
|
4933
|
+
_export(_export.S + _export.F * ( !USE_NATIVE$1), PROMISE, {
|
|
4934
4934
|
// 25.4.4.6 Promise.resolve(x)
|
|
4935
4935
|
resolve: function resolve(x) {
|
|
4936
|
-
return _promiseResolve(this, x);
|
|
4936
|
+
return _promiseResolve( this, x);
|
|
4937
4937
|
}
|
|
4938
4938
|
});
|
|
4939
|
-
_export(_export.S + _export.F * !(USE_NATIVE && _iterDetect(function (iter) {
|
|
4939
|
+
_export(_export.S + _export.F * !(USE_NATIVE$1 && _iterDetect(function (iter) {
|
|
4940
4940
|
$Promise.all(iter)['catch'](empty);
|
|
4941
4941
|
})), PROMISE, {
|
|
4942
4942
|
// 25.4.4.1 Promise.all(iterable)
|
|
@@ -4986,7 +4986,7 @@ var _validateCollection = function (it, TYPE) {
|
|
|
4986
4986
|
return it;
|
|
4987
4987
|
};
|
|
4988
4988
|
|
|
4989
|
-
var dP = _objectDp.f;
|
|
4989
|
+
var dP$5 = _objectDp.f;
|
|
4990
4990
|
|
|
4991
4991
|
|
|
4992
4992
|
|
|
@@ -5069,7 +5069,7 @@ var _collectionStrong = {
|
|
|
5069
5069
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
5070
5070
|
}
|
|
5071
5071
|
});
|
|
5072
|
-
if (_descriptors) dP(C.prototype, 'size', {
|
|
5072
|
+
if (_descriptors) dP$5(C.prototype, 'size', {
|
|
5073
5073
|
get: function () {
|
|
5074
5074
|
return _validateCollection(this, NAME)[SIZE];
|
|
5075
5075
|
}
|
|
@@ -5241,7 +5241,7 @@ var getWeak = _meta.getWeak;
|
|
|
5241
5241
|
|
|
5242
5242
|
var arrayFind = _arrayMethods(5);
|
|
5243
5243
|
var arrayFindIndex = _arrayMethods(6);
|
|
5244
|
-
var id$
|
|
5244
|
+
var id$1 = 0;
|
|
5245
5245
|
|
|
5246
5246
|
// fallback for uncaught frozen keys
|
|
5247
5247
|
var uncaughtFrozenStore = function (that) {
|
|
@@ -5282,7 +5282,7 @@ var _collectionWeak = {
|
|
|
5282
5282
|
var C = wrapper(function (that, iterable) {
|
|
5283
5283
|
_anInstance(that, C, NAME, '_i');
|
|
5284
5284
|
that._t = NAME; // collection type
|
|
5285
|
-
that._i = id$
|
|
5285
|
+
that._i = id$1++; // collection id
|
|
5286
5286
|
that._l = undefined; // leak store for uncaught frozen objects
|
|
5287
5287
|
if (iterable != undefined) _forOf(iterable, IS_MAP, that[ADDER], that);
|
|
5288
5288
|
});
|
|
@@ -5390,7 +5390,7 @@ _collection(WEAK_SET, function (get) {
|
|
|
5390
5390
|
}, _collectionWeak, false, true);
|
|
5391
5391
|
|
|
5392
5392
|
var TYPED = _uid('typed_array');
|
|
5393
|
-
var VIEW
|
|
5393
|
+
var VIEW = _uid('view');
|
|
5394
5394
|
var ABV = !!(_global.ArrayBuffer && _global.DataView);
|
|
5395
5395
|
var CONSTR = ABV;
|
|
5396
5396
|
var i$1 = 0;
|
|
@@ -5404,7 +5404,7 @@ var TypedArrayConstructors = (
|
|
|
5404
5404
|
while (i$1 < l) {
|
|
5405
5405
|
if (Typed = _global[TypedArrayConstructors[i$1++]]) {
|
|
5406
5406
|
_hide(Typed.prototype, TYPED, true);
|
|
5407
|
-
_hide(Typed.prototype, VIEW
|
|
5407
|
+
_hide(Typed.prototype, VIEW, true);
|
|
5408
5408
|
} else CONSTR = false;
|
|
5409
5409
|
}
|
|
5410
5410
|
|
|
@@ -5412,7 +5412,7 @@ var _typed = {
|
|
|
5412
5412
|
ABV: ABV,
|
|
5413
5413
|
CONSTR: CONSTR,
|
|
5414
5414
|
TYPED: TYPED,
|
|
5415
|
-
VIEW: VIEW
|
|
5415
|
+
VIEW: VIEW
|
|
5416
5416
|
};
|
|
5417
5417
|
|
|
5418
5418
|
// https://tc39.github.io/ecma262/#sec-toindex
|
|
@@ -5710,7 +5710,7 @@ var $ArrayBuffer = _typedBuffer.ArrayBuffer;
|
|
|
5710
5710
|
var $DataView = _typedBuffer.DataView;
|
|
5711
5711
|
var $isView = _typed.ABV && ArrayBuffer.isView;
|
|
5712
5712
|
var $slice = $ArrayBuffer.prototype.slice;
|
|
5713
|
-
var VIEW = _typed.VIEW;
|
|
5713
|
+
var VIEW$1 = _typed.VIEW;
|
|
5714
5714
|
var ARRAY_BUFFER = 'ArrayBuffer';
|
|
5715
5715
|
|
|
5716
5716
|
_export(_export.G + _export.W + _export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });
|
|
@@ -5718,7 +5718,7 @@ _export(_export.G + _export.W + _export.F * (ArrayBuffer !== $ArrayBuffer), { Ar
|
|
|
5718
5718
|
_export(_export.S + _export.F * !_typed.CONSTR, ARRAY_BUFFER, {
|
|
5719
5719
|
// 24.1.3.1 ArrayBuffer.isView(arg)
|
|
5720
5720
|
isView: function isView(it) {
|
|
5721
|
-
return $isView && $isView(it) || _isObject(it) && VIEW in it;
|
|
5721
|
+
return $isView && $isView(it) || _isObject(it) && VIEW$1 in it;
|
|
5722
5722
|
}
|
|
5723
5723
|
});
|
|
5724
5724
|
|
|
@@ -6374,12 +6374,12 @@ _export(_export.S + _export.F * _fails(function () {
|
|
|
6374
6374
|
|
|
6375
6375
|
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
|
|
6376
6376
|
|
|
6377
|
-
var gOPD = _objectGopd.f;
|
|
6377
|
+
var gOPD$3 = _objectGopd.f;
|
|
6378
6378
|
|
|
6379
6379
|
|
|
6380
6380
|
_export(_export.S, 'Reflect', {
|
|
6381
6381
|
deleteProperty: function deleteProperty(target, propertyKey) {
|
|
6382
|
-
var desc = gOPD(_anObject(target), propertyKey);
|
|
6382
|
+
var desc = gOPD$3(_anObject(target), propertyKey);
|
|
6383
6383
|
return desc && !desc.configurable ? false : delete target[propertyKey];
|
|
6384
6384
|
}
|
|
6385
6385
|
});
|
|
@@ -6654,7 +6654,7 @@ _addToUnscopables('flatten');
|
|
|
6654
6654
|
|
|
6655
6655
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
6656
6656
|
|
|
6657
|
-
var $at = _stringAt(true);
|
|
6657
|
+
var $at$2 = _stringAt(true);
|
|
6658
6658
|
|
|
6659
6659
|
|
|
6660
6660
|
var FORCED = _fails(function () {
|
|
@@ -6663,7 +6663,7 @@ var FORCED = _fails(function () {
|
|
|
6663
6663
|
|
|
6664
6664
|
_export(_export.P + _export.F * FORCED, 'String', {
|
|
6665
6665
|
at: function at(pos) {
|
|
6666
|
-
return $at(this, pos);
|
|
6666
|
+
return $at$2(this, pos);
|
|
6667
6667
|
}
|
|
6668
6668
|
});
|
|
6669
6669
|
|
|
@@ -6690,9 +6690,9 @@ var _stringPad = function (that, maxLength, fillString, left) {
|
|
|
6690
6690
|
|
|
6691
6691
|
|
|
6692
6692
|
// https://github.com/zloirock/core-js/issues/280
|
|
6693
|
-
var WEBKIT_BUG
|
|
6693
|
+
var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(_userAgent);
|
|
6694
6694
|
|
|
6695
|
-
_export(_export.P + _export.F * WEBKIT_BUG
|
|
6695
|
+
_export(_export.P + _export.F * WEBKIT_BUG, 'String', {
|
|
6696
6696
|
padStart: function padStart(maxLength /* , fillString = ' ' */) {
|
|
6697
6697
|
return _stringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
|
|
6698
6698
|
}
|
|
@@ -6704,9 +6704,9 @@ _export(_export.P + _export.F * WEBKIT_BUG$1, 'String', {
|
|
|
6704
6704
|
|
|
6705
6705
|
|
|
6706
6706
|
// https://github.com/zloirock/core-js/issues/280
|
|
6707
|
-
var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(_userAgent);
|
|
6707
|
+
var WEBKIT_BUG$1 = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(_userAgent);
|
|
6708
6708
|
|
|
6709
|
-
_export(_export.P + _export.F * WEBKIT_BUG, 'String', {
|
|
6709
|
+
_export(_export.P + _export.F * WEBKIT_BUG$1, 'String', {
|
|
6710
6710
|
padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
|
|
6711
6711
|
return _stringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
|
|
6712
6712
|
}
|
|
@@ -6783,7 +6783,7 @@ _export(_export.S, 'Object', {
|
|
|
6783
6783
|
}
|
|
6784
6784
|
});
|
|
6785
6785
|
|
|
6786
|
-
var isEnum = _objectPie.f;
|
|
6786
|
+
var isEnum$1 = _objectPie.f;
|
|
6787
6787
|
var _objectToArray = function (isEntries) {
|
|
6788
6788
|
return function (it) {
|
|
6789
6789
|
var O = _toIobject(it);
|
|
@@ -6794,7 +6794,7 @@ var _objectToArray = function (isEntries) {
|
|
|
6794
6794
|
var key;
|
|
6795
6795
|
while (length > i) {
|
|
6796
6796
|
key = keys[i++];
|
|
6797
|
-
if (!_descriptors || isEnum.call(O, key)) {
|
|
6797
|
+
if (!_descriptors || isEnum$1.call(O, key)) {
|
|
6798
6798
|
result.push(isEntries ? [key, O[key]] : O[key]);
|
|
6799
6799
|
}
|
|
6800
6800
|
}
|
|
@@ -6823,7 +6823,7 @@ _export(_export.S, 'Object', {
|
|
|
6823
6823
|
});
|
|
6824
6824
|
|
|
6825
6825
|
// Forced replacement prototype accessors methods
|
|
6826
|
-
var _objectForcedPam =
|
|
6826
|
+
var _objectForcedPam = !_fails(function () {
|
|
6827
6827
|
var K = Math.random();
|
|
6828
6828
|
// In FF throws only define methods
|
|
6829
6829
|
// eslint-disable-next-line no-undef, no-useless-call
|
|
@@ -6845,7 +6845,7 @@ _descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
|
6845
6845
|
}
|
|
6846
6846
|
});
|
|
6847
6847
|
|
|
6848
|
-
var getOwnPropertyDescriptor
|
|
6848
|
+
var getOwnPropertyDescriptor = _objectGopd.f;
|
|
6849
6849
|
|
|
6850
6850
|
// B.2.2.4 Object.prototype.__lookupGetter__(P)
|
|
6851
6851
|
_descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
@@ -6854,12 +6854,12 @@ _descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
|
6854
6854
|
var K = _toPrimitive(P, true);
|
|
6855
6855
|
var D;
|
|
6856
6856
|
do {
|
|
6857
|
-
if (D = getOwnPropertyDescriptor
|
|
6857
|
+
if (D = getOwnPropertyDescriptor(O, K)) return D.get;
|
|
6858
6858
|
} while (O = _objectGpo(O));
|
|
6859
6859
|
}
|
|
6860
6860
|
});
|
|
6861
6861
|
|
|
6862
|
-
var getOwnPropertyDescriptor = _objectGopd.f;
|
|
6862
|
+
var getOwnPropertyDescriptor$1 = _objectGopd.f;
|
|
6863
6863
|
|
|
6864
6864
|
// B.2.2.5 Object.prototype.__lookupSetter__(P)
|
|
6865
6865
|
_descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
@@ -6868,7 +6868,7 @@ _descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
|
6868
6868
|
var K = _toPrimitive(P, true);
|
|
6869
6869
|
var D;
|
|
6870
6870
|
do {
|
|
6871
|
-
if (D = getOwnPropertyDescriptor(O, K)) return D.set;
|
|
6871
|
+
if (D = getOwnPropertyDescriptor$1(O, K)) return D.set;
|
|
6872
6872
|
} while (O = _objectGpo(O));
|
|
6873
6873
|
}
|
|
6874
6874
|
});
|
|
@@ -7148,14 +7148,14 @@ _export(_export.S, 'Promise', { 'try': function (callbackfn) {
|
|
|
7148
7148
|
return promiseCapability.promise;
|
|
7149
7149
|
} });
|
|
7150
7150
|
|
|
7151
|
-
var shared = _shared('metadata');
|
|
7152
|
-
var store
|
|
7151
|
+
var shared$1 = _shared('metadata');
|
|
7152
|
+
var store = shared$1.store || (shared$1.store = new (es6_weakMap)());
|
|
7153
7153
|
|
|
7154
|
-
var getOrCreateMetadataMap
|
|
7155
|
-
var targetMetadata = store
|
|
7154
|
+
var getOrCreateMetadataMap = function (target, targetKey, create) {
|
|
7155
|
+
var targetMetadata = store.get(target);
|
|
7156
7156
|
if (!targetMetadata) {
|
|
7157
7157
|
if (!create) return undefined;
|
|
7158
|
-
store
|
|
7158
|
+
store.set(target, targetMetadata = new es6_map());
|
|
7159
7159
|
}
|
|
7160
7160
|
var keyMetadata = targetMetadata.get(targetKey);
|
|
7161
7161
|
if (!keyMetadata) {
|
|
@@ -7163,79 +7163,79 @@ var getOrCreateMetadataMap$1 = function (target, targetKey, create) {
|
|
|
7163
7163
|
targetMetadata.set(targetKey, keyMetadata = new es6_map());
|
|
7164
7164
|
} return keyMetadata;
|
|
7165
7165
|
};
|
|
7166
|
-
var ordinaryHasOwnMetadata
|
|
7167
|
-
var metadataMap = getOrCreateMetadataMap
|
|
7166
|
+
var ordinaryHasOwnMetadata = function (MetadataKey, O, P) {
|
|
7167
|
+
var metadataMap = getOrCreateMetadataMap(O, P, false);
|
|
7168
7168
|
return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
|
|
7169
7169
|
};
|
|
7170
|
-
var ordinaryGetOwnMetadata
|
|
7171
|
-
var metadataMap = getOrCreateMetadataMap
|
|
7170
|
+
var ordinaryGetOwnMetadata = function (MetadataKey, O, P) {
|
|
7171
|
+
var metadataMap = getOrCreateMetadataMap(O, P, false);
|
|
7172
7172
|
return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
|
|
7173
7173
|
};
|
|
7174
|
-
var ordinaryDefineOwnMetadata
|
|
7175
|
-
getOrCreateMetadataMap
|
|
7174
|
+
var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {
|
|
7175
|
+
getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
|
|
7176
7176
|
};
|
|
7177
|
-
var ordinaryOwnMetadataKeys
|
|
7178
|
-
var metadataMap = getOrCreateMetadataMap
|
|
7177
|
+
var ordinaryOwnMetadataKeys = function (target, targetKey) {
|
|
7178
|
+
var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
|
|
7179
7179
|
var keys = [];
|
|
7180
7180
|
if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });
|
|
7181
7181
|
return keys;
|
|
7182
7182
|
};
|
|
7183
|
-
var toMetaKey
|
|
7183
|
+
var toMetaKey = function (it) {
|
|
7184
7184
|
return it === undefined || typeof it == 'symbol' ? it : String(it);
|
|
7185
7185
|
};
|
|
7186
|
-
var exp = function (O) {
|
|
7186
|
+
var exp$3 = function (O) {
|
|
7187
7187
|
_export(_export.S, 'Reflect', O);
|
|
7188
7188
|
};
|
|
7189
7189
|
|
|
7190
7190
|
var _metadata = {
|
|
7191
|
-
store: store
|
|
7192
|
-
map: getOrCreateMetadataMap
|
|
7193
|
-
has: ordinaryHasOwnMetadata
|
|
7194
|
-
get: ordinaryGetOwnMetadata
|
|
7195
|
-
set: ordinaryDefineOwnMetadata
|
|
7196
|
-
keys: ordinaryOwnMetadataKeys
|
|
7197
|
-
key: toMetaKey
|
|
7198
|
-
exp: exp
|
|
7191
|
+
store: store,
|
|
7192
|
+
map: getOrCreateMetadataMap,
|
|
7193
|
+
has: ordinaryHasOwnMetadata,
|
|
7194
|
+
get: ordinaryGetOwnMetadata,
|
|
7195
|
+
set: ordinaryDefineOwnMetadata,
|
|
7196
|
+
keys: ordinaryOwnMetadataKeys,
|
|
7197
|
+
key: toMetaKey,
|
|
7198
|
+
exp: exp$3
|
|
7199
7199
|
};
|
|
7200
7200
|
|
|
7201
|
-
var toMetaKey$
|
|
7201
|
+
var toMetaKey$1 = _metadata.key;
|
|
7202
7202
|
var ordinaryDefineOwnMetadata$1 = _metadata.set;
|
|
7203
7203
|
|
|
7204
7204
|
_metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {
|
|
7205
|
-
ordinaryDefineOwnMetadata$1(metadataKey, metadataValue, _anObject(target), toMetaKey$
|
|
7205
|
+
ordinaryDefineOwnMetadata$1(metadataKey, metadataValue, _anObject(target), toMetaKey$1(targetKey));
|
|
7206
7206
|
} });
|
|
7207
7207
|
|
|
7208
|
-
var toMetaKey$
|
|
7209
|
-
var getOrCreateMetadataMap = _metadata.map;
|
|
7210
|
-
var store = _metadata.store;
|
|
7208
|
+
var toMetaKey$2 = _metadata.key;
|
|
7209
|
+
var getOrCreateMetadataMap$1 = _metadata.map;
|
|
7210
|
+
var store$1 = _metadata.store;
|
|
7211
7211
|
|
|
7212
7212
|
_metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {
|
|
7213
|
-
var targetKey = arguments.length < 3 ? undefined : toMetaKey$
|
|
7214
|
-
var metadataMap = getOrCreateMetadataMap(_anObject(target), targetKey, false);
|
|
7213
|
+
var targetKey = arguments.length < 3 ? undefined : toMetaKey$2(arguments[2]);
|
|
7214
|
+
var metadataMap = getOrCreateMetadataMap$1(_anObject(target), targetKey, false);
|
|
7215
7215
|
if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;
|
|
7216
7216
|
if (metadataMap.size) return true;
|
|
7217
|
-
var targetMetadata = store.get(target);
|
|
7217
|
+
var targetMetadata = store$1.get(target);
|
|
7218
7218
|
targetMetadata['delete'](targetKey);
|
|
7219
|
-
return !!targetMetadata.size || store['delete'](target);
|
|
7219
|
+
return !!targetMetadata.size || store$1['delete'](target);
|
|
7220
7220
|
} });
|
|
7221
7221
|
|
|
7222
|
-
var ordinaryHasOwnMetadata$
|
|
7222
|
+
var ordinaryHasOwnMetadata$1 = _metadata.has;
|
|
7223
7223
|
var ordinaryGetOwnMetadata$1 = _metadata.get;
|
|
7224
|
-
var toMetaKey$
|
|
7224
|
+
var toMetaKey$3 = _metadata.key;
|
|
7225
7225
|
|
|
7226
7226
|
var ordinaryGetMetadata = function (MetadataKey, O, P) {
|
|
7227
|
-
var hasOwn = ordinaryHasOwnMetadata$
|
|
7227
|
+
var hasOwn = ordinaryHasOwnMetadata$1(MetadataKey, O, P);
|
|
7228
7228
|
if (hasOwn) return ordinaryGetOwnMetadata$1(MetadataKey, O, P);
|
|
7229
7229
|
var parent = _objectGpo(O);
|
|
7230
7230
|
return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
|
|
7231
7231
|
};
|
|
7232
7232
|
|
|
7233
7233
|
_metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {
|
|
7234
|
-
return ordinaryGetMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$
|
|
7234
|
+
return ordinaryGetMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$3(arguments[2]));
|
|
7235
7235
|
} });
|
|
7236
7236
|
|
|
7237
7237
|
var ordinaryOwnMetadataKeys$1 = _metadata.keys;
|
|
7238
|
-
var toMetaKey$
|
|
7238
|
+
var toMetaKey$4 = _metadata.key;
|
|
7239
7239
|
|
|
7240
7240
|
var ordinaryMetadataKeys = function (O, P) {
|
|
7241
7241
|
var oKeys = ordinaryOwnMetadataKeys$1(O, P);
|
|
@@ -7246,55 +7246,55 @@ var ordinaryMetadataKeys = function (O, P) {
|
|
|
7246
7246
|
};
|
|
7247
7247
|
|
|
7248
7248
|
_metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {
|
|
7249
|
-
return ordinaryMetadataKeys(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$
|
|
7249
|
+
return ordinaryMetadataKeys(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$4(arguments[1]));
|
|
7250
7250
|
} });
|
|
7251
7251
|
|
|
7252
|
-
var ordinaryGetOwnMetadata = _metadata.get;
|
|
7253
|
-
var toMetaKey$
|
|
7252
|
+
var ordinaryGetOwnMetadata$2 = _metadata.get;
|
|
7253
|
+
var toMetaKey$5 = _metadata.key;
|
|
7254
7254
|
|
|
7255
7255
|
_metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
|
|
7256
|
-
return ordinaryGetOwnMetadata(metadataKey, _anObject(target)
|
|
7257
|
-
, arguments.length < 3 ? undefined : toMetaKey$
|
|
7256
|
+
return ordinaryGetOwnMetadata$2(metadataKey, _anObject(target)
|
|
7257
|
+
, arguments.length < 3 ? undefined : toMetaKey$5(arguments[2]));
|
|
7258
7258
|
} });
|
|
7259
7259
|
|
|
7260
|
-
var ordinaryOwnMetadataKeys = _metadata.keys;
|
|
7261
|
-
var toMetaKey$
|
|
7260
|
+
var ordinaryOwnMetadataKeys$2 = _metadata.keys;
|
|
7261
|
+
var toMetaKey$6 = _metadata.key;
|
|
7262
7262
|
|
|
7263
7263
|
_metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
|
|
7264
|
-
return ordinaryOwnMetadataKeys(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$
|
|
7264
|
+
return ordinaryOwnMetadataKeys$2(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$6(arguments[1]));
|
|
7265
7265
|
} });
|
|
7266
7266
|
|
|
7267
|
-
var ordinaryHasOwnMetadata$
|
|
7268
|
-
var toMetaKey$
|
|
7267
|
+
var ordinaryHasOwnMetadata$2 = _metadata.has;
|
|
7268
|
+
var toMetaKey$7 = _metadata.key;
|
|
7269
7269
|
|
|
7270
7270
|
var ordinaryHasMetadata = function (MetadataKey, O, P) {
|
|
7271
|
-
var hasOwn = ordinaryHasOwnMetadata$
|
|
7271
|
+
var hasOwn = ordinaryHasOwnMetadata$2(MetadataKey, O, P);
|
|
7272
7272
|
if (hasOwn) return true;
|
|
7273
7273
|
var parent = _objectGpo(O);
|
|
7274
7274
|
return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
|
|
7275
7275
|
};
|
|
7276
7276
|
|
|
7277
7277
|
_metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
|
|
7278
|
-
return ordinaryHasMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$
|
|
7278
|
+
return ordinaryHasMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$7(arguments[2]));
|
|
7279
7279
|
} });
|
|
7280
7280
|
|
|
7281
|
-
var ordinaryHasOwnMetadata = _metadata.has;
|
|
7282
|
-
var toMetaKey$
|
|
7281
|
+
var ordinaryHasOwnMetadata$3 = _metadata.has;
|
|
7282
|
+
var toMetaKey$8 = _metadata.key;
|
|
7283
7283
|
|
|
7284
7284
|
_metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
|
|
7285
|
-
return ordinaryHasOwnMetadata(metadataKey, _anObject(target)
|
|
7286
|
-
, arguments.length < 3 ? undefined : toMetaKey$
|
|
7285
|
+
return ordinaryHasOwnMetadata$3(metadataKey, _anObject(target)
|
|
7286
|
+
, arguments.length < 3 ? undefined : toMetaKey$8(arguments[2]));
|
|
7287
7287
|
} });
|
|
7288
7288
|
|
|
7289
|
-
var toMetaKey = _metadata.key;
|
|
7290
|
-
var ordinaryDefineOwnMetadata = _metadata.set;
|
|
7289
|
+
var toMetaKey$9 = _metadata.key;
|
|
7290
|
+
var ordinaryDefineOwnMetadata$2 = _metadata.set;
|
|
7291
7291
|
|
|
7292
7292
|
_metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
|
|
7293
7293
|
return function decorator(target, targetKey) {
|
|
7294
|
-
ordinaryDefineOwnMetadata(
|
|
7294
|
+
ordinaryDefineOwnMetadata$2(
|
|
7295
7295
|
metadataKey, metadataValue,
|
|
7296
7296
|
(targetKey !== undefined ? _anObject : _aFunction)(target),
|
|
7297
|
-
toMetaKey(targetKey)
|
|
7297
|
+
toMetaKey$9(targetKey)
|
|
7298
7298
|
);
|
|
7299
7299
|
};
|
|
7300
7300
|
} });
|
|
@@ -7302,12 +7302,12 @@ _metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
|
|
|
7302
7302
|
// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask
|
|
7303
7303
|
|
|
7304
7304
|
var microtask$1 = _microtask();
|
|
7305
|
-
var process = _global.process;
|
|
7306
|
-
var isNode = _cof(process) == 'process';
|
|
7305
|
+
var process$3 = _global.process;
|
|
7306
|
+
var isNode$2 = _cof(process$3) == 'process';
|
|
7307
7307
|
|
|
7308
7308
|
_export(_export.G, {
|
|
7309
7309
|
asap: function asap(fn) {
|
|
7310
|
-
var domain = isNode && process.domain;
|
|
7310
|
+
var domain = isNode$2 && process$3.domain;
|
|
7311
7311
|
microtask$1(domain ? domain.bind(fn) : fn);
|
|
7312
7312
|
}
|
|
7313
7313
|
});
|
|
@@ -7316,7 +7316,7 @@ _export(_export.G, {
|
|
|
7316
7316
|
|
|
7317
7317
|
|
|
7318
7318
|
|
|
7319
|
-
var microtask = _microtask();
|
|
7319
|
+
var microtask$2 = _microtask();
|
|
7320
7320
|
var OBSERVABLE = _wks('observable');
|
|
7321
7321
|
|
|
7322
7322
|
|
|
@@ -7471,7 +7471,7 @@ _redefineAll($Observable, {
|
|
|
7471
7471
|
}
|
|
7472
7472
|
return new C(function (observer) {
|
|
7473
7473
|
var done = false;
|
|
7474
|
-
microtask(function () {
|
|
7474
|
+
microtask$2(function () {
|
|
7475
7475
|
if (!done) {
|
|
7476
7476
|
try {
|
|
7477
7477
|
if (_forOf(x, false, function (it) {
|
|
@@ -7492,7 +7492,7 @@ _redefineAll($Observable, {
|
|
|
7492
7492
|
for (var i = 0, l = arguments.length, items = new Array(l); i < l;) items[i] = arguments[i++];
|
|
7493
7493
|
return new (typeof this === 'function' ? this : $Observable)(function (observer) {
|
|
7494
7494
|
var done = false;
|
|
7495
|
-
microtask(function () {
|
|
7495
|
+
microtask$2(function () {
|
|
7496
7496
|
if (!done) {
|
|
7497
7497
|
for (var j = 0; j < items.length; ++j) {
|
|
7498
7498
|
observer.next(items[j]);
|
|
@@ -7517,7 +7517,7 @@ _setSpecies('Observable');
|
|
|
7517
7517
|
|
|
7518
7518
|
var slice = [].slice;
|
|
7519
7519
|
var MSIE = /MSIE .\./.test(_userAgent); // <- dirty ie9- check
|
|
7520
|
-
var wrap = function (set) {
|
|
7520
|
+
var wrap$1 = function (set) {
|
|
7521
7521
|
return function (fn, time /* , ...args */) {
|
|
7522
7522
|
var boundArgs = arguments.length > 2;
|
|
7523
7523
|
var args = boundArgs ? slice.call(arguments, 2) : false;
|
|
@@ -7528,8 +7528,8 @@ var wrap = function (set) {
|
|
|
7528
7528
|
};
|
|
7529
7529
|
};
|
|
7530
7530
|
_export(_export.G + _export.B + _export.F * MSIE, {
|
|
7531
|
-
setTimeout: wrap(_global.setTimeout),
|
|
7532
|
-
setInterval: wrap(_global.setInterval)
|
|
7531
|
+
setTimeout: wrap$1(_global.setTimeout),
|
|
7532
|
+
setInterval: wrap$1(_global.setInterval)
|
|
7533
7533
|
});
|
|
7534
7534
|
|
|
7535
7535
|
_export(_export.G + _export.B, {
|
|
@@ -7537,7 +7537,7 @@ _export(_export.G + _export.B, {
|
|
|
7537
7537
|
clearImmediate: _task.clear
|
|
7538
7538
|
});
|
|
7539
7539
|
|
|
7540
|
-
var ITERATOR = _wks('iterator');
|
|
7540
|
+
var ITERATOR$4 = _wks('iterator');
|
|
7541
7541
|
var TO_STRING_TAG = _wks('toStringTag');
|
|
7542
7542
|
var ArrayValues = _iterators.Array;
|
|
7543
7543
|
|
|
@@ -7575,21 +7575,21 @@ var DOMIterables = {
|
|
|
7575
7575
|
TouchList: false
|
|
7576
7576
|
};
|
|
7577
7577
|
|
|
7578
|
-
for (var collections = _objectKeys(DOMIterables), i = 0; i < collections.length; i++) {
|
|
7579
|
-
var NAME = collections[i];
|
|
7580
|
-
var explicit = DOMIterables[NAME];
|
|
7581
|
-
var Collection = _global[NAME];
|
|
7582
|
-
var proto = Collection && Collection.prototype;
|
|
7583
|
-
var key;
|
|
7584
|
-
if (proto) {
|
|
7585
|
-
if (!proto[ITERATOR]) _hide(proto, ITERATOR, ArrayValues);
|
|
7586
|
-
if (!proto[TO_STRING_TAG]) _hide(proto, TO_STRING_TAG, NAME);
|
|
7587
|
-
_iterators[NAME] = ArrayValues;
|
|
7588
|
-
if (explicit) for (key in es6_array_iterator) if (!proto[key]) _redefine(proto, key, es6_array_iterator[key], true);
|
|
7578
|
+
for (var collections = _objectKeys(DOMIterables), i$2 = 0; i$2 < collections.length; i$2++) {
|
|
7579
|
+
var NAME$1 = collections[i$2];
|
|
7580
|
+
var explicit = DOMIterables[NAME$1];
|
|
7581
|
+
var Collection = _global[NAME$1];
|
|
7582
|
+
var proto$3 = Collection && Collection.prototype;
|
|
7583
|
+
var key$1;
|
|
7584
|
+
if (proto$3) {
|
|
7585
|
+
if (!proto$3[ITERATOR$4]) _hide(proto$3, ITERATOR$4, ArrayValues);
|
|
7586
|
+
if (!proto$3[TO_STRING_TAG]) _hide(proto$3, TO_STRING_TAG, NAME$1);
|
|
7587
|
+
_iterators[NAME$1] = ArrayValues;
|
|
7588
|
+
if (explicit) for (key$1 in es6_array_iterator) if (!proto$3[key$1]) _redefine(proto$3, key$1, es6_array_iterator[key$1], true);
|
|
7589
7589
|
}
|
|
7590
7590
|
}
|
|
7591
7591
|
|
|
7592
|
-
createCommonjsModule(function (module) {
|
|
7592
|
+
var runtime = createCommonjsModule(function (module) {
|
|
7593
7593
|
/**
|
|
7594
7594
|
* Copyright (c) 2014, Facebook, Inc.
|
|
7595
7595
|
* All rights reserved.
|
|
@@ -7623,7 +7623,7 @@ createCommonjsModule(function (module) {
|
|
|
7623
7623
|
|
|
7624
7624
|
// Define the runtime globally (as expected by generated code) as either
|
|
7625
7625
|
// module.exports (if we're in a module) or a new, empty object.
|
|
7626
|
-
runtime = global.regeneratorRuntime =
|
|
7626
|
+
runtime = global.regeneratorRuntime = module.exports ;
|
|
7627
7627
|
|
|
7628
7628
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
7629
7629
|
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
@@ -8346,7 +8346,7 @@ if (commonjsGlobal._babelPolyfill) {
|
|
|
8346
8346
|
commonjsGlobal._babelPolyfill = true;
|
|
8347
8347
|
|
|
8348
8348
|
var DEFINE_PROPERTY = "defineProperty";
|
|
8349
|
-
function define(O, key, value) {
|
|
8349
|
+
function define$1(O, key, value) {
|
|
8350
8350
|
O[key] || Object[DEFINE_PROPERTY](O, key, {
|
|
8351
8351
|
writable: true,
|
|
8352
8352
|
configurable: true,
|
|
@@ -8354,11 +8354,11 @@ function define(O, key, value) {
|
|
|
8354
8354
|
});
|
|
8355
8355
|
}
|
|
8356
8356
|
|
|
8357
|
-
define(String.prototype, "padLeft", "".padStart);
|
|
8358
|
-
define(String.prototype, "padRight", "".padEnd);
|
|
8357
|
+
define$1(String.prototype, "padLeft", "".padStart);
|
|
8358
|
+
define$1(String.prototype, "padRight", "".padEnd);
|
|
8359
8359
|
|
|
8360
8360
|
"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function (key) {
|
|
8361
|
-
[][key] && define(Array, key, Function.call.bind([][key]));
|
|
8361
|
+
[][key] && define$1(Array, key, Function.call.bind([][key]));
|
|
8362
8362
|
});
|
|
8363
8363
|
|
|
8364
8364
|
/*! *****************************************************************************
|
|
@@ -8384,7 +8384,7 @@ var extendStatics = function(d, b) {
|
|
|
8384
8384
|
return extendStatics(d, b);
|
|
8385
8385
|
};
|
|
8386
8386
|
|
|
8387
|
-
function __extends(d, b) {
|
|
8387
|
+
function __extends$1(d, b) {
|
|
8388
8388
|
if (typeof b !== "function" && b !== null)
|
|
8389
8389
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
8390
8390
|
extendStatics(d, b);
|
|
@@ -8392,15 +8392,15 @@ function __extends(d, b) {
|
|
|
8392
8392
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8393
8393
|
}
|
|
8394
8394
|
|
|
8395
|
-
var __assign = function() {
|
|
8396
|
-
__assign = Object.assign || function __assign(t) {
|
|
8395
|
+
var __assign$2 = function() {
|
|
8396
|
+
__assign$2 = Object.assign || function __assign(t) {
|
|
8397
8397
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8398
8398
|
s = arguments[i];
|
|
8399
8399
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8400
8400
|
}
|
|
8401
8401
|
return t;
|
|
8402
8402
|
};
|
|
8403
|
-
return __assign.apply(this, arguments);
|
|
8403
|
+
return __assign$2.apply(this, arguments);
|
|
8404
8404
|
};
|
|
8405
8405
|
|
|
8406
8406
|
function __spreadArray(to, from, pack) {
|
|
@@ -8773,10 +8773,10 @@ function parseNumberSkeleton(tokens) {
|
|
|
8773
8773
|
result.compactDisplay = 'long';
|
|
8774
8774
|
continue;
|
|
8775
8775
|
case 'scientific':
|
|
8776
|
-
result = __assign(__assign(__assign({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (__assign(__assign({}, all), parseNotationOptions(opt))); }, {}));
|
|
8776
|
+
result = __assign$2(__assign$2(__assign$2({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (__assign$2(__assign$2({}, all), parseNotationOptions(opt))); }, {}));
|
|
8777
8777
|
continue;
|
|
8778
8778
|
case 'engineering':
|
|
8779
|
-
result = __assign(__assign(__assign({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (__assign(__assign({}, all), parseNotationOptions(opt))); }, {}));
|
|
8779
|
+
result = __assign$2(__assign$2(__assign$2({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (__assign$2(__assign$2({}, all), parseNotationOptions(opt))); }, {}));
|
|
8780
8780
|
continue;
|
|
8781
8781
|
case 'notation-simple':
|
|
8782
8782
|
result.notation = 'standard';
|
|
@@ -8852,22 +8852,22 @@ function parseNumberSkeleton(tokens) {
|
|
|
8852
8852
|
return '';
|
|
8853
8853
|
});
|
|
8854
8854
|
if (token.options.length) {
|
|
8855
|
-
result = __assign(__assign({}, result), parseSignificantPrecision(token.options[0]));
|
|
8855
|
+
result = __assign$2(__assign$2({}, result), parseSignificantPrecision(token.options[0]));
|
|
8856
8856
|
}
|
|
8857
8857
|
continue;
|
|
8858
8858
|
}
|
|
8859
8859
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
|
8860
8860
|
if (SIGNIFICANT_PRECISION_REGEX.test(token.stem)) {
|
|
8861
|
-
result = __assign(__assign({}, result), parseSignificantPrecision(token.stem));
|
|
8861
|
+
result = __assign$2(__assign$2({}, result), parseSignificantPrecision(token.stem));
|
|
8862
8862
|
continue;
|
|
8863
8863
|
}
|
|
8864
8864
|
var signOpts = parseSign(token.stem);
|
|
8865
8865
|
if (signOpts) {
|
|
8866
|
-
result = __assign(__assign({}, result), signOpts);
|
|
8866
|
+
result = __assign$2(__assign$2({}, result), signOpts);
|
|
8867
8867
|
}
|
|
8868
8868
|
var conciseScientificAndEngineeringOpts = parseConciseScientificAndEngineeringStem(token.stem);
|
|
8869
8869
|
if (conciseScientificAndEngineeringOpts) {
|
|
8870
|
-
result = __assign(__assign({}, result), conciseScientificAndEngineeringOpts);
|
|
8870
|
+
result = __assign$2(__assign$2({}, result), conciseScientificAndEngineeringOpts);
|
|
8871
8871
|
}
|
|
8872
8872
|
}
|
|
8873
8873
|
return result;
|
|
@@ -8875,7 +8875,7 @@ function parseNumberSkeleton(tokens) {
|
|
|
8875
8875
|
|
|
8876
8876
|
// @ts-nocheck
|
|
8877
8877
|
var SyntaxError = /** @class */ (function (_super) {
|
|
8878
|
-
__extends(SyntaxError, _super);
|
|
8878
|
+
__extends$1(SyntaxError, _super);
|
|
8879
8879
|
function SyntaxError(message, expected, found, location) {
|
|
8880
8880
|
var _this = _super.call(this) || this;
|
|
8881
8881
|
_this.message = message;
|
|
@@ -8982,24 +8982,24 @@ function peg$parse(input, options) {
|
|
|
8982
8982
|
};
|
|
8983
8983
|
var peg$c6 = function () { return '<'; };
|
|
8984
8984
|
var peg$c7 = function (messageText) {
|
|
8985
|
-
return __assign({ type: TYPE.literal, value: messageText }, insertLocation());
|
|
8985
|
+
return __assign$2({ type: TYPE.literal, value: messageText }, insertLocation());
|
|
8986
8986
|
};
|
|
8987
8987
|
var peg$c8 = "#";
|
|
8988
8988
|
var peg$c9 = peg$literalExpectation("#", false);
|
|
8989
8989
|
var peg$c10 = function () {
|
|
8990
|
-
return __assign({ type: TYPE.pound }, insertLocation());
|
|
8990
|
+
return __assign$2({ type: TYPE.pound }, insertLocation());
|
|
8991
8991
|
};
|
|
8992
8992
|
var peg$c11 = peg$otherExpectation("tagElement");
|
|
8993
8993
|
var peg$c12 = function (open, children, close) {
|
|
8994
8994
|
if (open !== close) {
|
|
8995
8995
|
error("Mismatch tag \"" + open + "\" !== \"" + close + "\"", location());
|
|
8996
8996
|
}
|
|
8997
|
-
return __assign({ type: TYPE.tag, value: open, children: children }, insertLocation());
|
|
8997
|
+
return __assign$2({ type: TYPE.tag, value: open, children: children }, insertLocation());
|
|
8998
8998
|
};
|
|
8999
8999
|
var peg$c13 = "/>";
|
|
9000
9000
|
var peg$c14 = peg$literalExpectation("/>", false);
|
|
9001
9001
|
var peg$c15 = function (value) {
|
|
9002
|
-
return __assign({ type: TYPE.literal, value: value.join('') }, insertLocation());
|
|
9002
|
+
return __assign$2({ type: TYPE.literal, value: value.join('') }, insertLocation());
|
|
9003
9003
|
};
|
|
9004
9004
|
var peg$c16 = ">";
|
|
9005
9005
|
var peg$c17 = peg$literalExpectation(">", false);
|
|
@@ -9012,7 +9012,7 @@ function peg$parse(input, options) {
|
|
|
9012
9012
|
var peg$c24 = "}";
|
|
9013
9013
|
var peg$c25 = peg$literalExpectation("}", false);
|
|
9014
9014
|
var peg$c26 = function (value) {
|
|
9015
|
-
return __assign({ type: TYPE.argument, value: value }, insertLocation());
|
|
9015
|
+
return __assign$2({ type: TYPE.argument, value: value }, insertLocation());
|
|
9016
9016
|
};
|
|
9017
9017
|
var peg$c27 = peg$otherExpectation("numberSkeletonId");
|
|
9018
9018
|
var peg$c28 = /^['\/{}]/;
|
|
@@ -9027,7 +9027,7 @@ function peg$parse(input, options) {
|
|
|
9027
9027
|
return { stem: stem, options: options };
|
|
9028
9028
|
};
|
|
9029
9029
|
var peg$c37 = function (tokens) {
|
|
9030
|
-
return __assign({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
|
|
9030
|
+
return __assign$2({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
|
|
9031
9031
|
};
|
|
9032
9032
|
var peg$c38 = "::";
|
|
9033
9033
|
var peg$c39 = peg$literalExpectation("::", false);
|
|
@@ -9042,7 +9042,7 @@ function peg$parse(input, options) {
|
|
|
9042
9042
|
var peg$c45 = "number";
|
|
9043
9043
|
var peg$c46 = peg$literalExpectation("number", false);
|
|
9044
9044
|
var peg$c47 = function (value, type, style) {
|
|
9045
|
-
return __assign({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
|
|
9045
|
+
return __assign$2({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
|
|
9046
9046
|
};
|
|
9047
9047
|
var peg$c48 = "'";
|
|
9048
9048
|
var peg$c49 = peg$literalExpectation("'", false);
|
|
@@ -9053,7 +9053,7 @@ function peg$parse(input, options) {
|
|
|
9053
9053
|
var peg$c54 = /^[a-zA-Z]/;
|
|
9054
9054
|
var peg$c55 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false);
|
|
9055
9055
|
var peg$c56 = function (pattern) {
|
|
9056
|
-
return __assign({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
|
|
9056
|
+
return __assign$2({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
|
|
9057
9057
|
};
|
|
9058
9058
|
var peg$c57 = function () { messageCtx.push('dateOrTimeArgStyle'); return true; };
|
|
9059
9059
|
var peg$c58 = "date";
|
|
@@ -9067,7 +9067,7 @@ function peg$parse(input, options) {
|
|
|
9067
9067
|
var peg$c66 = "offset:";
|
|
9068
9068
|
var peg$c67 = peg$literalExpectation("offset:", false);
|
|
9069
9069
|
var peg$c68 = function (value, pluralType, offset, options) {
|
|
9070
|
-
return __assign({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
|
|
9070
|
+
return __assign$2({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
|
|
9071
9071
|
var id = _a.id, value = _a.value, optionLocation = _a.location;
|
|
9072
9072
|
if (id in all) {
|
|
9073
9073
|
error("Duplicate option \"" + id + "\" in plural element: \"" + text() + "\"", location());
|
|
@@ -9082,7 +9082,7 @@ function peg$parse(input, options) {
|
|
|
9082
9082
|
var peg$c69 = "select";
|
|
9083
9083
|
var peg$c70 = peg$literalExpectation("select", false);
|
|
9084
9084
|
var peg$c71 = function (value, options) {
|
|
9085
|
-
return __assign({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
|
|
9085
|
+
return __assign$2({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
|
|
9086
9086
|
var id = _a.id, value = _a.value, optionLocation = _a.location;
|
|
9087
9087
|
if (id in all) {
|
|
9088
9088
|
error("Duplicate option \"" + id + "\" in select element: \"" + text() + "\"", location());
|
|
@@ -9099,13 +9099,13 @@ function peg$parse(input, options) {
|
|
|
9099
9099
|
var peg$c74 = function (id) { messageCtx.push('select'); return true; };
|
|
9100
9100
|
var peg$c75 = function (id, value) {
|
|
9101
9101
|
messageCtx.pop();
|
|
9102
|
-
return __assign({ id: id,
|
|
9102
|
+
return __assign$2({ id: id,
|
|
9103
9103
|
value: value }, insertLocation());
|
|
9104
9104
|
};
|
|
9105
9105
|
var peg$c76 = function (id) { messageCtx.push('plural'); return true; };
|
|
9106
9106
|
var peg$c77 = function (id, value) {
|
|
9107
9107
|
messageCtx.pop();
|
|
9108
|
-
return __assign({ id: id,
|
|
9108
|
+
return __assign$2({ id: id,
|
|
9109
9109
|
value: value }, insertLocation());
|
|
9110
9110
|
};
|
|
9111
9111
|
var peg$c78 = peg$otherExpectation("whitespace");
|
|
@@ -11989,7 +11989,7 @@ function normalizeHashtagInPlural(els) {
|
|
|
11989
11989
|
}
|
|
11990
11990
|
|
|
11991
11991
|
function parse(input, opts) {
|
|
11992
|
-
opts = __assign({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
|
|
11992
|
+
opts = __assign$2({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
|
|
11993
11993
|
var els = pegParse(input, opts);
|
|
11994
11994
|
if (opts.normalizeHashtagInPlural) {
|
|
11995
11995
|
normalizeHashtagInPlural(els);
|
|
@@ -12007,7 +12007,7 @@ var ErrorCode;
|
|
|
12007
12007
|
ErrorCode["MISSING_INTL_API"] = "MISSING_INTL_API";
|
|
12008
12008
|
})(ErrorCode || (ErrorCode = {}));
|
|
12009
12009
|
var FormatError = /** @class */ (function (_super) {
|
|
12010
|
-
__extends(FormatError, _super);
|
|
12010
|
+
__extends$1(FormatError, _super);
|
|
12011
12011
|
function FormatError(msg, code, originalMessage) {
|
|
12012
12012
|
var _this = _super.call(this, msg) || this;
|
|
12013
12013
|
_this.code = code;
|
|
@@ -12020,21 +12020,21 @@ var FormatError = /** @class */ (function (_super) {
|
|
|
12020
12020
|
return FormatError;
|
|
12021
12021
|
}(Error));
|
|
12022
12022
|
var InvalidValueError = /** @class */ (function (_super) {
|
|
12023
|
-
__extends(InvalidValueError, _super);
|
|
12023
|
+
__extends$1(InvalidValueError, _super);
|
|
12024
12024
|
function InvalidValueError(variableId, value, options, originalMessage) {
|
|
12025
12025
|
return _super.call(this, "Invalid values for \"" + variableId + "\": \"" + value + "\". Options are \"" + Object.keys(options).join('", "') + "\"", ErrorCode.INVALID_VALUE, originalMessage) || this;
|
|
12026
12026
|
}
|
|
12027
12027
|
return InvalidValueError;
|
|
12028
12028
|
}(FormatError));
|
|
12029
12029
|
var InvalidValueTypeError = /** @class */ (function (_super) {
|
|
12030
|
-
__extends(InvalidValueTypeError, _super);
|
|
12030
|
+
__extends$1(InvalidValueTypeError, _super);
|
|
12031
12031
|
function InvalidValueTypeError(value, type, originalMessage) {
|
|
12032
12032
|
return _super.call(this, "Value for \"" + value + "\" must be of type " + type, ErrorCode.INVALID_VALUE, originalMessage) || this;
|
|
12033
12033
|
}
|
|
12034
12034
|
return InvalidValueTypeError;
|
|
12035
12035
|
}(FormatError));
|
|
12036
12036
|
var MissingValueError = /** @class */ (function (_super) {
|
|
12037
|
-
__extends(MissingValueError, _super);
|
|
12037
|
+
__extends$1(MissingValueError, _super);
|
|
12038
12038
|
function MissingValueError(variableId, originalMessage) {
|
|
12039
12039
|
return _super.call(this, "The intl string context variable \"" + variableId + "\" was not provided to the string \"" + originalMessage + "\"", ErrorCode.MISSING_VALUE, originalMessage) || this;
|
|
12040
12040
|
}
|
|
@@ -12227,8 +12227,8 @@ function mergeConfig(c1, c2) {
|
|
|
12227
12227
|
if (!c2) {
|
|
12228
12228
|
return c1;
|
|
12229
12229
|
}
|
|
12230
|
-
return __assign(__assign(__assign({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
|
|
12231
|
-
all[k] = __assign(__assign({}, c1[k]), (c2[k] || {}));
|
|
12230
|
+
return __assign$2(__assign$2(__assign$2({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
|
|
12231
|
+
all[k] = __assign$2(__assign$2({}, c1[k]), (c2[k] || {}));
|
|
12232
12232
|
return all;
|
|
12233
12233
|
}, {}));
|
|
12234
12234
|
}
|
|
@@ -12239,9 +12239,9 @@ function mergeConfigs(defaultConfig, configs) {
|
|
|
12239
12239
|
return Object.keys(defaultConfig).reduce(function (all, k) {
|
|
12240
12240
|
all[k] = mergeConfig(defaultConfig[k], configs[k]);
|
|
12241
12241
|
return all;
|
|
12242
|
-
}, __assign({}, defaultConfig));
|
|
12242
|
+
}, __assign$2({}, defaultConfig));
|
|
12243
12243
|
}
|
|
12244
|
-
function createFastMemoizeCache
|
|
12244
|
+
function createFastMemoizeCache(store) {
|
|
12245
12245
|
return {
|
|
12246
12246
|
create: function () {
|
|
12247
12247
|
return {
|
|
@@ -12259,8 +12259,8 @@ function createFastMemoizeCache$1(store) {
|
|
|
12259
12259
|
};
|
|
12260
12260
|
}
|
|
12261
12261
|
// @ts-ignore this is to deal with rollup's default import shenanigans
|
|
12262
|
-
var _memoizeIntl
|
|
12263
|
-
var memoizeIntl
|
|
12262
|
+
var _memoizeIntl = src || memoize;
|
|
12263
|
+
var memoizeIntl = _memoizeIntl;
|
|
12264
12264
|
function createDefaultFormatters(cache) {
|
|
12265
12265
|
if (cache === void 0) { cache = {
|
|
12266
12266
|
number: {},
|
|
@@ -12268,7 +12268,7 @@ function createDefaultFormatters(cache) {
|
|
|
12268
12268
|
pluralRules: {},
|
|
12269
12269
|
}; }
|
|
12270
12270
|
return {
|
|
12271
|
-
getNumberFormat: memoizeIntl
|
|
12271
|
+
getNumberFormat: memoizeIntl(function () {
|
|
12272
12272
|
var _a;
|
|
12273
12273
|
var args = [];
|
|
12274
12274
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12276,10 +12276,10 @@ function createDefaultFormatters(cache) {
|
|
|
12276
12276
|
}
|
|
12277
12277
|
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12278
12278
|
}, {
|
|
12279
|
-
cache: createFastMemoizeCache
|
|
12280
|
-
strategy: memoizeIntl
|
|
12279
|
+
cache: createFastMemoizeCache(cache.number),
|
|
12280
|
+
strategy: memoizeIntl.strategies.variadic,
|
|
12281
12281
|
}),
|
|
12282
|
-
getDateTimeFormat: memoizeIntl
|
|
12282
|
+
getDateTimeFormat: memoizeIntl(function () {
|
|
12283
12283
|
var _a;
|
|
12284
12284
|
var args = [];
|
|
12285
12285
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12287,10 +12287,10 @@ function createDefaultFormatters(cache) {
|
|
|
12287
12287
|
}
|
|
12288
12288
|
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12289
12289
|
}, {
|
|
12290
|
-
cache: createFastMemoizeCache
|
|
12291
|
-
strategy: memoizeIntl
|
|
12290
|
+
cache: createFastMemoizeCache(cache.dateTime),
|
|
12291
|
+
strategy: memoizeIntl.strategies.variadic,
|
|
12292
12292
|
}),
|
|
12293
|
-
getPluralRules: memoizeIntl
|
|
12293
|
+
getPluralRules: memoizeIntl(function () {
|
|
12294
12294
|
var _a;
|
|
12295
12295
|
var args = [];
|
|
12296
12296
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12298,8 +12298,8 @@ function createDefaultFormatters(cache) {
|
|
|
12298
12298
|
}
|
|
12299
12299
|
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12300
12300
|
}, {
|
|
12301
|
-
cache: createFastMemoizeCache
|
|
12302
|
-
strategy: memoizeIntl
|
|
12301
|
+
cache: createFastMemoizeCache(cache.pluralRules),
|
|
12302
|
+
strategy: memoizeIntl.strategies.variadic,
|
|
12303
12303
|
}),
|
|
12304
12304
|
};
|
|
12305
12305
|
}
|
|
@@ -12449,7 +12449,7 @@ var IntlErrorCode;
|
|
|
12449
12449
|
IntlErrorCode["MISSING_TRANSLATION"] = "MISSING_TRANSLATION";
|
|
12450
12450
|
})(IntlErrorCode || (IntlErrorCode = {}));
|
|
12451
12451
|
var IntlError = /** @class */ (function (_super) {
|
|
12452
|
-
__extends(IntlError, _super);
|
|
12452
|
+
__extends$1(IntlError, _super);
|
|
12453
12453
|
function IntlError(code, message, exception) {
|
|
12454
12454
|
var _this = _super.call(this, "[@formatjs/intl Error " + code + "] " + message + " \n" + (exception ? "\n" + exception.message + "\n" + exception.stack : '')) || this;
|
|
12455
12455
|
_this.code = code;
|
|
@@ -12461,28 +12461,28 @@ var IntlError = /** @class */ (function (_super) {
|
|
|
12461
12461
|
return IntlError;
|
|
12462
12462
|
}(Error));
|
|
12463
12463
|
var UnsupportedFormatterError = /** @class */ (function (_super) {
|
|
12464
|
-
__extends(UnsupportedFormatterError, _super);
|
|
12464
|
+
__extends$1(UnsupportedFormatterError, _super);
|
|
12465
12465
|
function UnsupportedFormatterError(message, exception) {
|
|
12466
12466
|
return _super.call(this, IntlErrorCode.UNSUPPORTED_FORMATTER, message, exception) || this;
|
|
12467
12467
|
}
|
|
12468
12468
|
return UnsupportedFormatterError;
|
|
12469
12469
|
}(IntlError));
|
|
12470
12470
|
var InvalidConfigError = /** @class */ (function (_super) {
|
|
12471
|
-
__extends(InvalidConfigError, _super);
|
|
12471
|
+
__extends$1(InvalidConfigError, _super);
|
|
12472
12472
|
function InvalidConfigError(message, exception) {
|
|
12473
12473
|
return _super.call(this, IntlErrorCode.INVALID_CONFIG, message, exception) || this;
|
|
12474
12474
|
}
|
|
12475
12475
|
return InvalidConfigError;
|
|
12476
12476
|
}(IntlError));
|
|
12477
12477
|
var MissingDataError = /** @class */ (function (_super) {
|
|
12478
|
-
__extends(MissingDataError, _super);
|
|
12478
|
+
__extends$1(MissingDataError, _super);
|
|
12479
12479
|
function MissingDataError(message, exception) {
|
|
12480
12480
|
return _super.call(this, IntlErrorCode.MISSING_DATA, message, exception) || this;
|
|
12481
12481
|
}
|
|
12482
12482
|
return MissingDataError;
|
|
12483
12483
|
}(IntlError));
|
|
12484
12484
|
var MessageFormatError = /** @class */ (function (_super) {
|
|
12485
|
-
__extends(MessageFormatError, _super);
|
|
12485
|
+
__extends$1(MessageFormatError, _super);
|
|
12486
12486
|
function MessageFormatError(message, locale, descriptor, exception) {
|
|
12487
12487
|
var _this = _super.call(this, IntlErrorCode.FORMAT_ERROR, message + " \nLocale: " + locale + "\nMessageID: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.id) + "\nDefault Message: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.defaultMessage) + "\nDescription: " + (descriptor === null || descriptor === void 0 ? void 0 : descriptor.description) + " \n", exception) || this;
|
|
12488
12488
|
_this.descriptor = descriptor;
|
|
@@ -12491,7 +12491,7 @@ var MessageFormatError = /** @class */ (function (_super) {
|
|
|
12491
12491
|
return MessageFormatError;
|
|
12492
12492
|
}(IntlError));
|
|
12493
12493
|
var MissingTranslationError = /** @class */ (function (_super) {
|
|
12494
|
-
__extends(MissingTranslationError, _super);
|
|
12494
|
+
__extends$1(MissingTranslationError, _super);
|
|
12495
12495
|
function MissingTranslationError(descriptor, locale) {
|
|
12496
12496
|
var _this = _super.call(this, IntlErrorCode.MISSING_TRANSLATION, "Missing message: \"" + descriptor.id + "\" for locale \"" + locale + "\", using " + (descriptor.defaultMessage ? 'default message' : 'id') + " as fallback.") || this;
|
|
12497
12497
|
_this.descriptor = descriptor;
|
|
@@ -12533,7 +12533,7 @@ function createIntlCache() {
|
|
|
12533
12533
|
displayNames: {},
|
|
12534
12534
|
};
|
|
12535
12535
|
}
|
|
12536
|
-
function createFastMemoizeCache(store) {
|
|
12536
|
+
function createFastMemoizeCache$1(store) {
|
|
12537
12537
|
return {
|
|
12538
12538
|
create: function () {
|
|
12539
12539
|
return {
|
|
@@ -12551,8 +12551,8 @@ function createFastMemoizeCache(store) {
|
|
|
12551
12551
|
};
|
|
12552
12552
|
}
|
|
12553
12553
|
// @ts-ignore this is to deal with rollup's default import shenanigans
|
|
12554
|
-
var _memoizeIntl = src || memoize;
|
|
12555
|
-
var memoizeIntl = _memoizeIntl;
|
|
12554
|
+
var _memoizeIntl$1 = src || memoize;
|
|
12555
|
+
var memoizeIntl$1 = _memoizeIntl$1;
|
|
12556
12556
|
/**
|
|
12557
12557
|
* Create intl formatters and populate cache
|
|
12558
12558
|
* @param cache explicit cache to prevent leaking memory
|
|
@@ -12562,7 +12562,7 @@ function createFormatters(cache) {
|
|
|
12562
12562
|
var RelativeTimeFormat = Intl.RelativeTimeFormat;
|
|
12563
12563
|
var ListFormat = Intl.ListFormat;
|
|
12564
12564
|
var DisplayNames = Intl.DisplayNames;
|
|
12565
|
-
var getDateTimeFormat = memoizeIntl(function () {
|
|
12565
|
+
var getDateTimeFormat = memoizeIntl$1(function () {
|
|
12566
12566
|
var _a;
|
|
12567
12567
|
var args = [];
|
|
12568
12568
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12570,10 +12570,10 @@ function createFormatters(cache) {
|
|
|
12570
12570
|
}
|
|
12571
12571
|
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12572
12572
|
}, {
|
|
12573
|
-
cache: createFastMemoizeCache(cache.dateTime),
|
|
12574
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12573
|
+
cache: createFastMemoizeCache$1(cache.dateTime),
|
|
12574
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12575
12575
|
});
|
|
12576
|
-
var getNumberFormat = memoizeIntl(function () {
|
|
12576
|
+
var getNumberFormat = memoizeIntl$1(function () {
|
|
12577
12577
|
var _a;
|
|
12578
12578
|
var args = [];
|
|
12579
12579
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12581,10 +12581,10 @@ function createFormatters(cache) {
|
|
|
12581
12581
|
}
|
|
12582
12582
|
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12583
12583
|
}, {
|
|
12584
|
-
cache: createFastMemoizeCache(cache.number),
|
|
12585
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12584
|
+
cache: createFastMemoizeCache$1(cache.number),
|
|
12585
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12586
12586
|
});
|
|
12587
|
-
var getPluralRules = memoizeIntl(function () {
|
|
12587
|
+
var getPluralRules = memoizeIntl$1(function () {
|
|
12588
12588
|
var _a;
|
|
12589
12589
|
var args = [];
|
|
12590
12590
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12592,52 +12592,52 @@ function createFormatters(cache) {
|
|
|
12592
12592
|
}
|
|
12593
12593
|
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12594
12594
|
}, {
|
|
12595
|
-
cache: createFastMemoizeCache(cache.pluralRules),
|
|
12596
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12595
|
+
cache: createFastMemoizeCache$1(cache.pluralRules),
|
|
12596
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12597
12597
|
});
|
|
12598
12598
|
return {
|
|
12599
12599
|
getDateTimeFormat: getDateTimeFormat,
|
|
12600
12600
|
getNumberFormat: getNumberFormat,
|
|
12601
|
-
getMessageFormat: memoizeIntl(function (message, locales, overrideFormats, opts) {
|
|
12602
|
-
return new IntlMessageFormat(message, locales, overrideFormats, __assign({ formatters: {
|
|
12601
|
+
getMessageFormat: memoizeIntl$1(function (message, locales, overrideFormats, opts) {
|
|
12602
|
+
return new IntlMessageFormat(message, locales, overrideFormats, __assign$2({ formatters: {
|
|
12603
12603
|
getNumberFormat: getNumberFormat,
|
|
12604
12604
|
getDateTimeFormat: getDateTimeFormat,
|
|
12605
12605
|
getPluralRules: getPluralRules,
|
|
12606
12606
|
} }, (opts || {})));
|
|
12607
12607
|
}, {
|
|
12608
|
-
cache: createFastMemoizeCache(cache.message),
|
|
12609
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12608
|
+
cache: createFastMemoizeCache$1(cache.message),
|
|
12609
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12610
12610
|
}),
|
|
12611
|
-
getRelativeTimeFormat: memoizeIntl(function () {
|
|
12611
|
+
getRelativeTimeFormat: memoizeIntl$1(function () {
|
|
12612
12612
|
var args = [];
|
|
12613
12613
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12614
12614
|
args[_i] = arguments[_i];
|
|
12615
12615
|
}
|
|
12616
12616
|
return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat, __spreadArray([void 0], args)))();
|
|
12617
12617
|
}, {
|
|
12618
|
-
cache: createFastMemoizeCache(cache.relativeTime),
|
|
12619
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12618
|
+
cache: createFastMemoizeCache$1(cache.relativeTime),
|
|
12619
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12620
12620
|
}),
|
|
12621
12621
|
getPluralRules: getPluralRules,
|
|
12622
|
-
getListFormat: memoizeIntl(function () {
|
|
12622
|
+
getListFormat: memoizeIntl$1(function () {
|
|
12623
12623
|
var args = [];
|
|
12624
12624
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12625
12625
|
args[_i] = arguments[_i];
|
|
12626
12626
|
}
|
|
12627
12627
|
return new (ListFormat.bind.apply(ListFormat, __spreadArray([void 0], args)))();
|
|
12628
12628
|
}, {
|
|
12629
|
-
cache: createFastMemoizeCache(cache.list),
|
|
12630
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12629
|
+
cache: createFastMemoizeCache$1(cache.list),
|
|
12630
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12631
12631
|
}),
|
|
12632
|
-
getDisplayNames: memoizeIntl(function () {
|
|
12632
|
+
getDisplayNames: memoizeIntl$1(function () {
|
|
12633
12633
|
var args = [];
|
|
12634
12634
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12635
12635
|
args[_i] = arguments[_i];
|
|
12636
12636
|
}
|
|
12637
12637
|
return new (DisplayNames.bind.apply(DisplayNames, __spreadArray([void 0], args)))();
|
|
12638
12638
|
}, {
|
|
12639
|
-
cache: createFastMemoizeCache(cache.displayNames),
|
|
12640
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12639
|
+
cache: createFastMemoizeCache$1(cache.displayNames),
|
|
12640
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12641
12641
|
}),
|
|
12642
12642
|
};
|
|
12643
12643
|
}
|
|
@@ -12657,7 +12657,7 @@ function getNamedFormat(formats, type, name, onError) {
|
|
|
12657
12657
|
* Cannot do Math.log(x) / Math.log(10) bc if IEEE floating point issue
|
|
12658
12658
|
* @param x number
|
|
12659
12659
|
*/
|
|
12660
|
-
function invariant(condition, message, Err) {
|
|
12660
|
+
function invariant$1(condition, message, Err) {
|
|
12661
12661
|
if (Err === void 0) { Err = Error; }
|
|
12662
12662
|
if (!condition) {
|
|
12663
12663
|
throw new Err(message);
|
|
@@ -12666,14 +12666,14 @@ function invariant(condition, message, Err) {
|
|
|
12666
12666
|
|
|
12667
12667
|
function setTimeZoneInOptions(opts, timeZone) {
|
|
12668
12668
|
return Object.keys(opts).reduce(function (all, k) {
|
|
12669
|
-
all[k] = __assign({ timeZone: timeZone }, opts[k]);
|
|
12669
|
+
all[k] = __assign$2({ timeZone: timeZone }, opts[k]);
|
|
12670
12670
|
return all;
|
|
12671
12671
|
}, {});
|
|
12672
12672
|
}
|
|
12673
12673
|
function deepMergeOptions(opts1, opts2) {
|
|
12674
|
-
var keys = Object.keys(__assign(__assign({}, opts1), opts2));
|
|
12674
|
+
var keys = Object.keys(__assign$2(__assign$2({}, opts1), opts2));
|
|
12675
12675
|
return keys.reduce(function (all, k) {
|
|
12676
|
-
all[k] = __assign(__assign({}, (opts1[k] || {})), (opts2[k] || {}));
|
|
12676
|
+
all[k] = __assign$2(__assign$2({}, (opts1[k] || {})), (opts2[k] || {}));
|
|
12677
12677
|
return all;
|
|
12678
12678
|
}, {});
|
|
12679
12679
|
}
|
|
@@ -12682,14 +12682,14 @@ function deepMergeFormatsAndSetTimeZone(f1, timeZone) {
|
|
|
12682
12682
|
return f1;
|
|
12683
12683
|
}
|
|
12684
12684
|
var mfFormats = IntlMessageFormat.formats;
|
|
12685
|
-
return __assign(__assign(__assign({}, mfFormats), f1), { date: deepMergeOptions(setTimeZoneInOptions(mfFormats.date, timeZone), setTimeZoneInOptions(f1.date || {}, timeZone)), time: deepMergeOptions(setTimeZoneInOptions(mfFormats.time, timeZone), setTimeZoneInOptions(f1.time || {}, timeZone)) });
|
|
12685
|
+
return __assign$2(__assign$2(__assign$2({}, mfFormats), f1), { date: deepMergeOptions(setTimeZoneInOptions(mfFormats.date, timeZone), setTimeZoneInOptions(f1.date || {}, timeZone)), time: deepMergeOptions(setTimeZoneInOptions(mfFormats.time, timeZone), setTimeZoneInOptions(f1.time || {}, timeZone)) });
|
|
12686
12686
|
}
|
|
12687
12687
|
function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
12688
12688
|
var locale = _a.locale, formats = _a.formats, messages = _a.messages, defaultLocale = _a.defaultLocale, defaultFormats = _a.defaultFormats, onError = _a.onError, timeZone = _a.timeZone, defaultRichTextElements = _a.defaultRichTextElements;
|
|
12689
12689
|
if (messageDescriptor === void 0) { messageDescriptor = { id: '' }; }
|
|
12690
12690
|
var msgId = messageDescriptor.id, defaultMessage = messageDescriptor.defaultMessage;
|
|
12691
12691
|
// `id` is a required field of a Message Descriptor.
|
|
12692
|
-
invariant(!!msgId, '[@formatjs/intl] An `id` must be provided to format a message.');
|
|
12692
|
+
invariant$1(!!msgId, '[@formatjs/intl] An `id` must be provided to format a message.');
|
|
12693
12693
|
var id = String(msgId);
|
|
12694
12694
|
var message =
|
|
12695
12695
|
// In case messages is Object.create(null)
|
|
@@ -12711,7 +12711,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
|
12711
12711
|
!defaultRichTextElements) {
|
|
12712
12712
|
return message.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
12713
12713
|
}
|
|
12714
|
-
values = __assign(__assign({}, defaultRichTextElements), (values || {}));
|
|
12714
|
+
values = __assign$2(__assign$2({}, defaultRichTextElements), (values || {}));
|
|
12715
12715
|
formats = deepMergeFormatsAndSetTimeZone(formats, timeZone);
|
|
12716
12716
|
defaultFormats = deepMergeFormatsAndSetTimeZone(defaultFormats, timeZone);
|
|
12717
12717
|
if (!message) {
|
|
@@ -12736,7 +12736,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
|
12736
12736
|
}
|
|
12737
12737
|
// We have the translated message
|
|
12738
12738
|
try {
|
|
12739
|
-
var formatter = state.getMessageFormat(message, locale, formats, __assign({ formatters: state }, (opts || {})));
|
|
12739
|
+
var formatter = state.getMessageFormat(message, locale, formats, __assign$2({ formatters: state }, (opts || {})));
|
|
12740
12740
|
return formatter.format(values);
|
|
12741
12741
|
}
|
|
12742
12742
|
catch (e) {
|
|
@@ -12781,11 +12781,11 @@ var DATE_TIME_FORMAT_OPTIONS = [
|
|
|
12781
12781
|
// 'dayPeriod',
|
|
12782
12782
|
'numberingSystem',
|
|
12783
12783
|
];
|
|
12784
|
-
function getFormatter
|
|
12784
|
+
function getFormatter(_a, type, getDateTimeFormat, options) {
|
|
12785
12785
|
var locale = _a.locale, formats = _a.formats, onError = _a.onError, timeZone = _a.timeZone;
|
|
12786
12786
|
if (options === void 0) { options = {}; }
|
|
12787
12787
|
var format = options.format;
|
|
12788
|
-
var defaults = __assign(__assign({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
|
|
12788
|
+
var defaults = __assign$2(__assign$2({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
|
|
12789
12789
|
var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS,
|
|
12790
12790
|
// @ts-expect-error es2020 has a lot stuff from es2021 bleed in
|
|
12791
12791
|
defaults);
|
|
@@ -12796,7 +12796,7 @@ function getFormatter$2(_a, type, getDateTimeFormat, options) {
|
|
|
12796
12796
|
!filteredOptions.timeStyle &&
|
|
12797
12797
|
!filteredOptions.dateStyle) {
|
|
12798
12798
|
// Add default formatting options if hour, minute, or second isn't defined.
|
|
12799
|
-
filteredOptions = __assign(__assign({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
|
|
12799
|
+
filteredOptions = __assign$2(__assign$2({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
|
|
12800
12800
|
}
|
|
12801
12801
|
return getDateTimeFormat(locale, filteredOptions);
|
|
12802
12802
|
}
|
|
@@ -12808,7 +12808,7 @@ function formatDate(config, getDateTimeFormat) {
|
|
|
12808
12808
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12809
12809
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12810
12810
|
try {
|
|
12811
|
-
return getFormatter
|
|
12811
|
+
return getFormatter(config, 'date', getDateTimeFormat, options).format(date);
|
|
12812
12812
|
}
|
|
12813
12813
|
catch (e) {
|
|
12814
12814
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting date.', e));
|
|
@@ -12823,7 +12823,7 @@ function formatTime(config, getDateTimeFormat) {
|
|
|
12823
12823
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12824
12824
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12825
12825
|
try {
|
|
12826
|
-
return getFormatter
|
|
12826
|
+
return getFormatter(config, 'time', getDateTimeFormat, options).format(date);
|
|
12827
12827
|
}
|
|
12828
12828
|
catch (e) {
|
|
12829
12829
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting time.', e));
|
|
@@ -12854,7 +12854,7 @@ function formatDateToParts(config, getDateTimeFormat) {
|
|
|
12854
12854
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12855
12855
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12856
12856
|
try {
|
|
12857
|
-
return getFormatter
|
|
12857
|
+
return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date);
|
|
12858
12858
|
}
|
|
12859
12859
|
catch (e) {
|
|
12860
12860
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting date.', e));
|
|
@@ -12869,7 +12869,7 @@ function formatTimeToParts(config, getDateTimeFormat) {
|
|
|
12869
12869
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12870
12870
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12871
12871
|
try {
|
|
12872
|
-
return getFormatter
|
|
12872
|
+
return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date);
|
|
12873
12873
|
}
|
|
12874
12874
|
catch (e) {
|
|
12875
12875
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting time.', e));
|
|
@@ -13019,7 +13019,7 @@ var NUMBER_FORMAT_OPTIONS = [
|
|
|
13019
13019
|
'unit',
|
|
13020
13020
|
'unitDisplay',
|
|
13021
13021
|
];
|
|
13022
|
-
function getFormatter(_a, getNumberFormat, options) {
|
|
13022
|
+
function getFormatter$2(_a, getNumberFormat, options) {
|
|
13023
13023
|
var locale = _a.locale, formats = _a.formats, onError = _a.onError;
|
|
13024
13024
|
if (options === void 0) { options = {}; }
|
|
13025
13025
|
var format = options.format;
|
|
@@ -13032,7 +13032,7 @@ function getFormatter(_a, getNumberFormat, options) {
|
|
|
13032
13032
|
function formatNumber(config, getNumberFormat, value, options) {
|
|
13033
13033
|
if (options === void 0) { options = {}; }
|
|
13034
13034
|
try {
|
|
13035
|
-
return getFormatter(config, getNumberFormat, options).format(value);
|
|
13035
|
+
return getFormatter$2(config, getNumberFormat, options).format(value);
|
|
13036
13036
|
}
|
|
13037
13037
|
catch (e) {
|
|
13038
13038
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting number.', e));
|
|
@@ -13042,7 +13042,7 @@ function formatNumber(config, getNumberFormat, value, options) {
|
|
|
13042
13042
|
function formatNumberToParts(config, getNumberFormat, value, options) {
|
|
13043
13043
|
if (options === void 0) { options = {}; }
|
|
13044
13044
|
try {
|
|
13045
|
-
return getFormatter(config, getNumberFormat, options).formatToParts(value);
|
|
13045
|
+
return getFormatter$2(config, getNumberFormat, options).formatToParts(value);
|
|
13046
13046
|
}
|
|
13047
13047
|
catch (e) {
|
|
13048
13048
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting number.', e));
|
|
@@ -13067,7 +13067,7 @@ function verifyConfigMessages(config) {
|
|
|
13067
13067
|
*/
|
|
13068
13068
|
function createIntl(config, cache) {
|
|
13069
13069
|
var formatters = createFormatters(cache);
|
|
13070
|
-
var resolvedConfig = __assign(__assign({}, DEFAULT_INTL_CONFIG), config);
|
|
13070
|
+
var resolvedConfig = __assign$2(__assign$2({}, DEFAULT_INTL_CONFIG), config);
|
|
13071
13071
|
var locale = resolvedConfig.locale, defaultLocale = resolvedConfig.defaultLocale, onError = resolvedConfig.onError;
|
|
13072
13072
|
if (!locale) {
|
|
13073
13073
|
if (onError) {
|
|
@@ -13088,7 +13088,7 @@ function createIntl(config, cache) {
|
|
|
13088
13088
|
onError(new MissingDataError("Missing locale data for locale: \"" + locale + "\" in Intl.DateTimeFormat. Using default locale: \"" + defaultLocale + "\" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details"));
|
|
13089
13089
|
}
|
|
13090
13090
|
verifyConfigMessages(resolvedConfig);
|
|
13091
|
-
return __assign(__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
|
|
13091
|
+
return __assign$2(__assign$2({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
|
|
13092
13092
|
}
|
|
13093
13093
|
|
|
13094
13094
|
var __defProp = Object.defineProperty;
|
|
@@ -14698,18 +14698,18 @@ var renderFormControl = (props, input) => {
|
|
|
14698
14698
|
* subject to an additional IP rights grant found at
|
|
14699
14699
|
* http://polymer.github.io/PATENTS.txt
|
|
14700
14700
|
*/
|
|
14701
|
-
var previousValues
|
|
14701
|
+
var previousValues = new WeakMap();
|
|
14702
14702
|
var ifDefined = directive((value) => (part) => {
|
|
14703
|
-
const previousValue = previousValues
|
|
14703
|
+
const previousValue = previousValues.get(part);
|
|
14704
14704
|
if (value === void 0 && part instanceof AttributePart) {
|
|
14705
|
-
if (previousValue !== void 0 || !previousValues
|
|
14705
|
+
if (previousValue !== void 0 || !previousValues.has(part)) {
|
|
14706
14706
|
const name = part.committer.name;
|
|
14707
14707
|
part.committer.element.removeAttribute(name);
|
|
14708
14708
|
}
|
|
14709
14709
|
} else if (value !== previousValue) {
|
|
14710
14710
|
part.setValue(value);
|
|
14711
14711
|
}
|
|
14712
|
-
previousValues
|
|
14712
|
+
previousValues.set(part, value);
|
|
14713
14713
|
});
|
|
14714
14714
|
|
|
14715
14715
|
// node_modules/lit-element/lib/decorators.js
|
|
@@ -14866,13 +14866,13 @@ function internalProperty(options) {
|
|
|
14866
14866
|
var textarea_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n.form-control .form-control__label {\n display: none;\n}\n.form-control .form-control__help-text {\n display: none;\n}\n\n.form-control--has-label .form-control__label {\n display: inline-block;\n color: var(--sl-input-label-color);\n margin-bottom: var(--sl-spacing-xxx-small);\n}\n.form-control--has-label.form-control--small .form-control__label {\n font-size: var(--sl-input-label-font-size-small);\n}\n.form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--sl-input-label-font-size-medium);\n}\n.form-control--has-label.form-control--large .form-control_label {\n font-size: var(--sl-input-label-font-size-large);\n}\n\n.form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--sl-input-help-text-color);\n}\n.form-control--has-help-text .form-control__help-text ::slotted(*) {\n margin-top: var(--sl-spacing-xxx-small);\n}\n.form-control--has-help-text.form-control--small .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-small);\n}\n.form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-medium);\n}\n.form-control--has-help-text.form-control--large .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-large);\n}\n\n:host {\n display: block;\n}\n\n.textarea {\n display: flex;\n align-items: center;\n position: relative;\n width: 100%;\n font-family: var(--sl-input-font-family);\n font-weight: var(--sl-input-font-weight);\n line-height: var(--sl-line-height-normal);\n letter-spacing: var(--sl-input-letter-spacing);\n background-color: var(--sl-input-background-color);\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n vertical-align: middle;\n transition: var(--sl-transition-fast) color, var(--sl-transition-fast) border, var(--sl-transition-fast) box-shadow;\n cursor: text;\n}\n.textarea:hover:not(.textarea--disabled) {\n background-color: var(--sl-input-background-color-hover);\n border-color: var(--sl-input-border-color-hover);\n}\n.textarea:hover:not(.textarea--disabled) .textarea__control {\n color: var(--sl-input-color-hover);\n}\n.textarea.textarea--focused:not(.textarea--disabled) {\n background-color: var(--sl-input-background-color-focus);\n border-color: var(--sl-input-border-color-focus);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n color: var(--sl-input-color-focus);\n}\n.textarea.textarea--focused:not(.textarea--disabled) .textarea__control {\n color: var(--sl-input-color-focus);\n}\n.textarea.textarea--disabled {\n background-color: var(--sl-input-background-color-disabled);\n border-color: var(--sl-input-border-color-disabled);\n opacity: 0.5;\n cursor: not-allowed;\n}\n.textarea.textarea--disabled .textarea__control {\n color: var(--sl-input-color-disabled);\n}\n.textarea.textarea--disabled .textarea__control::placeholder {\n color: var(--sl-input-placeholder-color-disabled);\n}\n\n.textarea__control {\n flex: 1 1 auto;\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n line-height: 1.4;\n color: var(--sl-input-color);\n border: none;\n background: none;\n box-shadow: none;\n cursor: inherit;\n -webkit-appearance: none;\n}\n.textarea__control::-webkit-search-decoration, .textarea__control::-webkit-search-cancel-button, .textarea__control::-webkit-search-results-button, .textarea__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n.textarea__control::placeholder {\n color: var(--sl-input-placeholder-color);\n user-select: none;\n}\n.textarea__control:focus {\n outline: none;\n}\n\n.textarea--small {\n border-radius: var(--sl-input-border-radius-small);\n font-size: var(--sl-input-font-size-small);\n}\n.textarea--small .textarea__control {\n padding: 0.5em var(--sl-input-spacing-small);\n}\n\n.textarea--medium {\n border-radius: var(--sl-input-border-radius-medium);\n font-size: var(--sl-input-font-size-medium);\n}\n.textarea--medium .textarea__control {\n padding: 0.5em var(--sl-input-spacing-medium);\n}\n\n.textarea--large {\n border-radius: var(--sl-input-border-radius-large);\n font-size: var(--sl-input-font-size-large);\n}\n.textarea--large .textarea__control {\n padding: 0.5em var(--sl-input-spacing-large);\n}\n\n.textarea--resize-none .textarea__control {\n resize: none;\n}\n\n.textarea--resize-vertical .textarea__control {\n resize: vertical;\n}\n\n.textarea--resize-auto .textarea__control {\n height: auto;\n resize: none;\n}";
|
|
14867
14867
|
|
|
14868
14868
|
// src/components/textarea/textarea.ts
|
|
14869
|
-
var id$
|
|
14869
|
+
var id$2 = 0;
|
|
14870
14870
|
var SlTextarea = class extends LitElement {
|
|
14871
14871
|
constructor() {
|
|
14872
14872
|
super(...arguments);
|
|
14873
|
-
this.helpTextId = `textarea-help-text-${id$
|
|
14874
|
-
this.inputId = `textarea-${++id$
|
|
14875
|
-
this.labelId = `textarea-label-${id$
|
|
14873
|
+
this.helpTextId = `textarea-help-text-${id$2}`;
|
|
14874
|
+
this.inputId = `textarea-${++id$2}`;
|
|
14875
|
+
this.labelId = `textarea-label-${id$2}`;
|
|
14876
14876
|
this.hasFocus = false;
|
|
14877
14877
|
this.hasHelpTextSlot = false;
|
|
14878
14878
|
this.hasLabelSlot = false;
|
|
@@ -15467,8 +15467,8 @@ function getViewportRect(element) {
|
|
|
15467
15467
|
}
|
|
15468
15468
|
|
|
15469
15469
|
// node_modules/@popperjs/core/dist/esm/utils/math.js
|
|
15470
|
-
var max = Math.max;
|
|
15471
|
-
var min = Math.min;
|
|
15470
|
+
var max$2 = Math.max;
|
|
15471
|
+
var min$3 = Math.min;
|
|
15472
15472
|
var round = Math.round;
|
|
15473
15473
|
|
|
15474
15474
|
// node_modules/@popperjs/core/dist/esm/dom-utils/getDocumentRect.js
|
|
@@ -15477,12 +15477,12 @@ function getDocumentRect(element) {
|
|
|
15477
15477
|
var html = getDocumentElement(element);
|
|
15478
15478
|
var winScroll = getWindowScroll(element);
|
|
15479
15479
|
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
15480
|
-
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
15481
|
-
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
15480
|
+
var width = max$2(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
15481
|
+
var height = max$2(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
15482
15482
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
15483
15483
|
var y = -winScroll.scrollTop;
|
|
15484
15484
|
if (getComputedStyle$1(body || html).direction === "rtl") {
|
|
15485
|
-
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
15485
|
+
x += max$2(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
15486
15486
|
}
|
|
15487
15487
|
return {
|
|
15488
15488
|
width,
|
|
@@ -15552,10 +15552,10 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
15552
15552
|
var firstClippingParent = clippingParents2[0];
|
|
15553
15553
|
var clippingRect = clippingParents2.reduce(function(accRect, clippingParent) {
|
|
15554
15554
|
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
15555
|
-
accRect.top = max(rect.top, accRect.top);
|
|
15556
|
-
accRect.right = min(rect.right, accRect.right);
|
|
15557
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
15558
|
-
accRect.left = max(rect.left, accRect.left);
|
|
15555
|
+
accRect.top = max$2(rect.top, accRect.top);
|
|
15556
|
+
accRect.right = min$3(rect.right, accRect.right);
|
|
15557
|
+
accRect.bottom = min$3(rect.bottom, accRect.bottom);
|
|
15558
|
+
accRect.left = max$2(rect.left, accRect.left);
|
|
15559
15559
|
return accRect;
|
|
15560
15560
|
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
15561
15561
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -15893,7 +15893,7 @@ var applyStyles_default = {
|
|
|
15893
15893
|
|
|
15894
15894
|
// node_modules/@popperjs/core/dist/esm/utils/within.js
|
|
15895
15895
|
function within(min2, value, max2) {
|
|
15896
|
-
return max(min2, min(value, max2));
|
|
15896
|
+
return max$2(min2, min$3(value, max2));
|
|
15897
15897
|
}
|
|
15898
15898
|
|
|
15899
15899
|
// node_modules/@popperjs/core/dist/esm/modifiers/arrow.js
|
|
@@ -16151,7 +16151,7 @@ function getExpandedFallbackPlacements(placement) {
|
|
|
16151
16151
|
var oppositePlacement = getOppositePlacement(placement);
|
|
16152
16152
|
return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
|
|
16153
16153
|
}
|
|
16154
|
-
function flip
|
|
16154
|
+
function flip(_ref) {
|
|
16155
16155
|
var state = _ref.state, options = _ref.options, name = _ref.name;
|
|
16156
16156
|
if (state.modifiersData[name]._skip) {
|
|
16157
16157
|
return;
|
|
@@ -16242,7 +16242,7 @@ var flip_default = {
|
|
|
16242
16242
|
name: "flip",
|
|
16243
16243
|
enabled: true,
|
|
16244
16244
|
phase: "main",
|
|
16245
|
-
fn: flip
|
|
16245
|
+
fn: flip,
|
|
16246
16246
|
requiresIfExists: ["offset"],
|
|
16247
16247
|
data: {
|
|
16248
16248
|
_skip: false
|
|
@@ -16420,7 +16420,7 @@ function preventOverflow(_ref) {
|
|
|
16420
16420
|
var tetherMin = popperOffsets2[mainAxis] + minOffset - offsetModifierValue - clientOffset;
|
|
16421
16421
|
var tetherMax = popperOffsets2[mainAxis] + maxOffset - offsetModifierValue;
|
|
16422
16422
|
if (checkMainAxis) {
|
|
16423
|
-
var preventedOffset = within(tether ? min(min2, tetherMin) : min2, offset2, tether ? max(max2, tetherMax) : max2);
|
|
16423
|
+
var preventedOffset = within(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$2(max2, tetherMax) : max2);
|
|
16424
16424
|
popperOffsets2[mainAxis] = preventedOffset;
|
|
16425
16425
|
data[mainAxis] = preventedOffset - offset2;
|
|
16426
16426
|
}
|
|
@@ -16430,7 +16430,7 @@ function preventOverflow(_ref) {
|
|
|
16430
16430
|
var _offset = popperOffsets2[altAxis];
|
|
16431
16431
|
var _min = _offset + overflow[_mainSide];
|
|
16432
16432
|
var _max = _offset - overflow[_altSide];
|
|
16433
|
-
var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
|
|
16433
|
+
var _preventedOffset = within(tether ? min$3(_min, tetherMin) : _min, _offset, tether ? max$2(_max, tetherMax) : _max);
|
|
16434
16434
|
popperOffsets2[altAxis] = _preventedOffset;
|
|
16435
16435
|
data[altAxis] = _preventedOffset - _offset;
|
|
16436
16436
|
}
|
|
@@ -16546,11 +16546,11 @@ var popover_default = Popover;
|
|
|
16546
16546
|
var tooltip_default = ':host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n/**\n * @prop --hide-delay: The amount of time to wait before hiding the tooltip.\n * @prop --hide-duration: The amount of time the hide transition takes to complete.\n * @prop --hide-timing-function: The timing function (easing) to use for the hide transition.\n * @prop --max-width: The maximum width of the tooltip.\n * @prop --show-delay: The amount of time to wait before showing the tooltip.\n * @prop --show-duration: The amount of time the show transition takes to complete.\n * @prop --show-timing-function: The timing function (easing) to use for the show transition.\n */\n:host {\n --max-width: 20rem;\n --hide-delay: 0s;\n --hide-duration: 0.125s;\n --hide-timing-function: ease;\n --show-delay: 0.125s;\n --show-duration: 0.125s;\n --show-timing-function: ease;\n display: contents;\n}\n\n.tooltip-positioner {\n position: absolute;\n z-index: var(--sl-z-index-tooltip);\n pointer-events: none;\n}\n\n.tooltip {\n max-width: var(--max-width);\n border-radius: var(--sl-tooltip-border-radius);\n background-color: var(--sl-tooltip-background-color);\n font-family: var(--sl-tooltip-font-family);\n font-size: var(--sl-tooltip-font-size);\n font-weight: var(--sl-tooltip-font-weight);\n line-height: var(--sl-tooltip-line-height);\n color: var(--sl-tooltip-color);\n opacity: 0;\n padding: var(--sl-tooltip-padding);\n transform: scale(0.8);\n transform-origin: bottom;\n transition-property: opacity, transform;\n transition-delay: var(--hide-delay);\n transition-duration: var(--hide-duration);\n transition-timing-function: var(--hide-timing-function);\n}\n.tooltip:after {\n content: "";\n position: absolute;\n width: 0;\n height: 0;\n}\n\n.tooltip-positioner[data-popper-placement^=top] .tooltip {\n transform-origin: bottom;\n}\n.tooltip-positioner[data-popper-placement^=bottom] .tooltip {\n transform-origin: top;\n}\n.tooltip-positioner[data-popper-placement^=left] .tooltip {\n transform-origin: right;\n}\n.tooltip-positioner[data-popper-placement^=right] .tooltip {\n transform-origin: left;\n}\n.tooltip-positioner.popover-visible .tooltip {\n opacity: 1;\n transform: none;\n transition-delay: var(--show-delay);\n transition-duration: var(--show-duration);\n transition-timing-function: var(--show-timing-function);\n}\n\n.tooltip-positioner[data-popper-placement^=bottom] .tooltip:after {\n bottom: 100%;\n left: calc(50% - var(--sl-tooltip-arrow-size));\n border-bottom: var(--sl-tooltip-arrow-size) solid var(--sl-tooltip-background-color);\n border-left: var(--sl-tooltip-arrow-size) solid transparent;\n border-right: var(--sl-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement=bottom-start] .tooltip:after {\n left: var(--sl-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement=bottom-end] .tooltip:after {\n right: var(--sl-tooltip-arrow-start-end-offset);\n left: auto;\n}\n\n.tooltip-positioner[data-popper-placement^=top] .tooltip:after {\n top: 100%;\n left: calc(50% - var(--sl-tooltip-arrow-size));\n border-top: var(--sl-tooltip-arrow-size) solid var(--sl-tooltip-background-color);\n border-left: var(--sl-tooltip-arrow-size) solid transparent;\n border-right: var(--sl-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement=top-start] .tooltip:after {\n left: var(--sl-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement=top-end] .tooltip:after {\n right: var(--sl-tooltip-arrow-start-end-offset);\n left: auto;\n}\n\n.tooltip-positioner[data-popper-placement^=left] .tooltip:after {\n top: calc(50% - var(--sl-tooltip-arrow-size));\n left: 100%;\n border-left: var(--sl-tooltip-arrow-size) solid var(--sl-tooltip-background-color);\n border-top: var(--sl-tooltip-arrow-size) solid transparent;\n border-bottom: var(--sl-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement=left-start] .tooltip:after {\n top: var(--sl-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement=left-end] .tooltip:after {\n top: auto;\n bottom: var(--sl-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement^=right] .tooltip:after {\n top: calc(50% - var(--sl-tooltip-arrow-size));\n right: 100%;\n border-right: var(--sl-tooltip-arrow-size) solid var(--sl-tooltip-background-color);\n border-top: var(--sl-tooltip-arrow-size) solid transparent;\n border-bottom: var(--sl-tooltip-arrow-size) solid transparent;\n}\n\n.tooltip-positioner[data-popper-placement=right-start] .tooltip:after {\n top: var(--sl-tooltip-arrow-start-end-offset);\n}\n\n.tooltip-positioner[data-popper-placement=right-end] .tooltip:after {\n top: auto;\n bottom: var(--sl-tooltip-arrow-start-end-offset);\n}';
|
|
16547
16547
|
|
|
16548
16548
|
// src/components/tooltip/tooltip.ts
|
|
16549
|
-
var id$
|
|
16549
|
+
var id$3 = 0;
|
|
16550
16550
|
var SlTooltip = class extends LitElement {
|
|
16551
16551
|
constructor() {
|
|
16552
16552
|
super(...arguments);
|
|
16553
|
-
this.componentId = `tooltip-${++id$
|
|
16553
|
+
this.componentId = `tooltip-${++id$3}`;
|
|
16554
16554
|
this.isVisible = false;
|
|
16555
16555
|
this.content = "";
|
|
16556
16556
|
this.placement = "top";
|
|
@@ -16771,13 +16771,13 @@ function getTextContent(slot) {
|
|
|
16771
16771
|
var select_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n.form-control .form-control__label {\n display: none;\n}\n.form-control .form-control__help-text {\n display: none;\n}\n\n.form-control--has-label .form-control__label {\n display: inline-block;\n color: var(--sl-input-label-color);\n margin-bottom: var(--sl-spacing-xxx-small);\n}\n.form-control--has-label.form-control--small .form-control__label {\n font-size: var(--sl-input-label-font-size-small);\n}\n.form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--sl-input-label-font-size-medium);\n}\n.form-control--has-label.form-control--large .form-control_label {\n font-size: var(--sl-input-label-font-size-large);\n}\n\n.form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--sl-input-help-text-color);\n}\n.form-control--has-help-text .form-control__help-text ::slotted(*) {\n margin-top: var(--sl-spacing-xxx-small);\n}\n.form-control--has-help-text.form-control--small .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-small);\n}\n.form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-medium);\n}\n.form-control--has-help-text.form-control--large .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-large);\n}\n\n/**\n * @prop --focus-ring: The focus ring style to use when the control receives focus, a `box-shadow` property.\n */\n:host {\n --focus-ring: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n display: block;\n}\n\n.select {\n display: block;\n}\n\n.select__box {\n display: inline-flex;\n align-items: center;\n justify-content: start;\n position: relative;\n width: 100%;\n font-family: var(--sl-input-font-family);\n font-weight: var(--sl-input-font-weight);\n letter-spacing: var(--sl-input-letter-spacing);\n background-color: var(--sl-input-background-color);\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n vertical-align: middle;\n overflow: hidden;\n transition: var(--sl-transition-fast) color, var(--sl-transition-fast) border, var(--sl-transition-fast) box-shadow;\n cursor: pointer;\n}\n\n.select:not(.select--disabled) .select__box:hover {\n background-color: var(--sl-input-background-color-hover);\n border-color: var(--sl-input-border-color-hover);\n color: var(--sl-input-color-hover);\n}\n\n.select:not(.select--disabled) .select__box:focus {\n background-color: var(--sl-input-background-color-focus);\n border-color: var(--sl-input-border-color-focus);\n box-shadow: var(--focus-ring);\n outline: none;\n color: var(--sl-input-color-focus);\n}\n\n.select--disabled .select__box {\n background-color: var(--sl-input-background-color-disabled);\n border-color: var(--sl-input-border-color-disabled);\n color: var(--sl-input-color-disabled);\n opacity: 0.5;\n cursor: not-allowed;\n outline: none;\n}\n.select--disabled .select__tags,\n.select--disabled .select__clear {\n pointer-events: none;\n}\n\n.select__label {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n user-select: none;\n scrollbar-width: none;\n -ms-overflow-style: none;\n overflow-x: auto;\n overflow-y: hidden;\n white-space: nowrap;\n}\n.select__label::-webkit-scrollbar {\n width: 0;\n height: 0;\n}\n\n.select__clear {\n flex: 0 0 auto;\n}\n\n.select__icon {\n flex: 0 0 auto;\n display: inline-flex;\n transition: var(--sl-transition-medium) transform ease;\n}\n\n.select--open .select__icon {\n transform: rotate(-180deg);\n}\n\n.select--placeholder-visible .select__label {\n color: var(--sl-input-placeholder-color);\n}\n\n.select--disabled.select--placeholder-visible .select__label {\n color: var(--sl-input-placeholder-color-disabled);\n}\n\n.select__tags {\n display: inline-flex;\n align-items: center;\n flex-wrap: wrap;\n justify-content: left;\n margin-left: var(--sl-spacing-xx-small);\n}\n\n.select__hidden-select {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.select--small .select__box {\n border-radius: var(--sl-input-border-radius-small);\n font-size: var(--sl-input-font-size-small);\n min-height: var(--sl-input-height-small);\n}\n.select--small .select__label {\n margin: 0 var(--sl-input-spacing-small);\n}\n.select--small .select__clear {\n margin-right: var(--sl-input-spacing-small);\n}\n.select--small .select__icon {\n margin-right: var(--sl-input-spacing-small);\n}\n.select--small .select__tags {\n padding-bottom: 2px;\n}\n.select--small .select__tags sl-tag {\n padding-top: 2px;\n}\n.select--small .select__tags sl-tag:not(:last-of-type) {\n margin-right: var(--sl-spacing-xx-small);\n}\n.select--small.select--has-tags .select__label {\n margin-left: 0;\n}\n\n.select--medium .select__box {\n border-radius: var(--sl-input-border-radius-medium);\n font-size: var(--sl-input-font-size-medium);\n min-height: var(--sl-input-height-medium);\n}\n.select--medium .select__label {\n margin: 0 var(--sl-input-spacing-medium);\n}\n.select--medium .select__clear {\n margin-right: var(--sl-input-spacing-medium);\n}\n.select--medium .select__icon {\n margin-right: var(--sl-input-spacing-medium);\n}\n.select--medium .select__tags {\n padding-bottom: 3px;\n}\n.select--medium .select__tags sl-tag {\n padding-top: 3px;\n}\n.select--medium .select__tags sl-tag:not(:last-of-type) {\n margin-right: var(--sl-spacing-xx-small);\n}\n.select--medium.select--has-tags .select__label {\n margin-left: 0;\n}\n\n.select--large .select__box {\n border-radius: var(--sl-input-border-radius-large);\n font-size: var(--sl-input-font-size-large);\n min-height: var(--sl-input-height-large);\n}\n.select--large .select__label {\n margin: 0 var(--sl-input-spacing-large);\n}\n.select--large .select__clear {\n margin-right: var(--sl-input-spacing-large);\n}\n.select--large .select__icon {\n margin-right: var(--sl-input-spacing-large);\n}\n.select--large .select__tags {\n padding-bottom: 4px;\n}\n.select--large .select__tags sl-tag {\n padding-top: 4px;\n}\n.select--large .select__tags sl-tag:not(:last-of-type) {\n margin-right: var(--sl-spacing-xx-small);\n}\n.select--large.select--has-tags .select__label {\n margin-left: 0;\n}\n\n.select--pill.select--small .select__box {\n border-radius: var(--sl-input-height-small);\n}\n.select--pill.select--medium .select__box {\n border-radius: var(--sl-input-height-medium);\n}\n.select--pill.select--large .select__box {\n border-radius: var(--sl-input-height-large);\n}";
|
|
16772
16772
|
|
|
16773
16773
|
// src/components/select/select.ts
|
|
16774
|
-
var id$
|
|
16774
|
+
var id$4 = 0;
|
|
16775
16775
|
var SlSelect = class extends LitElement {
|
|
16776
16776
|
constructor() {
|
|
16777
16777
|
super(...arguments);
|
|
16778
|
-
this.helpTextId = `select-help-text-${id$
|
|
16779
|
-
this.inputId = `select-${++id$
|
|
16780
|
-
this.labelId = `select-label-${id$
|
|
16778
|
+
this.helpTextId = `select-help-text-${id$4}`;
|
|
16779
|
+
this.inputId = `select-${++id$4}`;
|
|
16780
|
+
this.labelId = `select-label-${id$4}`;
|
|
16781
16781
|
this.hasFocus = false;
|
|
16782
16782
|
this.hasHelpTextSlot = false;
|
|
16783
16783
|
this.hasLabelSlot = false;
|
|
@@ -17235,12 +17235,12 @@ var spinner_default2 = SlSpinner;
|
|
|
17235
17235
|
var switch_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n/**\n * @prop --width: The width of the switch.\n * @prop --height: The height of the switch.\n * @prop --thumb-size: The size of the thumb.\n */\n:host {\n --height: var(--sl-toggle-size);\n --thumb-size: calc(var(--sl-toggle-size) + 4px);\n --width: calc(var(--height) * 2);\n display: inline-block;\n}\n\n.switch {\n display: inline-flex;\n align-items: center;\n font-family: var(--sl-input-font-family);\n font-size: var(--sl-input-font-size-medium);\n font-weight: var(--sl-input-font-weight);\n color: var(--sl-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.switch__control {\n flex: 0 0 auto;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--width);\n height: var(--height);\n background-color: var(--sl-color-gray-300);\n border: solid var(--sl-input-border-width) var(--sl-color-gray-300);\n border-radius: var(--height);\n transition: var(--sl-transition-fast) border-color, var(--sl-transition-fast) background-color;\n}\n.switch__control .switch__thumb {\n width: var(--thumb-size);\n height: var(--thumb-size);\n background-color: var(--sl-color-white);\n border-radius: 50%;\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n transform: translateX(calc(var(--width) / -2 + var(--thumb-size) / 2 - (var(--thumb-size) - var(--height)) / 2));\n transition: var(--sl-transition-fast) transform ease, var(--sl-transition-fast) background-color, var(--sl-transition-fast) border-color, var(--sl-transition-fast) box-shadow;\n}\n.switch__control input[type=checkbox] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n}\n\n.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover {\n background-color: var(--sl-color-gray-200);\n border-color: var(--sl-color-gray-200);\n}\n.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover .switch__thumb {\n background-color: var(--sl-color-white);\n border-color: var(--sl-input-border-color);\n}\n\n.switch.switch--focused:not(.switch--checked):not(.switch--disabled) .switch__control {\n background-color: var(--sl-color-gray-200);\n border-color: var(--sl-color-gray-200);\n}\n.switch.switch--focused:not(.switch--checked):not(.switch--disabled) .switch__control .switch__thumb {\n background-color: var(--sl-color-white);\n border-color: var(--sl-color-primary-500);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.switch--checked .switch__control {\n background-color: var(--sl-color-primary-500);\n border-color: var(--sl-color-primary-500);\n}\n.switch--checked .switch__control .switch__thumb {\n background-color: var(--sl-color-white);\n border-color: var(--sl-color-primary-500);\n transform: translateX(calc(var(--width) / 2 - var(--thumb-size) / 2 + (var(--thumb-size) - var(--height)) / 2));\n}\n\n.switch.switch--checked:not(.switch--disabled) .switch__control:hover {\n background-color: var(--sl-color-primary-400);\n border-color: var(--sl-color-primary-400);\n}\n.switch.switch--checked:not(.switch--disabled) .switch__control:hover .switch__thumb {\n background-color: var(--sl-color-white);\n border-color: var(--sl-color-primary-500);\n}\n\n.switch.switch--checked:not(.switch--disabled).switch--focused .switch__control {\n background-color: var(--sl-color-primary-400);\n border-color: var(--sl-color-primary-400);\n}\n.switch.switch--checked:not(.switch--disabled).switch--focused .switch__control .switch__thumb {\n background-color: var(--sl-color-white);\n border-color: var(--sl-color-primary-500);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.switch--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.switch__label {\n line-height: var(--height);\n margin-left: 0.5em;\n user-select: none;\n}";
|
|
17236
17236
|
|
|
17237
17237
|
// src/components/switch/switch.ts
|
|
17238
|
-
var id$
|
|
17238
|
+
var id$5 = 0;
|
|
17239
17239
|
var SlSwitch = class extends LitElement {
|
|
17240
17240
|
constructor() {
|
|
17241
17241
|
super(...arguments);
|
|
17242
|
-
this.switchId = `switch-${++id$
|
|
17243
|
-
this.labelId = `switch-label-${id$
|
|
17242
|
+
this.switchId = `switch-${++id$5}`;
|
|
17243
|
+
this.labelId = `switch-label-${id$5}`;
|
|
17244
17244
|
this.hasFocus = false;
|
|
17245
17245
|
this.disabled = false;
|
|
17246
17246
|
this.required = false;
|
|
@@ -17378,11 +17378,11 @@ var switch_default2 = SlSwitch;
|
|
|
17378
17378
|
var tab_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n/**\n * @prop --focus-ring: The focus ring's box shadow.\n */\n:host {\n --focus-ring: inset 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n display: inline-block;\n}\n\n.tab {\n display: inline-flex;\n align-items: center;\n font-family: var(--sl-font-sans);\n font-size: var(--sl-font-size-small);\n font-weight: var(--sl-font-weight-semibold);\n border-radius: 4px;\n color: var(--sl-color-gray-600);\n padding: var(--sl-spacing-medium) var(--sl-spacing-large);\n white-space: nowrap;\n user-select: none;\n cursor: pointer;\n transition: var(--transition-speed) box-shadow, var(--transition-speed) color;\n}\n.tab:hover:not(.tab--disabled) {\n color: var(--sl-color-primary-500);\n}\n.tab:focus {\n outline: none;\n}\n.tab:focus:not(.tab--disabled) {\n color: var(--sl-color-primary-500);\n box-shadow: var(--focus-ring);\n}\n.tab.tab--active:not(.tab--disabled) {\n color: var(--sl-color-primary-500);\n}\n.tab.tab--closable {\n padding-right: var(--sl-spacing-small);\n}\n.tab.tab--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.tab__close-button {\n font-size: var(--sl-font-size-large);\n margin-left: var(--sl-spacing-xx-small);\n}\n.tab__close-button::part(base) {\n padding: var(--sl-spacing-xxx-small);\n}";
|
|
17379
17379
|
|
|
17380
17380
|
// src/components/tab/tab.ts
|
|
17381
|
-
var id$
|
|
17381
|
+
var id$6 = 0;
|
|
17382
17382
|
var SlTab = class extends LitElement {
|
|
17383
17383
|
constructor() {
|
|
17384
17384
|
super(...arguments);
|
|
17385
|
-
this.componentId = `tab-${++id$
|
|
17385
|
+
this.componentId = `tab-${++id$6}`;
|
|
17386
17386
|
this.panel = "";
|
|
17387
17387
|
this.active = false;
|
|
17388
17388
|
this.closable = false;
|
|
@@ -17810,11 +17810,11 @@ var tab_group_default2 = SlTabGroup;
|
|
|
17810
17810
|
var tab_panel_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n:host {\n display: block;\n}\n\n.tab-panel {\n border: solid 1px transparent;\n padding: 20px 20px;\n}";
|
|
17811
17811
|
|
|
17812
17812
|
// src/components/tab-panel/tab-panel.ts
|
|
17813
|
-
var id$
|
|
17813
|
+
var id$7 = 0;
|
|
17814
17814
|
var SlTabPanel = class extends LitElement {
|
|
17815
17815
|
constructor() {
|
|
17816
17816
|
super(...arguments);
|
|
17817
|
-
this.componentId = `tab-panel-${++id$
|
|
17817
|
+
this.componentId = `tab-panel-${++id$7}`;
|
|
17818
17818
|
this.name = "";
|
|
17819
17819
|
this.active = false;
|
|
17820
17820
|
}
|
|
@@ -18091,12 +18091,12 @@ var progress_ring_default2 = SlProgressRing;
|
|
|
18091
18091
|
var radio_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n:host {\n display: inline-block;\n}\n\n.radio {\n display: inline-flex;\n align-items: center;\n font-family: var(--sl-input-font-family);\n font-size: var(--sl-input-font-size-medium);\n font-weight: var(--sl-input-font-weight);\n color: var(--sl-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.radio__icon {\n display: inline-flex;\n width: var(--sl-toggle-size);\n height: var(--sl-toggle-size);\n}\n.radio__icon svg {\n width: 100%;\n height: 100%;\n}\n\n.radio__control {\n flex: 0 0 auto;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--sl-toggle-size);\n height: var(--sl-toggle-size);\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n border-radius: 50%;\n background-color: var(--sl-input-background-color);\n color: transparent;\n transition: var(--sl-transition-fast) border-color, var(--sl-transition-fast) background-color, var(--sl-transition-fast) color, var(--sl-transition-fast) box-shadow;\n}\n.radio__control input[type=radio] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n}\n\n.radio:not(.radio--checked):not(.radio--disabled) .radio__control:hover {\n border-color: var(--sl-input-border-color-hover);\n background-color: var(--sl-input-background-color-hover);\n}\n\n.radio.radio--focused:not(.radio--checked):not(.radio--disabled) .radio__control {\n border-color: var(--sl-input-border-color-focus);\n background-color: var(--sl-input-background-color-focus);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.radio--checked .radio__control {\n color: var(--sl-color-white);\n border-color: var(--sl-color-primary-500);\n background-color: var(--sl-color-primary-500);\n}\n\n.radio.radio--checked:not(.radio--disabled) .radio__control:hover {\n border-color: var(--sl-color-primary-400);\n background-color: var(--sl-color-primary-400);\n}\n\n.radio.radio--checked:not(.radio--disabled).radio--focused .radio__control {\n border-color: var(--sl-color-primary-400);\n background-color: var(--sl-color-primary-400);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.radio--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.radio__label {\n line-height: var(--sl-toggle-size);\n margin-left: 0.5em;\n user-select: none;\n}";
|
|
18092
18092
|
|
|
18093
18093
|
// src/components/radio/radio.ts
|
|
18094
|
-
var id$
|
|
18094
|
+
var id$8 = 0;
|
|
18095
18095
|
var SlRadio = class extends LitElement {
|
|
18096
18096
|
constructor() {
|
|
18097
18097
|
super(...arguments);
|
|
18098
|
-
this.inputId = `radio-${++id$
|
|
18099
|
-
this.labelId = `radio-label-${id$
|
|
18098
|
+
this.inputId = `radio-${++id$8}`;
|
|
18099
|
+
this.labelId = `radio-label-${id$8}`;
|
|
18100
18100
|
this.hasFocus = false;
|
|
18101
18101
|
this.disabled = false;
|
|
18102
18102
|
this.checked = false;
|
|
@@ -18252,13 +18252,13 @@ var radio_default2 = SlRadio;
|
|
|
18252
18252
|
var range_default = ':host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n.form-control .form-control__label {\n display: none;\n}\n.form-control .form-control__help-text {\n display: none;\n}\n\n.form-control--has-label .form-control__label {\n display: inline-block;\n color: var(--sl-input-label-color);\n margin-bottom: var(--sl-spacing-xxx-small);\n}\n.form-control--has-label.form-control--small .form-control__label {\n font-size: var(--sl-input-label-font-size-small);\n}\n.form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--sl-input-label-font-size-medium);\n}\n.form-control--has-label.form-control--large .form-control_label {\n font-size: var(--sl-input-label-font-size-large);\n}\n\n.form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--sl-input-help-text-color);\n}\n.form-control--has-help-text .form-control__help-text ::slotted(*) {\n margin-top: var(--sl-spacing-xxx-small);\n}\n.form-control--has-help-text.form-control--small .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-small);\n}\n.form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-medium);\n}\n.form-control--has-help-text.form-control--large .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-large);\n}\n\n:host {\n --thumb-size: 20px;\n --tooltip-offset-y: 10px;\n --track-color: var(--sl-color-gray-200);\n --track-height: 6px;\n display: block;\n}\n\n.range {\n position: relative;\n}\n.range .range__control {\n -webkit-appearance: none;\n width: 100%;\n height: var(--sl-input-height-medium);\n background: transparent;\n line-height: var(--sl-input-height-medium);\n vertical-align: middle;\n}\n.range .range__control::-webkit-slider-runnable-track {\n width: 100%;\n height: var(--track-height);\n background-color: var(--track-color);\n border-radius: 3px;\n border: none;\n}\n.range .range__control::-webkit-slider-thumb {\n border: none;\n width: var(--thumb-size);\n height: var(--thumb-size);\n border-radius: 50%;\n background-color: var(--sl-color-primary-500);\n border: solid var(--sl-input-border-width) var(--sl-color-primary-500);\n -webkit-appearance: none;\n margin-top: calc(var(--thumb-size) / -2 + var(--track-height) / 2);\n transition: var(--sl-transition-fast) border-color, var(--sl-transition-fast) background-color, var(--sl-transition-fast) color, var(--sl-transition-fast) box-shadow, var(--sl-transition-fast) transform;\n cursor: pointer;\n}\n.range .range__control:not(:disabled)::-webkit-slider-thumb:hover {\n background-color: var(--sl-color-primary-400);\n border-color: var(--sl-color-primary-400);\n}\n.range .range__control:not(:disabled):focus::-webkit-slider-thumb {\n background-color: var(--sl-color-primary-400);\n border-color: var(--sl-color-primary-400);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n.range .range__control:not(:disabled)::-webkit-slider-thumb:active {\n background-color: var(--sl-color-primary-500);\n border-color: var(--sl-color-primary-500);\n cursor: grabbing;\n}\n.range .range__control::-moz-focus-outer {\n border: 0;\n}\n.range .range__control::-moz-range-track {\n width: 100%;\n height: var(--track-height);\n background-color: var(--track-color);\n border-radius: 3px;\n border: none;\n}\n.range .range__control::-moz-range-thumb {\n border: none;\n height: var(--thumb-size);\n width: var(--thumb-size);\n border-radius: 50%;\n background-color: var(--sl-color-primary-500);\n border-color: var(--sl-color-primary-500);\n transition: var(--sl-transition-fast) border-color, var(--sl-transition-fast) background-color, var(--sl-transition-fast) color, var(--sl-transition-fast) box-shadow, var(--sl-transition-fast) transform;\n cursor: pointer;\n}\n.range .range__control:not(:disabled)::-moz-range-thumb:hover {\n background-color: var(--sl-color-primary-400);\n border-color: var(--sl-color-primary-400);\n}\n.range .range__control:not(:disabled):focus::-moz-range-thumb {\n background-color: var(--sl-color-primary-400);\n border-color: var(--sl-color-primary-400);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n.range .range__control:not(:disabled)::-moz-range-thumb:active {\n background-color: var(--sl-color-primary-600);\n border-color: var(--sl-color-primary-600);\n cursor: grabbing;\n}\n.range .range__control:focus {\n outline: none;\n}\n.range .range__control:disabled {\n opacity: 0.5;\n}\n.range .range__control:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n.range .range__control:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\n.range__tooltip {\n position: absolute;\n z-index: var(--sl-z-index-tooltip);\n left: 1px;\n border-radius: var(--sl-tooltip-border-radius);\n background-color: var(--sl-tooltip-background-color);\n font-family: var(--sl-tooltip-font-family);\n font-size: var(--sl-tooltip-font-size);\n font-weight: var(--sl-tooltip-font-weight);\n line-height: var(--sl-tooltip-line-height);\n color: var(--sl-tooltip-color);\n opacity: 0;\n padding: var(--sl-tooltip-padding);\n transition: var(--sl-transition-fast) opacity;\n pointer-events: none;\n}\n.range__tooltip:after {\n content: "";\n position: absolute;\n width: 0;\n height: 0;\n left: 50%;\n margin-left: calc(-1 * var(--sl-tooltip-arrow-size));\n}\n\n.range--tooltip-visible .range__tooltip {\n opacity: 1;\n}\n\n.range--tooltip-top .range__tooltip {\n top: calc(-1 * var(--thumb-size) - var(--tooltip-offset-y));\n}\n.range--tooltip-top .range__tooltip:after {\n border-top: var(--sl-tooltip-arrow-size) solid var(--sl-tooltip-background-color);\n border-left: var(--sl-tooltip-arrow-size) solid transparent;\n border-right: var(--sl-tooltip-arrow-size) solid transparent;\n top: 100%;\n}\n\n.range--tooltip-bottom .range__tooltip {\n bottom: calc(-1 * var(--thumb-size) - var(--tooltip-offset-y));\n}\n.range--tooltip-bottom .range__tooltip:after {\n border-bottom: var(--sl-tooltip-arrow-size) solid var(--sl-tooltip-background-color);\n border-left: var(--sl-tooltip-arrow-size) solid transparent;\n border-right: var(--sl-tooltip-arrow-size) solid transparent;\n bottom: 100%;\n}';
|
|
18253
18253
|
|
|
18254
18254
|
// src/components/range/range.ts
|
|
18255
|
-
var id$
|
|
18255
|
+
var id$9 = 0;
|
|
18256
18256
|
var SlRange = class extends LitElement {
|
|
18257
18257
|
constructor() {
|
|
18258
18258
|
super(...arguments);
|
|
18259
|
-
this.helpTextId = `input-help-text-${id$
|
|
18260
|
-
this.inputId = `input-${++id$
|
|
18261
|
-
this.labelId = `input-label-${id$
|
|
18259
|
+
this.helpTextId = `input-help-text-${id$9}`;
|
|
18260
|
+
this.inputId = `input-${++id$9}`;
|
|
18261
|
+
this.labelId = `input-label-${id$9}`;
|
|
18262
18262
|
this.hasFocus = false;
|
|
18263
18263
|
this.hasHelpTextSlot = false;
|
|
18264
18264
|
this.hasLabelSlot = false;
|
|
@@ -19103,13 +19103,13 @@ var include_default2 = SlInclude;
|
|
|
19103
19103
|
var input_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n.form-control .form-control__label {\n display: none;\n}\n.form-control .form-control__help-text {\n display: none;\n}\n\n.form-control--has-label .form-control__label {\n display: inline-block;\n color: var(--sl-input-label-color);\n margin-bottom: var(--sl-spacing-xxx-small);\n}\n.form-control--has-label.form-control--small .form-control__label {\n font-size: var(--sl-input-label-font-size-small);\n}\n.form-control--has-label.form-control--medium .form-control__label {\n font-size: var(--sl-input-label-font-size-medium);\n}\n.form-control--has-label.form-control--large .form-control_label {\n font-size: var(--sl-input-label-font-size-large);\n}\n\n.form-control--has-help-text .form-control__help-text {\n display: block;\n color: var(--sl-input-help-text-color);\n}\n.form-control--has-help-text .form-control__help-text ::slotted(*) {\n margin-top: var(--sl-spacing-xxx-small);\n}\n.form-control--has-help-text.form-control--small .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-small);\n}\n.form-control--has-help-text.form-control--medium .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-medium);\n}\n.form-control--has-help-text.form-control--large .form-control__help-text {\n font-size: var(--sl-input-help-text-font-size-large);\n}\n\n/**\n * @prop --focus-ring: The focus ring style to use when the control receives focus, a `box-shadow` property.\n */\n:host {\n --focus-ring: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n display: block;\n}\n\n.input {\n flex: 1 1 auto;\n display: inline-flex;\n align-items: stretch;\n justify-content: start;\n position: relative;\n width: 100%;\n font-family: var(--sl-input-font-family);\n font-weight: var(--sl-input-font-weight);\n letter-spacing: var(--sl-input-letter-spacing);\n background-color: var(--sl-input-background-color);\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n vertical-align: middle;\n overflow: hidden;\n transition: var(--sl-transition-fast) color, var(--sl-transition-fast) border, var(--sl-transition-fast) box-shadow;\n cursor: text;\n}\n.input:hover:not(.input--disabled) {\n background-color: var(--sl-input-background-color-hover);\n border-color: var(--sl-input-border-color-hover);\n}\n.input:hover:not(.input--disabled) .input__control {\n color: var(--sl-input-color-hover);\n}\n.input.input--focused:not(.input--disabled) {\n background-color: var(--sl-input-background-color-focus);\n border-color: var(--sl-input-border-color-focus);\n box-shadow: var(--focus-ring);\n}\n.input.input--focused:not(.input--disabled) .input__control {\n color: var(--sl-input-color-focus);\n}\n.input.input--disabled {\n background-color: var(--sl-input-background-color-disabled);\n border-color: var(--sl-input-border-color-disabled);\n opacity: 0.5;\n cursor: not-allowed;\n}\n.input.input--disabled .input__control {\n color: var(--sl-input-color-disabled);\n}\n.input.input--disabled .input__control::placeholder {\n color: var(--sl-input-placeholder-color-disabled);\n}\n\n.input__control {\n flex: 1 1 auto;\n font-family: inherit;\n font-size: inherit;\n font-weight: inherit;\n min-width: 0;\n height: 100%;\n color: var(--sl-input-color);\n border: none;\n background: none;\n box-shadow: none;\n padding: 0;\n margin: 0;\n cursor: inherit;\n -webkit-appearance: none;\n}\n.input__control::-webkit-search-decoration, .input__control::-webkit-search-cancel-button, .input__control::-webkit-search-results-button, .input__control::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n.input__control:-webkit-autofill, .input__control:-webkit-autofill:hover, .input__control:-webkit-autofill:focus, .input__control:-webkit-autofill:active {\n box-shadow: 0 0 0 var(--sl-input-height-large) var(--sl-input-background-color-hover) inset !important;\n -webkit-text-fill-color: var(--sl-color-primary-500);\n}\n.input__control::placeholder {\n color: var(--sl-input-placeholder-color);\n user-select: none;\n}\n.input__control:focus {\n outline: none;\n}\n\n.input__prefix,\n.input__suffix {\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n cursor: default;\n}\n.input__prefix ::slotted(sl-icon),\n.input__suffix ::slotted(sl-icon) {\n color: var(--sl-input-icon-color);\n}\n\n.input--small {\n border-radius: var(--sl-input-border-radius-small);\n font-size: var(--sl-input-font-size-small);\n height: var(--sl-input-height-small);\n}\n.input--small .input__control {\n height: calc(var(--sl-input-height-small) - var(--sl-input-border-width) * 2);\n margin: 0 var(--sl-input-spacing-small);\n}\n.input--small .input__clear,\n.input--small .input__password-toggle {\n margin-right: var(--sl-input-spacing-small);\n}\n.input--small .input__prefix ::slotted(*) {\n margin-left: var(--sl-input-spacing-small);\n}\n.input--small .input__suffix ::slotted(*) {\n margin-right: var(--sl-input-spacing-small);\n}\n\n.input--medium {\n border-radius: var(--sl-input-border-radius-medium);\n font-size: var(--sl-input-font-size-medium);\n height: var(--sl-input-height-medium);\n}\n.input--medium .input__control {\n height: calc(var(--sl-input-height-medium) - var(--sl-input-border-width) * 2);\n margin: 0 var(--sl-input-spacing-medium);\n}\n.input--medium .input__clear,\n.input--medium .input__password-toggle {\n margin-right: var(--sl-input-spacing-medium);\n}\n.input--medium .input__prefix ::slotted(*) {\n margin-left: var(--sl-input-spacing-medium);\n}\n.input--medium .input__suffix ::slotted(*) {\n margin-right: var(--sl-input-spacing-medium);\n}\n\n.input--large {\n border-radius: var(--sl-input-border-radius-large);\n font-size: var(--sl-input-font-size-large);\n height: var(--sl-input-height-large);\n}\n.input--large .input__control {\n height: calc(var(--sl-input-height-large) - var(--sl-input-border-width) * 2);\n margin: 0 var(--sl-input-spacing-large);\n}\n.input--large .input__clear,\n.input--large .input__password-toggle {\n margin-right: var(--sl-input-spacing-large);\n}\n.input--large .input__prefix ::slotted(*) {\n margin-left: var(--sl-input-spacing-large);\n}\n.input--large .input__suffix ::slotted(*) {\n margin-right: var(--sl-input-spacing-large);\n}\n\n.input--pill.input--small {\n border-radius: var(--sl-input-height-small);\n}\n.input--pill.input--medium {\n border-radius: var(--sl-input-height-medium);\n}\n.input--pill.input--large {\n border-radius: var(--sl-input-height-large);\n}\n\n.input__clear,\n.input__password-toggle {\n display: inline-flex;\n align-items: center;\n font-size: inherit;\n color: var(--sl-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--sl-transition-fast) color;\n cursor: pointer;\n}\n.input__clear:hover,\n.input__password-toggle:hover {\n color: var(--sl-input-icon-color-hover);\n}\n.input__clear:focus,\n.input__password-toggle:focus {\n outline: none;\n}\n\n.input--empty .input__clear {\n visibility: hidden;\n}";
|
|
19104
19104
|
|
|
19105
19105
|
// src/components/input/input.ts
|
|
19106
|
-
var id$
|
|
19106
|
+
var id$a = 0;
|
|
19107
19107
|
var SlInput = class extends LitElement {
|
|
19108
19108
|
constructor() {
|
|
19109
19109
|
super(...arguments);
|
|
19110
|
-
this.helpTextId = `input-help-text-${id$
|
|
19111
|
-
this.inputId = `input-${++id$
|
|
19112
|
-
this.labelId = `input-label-${id$
|
|
19110
|
+
this.helpTextId = `input-help-text-${id$a}`;
|
|
19111
|
+
this.inputId = `input-${++id$a}`;
|
|
19112
|
+
this.labelId = `input-label-${id$a}`;
|
|
19113
19113
|
this.hasFocus = false;
|
|
19114
19114
|
this.hasHelpTextSlot = false;
|
|
19115
19115
|
this.hasLabelSlot = false;
|
|
@@ -20152,13 +20152,13 @@ var reparentNodes = (container, start, end = null, before = null) => {
|
|
|
20152
20152
|
* subject to an additional IP rights grant found at
|
|
20153
20153
|
* http://polymer.github.io/PATENTS.txt
|
|
20154
20154
|
*/
|
|
20155
|
-
var previousValues = new WeakMap();
|
|
20155
|
+
var previousValues$2 = new WeakMap();
|
|
20156
20156
|
var isIe = window.navigator.userAgent.indexOf("Trident/") > 0;
|
|
20157
20157
|
var unsafeSVG = directive((value) => (part) => {
|
|
20158
20158
|
if (!(part instanceof NodePart)) {
|
|
20159
20159
|
throw new Error("unsafeSVG can only be used in text bindings");
|
|
20160
20160
|
}
|
|
20161
|
-
const previousValue = previousValues.get(part);
|
|
20161
|
+
const previousValue = previousValues$2.get(part);
|
|
20162
20162
|
if (previousValue !== void 0 && isPrimitive(value) && value === previousValue.value && part.value === previousValue.fragment) {
|
|
20163
20163
|
return;
|
|
20164
20164
|
}
|
|
@@ -20177,7 +20177,7 @@ var unsafeSVG = directive((value) => (part) => {
|
|
|
20177
20177
|
reparentNodes(content, svgElement.firstChild);
|
|
20178
20178
|
const fragment = document.importNode(content, true);
|
|
20179
20179
|
part.setValue(fragment);
|
|
20180
|
-
previousValues.set(part, {value, fragment});
|
|
20180
|
+
previousValues$2.set(part, {value, fragment});
|
|
20181
20181
|
});
|
|
20182
20182
|
|
|
20183
20183
|
// _rnhw2r0rf:/Users/claviska/Projects/shoelace/src/components/icon/icon.scss
|
|
@@ -20455,12 +20455,12 @@ var card_default2 = SlCard;
|
|
|
20455
20455
|
var checkbox_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n:host {\n display: inline-block;\n}\n\n.checkbox {\n display: inline-flex;\n align-items: center;\n font-family: var(--sl-input-font-family);\n font-size: var(--sl-input-font-size-medium);\n font-weight: var(--sl-input-font-weight);\n color: var(--sl-input-color);\n vertical-align: middle;\n cursor: pointer;\n}\n\n.checkbox__control {\n flex: 0 0 auto;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--sl-toggle-size);\n height: var(--sl-toggle-size);\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n border-radius: 2px;\n background-color: var(--sl-input-background-color);\n color: var(--sl-color-white);\n transition: var(--sl-transition-fast) border-color, var(--sl-transition-fast) background-color, var(--sl-transition-fast) color, var(--sl-transition-fast) box-shadow;\n}\n.checkbox__control input[type=checkbox] {\n position: absolute;\n opacity: 0;\n padding: 0;\n margin: 0;\n pointer-events: none;\n}\n.checkbox__control .checkbox__icon {\n display: inline-flex;\n width: var(--sl-toggle-size);\n height: var(--sl-toggle-size);\n}\n.checkbox__control .checkbox__icon svg {\n width: 100%;\n height: 100%;\n}\n\n.checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover {\n border-color: var(--sl-input-border-color-hover);\n background-color: var(--sl-input-background-color-hover);\n}\n\n.checkbox.checkbox--focused:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control {\n border-color: var(--sl-input-border-color-focus);\n background-color: var(--sl-input-background-color-focus);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.checkbox--checked .checkbox__control,\n.checkbox--indeterminate .checkbox__control {\n border-color: var(--sl-color-primary-500);\n background-color: var(--sl-color-primary-500);\n}\n\n.checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,\n.checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover {\n border-color: var(--sl-color-primary-400);\n background-color: var(--sl-color-primary-400);\n}\n\n.checkbox.checkbox--checked:not(.checkbox--disabled).checkbox--focused .checkbox__control,\n.checkbox.checkbox--indeterminate:not(.checkbox--disabled).checkbox--focused .checkbox__control {\n border-color: var(--sl-color-primary-400);\n background-color: var(--sl-color-primary-400);\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.checkbox--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.checkbox__label {\n line-height: var(--sl-toggle-size);\n margin-left: 0.5em;\n user-select: none;\n}";
|
|
20456
20456
|
|
|
20457
20457
|
// src/components/checkbox/checkbox.ts
|
|
20458
|
-
var id$
|
|
20458
|
+
var id$b = 0;
|
|
20459
20459
|
var SlCheckbox = class extends LitElement {
|
|
20460
20460
|
constructor() {
|
|
20461
20461
|
super(...arguments);
|
|
20462
|
-
this.inputId = `checkbox-${++id$
|
|
20463
|
-
this.labelId = `checkbox-label-${id$
|
|
20462
|
+
this.inputId = `checkbox-${++id$b}`;
|
|
20463
|
+
this.labelId = `checkbox-label-${id$b}`;
|
|
20464
20464
|
this.hasFocus = false;
|
|
20465
20465
|
this.disabled = false;
|
|
20466
20466
|
this.required = false;
|
|
@@ -23206,11 +23206,11 @@ var color_picker_default2 = SlColorPicker;
|
|
|
23206
23206
|
var details_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n/**\n * @prop --hide-duration: The length of the hide transition.\n * @prop --hide-timing-function: The timing function (easing) to use for the hide transition.\n * @prop --show-duration: The length of the show transition.\n * @prop --show-timing-function: The timing function (easing) to use for the show transition.\n */\n:host {\n --hide-duration: var(--sl-transition-medium);\n --hide-timing-function: ease;\n --show-duration: var(--sl-transition-medium);\n --show-timing-function: ease;\n display: block;\n}\n\n.details {\n border: solid 1px var(--sl-color-gray-200);\n border-radius: var(--sl-border-radius-medium);\n overflow-anchor: none;\n}\n\n.details--disabled {\n opacity: 0.5;\n}\n\n.details__header {\n display: flex;\n align-items: center;\n border-radius: inherit;\n padding: var(--sl-spacing-medium);\n user-select: none;\n cursor: pointer;\n}\n.details__header:focus {\n outline: none;\n}\n\n.focus-visible .details__header:focus {\n box-shadow: 0 0 0 var(--sl-focus-ring-width) var(--sl-focus-ring-color-primary);\n}\n\n.details--disabled .details__header {\n cursor: not-allowed;\n}\n.details--disabled .details__header:focus {\n outline: none;\n box-shadow: none;\n}\n\n.details__summary {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n}\n\n.details__summary-icon {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n transition: var(--sl-transition-medium) transform ease;\n}\n\n.details--open .details__summary-icon {\n transform: rotate(90deg);\n}\n\n.details__body {\n height: 0;\n overflow: hidden;\n transition-property: height;\n transition-duration: var(--hide-duration);\n transition-timing-function: var(--hide-timing-function);\n}\n\n.details--open .details__body {\n transition-duration: var(--show-duration);\n transition-timing-function: var(--show-timing-function);\n}\n\n.details__content {\n padding: var(--sl-spacing-medium);\n}";
|
|
23207
23207
|
|
|
23208
23208
|
// src/components/details/details.ts
|
|
23209
|
-
var id$
|
|
23209
|
+
var id$c = 0;
|
|
23210
23210
|
var SlDetails = class extends LitElement {
|
|
23211
23211
|
constructor() {
|
|
23212
23212
|
super(...arguments);
|
|
23213
|
-
this.componentId = `details-${++id$
|
|
23213
|
+
this.componentId = `details-${++id$c}`;
|
|
23214
23214
|
this.isVisible = false;
|
|
23215
23215
|
this.open = false;
|
|
23216
23216
|
this.disabled = false;
|
|
@@ -23441,12 +23441,12 @@ function isPreventScrollSupported() {
|
|
|
23441
23441
|
var dialog_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n/**\n * @prop --width: The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n */\n:host {\n --width: 31rem;\n display: contents;\n}\n\n.dialog {\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: var(--sl-z-index-dialog);\n}\n.dialog:not(.dialog--visible) {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n overflow: hidden;\n pointer-events: none;\n visibility: hidden;\n}\n\n.dialog__panel {\n display: flex;\n flex-direction: column;\n z-index: 2;\n width: var(--width);\n max-width: calc(100% - var(--sl-spacing-xx-large));\n max-height: calc(100% - var(--sl-spacing-xx-large));\n background-color: var(--sl-panel-background-color);\n border-radius: var(--sl-border-radius-medium);\n box-shadow: var(--sl-shadow-x-large);\n opacity: 0;\n transform: scale(0.8);\n transition: var(--sl-transition-medium) opacity, var(--sl-transition-medium) transform;\n}\n.dialog__panel:focus {\n outline: none;\n}\n\n@media screen and (max-width: 420px) {\n .dialog__panel {\n max-height: 80vh;\n }\n}\n.dialog--open .dialog__panel {\n display: flex;\n opacity: 1;\n transform: none;\n}\n\n.dialog__header {\n flex: 0 0 auto;\n display: flex;\n}\n\n.dialog__title {\n flex: 1 1 auto;\n font-size: var(--sl-font-size-large);\n line-height: var(--sl-line-height-dense);\n padding: var(--sl-spacing-large);\n}\n\n.dialog__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--sl-font-size-x-large);\n padding: 0 var(--sl-spacing-large);\n}\n\n.dialog__body {\n flex: 1 1 auto;\n padding: var(--sl-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.dialog__footer {\n flex: 0 0 auto;\n text-align: right;\n padding: var(--sl-spacing-large);\n}\n.dialog__footer ::slotted(sl-button:not(:first-of-type)) {\n margin-left: var(--sl-spacing-x-small);\n}\n\n.dialog:not(.dialog--has-footer) .dialog__footer {\n display: none;\n}\n\n.dialog__overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--sl-overlay-background-color);\n opacity: 0;\n transition: var(--sl-transition-medium) opacity;\n}\n\n.dialog--open .dialog__overlay {\n opacity: 1;\n}";
|
|
23442
23442
|
|
|
23443
23443
|
// src/components/dialog/dialog.ts
|
|
23444
|
-
var hasPreventScroll
|
|
23445
|
-
var id$
|
|
23444
|
+
var hasPreventScroll = isPreventScrollSupported();
|
|
23445
|
+
var id$d = 0;
|
|
23446
23446
|
var SlDialog = class extends LitElement {
|
|
23447
23447
|
constructor() {
|
|
23448
23448
|
super(...arguments);
|
|
23449
|
-
this.componentId = `dialog-${++id$
|
|
23449
|
+
this.componentId = `dialog-${++id$d}`;
|
|
23450
23450
|
this.willShow = false;
|
|
23451
23451
|
this.willHide = false;
|
|
23452
23452
|
this.hasFooter = false;
|
|
@@ -23484,7 +23484,7 @@ var SlDialog = class extends LitElement {
|
|
|
23484
23484
|
this.modal.activate();
|
|
23485
23485
|
lockBodyScrolling(this);
|
|
23486
23486
|
if (this.open) {
|
|
23487
|
-
if (hasPreventScroll
|
|
23487
|
+
if (hasPreventScroll) {
|
|
23488
23488
|
requestAnimationFrame(() => {
|
|
23489
23489
|
const slInitialFocus = this.slInitialFocus.emit();
|
|
23490
23490
|
if (!slInitialFocus.defaultPrevented) {
|
|
@@ -23647,12 +23647,12 @@ var dialog_default2 = SlDialog;
|
|
|
23647
23647
|
var drawer_default = ":host {\n position: relative;\n box-sizing: border-box;\n}\n:host *, :host *:before, :host *:after {\n box-sizing: inherit;\n}\n\n/**\n * @prop --size: The preferred size of the drawer. This will be applied to the drawer's width or height depending on its\n * `placement`. Note that the drawer will shrink to accommodate smaller screens.\n */\n:host {\n --size: 25rem;\n display: contents;\n}\n\n.drawer {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n}\n.drawer:not(.drawer--visible) {\n position: absolute;\n width: 1px;\n height: 1px;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n overflow: hidden;\n pointer-events: none;\n visibility: hidden;\n}\n\n.drawer--contained {\n position: absolute;\n z-index: initial;\n}\n\n.drawer--fixed {\n position: fixed;\n z-index: var(--sl-z-index-drawer);\n}\n\n.drawer__panel {\n position: absolute;\n display: flex;\n flex-direction: column;\n z-index: 2;\n max-width: 100%;\n max-height: 100%;\n background-color: var(--sl-panel-background-color);\n box-shadow: var(--sl-shadow-x-large);\n transition: var(--sl-transition-medium) transform;\n overflow: auto;\n pointer-events: all;\n}\n.drawer__panel:focus {\n outline: none;\n}\n\n.drawer--top .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, -100%);\n}\n\n.drawer--right .drawer__panel {\n top: 0;\n right: 0;\n bottom: auto;\n left: auto;\n width: var(--size);\n height: 100%;\n transform: translate(100%, 0);\n}\n\n.drawer--bottom .drawer__panel {\n top: auto;\n right: auto;\n bottom: 0;\n left: 0;\n width: 100%;\n height: var(--size);\n transform: translate(0, 100%);\n}\n\n.drawer--left .drawer__panel {\n top: 0;\n right: auto;\n bottom: auto;\n left: 0;\n width: var(--size);\n height: 100%;\n transform: translate(-100%, 0);\n}\n\n.drawer--open .drawer__panel {\n transform: translate(0, 0);\n}\n\n.drawer__header {\n display: flex;\n}\n\n.drawer__title {\n flex: 1 1 auto;\n font-size: var(--sl-font-size-large);\n line-height: var(--sl-line-height-dense);\n padding: var(--sl-spacing-large);\n}\n\n.drawer__close {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--sl-font-size-x-large);\n padding: 0 var(--sl-spacing-large);\n}\n\n.drawer__body {\n flex: 1 1 auto;\n padding: var(--sl-spacing-large);\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n.drawer__footer {\n text-align: right;\n padding: var(--sl-spacing-large);\n}\n.drawer__footer ::slotted(sl-button:not(:last-of-type)) {\n margin-right: var(--sl-spacing-x-small);\n}\n\n.drawer:not(.drawer--has-footer) .drawer__footer {\n display: none;\n}\n\n.drawer__overlay {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: var(--sl-overlay-background-color);\n opacity: 0;\n transition: var(--sl-transition-medium) opacity;\n pointer-events: all;\n}\n\n.drawer--contained .drawer__overlay {\n position: absolute;\n}\n\n.drawer--open .drawer__overlay {\n opacity: 1;\n}";
|
|
23648
23648
|
|
|
23649
23649
|
// src/components/drawer/drawer.ts
|
|
23650
|
-
var hasPreventScroll = isPreventScrollSupported();
|
|
23651
|
-
var id$
|
|
23650
|
+
var hasPreventScroll$1 = isPreventScrollSupported();
|
|
23651
|
+
var id$e = 0;
|
|
23652
23652
|
var SlDrawer = class extends LitElement {
|
|
23653
23653
|
constructor() {
|
|
23654
23654
|
super(...arguments);
|
|
23655
|
-
this.componentId = `drawer-${++id$
|
|
23655
|
+
this.componentId = `drawer-${++id$e}`;
|
|
23656
23656
|
this.willShow = false;
|
|
23657
23657
|
this.willHide = false;
|
|
23658
23658
|
this.hasFooter = false;
|
|
@@ -23694,7 +23694,7 @@ var SlDrawer = class extends LitElement {
|
|
|
23694
23694
|
lockBodyScrolling(this);
|
|
23695
23695
|
}
|
|
23696
23696
|
if (this.open) {
|
|
23697
|
-
if (hasPreventScroll) {
|
|
23697
|
+
if (hasPreventScroll$1) {
|
|
23698
23698
|
requestAnimationFrame(() => {
|
|
23699
23699
|
const slInitialFocus = this.slInitialFocus.emit();
|
|
23700
23700
|
if (!slInitialFocus.defaultPrevented) {
|
|
@@ -23885,11 +23885,11 @@ function getNearestTabbableElement(el) {
|
|
|
23885
23885
|
}
|
|
23886
23886
|
|
|
23887
23887
|
// src/components/dropdown/dropdown.ts
|
|
23888
|
-
var id = 0;
|
|
23888
|
+
var id$f = 0;
|
|
23889
23889
|
var SlDropdown = class extends LitElement {
|
|
23890
23890
|
constructor() {
|
|
23891
23891
|
super(...arguments);
|
|
23892
|
-
this.componentId = `dropdown-${++id}`;
|
|
23892
|
+
this.componentId = `dropdown-${++id$f}`;
|
|
23893
23893
|
this.isVisible = false;
|
|
23894
23894
|
this.open = false;
|
|
23895
23895
|
this.placement = "bottom-start";
|
|
@@ -24881,7 +24881,7 @@ var fadeOutUpBig = [
|
|
|
24881
24881
|
];
|
|
24882
24882
|
|
|
24883
24883
|
// node_modules/@shoelace-style/animations/dist/flippers/flip.js
|
|
24884
|
-
var flip = [
|
|
24884
|
+
var flip$1 = [
|
|
24885
24885
|
{
|
|
24886
24886
|
offset: 0,
|
|
24887
24887
|
transform: "perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)",
|
|
@@ -24991,7 +24991,7 @@ __export(dist_exports, {
|
|
|
24991
24991
|
fadeOutUp: () => fadeOutUp,
|
|
24992
24992
|
fadeOutUpBig: () => fadeOutUpBig,
|
|
24993
24993
|
flash: () => flash,
|
|
24994
|
-
flip: () => flip,
|
|
24994
|
+
flip: () => flip$1,
|
|
24995
24995
|
flipInX: () => flipInX,
|
|
24996
24996
|
flipInY: () => flipInY,
|
|
24997
24997
|
flipOutX: () => flipOutX,
|