@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,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
4
|
+
const index_module = require('./index.module-54724339.js');
|
|
5
5
|
const insertcss = require('./insertcss-04580cfa.js');
|
|
6
6
|
|
|
7
|
-
var __assign
|
|
8
|
-
__assign
|
|
7
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
8
|
+
__assign = Object.assign || function(t) {
|
|
9
9
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
10
10
|
s = arguments[i];
|
|
11
11
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
@@ -13,7 +13,7 @@ var __assign$2 = (undefined && undefined.__assign) || function () {
|
|
|
13
13
|
}
|
|
14
14
|
return t;
|
|
15
15
|
};
|
|
16
|
-
return __assign
|
|
16
|
+
return __assign.apply(this, arguments);
|
|
17
17
|
};
|
|
18
18
|
var MS_PER_SECOND = 1e3;
|
|
19
19
|
var SECS_PER_MIN = 60;
|
|
@@ -23,7 +23,7 @@ var SECS_PER_WEEK = SECS_PER_DAY * 7;
|
|
|
23
23
|
function selectUnit(from, to, thresholds) {
|
|
24
24
|
if (to === void 0) { to = Date.now(); }
|
|
25
25
|
if (thresholds === void 0) { thresholds = {}; }
|
|
26
|
-
var resolvedThresholds = __assign
|
|
26
|
+
var resolvedThresholds = __assign(__assign({}, DEFAULT_THRESHOLDS), (thresholds || {}));
|
|
27
27
|
var secs = (+from - +to) / MS_PER_SECOND;
|
|
28
28
|
if (Math.abs(secs) < resolvedThresholds.second) {
|
|
29
29
|
return {
|
|
@@ -89,7 +89,7 @@ const aliases = { "aa-SAAHO": "ssy", "aam": "aas", "aar": "aa", "abk": "ab", "ad
|
|
|
89
89
|
// prettier-ignore
|
|
90
90
|
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" };
|
|
91
91
|
|
|
92
|
-
function invariant
|
|
92
|
+
function invariant(condition, message, Err) {
|
|
93
93
|
if (Err === void 0) { Err = Error; }
|
|
94
94
|
if (!condition) {
|
|
95
95
|
throw new Err(message);
|
|
@@ -109,7 +109,7 @@ function toObject(arg) {
|
|
|
109
109
|
/**
|
|
110
110
|
* https://tc39.es/ecma262/#sec-tostring
|
|
111
111
|
*/
|
|
112
|
-
function toString
|
|
112
|
+
function toString(o) {
|
|
113
113
|
// Only symbol is irregular...
|
|
114
114
|
if (typeof o === 'symbol') {
|
|
115
115
|
throw TypeError('Cannot convert a Symbol value to a string');
|
|
@@ -135,7 +135,7 @@ function getOption(opts, prop, type, values, fallback) {
|
|
|
135
135
|
value = Boolean(value);
|
|
136
136
|
}
|
|
137
137
|
if (type === 'string') {
|
|
138
|
-
value = toString
|
|
138
|
+
value = toString(value);
|
|
139
139
|
}
|
|
140
140
|
if (values !== undefined && !values.filter(function (val) { return val == value; }).length) {
|
|
141
141
|
throw new RangeError(value + " is not within " + values.join(', '));
|
|
@@ -230,7 +230,7 @@ function partitionPattern(pattern) {
|
|
|
230
230
|
var length = pattern.length;
|
|
231
231
|
while (beginIndex < pattern.length && beginIndex > -1) {
|
|
232
232
|
endIndex = pattern.indexOf('}', beginIndex);
|
|
233
|
-
invariant
|
|
233
|
+
invariant(endIndex > beginIndex, "Invalid pattern " + pattern);
|
|
234
234
|
if (beginIndex > nextIndex) {
|
|
235
235
|
result.push({
|
|
236
236
|
type: 'literal',
|
|
@@ -344,7 +344,7 @@ function getCanonicalLocales(locales) {
|
|
|
344
344
|
return Intl.DateTimeFormat.supportedLocalesOf(locales);
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
var __extends
|
|
347
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
348
348
|
var extendStatics = function (d, b) {
|
|
349
349
|
extendStatics = Object.setPrototypeOf ||
|
|
350
350
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -389,11 +389,11 @@ function createResolveLocale(getDefaultLocale) {
|
|
|
389
389
|
for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {
|
|
390
390
|
var key = relevantExtensionKeys_1[_i];
|
|
391
391
|
var foundLocaleData = localeData[foundLocale];
|
|
392
|
-
invariant
|
|
392
|
+
invariant(typeof foundLocaleData === 'object' && foundLocaleData !== null, "locale data " + key + " must be an object");
|
|
393
393
|
var keyLocaleData = foundLocaleData[key];
|
|
394
|
-
invariant
|
|
394
|
+
invariant(Array.isArray(keyLocaleData), "keyLocaleData for " + key + " must be an array");
|
|
395
395
|
var value = keyLocaleData[0];
|
|
396
|
-
invariant
|
|
396
|
+
invariant(typeof value === 'string' || value === null, 'value must be string or null');
|
|
397
397
|
var supportedExtensionAddition = '';
|
|
398
398
|
if (r.extension) {
|
|
399
399
|
var requestedValue = unicodeExtensionValue(r.extension, key);
|
|
@@ -412,7 +412,7 @@ function createResolveLocale(getDefaultLocale) {
|
|
|
412
412
|
}
|
|
413
413
|
if (key in options) {
|
|
414
414
|
var optionsValue = options[key];
|
|
415
|
-
invariant
|
|
415
|
+
invariant(typeof optionsValue === 'string' ||
|
|
416
416
|
typeof optionsValue === 'undefined' ||
|
|
417
417
|
optionsValue === null, 'optionsValue must be String, Undefined or Null');
|
|
418
418
|
if (~keyLocaleData.indexOf(optionsValue)) {
|
|
@@ -447,7 +447,7 @@ function createResolveLocale(getDefaultLocale) {
|
|
|
447
447
|
* @param key
|
|
448
448
|
*/
|
|
449
449
|
function unicodeExtensionValue(extension, key) {
|
|
450
|
-
invariant
|
|
450
|
+
invariant(key.length === 2, 'key must have 2 elements');
|
|
451
451
|
var size = extension.length;
|
|
452
452
|
var searchValue = "-" + key + "-";
|
|
453
453
|
var pos = extension.indexOf(searchValue);
|
|
@@ -589,7 +589,7 @@ function supportedLocales(availableLocales, requestedLocales, options) {
|
|
|
589
589
|
return lookupSupportedLocales(availableLocales, requestedLocales);
|
|
590
590
|
}
|
|
591
591
|
var MissingLocaleDataError = /** @class */ (function (_super) {
|
|
592
|
-
__extends
|
|
592
|
+
__extends(MissingLocaleDataError, _super);
|
|
593
593
|
function MissingLocaleDataError() {
|
|
594
594
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
595
595
|
_this.type = 'MISSING_LOCALE_DATA';
|
|
@@ -705,14 +705,14 @@ const lib = /*#__PURE__*/Object.freeze({
|
|
|
705
705
|
toObject: toObject,
|
|
706
706
|
objectIs: objectIs,
|
|
707
707
|
isWellFormedCurrencyCode: isWellFormedCurrencyCode,
|
|
708
|
-
toString: toString
|
|
708
|
+
toString: toString,
|
|
709
709
|
createResolveLocale: createResolveLocale,
|
|
710
710
|
getLocaleHierarchy: getLocaleHierarchy,
|
|
711
711
|
supportedLocales: supportedLocales,
|
|
712
712
|
unpackData: unpackData,
|
|
713
713
|
isMissingLocaleDataError: isMissingLocaleDataError,
|
|
714
714
|
getCanonicalLocales: getCanonicalLocales,
|
|
715
|
-
invariant: invariant
|
|
715
|
+
invariant: invariant,
|
|
716
716
|
SANCTIONED_UNITS: SANCTIONED_UNITS,
|
|
717
717
|
removeUnitNamespace: removeUnitNamespace,
|
|
718
718
|
get InternalSlotToken () { return InternalSlotToken; }
|
|
@@ -720,7 +720,7 @@ const lib = /*#__PURE__*/Object.freeze({
|
|
|
720
720
|
|
|
721
721
|
const intl_utils_1 = /*@__PURE__*/stencilHooks_module.getAugmentedNamespace(lib);
|
|
722
722
|
|
|
723
|
-
var core
|
|
723
|
+
var core = stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
724
724
|
var __assign = (stencilHooks_module.commonjsGlobal && stencilHooks_module.commonjsGlobal.__assign) || function () {
|
|
725
725
|
__assign = Object.assign || function(t) {
|
|
726
726
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -1084,21 +1084,21 @@ try {
|
|
|
1084
1084
|
catch (e) {
|
|
1085
1085
|
// Meta fix so we're test262-compliant, not important
|
|
1086
1086
|
}
|
|
1087
|
-
|
|
1087
|
+
|
|
1088
1088
|
});
|
|
1089
1089
|
|
|
1090
|
-
stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
1090
|
+
var polyfill = stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
1091
1091
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1092
1092
|
|
|
1093
1093
|
if (!('RelativeTimeFormat' in Intl)) {
|
|
1094
1094
|
Object.defineProperty(Intl, 'RelativeTimeFormat', {
|
|
1095
|
-
value: core
|
|
1095
|
+
value: core.default,
|
|
1096
1096
|
writable: true,
|
|
1097
1097
|
enumerable: false,
|
|
1098
1098
|
configurable: true,
|
|
1099
1099
|
});
|
|
1100
1100
|
}
|
|
1101
|
-
|
|
1101
|
+
|
|
1102
1102
|
});
|
|
1103
1103
|
|
|
1104
1104
|
/* @generated */
|
|
@@ -1107,7 +1107,7 @@ if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData ==
|
|
|
1107
1107
|
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"}});
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
|
-
var core = stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
1110
|
+
var core$1 = stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
1111
1111
|
var __spreadArrays = (stencilHooks_module.commonjsGlobal && stencilHooks_module.commonjsGlobal.__spreadArrays) || function () {
|
|
1112
1112
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
1113
1113
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
@@ -1299,10 +1299,10 @@ try {
|
|
|
1299
1299
|
catch (ex) {
|
|
1300
1300
|
// Meta fixes for test262
|
|
1301
1301
|
}
|
|
1302
|
-
|
|
1302
|
+
|
|
1303
1303
|
});
|
|
1304
1304
|
|
|
1305
|
-
stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
1305
|
+
var polyfill$1 = stencilHooks_module.createCommonjsModule(function (module, exports) {
|
|
1306
1306
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1307
1307
|
|
|
1308
1308
|
if (typeof Intl.PluralRules === 'undefined' ||
|
|
@@ -1310,13 +1310,13 @@ if (typeof Intl.PluralRules === 'undefined' ||
|
|
|
1310
1310
|
new Intl.PluralRules('en', { minimumFractionDigits: 2 }).select(1) ===
|
|
1311
1311
|
'one')) {
|
|
1312
1312
|
Object.defineProperty(Intl, 'PluralRules', {
|
|
1313
|
-
value: core.PluralRules,
|
|
1313
|
+
value: core$1.PluralRules,
|
|
1314
1314
|
writable: true,
|
|
1315
1315
|
enumerable: false,
|
|
1316
1316
|
configurable: true,
|
|
1317
1317
|
});
|
|
1318
1318
|
}
|
|
1319
|
-
|
|
1319
|
+
|
|
1320
1320
|
});
|
|
1321
1321
|
|
|
1322
1322
|
/* @generated */
|
|
@@ -1373,11 +1373,11 @@ var _anObject = function (it) {
|
|
|
1373
1373
|
return it;
|
|
1374
1374
|
};
|
|
1375
1375
|
|
|
1376
|
-
var document$
|
|
1376
|
+
var document$1 = _global.document;
|
|
1377
1377
|
// typeof document.createElement is 'object' in old IE
|
|
1378
|
-
var is = _isObject(document$
|
|
1378
|
+
var is = _isObject(document$1) && _isObject(document$1.createElement);
|
|
1379
1379
|
var _domCreate = function (it) {
|
|
1380
|
-
return is ? document$
|
|
1380
|
+
return is ? document$1.createElement(it) : {};
|
|
1381
1381
|
};
|
|
1382
1382
|
|
|
1383
1383
|
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
@@ -1397,14 +1397,14 @@ var _toPrimitive = function (it, S) {
|
|
|
1397
1397
|
throw TypeError("Can't convert object to primitive value");
|
|
1398
1398
|
};
|
|
1399
1399
|
|
|
1400
|
-
var dP
|
|
1400
|
+
var dP = Object.defineProperty;
|
|
1401
1401
|
|
|
1402
|
-
var f
|
|
1402
|
+
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
1403
1403
|
_anObject(O);
|
|
1404
1404
|
P = _toPrimitive(P, true);
|
|
1405
1405
|
_anObject(Attributes);
|
|
1406
1406
|
if (_ie8DomDefine) try {
|
|
1407
|
-
return dP
|
|
1407
|
+
return dP(O, P, Attributes);
|
|
1408
1408
|
} catch (e) { /* empty */ }
|
|
1409
1409
|
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
1410
1410
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
@@ -1412,7 +1412,7 @@ var f$7 = _descriptors ? Object.defineProperty : function defineProperty(O, P, A
|
|
|
1412
1412
|
};
|
|
1413
1413
|
|
|
1414
1414
|
var _objectDp = {
|
|
1415
|
-
f: f
|
|
1415
|
+
f: f
|
|
1416
1416
|
};
|
|
1417
1417
|
|
|
1418
1418
|
var _propertyDesc = function (bitmap, value) {
|
|
@@ -1431,10 +1431,10 @@ var _hide = _descriptors ? function (object, key, value) {
|
|
|
1431
1431
|
return object;
|
|
1432
1432
|
};
|
|
1433
1433
|
|
|
1434
|
-
var id
|
|
1434
|
+
var id = 0;
|
|
1435
1435
|
var px = Math.random();
|
|
1436
1436
|
var _uid = function (key) {
|
|
1437
|
-
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id
|
|
1437
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
1440
|
var _library = false;
|
|
@@ -1447,7 +1447,7 @@ var store = _global[SHARED] || (_global[SHARED] = {});
|
|
|
1447
1447
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1448
1448
|
})('versions', []).push({
|
|
1449
1449
|
version: _core.version,
|
|
1450
|
-
mode:
|
|
1450
|
+
mode: 'global',
|
|
1451
1451
|
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
1452
1452
|
});
|
|
1453
1453
|
});
|
|
@@ -1511,7 +1511,7 @@ var _ctx = function (fn, that, length) {
|
|
|
1511
1511
|
};
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
1514
|
-
var PROTOTYPE
|
|
1514
|
+
var PROTOTYPE = 'prototype';
|
|
1515
1515
|
|
|
1516
1516
|
var $export = function (type, name, source) {
|
|
1517
1517
|
var IS_FORCED = type & $export.F;
|
|
@@ -1519,9 +1519,9 @@ var $export = function (type, name, source) {
|
|
|
1519
1519
|
var IS_STATIC = type & $export.S;
|
|
1520
1520
|
var IS_PROTO = type & $export.P;
|
|
1521
1521
|
var IS_BIND = type & $export.B;
|
|
1522
|
-
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] || (_global[name] = {}) : (_global[name] || {})[PROTOTYPE
|
|
1522
|
+
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] || (_global[name] = {}) : (_global[name] || {})[PROTOTYPE];
|
|
1523
1523
|
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
1524
|
-
var expProto = exports[PROTOTYPE
|
|
1524
|
+
var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
|
|
1525
1525
|
var key, own, out, exp;
|
|
1526
1526
|
if (IS_GLOBAL) source = name;
|
|
1527
1527
|
for (key in source) {
|
|
@@ -1622,21 +1622,21 @@ $exports.store = store;
|
|
|
1622
1622
|
|
|
1623
1623
|
var def = _objectDp.f;
|
|
1624
1624
|
|
|
1625
|
-
var TAG
|
|
1625
|
+
var TAG = _wks('toStringTag');
|
|
1626
1626
|
|
|
1627
1627
|
var _setToStringTag = function (it, tag, stat) {
|
|
1628
|
-
if (it && !_has(it = stat ? it : it.prototype, TAG
|
|
1628
|
+
if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
1629
1629
|
};
|
|
1630
1630
|
|
|
1631
|
-
var f$
|
|
1631
|
+
var f$1 = _wks;
|
|
1632
1632
|
|
|
1633
1633
|
var _wksExt = {
|
|
1634
|
-
f: f$
|
|
1634
|
+
f: f$1
|
|
1635
1635
|
};
|
|
1636
1636
|
|
|
1637
1637
|
var defineProperty = _objectDp.f;
|
|
1638
1638
|
var _wksDefine = function (name) {
|
|
1639
|
-
var $Symbol = _core.Symbol || (_core.Symbol =
|
|
1639
|
+
var $Symbol = _core.Symbol || (_core.Symbol = _global.Symbol || {});
|
|
1640
1640
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: _wksExt.f(name) });
|
|
1641
1641
|
};
|
|
1642
1642
|
|
|
@@ -1668,23 +1668,23 @@ var _toIobject = function (it) {
|
|
|
1668
1668
|
|
|
1669
1669
|
// 7.1.4 ToInteger
|
|
1670
1670
|
var ceil = Math.ceil;
|
|
1671
|
-
var floor
|
|
1671
|
+
var floor = Math.floor;
|
|
1672
1672
|
var _toInteger = function (it) {
|
|
1673
|
-
return isNaN(it = +it) ? 0 : (it > 0 ? floor
|
|
1673
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
1676
|
// 7.1.15 ToLength
|
|
1677
1677
|
|
|
1678
|
-
var min
|
|
1678
|
+
var min = Math.min;
|
|
1679
1679
|
var _toLength = function (it) {
|
|
1680
|
-
return it > 0 ? min
|
|
1680
|
+
return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
1681
1681
|
};
|
|
1682
1682
|
|
|
1683
|
-
var max
|
|
1684
|
-
var min$
|
|
1683
|
+
var max = Math.max;
|
|
1684
|
+
var min$1 = Math.min;
|
|
1685
1685
|
var _toAbsoluteIndex = function (index, length) {
|
|
1686
1686
|
index = _toInteger(index);
|
|
1687
|
-
return index < 0 ? max
|
|
1687
|
+
return index < 0 ? max(index + length, 0) : min$1(index, length);
|
|
1688
1688
|
};
|
|
1689
1689
|
|
|
1690
1690
|
// false -> Array#indexOf
|
|
@@ -1711,21 +1711,21 @@ var _arrayIncludes = function (IS_INCLUDES) {
|
|
|
1711
1711
|
};
|
|
1712
1712
|
};
|
|
1713
1713
|
|
|
1714
|
-
var shared
|
|
1714
|
+
var shared = _shared('keys');
|
|
1715
1715
|
|
|
1716
1716
|
var _sharedKey = function (key) {
|
|
1717
|
-
return shared
|
|
1717
|
+
return shared[key] || (shared[key] = _uid(key));
|
|
1718
1718
|
};
|
|
1719
1719
|
|
|
1720
1720
|
var arrayIndexOf = _arrayIncludes(false);
|
|
1721
|
-
var IE_PROTO
|
|
1721
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
1722
1722
|
|
|
1723
1723
|
var _objectKeysInternal = function (object, names) {
|
|
1724
1724
|
var O = _toIobject(object);
|
|
1725
1725
|
var i = 0;
|
|
1726
1726
|
var result = [];
|
|
1727
1727
|
var key;
|
|
1728
|
-
for (key in O) if (key != IE_PROTO
|
|
1728
|
+
for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
|
|
1729
1729
|
// Don't enum bug & hidden keys
|
|
1730
1730
|
while (names.length > i) if (_has(O, key = names[i++])) {
|
|
1731
1731
|
~arrayIndexOf(result, key) || result.push(key);
|
|
@@ -1746,16 +1746,16 @@ var _objectKeys = Object.keys || function keys(O) {
|
|
|
1746
1746
|
return _objectKeysInternal(O, _enumBugKeys);
|
|
1747
1747
|
};
|
|
1748
1748
|
|
|
1749
|
-
var f$
|
|
1749
|
+
var f$2 = Object.getOwnPropertySymbols;
|
|
1750
1750
|
|
|
1751
1751
|
var _objectGops = {
|
|
1752
|
-
f: f$
|
|
1752
|
+
f: f$2
|
|
1753
1753
|
};
|
|
1754
1754
|
|
|
1755
|
-
var f$
|
|
1755
|
+
var f$3 = {}.propertyIsEnumerable;
|
|
1756
1756
|
|
|
1757
1757
|
var _objectPie = {
|
|
1758
|
-
f: f$
|
|
1758
|
+
f: f$3
|
|
1759
1759
|
};
|
|
1760
1760
|
|
|
1761
1761
|
// all enumerable object keys, includes symbols
|
|
@@ -1796,8 +1796,8 @@ var _objectDps = _descriptors ? Object.defineProperties : function definePropert
|
|
|
1796
1796
|
return O;
|
|
1797
1797
|
};
|
|
1798
1798
|
|
|
1799
|
-
var document$
|
|
1800
|
-
var _html = document$
|
|
1799
|
+
var document$2 = _global.document;
|
|
1800
|
+
var _html = document$2 && document$2.documentElement;
|
|
1801
1801
|
|
|
1802
1802
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
1803
1803
|
|
|
@@ -1845,51 +1845,51 @@ var _objectCreate = Object.create || function create(O, Properties) {
|
|
|
1845
1845
|
|
|
1846
1846
|
var hiddenKeys = _enumBugKeys.concat('length', 'prototype');
|
|
1847
1847
|
|
|
1848
|
-
var f$
|
|
1848
|
+
var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1849
1849
|
return _objectKeysInternal(O, hiddenKeys);
|
|
1850
1850
|
};
|
|
1851
1851
|
|
|
1852
1852
|
var _objectGopn = {
|
|
1853
|
-
f: f$
|
|
1853
|
+
f: f$4
|
|
1854
1854
|
};
|
|
1855
1855
|
|
|
1856
1856
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
1857
1857
|
|
|
1858
|
-
var gOPN
|
|
1859
|
-
var toString = {}.toString;
|
|
1858
|
+
var gOPN = _objectGopn.f;
|
|
1859
|
+
var toString$2 = {}.toString;
|
|
1860
1860
|
|
|
1861
1861
|
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
|
1862
1862
|
? Object.getOwnPropertyNames(window) : [];
|
|
1863
1863
|
|
|
1864
1864
|
var getWindowNames = function (it) {
|
|
1865
1865
|
try {
|
|
1866
|
-
return gOPN
|
|
1866
|
+
return gOPN(it);
|
|
1867
1867
|
} catch (e) {
|
|
1868
1868
|
return windowNames.slice();
|
|
1869
1869
|
}
|
|
1870
1870
|
};
|
|
1871
1871
|
|
|
1872
|
-
var f$
|
|
1873
|
-
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN
|
|
1872
|
+
var f$5 = function getOwnPropertyNames(it) {
|
|
1873
|
+
return windowNames && toString$2.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(_toIobject(it));
|
|
1874
1874
|
};
|
|
1875
1875
|
|
|
1876
1876
|
var _objectGopnExt = {
|
|
1877
|
-
f: f$
|
|
1877
|
+
f: f$5
|
|
1878
1878
|
};
|
|
1879
1879
|
|
|
1880
|
-
var gOPD
|
|
1880
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
1881
1881
|
|
|
1882
|
-
var f$
|
|
1882
|
+
var f$6 = _descriptors ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
|
1883
1883
|
O = _toIobject(O);
|
|
1884
1884
|
P = _toPrimitive(P, true);
|
|
1885
1885
|
if (_ie8DomDefine) try {
|
|
1886
|
-
return gOPD
|
|
1886
|
+
return gOPD(O, P);
|
|
1887
1887
|
} catch (e) { /* empty */ }
|
|
1888
1888
|
if (_has(O, P)) return _propertyDesc(!_objectPie.f.call(O, P), O[P]);
|
|
1889
1889
|
};
|
|
1890
1890
|
|
|
1891
1891
|
var _objectGopd = {
|
|
1892
|
-
f: f$
|
|
1892
|
+
f: f$6
|
|
1893
1893
|
};
|
|
1894
1894
|
|
|
1895
1895
|
// ECMAScript 6 symbols shim
|
|
@@ -1920,63 +1920,63 @@ var META = _meta.KEY;
|
|
|
1920
1920
|
|
|
1921
1921
|
|
|
1922
1922
|
|
|
1923
|
-
var gOPD$
|
|
1924
|
-
var dP$
|
|
1925
|
-
var gOPN$
|
|
1923
|
+
var gOPD$1 = _objectGopd.f;
|
|
1924
|
+
var dP$1 = _objectDp.f;
|
|
1925
|
+
var gOPN$1 = _objectGopnExt.f;
|
|
1926
1926
|
var $Symbol = _global.Symbol;
|
|
1927
1927
|
var $JSON = _global.JSON;
|
|
1928
1928
|
var _stringify = $JSON && $JSON.stringify;
|
|
1929
|
-
var PROTOTYPE = 'prototype';
|
|
1929
|
+
var PROTOTYPE$2 = 'prototype';
|
|
1930
1930
|
var HIDDEN = _wks('_hidden');
|
|
1931
|
-
var TO_PRIMITIVE
|
|
1932
|
-
var isEnum
|
|
1931
|
+
var TO_PRIMITIVE = _wks('toPrimitive');
|
|
1932
|
+
var isEnum = {}.propertyIsEnumerable;
|
|
1933
1933
|
var SymbolRegistry = _shared('symbol-registry');
|
|
1934
1934
|
var AllSymbols = _shared('symbols');
|
|
1935
1935
|
var OPSymbols = _shared('op-symbols');
|
|
1936
|
-
var ObjectProto
|
|
1937
|
-
var USE_NATIVE
|
|
1936
|
+
var ObjectProto = Object[PROTOTYPE$2];
|
|
1937
|
+
var USE_NATIVE = typeof $Symbol == 'function' && !!_objectGops.f;
|
|
1938
1938
|
var QObject = _global.QObject;
|
|
1939
1939
|
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
|
1940
|
-
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
1940
|
+
var setter = !QObject || !QObject[PROTOTYPE$2] || !QObject[PROTOTYPE$2].findChild;
|
|
1941
1941
|
|
|
1942
1942
|
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
1943
1943
|
var setSymbolDesc = _descriptors && _fails(function () {
|
|
1944
|
-
return _objectCreate(dP$
|
|
1945
|
-
get: function () { return dP$
|
|
1944
|
+
return _objectCreate(dP$1({}, 'a', {
|
|
1945
|
+
get: function () { return dP$1(this, 'a', { value: 7 }).a; }
|
|
1946
1946
|
})).a != 7;
|
|
1947
1947
|
}) ? function (it, key, D) {
|
|
1948
|
-
var protoDesc = gOPD$
|
|
1949
|
-
if (protoDesc) delete ObjectProto
|
|
1950
|
-
dP$
|
|
1951
|
-
if (protoDesc && it !== ObjectProto
|
|
1952
|
-
} : dP$
|
|
1953
|
-
|
|
1954
|
-
var wrap
|
|
1955
|
-
var sym = AllSymbols[tag] = _objectCreate($Symbol[PROTOTYPE]);
|
|
1948
|
+
var protoDesc = gOPD$1(ObjectProto, key);
|
|
1949
|
+
if (protoDesc) delete ObjectProto[key];
|
|
1950
|
+
dP$1(it, key, D);
|
|
1951
|
+
if (protoDesc && it !== ObjectProto) dP$1(ObjectProto, key, protoDesc);
|
|
1952
|
+
} : dP$1;
|
|
1953
|
+
|
|
1954
|
+
var wrap = function (tag) {
|
|
1955
|
+
var sym = AllSymbols[tag] = _objectCreate($Symbol[PROTOTYPE$2]);
|
|
1956
1956
|
sym._k = tag;
|
|
1957
1957
|
return sym;
|
|
1958
1958
|
};
|
|
1959
1959
|
|
|
1960
|
-
var isSymbol = USE_NATIVE
|
|
1960
|
+
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
|
|
1961
1961
|
return typeof it == 'symbol';
|
|
1962
1962
|
} : function (it) {
|
|
1963
1963
|
return it instanceof $Symbol;
|
|
1964
1964
|
};
|
|
1965
1965
|
|
|
1966
1966
|
var $defineProperty = function defineProperty(it, key, D) {
|
|
1967
|
-
if (it === ObjectProto
|
|
1967
|
+
if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
|
|
1968
1968
|
_anObject(it);
|
|
1969
1969
|
key = _toPrimitive(key, true);
|
|
1970
1970
|
_anObject(D);
|
|
1971
1971
|
if (_has(AllSymbols, key)) {
|
|
1972
1972
|
if (!D.enumerable) {
|
|
1973
|
-
if (!_has(it, HIDDEN)) dP$
|
|
1973
|
+
if (!_has(it, HIDDEN)) dP$1(it, HIDDEN, _propertyDesc(1, {}));
|
|
1974
1974
|
it[HIDDEN][key] = true;
|
|
1975
1975
|
} else {
|
|
1976
1976
|
if (_has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
|
|
1977
1977
|
D = _objectCreate(D, { enumerable: _propertyDesc(0, false) });
|
|
1978
1978
|
} return setSymbolDesc(it, key, D);
|
|
1979
|
-
} return dP$
|
|
1979
|
+
} return dP$1(it, key, D);
|
|
1980
1980
|
};
|
|
1981
1981
|
var $defineProperties = function defineProperties(it, P) {
|
|
1982
1982
|
_anObject(it);
|
|
@@ -1991,20 +1991,20 @@ var $create = function create(it, P) {
|
|
|
1991
1991
|
return P === undefined ? _objectCreate(it) : $defineProperties(_objectCreate(it), P);
|
|
1992
1992
|
};
|
|
1993
1993
|
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
|
|
1994
|
-
var E = isEnum
|
|
1995
|
-
if (this === ObjectProto
|
|
1994
|
+
var E = isEnum.call(this, key = _toPrimitive(key, true));
|
|
1995
|
+
if (this === ObjectProto && _has(AllSymbols, key) && !_has(OPSymbols, key)) return false;
|
|
1996
1996
|
return E || !_has(this, key) || !_has(AllSymbols, key) || _has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
|
|
1997
1997
|
};
|
|
1998
|
-
var $getOwnPropertyDescriptor
|
|
1998
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
|
|
1999
1999
|
it = _toIobject(it);
|
|
2000
2000
|
key = _toPrimitive(key, true);
|
|
2001
|
-
if (it === ObjectProto
|
|
2002
|
-
var D = gOPD$
|
|
2001
|
+
if (it === ObjectProto && _has(AllSymbols, key) && !_has(OPSymbols, key)) return;
|
|
2002
|
+
var D = gOPD$1(it, key);
|
|
2003
2003
|
if (D && _has(AllSymbols, key) && !(_has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
|
|
2004
2004
|
return D;
|
|
2005
2005
|
};
|
|
2006
2006
|
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
|
2007
|
-
var names = gOPN$
|
|
2007
|
+
var names = gOPN$1(_toIobject(it));
|
|
2008
2008
|
var result = [];
|
|
2009
2009
|
var i = 0;
|
|
2010
2010
|
var key;
|
|
@@ -2013,58 +2013,58 @@ var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
|
|
2013
2013
|
} return result;
|
|
2014
2014
|
};
|
|
2015
2015
|
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
|
|
2016
|
-
var IS_OP = it === ObjectProto
|
|
2017
|
-
var names = gOPN$
|
|
2016
|
+
var IS_OP = it === ObjectProto;
|
|
2017
|
+
var names = gOPN$1(IS_OP ? OPSymbols : _toIobject(it));
|
|
2018
2018
|
var result = [];
|
|
2019
2019
|
var i = 0;
|
|
2020
2020
|
var key;
|
|
2021
2021
|
while (names.length > i) {
|
|
2022
|
-
if (_has(AllSymbols, key = names[i++]) && (IS_OP ? _has(ObjectProto
|
|
2022
|
+
if (_has(AllSymbols, key = names[i++]) && (IS_OP ? _has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
|
|
2023
2023
|
} return result;
|
|
2024
2024
|
};
|
|
2025
2025
|
|
|
2026
2026
|
// 19.4.1.1 Symbol([description])
|
|
2027
|
-
if (!USE_NATIVE
|
|
2027
|
+
if (!USE_NATIVE) {
|
|
2028
2028
|
$Symbol = function Symbol() {
|
|
2029
2029
|
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
|
|
2030
2030
|
var tag = _uid(arguments.length > 0 ? arguments[0] : undefined);
|
|
2031
2031
|
var $set = function (value) {
|
|
2032
|
-
if (this === ObjectProto
|
|
2032
|
+
if (this === ObjectProto) $set.call(OPSymbols, value);
|
|
2033
2033
|
if (_has(this, HIDDEN) && _has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
|
|
2034
2034
|
setSymbolDesc(this, tag, _propertyDesc(1, value));
|
|
2035
2035
|
};
|
|
2036
|
-
if (_descriptors && setter) setSymbolDesc(ObjectProto
|
|
2037
|
-
return wrap
|
|
2036
|
+
if (_descriptors && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
|
|
2037
|
+
return wrap(tag);
|
|
2038
2038
|
};
|
|
2039
|
-
_redefine($Symbol[PROTOTYPE], 'toString', function toString() {
|
|
2039
|
+
_redefine($Symbol[PROTOTYPE$2], 'toString', function toString() {
|
|
2040
2040
|
return this._k;
|
|
2041
2041
|
});
|
|
2042
2042
|
|
|
2043
|
-
_objectGopd.f = $getOwnPropertyDescriptor
|
|
2043
|
+
_objectGopd.f = $getOwnPropertyDescriptor;
|
|
2044
2044
|
_objectDp.f = $defineProperty;
|
|
2045
2045
|
_objectGopn.f = _objectGopnExt.f = $getOwnPropertyNames;
|
|
2046
2046
|
_objectPie.f = $propertyIsEnumerable;
|
|
2047
2047
|
_objectGops.f = $getOwnPropertySymbols;
|
|
2048
2048
|
|
|
2049
2049
|
if (_descriptors && !_library) {
|
|
2050
|
-
_redefine(ObjectProto
|
|
2050
|
+
_redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
|
2051
2051
|
}
|
|
2052
2052
|
|
|
2053
2053
|
_wksExt.f = function (name) {
|
|
2054
|
-
return wrap
|
|
2054
|
+
return wrap(_wks(name));
|
|
2055
2055
|
};
|
|
2056
2056
|
}
|
|
2057
2057
|
|
|
2058
|
-
_export(_export.G + _export.W + _export.F * !USE_NATIVE
|
|
2058
|
+
_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
2059
2059
|
|
|
2060
2060
|
for (var es6Symbols = (
|
|
2061
2061
|
// 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
|
|
2062
2062
|
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
|
|
2063
|
-
).split(','), j
|
|
2063
|
+
).split(','), j = 0; es6Symbols.length > j;)_wks(es6Symbols[j++]);
|
|
2064
2064
|
|
|
2065
2065
|
for (var wellKnownSymbols = _objectKeys(_wks.store), k = 0; wellKnownSymbols.length > k;) _wksDefine(wellKnownSymbols[k++]);
|
|
2066
2066
|
|
|
2067
|
-
_export(_export.S + _export.F * !USE_NATIVE
|
|
2067
|
+
_export(_export.S + _export.F * !USE_NATIVE, 'Symbol', {
|
|
2068
2068
|
// 19.4.2.1 Symbol.for(key)
|
|
2069
2069
|
'for': function (key) {
|
|
2070
2070
|
return _has(SymbolRegistry, key += '')
|
|
@@ -2080,7 +2080,7 @@ _export(_export.S + _export.F * !USE_NATIVE$1, 'Symbol', {
|
|
|
2080
2080
|
useSimple: function () { setter = false; }
|
|
2081
2081
|
});
|
|
2082
2082
|
|
|
2083
|
-
_export(_export.S + _export.F * !USE_NATIVE
|
|
2083
|
+
_export(_export.S + _export.F * !USE_NATIVE, 'Object', {
|
|
2084
2084
|
// 19.1.2.2 Object.create(O [, Properties])
|
|
2085
2085
|
create: $create,
|
|
2086
2086
|
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
|
@@ -2088,7 +2088,7 @@ _export(_export.S + _export.F * !USE_NATIVE$1, 'Object', {
|
|
|
2088
2088
|
// 19.1.2.3 Object.defineProperties(O, Properties)
|
|
2089
2089
|
defineProperties: $defineProperties,
|
|
2090
2090
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
2091
|
-
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
|
2091
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
|
2092
2092
|
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
2093
2093
|
getOwnPropertyNames: $getOwnPropertyNames,
|
|
2094
2094
|
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
|
@@ -2106,7 +2106,7 @@ _export(_export.S + _export.F * FAILS_ON_PRIMITIVES, 'Object', {
|
|
|
2106
2106
|
});
|
|
2107
2107
|
|
|
2108
2108
|
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
2109
|
-
$JSON && _export(_export.S + _export.F * (!USE_NATIVE
|
|
2109
|
+
$JSON && _export(_export.S + _export.F * (!USE_NATIVE || _fails(function () {
|
|
2110
2110
|
var S = $Symbol();
|
|
2111
2111
|
// MS Edge converts symbol values to JSON as {}
|
|
2112
2112
|
// WebKit converts symbol values to JSON as null
|
|
@@ -2130,7 +2130,7 @@ $JSON && _export(_export.S + _export.F * (!USE_NATIVE$1 || _fails(function () {
|
|
|
2130
2130
|
});
|
|
2131
2131
|
|
|
2132
2132
|
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
|
|
2133
|
-
$Symbol[PROTOTYPE][TO_PRIMITIVE
|
|
2133
|
+
$Symbol[PROTOTYPE$2][TO_PRIMITIVE] || _hide($Symbol[PROTOTYPE$2], TO_PRIMITIVE, $Symbol[PROTOTYPE$2].valueOf);
|
|
2134
2134
|
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
|
2135
2135
|
_setToStringTag($Symbol, 'Symbol');
|
|
2136
2136
|
// 20.2.1.9 Math[@@toStringTag]
|
|
@@ -2160,26 +2160,26 @@ var _objectSap = function (KEY, exec) {
|
|
|
2160
2160
|
|
|
2161
2161
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
2162
2162
|
|
|
2163
|
-
var $getOwnPropertyDescriptor = _objectGopd.f;
|
|
2163
|
+
var $getOwnPropertyDescriptor$1 = _objectGopd.f;
|
|
2164
2164
|
|
|
2165
2165
|
_objectSap('getOwnPropertyDescriptor', function () {
|
|
2166
2166
|
return function getOwnPropertyDescriptor(it, key) {
|
|
2167
|
-
return $getOwnPropertyDescriptor(_toIobject(it), key);
|
|
2167
|
+
return $getOwnPropertyDescriptor$1(_toIobject(it), key);
|
|
2168
2168
|
};
|
|
2169
2169
|
});
|
|
2170
2170
|
|
|
2171
2171
|
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
2172
2172
|
|
|
2173
2173
|
|
|
2174
|
-
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
2175
|
-
var ObjectProto = Object.prototype;
|
|
2174
|
+
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
2175
|
+
var ObjectProto$1 = Object.prototype;
|
|
2176
2176
|
|
|
2177
2177
|
var _objectGpo = Object.getPrototypeOf || function (O) {
|
|
2178
2178
|
O = _toObject(O);
|
|
2179
|
-
if (_has(O, IE_PROTO)) return O[IE_PROTO];
|
|
2179
|
+
if (_has(O, IE_PROTO$2)) return O[IE_PROTO$2];
|
|
2180
2180
|
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
|
2181
2181
|
return O.constructor.prototype;
|
|
2182
|
-
} return O instanceof Object ? ObjectProto : null;
|
|
2182
|
+
} return O instanceof Object ? ObjectProto$1 : null;
|
|
2183
2183
|
};
|
|
2184
2184
|
|
|
2185
2185
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
@@ -2209,11 +2209,11 @@ _objectSap('getOwnPropertyNames', function () {
|
|
|
2209
2209
|
|
|
2210
2210
|
// 19.1.2.5 Object.freeze(O)
|
|
2211
2211
|
|
|
2212
|
-
var meta
|
|
2212
|
+
var meta = _meta.onFreeze;
|
|
2213
2213
|
|
|
2214
2214
|
_objectSap('freeze', function ($freeze) {
|
|
2215
2215
|
return function freeze(it) {
|
|
2216
|
-
return $freeze && _isObject(it) ? $freeze(meta
|
|
2216
|
+
return $freeze && _isObject(it) ? $freeze(meta(it)) : it;
|
|
2217
2217
|
};
|
|
2218
2218
|
});
|
|
2219
2219
|
|
|
@@ -2229,11 +2229,11 @@ _objectSap('seal', function ($seal) {
|
|
|
2229
2229
|
|
|
2230
2230
|
// 19.1.2.15 Object.preventExtensions(O)
|
|
2231
2231
|
|
|
2232
|
-
var meta = _meta.onFreeze;
|
|
2232
|
+
var meta$2 = _meta.onFreeze;
|
|
2233
2233
|
|
|
2234
2234
|
_objectSap('preventExtensions', function ($preventExtensions) {
|
|
2235
2235
|
return function preventExtensions(it) {
|
|
2236
|
-
return $preventExtensions && _isObject(it) ? $preventExtensions(meta(it)) : it;
|
|
2236
|
+
return $preventExtensions && _isObject(it) ? $preventExtensions(meta$2(it)) : it;
|
|
2237
2237
|
};
|
|
2238
2238
|
});
|
|
2239
2239
|
|
|
@@ -2349,7 +2349,7 @@ _export(_export.S, 'Object', { setPrototypeOf: _setProto.set });
|
|
|
2349
2349
|
|
|
2350
2350
|
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
2351
2351
|
|
|
2352
|
-
var TAG = _wks('toStringTag');
|
|
2352
|
+
var TAG$1 = _wks('toStringTag');
|
|
2353
2353
|
// ES3 wrong here
|
|
2354
2354
|
var ARG = _cof(function () { return arguments; }()) == 'Arguments';
|
|
2355
2355
|
|
|
@@ -2364,7 +2364,7 @@ var _classof = function (it) {
|
|
|
2364
2364
|
var O, T, B;
|
|
2365
2365
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2366
2366
|
// @@toStringTag case
|
|
2367
|
-
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
2367
|
+
: typeof (T = tryGet(O = Object(it), TAG$1)) == 'string' ? T
|
|
2368
2368
|
// builtinTag case
|
|
2369
2369
|
: ARG ? _cof(O)
|
|
2370
2370
|
// ES3 arguments fallback
|
|
@@ -2373,9 +2373,9 @@ var _classof = function (it) {
|
|
|
2373
2373
|
|
|
2374
2374
|
// 19.1.3.6 Object.prototype.toString()
|
|
2375
2375
|
|
|
2376
|
-
var test
|
|
2377
|
-
test
|
|
2378
|
-
if (test
|
|
2376
|
+
var test = {};
|
|
2377
|
+
test[_wks('toStringTag')] = 'z';
|
|
2378
|
+
if (test + '' != '[object z]') {
|
|
2379
2379
|
_redefine(Object.prototype, 'toString', function toString() {
|
|
2380
2380
|
return '[object ' + _classof(this) + ']';
|
|
2381
2381
|
}, true);
|
|
@@ -2398,7 +2398,7 @@ var _invoke = function (fn, args, that) {
|
|
|
2398
2398
|
} return fn.apply(that, args);
|
|
2399
2399
|
};
|
|
2400
2400
|
|
|
2401
|
-
var arraySlice
|
|
2401
|
+
var arraySlice = [].slice;
|
|
2402
2402
|
var factories = {};
|
|
2403
2403
|
|
|
2404
2404
|
var construct = function (F, len, args) {
|
|
@@ -2411,9 +2411,9 @@ var construct = function (F, len, args) {
|
|
|
2411
2411
|
|
|
2412
2412
|
var _bind = Function.bind || function bind(that /* , ...args */) {
|
|
2413
2413
|
var fn = _aFunction(this);
|
|
2414
|
-
var partArgs = arraySlice
|
|
2414
|
+
var partArgs = arraySlice.call(arguments, 1);
|
|
2415
2415
|
var bound = function (/* args... */) {
|
|
2416
|
-
var args = partArgs.concat(arraySlice
|
|
2416
|
+
var args = partArgs.concat(arraySlice.call(arguments));
|
|
2417
2417
|
return this instanceof bound ? construct(fn, args.length, args) : _invoke(fn, args, that);
|
|
2418
2418
|
};
|
|
2419
2419
|
if (_isObject(fn.prototype)) bound.prototype = fn.prototype;
|
|
@@ -2425,13 +2425,13 @@ var _bind = Function.bind || function bind(that /* , ...args */) {
|
|
|
2425
2425
|
|
|
2426
2426
|
_export(_export.P, 'Function', { bind: _bind });
|
|
2427
2427
|
|
|
2428
|
-
var dP$
|
|
2428
|
+
var dP$2 = _objectDp.f;
|
|
2429
2429
|
var FProto = Function.prototype;
|
|
2430
2430
|
var nameRE = /^\s*function ([^ (]*)/;
|
|
2431
|
-
var NAME
|
|
2431
|
+
var NAME = 'name';
|
|
2432
2432
|
|
|
2433
2433
|
// 19.2.4.2 name
|
|
2434
|
-
NAME
|
|
2434
|
+
NAME in FProto || _descriptors && dP$2(FProto, NAME, {
|
|
2435
2435
|
configurable: true,
|
|
2436
2436
|
get: function () {
|
|
2437
2437
|
try {
|
|
@@ -2484,12 +2484,12 @@ var trim = exporter.trim = function (string, TYPE) {
|
|
|
2484
2484
|
var _stringTrim = exporter;
|
|
2485
2485
|
|
|
2486
2486
|
var $parseInt = _global.parseInt;
|
|
2487
|
-
var $trim
|
|
2487
|
+
var $trim = _stringTrim.trim;
|
|
2488
2488
|
|
|
2489
2489
|
var hex = /^[-+]?0[xX]/;
|
|
2490
2490
|
|
|
2491
2491
|
var _parseInt = $parseInt(_stringWs + '08') !== 8 || $parseInt(_stringWs + '0x16') !== 22 ? function parseInt(str, radix) {
|
|
2492
|
-
var string = $trim
|
|
2492
|
+
var string = $trim(String(str), 3);
|
|
2493
2493
|
return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
|
|
2494
2494
|
} : $parseInt;
|
|
2495
2495
|
|
|
@@ -2517,23 +2517,23 @@ var _inheritIfRequired = function (that, target, C) {
|
|
|
2517
2517
|
} return that;
|
|
2518
2518
|
};
|
|
2519
2519
|
|
|
2520
|
-
var gOPN$
|
|
2521
|
-
var gOPD$
|
|
2522
|
-
var dP$
|
|
2523
|
-
var $trim = _stringTrim.trim;
|
|
2524
|
-
var NUMBER
|
|
2525
|
-
var $Number = _global[NUMBER
|
|
2526
|
-
var Base
|
|
2527
|
-
var proto
|
|
2520
|
+
var gOPN$2 = _objectGopn.f;
|
|
2521
|
+
var gOPD$2 = _objectGopd.f;
|
|
2522
|
+
var dP$3 = _objectDp.f;
|
|
2523
|
+
var $trim$2 = _stringTrim.trim;
|
|
2524
|
+
var NUMBER = 'Number';
|
|
2525
|
+
var $Number = _global[NUMBER];
|
|
2526
|
+
var Base = $Number;
|
|
2527
|
+
var proto = $Number.prototype;
|
|
2528
2528
|
// Opera ~12 has broken Object#toString
|
|
2529
|
-
var BROKEN_COF = _cof(_objectCreate(proto
|
|
2529
|
+
var BROKEN_COF = _cof(_objectCreate(proto)) == NUMBER;
|
|
2530
2530
|
var TRIM = 'trim' in String.prototype;
|
|
2531
2531
|
|
|
2532
2532
|
// 7.1.3 ToNumber(argument)
|
|
2533
2533
|
var toNumber = function (argument) {
|
|
2534
2534
|
var it = _toPrimitive(argument, false);
|
|
2535
2535
|
if (typeof it == 'string' && it.length > 2) {
|
|
2536
|
-
it = TRIM ? it.trim() : $trim(it, 3);
|
|
2536
|
+
it = TRIM ? it.trim() : $trim$2(it, 3);
|
|
2537
2537
|
var first = it.charCodeAt(0);
|
|
2538
2538
|
var third, radix, maxCode;
|
|
2539
2539
|
if (first === 43 || first === 45) {
|
|
@@ -2561,23 +2561,23 @@ if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
|
2561
2561
|
var that = this;
|
|
2562
2562
|
return that instanceof $Number
|
|
2563
2563
|
// check on 1..constructor(foo) case
|
|
2564
|
-
&& (BROKEN_COF ? _fails(function () { proto
|
|
2565
|
-
? _inheritIfRequired(new Base
|
|
2564
|
+
&& (BROKEN_COF ? _fails(function () { proto.valueOf.call(that); }) : _cof(that) != NUMBER)
|
|
2565
|
+
? _inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
|
|
2566
2566
|
};
|
|
2567
|
-
for (var keys
|
|
2567
|
+
for (var keys = _descriptors ? gOPN$2(Base) : (
|
|
2568
2568
|
// ES3:
|
|
2569
2569
|
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2570
2570
|
// ES6 (in case, if modules with ES6 Number statics required before):
|
|
2571
2571
|
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
|
2572
2572
|
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
|
2573
|
-
).split(','), j = 0, key
|
|
2574
|
-
if (_has(Base
|
|
2575
|
-
dP$
|
|
2573
|
+
).split(','), j$1 = 0, key; keys.length > j$1; j$1++) {
|
|
2574
|
+
if (_has(Base, key = keys[j$1]) && !_has($Number, key)) {
|
|
2575
|
+
dP$3($Number, key, gOPD$2(Base, key));
|
|
2576
2576
|
}
|
|
2577
2577
|
}
|
|
2578
|
-
$Number.prototype = proto
|
|
2579
|
-
proto
|
|
2580
|
-
_redefine(_global, NUMBER
|
|
2578
|
+
$Number.prototype = proto;
|
|
2579
|
+
proto.constructor = $Number;
|
|
2580
|
+
_redefine(_global, NUMBER, $Number);
|
|
2581
2581
|
}
|
|
2582
2582
|
|
|
2583
2583
|
var _aNumberValue = function (it, msg) {
|
|
@@ -2595,7 +2595,7 @@ var _stringRepeat = function repeat(count) {
|
|
|
2595
2595
|
};
|
|
2596
2596
|
|
|
2597
2597
|
var $toFixed = 1.0.toFixed;
|
|
2598
|
-
var floor$
|
|
2598
|
+
var floor$1 = Math.floor;
|
|
2599
2599
|
var data = [0, 0, 0, 0, 0, 0];
|
|
2600
2600
|
var ERROR = 'Number.toFixed: incorrect invocation!';
|
|
2601
2601
|
var ZERO = '0';
|
|
@@ -2606,7 +2606,7 @@ var multiply = function (n, c) {
|
|
|
2606
2606
|
while (++i < 6) {
|
|
2607
2607
|
c2 += n * data[i];
|
|
2608
2608
|
data[i] = c2 % 1e7;
|
|
2609
|
-
c2 = floor$
|
|
2609
|
+
c2 = floor$1(c2 / 1e7);
|
|
2610
2610
|
}
|
|
2611
2611
|
};
|
|
2612
2612
|
var divide = function (n) {
|
|
@@ -2614,7 +2614,7 @@ var divide = function (n) {
|
|
|
2614
2614
|
var c = 0;
|
|
2615
2615
|
while (--i >= 0) {
|
|
2616
2616
|
c += data[i];
|
|
2617
|
-
data[i] = floor$
|
|
2617
|
+
data[i] = floor$1(c / n);
|
|
2618
2618
|
c = (c % n) * 1e7;
|
|
2619
2619
|
}
|
|
2620
2620
|
};
|
|
@@ -2628,8 +2628,8 @@ var numToString = function () {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
} return s;
|
|
2630
2630
|
};
|
|
2631
|
-
var pow
|
|
2632
|
-
return n === 0 ? acc : n % 2 === 1 ? pow
|
|
2631
|
+
var pow = function (x, n, acc) {
|
|
2632
|
+
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
2633
2633
|
};
|
|
2634
2634
|
var log = function (x) {
|
|
2635
2635
|
var n = 0;
|
|
@@ -2668,8 +2668,8 @@ _export(_export.P + _export.F * (!!$toFixed && (
|
|
|
2668
2668
|
x = -x;
|
|
2669
2669
|
}
|
|
2670
2670
|
if (x > 1e-21) {
|
|
2671
|
-
e = log(x * pow
|
|
2672
|
-
z = e < 0 ? x * pow
|
|
2671
|
+
e = log(x * pow(2, 69, 1)) - 69;
|
|
2672
|
+
z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
|
|
2673
2673
|
z *= 0x10000000000000;
|
|
2674
2674
|
e = 52 - e;
|
|
2675
2675
|
if (e > 0) {
|
|
@@ -2679,7 +2679,7 @@ _export(_export.P + _export.F * (!!$toFixed && (
|
|
|
2679
2679
|
multiply(1e7, 0);
|
|
2680
2680
|
j -= 7;
|
|
2681
2681
|
}
|
|
2682
|
-
multiply(pow
|
|
2682
|
+
multiply(pow(10, j, 1), 0);
|
|
2683
2683
|
j = e - 1;
|
|
2684
2684
|
while (j >= 23) {
|
|
2685
2685
|
divide(1 << 23);
|
|
@@ -2736,9 +2736,9 @@ _export(_export.S, 'Number', {
|
|
|
2736
2736
|
|
|
2737
2737
|
// 20.1.2.3 Number.isInteger(number)
|
|
2738
2738
|
|
|
2739
|
-
var floor$
|
|
2739
|
+
var floor$2 = Math.floor;
|
|
2740
2740
|
var _isInteger = function isInteger(it) {
|
|
2741
|
-
return !_isObject(it) && isFinite(it) && floor$
|
|
2741
|
+
return !_isObject(it) && isFinite(it) && floor$2(it) === it;
|
|
2742
2742
|
};
|
|
2743
2743
|
|
|
2744
2744
|
// 20.1.2.3 Number.isInteger(number)
|
|
@@ -2759,11 +2759,11 @@ _export(_export.S, 'Number', {
|
|
|
2759
2759
|
// 20.1.2.5 Number.isSafeInteger(number)
|
|
2760
2760
|
|
|
2761
2761
|
|
|
2762
|
-
var abs
|
|
2762
|
+
var abs = Math.abs;
|
|
2763
2763
|
|
|
2764
2764
|
_export(_export.S, 'Number', {
|
|
2765
2765
|
isSafeInteger: function isSafeInteger(number) {
|
|
2766
|
-
return _isInteger(number) && abs
|
|
2766
|
+
return _isInteger(number) && abs(number) <= 0x1fffffffffffff;
|
|
2767
2767
|
}
|
|
2768
2768
|
});
|
|
2769
2769
|
|
|
@@ -2856,11 +2856,11 @@ _export(_export.S, 'Math', {
|
|
|
2856
2856
|
|
|
2857
2857
|
// 20.2.2.12 Math.cosh(x)
|
|
2858
2858
|
|
|
2859
|
-
var exp
|
|
2859
|
+
var exp = Math.exp;
|
|
2860
2860
|
|
|
2861
2861
|
_export(_export.S, 'Math', {
|
|
2862
2862
|
cosh: function cosh(x) {
|
|
2863
|
-
return (exp
|
|
2863
|
+
return (exp(x = +x) + exp(-x)) / 2;
|
|
2864
2864
|
}
|
|
2865
2865
|
});
|
|
2866
2866
|
|
|
@@ -2883,11 +2883,11 @@ _export(_export.S + _export.F * (_mathExpm1 != Math.expm1), 'Math', { expm1: _ma
|
|
|
2883
2883
|
|
|
2884
2884
|
// 20.2.2.16 Math.fround(x)
|
|
2885
2885
|
|
|
2886
|
-
var pow = Math.pow;
|
|
2887
|
-
var EPSILON = pow(2, -52);
|
|
2888
|
-
var EPSILON32 = pow(2, -23);
|
|
2889
|
-
var MAX32 = pow(2, 127) * (2 - EPSILON32);
|
|
2890
|
-
var MIN32 = pow(2, -126);
|
|
2886
|
+
var pow$1 = Math.pow;
|
|
2887
|
+
var EPSILON = pow$1(2, -52);
|
|
2888
|
+
var EPSILON32 = pow$1(2, -23);
|
|
2889
|
+
var MAX32 = pow$1(2, 127) * (2 - EPSILON32);
|
|
2890
|
+
var MIN32 = pow$1(2, -126);
|
|
2891
2891
|
|
|
2892
2892
|
var roundTiesToEven = function (n) {
|
|
2893
2893
|
return n + 1 / EPSILON - 1 / EPSILON;
|
|
@@ -2912,7 +2912,7 @@ _export(_export.S, 'Math', { fround: _mathFround });
|
|
|
2912
2912
|
|
|
2913
2913
|
// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
|
|
2914
2914
|
|
|
2915
|
-
var abs = Math.abs;
|
|
2915
|
+
var abs$1 = Math.abs;
|
|
2916
2916
|
|
|
2917
2917
|
_export(_export.S, 'Math', {
|
|
2918
2918
|
hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars
|
|
@@ -2922,7 +2922,7 @@ _export(_export.S, 'Math', {
|
|
|
2922
2922
|
var larg = 0;
|
|
2923
2923
|
var arg, div;
|
|
2924
2924
|
while (i < aLen) {
|
|
2925
|
-
arg = abs(arguments[i++]);
|
|
2925
|
+
arg = abs$1(arguments[i++]);
|
|
2926
2926
|
if (larg < arg) {
|
|
2927
2927
|
div = larg / arg;
|
|
2928
2928
|
sum = sum * div * div + 1;
|
|
@@ -2985,7 +2985,7 @@ _export(_export.S, 'Math', { sign: _mathSign });
|
|
|
2985
2985
|
// 20.2.2.30 Math.sinh(x)
|
|
2986
2986
|
|
|
2987
2987
|
|
|
2988
|
-
var exp$
|
|
2988
|
+
var exp$1 = Math.exp;
|
|
2989
2989
|
|
|
2990
2990
|
// V8 near Chromium 38 has a problem with very small numbers
|
|
2991
2991
|
_export(_export.S + _export.F * _fails(function () {
|
|
@@ -2994,20 +2994,20 @@ _export(_export.S + _export.F * _fails(function () {
|
|
|
2994
2994
|
sinh: function sinh(x) {
|
|
2995
2995
|
return Math.abs(x = +x) < 1
|
|
2996
2996
|
? (_mathExpm1(x) - _mathExpm1(-x)) / 2
|
|
2997
|
-
: (exp$
|
|
2997
|
+
: (exp$1(x - 1) - exp$1(-x - 1)) * (Math.E / 2);
|
|
2998
2998
|
}
|
|
2999
2999
|
});
|
|
3000
3000
|
|
|
3001
3001
|
// 20.2.2.33 Math.tanh(x)
|
|
3002
3002
|
|
|
3003
3003
|
|
|
3004
|
-
var exp$
|
|
3004
|
+
var exp$2 = Math.exp;
|
|
3005
3005
|
|
|
3006
3006
|
_export(_export.S, 'Math', {
|
|
3007
3007
|
tanh: function tanh(x) {
|
|
3008
3008
|
var a = _mathExpm1(x = +x);
|
|
3009
3009
|
var b = _mathExpm1(-x);
|
|
3010
|
-
return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp$
|
|
3010
|
+
return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp$2(x) + exp$2(-x));
|
|
3011
3011
|
}
|
|
3012
3012
|
});
|
|
3013
3013
|
|
|
@@ -3092,7 +3092,7 @@ var _iterCreate = function (Constructor, NAME, next) {
|
|
|
3092
3092
|
_setToStringTag(Constructor, NAME + ' Iterator');
|
|
3093
3093
|
};
|
|
3094
3094
|
|
|
3095
|
-
var ITERATOR
|
|
3095
|
+
var ITERATOR = _wks('iterator');
|
|
3096
3096
|
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
|
3097
3097
|
var FF_ITERATOR = '@@iterator';
|
|
3098
3098
|
var KEYS = 'keys';
|
|
@@ -3113,7 +3113,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3113
3113
|
var DEF_VALUES = DEFAULT == VALUES;
|
|
3114
3114
|
var VALUES_BUG = false;
|
|
3115
3115
|
var proto = Base.prototype;
|
|
3116
|
-
var $native = proto[ITERATOR
|
|
3116
|
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
|
3117
3117
|
var $default = $native || getMethod(DEFAULT);
|
|
3118
3118
|
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
|
3119
3119
|
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
|
@@ -3125,7 +3125,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3125
3125
|
// Set @@toStringTag to native iterators
|
|
3126
3126
|
_setToStringTag(IteratorPrototype, TAG, true);
|
|
3127
3127
|
// fix for some old engines
|
|
3128
|
-
if (typeof IteratorPrototype[ITERATOR
|
|
3128
|
+
if ( typeof IteratorPrototype[ITERATOR] != 'function') _hide(IteratorPrototype, ITERATOR, returnThis);
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
3131
3131
|
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
@@ -3134,8 +3134,8 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3134
3134
|
$default = function values() { return $native.call(this); };
|
|
3135
3135
|
}
|
|
3136
3136
|
// Define iterator
|
|
3137
|
-
if ((BUGGY || VALUES_BUG || !proto[ITERATOR
|
|
3138
|
-
_hide(proto, ITERATOR
|
|
3137
|
+
if ( (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
|
3138
|
+
_hide(proto, ITERATOR, $default);
|
|
3139
3139
|
}
|
|
3140
3140
|
// Plug for library
|
|
3141
3141
|
_iterators[NAME] = $default;
|
|
@@ -3153,7 +3153,7 @@ var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORC
|
|
|
3153
3153
|
return methods;
|
|
3154
3154
|
};
|
|
3155
3155
|
|
|
3156
|
-
var $at
|
|
3156
|
+
var $at = _stringAt(true);
|
|
3157
3157
|
|
|
3158
3158
|
// 21.1.3.27 String.prototype[@@iterator]()
|
|
3159
3159
|
_iterDefine(String, 'String', function (iterated) {
|
|
@@ -3165,7 +3165,7 @@ _iterDefine(String, 'String', function (iterated) {
|
|
|
3165
3165
|
var index = this._i;
|
|
3166
3166
|
var point;
|
|
3167
3167
|
if (index >= O.length) return { value: undefined, done: true };
|
|
3168
|
-
point = $at
|
|
3168
|
+
point = $at(O, index);
|
|
3169
3169
|
this._i += point.length;
|
|
3170
3170
|
return { value: point, done: false };
|
|
3171
3171
|
});
|
|
@@ -3181,10 +3181,10 @@ _export(_export.P, 'String', {
|
|
|
3181
3181
|
// 7.2.8 IsRegExp(argument)
|
|
3182
3182
|
|
|
3183
3183
|
|
|
3184
|
-
var MATCH
|
|
3184
|
+
var MATCH = _wks('match');
|
|
3185
3185
|
var _isRegexp = function (it) {
|
|
3186
3186
|
var isRegExp;
|
|
3187
|
-
return _isObject(it) && ((isRegExp = it[MATCH
|
|
3187
|
+
return _isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : _cof(it) == 'RegExp');
|
|
3188
3188
|
};
|
|
3189
3189
|
|
|
3190
3190
|
// helper for String#{startsWith, endsWith, includes}
|
|
@@ -3196,14 +3196,14 @@ var _stringContext = function (that, searchString, NAME) {
|
|
|
3196
3196
|
return String(_defined(that));
|
|
3197
3197
|
};
|
|
3198
3198
|
|
|
3199
|
-
var MATCH = _wks('match');
|
|
3199
|
+
var MATCH$1 = _wks('match');
|
|
3200
3200
|
var _failsIsRegexp = function (KEY) {
|
|
3201
3201
|
var re = /./;
|
|
3202
3202
|
try {
|
|
3203
3203
|
'/./'[KEY](re);
|
|
3204
3204
|
} catch (e) {
|
|
3205
3205
|
try {
|
|
3206
|
-
re[MATCH] = false;
|
|
3206
|
+
re[MATCH$1] = false;
|
|
3207
3207
|
return !'/./'[KEY](re);
|
|
3208
3208
|
} catch (f) { /* empty */ }
|
|
3209
3209
|
} return true;
|
|
@@ -3380,7 +3380,7 @@ _export(_export.P + _export.F * _fails(function () {
|
|
|
3380
3380
|
|
|
3381
3381
|
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
|
3382
3382
|
|
|
3383
|
-
var getTime
|
|
3383
|
+
var getTime = Date.prototype.getTime;
|
|
3384
3384
|
var $toISOString = Date.prototype.toISOString;
|
|
3385
3385
|
|
|
3386
3386
|
var lz = function (num) {
|
|
@@ -3393,7 +3393,7 @@ var _dateToIsoString = (_fails(function () {
|
|
|
3393
3393
|
}) || !_fails(function () {
|
|
3394
3394
|
$toISOString.call(new Date(NaN));
|
|
3395
3395
|
})) ? function toISOString() {
|
|
3396
|
-
if (!isFinite(getTime
|
|
3396
|
+
if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
|
|
3397
3397
|
var d = this;
|
|
3398
3398
|
var y = d.getUTCFullYear();
|
|
3399
3399
|
var m = d.getUTCMilliseconds();
|
|
@@ -3415,28 +3415,28 @@ _export(_export.P + _export.F * (Date.prototype.toISOString !== _dateToIsoString
|
|
|
3415
3415
|
|
|
3416
3416
|
var DateProto = Date.prototype;
|
|
3417
3417
|
var INVALID_DATE = 'Invalid Date';
|
|
3418
|
-
var TO_STRING
|
|
3419
|
-
var $toString
|
|
3420
|
-
var getTime = DateProto.getTime;
|
|
3418
|
+
var TO_STRING = 'toString';
|
|
3419
|
+
var $toString = DateProto[TO_STRING];
|
|
3420
|
+
var getTime$1 = DateProto.getTime;
|
|
3421
3421
|
if (new Date(NaN) + '' != INVALID_DATE) {
|
|
3422
|
-
_redefine(DateProto, TO_STRING
|
|
3423
|
-
var value = getTime.call(this);
|
|
3422
|
+
_redefine(DateProto, TO_STRING, function toString() {
|
|
3423
|
+
var value = getTime$1.call(this);
|
|
3424
3424
|
// eslint-disable-next-line no-self-compare
|
|
3425
|
-
return value === value ? $toString
|
|
3425
|
+
return value === value ? $toString.call(this) : INVALID_DATE;
|
|
3426
3426
|
});
|
|
3427
3427
|
}
|
|
3428
3428
|
|
|
3429
|
-
var NUMBER = 'number';
|
|
3429
|
+
var NUMBER$1 = 'number';
|
|
3430
3430
|
|
|
3431
3431
|
var _dateToPrimitive = function (hint) {
|
|
3432
|
-
if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');
|
|
3433
|
-
return _toPrimitive(_anObject(this), hint != NUMBER);
|
|
3432
|
+
if (hint !== 'string' && hint !== NUMBER$1 && hint !== 'default') throw TypeError('Incorrect hint');
|
|
3433
|
+
return _toPrimitive(_anObject(this), hint != NUMBER$1);
|
|
3434
3434
|
};
|
|
3435
3435
|
|
|
3436
|
-
var TO_PRIMITIVE = _wks('toPrimitive');
|
|
3437
|
-
var proto$
|
|
3436
|
+
var TO_PRIMITIVE$1 = _wks('toPrimitive');
|
|
3437
|
+
var proto$1 = Date.prototype;
|
|
3438
3438
|
|
|
3439
|
-
if (!(TO_PRIMITIVE in proto$
|
|
3439
|
+
if (!(TO_PRIMITIVE$1 in proto$1)) _hide(proto$1, TO_PRIMITIVE$1, _dateToPrimitive);
|
|
3440
3440
|
|
|
3441
3441
|
// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
|
|
3442
3442
|
|
|
@@ -3458,11 +3458,11 @@ var _iterCall = function (iterator, fn, value, entries) {
|
|
|
3458
3458
|
|
|
3459
3459
|
// check on default Array iterator
|
|
3460
3460
|
|
|
3461
|
-
var ITERATOR$
|
|
3462
|
-
var ArrayProto
|
|
3461
|
+
var ITERATOR$1 = _wks('iterator');
|
|
3462
|
+
var ArrayProto = Array.prototype;
|
|
3463
3463
|
|
|
3464
3464
|
var _isArrayIter = function (it) {
|
|
3465
|
-
return it !== undefined && (_iterators.Array === it || ArrayProto
|
|
3465
|
+
return it !== undefined && (_iterators.Array === it || ArrayProto[ITERATOR$1] === it);
|
|
3466
3466
|
};
|
|
3467
3467
|
|
|
3468
3468
|
var _createProperty = function (object, index, value) {
|
|
@@ -3478,11 +3478,11 @@ var core_getIteratorMethod = _core.getIteratorMethod = function (it) {
|
|
|
3478
3478
|
|| _iterators[_classof(it)];
|
|
3479
3479
|
};
|
|
3480
3480
|
|
|
3481
|
-
var ITERATOR$
|
|
3481
|
+
var ITERATOR$3 = _wks('iterator');
|
|
3482
3482
|
var SAFE_CLOSING = false;
|
|
3483
3483
|
|
|
3484
3484
|
try {
|
|
3485
|
-
var riter = [7][ITERATOR$
|
|
3485
|
+
var riter = [7][ITERATOR$3]();
|
|
3486
3486
|
riter['return'] = function () { SAFE_CLOSING = true; };
|
|
3487
3487
|
// eslint-disable-next-line no-throw-literal
|
|
3488
3488
|
Array.from(riter, function () { throw 2; });
|
|
@@ -3493,9 +3493,9 @@ var _iterDetect = function (exec, skipClosing) {
|
|
|
3493
3493
|
var safe = false;
|
|
3494
3494
|
try {
|
|
3495
3495
|
var arr = [7];
|
|
3496
|
-
var iter = arr[ITERATOR$
|
|
3496
|
+
var iter = arr[ITERATOR$3]();
|
|
3497
3497
|
iter.next = function () { return { done: safe = true }; };
|
|
3498
|
-
arr[ITERATOR$
|
|
3498
|
+
arr[ITERATOR$3] = function () { return iter; };
|
|
3499
3499
|
exec(arr);
|
|
3500
3500
|
} catch (e) { /* empty */ }
|
|
3501
3501
|
return safe;
|
|
@@ -3564,17 +3564,17 @@ _export(_export.P + _export.F * (_iobject != Object || !_strictMethod(arrayJoin)
|
|
|
3564
3564
|
}
|
|
3565
3565
|
});
|
|
3566
3566
|
|
|
3567
|
-
var arraySlice = [].slice;
|
|
3567
|
+
var arraySlice$1 = [].slice;
|
|
3568
3568
|
|
|
3569
3569
|
// fallback for not array-like ES3 strings and DOM objects
|
|
3570
3570
|
_export(_export.P + _export.F * _fails(function () {
|
|
3571
|
-
if (_html) arraySlice.call(_html);
|
|
3571
|
+
if (_html) arraySlice$1.call(_html);
|
|
3572
3572
|
}), 'Array', {
|
|
3573
3573
|
slice: function slice(begin, end) {
|
|
3574
3574
|
var len = _toLength(this.length);
|
|
3575
3575
|
var klass = _cof(this);
|
|
3576
3576
|
end = end === undefined ? len : end;
|
|
3577
|
-
if (klass == 'Array') return arraySlice.call(this, begin, end);
|
|
3577
|
+
if (klass == 'Array') return arraySlice$1.call(this, begin, end);
|
|
3578
3578
|
var start = _toAbsoluteIndex(begin, len);
|
|
3579
3579
|
var upTo = _toAbsoluteIndex(end, len);
|
|
3580
3580
|
var size = _toLength(upTo - start);
|
|
@@ -3588,14 +3588,14 @@ _export(_export.P + _export.F * _fails(function () {
|
|
|
3588
3588
|
});
|
|
3589
3589
|
|
|
3590
3590
|
var $sort = [].sort;
|
|
3591
|
-
var test = [1, 2, 3];
|
|
3591
|
+
var test$1 = [1, 2, 3];
|
|
3592
3592
|
|
|
3593
3593
|
_export(_export.P + _export.F * (_fails(function () {
|
|
3594
3594
|
// IE8-
|
|
3595
|
-
test.sort(undefined);
|
|
3595
|
+
test$1.sort(undefined);
|
|
3596
3596
|
}) || !_fails(function () {
|
|
3597
3597
|
// V8 bug
|
|
3598
|
-
test.sort(null);
|
|
3598
|
+
test$1.sort(null);
|
|
3599
3599
|
// Old WebKit
|
|
3600
3600
|
}) || !_strictMethod($sort)), 'Array', {
|
|
3601
3601
|
// 22.1.3.25 Array.prototype.sort(comparefn)
|
|
@@ -3606,7 +3606,7 @@ _export(_export.P + _export.F * (_fails(function () {
|
|
|
3606
3606
|
}
|
|
3607
3607
|
});
|
|
3608
3608
|
|
|
3609
|
-
var SPECIES
|
|
3609
|
+
var SPECIES = _wks('species');
|
|
3610
3610
|
|
|
3611
3611
|
var _arraySpeciesConstructor = function (original) {
|
|
3612
3612
|
var C;
|
|
@@ -3615,7 +3615,7 @@ var _arraySpeciesConstructor = function (original) {
|
|
|
3615
3615
|
// cross-realm fallback
|
|
3616
3616
|
if (typeof C == 'function' && (C === Array || _isArray(C.prototype))) C = undefined;
|
|
3617
3617
|
if (_isObject(C)) {
|
|
3618
|
-
C = C[SPECIES
|
|
3618
|
+
C = C[SPECIES];
|
|
3619
3619
|
if (C === null) C = undefined;
|
|
3620
3620
|
}
|
|
3621
3621
|
} return C === undefined ? Array : C;
|
|
@@ -3758,27 +3758,27 @@ _export(_export.P + _export.F * !_strictMethod([].reduceRight, true), 'Array', {
|
|
|
3758
3758
|
});
|
|
3759
3759
|
|
|
3760
3760
|
var $indexOf = _arrayIncludes(false);
|
|
3761
|
-
var $native
|
|
3762
|
-
var NEGATIVE_ZERO
|
|
3761
|
+
var $native = [].indexOf;
|
|
3762
|
+
var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
|
|
3763
3763
|
|
|
3764
|
-
_export(_export.P + _export.F * (NEGATIVE_ZERO
|
|
3764
|
+
_export(_export.P + _export.F * (NEGATIVE_ZERO || !_strictMethod($native)), 'Array', {
|
|
3765
3765
|
// 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
|
|
3766
3766
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
3767
|
-
return NEGATIVE_ZERO
|
|
3767
|
+
return NEGATIVE_ZERO
|
|
3768
3768
|
// convert -0 to +0
|
|
3769
|
-
? $native
|
|
3769
|
+
? $native.apply(this, arguments) || 0
|
|
3770
3770
|
: $indexOf(this, searchElement, arguments[1]);
|
|
3771
3771
|
}
|
|
3772
3772
|
});
|
|
3773
3773
|
|
|
3774
|
-
var $native = [].lastIndexOf;
|
|
3775
|
-
var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
|
|
3774
|
+
var $native$1 = [].lastIndexOf;
|
|
3775
|
+
var NEGATIVE_ZERO$1 = !!$native$1 && 1 / [1].lastIndexOf(1, -0) < 0;
|
|
3776
3776
|
|
|
3777
|
-
_export(_export.P + _export.F * (NEGATIVE_ZERO || !_strictMethod($native)), 'Array', {
|
|
3777
|
+
_export(_export.P + _export.F * (NEGATIVE_ZERO$1 || !_strictMethod($native$1)), 'Array', {
|
|
3778
3778
|
// 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
|
|
3779
3779
|
lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
|
|
3780
3780
|
// convert -0 to +0
|
|
3781
|
-
if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
|
|
3781
|
+
if (NEGATIVE_ZERO$1) return $native$1.apply(this, arguments) || 0;
|
|
3782
3782
|
var O = _toIobject(this);
|
|
3783
3783
|
var length = _toLength(O.length);
|
|
3784
3784
|
var index = length - 1;
|
|
@@ -3812,10 +3812,10 @@ var _arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, st
|
|
|
3812
3812
|
|
|
3813
3813
|
// 22.1.3.31 Array.prototype[@@unscopables]
|
|
3814
3814
|
var UNSCOPABLES = _wks('unscopables');
|
|
3815
|
-
var ArrayProto = Array.prototype;
|
|
3816
|
-
if (ArrayProto[UNSCOPABLES] == undefined) _hide(ArrayProto, UNSCOPABLES, {});
|
|
3815
|
+
var ArrayProto$1 = Array.prototype;
|
|
3816
|
+
if (ArrayProto$1[UNSCOPABLES] == undefined) _hide(ArrayProto$1, UNSCOPABLES, {});
|
|
3817
3817
|
var _addToUnscopables = function (key) {
|
|
3818
|
-
ArrayProto[UNSCOPABLES][key] = true;
|
|
3818
|
+
ArrayProto$1[UNSCOPABLES][key] = true;
|
|
3819
3819
|
};
|
|
3820
3820
|
|
|
3821
3821
|
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
|
@@ -3845,37 +3845,37 @@ _addToUnscopables('fill');
|
|
|
3845
3845
|
|
|
3846
3846
|
// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
|
|
3847
3847
|
|
|
3848
|
-
var $find
|
|
3849
|
-
var KEY
|
|
3850
|
-
var forced
|
|
3848
|
+
var $find = _arrayMethods(5);
|
|
3849
|
+
var KEY = 'find';
|
|
3850
|
+
var forced = true;
|
|
3851
3851
|
// Shouldn't skip holes
|
|
3852
|
-
if (KEY
|
|
3853
|
-
_export(_export.P + _export.F * forced
|
|
3852
|
+
if (KEY in []) Array(1)[KEY](function () { forced = false; });
|
|
3853
|
+
_export(_export.P + _export.F * forced, 'Array', {
|
|
3854
3854
|
find: function find(callbackfn /* , that = undefined */) {
|
|
3855
|
-
return $find
|
|
3855
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3856
3856
|
}
|
|
3857
3857
|
});
|
|
3858
|
-
_addToUnscopables(KEY
|
|
3858
|
+
_addToUnscopables(KEY);
|
|
3859
3859
|
|
|
3860
3860
|
// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
|
|
3861
3861
|
|
|
3862
|
-
var $find = _arrayMethods(6);
|
|
3863
|
-
var KEY = 'findIndex';
|
|
3864
|
-
var forced = true;
|
|
3862
|
+
var $find$1 = _arrayMethods(6);
|
|
3863
|
+
var KEY$1 = 'findIndex';
|
|
3864
|
+
var forced$1 = true;
|
|
3865
3865
|
// Shouldn't skip holes
|
|
3866
|
-
if (KEY in []) Array(1)[KEY](function () { forced = false; });
|
|
3867
|
-
_export(_export.P + _export.F * forced, 'Array', {
|
|
3866
|
+
if (KEY$1 in []) Array(1)[KEY$1](function () { forced$1 = false; });
|
|
3867
|
+
_export(_export.P + _export.F * forced$1, 'Array', {
|
|
3868
3868
|
findIndex: function findIndex(callbackfn /* , that = undefined */) {
|
|
3869
|
-
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3869
|
+
return $find$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3870
3870
|
}
|
|
3871
3871
|
});
|
|
3872
|
-
_addToUnscopables(KEY);
|
|
3872
|
+
_addToUnscopables(KEY$1);
|
|
3873
3873
|
|
|
3874
|
-
var SPECIES$
|
|
3874
|
+
var SPECIES$1 = _wks('species');
|
|
3875
3875
|
|
|
3876
3876
|
var _setSpecies = function (KEY) {
|
|
3877
3877
|
var C = _global[KEY];
|
|
3878
|
-
if (_descriptors && C && !C[SPECIES$
|
|
3878
|
+
if (_descriptors && C && !C[SPECIES$1]) _objectDp.f(C, SPECIES$1, {
|
|
3879
3879
|
configurable: true,
|
|
3880
3880
|
get: function () { return this; }
|
|
3881
3881
|
});
|
|
@@ -3929,13 +3929,13 @@ var _flags = function () {
|
|
|
3929
3929
|
return result;
|
|
3930
3930
|
};
|
|
3931
3931
|
|
|
3932
|
-
var dP$
|
|
3933
|
-
var gOPN = _objectGopn.f;
|
|
3932
|
+
var dP$4 = _objectDp.f;
|
|
3933
|
+
var gOPN$3 = _objectGopn.f;
|
|
3934
3934
|
|
|
3935
3935
|
|
|
3936
3936
|
var $RegExp = _global.RegExp;
|
|
3937
|
-
var Base = $RegExp;
|
|
3938
|
-
var proto$
|
|
3937
|
+
var Base$1 = $RegExp;
|
|
3938
|
+
var proto$2 = $RegExp.prototype;
|
|
3939
3939
|
var re1 = /a/g;
|
|
3940
3940
|
var re2 = /a/g;
|
|
3941
3941
|
// "new" creates a new object, old webkit buggy here
|
|
@@ -3952,20 +3952,20 @@ if (_descriptors && (!CORRECT_NEW || _fails(function () {
|
|
|
3952
3952
|
var fiU = f === undefined;
|
|
3953
3953
|
return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
|
|
3954
3954
|
: _inheritIfRequired(CORRECT_NEW
|
|
3955
|
-
? new Base(piRE && !fiU ? p.source : p, f)
|
|
3956
|
-
: Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? _flags.call(p) : f)
|
|
3957
|
-
, tiRE ? this : proto$
|
|
3955
|
+
? new Base$1(piRE && !fiU ? p.source : p, f)
|
|
3956
|
+
: Base$1((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? _flags.call(p) : f)
|
|
3957
|
+
, tiRE ? this : proto$2, $RegExp);
|
|
3958
3958
|
};
|
|
3959
3959
|
var proxy = function (key) {
|
|
3960
|
-
key in $RegExp || dP$
|
|
3960
|
+
key in $RegExp || dP$4($RegExp, key, {
|
|
3961
3961
|
configurable: true,
|
|
3962
|
-
get: function () { return Base[key]; },
|
|
3963
|
-
set: function (it) { Base[key] = it; }
|
|
3962
|
+
get: function () { return Base$1[key]; },
|
|
3963
|
+
set: function (it) { Base$1[key] = it; }
|
|
3964
3964
|
});
|
|
3965
3965
|
};
|
|
3966
|
-
for (var keys = gOPN(Base), i
|
|
3967
|
-
proto$
|
|
3968
|
-
$RegExp.prototype = proto$
|
|
3966
|
+
for (var keys$1 = gOPN$3(Base$1), i = 0; keys$1.length > i;) proxy(keys$1[i++]);
|
|
3967
|
+
proto$2.constructor = $RegExp;
|
|
3968
|
+
$RegExp.prototype = proto$2;
|
|
3969
3969
|
_redefine(_global, 'RegExp', $RegExp);
|
|
3970
3970
|
}
|
|
3971
3971
|
|
|
@@ -3979,14 +3979,14 @@ var nativeReplace = String.prototype.replace;
|
|
|
3979
3979
|
|
|
3980
3980
|
var patchedExec = nativeExec;
|
|
3981
3981
|
|
|
3982
|
-
var LAST_INDEX
|
|
3982
|
+
var LAST_INDEX = 'lastIndex';
|
|
3983
3983
|
|
|
3984
3984
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
3985
3985
|
var re1 = /a/,
|
|
3986
3986
|
re2 = /b*/g;
|
|
3987
3987
|
nativeExec.call(re1, 'a');
|
|
3988
3988
|
nativeExec.call(re2, 'a');
|
|
3989
|
-
return re1[LAST_INDEX
|
|
3989
|
+
return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
|
|
3990
3990
|
})();
|
|
3991
3991
|
|
|
3992
3992
|
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
@@ -4002,12 +4002,12 @@ if (PATCH) {
|
|
|
4002
4002
|
if (NPCG_INCLUDED) {
|
|
4003
4003
|
reCopy = new RegExp('^' + re.source + '$(?!\\s)', _flags.call(re));
|
|
4004
4004
|
}
|
|
4005
|
-
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX
|
|
4005
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
|
|
4006
4006
|
|
|
4007
4007
|
match = nativeExec.call(re, str);
|
|
4008
4008
|
|
|
4009
4009
|
if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
4010
|
-
re[LAST_INDEX
|
|
4010
|
+
re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
|
|
4011
4011
|
}
|
|
4012
4012
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
4013
4013
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
@@ -4040,24 +4040,24 @@ if (_descriptors && /./g.flags != 'g') _objectDp.f(RegExp.prototype, 'flags', {
|
|
|
4040
4040
|
get: _flags
|
|
4041
4041
|
});
|
|
4042
4042
|
|
|
4043
|
-
var TO_STRING = 'toString';
|
|
4044
|
-
var $toString = /./[TO_STRING];
|
|
4043
|
+
var TO_STRING$1 = 'toString';
|
|
4044
|
+
var $toString$1 = /./[TO_STRING$1];
|
|
4045
4045
|
|
|
4046
|
-
var define
|
|
4047
|
-
_redefine(RegExp.prototype, TO_STRING, fn, true);
|
|
4046
|
+
var define = function (fn) {
|
|
4047
|
+
_redefine(RegExp.prototype, TO_STRING$1, fn, true);
|
|
4048
4048
|
};
|
|
4049
4049
|
|
|
4050
4050
|
// 21.2.5.14 RegExp.prototype.toString()
|
|
4051
|
-
if (_fails(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
|
4052
|
-
define
|
|
4051
|
+
if (_fails(function () { return $toString$1.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
|
|
4052
|
+
define(function toString() {
|
|
4053
4053
|
var R = _anObject(this);
|
|
4054
4054
|
return '/'.concat(R.source, '/',
|
|
4055
4055
|
'flags' in R ? R.flags : !_descriptors && R instanceof RegExp ? _flags.call(R) : undefined);
|
|
4056
4056
|
});
|
|
4057
4057
|
// FF44- RegExp#toString has a wrong name
|
|
4058
|
-
} else if ($toString.name != TO_STRING) {
|
|
4059
|
-
define
|
|
4060
|
-
return $toString.call(this);
|
|
4058
|
+
} else if ($toString$1.name != TO_STRING$1) {
|
|
4059
|
+
define(function toString() {
|
|
4060
|
+
return $toString$1.call(this);
|
|
4061
4061
|
});
|
|
4062
4062
|
}
|
|
4063
4063
|
|
|
@@ -4088,7 +4088,7 @@ var _regexpExecAbstract = function (R, S) {
|
|
|
4088
4088
|
return builtinExec.call(R, S);
|
|
4089
4089
|
};
|
|
4090
4090
|
|
|
4091
|
-
var SPECIES$
|
|
4091
|
+
var SPECIES$2 = _wks('species');
|
|
4092
4092
|
|
|
4093
4093
|
var REPLACE_SUPPORTS_NAMED_GROUPS = !_fails(function () {
|
|
4094
4094
|
// #replace needs built-in support for named groups.
|
|
@@ -4131,7 +4131,7 @@ var _fixReWks = function (KEY, length, exec) {
|
|
|
4131
4131
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
4132
4132
|
// a new one. We need to return the patched regex when creating the new one.
|
|
4133
4133
|
re.constructor = {};
|
|
4134
|
-
re.constructor[SPECIES$
|
|
4134
|
+
re.constructor[SPECIES$2] = function () { return re; };
|
|
4135
4135
|
}
|
|
4136
4136
|
re[SYMBOL]('');
|
|
4137
4137
|
return !execCalled;
|
|
@@ -4211,8 +4211,8 @@ _fixReWks('match', 1, function (defined, MATCH, $match, maybeCallNative) {
|
|
|
4211
4211
|
});
|
|
4212
4212
|
|
|
4213
4213
|
var max$1 = Math.max;
|
|
4214
|
-
var min$
|
|
4215
|
-
var floor = Math.floor;
|
|
4214
|
+
var min$2 = Math.min;
|
|
4215
|
+
var floor$3 = Math.floor;
|
|
4216
4216
|
var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
|
|
4217
4217
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
|
|
4218
4218
|
|
|
@@ -4261,7 +4261,7 @@ _fixReWks('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
|
4261
4261
|
for (var i = 0; i < results.length; i++) {
|
|
4262
4262
|
result = results[i];
|
|
4263
4263
|
var matched = String(result[0]);
|
|
4264
|
-
var position = max$1(min$
|
|
4264
|
+
var position = max$1(min$2(_toInteger(result.index), S.length), 0);
|
|
4265
4265
|
var captures = [];
|
|
4266
4266
|
// NOTE: This is equivalent to
|
|
4267
4267
|
// captures = result.slice(1).map(maybeToString)
|
|
@@ -4309,7 +4309,7 @@ _fixReWks('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
|
|
|
4309
4309
|
var n = +ch;
|
|
4310
4310
|
if (n === 0) return match;
|
|
4311
4311
|
if (n > m) {
|
|
4312
|
-
var f = floor(n / 10);
|
|
4312
|
+
var f = floor$3(n / 10);
|
|
4313
4313
|
if (f === 0) return match;
|
|
4314
4314
|
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
4315
4315
|
return match;
|
|
@@ -4350,18 +4350,18 @@ _fixReWks('search', 1, function (defined, SEARCH, $search, maybeCallNative) {
|
|
|
4350
4350
|
// 7.3.20 SpeciesConstructor(O, defaultConstructor)
|
|
4351
4351
|
|
|
4352
4352
|
|
|
4353
|
-
var SPECIES = _wks('species');
|
|
4353
|
+
var SPECIES$3 = _wks('species');
|
|
4354
4354
|
var _speciesConstructor = function (O, D) {
|
|
4355
4355
|
var C = _anObject(O).constructor;
|
|
4356
4356
|
var S;
|
|
4357
|
-
return C === undefined || (S = _anObject(C)[SPECIES]) == undefined ? D : _aFunction(S);
|
|
4357
|
+
return C === undefined || (S = _anObject(C)[SPECIES$3]) == undefined ? D : _aFunction(S);
|
|
4358
4358
|
};
|
|
4359
4359
|
|
|
4360
4360
|
var $min = Math.min;
|
|
4361
4361
|
var $push = [].push;
|
|
4362
4362
|
var $SPLIT = 'split';
|
|
4363
4363
|
var LENGTH = 'length';
|
|
4364
|
-
var LAST_INDEX = 'lastIndex';
|
|
4364
|
+
var LAST_INDEX$1 = 'lastIndex';
|
|
4365
4365
|
var MAX_UINT32 = 0xffffffff;
|
|
4366
4366
|
|
|
4367
4367
|
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
|
@@ -4395,7 +4395,7 @@ _fixReWks('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
|
|
|
4395
4395
|
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
4396
4396
|
var match, lastIndex, lastLength;
|
|
4397
4397
|
while (match = _regexpExec.call(separatorCopy, string)) {
|
|
4398
|
-
lastIndex = separatorCopy[LAST_INDEX];
|
|
4398
|
+
lastIndex = separatorCopy[LAST_INDEX$1];
|
|
4399
4399
|
if (lastIndex > lastLastIndex) {
|
|
4400
4400
|
output.push(string.slice(lastLastIndex, match.index));
|
|
4401
4401
|
if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
|
|
@@ -4403,7 +4403,7 @@ _fixReWks('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
|
|
|
4403
4403
|
lastLastIndex = lastIndex;
|
|
4404
4404
|
if (output[LENGTH] >= splitLimit) break;
|
|
4405
4405
|
}
|
|
4406
|
-
if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
|
|
4406
|
+
if (separatorCopy[LAST_INDEX$1] === match.index) separatorCopy[LAST_INDEX$1]++; // Avoid an infinite loop
|
|
4407
4407
|
}
|
|
4408
4408
|
if (lastLastIndex === string[LENGTH]) {
|
|
4409
4409
|
if (lastLength || !separatorCopy.test('')) output.push('');
|
|
@@ -4510,7 +4510,7 @@ exports.BREAK = BREAK;
|
|
|
4510
4510
|
exports.RETURN = RETURN;
|
|
4511
4511
|
});
|
|
4512
4512
|
|
|
4513
|
-
var process
|
|
4513
|
+
var process = _global.process;
|
|
4514
4514
|
var setTask = _global.setImmediate;
|
|
4515
4515
|
var clearTask = _global.clearImmediate;
|
|
4516
4516
|
var MessageChannel = _global.MessageChannel;
|
|
@@ -4548,9 +4548,9 @@ if (!setTask || !clearTask) {
|
|
|
4548
4548
|
delete queue[id];
|
|
4549
4549
|
};
|
|
4550
4550
|
// Node.js 0.8-
|
|
4551
|
-
if (_cof(process
|
|
4551
|
+
if (_cof(process) == 'process') {
|
|
4552
4552
|
defer = function (id) {
|
|
4553
|
-
process
|
|
4553
|
+
process.nextTick(_ctx(run, id, 1));
|
|
4554
4554
|
};
|
|
4555
4555
|
// Sphere (JS game engine) Dispatch API
|
|
4556
4556
|
} else if (Dispatch && Dispatch.now) {
|
|
@@ -4592,16 +4592,16 @@ var _task = {
|
|
|
4592
4592
|
|
|
4593
4593
|
var macrotask = _task.set;
|
|
4594
4594
|
var Observer = _global.MutationObserver || _global.WebKitMutationObserver;
|
|
4595
|
-
var process$
|
|
4595
|
+
var process$1 = _global.process;
|
|
4596
4596
|
var Promise$1 = _global.Promise;
|
|
4597
|
-
var isNode
|
|
4597
|
+
var isNode = _cof(process$1) == 'process';
|
|
4598
4598
|
|
|
4599
4599
|
var _microtask = function () {
|
|
4600
4600
|
var head, last, notify;
|
|
4601
4601
|
|
|
4602
4602
|
var flush = function () {
|
|
4603
4603
|
var parent, fn;
|
|
4604
|
-
if (isNode
|
|
4604
|
+
if (isNode && (parent = process$1.domain)) parent.exit();
|
|
4605
4605
|
while (head) {
|
|
4606
4606
|
fn = head.fn;
|
|
4607
4607
|
head = head.next;
|
|
@@ -4617,9 +4617,9 @@ var _microtask = function () {
|
|
|
4617
4617
|
};
|
|
4618
4618
|
|
|
4619
4619
|
// Node.js
|
|
4620
|
-
if (isNode
|
|
4620
|
+
if (isNode) {
|
|
4621
4621
|
notify = function () {
|
|
4622
|
-
process$
|
|
4622
|
+
process$1.nextTick(flush);
|
|
4623
4623
|
};
|
|
4624
4624
|
// browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
|
|
4625
4625
|
} else if (Observer && !(_global.navigator && _global.navigator.standalone)) {
|
|
@@ -4673,12 +4673,12 @@ function PromiseCapability(C) {
|
|
|
4673
4673
|
this.reject = _aFunction(reject);
|
|
4674
4674
|
}
|
|
4675
4675
|
|
|
4676
|
-
var f = function (C) {
|
|
4676
|
+
var f$7 = function (C) {
|
|
4677
4677
|
return new PromiseCapability(C);
|
|
4678
4678
|
};
|
|
4679
4679
|
|
|
4680
4680
|
var _newPromiseCapability = {
|
|
4681
|
-
f: f
|
|
4681
|
+
f: f$7
|
|
4682
4682
|
};
|
|
4683
4683
|
|
|
4684
4684
|
var _perform = function (exec) {
|
|
@@ -4708,23 +4708,23 @@ var _redefineAll = function (target, src, safe) {
|
|
|
4708
4708
|
};
|
|
4709
4709
|
|
|
4710
4710
|
var task = _task.set;
|
|
4711
|
-
var microtask
|
|
4711
|
+
var microtask = _microtask();
|
|
4712
4712
|
|
|
4713
4713
|
|
|
4714
4714
|
|
|
4715
4715
|
|
|
4716
4716
|
var PROMISE = 'Promise';
|
|
4717
4717
|
var TypeError$1 = _global.TypeError;
|
|
4718
|
-
var process$
|
|
4719
|
-
var versions = process$
|
|
4718
|
+
var process$2 = _global.process;
|
|
4719
|
+
var versions = process$2 && process$2.versions;
|
|
4720
4720
|
var v8 = versions && versions.v8 || '';
|
|
4721
4721
|
var $Promise = _global[PROMISE];
|
|
4722
|
-
var isNode$1 = _classof(process$
|
|
4722
|
+
var isNode$1 = _classof(process$2) == 'process';
|
|
4723
4723
|
var empty = function () { /* empty */ };
|
|
4724
4724
|
var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
|
|
4725
4725
|
var newPromiseCapability = newGenericPromiseCapability = _newPromiseCapability.f;
|
|
4726
4726
|
|
|
4727
|
-
var USE_NATIVE = !!function () {
|
|
4727
|
+
var USE_NATIVE$1 = !!function () {
|
|
4728
4728
|
try {
|
|
4729
4729
|
// correct subclassing with @@species support
|
|
4730
4730
|
var promise = $Promise.resolve(1);
|
|
@@ -4751,7 +4751,7 @@ var notify = function (promise, isReject) {
|
|
|
4751
4751
|
if (promise._n) return;
|
|
4752
4752
|
promise._n = true;
|
|
4753
4753
|
var chain = promise._c;
|
|
4754
|
-
microtask
|
|
4754
|
+
microtask(function () {
|
|
4755
4755
|
var value = promise._v;
|
|
4756
4756
|
var ok = promise._s == 1;
|
|
4757
4757
|
var i = 0;
|
|
@@ -4801,7 +4801,7 @@ var onUnhandled = function (promise) {
|
|
|
4801
4801
|
if (unhandled) {
|
|
4802
4802
|
result = _perform(function () {
|
|
4803
4803
|
if (isNode$1) {
|
|
4804
|
-
process$
|
|
4804
|
+
process$2.emit('unhandledRejection', value, promise);
|
|
4805
4805
|
} else if (handler = _global.onunhandledrejection) {
|
|
4806
4806
|
handler({ promise: promise, reason: value });
|
|
4807
4807
|
} else if ((console = _global.console) && console.error) {
|
|
@@ -4821,7 +4821,7 @@ var onHandleUnhandled = function (promise) {
|
|
|
4821
4821
|
task.call(_global, function () {
|
|
4822
4822
|
var handler;
|
|
4823
4823
|
if (isNode$1) {
|
|
4824
|
-
process$
|
|
4824
|
+
process$2.emit('rejectionHandled', promise);
|
|
4825
4825
|
} else if (handler = _global.onrejectionhandled) {
|
|
4826
4826
|
handler({ promise: promise, reason: promise._v });
|
|
4827
4827
|
}
|
|
@@ -4846,7 +4846,7 @@ var $resolve = function (value) {
|
|
|
4846
4846
|
try {
|
|
4847
4847
|
if (promise === value) throw TypeError$1("Promise can't be resolved itself");
|
|
4848
4848
|
if (then = isThenable(value)) {
|
|
4849
|
-
microtask
|
|
4849
|
+
microtask(function () {
|
|
4850
4850
|
var wrapper = { _w: promise, _d: false }; // wrap
|
|
4851
4851
|
try {
|
|
4852
4852
|
then.call(value, _ctx($resolve, wrapper, 1), _ctx($reject, wrapper, 1));
|
|
@@ -4865,7 +4865,7 @@ var $resolve = function (value) {
|
|
|
4865
4865
|
};
|
|
4866
4866
|
|
|
4867
4867
|
// constructor polyfill
|
|
4868
|
-
if (!USE_NATIVE) {
|
|
4868
|
+
if (!USE_NATIVE$1) {
|
|
4869
4869
|
// 25.4.3.1 Promise(executor)
|
|
4870
4870
|
$Promise = function Promise(executor) {
|
|
4871
4871
|
_anInstance(this, $Promise, PROMISE, '_h');
|
|
@@ -4893,7 +4893,7 @@ if (!USE_NATIVE) {
|
|
|
4893
4893
|
var reaction = newPromiseCapability(_speciesConstructor(this, $Promise));
|
|
4894
4894
|
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
|
4895
4895
|
reaction.fail = typeof onRejected == 'function' && onRejected;
|
|
4896
|
-
reaction.domain = isNode$1 ? process$
|
|
4896
|
+
reaction.domain = isNode$1 ? process$2.domain : undefined;
|
|
4897
4897
|
this._c.push(reaction);
|
|
4898
4898
|
if (this._a) this._a.push(reaction);
|
|
4899
4899
|
if (this._s) notify(this, false);
|
|
@@ -4917,13 +4917,13 @@ if (!USE_NATIVE) {
|
|
|
4917
4917
|
};
|
|
4918
4918
|
}
|
|
4919
4919
|
|
|
4920
|
-
_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Promise: $Promise });
|
|
4920
|
+
_export(_export.G + _export.W + _export.F * !USE_NATIVE$1, { Promise: $Promise });
|
|
4921
4921
|
_setToStringTag($Promise, PROMISE);
|
|
4922
4922
|
_setSpecies(PROMISE);
|
|
4923
4923
|
Wrapper = _core[PROMISE];
|
|
4924
4924
|
|
|
4925
4925
|
// statics
|
|
4926
|
-
_export(_export.S + _export.F * !USE_NATIVE, PROMISE, {
|
|
4926
|
+
_export(_export.S + _export.F * !USE_NATIVE$1, PROMISE, {
|
|
4927
4927
|
// 25.4.4.5 Promise.reject(r)
|
|
4928
4928
|
reject: function reject(r) {
|
|
4929
4929
|
var capability = newPromiseCapability(this);
|
|
@@ -4932,13 +4932,13 @@ _export(_export.S + _export.F * !USE_NATIVE, PROMISE, {
|
|
|
4932
4932
|
return capability.promise;
|
|
4933
4933
|
}
|
|
4934
4934
|
});
|
|
4935
|
-
_export(_export.S + _export.F * (!USE_NATIVE), PROMISE, {
|
|
4935
|
+
_export(_export.S + _export.F * ( !USE_NATIVE$1), PROMISE, {
|
|
4936
4936
|
// 25.4.4.6 Promise.resolve(x)
|
|
4937
4937
|
resolve: function resolve(x) {
|
|
4938
|
-
return _promiseResolve(this, x);
|
|
4938
|
+
return _promiseResolve( this, x);
|
|
4939
4939
|
}
|
|
4940
4940
|
});
|
|
4941
|
-
_export(_export.S + _export.F * !(USE_NATIVE && _iterDetect(function (iter) {
|
|
4941
|
+
_export(_export.S + _export.F * !(USE_NATIVE$1 && _iterDetect(function (iter) {
|
|
4942
4942
|
$Promise.all(iter)['catch'](empty);
|
|
4943
4943
|
})), PROMISE, {
|
|
4944
4944
|
// 25.4.4.1 Promise.all(iterable)
|
|
@@ -4988,7 +4988,7 @@ var _validateCollection = function (it, TYPE) {
|
|
|
4988
4988
|
return it;
|
|
4989
4989
|
};
|
|
4990
4990
|
|
|
4991
|
-
var dP = _objectDp.f;
|
|
4991
|
+
var dP$5 = _objectDp.f;
|
|
4992
4992
|
|
|
4993
4993
|
|
|
4994
4994
|
|
|
@@ -5071,7 +5071,7 @@ var _collectionStrong = {
|
|
|
5071
5071
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
5072
5072
|
}
|
|
5073
5073
|
});
|
|
5074
|
-
if (_descriptors) dP(C.prototype, 'size', {
|
|
5074
|
+
if (_descriptors) dP$5(C.prototype, 'size', {
|
|
5075
5075
|
get: function () {
|
|
5076
5076
|
return _validateCollection(this, NAME)[SIZE];
|
|
5077
5077
|
}
|
|
@@ -5243,7 +5243,7 @@ var getWeak = _meta.getWeak;
|
|
|
5243
5243
|
|
|
5244
5244
|
var arrayFind = _arrayMethods(5);
|
|
5245
5245
|
var arrayFindIndex = _arrayMethods(6);
|
|
5246
|
-
var id$
|
|
5246
|
+
var id$1 = 0;
|
|
5247
5247
|
|
|
5248
5248
|
// fallback for uncaught frozen keys
|
|
5249
5249
|
var uncaughtFrozenStore = function (that) {
|
|
@@ -5284,7 +5284,7 @@ var _collectionWeak = {
|
|
|
5284
5284
|
var C = wrapper(function (that, iterable) {
|
|
5285
5285
|
_anInstance(that, C, NAME, '_i');
|
|
5286
5286
|
that._t = NAME; // collection type
|
|
5287
|
-
that._i = id$
|
|
5287
|
+
that._i = id$1++; // collection id
|
|
5288
5288
|
that._l = undefined; // leak store for uncaught frozen objects
|
|
5289
5289
|
if (iterable != undefined) _forOf(iterable, IS_MAP, that[ADDER], that);
|
|
5290
5290
|
});
|
|
@@ -5392,7 +5392,7 @@ _collection(WEAK_SET, function (get) {
|
|
|
5392
5392
|
}, _collectionWeak, false, true);
|
|
5393
5393
|
|
|
5394
5394
|
var TYPED = _uid('typed_array');
|
|
5395
|
-
var VIEW
|
|
5395
|
+
var VIEW = _uid('view');
|
|
5396
5396
|
var ABV = !!(_global.ArrayBuffer && _global.DataView);
|
|
5397
5397
|
var CONSTR = ABV;
|
|
5398
5398
|
var i$1 = 0;
|
|
@@ -5406,7 +5406,7 @@ var TypedArrayConstructors = (
|
|
|
5406
5406
|
while (i$1 < l) {
|
|
5407
5407
|
if (Typed = _global[TypedArrayConstructors[i$1++]]) {
|
|
5408
5408
|
_hide(Typed.prototype, TYPED, true);
|
|
5409
|
-
_hide(Typed.prototype, VIEW
|
|
5409
|
+
_hide(Typed.prototype, VIEW, true);
|
|
5410
5410
|
} else CONSTR = false;
|
|
5411
5411
|
}
|
|
5412
5412
|
|
|
@@ -5414,7 +5414,7 @@ var _typed = {
|
|
|
5414
5414
|
ABV: ABV,
|
|
5415
5415
|
CONSTR: CONSTR,
|
|
5416
5416
|
TYPED: TYPED,
|
|
5417
|
-
VIEW: VIEW
|
|
5417
|
+
VIEW: VIEW
|
|
5418
5418
|
};
|
|
5419
5419
|
|
|
5420
5420
|
// https://tc39.github.io/ecma262/#sec-toindex
|
|
@@ -5712,7 +5712,7 @@ var $ArrayBuffer = _typedBuffer.ArrayBuffer;
|
|
|
5712
5712
|
var $DataView = _typedBuffer.DataView;
|
|
5713
5713
|
var $isView = _typed.ABV && ArrayBuffer.isView;
|
|
5714
5714
|
var $slice = $ArrayBuffer.prototype.slice;
|
|
5715
|
-
var VIEW = _typed.VIEW;
|
|
5715
|
+
var VIEW$1 = _typed.VIEW;
|
|
5716
5716
|
var ARRAY_BUFFER = 'ArrayBuffer';
|
|
5717
5717
|
|
|
5718
5718
|
_export(_export.G + _export.W + _export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });
|
|
@@ -5720,7 +5720,7 @@ _export(_export.G + _export.W + _export.F * (ArrayBuffer !== $ArrayBuffer), { Ar
|
|
|
5720
5720
|
_export(_export.S + _export.F * !_typed.CONSTR, ARRAY_BUFFER, {
|
|
5721
5721
|
// 24.1.3.1 ArrayBuffer.isView(arg)
|
|
5722
5722
|
isView: function isView(it) {
|
|
5723
|
-
return $isView && $isView(it) || _isObject(it) && VIEW in it;
|
|
5723
|
+
return $isView && $isView(it) || _isObject(it) && VIEW$1 in it;
|
|
5724
5724
|
}
|
|
5725
5725
|
});
|
|
5726
5726
|
|
|
@@ -6376,12 +6376,12 @@ _export(_export.S + _export.F * _fails(function () {
|
|
|
6376
6376
|
|
|
6377
6377
|
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
|
|
6378
6378
|
|
|
6379
|
-
var gOPD = _objectGopd.f;
|
|
6379
|
+
var gOPD$3 = _objectGopd.f;
|
|
6380
6380
|
|
|
6381
6381
|
|
|
6382
6382
|
_export(_export.S, 'Reflect', {
|
|
6383
6383
|
deleteProperty: function deleteProperty(target, propertyKey) {
|
|
6384
|
-
var desc = gOPD(_anObject(target), propertyKey);
|
|
6384
|
+
var desc = gOPD$3(_anObject(target), propertyKey);
|
|
6385
6385
|
return desc && !desc.configurable ? false : delete target[propertyKey];
|
|
6386
6386
|
}
|
|
6387
6387
|
});
|
|
@@ -6656,7 +6656,7 @@ _addToUnscopables('flatten');
|
|
|
6656
6656
|
|
|
6657
6657
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
6658
6658
|
|
|
6659
|
-
var $at = _stringAt(true);
|
|
6659
|
+
var $at$2 = _stringAt(true);
|
|
6660
6660
|
|
|
6661
6661
|
|
|
6662
6662
|
var FORCED = _fails(function () {
|
|
@@ -6665,7 +6665,7 @@ var FORCED = _fails(function () {
|
|
|
6665
6665
|
|
|
6666
6666
|
_export(_export.P + _export.F * FORCED, 'String', {
|
|
6667
6667
|
at: function at(pos) {
|
|
6668
|
-
return $at(this, pos);
|
|
6668
|
+
return $at$2(this, pos);
|
|
6669
6669
|
}
|
|
6670
6670
|
});
|
|
6671
6671
|
|
|
@@ -6692,9 +6692,9 @@ var _stringPad = function (that, maxLength, fillString, left) {
|
|
|
6692
6692
|
|
|
6693
6693
|
|
|
6694
6694
|
// https://github.com/zloirock/core-js/issues/280
|
|
6695
|
-
var WEBKIT_BUG
|
|
6695
|
+
var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(_userAgent);
|
|
6696
6696
|
|
|
6697
|
-
_export(_export.P + _export.F * WEBKIT_BUG
|
|
6697
|
+
_export(_export.P + _export.F * WEBKIT_BUG, 'String', {
|
|
6698
6698
|
padStart: function padStart(maxLength /* , fillString = ' ' */) {
|
|
6699
6699
|
return _stringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
|
|
6700
6700
|
}
|
|
@@ -6706,9 +6706,9 @@ _export(_export.P + _export.F * WEBKIT_BUG$1, 'String', {
|
|
|
6706
6706
|
|
|
6707
6707
|
|
|
6708
6708
|
// https://github.com/zloirock/core-js/issues/280
|
|
6709
|
-
var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(_userAgent);
|
|
6709
|
+
var WEBKIT_BUG$1 = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(_userAgent);
|
|
6710
6710
|
|
|
6711
|
-
_export(_export.P + _export.F * WEBKIT_BUG, 'String', {
|
|
6711
|
+
_export(_export.P + _export.F * WEBKIT_BUG$1, 'String', {
|
|
6712
6712
|
padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
|
|
6713
6713
|
return _stringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
|
|
6714
6714
|
}
|
|
@@ -6785,7 +6785,7 @@ _export(_export.S, 'Object', {
|
|
|
6785
6785
|
}
|
|
6786
6786
|
});
|
|
6787
6787
|
|
|
6788
|
-
var isEnum = _objectPie.f;
|
|
6788
|
+
var isEnum$1 = _objectPie.f;
|
|
6789
6789
|
var _objectToArray = function (isEntries) {
|
|
6790
6790
|
return function (it) {
|
|
6791
6791
|
var O = _toIobject(it);
|
|
@@ -6796,7 +6796,7 @@ var _objectToArray = function (isEntries) {
|
|
|
6796
6796
|
var key;
|
|
6797
6797
|
while (length > i) {
|
|
6798
6798
|
key = keys[i++];
|
|
6799
|
-
if (!_descriptors || isEnum.call(O, key)) {
|
|
6799
|
+
if (!_descriptors || isEnum$1.call(O, key)) {
|
|
6800
6800
|
result.push(isEntries ? [key, O[key]] : O[key]);
|
|
6801
6801
|
}
|
|
6802
6802
|
}
|
|
@@ -6825,7 +6825,7 @@ _export(_export.S, 'Object', {
|
|
|
6825
6825
|
});
|
|
6826
6826
|
|
|
6827
6827
|
// Forced replacement prototype accessors methods
|
|
6828
|
-
var _objectForcedPam =
|
|
6828
|
+
var _objectForcedPam = !_fails(function () {
|
|
6829
6829
|
var K = Math.random();
|
|
6830
6830
|
// In FF throws only define methods
|
|
6831
6831
|
// eslint-disable-next-line no-undef, no-useless-call
|
|
@@ -6847,7 +6847,7 @@ _descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
|
6847
6847
|
}
|
|
6848
6848
|
});
|
|
6849
6849
|
|
|
6850
|
-
var getOwnPropertyDescriptor
|
|
6850
|
+
var getOwnPropertyDescriptor = _objectGopd.f;
|
|
6851
6851
|
|
|
6852
6852
|
// B.2.2.4 Object.prototype.__lookupGetter__(P)
|
|
6853
6853
|
_descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
@@ -6856,12 +6856,12 @@ _descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
|
6856
6856
|
var K = _toPrimitive(P, true);
|
|
6857
6857
|
var D;
|
|
6858
6858
|
do {
|
|
6859
|
-
if (D = getOwnPropertyDescriptor
|
|
6859
|
+
if (D = getOwnPropertyDescriptor(O, K)) return D.get;
|
|
6860
6860
|
} while (O = _objectGpo(O));
|
|
6861
6861
|
}
|
|
6862
6862
|
});
|
|
6863
6863
|
|
|
6864
|
-
var getOwnPropertyDescriptor = _objectGopd.f;
|
|
6864
|
+
var getOwnPropertyDescriptor$1 = _objectGopd.f;
|
|
6865
6865
|
|
|
6866
6866
|
// B.2.2.5 Object.prototype.__lookupSetter__(P)
|
|
6867
6867
|
_descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
@@ -6870,7 +6870,7 @@ _descriptors && _export(_export.P + _objectForcedPam, 'Object', {
|
|
|
6870
6870
|
var K = _toPrimitive(P, true);
|
|
6871
6871
|
var D;
|
|
6872
6872
|
do {
|
|
6873
|
-
if (D = getOwnPropertyDescriptor(O, K)) return D.set;
|
|
6873
|
+
if (D = getOwnPropertyDescriptor$1(O, K)) return D.set;
|
|
6874
6874
|
} while (O = _objectGpo(O));
|
|
6875
6875
|
}
|
|
6876
6876
|
});
|
|
@@ -7150,14 +7150,14 @@ _export(_export.S, 'Promise', { 'try': function (callbackfn) {
|
|
|
7150
7150
|
return promiseCapability.promise;
|
|
7151
7151
|
} });
|
|
7152
7152
|
|
|
7153
|
-
var shared = _shared('metadata');
|
|
7154
|
-
var store
|
|
7153
|
+
var shared$1 = _shared('metadata');
|
|
7154
|
+
var store = shared$1.store || (shared$1.store = new (es6_weakMap)());
|
|
7155
7155
|
|
|
7156
|
-
var getOrCreateMetadataMap
|
|
7157
|
-
var targetMetadata = store
|
|
7156
|
+
var getOrCreateMetadataMap = function (target, targetKey, create) {
|
|
7157
|
+
var targetMetadata = store.get(target);
|
|
7158
7158
|
if (!targetMetadata) {
|
|
7159
7159
|
if (!create) return undefined;
|
|
7160
|
-
store
|
|
7160
|
+
store.set(target, targetMetadata = new es6_map());
|
|
7161
7161
|
}
|
|
7162
7162
|
var keyMetadata = targetMetadata.get(targetKey);
|
|
7163
7163
|
if (!keyMetadata) {
|
|
@@ -7165,79 +7165,79 @@ var getOrCreateMetadataMap$1 = function (target, targetKey, create) {
|
|
|
7165
7165
|
targetMetadata.set(targetKey, keyMetadata = new es6_map());
|
|
7166
7166
|
} return keyMetadata;
|
|
7167
7167
|
};
|
|
7168
|
-
var ordinaryHasOwnMetadata
|
|
7169
|
-
var metadataMap = getOrCreateMetadataMap
|
|
7168
|
+
var ordinaryHasOwnMetadata = function (MetadataKey, O, P) {
|
|
7169
|
+
var metadataMap = getOrCreateMetadataMap(O, P, false);
|
|
7170
7170
|
return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
|
|
7171
7171
|
};
|
|
7172
|
-
var ordinaryGetOwnMetadata
|
|
7173
|
-
var metadataMap = getOrCreateMetadataMap
|
|
7172
|
+
var ordinaryGetOwnMetadata = function (MetadataKey, O, P) {
|
|
7173
|
+
var metadataMap = getOrCreateMetadataMap(O, P, false);
|
|
7174
7174
|
return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
|
|
7175
7175
|
};
|
|
7176
|
-
var ordinaryDefineOwnMetadata
|
|
7177
|
-
getOrCreateMetadataMap
|
|
7176
|
+
var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {
|
|
7177
|
+
getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
|
|
7178
7178
|
};
|
|
7179
|
-
var ordinaryOwnMetadataKeys
|
|
7180
|
-
var metadataMap = getOrCreateMetadataMap
|
|
7179
|
+
var ordinaryOwnMetadataKeys = function (target, targetKey) {
|
|
7180
|
+
var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
|
|
7181
7181
|
var keys = [];
|
|
7182
7182
|
if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });
|
|
7183
7183
|
return keys;
|
|
7184
7184
|
};
|
|
7185
|
-
var toMetaKey
|
|
7185
|
+
var toMetaKey = function (it) {
|
|
7186
7186
|
return it === undefined || typeof it == 'symbol' ? it : String(it);
|
|
7187
7187
|
};
|
|
7188
|
-
var exp = function (O) {
|
|
7188
|
+
var exp$3 = function (O) {
|
|
7189
7189
|
_export(_export.S, 'Reflect', O);
|
|
7190
7190
|
};
|
|
7191
7191
|
|
|
7192
7192
|
var _metadata = {
|
|
7193
|
-
store: store
|
|
7194
|
-
map: getOrCreateMetadataMap
|
|
7195
|
-
has: ordinaryHasOwnMetadata
|
|
7196
|
-
get: ordinaryGetOwnMetadata
|
|
7197
|
-
set: ordinaryDefineOwnMetadata
|
|
7198
|
-
keys: ordinaryOwnMetadataKeys
|
|
7199
|
-
key: toMetaKey
|
|
7200
|
-
exp: exp
|
|
7193
|
+
store: store,
|
|
7194
|
+
map: getOrCreateMetadataMap,
|
|
7195
|
+
has: ordinaryHasOwnMetadata,
|
|
7196
|
+
get: ordinaryGetOwnMetadata,
|
|
7197
|
+
set: ordinaryDefineOwnMetadata,
|
|
7198
|
+
keys: ordinaryOwnMetadataKeys,
|
|
7199
|
+
key: toMetaKey,
|
|
7200
|
+
exp: exp$3
|
|
7201
7201
|
};
|
|
7202
7202
|
|
|
7203
|
-
var toMetaKey$
|
|
7203
|
+
var toMetaKey$1 = _metadata.key;
|
|
7204
7204
|
var ordinaryDefineOwnMetadata$1 = _metadata.set;
|
|
7205
7205
|
|
|
7206
7206
|
_metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) {
|
|
7207
|
-
ordinaryDefineOwnMetadata$1(metadataKey, metadataValue, _anObject(target), toMetaKey$
|
|
7207
|
+
ordinaryDefineOwnMetadata$1(metadataKey, metadataValue, _anObject(target), toMetaKey$1(targetKey));
|
|
7208
7208
|
} });
|
|
7209
7209
|
|
|
7210
|
-
var toMetaKey$
|
|
7211
|
-
var getOrCreateMetadataMap = _metadata.map;
|
|
7212
|
-
var store = _metadata.store;
|
|
7210
|
+
var toMetaKey$2 = _metadata.key;
|
|
7211
|
+
var getOrCreateMetadataMap$1 = _metadata.map;
|
|
7212
|
+
var store$1 = _metadata.store;
|
|
7213
7213
|
|
|
7214
7214
|
_metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {
|
|
7215
|
-
var targetKey = arguments.length < 3 ? undefined : toMetaKey$
|
|
7216
|
-
var metadataMap = getOrCreateMetadataMap(_anObject(target), targetKey, false);
|
|
7215
|
+
var targetKey = arguments.length < 3 ? undefined : toMetaKey$2(arguments[2]);
|
|
7216
|
+
var metadataMap = getOrCreateMetadataMap$1(_anObject(target), targetKey, false);
|
|
7217
7217
|
if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;
|
|
7218
7218
|
if (metadataMap.size) return true;
|
|
7219
|
-
var targetMetadata = store.get(target);
|
|
7219
|
+
var targetMetadata = store$1.get(target);
|
|
7220
7220
|
targetMetadata['delete'](targetKey);
|
|
7221
|
-
return !!targetMetadata.size || store['delete'](target);
|
|
7221
|
+
return !!targetMetadata.size || store$1['delete'](target);
|
|
7222
7222
|
} });
|
|
7223
7223
|
|
|
7224
|
-
var ordinaryHasOwnMetadata$
|
|
7224
|
+
var ordinaryHasOwnMetadata$1 = _metadata.has;
|
|
7225
7225
|
var ordinaryGetOwnMetadata$1 = _metadata.get;
|
|
7226
|
-
var toMetaKey$
|
|
7226
|
+
var toMetaKey$3 = _metadata.key;
|
|
7227
7227
|
|
|
7228
7228
|
var ordinaryGetMetadata = function (MetadataKey, O, P) {
|
|
7229
|
-
var hasOwn = ordinaryHasOwnMetadata$
|
|
7229
|
+
var hasOwn = ordinaryHasOwnMetadata$1(MetadataKey, O, P);
|
|
7230
7230
|
if (hasOwn) return ordinaryGetOwnMetadata$1(MetadataKey, O, P);
|
|
7231
7231
|
var parent = _objectGpo(O);
|
|
7232
7232
|
return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
|
|
7233
7233
|
};
|
|
7234
7234
|
|
|
7235
7235
|
_metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {
|
|
7236
|
-
return ordinaryGetMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$
|
|
7236
|
+
return ordinaryGetMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$3(arguments[2]));
|
|
7237
7237
|
} });
|
|
7238
7238
|
|
|
7239
7239
|
var ordinaryOwnMetadataKeys$1 = _metadata.keys;
|
|
7240
|
-
var toMetaKey$
|
|
7240
|
+
var toMetaKey$4 = _metadata.key;
|
|
7241
7241
|
|
|
7242
7242
|
var ordinaryMetadataKeys = function (O, P) {
|
|
7243
7243
|
var oKeys = ordinaryOwnMetadataKeys$1(O, P);
|
|
@@ -7248,55 +7248,55 @@ var ordinaryMetadataKeys = function (O, P) {
|
|
|
7248
7248
|
};
|
|
7249
7249
|
|
|
7250
7250
|
_metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {
|
|
7251
|
-
return ordinaryMetadataKeys(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$
|
|
7251
|
+
return ordinaryMetadataKeys(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$4(arguments[1]));
|
|
7252
7252
|
} });
|
|
7253
7253
|
|
|
7254
|
-
var ordinaryGetOwnMetadata = _metadata.get;
|
|
7255
|
-
var toMetaKey$
|
|
7254
|
+
var ordinaryGetOwnMetadata$2 = _metadata.get;
|
|
7255
|
+
var toMetaKey$5 = _metadata.key;
|
|
7256
7256
|
|
|
7257
7257
|
_metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
|
|
7258
|
-
return ordinaryGetOwnMetadata(metadataKey, _anObject(target)
|
|
7259
|
-
, arguments.length < 3 ? undefined : toMetaKey$
|
|
7258
|
+
return ordinaryGetOwnMetadata$2(metadataKey, _anObject(target)
|
|
7259
|
+
, arguments.length < 3 ? undefined : toMetaKey$5(arguments[2]));
|
|
7260
7260
|
} });
|
|
7261
7261
|
|
|
7262
|
-
var ordinaryOwnMetadataKeys = _metadata.keys;
|
|
7263
|
-
var toMetaKey$
|
|
7262
|
+
var ordinaryOwnMetadataKeys$2 = _metadata.keys;
|
|
7263
|
+
var toMetaKey$6 = _metadata.key;
|
|
7264
7264
|
|
|
7265
7265
|
_metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
|
|
7266
|
-
return ordinaryOwnMetadataKeys(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$
|
|
7266
|
+
return ordinaryOwnMetadataKeys$2(_anObject(target), arguments.length < 2 ? undefined : toMetaKey$6(arguments[1]));
|
|
7267
7267
|
} });
|
|
7268
7268
|
|
|
7269
|
-
var ordinaryHasOwnMetadata$
|
|
7270
|
-
var toMetaKey$
|
|
7269
|
+
var ordinaryHasOwnMetadata$2 = _metadata.has;
|
|
7270
|
+
var toMetaKey$7 = _metadata.key;
|
|
7271
7271
|
|
|
7272
7272
|
var ordinaryHasMetadata = function (MetadataKey, O, P) {
|
|
7273
|
-
var hasOwn = ordinaryHasOwnMetadata$
|
|
7273
|
+
var hasOwn = ordinaryHasOwnMetadata$2(MetadataKey, O, P);
|
|
7274
7274
|
if (hasOwn) return true;
|
|
7275
7275
|
var parent = _objectGpo(O);
|
|
7276
7276
|
return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
|
|
7277
7277
|
};
|
|
7278
7278
|
|
|
7279
7279
|
_metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
|
|
7280
|
-
return ordinaryHasMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$
|
|
7280
|
+
return ordinaryHasMetadata(metadataKey, _anObject(target), arguments.length < 3 ? undefined : toMetaKey$7(arguments[2]));
|
|
7281
7281
|
} });
|
|
7282
7282
|
|
|
7283
|
-
var ordinaryHasOwnMetadata = _metadata.has;
|
|
7284
|
-
var toMetaKey$
|
|
7283
|
+
var ordinaryHasOwnMetadata$3 = _metadata.has;
|
|
7284
|
+
var toMetaKey$8 = _metadata.key;
|
|
7285
7285
|
|
|
7286
7286
|
_metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
|
|
7287
|
-
return ordinaryHasOwnMetadata(metadataKey, _anObject(target)
|
|
7288
|
-
, arguments.length < 3 ? undefined : toMetaKey$
|
|
7287
|
+
return ordinaryHasOwnMetadata$3(metadataKey, _anObject(target)
|
|
7288
|
+
, arguments.length < 3 ? undefined : toMetaKey$8(arguments[2]));
|
|
7289
7289
|
} });
|
|
7290
7290
|
|
|
7291
|
-
var toMetaKey = _metadata.key;
|
|
7292
|
-
var ordinaryDefineOwnMetadata = _metadata.set;
|
|
7291
|
+
var toMetaKey$9 = _metadata.key;
|
|
7292
|
+
var ordinaryDefineOwnMetadata$2 = _metadata.set;
|
|
7293
7293
|
|
|
7294
7294
|
_metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
|
|
7295
7295
|
return function decorator(target, targetKey) {
|
|
7296
|
-
ordinaryDefineOwnMetadata(
|
|
7296
|
+
ordinaryDefineOwnMetadata$2(
|
|
7297
7297
|
metadataKey, metadataValue,
|
|
7298
7298
|
(targetKey !== undefined ? _anObject : _aFunction)(target),
|
|
7299
|
-
toMetaKey(targetKey)
|
|
7299
|
+
toMetaKey$9(targetKey)
|
|
7300
7300
|
);
|
|
7301
7301
|
};
|
|
7302
7302
|
} });
|
|
@@ -7304,12 +7304,12 @@ _metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
|
|
|
7304
7304
|
// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask
|
|
7305
7305
|
|
|
7306
7306
|
var microtask$1 = _microtask();
|
|
7307
|
-
var process = _global.process;
|
|
7308
|
-
var isNode = _cof(process) == 'process';
|
|
7307
|
+
var process$3 = _global.process;
|
|
7308
|
+
var isNode$2 = _cof(process$3) == 'process';
|
|
7309
7309
|
|
|
7310
7310
|
_export(_export.G, {
|
|
7311
7311
|
asap: function asap(fn) {
|
|
7312
|
-
var domain = isNode && process.domain;
|
|
7312
|
+
var domain = isNode$2 && process$3.domain;
|
|
7313
7313
|
microtask$1(domain ? domain.bind(fn) : fn);
|
|
7314
7314
|
}
|
|
7315
7315
|
});
|
|
@@ -7318,7 +7318,7 @@ _export(_export.G, {
|
|
|
7318
7318
|
|
|
7319
7319
|
|
|
7320
7320
|
|
|
7321
|
-
var microtask = _microtask();
|
|
7321
|
+
var microtask$2 = _microtask();
|
|
7322
7322
|
var OBSERVABLE = _wks('observable');
|
|
7323
7323
|
|
|
7324
7324
|
|
|
@@ -7473,7 +7473,7 @@ _redefineAll($Observable, {
|
|
|
7473
7473
|
}
|
|
7474
7474
|
return new C(function (observer) {
|
|
7475
7475
|
var done = false;
|
|
7476
|
-
microtask(function () {
|
|
7476
|
+
microtask$2(function () {
|
|
7477
7477
|
if (!done) {
|
|
7478
7478
|
try {
|
|
7479
7479
|
if (_forOf(x, false, function (it) {
|
|
@@ -7494,7 +7494,7 @@ _redefineAll($Observable, {
|
|
|
7494
7494
|
for (var i = 0, l = arguments.length, items = new Array(l); i < l;) items[i] = arguments[i++];
|
|
7495
7495
|
return new (typeof this === 'function' ? this : $Observable)(function (observer) {
|
|
7496
7496
|
var done = false;
|
|
7497
|
-
microtask(function () {
|
|
7497
|
+
microtask$2(function () {
|
|
7498
7498
|
if (!done) {
|
|
7499
7499
|
for (var j = 0; j < items.length; ++j) {
|
|
7500
7500
|
observer.next(items[j]);
|
|
@@ -7519,7 +7519,7 @@ _setSpecies('Observable');
|
|
|
7519
7519
|
|
|
7520
7520
|
var slice = [].slice;
|
|
7521
7521
|
var MSIE = /MSIE .\./.test(_userAgent); // <- dirty ie9- check
|
|
7522
|
-
var wrap = function (set) {
|
|
7522
|
+
var wrap$1 = function (set) {
|
|
7523
7523
|
return function (fn, time /* , ...args */) {
|
|
7524
7524
|
var boundArgs = arguments.length > 2;
|
|
7525
7525
|
var args = boundArgs ? slice.call(arguments, 2) : false;
|
|
@@ -7530,8 +7530,8 @@ var wrap = function (set) {
|
|
|
7530
7530
|
};
|
|
7531
7531
|
};
|
|
7532
7532
|
_export(_export.G + _export.B + _export.F * MSIE, {
|
|
7533
|
-
setTimeout: wrap(_global.setTimeout),
|
|
7534
|
-
setInterval: wrap(_global.setInterval)
|
|
7533
|
+
setTimeout: wrap$1(_global.setTimeout),
|
|
7534
|
+
setInterval: wrap$1(_global.setInterval)
|
|
7535
7535
|
});
|
|
7536
7536
|
|
|
7537
7537
|
_export(_export.G + _export.B, {
|
|
@@ -7539,7 +7539,7 @@ _export(_export.G + _export.B, {
|
|
|
7539
7539
|
clearImmediate: _task.clear
|
|
7540
7540
|
});
|
|
7541
7541
|
|
|
7542
|
-
var ITERATOR = _wks('iterator');
|
|
7542
|
+
var ITERATOR$4 = _wks('iterator');
|
|
7543
7543
|
var TO_STRING_TAG = _wks('toStringTag');
|
|
7544
7544
|
var ArrayValues = _iterators.Array;
|
|
7545
7545
|
|
|
@@ -7577,21 +7577,21 @@ var DOMIterables = {
|
|
|
7577
7577
|
TouchList: false
|
|
7578
7578
|
};
|
|
7579
7579
|
|
|
7580
|
-
for (var collections = _objectKeys(DOMIterables), i = 0; i < collections.length; i++) {
|
|
7581
|
-
var NAME = collections[i];
|
|
7582
|
-
var explicit = DOMIterables[NAME];
|
|
7583
|
-
var Collection = _global[NAME];
|
|
7584
|
-
var proto = Collection && Collection.prototype;
|
|
7585
|
-
var key;
|
|
7586
|
-
if (proto) {
|
|
7587
|
-
if (!proto[ITERATOR]) _hide(proto, ITERATOR, ArrayValues);
|
|
7588
|
-
if (!proto[TO_STRING_TAG]) _hide(proto, TO_STRING_TAG, NAME);
|
|
7589
|
-
_iterators[NAME] = ArrayValues;
|
|
7590
|
-
if (explicit) for (key in es6_array_iterator) if (!proto[key]) _redefine(proto, key, es6_array_iterator[key], true);
|
|
7580
|
+
for (var collections = _objectKeys(DOMIterables), i$2 = 0; i$2 < collections.length; i$2++) {
|
|
7581
|
+
var NAME$1 = collections[i$2];
|
|
7582
|
+
var explicit = DOMIterables[NAME$1];
|
|
7583
|
+
var Collection = _global[NAME$1];
|
|
7584
|
+
var proto$3 = Collection && Collection.prototype;
|
|
7585
|
+
var key$1;
|
|
7586
|
+
if (proto$3) {
|
|
7587
|
+
if (!proto$3[ITERATOR$4]) _hide(proto$3, ITERATOR$4, ArrayValues);
|
|
7588
|
+
if (!proto$3[TO_STRING_TAG]) _hide(proto$3, TO_STRING_TAG, NAME$1);
|
|
7589
|
+
_iterators[NAME$1] = ArrayValues;
|
|
7590
|
+
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);
|
|
7591
7591
|
}
|
|
7592
7592
|
}
|
|
7593
7593
|
|
|
7594
|
-
stencilHooks_module.createCommonjsModule(function (module) {
|
|
7594
|
+
var runtime = stencilHooks_module.createCommonjsModule(function (module) {
|
|
7595
7595
|
/**
|
|
7596
7596
|
* Copyright (c) 2014, Facebook, Inc.
|
|
7597
7597
|
* All rights reserved.
|
|
@@ -7625,7 +7625,7 @@ stencilHooks_module.createCommonjsModule(function (module) {
|
|
|
7625
7625
|
|
|
7626
7626
|
// Define the runtime globally (as expected by generated code) as either
|
|
7627
7627
|
// module.exports (if we're in a module) or a new, empty object.
|
|
7628
|
-
runtime = global.regeneratorRuntime =
|
|
7628
|
+
runtime = global.regeneratorRuntime = module.exports ;
|
|
7629
7629
|
|
|
7630
7630
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
7631
7631
|
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
@@ -8348,7 +8348,7 @@ if (stencilHooks_module.commonjsGlobal._babelPolyfill) {
|
|
|
8348
8348
|
stencilHooks_module.commonjsGlobal._babelPolyfill = true;
|
|
8349
8349
|
|
|
8350
8350
|
var DEFINE_PROPERTY = "defineProperty";
|
|
8351
|
-
function define(O, key, value) {
|
|
8351
|
+
function define$1(O, key, value) {
|
|
8352
8352
|
O[key] || Object[DEFINE_PROPERTY](O, key, {
|
|
8353
8353
|
writable: true,
|
|
8354
8354
|
configurable: true,
|
|
@@ -8356,11 +8356,11 @@ function define(O, key, value) {
|
|
|
8356
8356
|
});
|
|
8357
8357
|
}
|
|
8358
8358
|
|
|
8359
|
-
define(String.prototype, "padLeft", "".padStart);
|
|
8360
|
-
define(String.prototype, "padRight", "".padEnd);
|
|
8359
|
+
define$1(String.prototype, "padLeft", "".padStart);
|
|
8360
|
+
define$1(String.prototype, "padRight", "".padEnd);
|
|
8361
8361
|
|
|
8362
8362
|
"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) {
|
|
8363
|
-
[][key] && define(Array, key, Function.call.bind([][key]));
|
|
8363
|
+
[][key] && define$1(Array, key, Function.call.bind([][key]));
|
|
8364
8364
|
});
|
|
8365
8365
|
|
|
8366
8366
|
/*! *****************************************************************************
|
|
@@ -8386,7 +8386,7 @@ var extendStatics = function(d, b) {
|
|
|
8386
8386
|
return extendStatics(d, b);
|
|
8387
8387
|
};
|
|
8388
8388
|
|
|
8389
|
-
function __extends(d, b) {
|
|
8389
|
+
function __extends$1(d, b) {
|
|
8390
8390
|
if (typeof b !== "function" && b !== null)
|
|
8391
8391
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
8392
8392
|
extendStatics(d, b);
|
|
@@ -8394,15 +8394,15 @@ function __extends(d, b) {
|
|
|
8394
8394
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8395
8395
|
}
|
|
8396
8396
|
|
|
8397
|
-
var __assign = function() {
|
|
8398
|
-
__assign = Object.assign || function __assign(t) {
|
|
8397
|
+
var __assign$2 = function() {
|
|
8398
|
+
__assign$2 = Object.assign || function __assign(t) {
|
|
8399
8399
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8400
8400
|
s = arguments[i];
|
|
8401
8401
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
8402
8402
|
}
|
|
8403
8403
|
return t;
|
|
8404
8404
|
};
|
|
8405
|
-
return __assign.apply(this, arguments);
|
|
8405
|
+
return __assign$2.apply(this, arguments);
|
|
8406
8406
|
};
|
|
8407
8407
|
|
|
8408
8408
|
function __spreadArray(to, from, pack) {
|
|
@@ -8775,10 +8775,10 @@ function parseNumberSkeleton(tokens) {
|
|
|
8775
8775
|
result.compactDisplay = 'long';
|
|
8776
8776
|
continue;
|
|
8777
8777
|
case 'scientific':
|
|
8778
|
-
result = __assign(__assign(__assign({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (__assign(__assign({}, all), parseNotationOptions(opt))); }, {}));
|
|
8778
|
+
result = __assign$2(__assign$2(__assign$2({}, result), { notation: 'scientific' }), token.options.reduce(function (all, opt) { return (__assign$2(__assign$2({}, all), parseNotationOptions(opt))); }, {}));
|
|
8779
8779
|
continue;
|
|
8780
8780
|
case 'engineering':
|
|
8781
|
-
result = __assign(__assign(__assign({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (__assign(__assign({}, all), parseNotationOptions(opt))); }, {}));
|
|
8781
|
+
result = __assign$2(__assign$2(__assign$2({}, result), { notation: 'engineering' }), token.options.reduce(function (all, opt) { return (__assign$2(__assign$2({}, all), parseNotationOptions(opt))); }, {}));
|
|
8782
8782
|
continue;
|
|
8783
8783
|
case 'notation-simple':
|
|
8784
8784
|
result.notation = 'standard';
|
|
@@ -8854,22 +8854,22 @@ function parseNumberSkeleton(tokens) {
|
|
|
8854
8854
|
return '';
|
|
8855
8855
|
});
|
|
8856
8856
|
if (token.options.length) {
|
|
8857
|
-
result = __assign(__assign({}, result), parseSignificantPrecision(token.options[0]));
|
|
8857
|
+
result = __assign$2(__assign$2({}, result), parseSignificantPrecision(token.options[0]));
|
|
8858
8858
|
}
|
|
8859
8859
|
continue;
|
|
8860
8860
|
}
|
|
8861
8861
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
|
8862
8862
|
if (SIGNIFICANT_PRECISION_REGEX.test(token.stem)) {
|
|
8863
|
-
result = __assign(__assign({}, result), parseSignificantPrecision(token.stem));
|
|
8863
|
+
result = __assign$2(__assign$2({}, result), parseSignificantPrecision(token.stem));
|
|
8864
8864
|
continue;
|
|
8865
8865
|
}
|
|
8866
8866
|
var signOpts = parseSign(token.stem);
|
|
8867
8867
|
if (signOpts) {
|
|
8868
|
-
result = __assign(__assign({}, result), signOpts);
|
|
8868
|
+
result = __assign$2(__assign$2({}, result), signOpts);
|
|
8869
8869
|
}
|
|
8870
8870
|
var conciseScientificAndEngineeringOpts = parseConciseScientificAndEngineeringStem(token.stem);
|
|
8871
8871
|
if (conciseScientificAndEngineeringOpts) {
|
|
8872
|
-
result = __assign(__assign({}, result), conciseScientificAndEngineeringOpts);
|
|
8872
|
+
result = __assign$2(__assign$2({}, result), conciseScientificAndEngineeringOpts);
|
|
8873
8873
|
}
|
|
8874
8874
|
}
|
|
8875
8875
|
return result;
|
|
@@ -8877,7 +8877,7 @@ function parseNumberSkeleton(tokens) {
|
|
|
8877
8877
|
|
|
8878
8878
|
// @ts-nocheck
|
|
8879
8879
|
var SyntaxError = /** @class */ (function (_super) {
|
|
8880
|
-
__extends(SyntaxError, _super);
|
|
8880
|
+
__extends$1(SyntaxError, _super);
|
|
8881
8881
|
function SyntaxError(message, expected, found, location) {
|
|
8882
8882
|
var _this = _super.call(this) || this;
|
|
8883
8883
|
_this.message = message;
|
|
@@ -8984,24 +8984,24 @@ function peg$parse(input, options) {
|
|
|
8984
8984
|
};
|
|
8985
8985
|
var peg$c6 = function () { return '<'; };
|
|
8986
8986
|
var peg$c7 = function (messageText) {
|
|
8987
|
-
return __assign({ type: TYPE.literal, value: messageText }, insertLocation());
|
|
8987
|
+
return __assign$2({ type: TYPE.literal, value: messageText }, insertLocation());
|
|
8988
8988
|
};
|
|
8989
8989
|
var peg$c8 = "#";
|
|
8990
8990
|
var peg$c9 = peg$literalExpectation("#", false);
|
|
8991
8991
|
var peg$c10 = function () {
|
|
8992
|
-
return __assign({ type: TYPE.pound }, insertLocation());
|
|
8992
|
+
return __assign$2({ type: TYPE.pound }, insertLocation());
|
|
8993
8993
|
};
|
|
8994
8994
|
var peg$c11 = peg$otherExpectation("tagElement");
|
|
8995
8995
|
var peg$c12 = function (open, children, close) {
|
|
8996
8996
|
if (open !== close) {
|
|
8997
8997
|
error("Mismatch tag \"" + open + "\" !== \"" + close + "\"", location());
|
|
8998
8998
|
}
|
|
8999
|
-
return __assign({ type: TYPE.tag, value: open, children: children }, insertLocation());
|
|
8999
|
+
return __assign$2({ type: TYPE.tag, value: open, children: children }, insertLocation());
|
|
9000
9000
|
};
|
|
9001
9001
|
var peg$c13 = "/>";
|
|
9002
9002
|
var peg$c14 = peg$literalExpectation("/>", false);
|
|
9003
9003
|
var peg$c15 = function (value) {
|
|
9004
|
-
return __assign({ type: TYPE.literal, value: value.join('') }, insertLocation());
|
|
9004
|
+
return __assign$2({ type: TYPE.literal, value: value.join('') }, insertLocation());
|
|
9005
9005
|
};
|
|
9006
9006
|
var peg$c16 = ">";
|
|
9007
9007
|
var peg$c17 = peg$literalExpectation(">", false);
|
|
@@ -9014,7 +9014,7 @@ function peg$parse(input, options) {
|
|
|
9014
9014
|
var peg$c24 = "}";
|
|
9015
9015
|
var peg$c25 = peg$literalExpectation("}", false);
|
|
9016
9016
|
var peg$c26 = function (value) {
|
|
9017
|
-
return __assign({ type: TYPE.argument, value: value }, insertLocation());
|
|
9017
|
+
return __assign$2({ type: TYPE.argument, value: value }, insertLocation());
|
|
9018
9018
|
};
|
|
9019
9019
|
var peg$c27 = peg$otherExpectation("numberSkeletonId");
|
|
9020
9020
|
var peg$c28 = /^['\/{}]/;
|
|
@@ -9029,7 +9029,7 @@ function peg$parse(input, options) {
|
|
|
9029
9029
|
return { stem: stem, options: options };
|
|
9030
9030
|
};
|
|
9031
9031
|
var peg$c37 = function (tokens) {
|
|
9032
|
-
return __assign({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
|
|
9032
|
+
return __assign$2({ type: SKELETON_TYPE.number, tokens: tokens, parsedOptions: shouldParseSkeleton ? parseNumberSkeleton(tokens) : {} }, insertLocation());
|
|
9033
9033
|
};
|
|
9034
9034
|
var peg$c38 = "::";
|
|
9035
9035
|
var peg$c39 = peg$literalExpectation("::", false);
|
|
@@ -9044,7 +9044,7 @@ function peg$parse(input, options) {
|
|
|
9044
9044
|
var peg$c45 = "number";
|
|
9045
9045
|
var peg$c46 = peg$literalExpectation("number", false);
|
|
9046
9046
|
var peg$c47 = function (value, type, style) {
|
|
9047
|
-
return __assign({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
|
|
9047
|
+
return __assign$2({ type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time, style: style && style[2], value: value }, insertLocation());
|
|
9048
9048
|
};
|
|
9049
9049
|
var peg$c48 = "'";
|
|
9050
9050
|
var peg$c49 = peg$literalExpectation("'", false);
|
|
@@ -9055,7 +9055,7 @@ function peg$parse(input, options) {
|
|
|
9055
9055
|
var peg$c54 = /^[a-zA-Z]/;
|
|
9056
9056
|
var peg$c55 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false);
|
|
9057
9057
|
var peg$c56 = function (pattern) {
|
|
9058
|
-
return __assign({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
|
|
9058
|
+
return __assign$2({ type: SKELETON_TYPE.dateTime, pattern: pattern, parsedOptions: shouldParseSkeleton ? parseDateTimeSkeleton(pattern) : {} }, insertLocation());
|
|
9059
9059
|
};
|
|
9060
9060
|
var peg$c57 = function () { messageCtx.push('dateOrTimeArgStyle'); return true; };
|
|
9061
9061
|
var peg$c58 = "date";
|
|
@@ -9069,7 +9069,7 @@ function peg$parse(input, options) {
|
|
|
9069
9069
|
var peg$c66 = "offset:";
|
|
9070
9070
|
var peg$c67 = peg$literalExpectation("offset:", false);
|
|
9071
9071
|
var peg$c68 = function (value, pluralType, offset, options) {
|
|
9072
|
-
return __assign({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
|
|
9072
|
+
return __assign$2({ type: TYPE.plural, pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal', value: value, offset: offset ? offset[2] : 0, options: options.reduce(function (all, _a) {
|
|
9073
9073
|
var id = _a.id, value = _a.value, optionLocation = _a.location;
|
|
9074
9074
|
if (id in all) {
|
|
9075
9075
|
error("Duplicate option \"" + id + "\" in plural element: \"" + text() + "\"", location());
|
|
@@ -9084,7 +9084,7 @@ function peg$parse(input, options) {
|
|
|
9084
9084
|
var peg$c69 = "select";
|
|
9085
9085
|
var peg$c70 = peg$literalExpectation("select", false);
|
|
9086
9086
|
var peg$c71 = function (value, options) {
|
|
9087
|
-
return __assign({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
|
|
9087
|
+
return __assign$2({ type: TYPE.select, value: value, options: options.reduce(function (all, _a) {
|
|
9088
9088
|
var id = _a.id, value = _a.value, optionLocation = _a.location;
|
|
9089
9089
|
if (id in all) {
|
|
9090
9090
|
error("Duplicate option \"" + id + "\" in select element: \"" + text() + "\"", location());
|
|
@@ -9101,13 +9101,13 @@ function peg$parse(input, options) {
|
|
|
9101
9101
|
var peg$c74 = function (id) { messageCtx.push('select'); return true; };
|
|
9102
9102
|
var peg$c75 = function (id, value) {
|
|
9103
9103
|
messageCtx.pop();
|
|
9104
|
-
return __assign({ id: id,
|
|
9104
|
+
return __assign$2({ id: id,
|
|
9105
9105
|
value: value }, insertLocation());
|
|
9106
9106
|
};
|
|
9107
9107
|
var peg$c76 = function (id) { messageCtx.push('plural'); return true; };
|
|
9108
9108
|
var peg$c77 = function (id, value) {
|
|
9109
9109
|
messageCtx.pop();
|
|
9110
|
-
return __assign({ id: id,
|
|
9110
|
+
return __assign$2({ id: id,
|
|
9111
9111
|
value: value }, insertLocation());
|
|
9112
9112
|
};
|
|
9113
9113
|
var peg$c78 = peg$otherExpectation("whitespace");
|
|
@@ -11991,7 +11991,7 @@ function normalizeHashtagInPlural(els) {
|
|
|
11991
11991
|
}
|
|
11992
11992
|
|
|
11993
11993
|
function parse(input, opts) {
|
|
11994
|
-
opts = __assign({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
|
|
11994
|
+
opts = __assign$2({ normalizeHashtagInPlural: true, shouldParseSkeleton: true }, (opts || {}));
|
|
11995
11995
|
var els = pegParse(input, opts);
|
|
11996
11996
|
if (opts.normalizeHashtagInPlural) {
|
|
11997
11997
|
normalizeHashtagInPlural(els);
|
|
@@ -12009,7 +12009,7 @@ var ErrorCode;
|
|
|
12009
12009
|
ErrorCode["MISSING_INTL_API"] = "MISSING_INTL_API";
|
|
12010
12010
|
})(ErrorCode || (ErrorCode = {}));
|
|
12011
12011
|
var FormatError = /** @class */ (function (_super) {
|
|
12012
|
-
__extends(FormatError, _super);
|
|
12012
|
+
__extends$1(FormatError, _super);
|
|
12013
12013
|
function FormatError(msg, code, originalMessage) {
|
|
12014
12014
|
var _this = _super.call(this, msg) || this;
|
|
12015
12015
|
_this.code = code;
|
|
@@ -12022,21 +12022,21 @@ var FormatError = /** @class */ (function (_super) {
|
|
|
12022
12022
|
return FormatError;
|
|
12023
12023
|
}(Error));
|
|
12024
12024
|
var InvalidValueError = /** @class */ (function (_super) {
|
|
12025
|
-
__extends(InvalidValueError, _super);
|
|
12025
|
+
__extends$1(InvalidValueError, _super);
|
|
12026
12026
|
function InvalidValueError(variableId, value, options, originalMessage) {
|
|
12027
12027
|
return _super.call(this, "Invalid values for \"" + variableId + "\": \"" + value + "\". Options are \"" + Object.keys(options).join('", "') + "\"", ErrorCode.INVALID_VALUE, originalMessage) || this;
|
|
12028
12028
|
}
|
|
12029
12029
|
return InvalidValueError;
|
|
12030
12030
|
}(FormatError));
|
|
12031
12031
|
var InvalidValueTypeError = /** @class */ (function (_super) {
|
|
12032
|
-
__extends(InvalidValueTypeError, _super);
|
|
12032
|
+
__extends$1(InvalidValueTypeError, _super);
|
|
12033
12033
|
function InvalidValueTypeError(value, type, originalMessage) {
|
|
12034
12034
|
return _super.call(this, "Value for \"" + value + "\" must be of type " + type, ErrorCode.INVALID_VALUE, originalMessage) || this;
|
|
12035
12035
|
}
|
|
12036
12036
|
return InvalidValueTypeError;
|
|
12037
12037
|
}(FormatError));
|
|
12038
12038
|
var MissingValueError = /** @class */ (function (_super) {
|
|
12039
|
-
__extends(MissingValueError, _super);
|
|
12039
|
+
__extends$1(MissingValueError, _super);
|
|
12040
12040
|
function MissingValueError(variableId, originalMessage) {
|
|
12041
12041
|
return _super.call(this, "The intl string context variable \"" + variableId + "\" was not provided to the string \"" + originalMessage + "\"", ErrorCode.MISSING_VALUE, originalMessage) || this;
|
|
12042
12042
|
}
|
|
@@ -12229,8 +12229,8 @@ function mergeConfig(c1, c2) {
|
|
|
12229
12229
|
if (!c2) {
|
|
12230
12230
|
return c1;
|
|
12231
12231
|
}
|
|
12232
|
-
return __assign(__assign(__assign({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
|
|
12233
|
-
all[k] = __assign(__assign({}, c1[k]), (c2[k] || {}));
|
|
12232
|
+
return __assign$2(__assign$2(__assign$2({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {
|
|
12233
|
+
all[k] = __assign$2(__assign$2({}, c1[k]), (c2[k] || {}));
|
|
12234
12234
|
return all;
|
|
12235
12235
|
}, {}));
|
|
12236
12236
|
}
|
|
@@ -12241,9 +12241,9 @@ function mergeConfigs(defaultConfig, configs) {
|
|
|
12241
12241
|
return Object.keys(defaultConfig).reduce(function (all, k) {
|
|
12242
12242
|
all[k] = mergeConfig(defaultConfig[k], configs[k]);
|
|
12243
12243
|
return all;
|
|
12244
|
-
}, __assign({}, defaultConfig));
|
|
12244
|
+
}, __assign$2({}, defaultConfig));
|
|
12245
12245
|
}
|
|
12246
|
-
function createFastMemoizeCache
|
|
12246
|
+
function createFastMemoizeCache(store) {
|
|
12247
12247
|
return {
|
|
12248
12248
|
create: function () {
|
|
12249
12249
|
return {
|
|
@@ -12261,8 +12261,8 @@ function createFastMemoizeCache$1(store) {
|
|
|
12261
12261
|
};
|
|
12262
12262
|
}
|
|
12263
12263
|
// @ts-ignore this is to deal with rollup's default import shenanigans
|
|
12264
|
-
var _memoizeIntl
|
|
12265
|
-
var memoizeIntl
|
|
12264
|
+
var _memoizeIntl = index_module.src || index_module.memoize;
|
|
12265
|
+
var memoizeIntl = _memoizeIntl;
|
|
12266
12266
|
function createDefaultFormatters(cache) {
|
|
12267
12267
|
if (cache === void 0) { cache = {
|
|
12268
12268
|
number: {},
|
|
@@ -12270,7 +12270,7 @@ function createDefaultFormatters(cache) {
|
|
|
12270
12270
|
pluralRules: {},
|
|
12271
12271
|
}; }
|
|
12272
12272
|
return {
|
|
12273
|
-
getNumberFormat: memoizeIntl
|
|
12273
|
+
getNumberFormat: memoizeIntl(function () {
|
|
12274
12274
|
var _a;
|
|
12275
12275
|
var args = [];
|
|
12276
12276
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12278,10 +12278,10 @@ function createDefaultFormatters(cache) {
|
|
|
12278
12278
|
}
|
|
12279
12279
|
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12280
12280
|
}, {
|
|
12281
|
-
cache: createFastMemoizeCache
|
|
12282
|
-
strategy: memoizeIntl
|
|
12281
|
+
cache: createFastMemoizeCache(cache.number),
|
|
12282
|
+
strategy: memoizeIntl.strategies.variadic,
|
|
12283
12283
|
}),
|
|
12284
|
-
getDateTimeFormat: memoizeIntl
|
|
12284
|
+
getDateTimeFormat: memoizeIntl(function () {
|
|
12285
12285
|
var _a;
|
|
12286
12286
|
var args = [];
|
|
12287
12287
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12289,10 +12289,10 @@ function createDefaultFormatters(cache) {
|
|
|
12289
12289
|
}
|
|
12290
12290
|
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12291
12291
|
}, {
|
|
12292
|
-
cache: createFastMemoizeCache
|
|
12293
|
-
strategy: memoizeIntl
|
|
12292
|
+
cache: createFastMemoizeCache(cache.dateTime),
|
|
12293
|
+
strategy: memoizeIntl.strategies.variadic,
|
|
12294
12294
|
}),
|
|
12295
|
-
getPluralRules: memoizeIntl
|
|
12295
|
+
getPluralRules: memoizeIntl(function () {
|
|
12296
12296
|
var _a;
|
|
12297
12297
|
var args = [];
|
|
12298
12298
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12300,8 +12300,8 @@ function createDefaultFormatters(cache) {
|
|
|
12300
12300
|
}
|
|
12301
12301
|
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12302
12302
|
}, {
|
|
12303
|
-
cache: createFastMemoizeCache
|
|
12304
|
-
strategy: memoizeIntl
|
|
12303
|
+
cache: createFastMemoizeCache(cache.pluralRules),
|
|
12304
|
+
strategy: memoizeIntl.strategies.variadic,
|
|
12305
12305
|
}),
|
|
12306
12306
|
};
|
|
12307
12307
|
}
|
|
@@ -12451,7 +12451,7 @@ var IntlErrorCode;
|
|
|
12451
12451
|
IntlErrorCode["MISSING_TRANSLATION"] = "MISSING_TRANSLATION";
|
|
12452
12452
|
})(IntlErrorCode || (IntlErrorCode = {}));
|
|
12453
12453
|
var IntlError = /** @class */ (function (_super) {
|
|
12454
|
-
__extends(IntlError, _super);
|
|
12454
|
+
__extends$1(IntlError, _super);
|
|
12455
12455
|
function IntlError(code, message, exception) {
|
|
12456
12456
|
var _this = _super.call(this, "[@formatjs/intl Error " + code + "] " + message + " \n" + (exception ? "\n" + exception.message + "\n" + exception.stack : '')) || this;
|
|
12457
12457
|
_this.code = code;
|
|
@@ -12463,28 +12463,28 @@ var IntlError = /** @class */ (function (_super) {
|
|
|
12463
12463
|
return IntlError;
|
|
12464
12464
|
}(Error));
|
|
12465
12465
|
var UnsupportedFormatterError = /** @class */ (function (_super) {
|
|
12466
|
-
__extends(UnsupportedFormatterError, _super);
|
|
12466
|
+
__extends$1(UnsupportedFormatterError, _super);
|
|
12467
12467
|
function UnsupportedFormatterError(message, exception) {
|
|
12468
12468
|
return _super.call(this, IntlErrorCode.UNSUPPORTED_FORMATTER, message, exception) || this;
|
|
12469
12469
|
}
|
|
12470
12470
|
return UnsupportedFormatterError;
|
|
12471
12471
|
}(IntlError));
|
|
12472
12472
|
var InvalidConfigError = /** @class */ (function (_super) {
|
|
12473
|
-
__extends(InvalidConfigError, _super);
|
|
12473
|
+
__extends$1(InvalidConfigError, _super);
|
|
12474
12474
|
function InvalidConfigError(message, exception) {
|
|
12475
12475
|
return _super.call(this, IntlErrorCode.INVALID_CONFIG, message, exception) || this;
|
|
12476
12476
|
}
|
|
12477
12477
|
return InvalidConfigError;
|
|
12478
12478
|
}(IntlError));
|
|
12479
12479
|
var MissingDataError = /** @class */ (function (_super) {
|
|
12480
|
-
__extends(MissingDataError, _super);
|
|
12480
|
+
__extends$1(MissingDataError, _super);
|
|
12481
12481
|
function MissingDataError(message, exception) {
|
|
12482
12482
|
return _super.call(this, IntlErrorCode.MISSING_DATA, message, exception) || this;
|
|
12483
12483
|
}
|
|
12484
12484
|
return MissingDataError;
|
|
12485
12485
|
}(IntlError));
|
|
12486
12486
|
var MessageFormatError = /** @class */ (function (_super) {
|
|
12487
|
-
__extends(MessageFormatError, _super);
|
|
12487
|
+
__extends$1(MessageFormatError, _super);
|
|
12488
12488
|
function MessageFormatError(message, locale, descriptor, exception) {
|
|
12489
12489
|
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;
|
|
12490
12490
|
_this.descriptor = descriptor;
|
|
@@ -12493,7 +12493,7 @@ var MessageFormatError = /** @class */ (function (_super) {
|
|
|
12493
12493
|
return MessageFormatError;
|
|
12494
12494
|
}(IntlError));
|
|
12495
12495
|
var MissingTranslationError = /** @class */ (function (_super) {
|
|
12496
|
-
__extends(MissingTranslationError, _super);
|
|
12496
|
+
__extends$1(MissingTranslationError, _super);
|
|
12497
12497
|
function MissingTranslationError(descriptor, locale) {
|
|
12498
12498
|
var _this = _super.call(this, IntlErrorCode.MISSING_TRANSLATION, "Missing message: \"" + descriptor.id + "\" for locale \"" + locale + "\", using " + (descriptor.defaultMessage ? 'default message' : 'id') + " as fallback.") || this;
|
|
12499
12499
|
_this.descriptor = descriptor;
|
|
@@ -12535,7 +12535,7 @@ function createIntlCache() {
|
|
|
12535
12535
|
displayNames: {},
|
|
12536
12536
|
};
|
|
12537
12537
|
}
|
|
12538
|
-
function createFastMemoizeCache(store) {
|
|
12538
|
+
function createFastMemoizeCache$1(store) {
|
|
12539
12539
|
return {
|
|
12540
12540
|
create: function () {
|
|
12541
12541
|
return {
|
|
@@ -12553,8 +12553,8 @@ function createFastMemoizeCache(store) {
|
|
|
12553
12553
|
};
|
|
12554
12554
|
}
|
|
12555
12555
|
// @ts-ignore this is to deal with rollup's default import shenanigans
|
|
12556
|
-
var _memoizeIntl = index_module.src || index_module.memoize;
|
|
12557
|
-
var memoizeIntl = _memoizeIntl;
|
|
12556
|
+
var _memoizeIntl$1 = index_module.src || index_module.memoize;
|
|
12557
|
+
var memoizeIntl$1 = _memoizeIntl$1;
|
|
12558
12558
|
/**
|
|
12559
12559
|
* Create intl formatters and populate cache
|
|
12560
12560
|
* @param cache explicit cache to prevent leaking memory
|
|
@@ -12564,7 +12564,7 @@ function createFormatters(cache) {
|
|
|
12564
12564
|
var RelativeTimeFormat = Intl.RelativeTimeFormat;
|
|
12565
12565
|
var ListFormat = Intl.ListFormat;
|
|
12566
12566
|
var DisplayNames = Intl.DisplayNames;
|
|
12567
|
-
var getDateTimeFormat = memoizeIntl(function () {
|
|
12567
|
+
var getDateTimeFormat = memoizeIntl$1(function () {
|
|
12568
12568
|
var _a;
|
|
12569
12569
|
var args = [];
|
|
12570
12570
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12572,10 +12572,10 @@ function createFormatters(cache) {
|
|
|
12572
12572
|
}
|
|
12573
12573
|
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12574
12574
|
}, {
|
|
12575
|
-
cache: createFastMemoizeCache(cache.dateTime),
|
|
12576
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12575
|
+
cache: createFastMemoizeCache$1(cache.dateTime),
|
|
12576
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12577
12577
|
});
|
|
12578
|
-
var getNumberFormat = memoizeIntl(function () {
|
|
12578
|
+
var getNumberFormat = memoizeIntl$1(function () {
|
|
12579
12579
|
var _a;
|
|
12580
12580
|
var args = [];
|
|
12581
12581
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12583,10 +12583,10 @@ function createFormatters(cache) {
|
|
|
12583
12583
|
}
|
|
12584
12584
|
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12585
12585
|
}, {
|
|
12586
|
-
cache: createFastMemoizeCache(cache.number),
|
|
12587
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12586
|
+
cache: createFastMemoizeCache$1(cache.number),
|
|
12587
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12588
12588
|
});
|
|
12589
|
-
var getPluralRules = memoizeIntl(function () {
|
|
12589
|
+
var getPluralRules = memoizeIntl$1(function () {
|
|
12590
12590
|
var _a;
|
|
12591
12591
|
var args = [];
|
|
12592
12592
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -12594,52 +12594,52 @@ function createFormatters(cache) {
|
|
|
12594
12594
|
}
|
|
12595
12595
|
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args)))();
|
|
12596
12596
|
}, {
|
|
12597
|
-
cache: createFastMemoizeCache(cache.pluralRules),
|
|
12598
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12597
|
+
cache: createFastMemoizeCache$1(cache.pluralRules),
|
|
12598
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12599
12599
|
});
|
|
12600
12600
|
return {
|
|
12601
12601
|
getDateTimeFormat: getDateTimeFormat,
|
|
12602
12602
|
getNumberFormat: getNumberFormat,
|
|
12603
|
-
getMessageFormat: memoizeIntl(function (message, locales, overrideFormats, opts) {
|
|
12604
|
-
return new IntlMessageFormat(message, locales, overrideFormats, __assign({ formatters: {
|
|
12603
|
+
getMessageFormat: memoizeIntl$1(function (message, locales, overrideFormats, opts) {
|
|
12604
|
+
return new IntlMessageFormat(message, locales, overrideFormats, __assign$2({ formatters: {
|
|
12605
12605
|
getNumberFormat: getNumberFormat,
|
|
12606
12606
|
getDateTimeFormat: getDateTimeFormat,
|
|
12607
12607
|
getPluralRules: getPluralRules,
|
|
12608
12608
|
} }, (opts || {})));
|
|
12609
12609
|
}, {
|
|
12610
|
-
cache: createFastMemoizeCache(cache.message),
|
|
12611
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12610
|
+
cache: createFastMemoizeCache$1(cache.message),
|
|
12611
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12612
12612
|
}),
|
|
12613
|
-
getRelativeTimeFormat: memoizeIntl(function () {
|
|
12613
|
+
getRelativeTimeFormat: memoizeIntl$1(function () {
|
|
12614
12614
|
var args = [];
|
|
12615
12615
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12616
12616
|
args[_i] = arguments[_i];
|
|
12617
12617
|
}
|
|
12618
12618
|
return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat, __spreadArray([void 0], args)))();
|
|
12619
12619
|
}, {
|
|
12620
|
-
cache: createFastMemoizeCache(cache.relativeTime),
|
|
12621
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12620
|
+
cache: createFastMemoizeCache$1(cache.relativeTime),
|
|
12621
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12622
12622
|
}),
|
|
12623
12623
|
getPluralRules: getPluralRules,
|
|
12624
|
-
getListFormat: memoizeIntl(function () {
|
|
12624
|
+
getListFormat: memoizeIntl$1(function () {
|
|
12625
12625
|
var args = [];
|
|
12626
12626
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12627
12627
|
args[_i] = arguments[_i];
|
|
12628
12628
|
}
|
|
12629
12629
|
return new (ListFormat.bind.apply(ListFormat, __spreadArray([void 0], args)))();
|
|
12630
12630
|
}, {
|
|
12631
|
-
cache: createFastMemoizeCache(cache.list),
|
|
12632
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12631
|
+
cache: createFastMemoizeCache$1(cache.list),
|
|
12632
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12633
12633
|
}),
|
|
12634
|
-
getDisplayNames: memoizeIntl(function () {
|
|
12634
|
+
getDisplayNames: memoizeIntl$1(function () {
|
|
12635
12635
|
var args = [];
|
|
12636
12636
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
12637
12637
|
args[_i] = arguments[_i];
|
|
12638
12638
|
}
|
|
12639
12639
|
return new (DisplayNames.bind.apply(DisplayNames, __spreadArray([void 0], args)))();
|
|
12640
12640
|
}, {
|
|
12641
|
-
cache: createFastMemoizeCache(cache.displayNames),
|
|
12642
|
-
strategy: memoizeIntl.strategies.variadic,
|
|
12641
|
+
cache: createFastMemoizeCache$1(cache.displayNames),
|
|
12642
|
+
strategy: memoizeIntl$1.strategies.variadic,
|
|
12643
12643
|
}),
|
|
12644
12644
|
};
|
|
12645
12645
|
}
|
|
@@ -12659,7 +12659,7 @@ function getNamedFormat(formats, type, name, onError) {
|
|
|
12659
12659
|
* Cannot do Math.log(x) / Math.log(10) bc if IEEE floating point issue
|
|
12660
12660
|
* @param x number
|
|
12661
12661
|
*/
|
|
12662
|
-
function invariant(condition, message, Err) {
|
|
12662
|
+
function invariant$1(condition, message, Err) {
|
|
12663
12663
|
if (Err === void 0) { Err = Error; }
|
|
12664
12664
|
if (!condition) {
|
|
12665
12665
|
throw new Err(message);
|
|
@@ -12668,14 +12668,14 @@ function invariant(condition, message, Err) {
|
|
|
12668
12668
|
|
|
12669
12669
|
function setTimeZoneInOptions(opts, timeZone) {
|
|
12670
12670
|
return Object.keys(opts).reduce(function (all, k) {
|
|
12671
|
-
all[k] = __assign({ timeZone: timeZone }, opts[k]);
|
|
12671
|
+
all[k] = __assign$2({ timeZone: timeZone }, opts[k]);
|
|
12672
12672
|
return all;
|
|
12673
12673
|
}, {});
|
|
12674
12674
|
}
|
|
12675
12675
|
function deepMergeOptions(opts1, opts2) {
|
|
12676
|
-
var keys = Object.keys(__assign(__assign({}, opts1), opts2));
|
|
12676
|
+
var keys = Object.keys(__assign$2(__assign$2({}, opts1), opts2));
|
|
12677
12677
|
return keys.reduce(function (all, k) {
|
|
12678
|
-
all[k] = __assign(__assign({}, (opts1[k] || {})), (opts2[k] || {}));
|
|
12678
|
+
all[k] = __assign$2(__assign$2({}, (opts1[k] || {})), (opts2[k] || {}));
|
|
12679
12679
|
return all;
|
|
12680
12680
|
}, {});
|
|
12681
12681
|
}
|
|
@@ -12684,14 +12684,14 @@ function deepMergeFormatsAndSetTimeZone(f1, timeZone) {
|
|
|
12684
12684
|
return f1;
|
|
12685
12685
|
}
|
|
12686
12686
|
var mfFormats = IntlMessageFormat.formats;
|
|
12687
|
-
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)) });
|
|
12687
|
+
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)) });
|
|
12688
12688
|
}
|
|
12689
12689
|
function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
12690
12690
|
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;
|
|
12691
12691
|
if (messageDescriptor === void 0) { messageDescriptor = { id: '' }; }
|
|
12692
12692
|
var msgId = messageDescriptor.id, defaultMessage = messageDescriptor.defaultMessage;
|
|
12693
12693
|
// `id` is a required field of a Message Descriptor.
|
|
12694
|
-
invariant(!!msgId, '[@formatjs/intl] An `id` must be provided to format a message.');
|
|
12694
|
+
invariant$1(!!msgId, '[@formatjs/intl] An `id` must be provided to format a message.');
|
|
12695
12695
|
var id = String(msgId);
|
|
12696
12696
|
var message =
|
|
12697
12697
|
// In case messages is Object.create(null)
|
|
@@ -12713,7 +12713,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
|
12713
12713
|
!defaultRichTextElements) {
|
|
12714
12714
|
return message.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
12715
12715
|
}
|
|
12716
|
-
values = __assign(__assign({}, defaultRichTextElements), (values || {}));
|
|
12716
|
+
values = __assign$2(__assign$2({}, defaultRichTextElements), (values || {}));
|
|
12717
12717
|
formats = deepMergeFormatsAndSetTimeZone(formats, timeZone);
|
|
12718
12718
|
defaultFormats = deepMergeFormatsAndSetTimeZone(defaultFormats, timeZone);
|
|
12719
12719
|
if (!message) {
|
|
@@ -12738,7 +12738,7 @@ function formatMessage(_a, state, messageDescriptor, values, opts) {
|
|
|
12738
12738
|
}
|
|
12739
12739
|
// We have the translated message
|
|
12740
12740
|
try {
|
|
12741
|
-
var formatter = state.getMessageFormat(message, locale, formats, __assign({ formatters: state }, (opts || {})));
|
|
12741
|
+
var formatter = state.getMessageFormat(message, locale, formats, __assign$2({ formatters: state }, (opts || {})));
|
|
12742
12742
|
return formatter.format(values);
|
|
12743
12743
|
}
|
|
12744
12744
|
catch (e) {
|
|
@@ -12783,11 +12783,11 @@ var DATE_TIME_FORMAT_OPTIONS = [
|
|
|
12783
12783
|
// 'dayPeriod',
|
|
12784
12784
|
'numberingSystem',
|
|
12785
12785
|
];
|
|
12786
|
-
function getFormatter
|
|
12786
|
+
function getFormatter(_a, type, getDateTimeFormat, options) {
|
|
12787
12787
|
var locale = _a.locale, formats = _a.formats, onError = _a.onError, timeZone = _a.timeZone;
|
|
12788
12788
|
if (options === void 0) { options = {}; }
|
|
12789
12789
|
var format = options.format;
|
|
12790
|
-
var defaults = __assign(__assign({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
|
|
12790
|
+
var defaults = __assign$2(__assign$2({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));
|
|
12791
12791
|
var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS,
|
|
12792
12792
|
// @ts-expect-error es2020 has a lot stuff from es2021 bleed in
|
|
12793
12793
|
defaults);
|
|
@@ -12798,7 +12798,7 @@ function getFormatter$2(_a, type, getDateTimeFormat, options) {
|
|
|
12798
12798
|
!filteredOptions.timeStyle &&
|
|
12799
12799
|
!filteredOptions.dateStyle) {
|
|
12800
12800
|
// Add default formatting options if hour, minute, or second isn't defined.
|
|
12801
|
-
filteredOptions = __assign(__assign({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
|
|
12801
|
+
filteredOptions = __assign$2(__assign$2({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });
|
|
12802
12802
|
}
|
|
12803
12803
|
return getDateTimeFormat(locale, filteredOptions);
|
|
12804
12804
|
}
|
|
@@ -12810,7 +12810,7 @@ function formatDate(config, getDateTimeFormat) {
|
|
|
12810
12810
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12811
12811
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12812
12812
|
try {
|
|
12813
|
-
return getFormatter
|
|
12813
|
+
return getFormatter(config, 'date', getDateTimeFormat, options).format(date);
|
|
12814
12814
|
}
|
|
12815
12815
|
catch (e) {
|
|
12816
12816
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting date.', e));
|
|
@@ -12825,7 +12825,7 @@ function formatTime(config, getDateTimeFormat) {
|
|
|
12825
12825
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12826
12826
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12827
12827
|
try {
|
|
12828
|
-
return getFormatter
|
|
12828
|
+
return getFormatter(config, 'time', getDateTimeFormat, options).format(date);
|
|
12829
12829
|
}
|
|
12830
12830
|
catch (e) {
|
|
12831
12831
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting time.', e));
|
|
@@ -12856,7 +12856,7 @@ function formatDateToParts(config, getDateTimeFormat) {
|
|
|
12856
12856
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12857
12857
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12858
12858
|
try {
|
|
12859
|
-
return getFormatter
|
|
12859
|
+
return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date);
|
|
12860
12860
|
}
|
|
12861
12861
|
catch (e) {
|
|
12862
12862
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting date.', e));
|
|
@@ -12871,7 +12871,7 @@ function formatTimeToParts(config, getDateTimeFormat) {
|
|
|
12871
12871
|
var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;
|
|
12872
12872
|
var date = typeof value === 'string' ? new Date(value || 0) : value;
|
|
12873
12873
|
try {
|
|
12874
|
-
return getFormatter
|
|
12874
|
+
return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date);
|
|
12875
12875
|
}
|
|
12876
12876
|
catch (e) {
|
|
12877
12877
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting time.', e));
|
|
@@ -13021,7 +13021,7 @@ var NUMBER_FORMAT_OPTIONS = [
|
|
|
13021
13021
|
'unit',
|
|
13022
13022
|
'unitDisplay',
|
|
13023
13023
|
];
|
|
13024
|
-
function getFormatter(_a, getNumberFormat, options) {
|
|
13024
|
+
function getFormatter$2(_a, getNumberFormat, options) {
|
|
13025
13025
|
var locale = _a.locale, formats = _a.formats, onError = _a.onError;
|
|
13026
13026
|
if (options === void 0) { options = {}; }
|
|
13027
13027
|
var format = options.format;
|
|
@@ -13034,7 +13034,7 @@ function getFormatter(_a, getNumberFormat, options) {
|
|
|
13034
13034
|
function formatNumber(config, getNumberFormat, value, options) {
|
|
13035
13035
|
if (options === void 0) { options = {}; }
|
|
13036
13036
|
try {
|
|
13037
|
-
return getFormatter(config, getNumberFormat, options).format(value);
|
|
13037
|
+
return getFormatter$2(config, getNumberFormat, options).format(value);
|
|
13038
13038
|
}
|
|
13039
13039
|
catch (e) {
|
|
13040
13040
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting number.', e));
|
|
@@ -13044,7 +13044,7 @@ function formatNumber(config, getNumberFormat, value, options) {
|
|
|
13044
13044
|
function formatNumberToParts(config, getNumberFormat, value, options) {
|
|
13045
13045
|
if (options === void 0) { options = {}; }
|
|
13046
13046
|
try {
|
|
13047
|
-
return getFormatter(config, getNumberFormat, options).formatToParts(value);
|
|
13047
|
+
return getFormatter$2(config, getNumberFormat, options).formatToParts(value);
|
|
13048
13048
|
}
|
|
13049
13049
|
catch (e) {
|
|
13050
13050
|
config.onError(new IntlError(IntlErrorCode.FORMAT_ERROR, 'Error formatting number.', e));
|
|
@@ -13069,7 +13069,7 @@ function verifyConfigMessages(config) {
|
|
|
13069
13069
|
*/
|
|
13070
13070
|
function createIntl(config, cache) {
|
|
13071
13071
|
var formatters = createFormatters(cache);
|
|
13072
|
-
var resolvedConfig = __assign(__assign({}, DEFAULT_INTL_CONFIG), config);
|
|
13072
|
+
var resolvedConfig = __assign$2(__assign$2({}, DEFAULT_INTL_CONFIG), config);
|
|
13073
13073
|
var locale = resolvedConfig.locale, defaultLocale = resolvedConfig.defaultLocale, onError = resolvedConfig.onError;
|
|
13074
13074
|
if (!locale) {
|
|
13075
13075
|
if (onError) {
|
|
@@ -13090,7 +13090,7 @@ function createIntl(config, cache) {
|
|
|
13090
13090
|
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"));
|
|
13091
13091
|
}
|
|
13092
13092
|
verifyConfigMessages(resolvedConfig);
|
|
13093
|
-
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) });
|
|
13093
|
+
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) });
|
|
13094
13094
|
}
|
|
13095
13095
|
|
|
13096
13096
|
var __defProp = Object.defineProperty;
|
|
@@ -14700,18 +14700,18 @@ var renderFormControl = (props, input) => {
|
|
|
14700
14700
|
* subject to an additional IP rights grant found at
|
|
14701
14701
|
* http://polymer.github.io/PATENTS.txt
|
|
14702
14702
|
*/
|
|
14703
|
-
var previousValues
|
|
14703
|
+
var previousValues = new WeakMap();
|
|
14704
14704
|
var ifDefined = directive((value) => (part) => {
|
|
14705
|
-
const previousValue = previousValues
|
|
14705
|
+
const previousValue = previousValues.get(part);
|
|
14706
14706
|
if (value === void 0 && part instanceof AttributePart) {
|
|
14707
|
-
if (previousValue !== void 0 || !previousValues
|
|
14707
|
+
if (previousValue !== void 0 || !previousValues.has(part)) {
|
|
14708
14708
|
const name = part.committer.name;
|
|
14709
14709
|
part.committer.element.removeAttribute(name);
|
|
14710
14710
|
}
|
|
14711
14711
|
} else if (value !== previousValue) {
|
|
14712
14712
|
part.setValue(value);
|
|
14713
14713
|
}
|
|
14714
|
-
previousValues
|
|
14714
|
+
previousValues.set(part, value);
|
|
14715
14715
|
});
|
|
14716
14716
|
|
|
14717
14717
|
// node_modules/lit-element/lib/decorators.js
|
|
@@ -14868,13 +14868,13 @@ function internalProperty(options) {
|
|
|
14868
14868
|
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}";
|
|
14869
14869
|
|
|
14870
14870
|
// src/components/textarea/textarea.ts
|
|
14871
|
-
var id$
|
|
14871
|
+
var id$2 = 0;
|
|
14872
14872
|
var SlTextarea = class extends LitElement {
|
|
14873
14873
|
constructor() {
|
|
14874
14874
|
super(...arguments);
|
|
14875
|
-
this.helpTextId = `textarea-help-text-${id$
|
|
14876
|
-
this.inputId = `textarea-${++id$
|
|
14877
|
-
this.labelId = `textarea-label-${id$
|
|
14875
|
+
this.helpTextId = `textarea-help-text-${id$2}`;
|
|
14876
|
+
this.inputId = `textarea-${++id$2}`;
|
|
14877
|
+
this.labelId = `textarea-label-${id$2}`;
|
|
14878
14878
|
this.hasFocus = false;
|
|
14879
14879
|
this.hasHelpTextSlot = false;
|
|
14880
14880
|
this.hasLabelSlot = false;
|
|
@@ -15469,8 +15469,8 @@ function getViewportRect(element) {
|
|
|
15469
15469
|
}
|
|
15470
15470
|
|
|
15471
15471
|
// node_modules/@popperjs/core/dist/esm/utils/math.js
|
|
15472
|
-
var max = Math.max;
|
|
15473
|
-
var min = Math.min;
|
|
15472
|
+
var max$2 = Math.max;
|
|
15473
|
+
var min$3 = Math.min;
|
|
15474
15474
|
var round = Math.round;
|
|
15475
15475
|
|
|
15476
15476
|
// node_modules/@popperjs/core/dist/esm/dom-utils/getDocumentRect.js
|
|
@@ -15479,12 +15479,12 @@ function getDocumentRect(element) {
|
|
|
15479
15479
|
var html = getDocumentElement(element);
|
|
15480
15480
|
var winScroll = getWindowScroll(element);
|
|
15481
15481
|
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
15482
|
-
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
15483
|
-
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
15482
|
+
var width = max$2(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
15483
|
+
var height = max$2(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
15484
15484
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
15485
15485
|
var y = -winScroll.scrollTop;
|
|
15486
15486
|
if (getComputedStyle$1(body || html).direction === "rtl") {
|
|
15487
|
-
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
15487
|
+
x += max$2(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
15488
15488
|
}
|
|
15489
15489
|
return {
|
|
15490
15490
|
width,
|
|
@@ -15554,10 +15554,10 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
15554
15554
|
var firstClippingParent = clippingParents2[0];
|
|
15555
15555
|
var clippingRect = clippingParents2.reduce(function(accRect, clippingParent) {
|
|
15556
15556
|
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
15557
|
-
accRect.top = max(rect.top, accRect.top);
|
|
15558
|
-
accRect.right = min(rect.right, accRect.right);
|
|
15559
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
15560
|
-
accRect.left = max(rect.left, accRect.left);
|
|
15557
|
+
accRect.top = max$2(rect.top, accRect.top);
|
|
15558
|
+
accRect.right = min$3(rect.right, accRect.right);
|
|
15559
|
+
accRect.bottom = min$3(rect.bottom, accRect.bottom);
|
|
15560
|
+
accRect.left = max$2(rect.left, accRect.left);
|
|
15561
15561
|
return accRect;
|
|
15562
15562
|
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
15563
15563
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -15895,7 +15895,7 @@ var applyStyles_default = {
|
|
|
15895
15895
|
|
|
15896
15896
|
// node_modules/@popperjs/core/dist/esm/utils/within.js
|
|
15897
15897
|
function within(min2, value, max2) {
|
|
15898
|
-
return max(min2, min(value, max2));
|
|
15898
|
+
return max$2(min2, min$3(value, max2));
|
|
15899
15899
|
}
|
|
15900
15900
|
|
|
15901
15901
|
// node_modules/@popperjs/core/dist/esm/modifiers/arrow.js
|
|
@@ -16153,7 +16153,7 @@ function getExpandedFallbackPlacements(placement) {
|
|
|
16153
16153
|
var oppositePlacement = getOppositePlacement(placement);
|
|
16154
16154
|
return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
|
|
16155
16155
|
}
|
|
16156
|
-
function flip
|
|
16156
|
+
function flip(_ref) {
|
|
16157
16157
|
var state = _ref.state, options = _ref.options, name = _ref.name;
|
|
16158
16158
|
if (state.modifiersData[name]._skip) {
|
|
16159
16159
|
return;
|
|
@@ -16244,7 +16244,7 @@ var flip_default = {
|
|
|
16244
16244
|
name: "flip",
|
|
16245
16245
|
enabled: true,
|
|
16246
16246
|
phase: "main",
|
|
16247
|
-
fn: flip
|
|
16247
|
+
fn: flip,
|
|
16248
16248
|
requiresIfExists: ["offset"],
|
|
16249
16249
|
data: {
|
|
16250
16250
|
_skip: false
|
|
@@ -16422,7 +16422,7 @@ function preventOverflow(_ref) {
|
|
|
16422
16422
|
var tetherMin = popperOffsets2[mainAxis] + minOffset - offsetModifierValue - clientOffset;
|
|
16423
16423
|
var tetherMax = popperOffsets2[mainAxis] + maxOffset - offsetModifierValue;
|
|
16424
16424
|
if (checkMainAxis) {
|
|
16425
|
-
var preventedOffset = within(tether ? min(min2, tetherMin) : min2, offset2, tether ? max(max2, tetherMax) : max2);
|
|
16425
|
+
var preventedOffset = within(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$2(max2, tetherMax) : max2);
|
|
16426
16426
|
popperOffsets2[mainAxis] = preventedOffset;
|
|
16427
16427
|
data[mainAxis] = preventedOffset - offset2;
|
|
16428
16428
|
}
|
|
@@ -16432,7 +16432,7 @@ function preventOverflow(_ref) {
|
|
|
16432
16432
|
var _offset = popperOffsets2[altAxis];
|
|
16433
16433
|
var _min = _offset + overflow[_mainSide];
|
|
16434
16434
|
var _max = _offset - overflow[_altSide];
|
|
16435
|
-
var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
|
|
16435
|
+
var _preventedOffset = within(tether ? min$3(_min, tetherMin) : _min, _offset, tether ? max$2(_max, tetherMax) : _max);
|
|
16436
16436
|
popperOffsets2[altAxis] = _preventedOffset;
|
|
16437
16437
|
data[altAxis] = _preventedOffset - _offset;
|
|
16438
16438
|
}
|
|
@@ -16548,11 +16548,11 @@ var popover_default = Popover;
|
|
|
16548
16548
|
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}';
|
|
16549
16549
|
|
|
16550
16550
|
// src/components/tooltip/tooltip.ts
|
|
16551
|
-
var id$
|
|
16551
|
+
var id$3 = 0;
|
|
16552
16552
|
var SlTooltip = class extends LitElement {
|
|
16553
16553
|
constructor() {
|
|
16554
16554
|
super(...arguments);
|
|
16555
|
-
this.componentId = `tooltip-${++id$
|
|
16555
|
+
this.componentId = `tooltip-${++id$3}`;
|
|
16556
16556
|
this.isVisible = false;
|
|
16557
16557
|
this.content = "";
|
|
16558
16558
|
this.placement = "top";
|
|
@@ -16773,13 +16773,13 @@ function getTextContent(slot) {
|
|
|
16773
16773
|
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}";
|
|
16774
16774
|
|
|
16775
16775
|
// src/components/select/select.ts
|
|
16776
|
-
var id$
|
|
16776
|
+
var id$4 = 0;
|
|
16777
16777
|
var SlSelect = class extends LitElement {
|
|
16778
16778
|
constructor() {
|
|
16779
16779
|
super(...arguments);
|
|
16780
|
-
this.helpTextId = `select-help-text-${id$
|
|
16781
|
-
this.inputId = `select-${++id$
|
|
16782
|
-
this.labelId = `select-label-${id$
|
|
16780
|
+
this.helpTextId = `select-help-text-${id$4}`;
|
|
16781
|
+
this.inputId = `select-${++id$4}`;
|
|
16782
|
+
this.labelId = `select-label-${id$4}`;
|
|
16783
16783
|
this.hasFocus = false;
|
|
16784
16784
|
this.hasHelpTextSlot = false;
|
|
16785
16785
|
this.hasLabelSlot = false;
|
|
@@ -17237,12 +17237,12 @@ var spinner_default2 = SlSpinner;
|
|
|
17237
17237
|
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}";
|
|
17238
17238
|
|
|
17239
17239
|
// src/components/switch/switch.ts
|
|
17240
|
-
var id$
|
|
17240
|
+
var id$5 = 0;
|
|
17241
17241
|
var SlSwitch = class extends LitElement {
|
|
17242
17242
|
constructor() {
|
|
17243
17243
|
super(...arguments);
|
|
17244
|
-
this.switchId = `switch-${++id$
|
|
17245
|
-
this.labelId = `switch-label-${id$
|
|
17244
|
+
this.switchId = `switch-${++id$5}`;
|
|
17245
|
+
this.labelId = `switch-label-${id$5}`;
|
|
17246
17246
|
this.hasFocus = false;
|
|
17247
17247
|
this.disabled = false;
|
|
17248
17248
|
this.required = false;
|
|
@@ -17380,11 +17380,11 @@ var switch_default2 = SlSwitch;
|
|
|
17380
17380
|
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}";
|
|
17381
17381
|
|
|
17382
17382
|
// src/components/tab/tab.ts
|
|
17383
|
-
var id$
|
|
17383
|
+
var id$6 = 0;
|
|
17384
17384
|
var SlTab = class extends LitElement {
|
|
17385
17385
|
constructor() {
|
|
17386
17386
|
super(...arguments);
|
|
17387
|
-
this.componentId = `tab-${++id$
|
|
17387
|
+
this.componentId = `tab-${++id$6}`;
|
|
17388
17388
|
this.panel = "";
|
|
17389
17389
|
this.active = false;
|
|
17390
17390
|
this.closable = false;
|
|
@@ -17812,11 +17812,11 @@ var tab_group_default2 = SlTabGroup;
|
|
|
17812
17812
|
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}";
|
|
17813
17813
|
|
|
17814
17814
|
// src/components/tab-panel/tab-panel.ts
|
|
17815
|
-
var id$
|
|
17815
|
+
var id$7 = 0;
|
|
17816
17816
|
var SlTabPanel = class extends LitElement {
|
|
17817
17817
|
constructor() {
|
|
17818
17818
|
super(...arguments);
|
|
17819
|
-
this.componentId = `tab-panel-${++id$
|
|
17819
|
+
this.componentId = `tab-panel-${++id$7}`;
|
|
17820
17820
|
this.name = "";
|
|
17821
17821
|
this.active = false;
|
|
17822
17822
|
}
|
|
@@ -18093,12 +18093,12 @@ var progress_ring_default2 = SlProgressRing;
|
|
|
18093
18093
|
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}";
|
|
18094
18094
|
|
|
18095
18095
|
// src/components/radio/radio.ts
|
|
18096
|
-
var id$
|
|
18096
|
+
var id$8 = 0;
|
|
18097
18097
|
var SlRadio = class extends LitElement {
|
|
18098
18098
|
constructor() {
|
|
18099
18099
|
super(...arguments);
|
|
18100
|
-
this.inputId = `radio-${++id$
|
|
18101
|
-
this.labelId = `radio-label-${id$
|
|
18100
|
+
this.inputId = `radio-${++id$8}`;
|
|
18101
|
+
this.labelId = `radio-label-${id$8}`;
|
|
18102
18102
|
this.hasFocus = false;
|
|
18103
18103
|
this.disabled = false;
|
|
18104
18104
|
this.checked = false;
|
|
@@ -18254,13 +18254,13 @@ var radio_default2 = SlRadio;
|
|
|
18254
18254
|
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}';
|
|
18255
18255
|
|
|
18256
18256
|
// src/components/range/range.ts
|
|
18257
|
-
var id$
|
|
18257
|
+
var id$9 = 0;
|
|
18258
18258
|
var SlRange = class extends LitElement {
|
|
18259
18259
|
constructor() {
|
|
18260
18260
|
super(...arguments);
|
|
18261
|
-
this.helpTextId = `input-help-text-${id$
|
|
18262
|
-
this.inputId = `input-${++id$
|
|
18263
|
-
this.labelId = `input-label-${id$
|
|
18261
|
+
this.helpTextId = `input-help-text-${id$9}`;
|
|
18262
|
+
this.inputId = `input-${++id$9}`;
|
|
18263
|
+
this.labelId = `input-label-${id$9}`;
|
|
18264
18264
|
this.hasFocus = false;
|
|
18265
18265
|
this.hasHelpTextSlot = false;
|
|
18266
18266
|
this.hasLabelSlot = false;
|
|
@@ -19105,13 +19105,13 @@ var include_default2 = SlInclude;
|
|
|
19105
19105
|
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}";
|
|
19106
19106
|
|
|
19107
19107
|
// src/components/input/input.ts
|
|
19108
|
-
var id$
|
|
19108
|
+
var id$a = 0;
|
|
19109
19109
|
var SlInput = class extends LitElement {
|
|
19110
19110
|
constructor() {
|
|
19111
19111
|
super(...arguments);
|
|
19112
|
-
this.helpTextId = `input-help-text-${id$
|
|
19113
|
-
this.inputId = `input-${++id$
|
|
19114
|
-
this.labelId = `input-label-${id$
|
|
19112
|
+
this.helpTextId = `input-help-text-${id$a}`;
|
|
19113
|
+
this.inputId = `input-${++id$a}`;
|
|
19114
|
+
this.labelId = `input-label-${id$a}`;
|
|
19115
19115
|
this.hasFocus = false;
|
|
19116
19116
|
this.hasHelpTextSlot = false;
|
|
19117
19117
|
this.hasLabelSlot = false;
|
|
@@ -20154,13 +20154,13 @@ var reparentNodes = (container, start, end = null, before = null) => {
|
|
|
20154
20154
|
* subject to an additional IP rights grant found at
|
|
20155
20155
|
* http://polymer.github.io/PATENTS.txt
|
|
20156
20156
|
*/
|
|
20157
|
-
var previousValues = new WeakMap();
|
|
20157
|
+
var previousValues$2 = new WeakMap();
|
|
20158
20158
|
var isIe = window.navigator.userAgent.indexOf("Trident/") > 0;
|
|
20159
20159
|
var unsafeSVG = directive((value) => (part) => {
|
|
20160
20160
|
if (!(part instanceof NodePart)) {
|
|
20161
20161
|
throw new Error("unsafeSVG can only be used in text bindings");
|
|
20162
20162
|
}
|
|
20163
|
-
const previousValue = previousValues.get(part);
|
|
20163
|
+
const previousValue = previousValues$2.get(part);
|
|
20164
20164
|
if (previousValue !== void 0 && isPrimitive(value) && value === previousValue.value && part.value === previousValue.fragment) {
|
|
20165
20165
|
return;
|
|
20166
20166
|
}
|
|
@@ -20179,7 +20179,7 @@ var unsafeSVG = directive((value) => (part) => {
|
|
|
20179
20179
|
reparentNodes(content, svgElement.firstChild);
|
|
20180
20180
|
const fragment = document.importNode(content, true);
|
|
20181
20181
|
part.setValue(fragment);
|
|
20182
|
-
previousValues.set(part, {value, fragment});
|
|
20182
|
+
previousValues$2.set(part, {value, fragment});
|
|
20183
20183
|
});
|
|
20184
20184
|
|
|
20185
20185
|
// _rnhw2r0rf:/Users/claviska/Projects/shoelace/src/components/icon/icon.scss
|
|
@@ -20457,12 +20457,12 @@ var card_default2 = SlCard;
|
|
|
20457
20457
|
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}";
|
|
20458
20458
|
|
|
20459
20459
|
// src/components/checkbox/checkbox.ts
|
|
20460
|
-
var id$
|
|
20460
|
+
var id$b = 0;
|
|
20461
20461
|
var SlCheckbox = class extends LitElement {
|
|
20462
20462
|
constructor() {
|
|
20463
20463
|
super(...arguments);
|
|
20464
|
-
this.inputId = `checkbox-${++id$
|
|
20465
|
-
this.labelId = `checkbox-label-${id$
|
|
20464
|
+
this.inputId = `checkbox-${++id$b}`;
|
|
20465
|
+
this.labelId = `checkbox-label-${id$b}`;
|
|
20466
20466
|
this.hasFocus = false;
|
|
20467
20467
|
this.disabled = false;
|
|
20468
20468
|
this.required = false;
|
|
@@ -23208,11 +23208,11 @@ var color_picker_default2 = SlColorPicker;
|
|
|
23208
23208
|
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}";
|
|
23209
23209
|
|
|
23210
23210
|
// src/components/details/details.ts
|
|
23211
|
-
var id$
|
|
23211
|
+
var id$c = 0;
|
|
23212
23212
|
var SlDetails = class extends LitElement {
|
|
23213
23213
|
constructor() {
|
|
23214
23214
|
super(...arguments);
|
|
23215
|
-
this.componentId = `details-${++id$
|
|
23215
|
+
this.componentId = `details-${++id$c}`;
|
|
23216
23216
|
this.isVisible = false;
|
|
23217
23217
|
this.open = false;
|
|
23218
23218
|
this.disabled = false;
|
|
@@ -23443,12 +23443,12 @@ function isPreventScrollSupported() {
|
|
|
23443
23443
|
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}";
|
|
23444
23444
|
|
|
23445
23445
|
// src/components/dialog/dialog.ts
|
|
23446
|
-
var hasPreventScroll
|
|
23447
|
-
var id$
|
|
23446
|
+
var hasPreventScroll = isPreventScrollSupported();
|
|
23447
|
+
var id$d = 0;
|
|
23448
23448
|
var SlDialog = class extends LitElement {
|
|
23449
23449
|
constructor() {
|
|
23450
23450
|
super(...arguments);
|
|
23451
|
-
this.componentId = `dialog-${++id$
|
|
23451
|
+
this.componentId = `dialog-${++id$d}`;
|
|
23452
23452
|
this.willShow = false;
|
|
23453
23453
|
this.willHide = false;
|
|
23454
23454
|
this.hasFooter = false;
|
|
@@ -23486,7 +23486,7 @@ var SlDialog = class extends LitElement {
|
|
|
23486
23486
|
this.modal.activate();
|
|
23487
23487
|
lockBodyScrolling(this);
|
|
23488
23488
|
if (this.open) {
|
|
23489
|
-
if (hasPreventScroll
|
|
23489
|
+
if (hasPreventScroll) {
|
|
23490
23490
|
requestAnimationFrame(() => {
|
|
23491
23491
|
const slInitialFocus = this.slInitialFocus.emit();
|
|
23492
23492
|
if (!slInitialFocus.defaultPrevented) {
|
|
@@ -23649,12 +23649,12 @@ var dialog_default2 = SlDialog;
|
|
|
23649
23649
|
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}";
|
|
23650
23650
|
|
|
23651
23651
|
// src/components/drawer/drawer.ts
|
|
23652
|
-
var hasPreventScroll = isPreventScrollSupported();
|
|
23653
|
-
var id$
|
|
23652
|
+
var hasPreventScroll$1 = isPreventScrollSupported();
|
|
23653
|
+
var id$e = 0;
|
|
23654
23654
|
var SlDrawer = class extends LitElement {
|
|
23655
23655
|
constructor() {
|
|
23656
23656
|
super(...arguments);
|
|
23657
|
-
this.componentId = `drawer-${++id$
|
|
23657
|
+
this.componentId = `drawer-${++id$e}`;
|
|
23658
23658
|
this.willShow = false;
|
|
23659
23659
|
this.willHide = false;
|
|
23660
23660
|
this.hasFooter = false;
|
|
@@ -23696,7 +23696,7 @@ var SlDrawer = class extends LitElement {
|
|
|
23696
23696
|
lockBodyScrolling(this);
|
|
23697
23697
|
}
|
|
23698
23698
|
if (this.open) {
|
|
23699
|
-
if (hasPreventScroll) {
|
|
23699
|
+
if (hasPreventScroll$1) {
|
|
23700
23700
|
requestAnimationFrame(() => {
|
|
23701
23701
|
const slInitialFocus = this.slInitialFocus.emit();
|
|
23702
23702
|
if (!slInitialFocus.defaultPrevented) {
|
|
@@ -23887,11 +23887,11 @@ function getNearestTabbableElement(el) {
|
|
|
23887
23887
|
}
|
|
23888
23888
|
|
|
23889
23889
|
// src/components/dropdown/dropdown.ts
|
|
23890
|
-
var id = 0;
|
|
23890
|
+
var id$f = 0;
|
|
23891
23891
|
var SlDropdown = class extends LitElement {
|
|
23892
23892
|
constructor() {
|
|
23893
23893
|
super(...arguments);
|
|
23894
|
-
this.componentId = `dropdown-${++id}`;
|
|
23894
|
+
this.componentId = `dropdown-${++id$f}`;
|
|
23895
23895
|
this.isVisible = false;
|
|
23896
23896
|
this.open = false;
|
|
23897
23897
|
this.placement = "bottom-start";
|
|
@@ -24883,7 +24883,7 @@ var fadeOutUpBig = [
|
|
|
24883
24883
|
];
|
|
24884
24884
|
|
|
24885
24885
|
// node_modules/@shoelace-style/animations/dist/flippers/flip.js
|
|
24886
|
-
var flip = [
|
|
24886
|
+
var flip$1 = [
|
|
24887
24887
|
{
|
|
24888
24888
|
offset: 0,
|
|
24889
24889
|
transform: "perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)",
|
|
@@ -24993,7 +24993,7 @@ __export(dist_exports, {
|
|
|
24993
24993
|
fadeOutUp: () => fadeOutUp,
|
|
24994
24994
|
fadeOutUpBig: () => fadeOutUpBig,
|
|
24995
24995
|
flash: () => flash,
|
|
24996
|
-
flip: () => flip,
|
|
24996
|
+
flip: () => flip$1,
|
|
24997
24997
|
flipInX: () => flipInX,
|
|
24998
24998
|
flipInY: () => flipInY,
|
|
24999
24999
|
flipOutX: () => flipOutX,
|