diff --git a/Gruntfile.js b/Gruntfile.js index cf18127fd6f..37d30534583 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -52,27 +52,21 @@ module.exports = function ( grunt ) { copy: { pro: { src: [ - 'assets/sample-products-import.xml', - 'assets/css/*.min.css', - 'assets/css/admin/style.css', - 'assets/js/*.js', - 'assets/js/*.min.js', - 'assets/js/vendor/**', - 'assets/images/**', + 'assets/**', + '!assets/lite/**', 'i18n/**', 'includes/**', '!includes/blocks/node_modules/**', '!includes/blocks/composer.json', '!includes/blocks/package.json', + '!includes/blocks/package-lock.json', 'languages/**', 'libraries/**', 'templates/**', 'src/**', + '!src/Lite/**', '*.php', '*.txt', - 'assets/pro/js/*.js', - '!src/Lite/**', - '!assets/lite/**', '!vendor/**', 'vendor/autoload.php', 'vendor/composer/**', @@ -84,13 +78,8 @@ module.exports = function ( grunt ) { }, lite: { src: [ - 'assets/sample-products-import.xml', - 'assets/css/*.min.css', - 'assets/css/admin/style.css', - 'assets/js/*.js', - 'assets/js/*.min.js', - 'assets/js/vendor/**', - 'assets/images/**', + 'assets/**', + '!assets/pro/**', 'i18n/**', 'includes/**', '!includes/blocks/pro/**', @@ -100,6 +89,7 @@ module.exports = function ( grunt ) { '!includes/blocks/src/pro/**', '!includes/blocks/composer.json', '!includes/blocks/package.json', + '!includes/blocks/package-lock.json', 'languages/**', 'libraries/**', 'templates/**', @@ -107,8 +97,6 @@ module.exports = function ( grunt ) { '*.php', '*.txt', '!src/Pro/**', - '!assets/pro/**', - 'assets/lite/**', '!vendor/**', 'vendor/autoload.php', 'vendor/composer/**', @@ -136,7 +124,7 @@ module.exports = function ( grunt ) { '!node_modules/**', 'templates/**', 'src/**', - '!assets/pro/**', + '!src/Pro/**', '!vendor/**', 'vendor/autoload.php', 'vendor/composer/**', diff --git a/assets/css/admin/emails/_editor.scss b/assets/css/admin/emails/_editor.scss new file mode 100644 index 00000000000..610549a7627 --- /dev/null +++ b/assets/css/admin/emails/_editor.scss @@ -0,0 +1,67 @@ +.edd-email-editor__description { + margin: 2em 0; +} + +.edd-editor__header--actions { + position: relative; + + .edd-email-status-badge { + position: absolute; + right: 0; + top: 53px; + margin-right: 20px; + border: 1px solid; + padding: 12px; + } + + #submit.edd-updating { + &:before { + background: none; + @include edd-spinner( + 12px, + $wp-alternate, + $wp-input-border + ); + } + } +} + +.edd-form__email { + background: $white; + border: 1px solid #e2e4e7; + padding: 2em; + max-width: $break-huge; + + @media screen and (min-width: $break-medium) { + $first-column-width: 200px; + .edd-form-group { + display: grid; + grid-template-columns: $first-column-width 1fr; + margin-bottom: 2em; + + > .description { + grid-column-start: 1; + grid-column-end: 3; + } + } + + .edd-form-group > .description, + .notice { + margin-left: $first-column-width; + } + } +} + +.edd-email-action-reset { + border-color: $edd-alert-red !important; + color: $edd-alert-red !important; + + &:hover { + border-color: $edd-alert-red-hover !important; + color: $edd-alert-red-hover !important; + } +} + +.edd-editor__actions--test + .notice { + margin-top: 2em; +} diff --git a/assets/css/admin/emails/_promo.scss b/assets/css/admin/emails/_promo.scss new file mode 100644 index 00000000000..0dace34ee1b --- /dev/null +++ b/assets/css/admin/emails/_promo.scss @@ -0,0 +1,76 @@ +.edd-emails__add-new__overlay { + position: absolute; + right: 0; + top: 40px; + background: white; + padding: 8px; + border: 1px solid $wp-border; + border-radius: 4px; + display: flex; + flex-direction: column; + gap: 2px; + z-index: 1; + align-items: stretch; + + button.button { + background: none !important; + border: none; + color: $wp-text !important; + text-align: left; + } +} + +#edd-admin-notice-emails { + max-width: 100%; + width: 800px; + text-align: left; + padding: 2em; + + h2 { + line-height: unset; + margin: 0; + } + + .edd-extension-manager__body { + grid-template-rows: unset; + margin-bottom: 1.5em; + } + + .edd-promo-notice__ajax & { + width: 400px; + + .edd-extension-manager__body { + grid-template-columns: 80px 1fr; + } + } + + .edd-extension-manager__card-group { + grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); + text-align: left; + margin: 0 auto 1em; + width: 100%; + + .edd-extension-manager__single-card { + margin: 0 auto 1em; + } + } + + .edd-promo-notice__overlay:not(.edd-promo-notice__ajax) & { + .edd-extension-manager__body { + grid-template-columns: 60px 1fr; + } + + .edd-extension-manager__icon { + width: 58px; + height: 58px; + + img { + width: 40px; + } + } + } + + .edd-plugin__recommended { + display: none; + } +} diff --git a/assets/css/admin/emails/_table.scss b/assets/css/admin/emails/_table.scss new file mode 100644 index 00000000000..daa5f90d1f4 --- /dev/null +++ b/assets/css/admin/emails/_table.scss @@ -0,0 +1,89 @@ + +#edd-emails__add { + display: flex; + align-items: center; + gap: 8px; + justify-content: space-between; +} + +.edd-list-table__item td { + padding: 10px; +} + +th.column-status { + text-align: right; + width: 80px; +} + +td.column-status { + min-height: 30px; + text-align: right; + width: 80px; + + & .edd-help-tip { + margin-top: 2px; + } + + @media screen and (max-width: $break-medium) { + text-align: left; + width: unset; + min-height: 40px; + } +} + +tr.no-items { + display: none; +} + +@media screen and (min-width: $break-wide) { + .column-primary { + width: 250px; + } + + .column-recipient, + .column-sender { + width: 125px; + } + + .column-context, + .column-date_modified { + width: 150px; + } +} + +table.email_templates { + margin-top: 1em; +} + +.tablenav { + &.top { + position: relative; + } + + .alignright.actions { + padding-right: 0; + } +} + +.edd-list-table__name { + display: flex; + align-items: center; + gap: 6px; +} + +.edd-emails__wpsmtp { + display: flex; + align-items: center; + gap: 4px; + justify-content: flex-end; + + & a { + text-decoration: none; + color: $wp-text; + } + + img { + width: 20px; + height: auto; + } +} diff --git a/assets/css/admin/emails/style.scss b/assets/css/admin/emails/style.scss new file mode 100644 index 00000000000..b37e2b0fa68 --- /dev/null +++ b/assets/css/admin/emails/style.scss @@ -0,0 +1,6 @@ +@import "../../variables/variables"; +@import "../../components/toggle-button"; +@import "../../components/editor-header.scss"; +@import "promo"; +@import "table"; +@import "editor"; diff --git a/assets/css/admin/extensions/_buttons.scss b/assets/css/admin/extensions/_buttons.scss index 7c9030dbc4c..7cb81eee6eb 100644 --- a/assets/css/admin/extensions/_buttons.scss +++ b/assets/css/admin/extensions/_buttons.scss @@ -47,11 +47,6 @@ } .edd-extension-manager__control { - display: flex; - align-items: center; - gap: .5em; - min-height: 30px; - .edd-button__toggle { position: relative; margin: 0; @@ -124,6 +119,16 @@ } } +.edd-extension-manager__activate { + display: flex; + align-items: center; + gap: .5em; + min-height: 30px; + border: 1px solid $wp-border; + border-radius: 4px; + padding: 3px 10px; +} + a.button.edd-extension-manager__button-settings { display: none; position: absolute; diff --git a/assets/css/admin/extensions/_group.scss b/assets/css/admin/extensions/_group.scss index 9dc93e8bea4..894c87de298 100644 --- a/assets/css/admin/extensions/_group.scss +++ b/assets/css/admin/extensions/_group.scss @@ -9,7 +9,11 @@ display: grid; grid-template-columns: auto; gap: 1em; - margin-top: 24px; + margin-top: 40px; + + p + & { + margin-top: 24px; + } } } diff --git a/assets/css/admin/extensions/_overlay.scss b/assets/css/admin/extensions/_overlay.scss new file mode 100644 index 00000000000..2778137fb62 --- /dev/null +++ b/assets/css/admin/extensions/_overlay.scss @@ -0,0 +1,28 @@ +.edd-extension-manager__card--overlay { + text-align: left; + padding: 0; + + .edd-extension-manager__card { + padding: 0; + } + + .edd-extension-manager__title { + line-height: unset; + margin-bottom: .5em; + } + + .edd-extension-manager__actions { + background-color: $wp-alternate; + border-top: 1px solid $gray-200; + display: flex; + justify-content: flex-start; + align-items: center; + gap: .5em; + margin: 0 -2em -2em -2em; + padding: 16px 24px; + + .button { + margin: 0; + } + } +} diff --git a/assets/css/admin/extensions/_variations.scss b/assets/css/admin/extensions/_variations.scss index 0d711e434ba..671d59e3e26 100644 --- a/assets/css/admin/extensions/_variations.scss +++ b/assets/css/admin/extensions/_variations.scss @@ -1,5 +1,12 @@ /* Extension Manager Style Variations --------------------------------------- */ +.edd-settings-wrap.has-product-education { + & .edd-settings-content { + width: 100%; + max-width: 100%; + } +} + .edd-extension-manager__card--horizontal { margin: 24px 0; max-width: 700px; @@ -13,6 +20,19 @@ .edd-extension-manager__card--detailed-2col { background-color: transparent; max-width: 900px; + margin: 0 auto; + + & h3 { + font-size: 1.5rem; + margin-bottom: 10px; + text-align: center; + } + + & .edd-extension-manager__body { + display: grid; + grid-template-columns: 1fr 1fr; + grid-gap: 1em; + } } .edd-extension-manager__card--detailed .edd-extension-manager__title, diff --git a/assets/css/admin/extensions/style.scss b/assets/css/admin/extensions/style.scss index 3d774dc0987..c9f5c1e3f91 100644 --- a/assets/css/admin/extensions/style.scss +++ b/assets/css/admin/extensions/style.scss @@ -9,6 +9,7 @@ @import "group"; @import "images"; @import "installer"; +@import "overlay"; @import "key"; @import "steps"; @import "variations"; diff --git a/assets/css/admin/general/_elements.scss b/assets/css/admin/general/_elements.scss new file mode 100644 index 00000000000..28f67f92392 --- /dev/null +++ b/assets/css/admin/general/_elements.scss @@ -0,0 +1,21 @@ +.edd-hidden { + display: none; +} + +.edd-clearfix:after { + content: ""; + display: table; + clear: both; +} + +.edd-fadein { + visibility: visible; + opacity: 1; + transition: opacity 1s linear; +} + +.edd-fadeout { + visibility: hidden; + opacity: 0; + transition: visibility 0s 1s, opacity 1s linear; +} diff --git a/assets/css/admin/general/_pointers.scss b/assets/css/admin/general/_pointers.scss deleted file mode 100644 index a2f4b5c5068..00000000000 --- a/assets/css/admin/general/_pointers.scss +++ /dev/null @@ -1,13 +0,0 @@ -.edd-pointer { - &.warning { - & h3 { - background: $alert-yellow; - border-color: $wp-yellow-50; - color: $gray-900; - - &:before { - color: $alert-yellow; - } - } - } -} diff --git a/assets/css/admin/general/style.scss b/assets/css/admin/general/style.scss index 5056b2fa81e..f23749dc714 100644 --- a/assets/css/admin/general/style.scss +++ b/assets/css/admin/general/style.scss @@ -1,8 +1,9 @@ @import "admin"; +@import "../../components/admin-nav.scss"; @import "dialog"; @import "item-header"; @import "status-badge"; @import "upgrade"; @import "progress-bar"; -@import "pointers"; @import "help-tip"; +@import "elements"; diff --git a/assets/css/admin/menu.scss b/assets/css/admin/menu.scss index 9812c73283e..305bd16839e 100644 --- a/assets/css/admin/menu.scss +++ b/assets/css/admin/menu.scss @@ -100,3 +100,10 @@ a.edd-sidebar__upgrade-pro:hover { color: $white !important; font-weight: 600; } + +.edd-admin-menu__new { + color: $warning; + vertical-align: super; + font-size: 9px; + margin-left: 3px; +} diff --git a/assets/css/admin/notifications/style.scss b/assets/css/admin/notifications/style.scss index 18a642f134a..247209d1c1d 100644 --- a/assets/css/admin/notifications/style.scss +++ b/assets/css/admin/notifications/style.scss @@ -1,3 +1,5 @@ +@import '../../variables/variables'; + /* Notifications -------------------------------------------------------------- */ .edd-overlay { @@ -76,7 +78,7 @@ body.admin-bar #edd-notifications-panel { color: #005ae0; } .edd-notification--icon.edd-notification--icon-warning { - color: #f18200; + color: $warning; } .edd-notification--icon.edd-notification--icon-error { color: #df2a4a; diff --git a/assets/css/admin/onboarding/style.scss b/assets/css/admin/onboarding/style.scss index 164d3a00707..59d6a602877 100644 --- a/assets/css/admin/onboarding/style.scss +++ b/assets/css/admin/onboarding/style.scss @@ -492,7 +492,8 @@ h1.edd-onboarding__single-step-title { } .edd-onboarding .form-table th, -.edd-onboarding .form-wrap label { +.edd-onboarding .form-wrap label, +.edd-settings-form__email label { color: #141b38; font-weight: 400; text-shadow: none; @@ -704,6 +705,10 @@ h1.edd-onboarding__single-step-title { display: block; margin-bottom: 1em; } + + .edd-toggle { + justify-content: center; + } } .edd-onboarding__selected-plugins { @@ -842,3 +847,23 @@ h1.edd-onboarding__single-step-title { margin: 0; } } + +.edd-settings-form__email { + @media screen and (min-width: $break-medium) { + .edd-form-group:not(.edd-form-group__wide) { + display: table-row; + + label, + .edd-form-group__control { + display: table-cell; + } + + label { + text-align: left; + padding: 20px 10px 20px 0; + width: 200px; + line-height: 1.3; + } + } + } +} diff --git a/assets/css/admin/orders/_customer.scss b/assets/css/admin/orders/_customer.scss new file mode 100644 index 00000000000..a6ccc607b0d --- /dev/null +++ b/assets/css/admin/orders/_customer.scss @@ -0,0 +1,3 @@ +.edd-order-customer__actions { + margin-bottom: 2em; +} diff --git a/assets/css/admin/orders/style.scss b/assets/css/admin/orders/style.scss index 8b9e14d9f55..a0382897507 100644 --- a/assets/css/admin/orders/style.scss +++ b/assets/css/admin/orders/style.scss @@ -1,2 +1,2 @@ - +@import "customer"; @import "refunds-modal"; diff --git a/assets/css/admin/pass-handler.scss b/assets/css/admin/pass-handler.scss index f65fa4e8f7a..2e53ba77d16 100644 --- a/assets/css/admin/pass-handler.scss +++ b/assets/css/admin/pass-handler.scss @@ -52,7 +52,7 @@ background: rgba(0,0,0,.5); justify-content: center; align-items: center; - z-index: 1; + z-index: 110; p { background: $white; @@ -80,4 +80,8 @@ display: flex; gap: 4px; } + + &__heading { + width: 100%; + } } diff --git a/assets/css/admin/pointers/style.scss b/assets/css/admin/pointers/style.scss new file mode 100644 index 00000000000..365576f6fe5 --- /dev/null +++ b/assets/css/admin/pointers/style.scss @@ -0,0 +1,35 @@ +@import "../../variables/variables"; + +$pointer-blue: #2271b1; + +.edd-pointer { + &.warning { + & h3 { + background: $alert-yellow; + border-color: $wp-yellow-50; + color: $gray-900; + + &:before { + color: $alert-yellow; + } + } + } + + &.edd-has-action p:last-of-type { + margin-bottom: 2em; + } + + .edd-pointer-action { + position: absolute; + left: 15px; + bottom: 15px; + background: $pointer-blue; + border-color: $pointer-blue; + + &:hover, + &:focus { + background: darken($pointer-blue, 10%); + border-color: darken($pointer-blue, 10%); + } + } +} diff --git a/assets/css/admin/promos/_about.scss b/assets/css/admin/promos/_about.scss index 9714c5f0ec7..3ad95c1942f 100644 --- a/assets/css/admin/promos/_about.scss +++ b/assets/css/admin/promos/_about.scss @@ -13,33 +13,6 @@ body.edd-about { display: flex; flex-direction: column; - & .edd-about-nav { - display: flex; - flex-direction: row; - justify-content: left; - box-shadow: inset 0 -2px 0 0 $edd-very-light-gray; - margin: 0 20px 20px; - gap: 8px; - - & a.tab { - border-bottom: none; - text-decoration: none; - color: $wp-gray-50; - padding: 10px 12px; - font-weight: 600; - - &:hover, &:focus { - border-bottom: 2px solid $wp-gray-20; - } - - &.active { - color: $edd-notice-blue; - border-bottom: 2px solid $edd-notice-blue; - } - - } - } - & .edd-admin-about-section { box-shadow: 0 2px 5px $edd-very-light-gray; margin: 0 20px 20px; diff --git a/assets/css/admin/promos/_overlay.scss b/assets/css/admin/promos/_overlay.scss index 6709429a9ed..dc3babeb57c 100644 --- a/assets/css/admin/promos/_overlay.scss +++ b/assets/css/admin/promos/_overlay.scss @@ -9,7 +9,7 @@ right: 0; bottom: 0; left: 160px; - z-index: 11; + z-index: 110; justify-content: center; align-items: center; @@ -59,7 +59,7 @@ } } - .button-primary { + .button { padding: 4px 36px; margin: 0 auto .5em; max-width: 360px; diff --git a/assets/css/admin/promos/style.scss b/assets/css/admin/promos/style.scss index aeb3077de55..74a48fdc189 100644 --- a/assets/css/admin/promos/style.scss +++ b/assets/css/admin/promos/style.scss @@ -59,7 +59,7 @@ /* Five Star Review Request ------------------------------------------------------------- */ #edd-admin-notice-five-star-review { - display: grid; + display: grid !important; } #edd_dashboard_sales .edd-promo-notice { diff --git a/assets/css/admin/settings/_subnav.scss b/assets/css/admin/settings/_subnav.scss new file mode 100644 index 00000000000..5c5928a5644 --- /dev/null +++ b/assets/css/admin/settings/_subnav.scss @@ -0,0 +1,47 @@ +.edd-sub-nav { + margin: 0; + display: flex; + justify-content: flex-start; + gap: 4px; + overflow-x: auto; + + &__wrapper { + margin: 16px 0; + } + + li { + border: 2px solid #f0f0f1; + border-radius: 4px; + margin: 0; + + a { + color: $wp-gray-50; + display: block; + padding: 6px 14px; + text-decoration: none; + + &:active, + &:focus { + box-shadow: none; + } + } + + &:hover, + &:active, + &:focus { + background-color: $white; + box-shadow: none; + outline: none; + border-color: $wp-gray-20; + } + + &.current { + background-color: #d7dade; + font-weight: 600; + } + } + + &__wrapper + .notice { + margin-left: 0; + } +} diff --git a/assets/css/admin/settings/style.scss b/assets/css/admin/settings/style.scss index 66fe927bc88..28b0f414da0 100644 --- a/assets/css/admin/settings/style.scss +++ b/assets/css/admin/settings/style.scss @@ -1,8 +1,13 @@ @import "../../variables/variables"; @import 'licenses'; +@import 'subnav'; .edd-settings-content { max-width: $break-huge; + + h3 { + margin: 0; + } } .edd-settings-colors, diff --git a/assets/css/admin/style.scss b/assets/css/admin/style.scss index b0dc24a756f..dbd8c301f8a 100644 --- a/assets/css/admin/style.scss +++ b/assets/css/admin/style.scss @@ -8,7 +8,7 @@ */ @import "../variables/variables"; - +@import "general/style"; @import "downloads/style"; @import "discounts/style"; @@ -25,30 +25,20 @@ @import "gateways/style"; -@import "general/style"; - -@import "settings/style.scss"; +@import "settings/style"; @import "discounts/style"; @import "dashboard/style"; +@import "../components/toggle-checkbox"; + /** * Notes: * * [1] Backwards compatibility for vertical tabs < 3.0 */ -.edd-hidden { - display: none; -} - -.edd-clearfix:after { - content: ""; - display: table; - clear: both; -} - .edd-wrap a, .edd-notice .notice-dismiss { text-decoration: none; @@ -223,74 +213,6 @@ button.edd-round:active { position: relative; } -.edd-settings-sub-nav { - margin: 0 0px 10px 0; - width: 100%; - border-bottom: 1px solid #ccc; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -.edd-settings-sub-nav a { - padding: 13px; - display: block; -} - -.edd-settings-sub-nav a.current { - border-bottom: 4px solid #000; - padding-bottom: 9px; -} - -.admin-color-fresh .edd-settings-sub-nav a.current { - border-bottom-color: #00a0d2; -} - -/* Blue */ -.admin-color-blue .edd-settings-sub-nav a.current { - border-bottom-color: #096484; -} - -/* Coffee */ -.admin-color-coffee .edd-settings-sub-nav a.current { - border-bottom-color: #c7a589; -} - -/* Ectoplasm */ -.admin-color-ectoplasm .edd-settings-sub-nav a.current { - border-bottom-color: #a3b745; -} - -/* Midnight */ -.admin-color-midnight .edd-settings-sub-nav a.current { - border-bottom-color: #e14d43; -} - -/* Ocean */ -.admin-color-ocean .edd-settings-sub-nav a.current { - border-bottom-color: #627c83; -} - -/* Sunrise */ -.admin-color-sunrise .edd-settings-sub-nav a.current { - border-bottom-color: #be3631; -} - -/* Light */ -.admin-color-light .edd-settings-sub-nav a.current { - border-bottom-color: #888; -} - -/* bbPress Color Schemes */ - -/* Evergreen */ -.admin-color-evergreen .edd-settings-sub-nav a.current { - border-bottom-color: #36533f; -} - -/* Mint */ -.admin-color-mint .edd-settings-sub-nav a.current { - border-bottom-color: #4f6d59; -} - .download_page_edd-settings .edd-check-wrapper { clear: both; } @@ -314,6 +236,10 @@ button.edd-round:active { position: relative; height: 28px; cursor: move; + + &.edd-toggle { + padding: 4px 0; + } } .edd-sortable-list li label * { @@ -345,7 +271,6 @@ button.edd-round:active { width: 32px; height: 24px; position: relative; - top: -2px; margin-right: 5px; } @@ -2059,86 +1984,6 @@ h3 + .notice-wrap .notice { color: #555; } - -/* Toggle Styles --------------------------------------------------------------- */ - -.edd-toggle { - position: relative; - display: inline-block; - overflow: visible; -} - -.edd-toggle input[type="checkbox"] { - display: inline-block; - vertical-align: middle; - position: relative; - margin: 0 2px 0 0; - padding: 0; - width: 42px; - min-width: 42px; - height: 24px; - background-color: #ccc; - -webkit-transition: background 0.2s ease; - transition: background 0.2s ease; - border-radius: 34px; - box-shadow: none; - border: none; -} - -.edd-toggle .label { - display: inline-block; - vertical-align: middle; - white-space: nowrap; -} - -.edd-toggle input[type="checkbox"]:before { - position: absolute; - content: ""; - height: 18px; - width: 18px; - left: 3px; - bottom: 3px; - background-color: white; - -webkit-transition: 0.1s transform ease; - transition: 0.1s transform ease; - border-radius: 50%; -} - -@media only screen and (max-width: $break-medium) { - .edd-toggle input[type="checkbox"]:checked:before { - margin: -.1875rem 0 0 -.25rem; - } -} - -.edd-toggle input[type="checkbox"]:checked { - background-color: #007cba; - background-color: var( --wp-admin-theme-color ); -} - -.edd-toggle input[type="checkbox"]:active, -.edd-toggle input[type="checkbox"]:focus { - outline: 0; - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #7e8993; -} - -.edd-toggle input[type="checkbox"]:checked:active, -.edd-toggle input[type="checkbox"]:checked:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; - box-shadow: 0 0 0 1px #fff, 0 0 0 3px var( --wp-admin-theme-color ); -} - -.edd-toggle input[type="checkbox"]:checked:before { - -webkit-transform: translateX(22px); - -ms-transform: translateX(22px); - transform: translateX(22px); -} - -.edd-toggle input+.label, -.edd-toggle .label+input { - margin-left: 5px; -} - /* List Table Styles -------------------------------------------------------------- */ diff --git a/assets/css/components/admin-nav.scss b/assets/css/components/admin-nav.scss new file mode 100644 index 00000000000..e0835b705e5 --- /dev/null +++ b/assets/css/components/admin-nav.scss @@ -0,0 +1,61 @@ +.edd-nav { + &__wrapper { + background-color: $white; + box-shadow: inset 0 -3px $edd-very-light-gray; + display: flex; + justify-content: space-between; + align-items: center; + margin: 0 0 10px -20px; + padding: 0 20px; + position: sticky; + top: 32px; + z-index: 30; + + @media screen and (max-width: $break-medium) { + top: 0; + } + } + + &__tabs { + display: flex; + flex-direction: row; + justify-content: left; + margin: 0; + gap: 8px; + overflow-x: auto; + + li { + display: flex; + align-items: flex-end; + margin: 0; + + &:hover, + &:focus { + box-shadow: inset 0 -3px $wp-gray-20; + } + + &.active { + color: $edd-notice-blue; + box-shadow: inset 0 -3px $edd-notice-blue; + } + } + + a.tab { + border-bottom: none; + box-shadow: none; + outline: none; + display: block; + text-decoration: none; + color: $wp-gray-50; + padding: 18px 20px; + font-weight: 600; + font-size: 16px; + text-align: center; + } + } +} + +.edd-admin-page #wpbody-content > .notice:not(.inline) { + display: none; + margin-left: 0; +} diff --git a/assets/css/components/editor-header.scss b/assets/css/components/editor-header.scss new file mode 100644 index 00000000000..80f5ec08d47 --- /dev/null +++ b/assets/css/components/editor-header.scss @@ -0,0 +1,61 @@ +.edd-editor__header { + height: auto; + border-bottom: 1px solid #e2e4e7; + z-index: 30; + position: sticky; + top: 32px; + margin-left: -20px; + background: $white; + + @media screen and (max-width: $break-medium) { + top: 0; + } + + p.submit { + margin: 0; + padding: 0; + } +} + +.edd-editor__header--actions { + padding: 4px 20px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.edd-editor__title, +.edd-editor__actions { + display: flex; + gap: .5em; + align-items: center; +} + +.edd-editor__actions--test { + display: flex; + gap: .5em; + + @media screen and (max-width: $break-medium) { + .edd-editor__header & { + display: none; + } + } +} + +.edd-editor__status { + display: flex; + gap: .5em; + padding-right: .5em; + + .edd-help-tip { + display: block; + cursor: unset; + margin: 0; + } +} + +@media screen and (max-width: $break-medium) { + .button.edd-back { + display: none !important; + } +} diff --git a/assets/css/components/toggle-button.scss b/assets/css/components/toggle-button.scss new file mode 100644 index 00000000000..bfd7005c740 --- /dev/null +++ b/assets/css/components/toggle-button.scss @@ -0,0 +1,70 @@ +button.edd-button__toggle { + position: relative; + margin: 0; + padding: 0; + width: 36px; + height: 20px; + min-height: unset; + background-color: $wp-border; + transition: background 0.2s ease; + border-radius: 30px; + box-shadow: none; + border: none; + + &:after { + position: absolute; + content: ""; + height: 14px; + width: 14px; + left: 3px; + bottom: 3px; + background-color: $white; + transition: 0.1s transform ease; + border-radius: 50%; + } + + &.edd-button-toggle--active:after { + transform: translateX(16px); + } + + &:active, + &:focus { + outline: 0; + box-shadow: 0 0 0 1px $white, 0 0 0 3px $wp-input-border; + } + + &:hover { + background-color: $wp-input-border; + } + + &:disabled { + opacity: .5; + } + + &.edd-updating { + background-color: $wp-input-border !important; // remove important when enabling buttons + + &:before { + position: absolute; + top: 3px; + @include edd-spinner( + 10px, + $wp-input-border, + $wp-alternate + ); + } + + &:after { + display: none; + } + } + + &.edd-button-toggle--active { + background-color: var(--wp-admin-theme-color) !important; // remove important when enabling buttons + + :active, + :focus { + box-shadow: 0 0 0 1px $white, 0 0 0 3px var(--wp-admin-theme-color); + } + } +} diff --git a/assets/css/components/toggle-checkbox.scss b/assets/css/components/toggle-checkbox.scss new file mode 100644 index 00000000000..7f1d2ec4b6a --- /dev/null +++ b/assets/css/components/toggle-checkbox.scss @@ -0,0 +1,80 @@ +.edd-toggle { + position: relative; + display: flex; + gap: 5px; + overflow: visible; + align-items: center; + + input[type="checkbox"] { + position: relative; + margin: 0; + padding: 0; + width: 42px; + min-width: 42px; + height: 24px; + background-color: #ccc; + transition: background 0.2s ease; + border-radius: 34px; + box-shadow: none; + border: none; + } + + .label { + white-space: nowrap; + } + + input[type="checkbox"]:before { + position: absolute; + content: ""; + height: 18px; + width: 18px; + left: 3px; + bottom: 3px; + background-color: white; + transition: 0.1s transform ease; + border-radius: 50%; + } + + @media only screen and (max-width: $break-medium) { + input[type="checkbox"]:checked:before { + margin: -.1875rem 0 0 -.25rem; + } + } + + input[type="checkbox"]:checked { + background-color: #007cba; + background-color: var( --wp-admin-theme-color ); + } + + input[type="checkbox"]:active, + input[type="checkbox"]:focus { + outline: 0; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #7e8993; + } + + input[type="checkbox"]:checked:active, + input[type="checkbox"]:checked:focus { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px var( --wp-admin-theme-color ); + } + + input[type="checkbox"]:checked:before { + transform: translateX(22px); + } + + input[type="checkbox"]:disabled { + opacity: 0.5; + } + + &.inverse { + & input[type="checkbox"] { + background-color: #007cba; + background-color: var( --wp-admin-theme-color ); + transform: scaleX(-1); + + &:checked { + background-color: #ccc; + } + } + } +} diff --git a/assets/css/edd-admin-emails-rtl.min.css b/assets/css/edd-admin-emails-rtl.min.css new file mode 100644 index 00000000000..7cdf52491c1 --- /dev/null +++ b/assets/css/edd-admin-emails-rtl.min.css @@ -0,0 +1 @@ +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}button.edd-button__toggle{position:relative;margin:0;padding:0;width:36px;height:20px;min-height:unset;background-color:#c3c4c7;transition:background .2s ease;border-radius:30px;box-shadow:none;border:none}button.edd-button__toggle:after{position:absolute;content:"";height:14px;width:14px;right:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}button.edd-button__toggle.edd-button-toggle--active:after{transform:translateX(-16px)}button.edd-button__toggle:active,button.edd-button__toggle:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}button.edd-button__toggle:hover{background-color:#7e8993}button.edd-button__toggle:disabled{opacity:.5}button.edd-button__toggle.edd-updating{background-color:#7e8993!important}button.edd-button__toggle.edd-updating:before{position:absolute;top:3px;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:10px;height:10px;transform:translate3d(50%,-50%,0);will-change:transform}button.edd-button__toggle.edd-updating:after{display:none}button.edd-button__toggle.edd-button-toggle--active{background-color:var(--wp-admin-theme-color)!important}button.edd-button__toggle.edd-button-toggle--active :active,button.edd-button__toggle.edd-button-toggle--active :focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.edd-editor__header{height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:sticky;top:32px;margin-right:-20px;background:#fff}@media screen and (max-width:782px){.edd-editor__header{top:0}}.edd-editor__header p.submit{margin:0;padding:0}.edd-editor__header--actions{padding:4px 20px;display:flex;justify-content:space-between;align-items:center}.edd-editor__actions,.edd-editor__title{display:flex;gap:.5em;align-items:center}.edd-editor__actions--test{display:flex;gap:.5em}@media screen and (max-width:782px){.edd-editor__header .edd-editor__actions--test{display:none}}.edd-editor__status{display:flex;gap:.5em;padding-left:.5em}.edd-editor__status .edd-help-tip{display:block;cursor:unset;margin:0}@media screen and (max-width:782px){.button.edd-back{display:none!important}}.edd-emails__add-new__overlay{position:absolute;left:0;top:40px;background:#fff;padding:8px;border:1px solid #c3c4c7;border-radius:4px;display:flex;flex-direction:column;gap:2px;z-index:1;align-items:stretch}.edd-emails__add-new__overlay button.button{background:none!important;border:none;color:#537994!important;text-align:right}#edd-admin-notice-emails{max-width:100%;width:800px;text-align:right;padding:2em}#edd-admin-notice-emails h2{line-height:unset;margin:0}#edd-admin-notice-emails .edd-extension-manager__body{-ms-grid-rows:unset;grid-template-rows:unset;margin-bottom:1.5em}.edd-promo-notice__ajax #edd-admin-notice-emails{width:400px}.edd-promo-notice__ajax #edd-admin-notice-emails .edd-extension-manager__body{-ms-grid-columns:80px 1fr;grid-template-columns:80px 1fr}#edd-admin-notice-emails .edd-extension-manager__card-group{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));text-align:right;margin:0 auto 1em;width:100%}#edd-admin-notice-emails .edd-extension-manager__card-group .edd-extension-manager__single-card{margin:0 auto 1em}.edd-promo-notice__overlay:not(.edd-promo-notice__ajax) #edd-admin-notice-emails .edd-extension-manager__body{-ms-grid-columns:60px 1fr;grid-template-columns:60px 1fr}.edd-promo-notice__overlay:not(.edd-promo-notice__ajax) #edd-admin-notice-emails .edd-extension-manager__icon{width:58px;height:58px}.edd-promo-notice__overlay:not(.edd-promo-notice__ajax) #edd-admin-notice-emails .edd-extension-manager__icon img{width:40px}#edd-admin-notice-emails .edd-plugin__recommended{display:none}#edd-emails__add{display:flex;align-items:center;gap:8px;justify-content:space-between}.edd-list-table__item td{padding:10px}td.column-status,th.column-status{text-align:left;width:80px}td.column-status{min-height:30px}td.column-status .edd-help-tip{margin-top:2px}@media screen and (max-width:782px){td.column-status{text-align:right;width:unset;min-height:40px}}tr.no-items{display:none}@media screen and (min-width:1280px){.column-primary{width:250px}.column-recipient,.column-sender{width:125px}.column-context,.column-date_modified{width:150px}}table.email_templates{margin-top:1em}.tablenav.top{position:relative}.tablenav .alignright.actions{padding-left:0}.edd-list-table__name{display:flex;align-items:center;gap:6px}.edd-emails__wpsmtp{display:flex;align-items:center;gap:4px;justify-content:flex-end}.edd-emails__wpsmtp a{text-decoration:none;color:#537994}.edd-emails__wpsmtp img{width:20px;height:auto}.edd-email-editor__description{margin:2em 0}.edd-editor__header--actions{position:relative}.edd-editor__header--actions .edd-email-status-badge{position:absolute;left:0;top:53px;margin-left:20px;border:1px solid;padding:12px}.edd-editor__header--actions #submit.edd-updating:before{background:none;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #f9f9f9;border-bottom-color:#7e8993;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-form__email{background:#fff;border:1px solid #e2e4e7;padding:2em;max-width:1440px}@media screen and (min-width:782px){.edd-form__email .edd-form-group{display:-ms-grid;display:grid;-ms-grid-columns:200px 1fr;grid-template-columns:200px 1fr;margin-bottom:2em}.edd-form__email .edd-form-group>.description{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3}.edd-form__email .edd-form-group>.description,.edd-form__email .notice{margin-right:200px}}.edd-email-action-reset{border-color:#d63638!important;color:#d63638!important}.edd-email-action-reset:hover{border-color:#b60012!important;color:#b60012!important}.edd-editor__actions--test+.notice{margin-top:2em} \ No newline at end of file diff --git a/assets/css/edd-admin-emails.min.css b/assets/css/edd-admin-emails.min.css new file mode 100644 index 00000000000..943c3bccfea --- /dev/null +++ b/assets/css/edd-admin-emails.min.css @@ -0,0 +1 @@ +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}button.edd-button__toggle{position:relative;margin:0;padding:0;width:36px;height:20px;min-height:unset;background-color:#c3c4c7;transition:background .2s ease;border-radius:30px;box-shadow:none;border:none}button.edd-button__toggle:after{position:absolute;content:"";height:14px;width:14px;left:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}button.edd-button__toggle.edd-button-toggle--active:after{transform:translateX(16px)}button.edd-button__toggle:active,button.edd-button__toggle:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}button.edd-button__toggle:hover{background-color:#7e8993}button.edd-button__toggle:disabled{opacity:.5}button.edd-button__toggle.edd-updating{background-color:#7e8993!important}button.edd-button__toggle.edd-updating:before{position:absolute;top:3px;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:10px;height:10px;transform:translate3d(-50%,-50%,0);will-change:transform}button.edd-button__toggle.edd-updating:after{display:none}button.edd-button__toggle.edd-button-toggle--active{background-color:var(--wp-admin-theme-color)!important}button.edd-button__toggle.edd-button-toggle--active :active,button.edd-button__toggle.edd-button-toggle--active :focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.edd-editor__header{height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:sticky;top:32px;margin-left:-20px;background:#fff}@media screen and (max-width:782px){.edd-editor__header{top:0}}.edd-editor__header p.submit{margin:0;padding:0}.edd-editor__header--actions{padding:4px 20px;display:flex;justify-content:space-between;align-items:center}.edd-editor__actions,.edd-editor__title{display:flex;gap:.5em;align-items:center}.edd-editor__actions--test{display:flex;gap:.5em}@media screen and (max-width:782px){.edd-editor__header .edd-editor__actions--test{display:none}}.edd-editor__status{display:flex;gap:.5em;padding-right:.5em}.edd-editor__status .edd-help-tip{display:block;cursor:unset;margin:0}@media screen and (max-width:782px){.button.edd-back{display:none!important}}.edd-emails__add-new__overlay{position:absolute;right:0;top:40px;background:#fff;padding:8px;border:1px solid #c3c4c7;border-radius:4px;display:flex;flex-direction:column;gap:2px;z-index:1;align-items:stretch}.edd-emails__add-new__overlay button.button{background:none!important;border:none;color:#537994!important;text-align:left}#edd-admin-notice-emails{max-width:100%;width:800px;text-align:left;padding:2em}#edd-admin-notice-emails h2{line-height:unset;margin:0}#edd-admin-notice-emails .edd-extension-manager__body{-ms-grid-rows:unset;grid-template-rows:unset;margin-bottom:1.5em}.edd-promo-notice__ajax #edd-admin-notice-emails{width:400px}.edd-promo-notice__ajax #edd-admin-notice-emails .edd-extension-manager__body{-ms-grid-columns:80px 1fr;grid-template-columns:80px 1fr}#edd-admin-notice-emails .edd-extension-manager__card-group{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));text-align:left;margin:0 auto 1em;width:100%}#edd-admin-notice-emails .edd-extension-manager__card-group .edd-extension-manager__single-card{margin:0 auto 1em}.edd-promo-notice__overlay:not(.edd-promo-notice__ajax) #edd-admin-notice-emails .edd-extension-manager__body{-ms-grid-columns:60px 1fr;grid-template-columns:60px 1fr}.edd-promo-notice__overlay:not(.edd-promo-notice__ajax) #edd-admin-notice-emails .edd-extension-manager__icon{width:58px;height:58px}.edd-promo-notice__overlay:not(.edd-promo-notice__ajax) #edd-admin-notice-emails .edd-extension-manager__icon img{width:40px}#edd-admin-notice-emails .edd-plugin__recommended{display:none}#edd-emails__add{display:flex;align-items:center;gap:8px;justify-content:space-between}.edd-list-table__item td{padding:10px}td.column-status,th.column-status{text-align:right;width:80px}td.column-status{min-height:30px}td.column-status .edd-help-tip{margin-top:2px}@media screen and (max-width:782px){td.column-status{text-align:left;width:unset;min-height:40px}}tr.no-items{display:none}@media screen and (min-width:1280px){.column-primary{width:250px}.column-recipient,.column-sender{width:125px}.column-context,.column-date_modified{width:150px}}table.email_templates{margin-top:1em}.tablenav.top{position:relative}.tablenav .alignright.actions{padding-right:0}.edd-list-table__name{display:flex;align-items:center;gap:6px}.edd-emails__wpsmtp{display:flex;align-items:center;gap:4px;justify-content:flex-end}.edd-emails__wpsmtp a{text-decoration:none;color:#537994}.edd-emails__wpsmtp img{width:20px;height:auto}.edd-email-editor__description{margin:2em 0}.edd-editor__header--actions{position:relative}.edd-editor__header--actions .edd-email-status-badge{position:absolute;right:0;top:53px;margin-right:20px;border:1px solid;padding:12px}.edd-editor__header--actions #submit.edd-updating:before{background:none;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #f9f9f9;border-bottom-color:#7e8993;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-form__email{background:#fff;border:1px solid #e2e4e7;padding:2em;max-width:1440px}@media screen and (min-width:782px){.edd-form__email .edd-form-group{display:-ms-grid;display:grid;-ms-grid-columns:200px 1fr;grid-template-columns:200px 1fr;margin-bottom:2em}.edd-form__email .edd-form-group>.description{-ms-grid-column:1;grid-column-start:1;-ms-grid-column-span:2;grid-column-end:3}.edd-form__email .edd-form-group>.description,.edd-form__email .notice{margin-left:200px}}.edd-email-action-reset{border-color:#d63638!important;color:#d63638!important}.edd-email-action-reset:hover{border-color:#b60012!important;color:#b60012!important}.edd-editor__actions--test+.notice{margin-top:2em} \ No newline at end of file diff --git a/assets/css/edd-admin-extension-manager-rtl.min.css b/assets/css/edd-admin-extension-manager-rtl.min.css index 4c43f70b939..1513d246d51 100644 --- a/assets/css/edd-admin-extension-manager-rtl.min.css +++ b/assets/css/edd-admin-extension-manager-rtl.min.css @@ -1 +1 @@ -@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-extension-manager__bar{justify-content:space-between;flex-wrap:wrap}.edd-extension-manager__bar,.edd-extension-manager__bar-heading{display:flex;align-items:center;gap:1em}.edd-extension-manager__bar input[type=search]{background-color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBjbGFzcz0idy02IGgtNiI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMjEgMjFsLTUuMTk3LTUuMTk3bTAgMEE3LjUgNy41IDAgMTA1LjE5NiA1LjE5NmE3LjUgNy41IDAgMDAxMC42MDcgMTAuNjA3eiIvPjwvc3ZnPg==);background-size:1em;background-repeat:no-repeat;background-position:3%}.edd-extension-manager__bar input[type=search]:active,.edd-extension-manager__bar input[type=search]:focus,.edd-extension-manager__bar input[type=search]:hover{background-image:none}.edd-extension-manager__body{display:-ms-grid;display:grid;gap:1.5em;-ms-grid-rows:auto 1fr;grid-template-rows:auto 1fr;flex-grow:1}.edd-extension-manager__body img{max-width:100%}.edd-extension-manager__body .notice{max-width:320px}.edd-extension-manager__title{line-height:1.4;margin:0 0 1em 1em}.edd-extension-manager__title a{color:#32373c}.button.edd-extension-manager__action-upgrade{background-color:#008a20;color:#fff}.button.edd-extension-manager__action-upgrade:active,.button.edd-extension-manager__action-upgrade:hover{background-color:#005714;color:#fff}.edd-extension-manager__card--installer .button{display:flex;justify-content:center;align-items:center;gap:5px;margin:0}.edd-extension-manager__card--installer .button:before{margin:0}.edd-extension-manager__card--installer .button.edd-button__install{color:#32373c;border-color:#7e8993}.edd-extension-manager__card--installer .button.edd-button__install:before{content:" ";display:block;width:1em;height:1em;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjExMiAxdjUuMDc2aDEuODUydi43NEw4IDkuNzgyIDUuMDM2IDYuODE3di0uNzQxaDEuODUzVjFoMi4yMjN6bS01LjkyOCA5LjE1MnYxLjg1Mmg5LjYzM3YtMS44NTJoMi45NjR2NC44MTZILjIxOXYtNC44MTdoMi45NjV6IiBmaWxsPSIjOTk5Ii8+PC9zdmc+);background-size:1em}.edd-extension-manager__card--installer .button.edd-button__install.edd-updating:before{background:none;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #f9f9f9;border-bottom-color:#7e8993;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-extension-manager__control{display:flex;align-items:center;gap:.5em;min-height:30px}.edd-extension-manager__control .edd-button__toggle{position:relative;margin:0;padding:0;width:36px;height:20px;min-height:unset;background-color:#c3c4c7;transition:background .2s ease;border-radius:30px;box-shadow:none;border:none}.edd-extension-manager__control .edd-button__toggle:after{position:absolute;content:"";height:14px;width:14px;right:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle:after{transform:translateX(-16px)}.edd-extension-manager__control .edd-button__toggle:active,.edd-extension-manager__control .edd-button__toggle:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-extension-manager__control .edd-button__toggle:hover{background-color:#7e8993}.edd-extension-manager__control .edd-button__toggle:disabled{background-color:#7e8993!important}.edd-extension-manager__control .edd-button__toggle:disabled:before{position:absolute;top:3px;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:10px;height:10px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-extension-manager__control .edd-button__toggle:disabled:after{display:none}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle{background-color:var(--wp-admin-theme-color)}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :active,.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media screen and (max-width:782px){.edd-extension-manager__control{min-height:40px}}a.button.edd-extension-manager__button-settings{display:none;position:absolute;top:1em;left:1em;min-height:unset;height:1.5em;width:1.5em;padding:1em;border:none;background-color:#f9f9f9}a.button.edd-extension-manager__button-settings,a.button.edd-extension-manager__button-settings:active,a.button.edd-extension-manager__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1.25em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active a.button.edd-extension-manager__button-settings{display:block}.edd-extension-manager__card{background-color:#fff;padding:2em;margin:0;display:flex;flex-direction:column;justify-content:space-between}.edd-extension-manager__card.edd-hidden{display:none}.inside .edd-extension-manager__card{padding:0}.edd-extension-manager__features ul{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.edd-extension-manager__features .dashicons-yes{color:#008a20;margin-left:.25em}.edd-extension-manager__wrap{max-width:1440px}.edd-extension-manager__card-group{transition:all .5s}@supports(grid-area:auto){.edd-extension-manager__card-group{display:grid;grid-template-columns:auto;gap:1em;margin-top:24px}}.edd-extension-manager__group{display:-ms-grid;display:grid}.edd-extension-manager__unlock{margin-top:4em}.edd-extension-manager__icon{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;width:78px;height:78px}.edd-extension-manager__icon img{border-radius:12px;display:block;margin:0;padding:9px;width:60px}.edd-extension-manager__image img{display:block;margin:0 auto;max-width:500px;width:100%}.edd-extension-manager__card--installer{border:1px solid #dcdcde;border-radius:3px;padding:0}.edd-extension-manager__card--installer>div{padding:2em}.edd-extension-manager__card--installer>div:not(:last-child){border-bottom:1px solid #e0e0e0}.edd-extension-manager__card--installer .notice{margin:0 -1em!important}.edd-extension-manager__card--installer .notice:not(:last-child){margin-bottom:1em}.edd-extension-manager__card--installer .edd-extension-manager__body{-ms-grid-columns:80px 1fr;grid-template-columns:80px 1fr;-ms-grid-rows:unset;grid-template-rows:unset;position:relative}.edd-extension-manager__card--installer .edd-extension-manager__body p:last-child{margin-bottom:0}.edd-extension-manager__card--installer .edd-extension-manager__actions{background:#f9f9f9;display:flex;justify-content:space-between;align-items:center;padding:1em 2em}.edd-extension-manager__card--installer .edd-extension-manager__actions>:only-child{margin-right:auto}.edd-extension-manager__card--installer .edd-extension-manager__status{font-weight:600}.edd-extension-manager__key-notice{background:#fff;border:1px solid #d63638;border-radius:4px;padding:1em}.edd-extension-manager__key-notice p:first-child{margin-top:0}.edd-extension-manager__step{-ms-grid-row:1;grid-area:1/-1;margin:0}.edd-extension-manager__step:not(:first-of-type){display:none}.edd-extension-manager__step .button{display:table;margin:0 auto;text-align:center;white-space:normal}td .edd-extension-manager__step .button{display:inline-block}.edd-extension-manager__card--horizontal{margin:24px 0;max-width:700px}.edd-extension-manager__card--detailed{background-color:transparent;max-width:700px}.edd-extension-manager__card--detailed-2col{background-color:transparent;max-width:900px}.edd-extension-manager__card--detailed-2col .edd-extension-manager__title,.edd-extension-manager__card--detailed .edd-extension-manager__title{border-bottom:1px solid #ccc;padding-bottom:1em}@media screen and (min-width:600px){.edd-extension-manager__card-group{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}.edd-extension-manager__card--horizontal .edd-extension-manager__body{-ms-grid-columns:minmax(0,300px) 1fr;grid-template-columns:minmax(0,300px) 1fr;-ms-grid-rows:1fr auto;grid-template-rows:1fr auto;grid-auto-flow:column}.edd-extension-manager__card--horizontal .edd-extension-manager__image{-ms-grid-row:1;-ms-grid-row-span:3;grid-row:1/4}.edd-extension-manager__card--horizontal .edd-extension-manager__description,.edd-extension-manager__features{-ms-grid-row-align:center;align-self:center}}@media screen and (min-width:783px){.edd-extension-manager__card--detailed-2col .edd-extension-manager__body{-ms-grid-columns:minmax(0,375px) 1fr;grid-template-columns:minmax(0,375px) 1fr;grid-auto-flow:column}}.edd-extension-manager__card--installer[data-filter*=recommended] .edd-extension-manager__icon{border-bottom-right-radius:0;border-bottom-left-radius:0}.edd-plugin__recommended{font-size:8px;background:#008a20;color:#fff;margin-right:-1px;margin-left:-1px;padding:6px 0;border-radius:0 0 4px 4px;line-height:1;text-align:center;width:80px} \ No newline at end of file +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-extension-manager__bar{justify-content:space-between;flex-wrap:wrap}.edd-extension-manager__bar,.edd-extension-manager__bar-heading{display:flex;align-items:center;gap:1em}.edd-extension-manager__bar input[type=search]{background-color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBjbGFzcz0idy02IGgtNiI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMjEgMjFsLTUuMTk3LTUuMTk3bTAgMEE3LjUgNy41IDAgMTA1LjE5NiA1LjE5NmE3LjUgNy41IDAgMDAxMC42MDcgMTAuNjA3eiIvPjwvc3ZnPg==);background-size:1em;background-repeat:no-repeat;background-position:3%}.edd-extension-manager__bar input[type=search]:active,.edd-extension-manager__bar input[type=search]:focus,.edd-extension-manager__bar input[type=search]:hover{background-image:none}.edd-extension-manager__body{display:-ms-grid;display:grid;gap:1.5em;-ms-grid-rows:auto 1fr;grid-template-rows:auto 1fr;flex-grow:1}.edd-extension-manager__body img{max-width:100%}.edd-extension-manager__body .notice{max-width:320px}.edd-extension-manager__title{line-height:1.4;margin:0 0 1em 1em}.edd-extension-manager__title a{color:#32373c}.button.edd-extension-manager__action-upgrade{background-color:#008a20;color:#fff}.button.edd-extension-manager__action-upgrade:active,.button.edd-extension-manager__action-upgrade:hover{background-color:#005714;color:#fff}.edd-extension-manager__card--installer .button{display:flex;justify-content:center;align-items:center;gap:5px;margin:0}.edd-extension-manager__card--installer .button:before{margin:0}.edd-extension-manager__card--installer .button.edd-button__install{color:#32373c;border-color:#7e8993}.edd-extension-manager__card--installer .button.edd-button__install:before{content:" ";display:block;width:1em;height:1em;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjExMiAxdjUuMDc2aDEuODUydi43NEw4IDkuNzgyIDUuMDM2IDYuODE3di0uNzQxaDEuODUzVjFoMi4yMjN6bS01LjkyOCA5LjE1MnYxLjg1Mmg5LjYzM3YtMS44NTJoMi45NjR2NC44MTZILjIxOXYtNC44MTdoMi45NjV6IiBmaWxsPSIjOTk5Ii8+PC9zdmc+);background-size:1em}.edd-extension-manager__card--installer .button.edd-button__install.edd-updating:before{background:none;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #f9f9f9;border-bottom-color:#7e8993;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-extension-manager__control .edd-button__toggle{position:relative;margin:0;padding:0;width:36px;height:20px;min-height:unset;background-color:#c3c4c7;transition:background .2s ease;border-radius:30px;box-shadow:none;border:none}.edd-extension-manager__control .edd-button__toggle:after{position:absolute;content:"";height:14px;width:14px;right:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle:after{transform:translateX(-16px)}.edd-extension-manager__control .edd-button__toggle:active,.edd-extension-manager__control .edd-button__toggle:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-extension-manager__control .edd-button__toggle:hover{background-color:#7e8993}.edd-extension-manager__control .edd-button__toggle:disabled{background-color:#7e8993!important}.edd-extension-manager__control .edd-button__toggle:disabled:before{position:absolute;top:3px;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:10px;height:10px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-extension-manager__control .edd-button__toggle:disabled:after{display:none}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle{background-color:var(--wp-admin-theme-color)}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :active,.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media screen and (max-width:782px){.edd-extension-manager__control{min-height:40px}}.edd-extension-manager__activate{display:flex;align-items:center;gap:.5em;min-height:30px;border:1px solid #c3c4c7;border-radius:4px;padding:3px 10px}a.button.edd-extension-manager__button-settings{display:none;position:absolute;top:1em;left:1em;min-height:unset;height:1.5em;width:1.5em;padding:1em;border:none;background-color:#f9f9f9}a.button.edd-extension-manager__button-settings,a.button.edd-extension-manager__button-settings:active,a.button.edd-extension-manager__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1.25em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active a.button.edd-extension-manager__button-settings{display:block}.edd-extension-manager__card{background-color:#fff;padding:2em;margin:0;display:flex;flex-direction:column;justify-content:space-between}.edd-extension-manager__card.edd-hidden{display:none}.inside .edd-extension-manager__card{padding:0}.edd-extension-manager__features ul{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.edd-extension-manager__features .dashicons-yes{color:#008a20;margin-left:.25em}.edd-extension-manager__wrap{max-width:1440px}.edd-extension-manager__card-group{transition:all .5s}@supports(grid-area:auto){.edd-extension-manager__card-group{display:grid;grid-template-columns:auto;gap:1em;margin-top:40px}p+.edd-extension-manager__card-group{margin-top:24px}}.edd-extension-manager__group{display:-ms-grid;display:grid}.edd-extension-manager__unlock{margin-top:4em}.edd-extension-manager__icon{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;width:78px;height:78px}.edd-extension-manager__icon img{border-radius:12px;display:block;margin:0;padding:9px;width:60px}.edd-extension-manager__image img{display:block;margin:0 auto;max-width:500px;width:100%}.edd-extension-manager__card--installer{border:1px solid #dcdcde;border-radius:3px;padding:0}.edd-extension-manager__card--installer>div{padding:2em}.edd-extension-manager__card--installer>div:not(:last-child){border-bottom:1px solid #e0e0e0}.edd-extension-manager__card--installer .notice{margin:0 -1em!important}.edd-extension-manager__card--installer .notice:not(:last-child){margin-bottom:1em}.edd-extension-manager__card--installer .edd-extension-manager__body{-ms-grid-columns:80px 1fr;grid-template-columns:80px 1fr;-ms-grid-rows:unset;grid-template-rows:unset;position:relative}.edd-extension-manager__card--installer .edd-extension-manager__body p:last-child{margin-bottom:0}.edd-extension-manager__card--installer .edd-extension-manager__actions{background:#f9f9f9;display:flex;justify-content:space-between;align-items:center;padding:1em 2em}.edd-extension-manager__card--installer .edd-extension-manager__actions>:only-child{margin-right:auto}.edd-extension-manager__card--installer .edd-extension-manager__status{font-weight:600}.edd-extension-manager__card--overlay{text-align:right;padding:0}.edd-extension-manager__card--overlay .edd-extension-manager__card{padding:0}.edd-extension-manager__card--overlay .edd-extension-manager__title{line-height:unset;margin-bottom:.5em}.edd-extension-manager__card--overlay .edd-extension-manager__actions{background-color:#f9f9f9;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-start;align-items:center;gap:.5em;margin:0 -2em -2em;padding:16px 24px}.edd-extension-manager__card--overlay .edd-extension-manager__actions .button{margin:0}.edd-extension-manager__key-notice{background:#fff;border:1px solid #d63638;border-radius:4px;padding:1em}.edd-extension-manager__key-notice p:first-child{margin-top:0}.edd-extension-manager__step{-ms-grid-row:1;grid-area:1/-1;margin:0}.edd-extension-manager__step:not(:first-of-type){display:none}.edd-extension-manager__step .button{display:table;margin:0 auto;text-align:center;white-space:normal}td .edd-extension-manager__step .button{display:inline-block}.edd-settings-wrap.has-product-education .edd-settings-content{width:100%;max-width:100%}.edd-extension-manager__card--horizontal{margin:24px 0;max-width:700px}.edd-extension-manager__card--detailed{background-color:transparent;max-width:700px}.edd-extension-manager__card--detailed-2col{background-color:transparent;max-width:900px;margin:0 auto}.edd-extension-manager__card--detailed-2col h3{font-size:1.5rem;margin-bottom:10px;text-align:center}.edd-extension-manager__card--detailed-2col .edd-extension-manager__body{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:1em}.edd-extension-manager__card--detailed-2col .edd-extension-manager__title,.edd-extension-manager__card--detailed .edd-extension-manager__title{border-bottom:1px solid #ccc;padding-bottom:1em}@media screen and (min-width:600px){.edd-extension-manager__card-group{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}.edd-extension-manager__card--horizontal .edd-extension-manager__body{-ms-grid-columns:minmax(0,300px) 1fr;grid-template-columns:minmax(0,300px) 1fr;-ms-grid-rows:1fr auto;grid-template-rows:1fr auto;grid-auto-flow:column}.edd-extension-manager__card--horizontal .edd-extension-manager__image{-ms-grid-row:1;-ms-grid-row-span:3;grid-row:1/4}.edd-extension-manager__card--horizontal .edd-extension-manager__description,.edd-extension-manager__features{-ms-grid-row-align:center;align-self:center}}@media screen and (min-width:783px){.edd-extension-manager__card--detailed-2col .edd-extension-manager__body{-ms-grid-columns:minmax(0,375px) 1fr;grid-template-columns:minmax(0,375px) 1fr;grid-auto-flow:column}}.edd-extension-manager__card--installer[data-filter*=recommended] .edd-extension-manager__icon{border-bottom-right-radius:0;border-bottom-left-radius:0}.edd-plugin__recommended{font-size:8px;background:#008a20;color:#fff;margin-right:-1px;margin-left:-1px;padding:6px 0;border-radius:0 0 4px 4px;line-height:1;text-align:center;width:80px} \ No newline at end of file diff --git a/assets/css/edd-admin-extension-manager.min.css b/assets/css/edd-admin-extension-manager.min.css index 8a502254393..77bd011b146 100644 --- a/assets/css/edd-admin-extension-manager.min.css +++ b/assets/css/edd-admin-extension-manager.min.css @@ -1 +1 @@ -@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-extension-manager__bar{justify-content:space-between;flex-wrap:wrap}.edd-extension-manager__bar,.edd-extension-manager__bar-heading{display:flex;align-items:center;gap:1em}.edd-extension-manager__bar input[type=search]{background-color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBjbGFzcz0idy02IGgtNiI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMjEgMjFsLTUuMTk3LTUuMTk3bTAgMEE3LjUgNy41IDAgMTA1LjE5NiA1LjE5NmE3LjUgNy41IDAgMDAxMC42MDcgMTAuNjA3eiIvPjwvc3ZnPg==);background-size:1em;background-repeat:no-repeat;background-position:97%}.edd-extension-manager__bar input[type=search]:active,.edd-extension-manager__bar input[type=search]:focus,.edd-extension-manager__bar input[type=search]:hover{background-image:none}.edd-extension-manager__body{display:-ms-grid;display:grid;gap:1.5em;-ms-grid-rows:auto 1fr;grid-template-rows:auto 1fr;flex-grow:1}.edd-extension-manager__body img{max-width:100%}.edd-extension-manager__body .notice{max-width:320px}.edd-extension-manager__title{line-height:1.4;margin:0 1em 1em 0}.edd-extension-manager__title a{color:#32373c}.button.edd-extension-manager__action-upgrade{background-color:#008a20;color:#fff}.button.edd-extension-manager__action-upgrade:active,.button.edd-extension-manager__action-upgrade:hover{background-color:#005714;color:#fff}.edd-extension-manager__card--installer .button{display:flex;justify-content:center;align-items:center;gap:5px;margin:0}.edd-extension-manager__card--installer .button:before{margin:0}.edd-extension-manager__card--installer .button.edd-button__install{color:#32373c;border-color:#7e8993}.edd-extension-manager__card--installer .button.edd-button__install:before{content:" ";display:block;width:1em;height:1em;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjExMiAxdjUuMDc2aDEuODUydi43NEw4IDkuNzgyIDUuMDM2IDYuODE3di0uNzQxaDEuODUzVjFoMi4yMjN6bS01LjkyOCA5LjE1MnYxLjg1Mmg5LjYzM3YtMS44NTJoMi45NjR2NC44MTZILjIxOXYtNC44MTdoMi45NjV6IiBmaWxsPSIjOTk5Ii8+PC9zdmc+);background-size:1em}.edd-extension-manager__card--installer .button.edd-button__install.edd-updating:before{background:none;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #f9f9f9;border-bottom-color:#7e8993;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-extension-manager__control{display:flex;align-items:center;gap:.5em;min-height:30px}.edd-extension-manager__control .edd-button__toggle{position:relative;margin:0;padding:0;width:36px;height:20px;min-height:unset;background-color:#c3c4c7;transition:background .2s ease;border-radius:30px;box-shadow:none;border:none}.edd-extension-manager__control .edd-button__toggle:after{position:absolute;content:"";height:14px;width:14px;left:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle:after{transform:translateX(16px)}.edd-extension-manager__control .edd-button__toggle:active,.edd-extension-manager__control .edd-button__toggle:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-extension-manager__control .edd-button__toggle:hover{background-color:#7e8993}.edd-extension-manager__control .edd-button__toggle:disabled{background-color:#7e8993!important}.edd-extension-manager__control .edd-button__toggle:disabled:before{position:absolute;top:3px;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:10px;height:10px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-extension-manager__control .edd-button__toggle:disabled:after{display:none}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle{background-color:var(--wp-admin-theme-color)}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :active,.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media screen and (max-width:782px){.edd-extension-manager__control{min-height:40px}}a.button.edd-extension-manager__button-settings{display:none;position:absolute;top:1em;right:1em;min-height:unset;height:1.5em;width:1.5em;padding:1em;border:none;background-color:#f9f9f9}a.button.edd-extension-manager__button-settings,a.button.edd-extension-manager__button-settings:active,a.button.edd-extension-manager__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1.25em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active a.button.edd-extension-manager__button-settings{display:block}.edd-extension-manager__card{background-color:#fff;padding:2em;margin:0;display:flex;flex-direction:column;justify-content:space-between}.edd-extension-manager__card.edd-hidden{display:none}.inside .edd-extension-manager__card{padding:0}.edd-extension-manager__features ul{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.edd-extension-manager__features .dashicons-yes{color:#008a20;margin-right:.25em}.edd-extension-manager__wrap{max-width:1440px}.edd-extension-manager__card-group{transition:all .5s}@supports(grid-area:auto){.edd-extension-manager__card-group{display:grid;grid-template-columns:auto;gap:1em;margin-top:24px}}.edd-extension-manager__group{display:-ms-grid;display:grid}.edd-extension-manager__unlock{margin-top:4em}.edd-extension-manager__icon{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;width:78px;height:78px}.edd-extension-manager__icon img{border-radius:12px;display:block;margin:0;padding:9px;width:60px}.edd-extension-manager__image img{display:block;margin:0 auto;max-width:500px;width:100%}.edd-extension-manager__card--installer{border:1px solid #dcdcde;border-radius:3px;padding:0}.edd-extension-manager__card--installer>div{padding:2em}.edd-extension-manager__card--installer>div:not(:last-child){border-bottom:1px solid #e0e0e0}.edd-extension-manager__card--installer .notice{margin:0 -1em!important}.edd-extension-manager__card--installer .notice:not(:last-child){margin-bottom:1em}.edd-extension-manager__card--installer .edd-extension-manager__body{-ms-grid-columns:80px 1fr;grid-template-columns:80px 1fr;-ms-grid-rows:unset;grid-template-rows:unset;position:relative}.edd-extension-manager__card--installer .edd-extension-manager__body p:last-child{margin-bottom:0}.edd-extension-manager__card--installer .edd-extension-manager__actions{background:#f9f9f9;display:flex;justify-content:space-between;align-items:center;padding:1em 2em}.edd-extension-manager__card--installer .edd-extension-manager__actions>:only-child{margin-left:auto}.edd-extension-manager__card--installer .edd-extension-manager__status{font-weight:600}.edd-extension-manager__key-notice{background:#fff;border:1px solid #d63638;border-radius:4px;padding:1em}.edd-extension-manager__key-notice p:first-child{margin-top:0}.edd-extension-manager__step{-ms-grid-row:1;grid-area:1/-1;margin:0}.edd-extension-manager__step:not(:first-of-type){display:none}.edd-extension-manager__step .button{display:table;margin:0 auto;text-align:center;white-space:normal}td .edd-extension-manager__step .button{display:inline-block}.edd-extension-manager__card--horizontal{margin:24px 0;max-width:700px}.edd-extension-manager__card--detailed{background-color:transparent;max-width:700px}.edd-extension-manager__card--detailed-2col{background-color:transparent;max-width:900px}.edd-extension-manager__card--detailed-2col .edd-extension-manager__title,.edd-extension-manager__card--detailed .edd-extension-manager__title{border-bottom:1px solid #ccc;padding-bottom:1em}@media screen and (min-width:600px){.edd-extension-manager__card-group{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}.edd-extension-manager__card--horizontal .edd-extension-manager__body{-ms-grid-columns:minmax(0,300px) 1fr;grid-template-columns:minmax(0,300px) 1fr;-ms-grid-rows:1fr auto;grid-template-rows:1fr auto;grid-auto-flow:column}.edd-extension-manager__card--horizontal .edd-extension-manager__image{-ms-grid-row:1;-ms-grid-row-span:3;grid-row:1/4}.edd-extension-manager__card--horizontal .edd-extension-manager__description,.edd-extension-manager__features{-ms-grid-row-align:center;align-self:center}}@media screen and (min-width:783px){.edd-extension-manager__card--detailed-2col .edd-extension-manager__body{-ms-grid-columns:minmax(0,375px) 1fr;grid-template-columns:minmax(0,375px) 1fr;grid-auto-flow:column}}.edd-extension-manager__card--installer[data-filter*=recommended] .edd-extension-manager__icon{border-bottom-left-radius:0;border-bottom-right-radius:0}.edd-plugin__recommended{font-size:8px;background:#008a20;color:#fff;margin-left:-1px;margin-right:-1px;padding:6px 0;border-radius:0 0 4px 4px;line-height:1;text-align:center;width:80px} \ No newline at end of file +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-extension-manager__bar{justify-content:space-between;flex-wrap:wrap}.edd-extension-manager__bar,.edd-extension-manager__bar-heading{display:flex;align-items:center;gap:1em}.edd-extension-manager__bar input[type=search]{background-color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBjbGFzcz0idy02IGgtNiI+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMjEgMjFsLTUuMTk3LTUuMTk3bTAgMEE3LjUgNy41IDAgMTA1LjE5NiA1LjE5NmE3LjUgNy41IDAgMDAxMC42MDcgMTAuNjA3eiIvPjwvc3ZnPg==);background-size:1em;background-repeat:no-repeat;background-position:97%}.edd-extension-manager__bar input[type=search]:active,.edd-extension-manager__bar input[type=search]:focus,.edd-extension-manager__bar input[type=search]:hover{background-image:none}.edd-extension-manager__body{display:-ms-grid;display:grid;gap:1.5em;-ms-grid-rows:auto 1fr;grid-template-rows:auto 1fr;flex-grow:1}.edd-extension-manager__body img{max-width:100%}.edd-extension-manager__body .notice{max-width:320px}.edd-extension-manager__title{line-height:1.4;margin:0 1em 1em 0}.edd-extension-manager__title a{color:#32373c}.button.edd-extension-manager__action-upgrade{background-color:#008a20;color:#fff}.button.edd-extension-manager__action-upgrade:active,.button.edd-extension-manager__action-upgrade:hover{background-color:#005714;color:#fff}.edd-extension-manager__card--installer .button{display:flex;justify-content:center;align-items:center;gap:5px;margin:0}.edd-extension-manager__card--installer .button:before{margin:0}.edd-extension-manager__card--installer .button.edd-button__install{color:#32373c;border-color:#7e8993}.edd-extension-manager__card--installer .button.edd-button__install:before{content:" ";display:block;width:1em;height:1em;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjExMiAxdjUuMDc2aDEuODUydi43NEw4IDkuNzgyIDUuMDM2IDYuODE3di0uNzQxaDEuODUzVjFoMi4yMjN6bS01LjkyOCA5LjE1MnYxLjg1Mmg5LjYzM3YtMS44NTJoMi45NjR2NC44MTZILjIxOXYtNC44MTdoMi45NjV6IiBmaWxsPSIjOTk5Ii8+PC9zdmc+);background-size:1em}.edd-extension-manager__card--installer .button.edd-button__install.edd-updating:before{background:none;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #f9f9f9;border-bottom-color:#7e8993;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-extension-manager__control .edd-button__toggle{position:relative;margin:0;padding:0;width:36px;height:20px;min-height:unset;background-color:#c3c4c7;transition:background .2s ease;border-radius:30px;box-shadow:none;border:none}.edd-extension-manager__control .edd-button__toggle:after{position:absolute;content:"";height:14px;width:14px;left:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle:after{transform:translateX(16px)}.edd-extension-manager__control .edd-button__toggle:active,.edd-extension-manager__control .edd-button__toggle:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-extension-manager__control .edd-button__toggle:hover{background-color:#7e8993}.edd-extension-manager__control .edd-button__toggle:disabled{background-color:#7e8993!important}.edd-extension-manager__control .edd-button__toggle:disabled:before{position:absolute;top:3px;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:10px;height:10px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-extension-manager__control .edd-button__toggle:disabled:after{display:none}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle{background-color:var(--wp-admin-theme-color)}.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :active,.edd-plugin__active .edd-extension-manager__control .edd-button__toggle :focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}@media screen and (max-width:782px){.edd-extension-manager__control{min-height:40px}}.edd-extension-manager__activate{display:flex;align-items:center;gap:.5em;min-height:30px;border:1px solid #c3c4c7;border-radius:4px;padding:3px 10px}a.button.edd-extension-manager__button-settings{display:none;position:absolute;top:1em;right:1em;min-height:unset;height:1.5em;width:1.5em;padding:1em;border:none;background-color:#f9f9f9}a.button.edd-extension-manager__button-settings,a.button.edd-extension-manager__button-settings:active,a.button.edd-extension-manager__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1.25em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active a.button.edd-extension-manager__button-settings{display:block}.edd-extension-manager__card{background-color:#fff;padding:2em;margin:0;display:flex;flex-direction:column;justify-content:space-between}.edd-extension-manager__card.edd-hidden{display:none}.inside .edd-extension-manager__card{padding:0}.edd-extension-manager__features ul{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.edd-extension-manager__features .dashicons-yes{color:#008a20;margin-right:.25em}.edd-extension-manager__wrap{max-width:1440px}.edd-extension-manager__card-group{transition:all .5s}@supports(grid-area:auto){.edd-extension-manager__card-group{display:grid;grid-template-columns:auto;gap:1em;margin-top:40px}p+.edd-extension-manager__card-group{margin-top:24px}}.edd-extension-manager__group{display:-ms-grid;display:grid}.edd-extension-manager__unlock{margin-top:4em}.edd-extension-manager__icon{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;width:78px;height:78px}.edd-extension-manager__icon img{border-radius:12px;display:block;margin:0;padding:9px;width:60px}.edd-extension-manager__image img{display:block;margin:0 auto;max-width:500px;width:100%}.edd-extension-manager__card--installer{border:1px solid #dcdcde;border-radius:3px;padding:0}.edd-extension-manager__card--installer>div{padding:2em}.edd-extension-manager__card--installer>div:not(:last-child){border-bottom:1px solid #e0e0e0}.edd-extension-manager__card--installer .notice{margin:0 -1em!important}.edd-extension-manager__card--installer .notice:not(:last-child){margin-bottom:1em}.edd-extension-manager__card--installer .edd-extension-manager__body{-ms-grid-columns:80px 1fr;grid-template-columns:80px 1fr;-ms-grid-rows:unset;grid-template-rows:unset;position:relative}.edd-extension-manager__card--installer .edd-extension-manager__body p:last-child{margin-bottom:0}.edd-extension-manager__card--installer .edd-extension-manager__actions{background:#f9f9f9;display:flex;justify-content:space-between;align-items:center;padding:1em 2em}.edd-extension-manager__card--installer .edd-extension-manager__actions>:only-child{margin-left:auto}.edd-extension-manager__card--installer .edd-extension-manager__status{font-weight:600}.edd-extension-manager__card--overlay{text-align:left;padding:0}.edd-extension-manager__card--overlay .edd-extension-manager__card{padding:0}.edd-extension-manager__card--overlay .edd-extension-manager__title{line-height:unset;margin-bottom:.5em}.edd-extension-manager__card--overlay .edd-extension-manager__actions{background-color:#f9f9f9;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-start;align-items:center;gap:.5em;margin:0 -2em -2em;padding:16px 24px}.edd-extension-manager__card--overlay .edd-extension-manager__actions .button{margin:0}.edd-extension-manager__key-notice{background:#fff;border:1px solid #d63638;border-radius:4px;padding:1em}.edd-extension-manager__key-notice p:first-child{margin-top:0}.edd-extension-manager__step{-ms-grid-row:1;grid-area:1/-1;margin:0}.edd-extension-manager__step:not(:first-of-type){display:none}.edd-extension-manager__step .button{display:table;margin:0 auto;text-align:center;white-space:normal}td .edd-extension-manager__step .button{display:inline-block}.edd-settings-wrap.has-product-education .edd-settings-content{width:100%;max-width:100%}.edd-extension-manager__card--horizontal{margin:24px 0;max-width:700px}.edd-extension-manager__card--detailed{background-color:transparent;max-width:700px}.edd-extension-manager__card--detailed-2col{background-color:transparent;max-width:900px;margin:0 auto}.edd-extension-manager__card--detailed-2col h3{font-size:1.5rem;margin-bottom:10px;text-align:center}.edd-extension-manager__card--detailed-2col .edd-extension-manager__body{display:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr;grid-gap:1em}.edd-extension-manager__card--detailed-2col .edd-extension-manager__title,.edd-extension-manager__card--detailed .edd-extension-manager__title{border-bottom:1px solid #ccc;padding-bottom:1em}@media screen and (min-width:600px){.edd-extension-manager__card-group{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}.edd-extension-manager__card--horizontal .edd-extension-manager__body{-ms-grid-columns:minmax(0,300px) 1fr;grid-template-columns:minmax(0,300px) 1fr;-ms-grid-rows:1fr auto;grid-template-rows:1fr auto;grid-auto-flow:column}.edd-extension-manager__card--horizontal .edd-extension-manager__image{-ms-grid-row:1;-ms-grid-row-span:3;grid-row:1/4}.edd-extension-manager__card--horizontal .edd-extension-manager__description,.edd-extension-manager__features{-ms-grid-row-align:center;align-self:center}}@media screen and (min-width:783px){.edd-extension-manager__card--detailed-2col .edd-extension-manager__body{-ms-grid-columns:minmax(0,375px) 1fr;grid-template-columns:minmax(0,375px) 1fr;grid-auto-flow:column}}.edd-extension-manager__card--installer[data-filter*=recommended] .edd-extension-manager__icon{border-bottom-left-radius:0;border-bottom-right-radius:0}.edd-plugin__recommended{font-size:8px;background:#008a20;color:#fff;margin-left:-1px;margin-right:-1px;padding:6px 0;border-radius:0 0 4px 4px;line-height:1;text-align:center;width:80px} \ No newline at end of file diff --git a/assets/css/edd-admin-menu-rtl.min.css b/assets/css/edd-admin-menu-rtl.min.css index 1ca3979cdd4..b2b49e0cac6 100644 --- a/assets/css/edd-admin-menu-rtl.min.css +++ b/assets/css/edd-admin-menu-rtl.min.css @@ -1 +1 @@ -#menu-posts-download .wp-submenu{display:flex;flex-wrap:wrap}#menu-posts-download .wp-submenu li{width:100%}@media screen and (max-width:480px){#menu-posts-download.wp-not-current-submenu .wp-submenu{display:none}}#menu-posts-download a[href^="edit.php?post_type=download"]:focus,#menu-posts-download a[href^="edit.php?post_type=download"]:hover{box-shadow:inset -4px 0 0 0 currentColor;transition:box-shadow .1s linear}#menu-posts-download li>a[href^="post-new.php?post_type=download"]{display:none}#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{border-bottom:1px solid hsla(0,0%,100%,.2);display:block;float:right;margin:13px -15px 8px;content:"";width:calc(100% + 26px)}@media screen and (max-width:782px){#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{margin:20px -20px 8px;width:calc(100% + 30px)}}#adminmenu #menu-posts-download ul.wp-submenu-wrap li{clear:both}#adminmenu #menu-posts-download a.wp-has-current-submenu:after{display:none}ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{left:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-left-color:#f6f7f7;margin-top:2px}a.edd-onboarding__menu-item{background:#dd823b!important;color:#fff!important;font-weight:600}a.edd-onboarding__menu-item:hover{color:#000!important}a.edd-sidebar__upgrade-pro,a.edd-sidebar__upgrade-pro:hover{background-color:#1da867!important;color:#fff!important;font-weight:600} \ No newline at end of file +#menu-posts-download .wp-submenu{display:flex;flex-wrap:wrap}#menu-posts-download .wp-submenu li{width:100%}@media screen and (max-width:480px){#menu-posts-download.wp-not-current-submenu .wp-submenu{display:none}}#menu-posts-download a[href^="edit.php?post_type=download"]:focus,#menu-posts-download a[href^="edit.php?post_type=download"]:hover{box-shadow:inset -4px 0 0 0 currentColor;transition:box-shadow .1s linear}#menu-posts-download li>a[href^="post-new.php?post_type=download"]{display:none}#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{border-bottom:1px solid hsla(0,0%,100%,.2);display:block;float:right;margin:13px -15px 8px;content:"";width:calc(100% + 26px)}@media screen and (max-width:782px){#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{margin:20px -20px 8px;width:calc(100% + 30px)}}#adminmenu #menu-posts-download ul.wp-submenu-wrap li{clear:both}#adminmenu #menu-posts-download a.wp-has-current-submenu:after{display:none}ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{left:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-left-color:#f6f7f7;margin-top:2px}a.edd-onboarding__menu-item{background:#dd823b!important;color:#fff!important;font-weight:600}a.edd-onboarding__menu-item:hover{color:#000!important}a.edd-sidebar__upgrade-pro,a.edd-sidebar__upgrade-pro:hover{background-color:#1da867!important;color:#fff!important;font-weight:600}.edd-admin-menu__new{color:#f18200;vertical-align:super;font-size:9px;margin-right:3px} \ No newline at end of file diff --git a/assets/css/edd-admin-menu.min.css b/assets/css/edd-admin-menu.min.css index d193a2916d4..0444a32526b 100644 --- a/assets/css/edd-admin-menu.min.css +++ b/assets/css/edd-admin-menu.min.css @@ -1 +1 @@ -#menu-posts-download .wp-submenu{display:flex;flex-wrap:wrap}#menu-posts-download .wp-submenu li{width:100%}@media screen and (max-width:480px){#menu-posts-download.wp-not-current-submenu .wp-submenu{display:none}}#menu-posts-download a[href^="edit.php?post_type=download"]:focus,#menu-posts-download a[href^="edit.php?post_type=download"]:hover{box-shadow:inset 4px 0 0 0 currentColor;transition:box-shadow .1s linear}#menu-posts-download li>a[href^="post-new.php?post_type=download"]{display:none}#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{border-bottom:1px solid hsla(0,0%,100%,.2);display:block;float:left;margin:13px -15px 8px;content:"";width:calc(100% + 26px)}@media screen and (max-width:782px){#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{margin:20px -20px 8px;width:calc(100% + 30px)}}#adminmenu #menu-posts-download ul.wp-submenu-wrap li{clear:both}#adminmenu #menu-posts-download a.wp-has-current-submenu:after{display:none}ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{right:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-right-color:#f6f7f7;margin-top:2px}a.edd-onboarding__menu-item{background:#dd823b!important;color:#fff!important;font-weight:600}a.edd-onboarding__menu-item:hover{color:#000!important}a.edd-sidebar__upgrade-pro,a.edd-sidebar__upgrade-pro:hover{background-color:#1da867!important;color:#fff!important;font-weight:600} \ No newline at end of file +#menu-posts-download .wp-submenu{display:flex;flex-wrap:wrap}#menu-posts-download .wp-submenu li{width:100%}@media screen and (max-width:480px){#menu-posts-download.wp-not-current-submenu .wp-submenu{display:none}}#menu-posts-download a[href^="edit.php?post_type=download"]:focus,#menu-posts-download a[href^="edit.php?post_type=download"]:hover{box-shadow:inset 4px 0 0 0 currentColor;transition:box-shadow .1s linear}#menu-posts-download li>a[href^="post-new.php?post_type=download"]{display:none}#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{border-bottom:1px solid hsla(0,0%,100%,.2);display:block;float:left;margin:13px -15px 8px;content:"";width:calc(100% + 26px)}@media screen and (max-width:782px){#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-discount"]:after,#menu-posts-download li:not(:last-child) a[href^="edit.php?post_type=download&page=edd-reports"]:after,#menu-posts-download li:not(:last-child) a[href^="post-new.php?post_type=download"]:after,#menu-posts-download li:nth-last-child(2) a:after{margin:20px -20px 8px;width:calc(100% + 30px)}}#adminmenu #menu-posts-download ul.wp-submenu-wrap li{clear:both}#adminmenu #menu-posts-download a.wp-has-current-submenu:after{display:none}ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{right:0;content:" ";height:0;width:0;position:absolute;pointer-events:none;border:8px solid transparent;border-right-color:#f6f7f7;margin-top:2px}a.edd-onboarding__menu-item{background:#dd823b!important;color:#fff!important;font-weight:600}a.edd-onboarding__menu-item:hover{color:#000!important}a.edd-sidebar__upgrade-pro,a.edd-sidebar__upgrade-pro:hover{background-color:#1da867!important;color:#fff!important;font-weight:600}.edd-admin-menu__new{color:#f18200;vertical-align:super;font-size:9px;margin-left:3px} \ No newline at end of file diff --git a/assets/css/edd-admin-notifications-rtl.min.css b/assets/css/edd-admin-notifications-rtl.min.css index 8849a3e9d88..ed16c4df6fc 100644 --- a/assets/css/edd-admin-notifications-rtl.min.css +++ b/assets/css/edd-admin-notifications-rtl.min.css @@ -1 +1 @@ -.edd-overlay{position:fixed;z-index:1052;top:0;left:0;bottom:0;right:160px;background-color:#141b38;opacity:.5;transition:.5s}.edd-slide-in{transform:translateX(-100%)!important;-webkit-transform:translateX(-100%)!important}#edd-notifications-panel{background-color:#fff;height:100%;width:100%;max-width:570px;position:fixed;z-index:1053;top:0;left:0;bottom:0;overflow-x:hidden;transition:.5s;transform:translateX(0);-webkit-transform:translateX(0)}body.admin-bar #edd-notifications-panel{top:32px}@media screen and (max-width:600px){body.admin-bar #edd-notifications-panel{top:46px}}#edd-notifications-header{display:flex;align-items:center;padding:0 30px;color:#fff;background-color:#0c5d95}#edd-notifications-header h3{color:#fff;flex:1}#edd-notifications-header .edd-close{background:none;border:none;color:#fff;cursor:pointer}#edd-notifications-body{padding:30px}.edd-notification{display:flex;gap:20px;margin-bottom:20px}.edd-notification--icon{color:#00aa63}.edd-notification--icon.edd-notification--icon-info{color:#005ae0}.edd-notification--icon.edd-notification--icon-warning{color:#f18200}.edd-notification--icon.edd-notification--icon-error{color:#df2a4a}.edd-notification--body{flex:1}.edd-notification--header{align-items:center;display:flex;justify-content:space-between;gap:5px;margin-bottom:7px}.edd-notification--title{color:#141b38;flex:1;font-size:16px;font-weight:600;margin:0}.edd-notification--date{color:#71747e;font-size:12px}.edd-notification--actions{flex-wrap:wrap;display:flex;align-items:center;gap:5px;margin-top:10px}.edd-notification--dismiss{background:none!important;border:none!important;box-shadow:none!important;color:#71747e!important;cursor:pointer;padding:0 10px;text-decoration:underline}.edd-notification--dismiss:hover{text-decoration:none} \ No newline at end of file +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-overlay{position:fixed;z-index:1052;top:0;left:0;bottom:0;right:160px;background-color:#141b38;opacity:.5;transition:.5s}.edd-slide-in{transform:translateX(-100%)!important;-webkit-transform:translateX(-100%)!important}#edd-notifications-panel{background-color:#fff;height:100%;width:100%;max-width:570px;position:fixed;z-index:1053;top:0;left:0;bottom:0;overflow-x:hidden;transition:.5s;transform:translateX(0);-webkit-transform:translateX(0)}body.admin-bar #edd-notifications-panel{top:32px}@media screen and (max-width:600px){body.admin-bar #edd-notifications-panel{top:46px}}#edd-notifications-header{display:flex;align-items:center;padding:0 30px;color:#fff;background-color:#0c5d95}#edd-notifications-header h3{color:#fff;flex:1}#edd-notifications-header .edd-close{background:none;border:none;color:#fff;cursor:pointer}#edd-notifications-body{padding:30px}.edd-notification{display:flex;gap:20px;margin-bottom:20px}.edd-notification--icon{color:#00aa63}.edd-notification--icon.edd-notification--icon-info{color:#005ae0}.edd-notification--icon.edd-notification--icon-warning{color:#f18200}.edd-notification--icon.edd-notification--icon-error{color:#df2a4a}.edd-notification--body{flex:1}.edd-notification--header{align-items:center;display:flex;justify-content:space-between;gap:5px;margin-bottom:7px}.edd-notification--title{color:#141b38;flex:1;font-size:16px;font-weight:600;margin:0}.edd-notification--date{color:#71747e;font-size:12px}.edd-notification--actions{flex-wrap:wrap;display:flex;align-items:center;gap:5px;margin-top:10px}.edd-notification--dismiss{background:none!important;border:none!important;box-shadow:none!important;color:#71747e!important;cursor:pointer;padding:0 10px;text-decoration:underline}.edd-notification--dismiss:hover{text-decoration:none} \ No newline at end of file diff --git a/assets/css/edd-admin-notifications.min.css b/assets/css/edd-admin-notifications.min.css index e1d55bc7869..8206388f382 100644 --- a/assets/css/edd-admin-notifications.min.css +++ b/assets/css/edd-admin-notifications.min.css @@ -1 +1 @@ -.edd-overlay{position:fixed;z-index:1052;top:0;right:0;bottom:0;left:160px;background-color:#141b38;opacity:.5;transition:.5s}.edd-slide-in{transform:translateX(100%)!important;-webkit-transform:translateX(100%)!important}#edd-notifications-panel{background-color:#fff;height:100%;width:100%;max-width:570px;position:fixed;z-index:1053;top:0;right:0;bottom:0;overflow-x:hidden;transition:.5s;transform:translateX(0);-webkit-transform:translateX(0)}body.admin-bar #edd-notifications-panel{top:32px}@media screen and (max-width:600px){body.admin-bar #edd-notifications-panel{top:46px}}#edd-notifications-header{display:flex;align-items:center;padding:0 30px;color:#fff;background-color:#0c5d95}#edd-notifications-header h3{color:#fff;flex:1}#edd-notifications-header .edd-close{background:none;border:none;color:#fff;cursor:pointer}#edd-notifications-body{padding:30px}.edd-notification{display:flex;gap:20px;margin-bottom:20px}.edd-notification--icon{color:#00aa63}.edd-notification--icon.edd-notification--icon-info{color:#005ae0}.edd-notification--icon.edd-notification--icon-warning{color:#f18200}.edd-notification--icon.edd-notification--icon-error{color:#df2a4a}.edd-notification--body{flex:1}.edd-notification--header{align-items:center;display:flex;justify-content:space-between;gap:5px;margin-bottom:7px}.edd-notification--title{color:#141b38;flex:1;font-size:16px;font-weight:600;margin:0}.edd-notification--date{color:#71747e;font-size:12px}.edd-notification--actions{flex-wrap:wrap;display:flex;align-items:center;gap:5px;margin-top:10px}.edd-notification--dismiss{background:none!important;border:none!important;box-shadow:none!important;color:#71747e!important;cursor:pointer;padding:0 10px;text-decoration:underline}.edd-notification--dismiss:hover{text-decoration:none} \ No newline at end of file +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-overlay{position:fixed;z-index:1052;top:0;right:0;bottom:0;left:160px;background-color:#141b38;opacity:.5;transition:.5s}.edd-slide-in{transform:translateX(100%)!important;-webkit-transform:translateX(100%)!important}#edd-notifications-panel{background-color:#fff;height:100%;width:100%;max-width:570px;position:fixed;z-index:1053;top:0;right:0;bottom:0;overflow-x:hidden;transition:.5s;transform:translateX(0);-webkit-transform:translateX(0)}body.admin-bar #edd-notifications-panel{top:32px}@media screen and (max-width:600px){body.admin-bar #edd-notifications-panel{top:46px}}#edd-notifications-header{display:flex;align-items:center;padding:0 30px;color:#fff;background-color:#0c5d95}#edd-notifications-header h3{color:#fff;flex:1}#edd-notifications-header .edd-close{background:none;border:none;color:#fff;cursor:pointer}#edd-notifications-body{padding:30px}.edd-notification{display:flex;gap:20px;margin-bottom:20px}.edd-notification--icon{color:#00aa63}.edd-notification--icon.edd-notification--icon-info{color:#005ae0}.edd-notification--icon.edd-notification--icon-warning{color:#f18200}.edd-notification--icon.edd-notification--icon-error{color:#df2a4a}.edd-notification--body{flex:1}.edd-notification--header{align-items:center;display:flex;justify-content:space-between;gap:5px;margin-bottom:7px}.edd-notification--title{color:#141b38;flex:1;font-size:16px;font-weight:600;margin:0}.edd-notification--date{color:#71747e;font-size:12px}.edd-notification--actions{flex-wrap:wrap;display:flex;align-items:center;gap:5px;margin-top:10px}.edd-notification--dismiss{background:none!important;border:none!important;box-shadow:none!important;color:#71747e!important;cursor:pointer;padding:0 10px;text-decoration:underline}.edd-notification--dismiss:hover{text-decoration:none} \ No newline at end of file diff --git a/assets/css/edd-admin-onboarding-rtl.min.css b/assets/css/edd-admin-onboarding-rtl.min.css index 5232aacbbde..34f11f2a3c1 100644 --- a/assets/css/edd-admin-onboarding-rtl.min.css +++ b/assets/css/edd-admin-onboarding-rtl.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}:root body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}:root body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}:root body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}:root body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}:root body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}:root body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}:root body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}:root body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}:root body.admin-color-evergreen{--wp-admin-theme-color:#36533f;--wp-admin-theme-color-darker-10:#2c4433;--wp-admin-theme-color-darker-20:#223428}:root body.admin-color-mint{--wp-admin-theme-color:#4f6d59;--wp-admin-theme-color-darker-10:#445e4d;--wp-admin-theme-color-darker-20:#3a4f41}.edd-onboarding{margin-top:80px}.edd-onboarding__logo img{display:block;width:300px;margin:0 auto 25px}.edd-onboarding__wrapper{max-width:1000px;margin:0 auto;position:relative}@media only screen and (max-width:1280px){.edd-onboarding__wrapper{max-width:850px}}.edd-onboarding__loading{z-index:99;position:fixed;right:0;top:0;width:100%;height:100%;padding-right:80px;padding-top:8px;display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center}.edd-onboarding__loading:before{position:absolute;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:35px;height:35px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-onboarding__loading .edd-onboarding__loading-status{display:block;text-align:center;color:#000;flex-basis:100%;margin-top:80px}@media only screen and (max-width:600px){.edd-onboarding__loading{padding-right:0}}.edd-onboarding__loading-in-progress .edd-onboarding__single-step,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen{position:relative}.edd-onboarding__loading-in-progress .edd-onboarding__single-step:before,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen:before{content:"";position:absolute;right:0;top:0;width:100%;height:100%;background:hsla(0,0%,100%,.85);z-index:95}.edd-onboarding__steps{margin-top:25px}.edd-onboarding__steps ul{display:flex;gap:15px;position:relative}.edd-onboarding__steps ul:before{position:absolute;top:16px;right:50%;transform:translateX(50%);width:80%;height:2px;background:#dedfe0;content:"";z-index:-1}.edd-onboarding__steps ul li{flex:1;text-align:center}.edd-onboarding__steps ul li a{display:block;padding:5px 10px;color:#8a8e92;text-align:center;font-size:12px;text-decoration:none}.edd-onboarding__steps ul li a span{color:#fff;width:25px;height:25px;line-height:25px;font-size:12px;font-weight:400;border-radius:50%;background:#c2c4c6;display:inline-block;text-align:center;margin-bottom:10px;position:relative;box-shadow:none}.edd-onboarding__steps ul li a span:before{left:-8px}.edd-onboarding__steps ul li a span:after,.edd-onboarding__steps ul li a span:before{position:absolute;top:50%;transform:translateY(-50%);width:8px;height:10px;background:#f0f0f1;content:"";z-index:-1}.edd-onboarding__steps ul li a span:after{right:-8px}.edd-onboarding__steps ul li.active-step a,.edd-onboarding__steps ul li.active-step a small{color:#007cba;color:var(--wp-admin-theme-color);font-weight:500}.edd-onboarding__steps ul li.active-step a span{background:#007cba;background:var(--wp-admin-theme-color);box-shadow:0 0 4px 1px rgba(#007cba,.3);box-shadow:0 0 4px 1px rgba(var(--wp-admin-theme-color),.3)}.edd-onboarding__steps ul li.completed-step a span{width:25px;height:25px;line-height:25px;font-size:14px;background:#00ba37;box-shadow:none}.edd-onboarding__steps__name{color:#646970;display:block;font-size:11px}@media only screen and (max-width:600px){.edd-onboarding__steps ul li.completed-step a span,.edd-onboarding__steps ul li a span{width:20px;height:20px;line-height:20px}.edd-onboarding__steps__name{font-size:10px}}.edd-onboarding__current-step{position:relative}.edd-onboarding__single-step{background:#fff;border:1px solid #dedfe0;border-radius:3px;position:relative}.edd-onboarding__single-step-inner{padding:70px 140px 40px}.edd-onboarding__single-step-inner.equal{padding:70px 140px}@media only screen and (max-width:960px){.edd-onboarding__single-step-inner{padding:35px 70px 20px}.edd-onboarding__single-step-inner.equal{padding:35px 70px}}@media only screen and (max-width:600px){.edd-onboarding__single-step-inner{padding:17px 35px 10px}.edd-onboarding__single-step-inner.equal{padding:17px 35px}}.edd-onboarding__steps-indicator{opacity:.6;display:block}h1.edd-onboarding__single-step-title{font-size:24px;color:#141b38;font-weight:600}.edd-onboarding__single-step-subtitle{font-size:16px;line-height:22px;color:#141b38;font-weight:400;max-width:90%}.edd-onboarding__welcome-screen{width:100%;height:100%;background:#fff;display:flex;align-items:center}.edd-onboarding__welcome-screen h1{line-height:2rem}.edd-onboarding__welcome-screen-inner{padding:100px 80px;text-align:center}.edd-onboarding__testimonials-wrapper{display:-ms-grid;display:grid;gap:1em}.edd-onboarding__testimonial{display:flex;font-size:1rem;text-align:right;justify-content:space-between;gap:2em;align-items:center}.edd-onboarding__testimonial:not(:last-of-type){border-bottom:1px solid #dedfe0;padding-bottom:2em}.edd-onboarding__testimonial-content{flex-grow:1}.edd-onboarding__testimonial-content>span.big{font-weight:600;font-size:15px;font-style:italic}.edd-onboarding__testimonial-avatar{width:75px;height:75px;border-radius:50%;display:block}.edd-onboarding__testimonial-info{display:flex;flex-direction:column;gap:.25em}.edd-onboarding__testimonial-info>.testimonial-name{font-weight:600}.edd-onboarding__testimonial-info>.testimonial-company{font-size:10px;font-style:italic}.edd-onboarding__testimonial-info>.testimonial-stars>span{color:#ffbb38;font-size:12px;height:12px;width:12px}.edd-onboarding__welcome-screen-get-started{color:#fff!important;background:#00ba37!important;border-color:#00ba37!important;margin:1em auto!important}.edd-onboarding__welcome-screen-get-started:hover{color:#fff!important;background:#008a20!important}.edd-onboarding__plugins-list{border-top:1px solid hsla(0,0%,92.9%,.5)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin{padding:28px 20px;border-bottom:1px solid hsla(0,0%,92.9%,.5);border-right:1px solid hsla(0,0%,92.9%,.5);border-left:1px solid hsla(0,0%,92.9%,.5);transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin h3{margin-top:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin p{margin-bottom:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control{width:100px;display:flex;justify-content:flex-end}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control{padding:0;margin:0;position:relative}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control__indicator{position:relative;top:0}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-external-link{text-decoration:none}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-details label{display:flex;align-items:center;justify-content:space-between;gap:1em}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled:hover{background:rgba(114,178,129,.04)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover{background:rgba(#007cba,.02);background:rgba(var(--wp-admin-theme-color),.02)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details h3,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details p{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer{border-top:1px solid #ededed;padding:35px 50px;display:flex;justify-content:space-between;align-items:center}.edd-onboarding__single-step-footer .edd-onboarding__button-back{color:#787c82;text-decoration:none;transition:all .2s ease-in-out;background:none;border:none;cursor:pointer}.edd-onboarding__single-step-footer .edd-onboarding__button-back:hover{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer .edd-onboarding__button-skip-step{opacity:.6}@media only screen and (max-width:600px){.edd-onboarding__single-step-footer{padding:17px 25px;flex-wrap:wrap;gap:5px}}.edd-onboarding__close-and-exit{text-align:center;margin-top:20px}.edd-onboarding__close-and-exit button.button-link{color:#8a8e92!important;text-decoration:none!important}@media only screen and (max-width:782px){.edd-form-group__control{display:flex;align-items:center;gap:10px}}.edd-onboarding input:not([type=checkbox]):not([type=radio]){border:1px solid #dedfe0!important;border-radius:2px!important;padding:2px 8px!important;width:100%}.edd-onboarding .quicktags-toolbar input.ed_button{width:auto}.edd-onboarding .edd-check-wrapper{display:flex;align-items:center}.wp-core-ui .edd-onboarding select{font-size:14px;line-height:2;border-color:#dedfe0;box-shadow:none;border-radius:2px;padding:0 8px 0 24px;min-height:30px;max-width:25rem;-webkit-appearance:none;background-size:16px 16px;cursor:pointer;vertical-align:middle}.edd-onboarding .form-table th{vertical-align:middle}.edd-onboarding .form-table,.edd-onboarding .form-table td,.edd-onboarding .form-table td p{color:#8a8e92;font-size:13px;line-height:18px}.edd-onboarding .form-table th,.edd-onboarding .form-wrap label{color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline}.edd-onboarding td[colspan="2"]{padding:0}.edd-onboarding__stripe-features-listing{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));list-style-type:none;margin-right:0;padding-right:0;margin-top:20px}.edd-onboarding__stripe-features-listing li{list-style-type:none;position:relative;padding-right:28px;color:#3c434a;font-size:12px;margin-bottom:10px;margin-left:10px}.edd-onboarding__stripe-features-listing li:before{position:absolute;top:0;right:0;content:"✓";background:#e9e4fe;color:#635bff;width:20px;height:20px;line-height:20px;text-align:center;border-radius:50%;display:inline-block}.edd-onboarding__stripe-content-holder{max-width:75%;margin:25px auto;background:rgba(241,238,250,.3);padding:50px 40px;border-radius:4px;border:1px solid rgba(241,238,250,.5)}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo{text-align:center;margin-bottom:25px;border-bottom:1px solid #ededed;padding-bottom:25px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo img{max-width:180px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo span{text-align:center;font-size:13px;line-height:20px;display:block;max-width:300px;margin:0 auto}@media only screen and (max-width:960px){.edd-onboarding__stripe-content-holder{padding:25px 20px;max-width:100%}}.edd-onboarding__button-stripe{display:block;text-align:center;margin-top:20px}#edds-stripe-disconnect-reconnect{margin-top:10px}.edd-onboarding__stripe-features-title{display:block;text-align:center;font-size:16px;margin-bottom:10px;color:#625bff;font-weight:500}.edd-onboarding__stripe-additional-text{text-align:center;font-size:11px;line-height:14px;display:block;max-width:400px;margin:30px auto 0;opacity:.6}.checkbox-control{position:relative;padding-right:30px;margin-bottom:15px;cursor:pointer;font-size:18px}.checkbox-control input{position:absolute;z-index:-1;opacity:0}.checkbox-control__indicator{position:absolute;top:2px;right:0;height:25px;width:25px;background:#f0f0f1;border-radius:3px}.checkbox-control:hover input~.checkbox-control__indicator,.checkbox-control input:focus~.checkbox-control__indicator{background:#eaeaec}.checkbox-control:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control input:checked:focus~.checkbox-control__indicator,.checkbox-control input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control input:disabled~.checkbox-control__indicator{background:#00ba37;pointer-events:none}.checkbox-control__indicator:after{content:"";position:absolute;display:none}.checkbox-control input:checked~.checkbox-control__indicator:after{display:block}.checkbox-control--checkbox .checkbox-control__indicator:after{right:9px;top:4px;width:5px;height:12px;border:solid #fff;border-width:0 0 2.5px 2.5px;transform:rotate(-40deg)}.checkbox-control--checkbox input:disabled~.checkbox-control__indicator:after{border-color:#fff}.checkbox-control.small-checkbox{padding-right:24px;margin-bottom:10px;font-size:13px}.small-checkbox .checkbox-control__indicator{top:0;right:0;height:17px;width:17px;background:#eaeaec}.checkbox-control.small-checkbox:hover input~.checkbox-control__indicator,.checkbox-control.small-checkbox input:focus~.checkbox-control__indicator{background:#dedfe0}.checkbox-control.small-checkbox:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked:focus~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control.small-checkbox input:disabled~.checkbox-control__indicator{background:#72b281}.checkbox-control--checkbox.small-checkbox .checkbox-control__indicator:after{right:6px;top:2.5px;width:3px;height:8px;border:solid #f6f7f7;border-width:0 0 2px 2px;transform:rotate(-40deg)}.edd-onboarding__get-suggestions-section{margin-top:30px;text-align:center;padding:50px 50px 40px;background:rgba(12,93,149,.04);border-radius:2px;border:1px solid rgba(12,93,149,.06)}.edd-onboarding__get-suggestions-section h3{margin-top:0;line-height:25px}.edd-onboarding__get-suggestions-section .edd-onboarding__get-suggestions-section_label{display:block;margin-bottom:1em}.edd-onboarding__selected-plugins{text-align:center;margin-top:25px}.edd-onboarding__install-success-wrapper{z-index:99;position:fixed;right:0;top:0;width:100%;height:100%;padding-right:80px;padding-top:8px;display:flex;align-items:center;justify-content:center;font-size:21px}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success{display:flex;flex-wrap:wrap;gap:25px;text-align:center}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success span{display:block;flex-basis:100%}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success .emoji{font-size:65px}@media only screen and (max-width:960px){.edd-onboarding__install-success-wrapper{padding-right:0}}.edd-onboarding__product-files-row td,.edd-onboarding__product-pricing-row td{padding:0}.edd-onboarding__product-image-wrapper{display:flex;justify-content:space-between;gap:4px}.edd-onboarding__pricing-option-pill{display:flex}.edd-onboarding__pricing-option-pill button{display:inline-block;flex:1;border:1px solid #ccc;padding:10px 15px;cursor:pointer}.edd-onboarding__pricing-option-pill button:hover:not(.active){background:#dbdcdd}.edd-onboarding__pricing-option-pill .left-option{border-top-right-radius:2px;border-bottom-right-radius:2px}.edd-onboarding__pricing-option-pill .right-option{border-right:none;border-top-left-radius:2px;border-bottom-left-radius:2px}.edd-onboarding__pricing-option-pill .active{background:#007cba;background:var(--wp-admin-theme-color);border-color:#007cba;border-color:var(--wp-admin-theme-color);border-left-color:#ccc;color:#fff}.no-table-row-padding td{padding:0}.edd-onboarding__product-variable-price{display:none}.edd-onboarding__multi-option-toggle,.edd-onboarding__upload-files-toggle{display:flex;align-items:center}.edd-onboarding__multi-option-toggle span,.edd-onboarding__upload-files-toggle span{margin-right:10px}.edd-onboarding__upload-files-toggle span{color:#1d2327;font-size:1.3em;font-weight:600;display:block;margin-top:1em;margin-bottom:1em}.edd-onboarding__pricing-options-label{display:block;color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline;font-size:14px;margin-top:20px;margin-bottom:20px}.edd-add-repeatable-row{border-top:none;padding-top:8px;margin-bottom:5px}.edd-onboarding__actions{display:flex;gap:1em;justify-content:center;margin-top:2em}.edd-onboarding__actions button.edd-promo-notice-dismiss{margin:0} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}:root body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}:root body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}:root body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}:root body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}:root body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}:root body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}:root body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}:root body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}:root body.admin-color-evergreen{--wp-admin-theme-color:#36533f;--wp-admin-theme-color-darker-10:#2c4433;--wp-admin-theme-color-darker-20:#223428}:root body.admin-color-mint{--wp-admin-theme-color:#4f6d59;--wp-admin-theme-color-darker-10:#445e4d;--wp-admin-theme-color-darker-20:#3a4f41}.edd-onboarding{margin-top:80px}.edd-onboarding__logo img{display:block;width:300px;margin:0 auto 25px}.edd-onboarding__wrapper{max-width:1000px;margin:0 auto;position:relative}@media only screen and (max-width:1280px){.edd-onboarding__wrapper{max-width:850px}}.edd-onboarding__loading{z-index:99;position:fixed;right:0;top:0;width:100%;height:100%;padding-right:80px;padding-top:8px;display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center}.edd-onboarding__loading:before{position:absolute;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:35px;height:35px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-onboarding__loading .edd-onboarding__loading-status{display:block;text-align:center;color:#000;flex-basis:100%;margin-top:80px}@media only screen and (max-width:600px){.edd-onboarding__loading{padding-right:0}}.edd-onboarding__loading-in-progress .edd-onboarding__single-step,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen{position:relative}.edd-onboarding__loading-in-progress .edd-onboarding__single-step:before,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen:before{content:"";position:absolute;right:0;top:0;width:100%;height:100%;background:hsla(0,0%,100%,.85);z-index:95}.edd-onboarding__steps{margin-top:25px}.edd-onboarding__steps ul{display:flex;gap:15px;position:relative}.edd-onboarding__steps ul:before{position:absolute;top:16px;right:50%;transform:translateX(50%);width:80%;height:2px;background:#dedfe0;content:"";z-index:-1}.edd-onboarding__steps ul li{flex:1;text-align:center}.edd-onboarding__steps ul li a{display:block;padding:5px 10px;color:#8a8e92;text-align:center;font-size:12px;text-decoration:none}.edd-onboarding__steps ul li a span{color:#fff;width:25px;height:25px;line-height:25px;font-size:12px;font-weight:400;border-radius:50%;background:#c2c4c6;display:inline-block;text-align:center;margin-bottom:10px;position:relative;box-shadow:none}.edd-onboarding__steps ul li a span:before{left:-8px}.edd-onboarding__steps ul li a span:after,.edd-onboarding__steps ul li a span:before{position:absolute;top:50%;transform:translateY(-50%);width:8px;height:10px;background:#f0f0f1;content:"";z-index:-1}.edd-onboarding__steps ul li a span:after{right:-8px}.edd-onboarding__steps ul li.active-step a,.edd-onboarding__steps ul li.active-step a small{color:#007cba;color:var(--wp-admin-theme-color);font-weight:500}.edd-onboarding__steps ul li.active-step a span{background:#007cba;background:var(--wp-admin-theme-color);box-shadow:0 0 4px 1px rgba(#007cba,.3);box-shadow:0 0 4px 1px rgba(var(--wp-admin-theme-color),.3)}.edd-onboarding__steps ul li.completed-step a span{width:25px;height:25px;line-height:25px;font-size:14px;background:#00ba37;box-shadow:none}.edd-onboarding__steps__name{color:#646970;display:block;font-size:11px}@media only screen and (max-width:600px){.edd-onboarding__steps ul li.completed-step a span,.edd-onboarding__steps ul li a span{width:20px;height:20px;line-height:20px}.edd-onboarding__steps__name{font-size:10px}}.edd-onboarding__current-step{position:relative}.edd-onboarding__single-step{background:#fff;border:1px solid #dedfe0;border-radius:3px;position:relative}.edd-onboarding__single-step-inner{padding:70px 140px 40px}.edd-onboarding__single-step-inner.equal{padding:70px 140px}@media only screen and (max-width:960px){.edd-onboarding__single-step-inner{padding:35px 70px 20px}.edd-onboarding__single-step-inner.equal{padding:35px 70px}}@media only screen and (max-width:600px){.edd-onboarding__single-step-inner{padding:17px 35px 10px}.edd-onboarding__single-step-inner.equal{padding:17px 35px}}.edd-onboarding__steps-indicator{opacity:.6;display:block}h1.edd-onboarding__single-step-title{font-size:24px;color:#141b38;font-weight:600}.edd-onboarding__single-step-subtitle{font-size:16px;line-height:22px;color:#141b38;font-weight:400;max-width:90%}.edd-onboarding__welcome-screen{width:100%;height:100%;background:#fff;display:flex;align-items:center}.edd-onboarding__welcome-screen h1{line-height:2rem}.edd-onboarding__welcome-screen-inner{padding:100px 80px;text-align:center}.edd-onboarding__testimonials-wrapper{display:-ms-grid;display:grid;gap:1em}.edd-onboarding__testimonial{display:flex;font-size:1rem;text-align:right;justify-content:space-between;gap:2em;align-items:center}.edd-onboarding__testimonial:not(:last-of-type){border-bottom:1px solid #dedfe0;padding-bottom:2em}.edd-onboarding__testimonial-content{flex-grow:1}.edd-onboarding__testimonial-content>span.big{font-weight:600;font-size:15px;font-style:italic}.edd-onboarding__testimonial-avatar{width:75px;height:75px;border-radius:50%;display:block}.edd-onboarding__testimonial-info{display:flex;flex-direction:column;gap:.25em}.edd-onboarding__testimonial-info>.testimonial-name{font-weight:600}.edd-onboarding__testimonial-info>.testimonial-company{font-size:10px;font-style:italic}.edd-onboarding__testimonial-info>.testimonial-stars>span{color:#ffbb38;font-size:12px;height:12px;width:12px}.edd-onboarding__welcome-screen-get-started{color:#fff!important;background:#00ba37!important;border-color:#00ba37!important;margin:1em auto!important}.edd-onboarding__welcome-screen-get-started:hover{color:#fff!important;background:#008a20!important}.edd-onboarding__plugins-list{border-top:1px solid hsla(0,0%,92.9%,.5)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin{padding:28px 20px;border-bottom:1px solid hsla(0,0%,92.9%,.5);border-right:1px solid hsla(0,0%,92.9%,.5);border-left:1px solid hsla(0,0%,92.9%,.5);transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin h3{margin-top:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin p{margin-bottom:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control{width:100px;display:flex;justify-content:flex-end}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control{padding:0;margin:0;position:relative}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control__indicator{position:relative;top:0}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-external-link{text-decoration:none}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-details label{display:flex;align-items:center;justify-content:space-between;gap:1em}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled:hover{background:rgba(114,178,129,.04)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover{background:rgba(#007cba,.02);background:rgba(var(--wp-admin-theme-color),.02)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details h3,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details p{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer{border-top:1px solid #ededed;padding:35px 50px;display:flex;justify-content:space-between;align-items:center}.edd-onboarding__single-step-footer .edd-onboarding__button-back{color:#787c82;text-decoration:none;transition:all .2s ease-in-out;background:none;border:none;cursor:pointer}.edd-onboarding__single-step-footer .edd-onboarding__button-back:hover{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer .edd-onboarding__button-skip-step{opacity:.6}@media only screen and (max-width:600px){.edd-onboarding__single-step-footer{padding:17px 25px;flex-wrap:wrap;gap:5px}}.edd-onboarding__close-and-exit{text-align:center;margin-top:20px}.edd-onboarding__close-and-exit button.button-link{color:#8a8e92!important;text-decoration:none!important}@media only screen and (max-width:782px){.edd-form-group__control{display:flex;align-items:center;gap:10px}}.edd-onboarding input:not([type=checkbox]):not([type=radio]){border:1px solid #dedfe0!important;border-radius:2px!important;padding:2px 8px!important;width:100%}.edd-onboarding .quicktags-toolbar input.ed_button{width:auto}.edd-onboarding .edd-check-wrapper{display:flex;align-items:center}.wp-core-ui .edd-onboarding select{font-size:14px;line-height:2;border-color:#dedfe0;box-shadow:none;border-radius:2px;padding:0 8px 0 24px;min-height:30px;max-width:25rem;-webkit-appearance:none;background-size:16px 16px;cursor:pointer;vertical-align:middle}.edd-onboarding .form-table th{vertical-align:middle}.edd-onboarding .form-table,.edd-onboarding .form-table td,.edd-onboarding .form-table td p{color:#8a8e92;font-size:13px;line-height:18px}.edd-onboarding .form-table th,.edd-onboarding .form-wrap label,.edd-settings-form__email label{color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline}.edd-onboarding td[colspan="2"]{padding:0}.edd-onboarding__stripe-features-listing{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));list-style-type:none;margin-right:0;padding-right:0;margin-top:20px}.edd-onboarding__stripe-features-listing li{list-style-type:none;position:relative;padding-right:28px;color:#3c434a;font-size:12px;margin-bottom:10px;margin-left:10px}.edd-onboarding__stripe-features-listing li:before{position:absolute;top:0;right:0;content:"✓";background:#e9e4fe;color:#635bff;width:20px;height:20px;line-height:20px;text-align:center;border-radius:50%;display:inline-block}.edd-onboarding__stripe-content-holder{max-width:75%;margin:25px auto;background:rgba(241,238,250,.3);padding:50px 40px;border-radius:4px;border:1px solid rgba(241,238,250,.5)}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo{text-align:center;margin-bottom:25px;border-bottom:1px solid #ededed;padding-bottom:25px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo img{max-width:180px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo span{text-align:center;font-size:13px;line-height:20px;display:block;max-width:300px;margin:0 auto}@media only screen and (max-width:960px){.edd-onboarding__stripe-content-holder{padding:25px 20px;max-width:100%}}.edd-onboarding__button-stripe{display:block;text-align:center;margin-top:20px}#edds-stripe-disconnect-reconnect{margin-top:10px}.edd-onboarding__stripe-features-title{display:block;text-align:center;font-size:16px;margin-bottom:10px;color:#625bff;font-weight:500}.edd-onboarding__stripe-additional-text{text-align:center;font-size:11px;line-height:14px;display:block;max-width:400px;margin:30px auto 0;opacity:.6}.checkbox-control{position:relative;padding-right:30px;margin-bottom:15px;cursor:pointer;font-size:18px}.checkbox-control input{position:absolute;z-index:-1;opacity:0}.checkbox-control__indicator{position:absolute;top:2px;right:0;height:25px;width:25px;background:#f0f0f1;border-radius:3px}.checkbox-control:hover input~.checkbox-control__indicator,.checkbox-control input:focus~.checkbox-control__indicator{background:#eaeaec}.checkbox-control:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control input:checked:focus~.checkbox-control__indicator,.checkbox-control input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control input:disabled~.checkbox-control__indicator{background:#00ba37;pointer-events:none}.checkbox-control__indicator:after{content:"";position:absolute;display:none}.checkbox-control input:checked~.checkbox-control__indicator:after{display:block}.checkbox-control--checkbox .checkbox-control__indicator:after{right:9px;top:4px;width:5px;height:12px;border:solid #fff;border-width:0 0 2.5px 2.5px;transform:rotate(-40deg)}.checkbox-control--checkbox input:disabled~.checkbox-control__indicator:after{border-color:#fff}.checkbox-control.small-checkbox{padding-right:24px;margin-bottom:10px;font-size:13px}.small-checkbox .checkbox-control__indicator{top:0;right:0;height:17px;width:17px;background:#eaeaec}.checkbox-control.small-checkbox:hover input~.checkbox-control__indicator,.checkbox-control.small-checkbox input:focus~.checkbox-control__indicator{background:#dedfe0}.checkbox-control.small-checkbox:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked:focus~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control.small-checkbox input:disabled~.checkbox-control__indicator{background:#72b281}.checkbox-control--checkbox.small-checkbox .checkbox-control__indicator:after{right:6px;top:2.5px;width:3px;height:8px;border:solid #f6f7f7;border-width:0 0 2px 2px;transform:rotate(-40deg)}.edd-onboarding__get-suggestions-section{margin-top:30px;text-align:center;padding:50px 50px 40px;background:rgba(12,93,149,.04);border-radius:2px;border:1px solid rgba(12,93,149,.06)}.edd-onboarding__get-suggestions-section h3{margin-top:0;line-height:25px}.edd-onboarding__get-suggestions-section .edd-onboarding__get-suggestions-section_label{display:block;margin-bottom:1em}.edd-onboarding__get-suggestions-section .edd-toggle{justify-content:center}.edd-onboarding__selected-plugins{text-align:center;margin-top:25px}.edd-onboarding__install-success-wrapper{z-index:99;position:fixed;right:0;top:0;width:100%;height:100%;padding-right:80px;padding-top:8px;display:flex;align-items:center;justify-content:center;font-size:21px}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success{display:flex;flex-wrap:wrap;gap:25px;text-align:center}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success span{display:block;flex-basis:100%}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success .emoji{font-size:65px}@media only screen and (max-width:960px){.edd-onboarding__install-success-wrapper{padding-right:0}}.edd-onboarding__product-files-row td,.edd-onboarding__product-pricing-row td{padding:0}.edd-onboarding__product-image-wrapper{display:flex;justify-content:space-between;gap:4px}.edd-onboarding__pricing-option-pill{display:flex}.edd-onboarding__pricing-option-pill button{display:inline-block;flex:1;border:1px solid #ccc;padding:10px 15px;cursor:pointer}.edd-onboarding__pricing-option-pill button:hover:not(.active){background:#dbdcdd}.edd-onboarding__pricing-option-pill .left-option{border-top-right-radius:2px;border-bottom-right-radius:2px}.edd-onboarding__pricing-option-pill .right-option{border-right:none;border-top-left-radius:2px;border-bottom-left-radius:2px}.edd-onboarding__pricing-option-pill .active{background:#007cba;background:var(--wp-admin-theme-color);border-color:#007cba;border-color:var(--wp-admin-theme-color);border-left-color:#ccc;color:#fff}.no-table-row-padding td{padding:0}.edd-onboarding__product-variable-price{display:none}.edd-onboarding__multi-option-toggle,.edd-onboarding__upload-files-toggle{display:flex;align-items:center}.edd-onboarding__multi-option-toggle span,.edd-onboarding__upload-files-toggle span{margin-right:10px}.edd-onboarding__upload-files-toggle span{color:#1d2327;font-size:1.3em;font-weight:600;display:block;margin-top:1em;margin-bottom:1em}.edd-onboarding__pricing-options-label{display:block;color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline;font-size:14px;margin-top:20px;margin-bottom:20px}.edd-add-repeatable-row{border-top:none;padding-top:8px;margin-bottom:5px}.edd-onboarding__actions{display:flex;gap:1em;justify-content:center;margin-top:2em}.edd-onboarding__actions button.edd-promo-notice-dismiss{margin:0}@media screen and (min-width:782px){.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide){display:table-row}.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide) .edd-form-group__control,.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide) label{display:table-cell}.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide) label{text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3}} \ No newline at end of file diff --git a/assets/css/edd-admin-onboarding.min.css b/assets/css/edd-admin-onboarding.min.css index 41bff714bb6..b30635b96b8 100644 --- a/assets/css/edd-admin-onboarding.min.css +++ b/assets/css/edd-admin-onboarding.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}:root body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}:root body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}:root body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}:root body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}:root body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}:root body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}:root body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}:root body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}:root body.admin-color-evergreen{--wp-admin-theme-color:#36533f;--wp-admin-theme-color-darker-10:#2c4433;--wp-admin-theme-color-darker-20:#223428}:root body.admin-color-mint{--wp-admin-theme-color:#4f6d59;--wp-admin-theme-color-darker-10:#445e4d;--wp-admin-theme-color-darker-20:#3a4f41}.edd-onboarding{margin-top:80px}.edd-onboarding__logo img{display:block;width:300px;margin:0 auto 25px}.edd-onboarding__wrapper{max-width:1000px;margin:0 auto;position:relative}@media only screen and (max-width:1280px){.edd-onboarding__wrapper{max-width:850px}}.edd-onboarding__loading{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%;padding-left:80px;padding-top:8px;display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center}.edd-onboarding__loading:before{position:absolute;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:35px;height:35px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-onboarding__loading .edd-onboarding__loading-status{display:block;text-align:center;color:#000;flex-basis:100%;margin-top:80px}@media only screen and (max-width:600px){.edd-onboarding__loading{padding-left:0}}.edd-onboarding__loading-in-progress .edd-onboarding__single-step,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen{position:relative}.edd-onboarding__loading-in-progress .edd-onboarding__single-step:before,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen:before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background:hsla(0,0%,100%,.85);z-index:95}.edd-onboarding__steps{margin-top:25px}.edd-onboarding__steps ul{display:flex;gap:15px;position:relative}.edd-onboarding__steps ul:before{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:80%;height:2px;background:#dedfe0;content:"";z-index:-1}.edd-onboarding__steps ul li{flex:1;text-align:center}.edd-onboarding__steps ul li a{display:block;padding:5px 10px;color:#8a8e92;text-align:center;font-size:12px;text-decoration:none}.edd-onboarding__steps ul li a span{color:#fff;width:25px;height:25px;line-height:25px;font-size:12px;font-weight:400;border-radius:50%;background:#c2c4c6;display:inline-block;text-align:center;margin-bottom:10px;position:relative;box-shadow:none}.edd-onboarding__steps ul li a span:before{right:-8px}.edd-onboarding__steps ul li a span:after,.edd-onboarding__steps ul li a span:before{position:absolute;top:50%;transform:translateY(-50%);width:8px;height:10px;background:#f0f0f1;content:"";z-index:-1}.edd-onboarding__steps ul li a span:after{left:-8px}.edd-onboarding__steps ul li.active-step a,.edd-onboarding__steps ul li.active-step a small{color:#007cba;color:var(--wp-admin-theme-color);font-weight:500}.edd-onboarding__steps ul li.active-step a span{background:#007cba;background:var(--wp-admin-theme-color);box-shadow:0 0 4px 1px rgba(#007cba,.3);box-shadow:0 0 4px 1px rgba(var(--wp-admin-theme-color),.3)}.edd-onboarding__steps ul li.completed-step a span{width:25px;height:25px;line-height:25px;font-size:14px;background:#00ba37;box-shadow:none}.edd-onboarding__steps__name{color:#646970;display:block;font-size:11px}@media only screen and (max-width:600px){.edd-onboarding__steps ul li.completed-step a span,.edd-onboarding__steps ul li a span{width:20px;height:20px;line-height:20px}.edd-onboarding__steps__name{font-size:10px}}.edd-onboarding__current-step{position:relative}.edd-onboarding__single-step{background:#fff;border:1px solid #dedfe0;border-radius:3px;position:relative}.edd-onboarding__single-step-inner{padding:70px 140px 40px}.edd-onboarding__single-step-inner.equal{padding:70px 140px}@media only screen and (max-width:960px){.edd-onboarding__single-step-inner{padding:35px 70px 20px}.edd-onboarding__single-step-inner.equal{padding:35px 70px}}@media only screen and (max-width:600px){.edd-onboarding__single-step-inner{padding:17px 35px 10px}.edd-onboarding__single-step-inner.equal{padding:17px 35px}}.edd-onboarding__steps-indicator{opacity:.6;display:block}h1.edd-onboarding__single-step-title{font-size:24px;color:#141b38;font-weight:600}.edd-onboarding__single-step-subtitle{font-size:16px;line-height:22px;color:#141b38;font-weight:400;max-width:90%}.edd-onboarding__welcome-screen{width:100%;height:100%;background:#fff;display:flex;align-items:center}.edd-onboarding__welcome-screen h1{line-height:2rem}.edd-onboarding__welcome-screen-inner{padding:100px 80px;text-align:center}.edd-onboarding__testimonials-wrapper{display:-ms-grid;display:grid;gap:1em}.edd-onboarding__testimonial{display:flex;font-size:1rem;text-align:left;justify-content:space-between;gap:2em;align-items:center}.edd-onboarding__testimonial:not(:last-of-type){border-bottom:1px solid #dedfe0;padding-bottom:2em}.edd-onboarding__testimonial-content{flex-grow:1}.edd-onboarding__testimonial-content>span.big{font-weight:600;font-size:15px;font-style:italic}.edd-onboarding__testimonial-avatar{width:75px;height:75px;border-radius:50%;display:block}.edd-onboarding__testimonial-info{display:flex;flex-direction:column;gap:.25em}.edd-onboarding__testimonial-info>.testimonial-name{font-weight:600}.edd-onboarding__testimonial-info>.testimonial-company{font-size:10px;font-style:italic}.edd-onboarding__testimonial-info>.testimonial-stars>span{color:#ffbb38;font-size:12px;height:12px;width:12px}.edd-onboarding__welcome-screen-get-started{color:#fff!important;background:#00ba37!important;border-color:#00ba37!important;margin:1em auto!important}.edd-onboarding__welcome-screen-get-started:hover{color:#fff!important;background:#008a20!important}.edd-onboarding__plugins-list{border-top:1px solid hsla(0,0%,92.9%,.5)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin{padding:28px 20px;border-bottom:1px solid hsla(0,0%,92.9%,.5);border-left:1px solid hsla(0,0%,92.9%,.5);border-right:1px solid hsla(0,0%,92.9%,.5);transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin h3{margin-top:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin p{margin-bottom:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control{width:100px;display:flex;justify-content:flex-end}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control{padding:0;margin:0;position:relative}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control__indicator{position:relative;top:0}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-external-link{text-decoration:none}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-details label{display:flex;align-items:center;justify-content:space-between;gap:1em}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled:hover{background:rgba(114,178,129,.04)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover{background:rgba(#007cba,.02);background:rgba(var(--wp-admin-theme-color),.02)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details h3,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details p{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer{border-top:1px solid #ededed;padding:35px 50px;display:flex;justify-content:space-between;align-items:center}.edd-onboarding__single-step-footer .edd-onboarding__button-back{color:#787c82;text-decoration:none;transition:all .2s ease-in-out;background:none;border:none;cursor:pointer}.edd-onboarding__single-step-footer .edd-onboarding__button-back:hover{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer .edd-onboarding__button-skip-step{opacity:.6}@media only screen and (max-width:600px){.edd-onboarding__single-step-footer{padding:17px 25px;flex-wrap:wrap;gap:5px}}.edd-onboarding__close-and-exit{text-align:center;margin-top:20px}.edd-onboarding__close-and-exit button.button-link{color:#8a8e92!important;text-decoration:none!important}@media only screen and (max-width:782px){.edd-form-group__control{display:flex;align-items:center;gap:10px}}.edd-onboarding input:not([type=checkbox]):not([type=radio]){border:1px solid #dedfe0!important;border-radius:2px!important;padding:2px 8px!important;width:100%}.edd-onboarding .quicktags-toolbar input.ed_button{width:auto}.edd-onboarding .edd-check-wrapper{display:flex;align-items:center}.wp-core-ui .edd-onboarding select{font-size:14px;line-height:2;border-color:#dedfe0;box-shadow:none;border-radius:2px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background-size:16px 16px;cursor:pointer;vertical-align:middle}.edd-onboarding .form-table th{vertical-align:middle}.edd-onboarding .form-table,.edd-onboarding .form-table td,.edd-onboarding .form-table td p{color:#8a8e92;font-size:13px;line-height:18px}.edd-onboarding .form-table th,.edd-onboarding .form-wrap label{color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline}.edd-onboarding td[colspan="2"]{padding:0}.edd-onboarding__stripe-features-listing{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));list-style-type:none;margin-left:0;padding-left:0;margin-top:20px}.edd-onboarding__stripe-features-listing li{list-style-type:none;position:relative;padding-left:28px;color:#3c434a;font-size:12px;margin-bottom:10px;margin-right:10px}.edd-onboarding__stripe-features-listing li:before{position:absolute;top:0;left:0;content:"✓";background:#e9e4fe;color:#635bff;width:20px;height:20px;line-height:20px;text-align:center;border-radius:50%;display:inline-block}.edd-onboarding__stripe-content-holder{max-width:75%;margin:25px auto;background:rgba(241,238,250,.3);padding:50px 40px;border-radius:4px;border:1px solid rgba(241,238,250,.5)}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo{text-align:center;margin-bottom:25px;border-bottom:1px solid #ededed;padding-bottom:25px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo img{max-width:180px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo span{text-align:center;font-size:13px;line-height:20px;display:block;max-width:300px;margin:0 auto}@media only screen and (max-width:960px){.edd-onboarding__stripe-content-holder{padding:25px 20px;max-width:100%}}.edd-onboarding__button-stripe{display:block;text-align:center;margin-top:20px}#edds-stripe-disconnect-reconnect{margin-top:10px}.edd-onboarding__stripe-features-title{display:block;text-align:center;font-size:16px;margin-bottom:10px;color:#625bff;font-weight:500}.edd-onboarding__stripe-additional-text{text-align:center;font-size:11px;line-height:14px;display:block;max-width:400px;margin:30px auto 0;opacity:.6}.checkbox-control{position:relative;padding-left:30px;margin-bottom:15px;cursor:pointer;font-size:18px}.checkbox-control input{position:absolute;z-index:-1;opacity:0}.checkbox-control__indicator{position:absolute;top:2px;left:0;height:25px;width:25px;background:#f0f0f1;border-radius:3px}.checkbox-control:hover input~.checkbox-control__indicator,.checkbox-control input:focus~.checkbox-control__indicator{background:#eaeaec}.checkbox-control:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control input:checked:focus~.checkbox-control__indicator,.checkbox-control input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control input:disabled~.checkbox-control__indicator{background:#00ba37;pointer-events:none}.checkbox-control__indicator:after{content:"";position:absolute;display:none}.checkbox-control input:checked~.checkbox-control__indicator:after{display:block}.checkbox-control--checkbox .checkbox-control__indicator:after{left:9px;top:4px;width:5px;height:12px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(40deg)}.checkbox-control--checkbox input:disabled~.checkbox-control__indicator:after{border-color:#fff}.checkbox-control.small-checkbox{padding-left:24px;margin-bottom:10px;font-size:13px}.small-checkbox .checkbox-control__indicator{top:0;left:0;height:17px;width:17px;background:#eaeaec}.checkbox-control.small-checkbox:hover input~.checkbox-control__indicator,.checkbox-control.small-checkbox input:focus~.checkbox-control__indicator{background:#dedfe0}.checkbox-control.small-checkbox:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked:focus~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control.small-checkbox input:disabled~.checkbox-control__indicator{background:#72b281}.checkbox-control--checkbox.small-checkbox .checkbox-control__indicator:after{left:6px;top:2.5px;width:3px;height:8px;border:solid #f6f7f7;border-width:0 2px 2px 0;transform:rotate(40deg)}.edd-onboarding__get-suggestions-section{margin-top:30px;text-align:center;padding:50px 50px 40px;background:rgba(12,93,149,.04);border-radius:2px;border:1px solid rgba(12,93,149,.06)}.edd-onboarding__get-suggestions-section h3{margin-top:0;line-height:25px}.edd-onboarding__get-suggestions-section .edd-onboarding__get-suggestions-section_label{display:block;margin-bottom:1em}.edd-onboarding__selected-plugins{text-align:center;margin-top:25px}.edd-onboarding__install-success-wrapper{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%;padding-left:80px;padding-top:8px;display:flex;align-items:center;justify-content:center;font-size:21px}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success{display:flex;flex-wrap:wrap;gap:25px;text-align:center}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success span{display:block;flex-basis:100%}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success .emoji{font-size:65px}@media only screen and (max-width:960px){.edd-onboarding__install-success-wrapper{padding-left:0}}.edd-onboarding__product-files-row td,.edd-onboarding__product-pricing-row td{padding:0}.edd-onboarding__product-image-wrapper{display:flex;justify-content:space-between;gap:4px}.edd-onboarding__pricing-option-pill{display:flex}.edd-onboarding__pricing-option-pill button{display:inline-block;flex:1;border:1px solid #ccc;padding:10px 15px;cursor:pointer}.edd-onboarding__pricing-option-pill button:hover:not(.active){background:#dbdcdd}.edd-onboarding__pricing-option-pill .left-option{border-top-left-radius:2px;border-bottom-left-radius:2px}.edd-onboarding__pricing-option-pill .right-option{border-left:none;border-top-right-radius:2px;border-bottom-right-radius:2px}.edd-onboarding__pricing-option-pill .active{background:#007cba;background:var(--wp-admin-theme-color);border-color:#007cba;border-color:var(--wp-admin-theme-color);border-right-color:#ccc;color:#fff}.no-table-row-padding td{padding:0}.edd-onboarding__product-variable-price{display:none}.edd-onboarding__multi-option-toggle,.edd-onboarding__upload-files-toggle{display:flex;align-items:center}.edd-onboarding__multi-option-toggle span,.edd-onboarding__upload-files-toggle span{margin-left:10px}.edd-onboarding__upload-files-toggle span{color:#1d2327;font-size:1.3em;font-weight:600;display:block;margin-top:1em;margin-bottom:1em}.edd-onboarding__pricing-options-label{display:block;color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline;font-size:14px;margin-top:20px;margin-bottom:20px}.edd-add-repeatable-row{border-top:none;padding-top:8px;margin-bottom:5px}.edd-onboarding__actions{display:flex;gap:1em;justify-content:center;margin-top:2em}.edd-onboarding__actions button.edd-promo-notice-dismiss{margin:0} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}:root body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}:root body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}:root body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}:root body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}:root body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}:root body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}:root body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}:root body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}:root body.admin-color-evergreen{--wp-admin-theme-color:#36533f;--wp-admin-theme-color-darker-10:#2c4433;--wp-admin-theme-color-darker-20:#223428}:root body.admin-color-mint{--wp-admin-theme-color:#4f6d59;--wp-admin-theme-color-darker-10:#445e4d;--wp-admin-theme-color-darker-20:#3a4f41}.edd-onboarding{margin-top:80px}.edd-onboarding__logo img{display:block;width:300px;margin:0 auto 25px}.edd-onboarding__wrapper{max-width:1000px;margin:0 auto;position:relative}@media only screen and (max-width:1280px){.edd-onboarding__wrapper{max-width:850px}}.edd-onboarding__loading{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%;padding-left:80px;padding-top:8px;display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center}.edd-onboarding__loading:before{position:absolute;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:35px;height:35px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-onboarding__loading .edd-onboarding__loading-status{display:block;text-align:center;color:#000;flex-basis:100%;margin-top:80px}@media only screen and (max-width:600px){.edd-onboarding__loading{padding-left:0}}.edd-onboarding__loading-in-progress .edd-onboarding__single-step,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen{position:relative}.edd-onboarding__loading-in-progress .edd-onboarding__single-step:before,.edd-onboarding__loading-in-progress .edd-onboarding__welcome-screen:before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background:hsla(0,0%,100%,.85);z-index:95}.edd-onboarding__steps{margin-top:25px}.edd-onboarding__steps ul{display:flex;gap:15px;position:relative}.edd-onboarding__steps ul:before{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:80%;height:2px;background:#dedfe0;content:"";z-index:-1}.edd-onboarding__steps ul li{flex:1;text-align:center}.edd-onboarding__steps ul li a{display:block;padding:5px 10px;color:#8a8e92;text-align:center;font-size:12px;text-decoration:none}.edd-onboarding__steps ul li a span{color:#fff;width:25px;height:25px;line-height:25px;font-size:12px;font-weight:400;border-radius:50%;background:#c2c4c6;display:inline-block;text-align:center;margin-bottom:10px;position:relative;box-shadow:none}.edd-onboarding__steps ul li a span:before{right:-8px}.edd-onboarding__steps ul li a span:after,.edd-onboarding__steps ul li a span:before{position:absolute;top:50%;transform:translateY(-50%);width:8px;height:10px;background:#f0f0f1;content:"";z-index:-1}.edd-onboarding__steps ul li a span:after{left:-8px}.edd-onboarding__steps ul li.active-step a,.edd-onboarding__steps ul li.active-step a small{color:#007cba;color:var(--wp-admin-theme-color);font-weight:500}.edd-onboarding__steps ul li.active-step a span{background:#007cba;background:var(--wp-admin-theme-color);box-shadow:0 0 4px 1px rgba(#007cba,.3);box-shadow:0 0 4px 1px rgba(var(--wp-admin-theme-color),.3)}.edd-onboarding__steps ul li.completed-step a span{width:25px;height:25px;line-height:25px;font-size:14px;background:#00ba37;box-shadow:none}.edd-onboarding__steps__name{color:#646970;display:block;font-size:11px}@media only screen and (max-width:600px){.edd-onboarding__steps ul li.completed-step a span,.edd-onboarding__steps ul li a span{width:20px;height:20px;line-height:20px}.edd-onboarding__steps__name{font-size:10px}}.edd-onboarding__current-step{position:relative}.edd-onboarding__single-step{background:#fff;border:1px solid #dedfe0;border-radius:3px;position:relative}.edd-onboarding__single-step-inner{padding:70px 140px 40px}.edd-onboarding__single-step-inner.equal{padding:70px 140px}@media only screen and (max-width:960px){.edd-onboarding__single-step-inner{padding:35px 70px 20px}.edd-onboarding__single-step-inner.equal{padding:35px 70px}}@media only screen and (max-width:600px){.edd-onboarding__single-step-inner{padding:17px 35px 10px}.edd-onboarding__single-step-inner.equal{padding:17px 35px}}.edd-onboarding__steps-indicator{opacity:.6;display:block}h1.edd-onboarding__single-step-title{font-size:24px;color:#141b38;font-weight:600}.edd-onboarding__single-step-subtitle{font-size:16px;line-height:22px;color:#141b38;font-weight:400;max-width:90%}.edd-onboarding__welcome-screen{width:100%;height:100%;background:#fff;display:flex;align-items:center}.edd-onboarding__welcome-screen h1{line-height:2rem}.edd-onboarding__welcome-screen-inner{padding:100px 80px;text-align:center}.edd-onboarding__testimonials-wrapper{display:-ms-grid;display:grid;gap:1em}.edd-onboarding__testimonial{display:flex;font-size:1rem;text-align:left;justify-content:space-between;gap:2em;align-items:center}.edd-onboarding__testimonial:not(:last-of-type){border-bottom:1px solid #dedfe0;padding-bottom:2em}.edd-onboarding__testimonial-content{flex-grow:1}.edd-onboarding__testimonial-content>span.big{font-weight:600;font-size:15px;font-style:italic}.edd-onboarding__testimonial-avatar{width:75px;height:75px;border-radius:50%;display:block}.edd-onboarding__testimonial-info{display:flex;flex-direction:column;gap:.25em}.edd-onboarding__testimonial-info>.testimonial-name{font-weight:600}.edd-onboarding__testimonial-info>.testimonial-company{font-size:10px;font-style:italic}.edd-onboarding__testimonial-info>.testimonial-stars>span{color:#ffbb38;font-size:12px;height:12px;width:12px}.edd-onboarding__welcome-screen-get-started{color:#fff!important;background:#00ba37!important;border-color:#00ba37!important;margin:1em auto!important}.edd-onboarding__welcome-screen-get-started:hover{color:#fff!important;background:#008a20!important}.edd-onboarding__plugins-list{border-top:1px solid hsla(0,0%,92.9%,.5)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin{padding:28px 20px;border-bottom:1px solid hsla(0,0%,92.9%,.5);border-left:1px solid hsla(0,0%,92.9%,.5);border-right:1px solid hsla(0,0%,92.9%,.5);transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin h3{margin-top:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin p{margin-bottom:0;transition:all .25s ease-out}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control{width:100px;display:flex;justify-content:flex-end}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control{padding:0;margin:0;position:relative}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-control .checkbox-control__indicator{position:relative;top:0}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-external-link{text-decoration:none}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin .edd-onboarding__plugins-details label{display:flex;align-items:center;justify-content:space-between;gap:1em}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin.disabled:hover{background:rgba(114,178,129,.04)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover{background:rgba(#007cba,.02);background:rgba(var(--wp-admin-theme-color),.02)}.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details h3,.edd-onboarding__plugins-list .edd-onboarding__plugins-plugin:hover .edd-onboarding__plugins-details p{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer{border-top:1px solid #ededed;padding:35px 50px;display:flex;justify-content:space-between;align-items:center}.edd-onboarding__single-step-footer .edd-onboarding__button-back{color:#787c82;text-decoration:none;transition:all .2s ease-in-out;background:none;border:none;cursor:pointer}.edd-onboarding__single-step-footer .edd-onboarding__button-back:hover{color:#007cba;color:var(--wp-admin-theme-color)}.edd-onboarding__single-step-footer .edd-onboarding__button-skip-step{opacity:.6}@media only screen and (max-width:600px){.edd-onboarding__single-step-footer{padding:17px 25px;flex-wrap:wrap;gap:5px}}.edd-onboarding__close-and-exit{text-align:center;margin-top:20px}.edd-onboarding__close-and-exit button.button-link{color:#8a8e92!important;text-decoration:none!important}@media only screen and (max-width:782px){.edd-form-group__control{display:flex;align-items:center;gap:10px}}.edd-onboarding input:not([type=checkbox]):not([type=radio]){border:1px solid #dedfe0!important;border-radius:2px!important;padding:2px 8px!important;width:100%}.edd-onboarding .quicktags-toolbar input.ed_button{width:auto}.edd-onboarding .edd-check-wrapper{display:flex;align-items:center}.wp-core-ui .edd-onboarding select{font-size:14px;line-height:2;border-color:#dedfe0;box-shadow:none;border-radius:2px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background-size:16px 16px;cursor:pointer;vertical-align:middle}.edd-onboarding .form-table th{vertical-align:middle}.edd-onboarding .form-table,.edd-onboarding .form-table td,.edd-onboarding .form-table td p{color:#8a8e92;font-size:13px;line-height:18px}.edd-onboarding .form-table th,.edd-onboarding .form-wrap label,.edd-settings-form__email label{color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline}.edd-onboarding td[colspan="2"]{padding:0}.edd-onboarding__stripe-features-listing{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));list-style-type:none;margin-left:0;padding-left:0;margin-top:20px}.edd-onboarding__stripe-features-listing li{list-style-type:none;position:relative;padding-left:28px;color:#3c434a;font-size:12px;margin-bottom:10px;margin-right:10px}.edd-onboarding__stripe-features-listing li:before{position:absolute;top:0;left:0;content:"✓";background:#e9e4fe;color:#635bff;width:20px;height:20px;line-height:20px;text-align:center;border-radius:50%;display:inline-block}.edd-onboarding__stripe-content-holder{max-width:75%;margin:25px auto;background:rgba(241,238,250,.3);padding:50px 40px;border-radius:4px;border:1px solid rgba(241,238,250,.5)}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo{text-align:center;margin-bottom:25px;border-bottom:1px solid #ededed;padding-bottom:25px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo img{max-width:180px}.edd-onboarding__stripe-content-holder .edd-onboarding__stripe-content-logo span{text-align:center;font-size:13px;line-height:20px;display:block;max-width:300px;margin:0 auto}@media only screen and (max-width:960px){.edd-onboarding__stripe-content-holder{padding:25px 20px;max-width:100%}}.edd-onboarding__button-stripe{display:block;text-align:center;margin-top:20px}#edds-stripe-disconnect-reconnect{margin-top:10px}.edd-onboarding__stripe-features-title{display:block;text-align:center;font-size:16px;margin-bottom:10px;color:#625bff;font-weight:500}.edd-onboarding__stripe-additional-text{text-align:center;font-size:11px;line-height:14px;display:block;max-width:400px;margin:30px auto 0;opacity:.6}.checkbox-control{position:relative;padding-left:30px;margin-bottom:15px;cursor:pointer;font-size:18px}.checkbox-control input{position:absolute;z-index:-1;opacity:0}.checkbox-control__indicator{position:absolute;top:2px;left:0;height:25px;width:25px;background:#f0f0f1;border-radius:3px}.checkbox-control:hover input~.checkbox-control__indicator,.checkbox-control input:focus~.checkbox-control__indicator{background:#eaeaec}.checkbox-control:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control input:checked:focus~.checkbox-control__indicator,.checkbox-control input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control input:disabled~.checkbox-control__indicator{background:#00ba37;pointer-events:none}.checkbox-control__indicator:after{content:"";position:absolute;display:none}.checkbox-control input:checked~.checkbox-control__indicator:after{display:block}.checkbox-control--checkbox .checkbox-control__indicator:after{left:9px;top:4px;width:5px;height:12px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(40deg)}.checkbox-control--checkbox input:disabled~.checkbox-control__indicator:after{border-color:#fff}.checkbox-control.small-checkbox{padding-left:24px;margin-bottom:10px;font-size:13px}.small-checkbox .checkbox-control__indicator{top:0;left:0;height:17px;width:17px;background:#eaeaec}.checkbox-control.small-checkbox:hover input~.checkbox-control__indicator,.checkbox-control.small-checkbox input:focus~.checkbox-control__indicator{background:#dedfe0}.checkbox-control.small-checkbox:hover input:not([disabled]):checked~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked:focus~.checkbox-control__indicator,.checkbox-control.small-checkbox input:checked~.checkbox-control__indicator{background:#007cba;background:var(--wp-admin-theme-color)}.checkbox-control.small-checkbox input:disabled~.checkbox-control__indicator{background:#72b281}.checkbox-control--checkbox.small-checkbox .checkbox-control__indicator:after{left:6px;top:2.5px;width:3px;height:8px;border:solid #f6f7f7;border-width:0 2px 2px 0;transform:rotate(40deg)}.edd-onboarding__get-suggestions-section{margin-top:30px;text-align:center;padding:50px 50px 40px;background:rgba(12,93,149,.04);border-radius:2px;border:1px solid rgba(12,93,149,.06)}.edd-onboarding__get-suggestions-section h3{margin-top:0;line-height:25px}.edd-onboarding__get-suggestions-section .edd-onboarding__get-suggestions-section_label{display:block;margin-bottom:1em}.edd-onboarding__get-suggestions-section .edd-toggle{justify-content:center}.edd-onboarding__selected-plugins{text-align:center;margin-top:25px}.edd-onboarding__install-success-wrapper{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%;padding-left:80px;padding-top:8px;display:flex;align-items:center;justify-content:center;font-size:21px}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success{display:flex;flex-wrap:wrap;gap:25px;text-align:center}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success span{display:block;flex-basis:100%}.edd-onboarding__install-success-wrapper .edd-onboarding__install-success .emoji{font-size:65px}@media only screen and (max-width:960px){.edd-onboarding__install-success-wrapper{padding-left:0}}.edd-onboarding__product-files-row td,.edd-onboarding__product-pricing-row td{padding:0}.edd-onboarding__product-image-wrapper{display:flex;justify-content:space-between;gap:4px}.edd-onboarding__pricing-option-pill{display:flex}.edd-onboarding__pricing-option-pill button{display:inline-block;flex:1;border:1px solid #ccc;padding:10px 15px;cursor:pointer}.edd-onboarding__pricing-option-pill button:hover:not(.active){background:#dbdcdd}.edd-onboarding__pricing-option-pill .left-option{border-top-left-radius:2px;border-bottom-left-radius:2px}.edd-onboarding__pricing-option-pill .right-option{border-left:none;border-top-right-radius:2px;border-bottom-right-radius:2px}.edd-onboarding__pricing-option-pill .active{background:#007cba;background:var(--wp-admin-theme-color);border-color:#007cba;border-color:var(--wp-admin-theme-color);border-right-color:#ccc;color:#fff}.no-table-row-padding td{padding:0}.edd-onboarding__product-variable-price{display:none}.edd-onboarding__multi-option-toggle,.edd-onboarding__upload-files-toggle{display:flex;align-items:center}.edd-onboarding__multi-option-toggle span,.edd-onboarding__upload-files-toggle span{margin-left:10px}.edd-onboarding__upload-files-toggle span{color:#1d2327;font-size:1.3em;font-weight:600;display:block;margin-top:1em;margin-bottom:1em}.edd-onboarding__pricing-options-label{display:block;color:#141b38;font-weight:400;text-shadow:none;vertical-align:baseline;font-size:14px;margin-top:20px;margin-bottom:20px}.edd-add-repeatable-row{border-top:none;padding-top:8px;margin-bottom:5px}.edd-onboarding__actions{display:flex;gap:1em;justify-content:center;margin-top:2em}.edd-onboarding__actions button.edd-promo-notice-dismiss{margin:0}@media screen and (min-width:782px){.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide){display:table-row}.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide) .edd-form-group__control,.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide) label{display:table-cell}.edd-settings-form__email .edd-form-group:not(.edd-form-group__wide) label{text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3}} \ No newline at end of file diff --git a/assets/css/edd-admin-pass-handler-rtl.min.css b/assets/css/edd-admin-pass-handler-rtl.min.css index 8214148cd99..4e09346269b 100644 --- a/assets/css/edd-admin-pass-handler-rtl.min.css +++ b/assets/css/edd-admin-pass-handler-rtl.min.css @@ -1 +1 @@ -@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-pass-handler__description{display:-ms-grid;display:grid;gap:1em;margin-bottom:1em}.edd-pass-handler__control{display:flex;gap:4px;flex-wrap:wrap}.edd-pass-handler__control>input{max-width:250px!important}.edd-pass-handler__control+.notice{max-width:400px;margin-top:1em}.edd-pass-handler__control .button{margin:0}.edd-pass-handler__loading{display:flex;align-items:center;gap:.5em}.edd-pass-handler__loading:before{background:none;display:block;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-pass-handler__verifying-wrap{display:flex;position:fixed;right:36px;left:0;top:0;bottom:0;background:rgba(0,0,0,.5);justify-content:center;align-items:center;z-index:1}.edd-pass-handler__verifying-wrap p{background:#fff;border:1px solid #7e8993;border-radius:4px;padding:2em}@media only screen and (min-width:960px){.wp-admin:not(.folded) .edd-pass-handler__verifying-wrap{right:160px}}@media only screen and (max-width:782px){.edd-pass-handler__verifying-wrap{right:0}}.edd-pass-handler__verifying ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{border-left-color:#787878}.edd-pass-handler__actions{display:flex;gap:4px} \ No newline at end of file +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-pass-handler__description{display:-ms-grid;display:grid;gap:1em;margin-bottom:1em}.edd-pass-handler__control{display:flex;gap:4px;flex-wrap:wrap}.edd-pass-handler__control>input{max-width:250px!important}.edd-pass-handler__control+.notice{max-width:400px;margin-top:1em}.edd-pass-handler__control .button{margin:0}.edd-pass-handler__loading{display:flex;align-items:center;gap:.5em}.edd-pass-handler__loading:before{background:none;display:block;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(50%,-50%,0);will-change:transform}.edd-pass-handler__verifying-wrap{display:flex;position:fixed;right:36px;left:0;top:0;bottom:0;background:rgba(0,0,0,.5);justify-content:center;align-items:center;z-index:110}.edd-pass-handler__verifying-wrap p{background:#fff;border:1px solid #7e8993;border-radius:4px;padding:2em}@media only screen and (min-width:960px){.wp-admin:not(.folded) .edd-pass-handler__verifying-wrap{right:160px}}@media only screen and (max-width:782px){.edd-pass-handler__verifying-wrap{right:0}}.edd-pass-handler__verifying ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{border-left-color:#787878}.edd-pass-handler__actions{display:flex;gap:4px}.edd-pass-handler__heading{width:100%} \ No newline at end of file diff --git a/assets/css/edd-admin-pass-handler.min.css b/assets/css/edd-admin-pass-handler.min.css index 3e64e063366..f2bead26200 100644 --- a/assets/css/edd-admin-pass-handler.min.css +++ b/assets/css/edd-admin-pass-handler.min.css @@ -1 +1 @@ -@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-pass-handler__description{display:-ms-grid;display:grid;gap:1em;margin-bottom:1em}.edd-pass-handler__control{display:flex;gap:4px;flex-wrap:wrap}.edd-pass-handler__control>input{max-width:250px!important}.edd-pass-handler__control+.notice{max-width:400px;margin-top:1em}.edd-pass-handler__control .button{margin:0}.edd-pass-handler__loading{display:flex;align-items:center;gap:.5em}.edd-pass-handler__loading:before{background:none;display:block;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-pass-handler__verifying-wrap{display:flex;position:fixed;left:36px;right:0;top:0;bottom:0;background:rgba(0,0,0,.5);justify-content:center;align-items:center;z-index:1}.edd-pass-handler__verifying-wrap p{background:#fff;border:1px solid #7e8993;border-radius:4px;padding:2em}@media only screen and (min-width:960px){.wp-admin:not(.folded) .edd-pass-handler__verifying-wrap{left:160px}}@media only screen and (max-width:782px){.edd-pass-handler__verifying-wrap{left:0}}.edd-pass-handler__verifying ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{border-right-color:#787878}.edd-pass-handler__actions{display:flex;gap:4px} \ No newline at end of file +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-pass-handler__description{display:-ms-grid;display:grid;gap:1em;margin-bottom:1em}.edd-pass-handler__control{display:flex;gap:4px;flex-wrap:wrap}.edd-pass-handler__control>input{max-width:250px!important}.edd-pass-handler__control+.notice{max-width:400px;margin-top:1em}.edd-pass-handler__control .button{margin:0}.edd-pass-handler__loading{display:flex;align-items:center;gap:.5em}.edd-pass-handler__loading:before{background:none;display:block;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:12px;height:12px;transform:translate3d(-50%,-50%,0);will-change:transform}.edd-pass-handler__verifying-wrap{display:flex;position:fixed;left:36px;right:0;top:0;bottom:0;background:rgba(0,0,0,.5);justify-content:center;align-items:center;z-index:110}.edd-pass-handler__verifying-wrap p{background:#fff;border:1px solid #7e8993;border-radius:4px;padding:2em}@media only screen and (min-width:960px){.wp-admin:not(.folded) .edd-pass-handler__verifying-wrap{left:160px}}@media only screen and (max-width:782px){.edd-pass-handler__verifying-wrap{left:0}}.edd-pass-handler__verifying ul#adminmenu #menu-posts-download ul.wp-submenu li.current a:before{border-right-color:#787878}.edd-pass-handler__actions{display:flex;gap:4px}.edd-pass-handler__heading{width:100%} \ No newline at end of file diff --git a/assets/css/edd-admin-pointers-rtl.min.css b/assets/css/edd-admin-pointers-rtl.min.css new file mode 100644 index 00000000000..93b49b5332a --- /dev/null +++ b/assets/css/edd-admin-pointers-rtl.min.css @@ -0,0 +1 @@ +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-pointer.warning h3{background:#f0b849;border-color:#996800;color:#1a1a1a}.edd-pointer.warning h3:before{color:#f0b849}.edd-pointer.edd-has-action p:last-of-type{margin-bottom:2em}.edd-pointer .edd-pointer-action{position:absolute;right:15px;bottom:15px;background:#2271b1;border-color:#2271b1}.edd-pointer .edd-pointer-action:focus,.edd-pointer .edd-pointer-action:hover{background:#1a5686;border-color:#1a5686} \ No newline at end of file diff --git a/assets/css/edd-admin-pointers.min.css b/assets/css/edd-admin-pointers.min.css new file mode 100644 index 00000000000..d81bf3dc2f1 --- /dev/null +++ b/assets/css/edd-admin-pointers.min.css @@ -0,0 +1 @@ +@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.edd-pointer.warning h3{background:#f0b849;border-color:#996800;color:#1a1a1a}.edd-pointer.warning h3:before{color:#f0b849}.edd-pointer.edd-has-action p:last-of-type{margin-bottom:2em}.edd-pointer .edd-pointer-action{position:absolute;left:15px;bottom:15px;background:#2271b1;border-color:#2271b1}.edd-pointer .edd-pointer-action:focus,.edd-pointer .edd-pointer-action:hover{background:#1a5686;border-color:#1a5686} \ No newline at end of file diff --git a/assets/css/edd-admin-rtl.min.css b/assets/css/edd-admin-rtl.min.css index 3362bbde2d2..fbd728ec4f0 100644 --- a/assets/css/edd-admin-rtl.min.css +++ b/assets/css/edd-admin-rtl.min.css @@ -1 +1 @@ -.edd-custom-price-option-sections-wrap{display:none;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid hsla(0,0%,87.1%,.3)}.edd-custom-price-option-section-title{display:block;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section-content{display:flex;gap:12px;margin-bottom:6px}.edd-custom-price-option-section:last-child{border-bottom:none}.toggle-custom-price-option-section{color:#787c82}.toggle-custom-price-option-section:hover{color:#537994}#edd_product_settings .edd-product-options__title,#edd_product_settings .inside strong{border-top:1px solid #c3c4c7;border-bottom:1px solid #c3c4c7;background-color:#f9f9f9;display:flex;font-weight:600;margin:0 -12px 16px;padding:8px 12px;justify-content:space-between;align-items:center}#edd_product_settings .edd-product-options-wrapper:first-of-type .edd-product-options__title,#edd_product_settings .inside div:first-child strong{margin-top:-8px}#edd_product_settings .edd-product-options__title .edd-help-tip,#edd_product_settings .inside strong .edd-help-tip{font-size:20px}#edd_product_settings .label--block{display:block;margin:0 0 4px}.edd_repeatable_row.ui-sortable-placeholder{line-height:0;padding:0;margin:0;box-sizing:border-box;border:1px dashed #c3c4c7;visibility:visible!important}.edd-add-repeatable-row{border-top:1px solid #c3c4c7;padding:12px;margin:15px -12px -12px;display:flex;justify-content:flex-end;align-items:center}.edd_repeatable_row input[type=text].large-text{width:100%}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd_repeatable_row.ui-sortable-helper .edd-repeatable-row-actions .edd-remove-row{display:none}.edd-repeatable-row-actions{color:#787c82}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f6f7f7;border:1px solid #c3c4c7;display:flex;justify-content:space-between}.edd-repeatable-row-header{cursor:move}.edd_repeatable_row:hover .edd-repeatable-row-header,.edd_repeatable_row:hover .edd-repeatable-row-standard-fields{border-color:#c3c4c7}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:"";display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-bundle-products-header,.edd-repeatable-row-title{font-weight:600}.edd-bundle-products-header,.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{flex-grow:1;text-align:left}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{padding:8px;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;display:flex;justify-content:space-between;align-items:center;gap:18px}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-bottom:0;display:inline-flex;flex-direction:column;flex-grow:1;justify-content:space-between}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-right:4px}.edd-bundled-product-item-reorder{min-width:30px}.edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;cursor:move;color:#dcdcde;font-family:dashicons;content:"";transition:color .2s}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#a7aaad}.edd-bundled-product-actions{-ms-grid-row-align:center;align-self:center}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}@media screen and (max-width:480px){.edd-bundle-products-header,.edd-bundled-product-row,.edd-repeatable-row-header,.edd-repeatable-row-standard-fields{flex-wrap:wrap}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-right:0!important;margin-bottom:24px}}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative;width:100%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container+span:first-child{width:100%}.edd_repeatable_upload_field{padding-left:32px}.edd_upload_file button{background:#f6f7f7;border:none;border-right:1px solid #c3c4c7;padding:0 4px;position:absolute;height:calc(100% - 4px);overflow:hidden;top:2px;left:2px;display:inline-flex;justify-content:center;align-items:center}#edd-duplicate-action~#publishing-action{position:relative;top:-10px}#edd_product_files.ajax--loading{position:relative}#edd_product_files.ajax--loading:before{background:none;display:block;position:absolute;top:50%;right:50%;z-index:5;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:1.25em;height:1.25em;transform:translate3d(50%,-50%,0);will-change:transform}#edd_product_files.ajax--loading:after{background-color:hsla(0,0%,100%,.75);display:block;position:absolute;top:0;right:0;width:100%;height:100%;content:" ";z-index:1}.edd-form-group{margin-bottom:16px}.edd-form-group:last-of-type{margin-bottom:0}.edd-form-group>label,.edd-form-group__label{display:block;font-weight:600;margin-bottom:8px;padding:0}.edd-form-group__control{margin-bottom:12px;max-width:100%}.edd-form-group__control.is-check,.edd-form-group__control.is-radio{margin-top:4px}.edd-form-group__control:last-of-type{margin-bottom:0}.edd-form-group__control--is-inline{display:inline-flex;align-items:flex-end}.edd-form-group__input{max-width:100%}.edd-form-group__input[type=checkbox],.edd-form-group__input[type=radio]{margin-top:0}.edd-form-group__input[type=checkbox]+label,.edd-form-group__input[type=radio]+label{display:unset}select.edd-form-group__input{max-width:100%}.edd-form-group__help{color:#646970;font-size:13px;font-style:italic;line-height:normal;margin:8px 0 0}.edd-range{display:flex;align-items:center;gap:15px}.edd-range .edd-range__slider{min-width:90px;height:2px;border-radius:10px;border:none;background:#ccc}.edd-range .edd-range__slider .ui-slider-range{background:var(--wp-admin-theme-color)}.edd-range .edd-range__slider .ui-slider-handle{height:15px;width:15px;top:-6.5px;border-radius:100%;background:var(--wp-admin-theme-color);border:none;cursor:pointer;display:inline-block;position:relative}.edd-range .edd-range__input{max-width:60px}.edd-form-row{display:flex;flex-wrap:wrap;gap:12px}.edd-form-row__column{display:inline-flex;flex-direction:column;justify-content:flex-end}.edd-form-row__column.edd-form-group{margin-bottom:0}.edd-form-row label,.edd-form-row label.edd-form-group__label{margin-bottom:8px}#edd-migration-progress .dashicons-minus{color:#949494}#edd-migration-progress .dashicons-yes{color:green}#edd-migration-progress .dashicons-update:before{animation:rotation 2s linear infinite;display:block}#edd-v3-migration-remove-legacy-data-submit-wrap{display:flex;align-items:center;gap:6px}#edd-v3-migration-remove-legacy-data-submit-wrap .button{margin:0}#edd-filters{padding:10px;margin:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}#edd-filters .filter-items{flex-wrap:wrap;gap:6px;float:none;flex-grow:1}#edd-filters .filter-items,#edd-filters .filter-items .graph-option-section{display:flex;align-items:center}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-graphs-date-options{border-top-left-radius:4px;border-bottom-left-radius:4px}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-dates,#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-relative-dates{display:none}#edd-filters .filter-items .edd-date-range-options{display:inline-block;margin:10px 0}#edd-filters .filter-items .edd-graphs-date-options{border-top-left-radius:0;border-bottom-left-radius:0}#edd-filters .filter-items .edd-date-range-dates{display:flex;align-items:center;border:1px solid #8c8f94;border-right:none;color:#2c3338;padding:4px 10px;margin-right:-5px;border-top-left-radius:4px;border-bottom-left-radius:4px;cursor:pointer;gap:4px}#edd-filters .filter-items .edd-date-range-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-date{display:inline-block}#edd-filters .filter-items .edd-date-range-relative-dates{display:flex;align-items:center;margin-right:10px}#edd-filters .filter-items .edd-date-range-relative-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-relative-date{position:relative;display:flex;align-items:center;border:1px solid #8c8f94;padding:4px 6px 4px 2px;color:#2c3338;margin-right:10px;margin-left:10px;border-radius:4px;cursor:pointer}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{width:16px;height:auto;margin-right:6px;margin-top:2px;vertical-align:middle}#edd-filters .filter-items .edd-date-range-selected-relative-date.opened .edd-date-range-relative-dropdown{display:block}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:absolute;z-index:99;width:420px;right:50%;top:100%;margin-top:10px;transform:translateX(50%);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,.25);display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{height:10px;width:10px;position:absolute;content:"";background:#fff;border-color:#8c8f94;border-style:solid;border-width:0 0 1px 1px;transform:rotate(135deg);top:-6px;right:calc(50% - 4px)}#edd-filters .filter-items .edd-date-range-relative-dropdown .spinner{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading{padding:10px;text-align:center}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading .spinner{display:inline-block;visibility:visible;margin:0;float:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading :not(.spinner){display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{display:flex;align-items:center;padding:2px 10px;opacity:.85;gap:20px}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li.active,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li:hover{cursor:pointer;color:var(--wp-admin-theme-color);opacity:1}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:110px}@media screen and (max-width:950px){#edd-filters .filter-items .graph-option-section{margin-top:8px;width:100%}#edd-filters .filter-items .edd-date-range-picker{flex-wrap:wrap}#edd-filters .filter-items .edd-graphs-date-options{width:100%;max-width:100%;min-height:40px;font-size:14px;border-top-left-radius:4px;border-bottom-left-radius:4px}#edd-filters .filter-items .edd-date-range-dates{width:100%;margin-top:10px;border:1px solid #8c8f94;margin-right:unset;border-radius:4px;font-size:14px;padding:8px 8px 8px 6px}#edd-filters .filter-items .edd-date-range-relative-dates{width:100%;flex-wrap:wrap;margin-right:0;margin-top:6px}#edd-filters .filter-items .edd-date-range-selected-relative-date{width:100%;margin-top:8px;margin-right:0;margin-left:0;font-size:14px;padding:8px 8px 8px 6px;flex-wrap:wrap}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{margin-right:auto}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:relative;width:100%;right:0;top:0;transform:unset;box-shadow:unset;border:unset;margin:0}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul{margin-bottom:0}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{padding-right:0;padding-left:0;justify-content:space-between;flex-wrap:wrap;gap:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-dates,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:100%}}#edd-filters>p{color:#757575}#edd-filters input[type=number],#edd-filters input[type=text].edd_datepicker{max-width:105px}#edd-filters .button-secondary,#edd-filters input[type=number]{margin-bottom:0}#edd-filters .search-form{margin:0}@media screen and (max-width:480px){#edd-filters span{margin:2px 0}}#edd-advanced-filters{position:relative}#edd-advanced-filters .inside{z-index:99;position:absolute;top:29px;left:0;border:1px solid #e0e0e0;padding:0;background:#fff;box-shadow:0 3px 5px rgba(0,0,0,.2);min-width:285px;opacity:0;visibility:hidden}#edd-advanced-filters fieldset{display:block;padding:10px 15px 15px;margin:10px 0}#edd-advanced-filters fieldset:not(:last-of-type){border-bottom:1px solid #e0e0e0}#edd-advanced-filters fieldset:last-of-type{padding-bottom:5px}#edd-advanced-filters fieldset.edd-add-on-filters div,#edd-advanced-filters fieldset.edd-add-on-filters label,#edd-advanced-filters fieldset.edd-add-on-filters p,#edd-advanced-filters fieldset.edd-add-on-filters span{display:block;margin-bottom:2px}#edd-advanced-filters div.edd-select-chosen:not(:last-child){margin-bottom:10px}#edd-advanced-filters.open .edd-advanced-filters-button{background:#e0e0e0;border-color:#949494;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}#edd-advanced-filters.open .inside{visibility:visible;opacity:1;transition:opacity .2s ease-in}.download_page_edd-reports #edd-filters{margin-bottom:-1px;box-shadow:none}@media screen and (max-width:782px){.download_page_edd-reports #edd-filters{gap:0}}.edd-old-log-filters{margin-top:-30px;margin-right:2px}@media screen and (min-width:600px){#edd-reports-charts-wrap{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(200px,50%))[2];grid-template-columns:repeat(2,minmax(200px,50%));grid-gap:2em}.edd-reports-chart{margin-bottom:0}.edd-reports-chart-bar,.edd-reports-chart-line{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2}}.edd-canvas__container{margin:auto;position:relative;max-width:100%;max-height:75vh}@media screen and (min-width:480px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:450px}}@media screen and (min-width:782px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:500px}}@media screen and (min-width:1080px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:700px}}.chart-timezone{font-size:.75rem;color:#c3c4c7}.edd-mobile-link{line-height:32px}.edd-mobile-link a{text-decoration:none}.edd-mobile-link a:after,.edd-mobile-link a:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;margin:1px 0 0;padding:0}.edd-mobile-link a:before{content:"";color:#757575;margin-left:-3px}.edd-mobile-link a:after{content:""}#edd-reports-tiles-wrap #dashboard-widgets .sortable-placeholder{padding:0;margin:0 0 20px;line-height:0;box-sizing:border-box;height:110px}#edd-reports-tiles-wrap #dashboard-widgets #primary-sortables{margin-right:0}#edd-reports-tiles-wrap #dashboard-widgets #tertiary-sortables{margin-left:0}#edd-reports-tiles-wrap{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:20px}.edd-reports-tile{text-align:center;padding:20px 10px 35px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e5e5e5;background:#fafafa;position:relative;box-sizing:border-box;gap:.5em}.edd-reports-tile>span:not(.tile-compare){width:100%}.edd-reports-tile .tile-label{text-align:center;text-transform:uppercase;font-size:12px;font-weight:400;color:#101517}.edd-reports-tile .tile-value{color:#333;font-size:2em;line-height:1;transition:all .2s ease-in-out;display:flex;justify-content:center;flex-direction:column;gap:.25em}.edd-reports-tile:hover{border:1px solid #aaa}.edd-reports-tile:hover .tile-value:not(.tile-no-data){transform:scale(1.05)}.edd-reports-tile .tile-amount{color:#2794da}.edd-reports-tile .tile-number{color:#96f}.edd-reports-tile .tile-amount,.edd-reports-tile .tile-number{color:#fff}.edd-reports-tile .tile-value.tile-no-data{color:#ddd}.edd-reports-tile .tile-value.tile-url{font-size:1.5em}.edd-reports-tile .tile-relative{font-size:12px;font-weight:400;color:#888}.edd-reports-tile span.dashicons{display:inline-block;font-size:30px;line-height:20px;height:20px;width:20px;position:relative;top:4px;right:-5px;margin-right:-5px;color:#999}.edd-reports-tile .tile-relative span.dashicons{top:-5px;right:-3px;margin-right:0}.edd-reports-tile .tile-relative span.dashicons-arrow-down,.edd-reports-tile .tile-relative span.dashicons-arrow-up.reverse{color:#d63638}.edd-reports-tile .tile-relative span.dashicons-arrow-down.reverse,.edd-reports-tile .tile-relative span.dashicons-arrow-up{color:#008a20}.edd-reports-tile .tile-compare{position:absolute;left:0;bottom:0;color:#aaa;font-size:11px;line-height:1em;background-color:#fff;border-color:#e5e5e5 #e5e5e5 #fff #fff;border-style:solid;border-width:1px;border-top-right-radius:8px;padding:4px 9px 0 0;margin:0 0 -1px -1px}.edd-reports-tile:hover .tile-compare{border-right:1px solid #bbb;border-top:1px solid #bbb;color:#777}.edd-chartjs-tooltip{position:absolute;background-color:#fff;border-radius:7px;transition:all .1s ease;pointer-events:none;transform:translate(50%);font-size:12px;box-shadow:0 0 0 1px rgba(89,94,100,.1),0 15px 35px 0 rgba(89,94,100,.1),0 5px 15px 0 rgba(0,0,0,.12);min-width:120px;opacity:0}.edd-chartjs-tooltip-key{display:inline-block;width:10px;height:10px;margin-left:5px}#edd-submit-refund-status{text-align:center;font-size:1.2em}#edd-submit-refund-status .edd-submit-refund-message:before{font-family:dashicons;font-size:1.5em;vertical-align:middle;color:#fff;border-radius:16px;margin:5px}#edd-submit-refund-status .edd-submit-refund-message.success:before{content:"";background-color:#008a20;padding-left:1px}#edd-submit-refund-status .edd-submit-refund-message.fail{display:block;margin-bottom:16px}#edd-submit-refund-status .edd-submit-refund-message.fail:before{content:"";background-color:#d63638}.refund-items td,.refund-items th.check-column{vertical-align:baseline}.refund-items .column-amount,.refund-items .column-discount,.refund-items .column-quantity,.refund-items .column-subtotal,.refund-items .column-tax,.refund-items .column-total{width:80px}.refund-items .edd-form-group__control{display:flex;align-items:center}.refund-items .edd-form-group__control input,.refund-items .edd-form-group__control select{background-color:transparent;border:0;border-bottom:1px solid;border-radius:0;box-shadow:none;text-align:left;width:100%}.refund-items .edd-form-group__control input:disabled,.refund-items .edd-form-group__control select:disabled{border-bottom:none}.refund-items .edd-form-group__control input:focus,.refund-items .edd-form-group__control select:focus{border-bottom:1px solid var(--wp-admin-theme-color-darker-10);box-shadow:0 1px 0 var(--wp-admin-theme-color-darker-10)}.refund-items .edd-form-group__control select[data-original="1"]{background:transparent}.refund-items .edd-form-group__control .is-before+span>input,.refund-items .edd-form-group__control select{text-align:right}.refund-items .edd-refund-submit-line-total{background-color:#fff!important}.refund-items .edd-refund-submit-line-total td{text-align:left}.refund-items .edd-refund-submit-line-total-amount{display:inline-block;margin-right:20px;text-align:right;width:80px}.refund-items #edd-refund-submit-subtotal td{border-top:2px solid #c3c4c7}@media screen and (max-width:782px){.refund-items td.column-total{margin-bottom:16px}.refund-items .edd-refund-submit-line-total-amount{padding-left:16px;width:unset}}.edd-submit-refund-actions{margin:16px 0 0}.did-refund .edd-submit-refund-actions,.did-refund .refund-items,body.edd-about div.notice{display:none}body.edd-about #edd-admin-about *,body.edd-about #edd-admin-about :after,body.edd-about #edd-admin-about :before{box-sizing:border-box}body.edd-about #edd-admin-about{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-about-nav{display:flex;flex-direction:row;justify-content:left;box-shadow:inset 0 -2px 0 0 #e8e8e8;margin:0 20px 20px;gap:8px}body.edd-about #edd-admin-about .edd-about-nav a.tab{border-bottom:none;text-decoration:none;color:#646970;padding:10px 12px;font-weight:600}body.edd-about #edd-admin-about .edd-about-nav a.tab:focus,body.edd-about #edd-admin-about .edd-about-nav a.tab:hover{border-bottom:2px solid #a7aaad}body.edd-about #edd-admin-about .edd-about-nav a.tab.active{color:#0c5d95;border-bottom:2px solid #0c5d95}body.edd-about #edd-admin-about .edd-admin-about-section{box-shadow:0 2px 5px #e8e8e8;margin:0 20px 20px;padding:30px;background:#fff;border:1px solid #ddd;line-height:2;display:flex;flex-direction:row}body.edd-about #edd-admin-about .edd-admin-about-section h2{font-size:24px;line-height:32px;color:#646970;margin:0}body.edd-about #edd-admin-about .edd-admin-about-section h3{font-size:16px;line-height:22px;color:#787c82}body.edd-about #edd-admin-about .edd-admin-about-section p,body.edd-about #edd-admin-about .edd-admin-about-section ul{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p{margin-bottom:10px}body.edd-about #edd-admin-about .edd-admin-about-section p.bigger{font-size:18px}body.edd-about #edd-admin-about .edd-admin-about-section p.smaller{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p:last-child{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section hr{margin:30px 0}body.edd-about #edd-admin-about .edd-admin-about-section figure{margin:0}body.edd-about #edd-admin-about .edd-admin-about-section figure img.shadow{width:100%;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about .edd-admin-about-section figure figcaption{font-size:14px;color:#888;margin-top:5px;text-align:center;line-height:normal}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section .column{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section .column--20{width:20%}body.edd-about #edd-admin-about .edd-admin-about-section .column--40{width:40%}body.edd-about #edd-admin-about .edd-admin-about-section .column--50{width:50%}body.edd-about #edd-admin-about .edd-admin-about-section .column--60{width:60%}body.edd-about #edd-admin-about .edd-admin-about-section .column--80{width:80%}body.edd-about #edd-admin-about .edd-admin-about-section .column.align--middle{align-items:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-l-15{margin-right:15px}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-r-15{margin-left:15px}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain{margin-top:0;margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain li{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-features li{display:flex;align-items:center;justify-items:left;gap:8px}body.edd-about #edd-admin-about .edd-admin-about-section .dashicons-star-filled{color:gold}body.edd-about #edd-admin-about .edd-admin-about-section .no-margin{margin:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .no-padding{padding:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .centered{text-align:center!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:1;padding-left:30px}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video iframe{border:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero{display:flex;flex-direction:column;padding:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{padding:30px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra div.notice,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main div.notice{display:none}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra h3.call-to-action,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main h3.call-to-action{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{background-color:#fafafa;border-bottom:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main.no-border{border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main p{color:#666}body.edd-about #edd-admin-about .edd-admin-about-section-squashed{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-squashed:not(:last-of-type){border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:row;gap:50px}body.edd-about #edd-admin-about .edd-admin-about-section-post h2{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-post h3{margin-bottom:15px}body.edd-about #edd-admin-about .edd-admin-about-section-post p:last-of-type{margin-bottom:30px}body.edd-about #edd-admin-about .edd-admin-about-section-post img{max-width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20{width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{width:calc(100% - 270px)}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary{transition:all .1s ease-in-out}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:focus,body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:hover{background-color:#2271b1;color:#fff}body.edd-about #edd-admin-about #edd-admin-addons{padding:0 30px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:row;flex-wrap:wrap;align-items:space-between}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 33.3333%;max-width:33.3333%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item{display:flex;flex-direction:column;border:1px solid #ddd;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{padding:20px;display:flex;flex-direction:row;background-color:#fff;flex-grow:1}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .leftcol img{max-width:100px;padding:10px;box-shadow:0 2px 3px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{flex-direction:column;justify-content:left;flex-grow:4;padding-right:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol h5{font-size:14px;margin-bottom:10px;margin-top:0}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 12px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions.has-response{justify-content:center;flex-grow:10}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label{font-weight:600}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.active{color:#008a20}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.inactive{color:#d63638}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.not-installed{color:#646970}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.disabled,body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.loading{cursor:default}@media(max-width:1440px){body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 50%;max-width:50%}}@media(max-width:1280px){body.edd-about #edd-admin-about .welcome-message{flex-direction:column-reverse}body.edd-about #edd-admin-about .welcome-message.column--20,body.edd-about #edd-admin-about .welcome-message .column--40,body.edd-about #edd-admin-about .welcome-message .column--50,body.edd-about #edd-admin-about .welcome-message .column--60,body.edd-about #edd-admin-about .welcome-message .column--80{width:100%}body.edd-about #edd-admin-about .welcome-message.column--20.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-l-15{margin-right:0}body.edd-about #edd-admin-about .welcome-message.column--20.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-r-15{margin-left:0}}@media(max-width:960px){body.edd-about #edd-admin-about .edd-admin-about-section{flex-direction:column;gap:20px}body.edd-about #edd-admin-about .edd-admin-about-section.welcome-message{flex-flow:column-reverse}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section.column--20,body.edd-about #edd-admin-about .edd-admin-about-section .column--40,body.edd-about #edd-admin-about .edd-admin-about-section .column--50,body.edd-about #edd-admin-about .edd-admin-about-section .column--60,body.edd-about #edd-admin-about .edd-admin-about-section .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-l-15{margin-right:0}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-r-15{margin-left:0}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:block!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:none}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video{padding-top:20px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra .edd-admin-column-50{float:none;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 img,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 img{width:auto;max-width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.image,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.image{margin:0 auto;align-content:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.content,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.content{flex-direction:column;justify-items:left}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link{font-size:1.25rem;display:flex;justify-items:space-around;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link .dashicons,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link .dashicons{display:none}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:column}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{padding:10px;flex:1 0 100%;max-width:100%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{flex-direction:row}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{padding-right:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol .addon-name{text-align:right}}#edd-flyout{position:fixed;z-index:99999;transition:all .2s ease-in-out;left:40px;bottom:40px;opacity:1;display:flex;flex-direction:column;align-items:flex-end}@media(max-width:960px){#edd-flyout{display:none}}#edd-flyout .edd-flyout-label{transform:translateY(-50%);-moz-transform:translateY(-50%);-webkit-transform:translateY(-50%);color:#fff;background-color:#757575;font-size:12px;white-space:nowrap;padding:5px 10px;transition:all .2s ease-out;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:20px;opacity:0;transform:scale(0)}#edd-flyout #edd-flyout-button{border:none;padding:0;background:none;display:flex;flex-direction:row;gap:10px;align-items:center}#edd-flyout #edd-flyout-button img{width:54px;height:54px;display:block;border-radius:50%;border:3px solid #0c5d95;overflow:hidden;transition:all .2s ease-in-out;background:#fff}#edd-flyout #edd-flyout-button:hover img{cursor:pointer;box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-button .edd-flyout-label{opacity:0;transform:translateY(-50%) scale(0)}#edd-flyout #edd-flyout-button:hover .edd-flyout-label{opacity:1;transform:translateY(-50%) scale(1)}#edd-flyout #edd-flyout-button.has-alert:after{transform:scale(1);opacity:1;font-family:dashicons;content:"";color:#d63638;font-size:16px;height:16px;width:16px;text-decoration:none;border-radius:999999px;line-height:16px;transition:all .2s ease-in-out;background-color:#fff;position:absolute;left:3px;bottom:46px}#edd-flyout #edd-flyout-items{display:flex;flex-direction:column-reverse;gap:10px;margin-left:12px;margin-bottom:12px;height:0}#edd-flyout #edd-flyout-items .edd-flyout-item{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:25px;visibility:collapse}#edd-flyout #edd-flyout-items .edd-flyout-item a{text-decoration:none;color:#fff}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{transition:all .2s ease-in-out;transform:scale(0);opacity:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{margin-top:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label a{display:inline-block;line-height:normal;height:auto!important}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon{display:flex;justify-content:space-around;width:40px;height:40px;border-radius:50%;box-shadow:0 3px 12px 1px rgba(30,30,30,.55);background:#0c5d95 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.red{background:#d63638 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.green{background:#1da867 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon span.dashicons:before{color:#fff;font-size:20px;line-height:40px;vertical-align:middle}#edd-flyout #edd-flyout-items .edd-flyout-item:hover{cursor:pointer}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon{background:#35495c 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.red{background:#b60012 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.green{background:#199155 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{background-color:#494949}#edd-flyout.opened #edd-flyout-items{height:auto}#edd-flyout.opened #edd-flyout-items .edd-flyout-item{visibility:visible}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-icon{transition:transform .2s 0ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-icon{transition:transform .2s 24ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-icon{transition:transform .2s 48ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-icon{transition:transform .2s 72ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-label{transition:transform .2s 96ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-label{opacity:1;transform:scale(1)}#edd-flyout.opened #edd-flyout-button img{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout.opened #edd-flyout-button .edd-flyout-label{opacity:0}#edd-flyout.opened #edd-flyout-button.has-alert:after{opacity:0;transition:scale(0)}#edd-flyout.out{opacity:0;visibility:hidden}.edd-admin-notice-top-of-page{font-size:15px;line-height:1.4;color:#fff;margin-right:-20px;padding:12px 20px 12px 32px;background:#2d6ca2}.edd-admin-notice-top-of-page.edd-pro-inactive{background:#d63638}@media screen and (min-width:783px){.edd-admin-notice-top-of-page{padding:10px 22px 10px 46px}}@media screen and (min-width:961px){.edd-admin-notice-top-of-page{text-align:center}}.edd-admin-notice-top-of-page a{color:#fff}.edd-admin-notice-top-of-page a:hover{text-decoration:none}.edd-admin-notice-top-of-page .button-link{position:absolute;top:48px;left:-1px;font-size:20px;color:#fff;font-weight:700;text-decoration:none;margin-right:5px;padding:6px 10px}.edd-admin-notice-top-of-page .button-link:active,.edd-admin-notice-top-of-page .button-link:focus,.edd-admin-notice-top-of-page .button-link:hover{color:#fff;text-decoration:none}@media screen and (min-width:601px){.edd-admin-notice-top-of-page .button-link{top:1px}}@media screen and (min-width:783px){.edd-admin-notice-top-of-page .button-link{left:9px}}#edd-admin-notice-five-star-review{display:-ms-grid;display:grid}#edd_dashboard_sales .edd-promo-notice{border-bottom:1px solid #c3c4c7}.edd-review-actions{display:flex;gap:6px;margin:0 0 16px}.edd-promo-notice .edd-peeking{align-self:flex-end;justify-self:flex-end;margin-left:16px;margin-bottom:-1px}@media screen and (max-width:782px){#edd-admin-notice-five-star-review.notice .edd-peeking{margin-bottom:-6px}}@media screen and (min-width:480px){.edd-promo-notice.notice-info .edd-peeking{justify-self:flex-start;margin-left:0;margin-right:250px}}.edd-promo-notice .edd-peeking,.edd-review-step{-ms-grid-row:1;grid-area:1/-1}.edd-promo-notice__overlay{display:none;position:fixed;background:rgba(16,21,23,.75);top:0;left:0;bottom:0;right:160px;z-index:11;justify-content:center;align-items:center}.folded .edd-promo-notice__overlay{right:36px}@media screen and (max-width:782px){.edd-promo-notice__overlay{right:0}}.edd-admin-notice-overlay{display:none;background-color:#fff;padding:2.5em;text-align:center;max-width:650px;position:relative;flex-direction:column}.edd-promo-notice__overlay .edd-admin-notice-overlay{display:flex}.edd-admin-notice-overlay h2{line-height:1.6em;margin:0 auto;max-width:540px}.edd-admin-notice-overlay .edd-promo-notice__features{text-align:right;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em}.edd-admin-notice-overlay .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center}@media screen and (max-width:600px){.edd-admin-notice-overlay .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-admin-notice-overlay .button-primary{padding:4px 36px;margin:0 auto .5em;max-width:360px}.edd-admin-notice-overlay__link{color:#101517}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link{position:absolute;color:#537994;text-decoration:none;font-size:2em;top:0;left:.5em}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:active,.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:hover{color:#101517}@media screen and (max-width:782px){.edd-admin-notice-overlay{margin:1em}}.edd-promo-notice__popup{display:flex;justify-content:center;justify-items:center;flex-direction:column;margin:2em auto;gap:0 1.5em}.edd-promo-notice__popup h2{line-height:1.6em;margin:0 auto;max-width:540px;font-size:1.25em}.edd-promo-notice__popup .content{display:inherit;flex-direction:inherit;justify-items:center;text-align:center}.edd-promo-notice__popup .content .edd-promo-notice__features{text-align:right;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em;flex-direction:row}.edd-promo-notice__popup .content .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center;min-width:50%}@media screen and (max-width:600px){.edd-promo-notice__popup .content .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-promo-notice__popup .content .button-primary{padding:4px 36px;margin:.5em auto;max-width:360px}.edd-promo-notice__popup .content__link{color:#101517}#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-account-status li span,#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-webhook-events li span{animation:skeleton-loading 1s infinite alternate;width:250px;height:18px;display:inline-block}#edd-paypal-commerce-connect-wrap.loading .edd-paypal-connect-actions span{animation:skeleton-loading 1s infinite alternate;width:150px;height:32px;display:inline-block}.edd-paypal-account-status ul{margin-right:25px;list-style-type:none}.edd-paypal-account-status>li{margin-bottom:1em}.edd-paypal-account-status ul:not(.edd-paypal-webhook-events) li{margin:.25em 0}.edd-paypal-account-status .dashicons-yes{color:#008a20}.edd-paypal-account-status .dashicons-no{color:#d63638}@media(min-width:782px){body.edd-admin-page #wpbody-content{padding-bottom:200px}}body.edd-admin-page #wpfooter .edd-footer-promotion{text-align:center;font-weight:400;font-size:13px;line-height:16px;color:#787c82;padding:20px 0 30px;margin-bottom:20px;margin-top:20px}body.edd-admin-page #wpfooter .edd-footer-promotion p{font-weight:600}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links,body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{display:flex;justify-content:center;align-items:center}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links{margin:9px 0 0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links span{color:#c3c4c7;padding:0 7px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{margin:10px 0 0;gap:10px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li{margin-bottom:0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li path{fill:#a7aaad}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li:hover path{fill:#50575e}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social a{display:block;height:16px}.edd-dialog{display:none}.edd-item-header-small{padding-bottom:20px;border-bottom:1px solid #e5e5e5;display:flex;justify-content:flex-start;align-items:center;gap:6px}.edd-item-header-small span{font-weight:600;font-size:15px}.edd-admin-order-status-badge,.edd-status-badge{padding:2px 7px;border-radius:4px;background:#ececec;display:inline-flex;align-items:center;gap:2px}.edd-admin-order-status-badge__icon,.edd-status-badge__icon{opacity:.8}.edd-admin-order-status-badge--error,.edd-admin-order-status-badge--expired,.edd-admin-order-status-badge--failed,.edd-admin-order-status-badge--failing,.edd-admin-order-status-badge--red,.edd-admin-order-status-badge--rejected,.edd-admin-order-status-badge--revoked,.edd-status-badge--error,.edd-status-badge--expired,.edd-status-badge--failed,.edd-status-badge--failing,.edd-status-badge--red,.edd-status-badge--rejected,.edd-status-badge--revoked{color:#ac3d3d;background:#ffd6d6}.edd-admin-order-status-badge--active,.edd-admin-order-status-badge--approved,.edd-admin-order-status-badge--complete,.edd-admin-order-status-badge--completed,.edd-admin-order-status-badge--edd_subscription,.edd-admin-order-status-badge--green,.edd-admin-order-status-badge--partially_refunded,.edd-admin-order-status-badge--success,.edd-status-badge--active,.edd-status-badge--approved,.edd-status-badge--complete,.edd-status-badge--completed,.edd-status-badge--edd_subscription,.edd-status-badge--green,.edd-status-badge--partially_refunded,.edd-status-badge--success{color:#017d5c;background:#e5f5f0}.edd-admin-order-status-badge--pending,.edd-admin-order-status-badge--warning,.edd-admin-order-status-badge--yellow,.edd-status-badge--pending,.edd-status-badge--warning,.edd-status-badge--yellow{color:#996800;background:#f5f2e5}.edd-admin-order-status-badge--blue,.edd-admin-order-status-badge--info,.edd-admin-order-status-badge--processing,.edd-admin-order-status-badge--trialling,.edd-status-badge--blue,.edd-status-badge--info,.edd-status-badge--processing,.edd-status-badge--trialling{color:#016087;background:#e5f1f5}.edd-pro-upgrade,.edd-pro-upgrade:hover{color:#1da867;font-weight:600;text-decoration:none}.button.edd-pro-upgrade,.button.edd-pro-upgrade:hover{background-color:#1da867;color:#fff;border-color:#1da867}.edd-progress-bar{display:-ms-grid;display:grid;background:#dcdcde;border-radius:99999px;padding:2px;box-shadow:inset 0 0 1px 1px #7e8993;align-items:center}.edd-progress-bar.small{height:14px}.edd-progress-bar.medium{height:16px}.edd-progress-bar.large{height:20px;padding:4px}.edd-progress-bar>.progress{height:100%;border-top-left-radius:99999px;border-bottom-left-radius:99999px;border-top-right-radius:99999px;border-bottom-right-radius:99999px;background-color:rgba(0,186,55,.3);overflow:hidden;min-width:10%;width:0;width:var(--progress-width,0);-ms-grid-row:1;grid-area:1/-1}.edd-progress-bar>.label{color:#32373c;font-weight:400;font-size:.75rem;text-shadow:0 0 12px hsla(0,0%,100%,.5);-ms-grid-row:1;grid-area:1/-1;text-align:center;line-height:1}.edd-pointer.warning h3{background:#f0b849;border-color:#996800;color:#1a1a1a}.edd-pointer.warning h3:before{color:#f0b849}.edd-help-tip{cursor:help;margin-top:-2px;font-size:24px;color:#7e8993}.edd-ui-tooltip{position:absolute;background:#fff!important;border-width:0;border-radius:12px!important;box-shadow:0 8px 36px 0 rgba(29,36,40,.15)!important;color:#23282d!important;max-width:300px!important;padding:16px!important;text-rendering:optimizeLegibility;text-shadow:none!important;font-size:13px!important;z-index:9999!important}.edd-ui-tooltip .title{font-weight:700}.edd-ui-tooltip .timeline{position:relative;margin:6px 0 0;padding-right:15px}.edd-ui-tooltip .timeline li{position:relative;margin:0 0 3px}.edd-ui-tooltip .timeline li:before{content:"";position:absolute;width:4px;height:4px;right:-16px;background:transparent;border:2px solid #23282d;top:0;bottom:0;margin:auto;border-radius:100%;z-index:1}.edd-ui-tooltip .timeline li:after{content:"";width:2px;height:calc(100% - 4px);background:#23282d;position:absolute;right:-13px;top:calc(50% + 3px)}.edd-ui-tooltip .timeline li:last-child:after{display:none}@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.wrap-licenses .edd-licenses__description{margin:2em 1em}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}@media screen and (min-width:600px){.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:unset}}.wrap-licenses tbody{display:-ms-grid;display:grid;gap:1em}.wrap-licenses .form-table tr{margin:0;background:#fff;border:1px solid #dcdcde;border-radius:3px;padding:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}@media screen and (min-width:600px){.wrap-licenses .form-table tr{display:-ms-grid;display:grid;-ms-grid-columns:200px 1fr;grid-template-columns:200px 1fr}}.wrap-licenses .form-table th{background:#f9f9f9;margin-bottom:2.5em;padding:1em;border-bottom:1px solid #dcdcde;width:unset}@media screen and (min-width:600px){.wrap-licenses .form-table th{border-bottom:none;margin-bottom:0;display:flex;align-items:center}}.wrap-licenses .form-table td{margin:0;padding:0;display:flex;flex-direction:column;gap:2.5em;flex-grow:1}@media screen and (min-width:600px){.wrap-licenses .form-table td{flex-direction:row;gap:unset}}.wrap-licenses .form-table td input.regular-text{margin:0;width:100%;max-width:250px}.wrap-licenses .form-table td button{margin:0}.wrap-licenses .form-table .edd-license__control{flex-grow:1;padding:0 1em;display:flex;gap:4px;align-items:center;justify-content:center}@media screen and (min-width:600px){.wrap-licenses .form-table .edd-license__control{justify-content:flex-end}}.wrap-licenses .form-table .edd-licensing__actions{display:flex;gap:4px}.wrap-licenses .edd-license-data[class*=edd-license-]{background:#f9f9f9;padding:1em;border-top:1px solid #dcdcde;margin:0;width:100%;box-sizing:border-box;display:flex;align-items:flex-end}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}@media screen and (min-width:600px){.wrap-licenses .edd-license-data[class*=edd-license-]{border-top:none;width:unset;flex-basis:100%;align-items:center}.wrap-licenses .edd-license-data[class*=edd-license-]:not(:only-child){flex:0 1 300px}}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover{text-decoration:none}.edd-settings-content{max-width:1440px}.edd-settings-color,.edd-settings-colors{display:flex;flex-wrap:wrap;gap:1em}.edd-settings-color{flex-direction:column}.edd-upload-button-wrapper{width:100%;display:flex;gap:5px}.edd-upload-button-wrapper button.edd_settings_upload_button{margin-bottom:0}#edd-payment-gateways a.button.edd-settings__button-settings{position:absolute;left:2em;min-height:unset;height:1.5em;width:1.5em;border:none;background-color:#f9f9f9}#edd-payment-gateways a.button.edd-settings__button-settings,#edd-payment-gateways a.button.edd-settings__button-settings:active,#edd-payment-gateways a.button.edd-settings__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active #edd-payment-gateways a.button.edd-settings__button-settings{display:block}.edd-settings__list--disc{list-style:disc;list-style-position:inside}.wp-list-table.discounts .column-amount{width:90px}.wp-list-table.discounts th.column-use_count{width:150px}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount .edd-discount-datetime input,#edd-edit-discount .edd-discount-datetime input{vertical-align:middle}#edd-add-discount input[type=text].edd_datepicker,#edd-edit-discount input[type=text].edd_datepicker{display:inline-block;width:183px}#edd-edit-discount textarea{height:100px}.edd-amount-type-wrapper{position:relative;display:flex}.edd-amount-type-wrapper select{border-top-right-radius:0;border-bottom-right-radius:0;width:auto!important}.edd-amount-type-wrapper #edd-amount{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-2px;padding:0 8px;width:unset;max-width:125px}.edd-amount-type-wrapper input:focus{z-index:2}.edd-code-wrapper{display:flex;align-items:stretch;gap:3px}.edd-popup-trigger{display:flex!important;align-items:center;gap:3px}@media screen and (max-width:782px){.edd-popup-trigger{margin-bottom:0!important}}@media screen and (max-width:480px){.edd-popup-trigger span:not(.dashicons){display:none}}.edd-code-generator-popup{position:absolute;z-index:99;width:250px;height:auto;margin:auto;padding:10px;transform:translate(-240px,15px);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 -2px 5px 0 rgba(0,0,0,.25);box-sizing:border-box;display:none}.edd-code-generator-popup:after{content:"";width:15px;height:15px;background:#fff;position:absolute;margin:auto;transform:rotate(-45deg);z-index:-1;right:0;left:0;top:-8.5px;border-color:#8c8f94;border-style:solid;border-width:1px 1px 0 0}@media screen and (max-width:480px){.edd-code-generator-popup{transform:translateY(15px) translateX(-105px)}.edd-code-generator-popup:after{right:70%}}.edd-code-generator-popup .edd-form-group{width:100%;margin-bottom:10px;padding-bottom:10px;box-sizing:border-box;margin-top:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcdcde;height:40px}.edd-code-generator-popup .edd-form-group:last-of-type{border-bottom:0}.edd-code-generator-popup .edd-form-group label{padding:5px 0;width:60px;font-size:12px;margin-bottom:0;box-sizing:border-box}@media screen and (max-width:782px){.edd-code-generator-popup .edd-form-group label{line-height:28px}}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]){width:120px!important;min-height:0;height:30px}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]):not(:focus){border:1px solid #8c8f94}.edd-code-generator-popup #edd-generate-code{width:100%}@media screen and (max-width:782px){.edd-code-generator-popup #edd-generate-code:before{margin-top:8px}}.edd_dashboard_widget{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(150px,1fr))[2];grid-template-columns:repeat(2,minmax(150px,1fr));grid-gap:1em}.edd_dashboard_widget>div:not(.table_left):not(.table_right){-ms-grid-column-span:2;grid-column:span 2}.edd_dashboard_widget table thead td{border-bottom:1px solid #c3c4c7;color:#777}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{text-align:left}.edd_dashboard_widget .t{font-size:12px;padding-left:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 12px 8px 0}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:var(--wp-admin-theme-color);border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-left:2px}.edd_dashboard_widget table{width:100%;margin-right:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:left}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}.edd-dashboard-notice{-ms-grid-column-span:2;grid-column:span 2;padding:1px;text-align:center;margin:1em -1em -1em;background-color:#f9f9f9;border:1px solid #c3c4c7}.edd-dashboard-notice--error{background:#d63638;color:#fff}.edd-dashboard-notice--error a{color:#fff}body.dashboard_page_edd-upgrades.js .postbox .hndle{cursor:default}.edd-hidden{display:none}.edd-clearfix:after{content:"";display:table;clear:both}.edd-notice .notice-dismiss,.edd-wrap a{text-decoration:none}.wp-core-ui .edd-delete,a.edd-delete{color:#a00}.wp-core-ui .edd-delete:hover,a.edd-delete:hover{color:red}body.post-type-download #contextual-help-link-wrap,body.post-type-download #screen-options-link-wrap{top:5px!important}body.post-type-download #screen-meta{margin:0 -20px -1px 0}#edd-header{border-top:5px solid #0c5d95;border-bottom:1px solid #c3c4c7;padding:20px 0;margin-right:-20px;background:#fff}#edd-header-wrapper{display:flex;justify-content:space-between;padding:0 20px;align-items:center}#edd-header img{display:block;max-width:300px;margin:0}.edd-header-page-title-wrap{font-size:1.75em;margin-top:-5px;margin-left:auto;padding-right:7px}.edd-header-separator{margin-top:-2px;opacity:.25}.edd-header-page-title{font-weight:400;font-size:1em;line-height:1.3em;display:inline}.edd-header-page-title-wrap .button{margin-right:5px}.no-js #edd-header-actions{display:none}#edd-header .edd-round{position:relative;background-color:#f3f4f5;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:10px;cursor:pointer;transition:background-color .2s ease}#edd-header .edd-round.edd-hidden{display:none}button.edd-round{border:none}#edd-header button.edd-round:hover{background-color:#e5e5e5}button.edd-round:active,button.edd-round:focus{outline:2px solid #0c5d95}#edd-header .edd-number{position:absolute;background-color:#df2a4a;width:16px;height:16px;font-weight:600;font-size:10px;color:#fff;top:-8px;right:50%;transform:translateX(50%);margin:0;animation:bounce 2s 5}#edd-header .edd-number.edd-hidden{display:none!important}#edd-header .edd-round svg{width:20px;height:20px}@media screen and (max-width:840px){#edd-header img,.edd-header-separator{display:none}}.edd_datepicker{height:29px}.edd-from-to-wrapper input{width:105px;margin:0;position:relative;z-index:1}.edd-from-to-wrapper input[name*=start],.edd-from-to-wrapper input[name=filter_from]{border-top-left-radius:0;border-bottom-left-radius:0}.edd-from-to-wrapper input[name*=end],.edd-from-to-wrapper input[name=filter_to]{margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}.edd-from-to-wrapper input:focus{z-index:2;position:relative}.edd-settings-sub-nav{margin:0 0 10px;width:100%;border-bottom:1px solid #ccc;box-shadow:0 1px 1px rgba(0,0,0,.04)}.edd-settings-sub-nav a{padding:13px;display:block}.edd-settings-sub-nav a.current{border-bottom:4px solid #000;padding-bottom:9px}.admin-color-fresh .edd-settings-sub-nav a.current{border-bottom-color:#00a0d2}.admin-color-blue .edd-settings-sub-nav a.current{border-bottom-color:#096484}.admin-color-coffee .edd-settings-sub-nav a.current{border-bottom-color:#c7a589}.admin-color-ectoplasm .edd-settings-sub-nav a.current{border-bottom-color:#a3b745}.admin-color-midnight .edd-settings-sub-nav a.current{border-bottom-color:#e14d43}.admin-color-ocean .edd-settings-sub-nav a.current{border-bottom-color:#627c83}.admin-color-sunrise .edd-settings-sub-nav a.current{border-bottom-color:#be3631}.admin-color-light .edd-settings-sub-nav a.current{border-bottom-color:#888}.admin-color-evergreen .edd-settings-sub-nav a.current{border-bottom-color:#36533f}.admin-color-mint .edd-settings-sub-nav a.current{border-bottom-color:#4f6d59}.download_page_edd-settings .edd-check-wrapper{clear:both}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-sortable-list{margin:0;width:300px;position:relative}.edd-sortable-list li{margin:0;padding:0;position:relative;height:28px;cursor:move}.edd-sortable-list li label *{vertical-align:middle}.edd-sortable-list li label:after{display:block;width:17px;height:17px;position:absolute;left:6px;top:0;color:#aaa;font-family:dashicons;font-size:17px;content:"";cursor:move}.form-table .edd-sortable-list li label{display:block;height:28px;padding:0;margin:0}.edd-sortable-list .payment-icon{width:32px;height:24px;position:relative;top:-2px;margin-left:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-top:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper input{margin-top:1px}.download_page_edd-settings .form-table .edd-settings-payment-icon-wrapper input[type=checkbox]+label{margin:0;display:inline-block}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-icon-image{margin-left:5px;width:32px;display:inline-block;vertical-align:middle}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-option-name{vertical-align:middle}.download_page_edd-settings .taxrates td,.download_page_edd-settings .taxrates th{padding:8px 10px}.download_page_edd-settings .taxrates td{line-height:1.5em;vertical-align:top;margin:0}.download_page_edd-settings .taxrates .regular-text{width:100%}#TB_window{overflow:hidden}#TB_title{padding:5px}#TB_ajaxContent{width:calc(100% - 30px)!important;padding:15px;margin:0;height:calc(100% - 118px)!important}#TB_ajaxWindowTitle{font-size:18px;font-weight:600;line-height:30px}#TB_closeWindowButton{left:6px;top:6px}#choose-download-wrapper{width:100%}#choose-download-wrapper .wrap{overflow-y:scroll;margin:0;padding:0;height:calc(100% - 50px)}#choose-download-wrapper .submit-wrapper{position:absolute;width:100%;bottom:0;padding:0;margin:0 -15px 0 0;text-align:left}#choose-download-wrapper .submit-wrapper div{background-color:#fafafa;padding:15px;border-top:1px solid #ddd}.wp-media-buttons .button.edd-thickbox{padding-right:0}.wp-media-buttons .button.edd-email-tags-inserter .dashicons{margin-top:-2px}.download_page_edd-payment-history .edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:sticky;top:32px;margin-right:-20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-editor-regions__header{position:static;top:46px}}.download_page_edd-payment-history .edit-post-header{height:56px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100%;box-sizing:border-box;padding:4px 20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-header{padding-right:10px;padding-left:10px}}@media(min-width:280px){.download_page_edd-payment-history .edit-post-header{flex-wrap:nowrap}}.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{order:0}.download_page_edd-payment-history .edit-post-header .edit-post-header__settings{order:1}.download_page_edd-payment-history .edit-post-header #publishing-action,.download_page_edd-payment-history .edit-post-header .edit-post-header__settings,.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{display:flex;align-items:center}.download_page_edd-payment-history .edit-post-header #publishing-action .spinner{margin:0 0 0 5px}.download_page_edd-payment-history .edit-post-header .button-primary{margin:2px;height:34px;line-height:32px;font-size:13px}#edd-order-items .hndle{display:flex;align-items:center;justify-content:space-between}#edd-order-items .hndle .edd-toggle{font-weight:400}.edd-add-order-item td{vertical-align:middle}.edd-add-order-item input{width:80%}.edd-add-order-item input[readonly]{color:#555;background:none;border:1px solid transparent;box-shadow:none}.order-customer-info .customer-details-wrap{margin:15px 0;align-items:center}.order-customer-info .customer-details-wrap .spinner{margin:0}.order-customer-info .customer-details{display:flex;flex-direction:column}.order-customer-info .customer-details .customer-since{color:#666;display:block;margin:4px 0 6px}.order-customer-info .customer-details>span{margin-bottom:5px}.edd-order-add-download-select .spinner{display:none}table.edd-order-overview-summary{border-width:0;table-layout:fixed}table.edd-order-overview-summary--refund{border-width:0}@media screen and (min-width:782px){.edd-order-overview .column-right{text-align:left}}.edd-ml-auto{margin-right:auto!important}@media screen and (min-width:782px){.edd-ml-lg-auto{margin-right:auto!important}}.edd-ml-auto+.edd-ml-auto{margin-right:10px!important}.edd-order-overview-summary__items-name{align-self:flex-start}.edd-order-overview-summary__items>:nth-child(odd){background-color:#f9f9f9}@media screen and (min-width:782px){.edd-order-overview-summary__items tr:last-child td,.edd-order-overview-summary__items tr:last-child th{border-bottom:1px solid #e5e5e5}}@media screen and (max-width:782px){.edd-order-overview-summary .row-actions>*,.edd-order-overview-summary__items-name .row-actions{display:block!important}.edd-order-overview-summary .row-actions>:not(:first-child):before{display:none}}.edd-order-overview-summary th:not(.column-primary){width:100px}.edd-order-overview-summary .row-actions>:not(:first-child):before{color:#999;content:" | "}.edd-order-overview-summary .row-actions .text{color:#555}.edd-order-overview-summary .removable{display:flex;align-items:center;position:relative}.edd-order-overview-summary .removable .delete{display:inline-block;margin-left:10px;margin-right:-8px;padding:10px;border-left:1px solid #e5e5e5;color:#a00}.edd-order-overview-summary .removable .delete:hover{color:#dc3232}.edd-order-overview-summary__adjustments .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td small{font-weight:400}.edd-order-overview-summary__subtotal .column-primary,.edd-order-overview-summary__tax tr:first-of-type .column-primary,.edd-order-overview-summary__total .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td,.edd-order-overview-summary__subtotal td,.edd-order-overview-summary__tax td,.edd-order-overview-summary__total td{vertical-align:middle}.edd-order-overview-summary__tax td small,.edd-order-overview-summary__total td small{font-weight:400}.edd-order-overview-summary__total .total{color:#017d5c;display:inline-block}.edd-order-overview-summary__total .total.is-negative{color:#a00}@media screen and (min-width:783px){.edd-order-overview-summary__adjustments .removable .delete{margin-right:-50px}.edd-order-overview-summary__total .total{font-size:150%;padding-top:5px;padding-bottom:5px}}.edd-order-overview-summary__total tr:last-child td:not(:first-of-type),.edd-order-overview-summary__total tr:last-child th{border-top:1px solid #e5e5e5}.edd-order-overview-summary__total .notice{margin:-1px}.edd-order-overview-summary__total .notice p{font-weight:400;margin:.5em 0}.edd-order-overview-summary__refunds .column-primary{font-weight:600}.edd-order-overview-summary__refunds td small{font-weight:400}.edd-order-overview-summary__refunds tr:first-child td{border-top:1px solid #e5e5e5}#edd-order-overview-actions.inside{border-top:1px solid #ccd0d4;margin-top:0;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}#edd-order-overview-actions.inside:empty{padding:0;border-top:0}#edd-order-overview-actions.inside>div{display:flex;align-items:center}#edd-order-overview-actions .edd-order-overview-actions__notice{flex-basis:100%;margin-top:15px}.edd-order-overview-actions .button{width:100%;margin-bottom:12px}.edd-order-overview-actions .button:last-of-type{margin-bottom:0}@media screen and (min-width:782px){.edd-order-overview-actions .button{width:auto;margin-right:12px;margin-bottom:0}.edd-order-overview-actions .button:first-of-type{margin-right:auto}}.edd-order-overview-actions__locked{font-style:italic;opacity:.8}@media screen and (max-width:782px){.edd-order-overview-actions__locked{margin-bottom:12px}}.edd-order-overview-actions__refund .dashicons{margin-left:8px}.edd-dialog .ui-button-icon-only{font-size:0}.download_page_edd-payment-history .ui-dialog,.download_page_edd-payment-history .ui-dialog-content{overflow:visible}.edd-order-overview-modal form>p{margin-top:0}.edd-order-overview-modal fieldset legend,.edd-order-overview-modal form label{display:block;margin-bottom:4px}.edd-order-overview-modal fieldset{margin-bottom:calc(1em - 3px)}.edd-order-overview-modal fieldset>p{margin:2px 0 3px}.edd-order-overview-modal form .submit{margin:0 -16px -16px;padding:16px;background:#fcfcfc;border-top:1px solid #dfdfdf;display:flex;align-items:center}.edd-order-overview-modal form .submit .spinner{margin:0}.edd-order-overview-add-item [for=auto-calculate]{display:flex;align-items:center}.edd-order-overview-add-item [for=auto-calculate] input[type=checkbox]{margin-top:0}.edd-order-overview-add-item [for=auto-calculate] .label{line-height:1.15;margin-right:8px}.edd-order-overview-add-item [for=auto-calculate] .label small{margin-top:4px;display:block;opacity:.75}.edd-order-overview-add-adjustment .notice,.edd-order-overview-add-item .notice{margin:0 0 1rem}.edd-order-overview-add-adjustment #description,.edd-order-overview-add-discount select{width:100%}.edd-order-overview-error{font-style:italic;color:#a00;display:block;margin:4px 0}.edd-order-copy-download-link textarea{width:100%}.edd-order-resend-email-chooser legend{font-weight:700;margin-bottom:4px}.edd-order-resend-email-chooser p{margin:4px 0}.edd-notes .edd-note{padding:10px;background-color:#ffe;border:1px solid #cc0;width:100%;position:relative;margin-bottom:10px;box-sizing:border-box;overflow:hidden}.edd-notes .edd-note.deleting{opacity:.5}.edd-notes .edd-note__header{display:flex;align-items:center}.edd-add-note .spinner{float:none;display:inline-block;margin:0}.edd-notes .edd-note time{font-size:11px;color:#aaa}.edd-notes .edd-note .edd-note-author{margin-left:5px}.edd-notes .edd-note .edd-delete-note{color:#a00;font-weight:700;text-decoration:none;margin-right:auto}.edd-notes .edd-note .edd-delete-note:hover{color:#888}.edd-notes .edd-note p:last-child{margin-bottom:0}.edd-notes .edd-no-notes{margin:4px 0 10px}textarea[name=edd-note]{width:100%;min-height:70px;margin-top:0}.edd-notes-wrapper{width:80%}.edd-note-pagination{float:left;margin:-35px 5px 15px}.edd-note-pagination a,.edd-note-pagination span.page-numbers{padding:5px 8px;margin:2px;text-decoration:none}.edd-note-pagination a{border:1px solid #e5e5e5;background:#fcfcfc}.edd-note-pagination a:last-child,.edd-note-pagination span.page-numbers:last-child{margin-left:0}.post-type-download .tablenav.top .edd-select{margin-left:6px}.wp-list-table.addresses .column-primary strong,.wp-list-table.customers .column-primary strong,.wp-list-table.discounts .column-primary strong,.wp-list-table.emails .column-primary strong,.wp-list-table.orderadjustments .column-primary strong,.wp-list-table.orderitems .column-primary strong,.wp-list-table.orders .column-primary strong{font-size:14px}.wp-list-table.customers .column-primary .avatar,.wp-list-table.emails .column-customer .avatar{float:right;margin-left:10px;margin-top:1px;border-radius:5px}.wp-list-table.orders div.order-list-email{font-size:.85em;color:#888}.wp-list-table.orders th.column-amount{width:100px}.wp-list-table .row-actions span.activate a{color:green}.wp-list-table .row-actions span.refund a{color:#836fff}.wp-list-table .row-actions span.cancel a{color:#cc8c00}.wp-list-table .row-actions span.cancel a:hover,.wp-list-table .row-actions span.refund a:hover{opacity:.8}.wp-list-table .type-download .row-actions{color:#999}.no-js.edit-tags-php.post-type-download .wp-heading-inline{position:absolute;top:0}.no-js.edit-tags-php.post-type-download .nav-tab-wrapper{margin-top:50px}.download_page_edd-customers .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-discounts .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-payment-history .wrap .nav-tab-wrapper .page-title-action,.edit-tags-php.post-type-download .wrap .nav-tab-wrapper .page-title-action{top:3px;margin-right:10px;line-height:24px}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}marquee{padding:0;margin:0}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:right}.edd_files_url_label{width:220px;float:right}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}#edd_product_files .inside,#edd_product_prices .inside{margin-bottom:0}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-order-items .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-order-items .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{max-width:125px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:80%;max-width:125px}#edd_product_notes_field{display:block;margin:12px 0 0;height:4em;width:100%}.edd-metabox-title-action{margin:0;float:left;padding:4px 8px;position:relative;top:-1px;text-decoration:none;border:1px solid #ccc;border-radius:2px;background:#f7f7f7;text-shadow:none;font-weight:600;font-size:10px;line-height:normal;color:#0073aa;cursor:pointer;outline:0}.edd-metabox-title-action:hover{border-color:#008ec2;background:#00a0d2;color:#fff}.edd-edit-purchase-element .tablenav{padding:2px 10px 8px}.edd-edit-purchase-element .edd-order-children-wrapper{margin:0 -1px}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 table{border-top:none;border-bottom:none}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 .tablenav{display:none}.edd-edit-purchase-element[class*=columns-] ul li{padding-left:1%}#edd-edit-order-form .column:nth-child(odd),#edd-edit-order-form .columns-4 .column:nth-child(odd),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-left:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #f1f1f1;clear:both;padding:12px;margin:0;word-wrap:break-word}.edd-admin-box-inside--row{display:flex;flex-wrap:wrap;word-break:break-all;justify-content:space-between;align-items:center}.edd-admin-box-inside>p{margin:8px 3px}.edd-admin-box-inside .strong{font-weight:600}.edd-admin-box div:not(.edd-admin-box-inside--row) .label{display:block;margin-bottom:4px;margin-left:0}.edd-admin-box .label--has-tip{display:flex;align-items:center}.edd-admin-box .label--has-tip .edd-help-tip{margin-top:0;font-size:20px}.edd-admin-box div:not(.edd-admin-box-inside--row) .label--has-checkbox{margin-bottom:0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.edd-admin-box .right{float:left}#edd-order-refunds-list{padding-right:25px}#poststuff .edd-order-data .inside{margin:0;padding:0}.edd-order-data .edd-select-chosen{width:130px!important}.edd-order-data input.edd_datepicker{width:180px}.edd-order-data input[type=number].edd-payment-time-hour,.edd-order-data input[type=number].edd-payment-time-min{width:50px}.edd-order-data .edd-tax-rate{color:#9c9c9c;font-style:italic;padding:5px}#edd_general_logs p{margin:0;padding:0}.edd-admin-box-inside span.label{margin-left:10px}#edd-order-resend-receipt .inside{margin-top:11px}.edd-order-resend-receipt-header{font-size:14px;line-height:1.4}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-left:10px}.edd-order-update-box .button-primary{margin-left:0}.edd-edit-purchase-element .edd-select-chosen{width:196px}.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .actions{float:left}.order-data-address h3{margin:0 0 10px}.order-data-address #edd-order-address-country-wrap,.order-data-address #edd-order-address-state-wrap{display:inline-block;width:50%;max-width:300px}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}.edd-edit-purchase-element ul li{display:block;line-height:1.4;position:relative;margin:0;vertical-align:middle;font-size:13px}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{margin:0 0 15px}.edd-edit-purchase-element ul:last-of-type{margin-bottom:0}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-title .deleted{color:#777}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}.edd-add-adjustment-to-purchase,.edd-add-download-to-purchase{padding:15px;border-top:1px solid #e5e5e5;background-color:#f5f5f5}.edd-add-adjustment-to-purchase .chosen-container,.edd-add-download-to-purchase .chosen-container{width:90%!important;max-width:220px!important}.edd-add-adjustment-to-purchase .spinner,.edd-add-download-to-purchase .spinner{margin:0;float:none}.edd-add-download-to-purchase .edd-add-order-quantity{width:40px;height:29px;vertical-align:middle}.edd-add-adjustment-to-purchase .edd-add-adjustment-button,.edd-add-adjustment-to-purchase input[type=text],.edd-add-download-to-purchase .edd-add-order-item-button{height:29px}@media screen and (max-width:1284px){.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}.edd-refund-submit-line-total td:last-of-type{flex:0 0 120px}#edd-item-tables-wrapper .addresses tbody tr{display:-ms-grid;display:grid}#edd-item-tables-wrapper .addresses tbody td:not(.no-items){padding-right:35%}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}}#edd_product_stats .label{display:inline-block}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:normal 20px/1 dashicons;display:inline-block;padding:0 0 0 2px;position:relative;top:0;right:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd_product_stats .product-sales-stats:before{content:""}#edd_product_stats .product-earnings-stats:before{content:""}body.download_page_edd-reports{overflow-y:scroll}.edd-chip{font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;padding:3px;border-radius:3px;color:#fff;background-color:#444}.edd-reports-wrapper .postbox h2,.edd-reports-wrapper .postbox h3{font-size:1.3em}#edd-dashboard-widgets-wrap .metabox-holder{padding-top:0}.edd-reports-wrapper .postbox .edd-select{max-width:200px;vertical-align:baseline;margin-left:4px;margin-bottom:16px}.download_page_edd-reports #edd-item-wrapper{margin:0}#edd-dashboard-widgets-wrap .postbox h2,#edd-dashboard-widgets-wrap .postbox h3{cursor:default}.edd-date-range-options .edd_datepicker{width:105px}.edd-report-wrap{clear:both}.edd-report-wrap h3{clear:both;margin:0 0 20px}.edd-reports-chart,.edd-reports-table{margin-bottom:20px}.edd-admin--has-grid{display:grid;display:-ms-grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:20px}.edd-admin--has-grid .postbox{margin-bottom:0}.edd-admin--has-grid .edd-from-to-wrapper{display:flex;margin-bottom:16px;width:100%}.edd-admin--has-grid .edd-from-to-wrapper input{width:100%}.edd-admin--has-grid .edd-from-to-wrapper span{flex-grow:1}.edd-admin--has-grid form{display:flex;flex-direction:column;flex-wrap:wrap;position:relative}fieldset.edd-to-and-from-container{display:flex;gap:8px}fieldset.edd-to-and-from-container select{flex:0 0 calc(50% - 6px)}span.edd-to-and-from--separator{line-height:normal;-ms-grid-row-align:center;align-self:center;margin-bottom:16px}.edd-admin--has-grid .postbox .edd-select{max-width:100%;margin-left:0}.edd-admin--has-grid .button.updated-message:before,.edd-admin--has-grid .button.updating-message:before{vertical-align:text-bottom;margin:0 0 0 5px}.edd-import-export-form .edd-progress{background:#ddd;border-radius:15px;height:15px;flex-basis:100%}.edd-import-export-form .edd-progress div{background:#ccc;border-radius:15px;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-color:#eae9e9;border-style:solid;border-width:1px 0;padding:12px;overflow:auto;margin:20px -12px -23px;position:relative;width:100%;display:flex;justify-content:space-between;align-items:center}.notice-wrap div.notice{margin:0}h3+.notice-wrap .notice{margin-bottom:1em}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}.graph-option-section{float:right}.edd-report-filters-title span{display:block;padding:20px}#edd-graphs-filter form{padding:20px}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{display:inline-block;line-height:2em;margin:0 0 0 5px;padding:0}.download_page_edd-reports .section-content #post-body-content{float:none}.download_page_edd-reports .section-content select[name=range]{display:none}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-left:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd-reports-tiles-wrap .metabox-holder{padding:0}#edd-reports-tiles-wrap #dashboard-widgets{overflow:auto}#edd-reports-tiles-wrap #dashboard-widgets .postbox-container{width:33.3%}.download_page_edd-reports .section-content .tablenav.top{display:none}#edd_tax_rates{margin:1em 0 0}[id*=edd-recapture-].button{font-size:16px;height:auto;padding:8px 14px;margin:6px 0 0}[id*=edd-recapture-].button .dashicons{line-height:29px;margin-left:8px}[id*=edd-recapture-].button .edd-loading,[id*=edd-recapture-].button .edd-loading:after{border-radius:50%;display:inline-block;width:14px;height:14px}[id*=edd-recapture-].button .edd-loading{position:relative;top:3px;margin-right:4px;box-shadow:0 0 2px rgba(0,0,0,.2);animation:edd-spinning 1.1s linear infinite;border:2px solid hsla(0,0%,100%,.5);border-right-color:#fff;font-size:14px;filter:alpha(opacity=0);transform:translateZ(0)}#edd-recapture-disconnect.button .edd-loading.dark{border-color:rgba(0,0,0,.2) #666 rgba(0,0,0,.2) rgba(0,0,0,.2);box-shadow:none}.recapture-notice{position:relative}@keyframes edd-spinning{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}#edd-send-test-summary-save-changes-notice .notice p{font-size:13px}#edd-send-test-summary-notice,#edd-send-test-summary-save-changes-notice{display:flex;margin-top:5px}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.wp-list-table.apikeys input.code{width:100%;font-size:10px;cursor:text;background:#fff;border:1px solid #ddd;box-shadow:none;color:#555}.edd-toggle{position:relative;display:inline-block;overflow:visible}.edd-toggle input[type=checkbox]{display:inline-block;vertical-align:middle;position:relative;margin:0 0 0 2px;padding:0;width:42px;min-width:42px;height:24px;background-color:#ccc;transition:background .2s ease;border-radius:34px;box-shadow:none;border:none}.edd-toggle .label{display:inline-block;vertical-align:middle;white-space:nowrap}.edd-toggle input[type=checkbox]:before{position:absolute;content:"";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}@media only screen and (max-width:782px){.edd-toggle input[type=checkbox]:checked:before{margin:-.1875rem -.25rem 0 0}}.edd-toggle input[type=checkbox]:checked{background-color:#007cba;background-color:var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:active,.edd-toggle input[type=checkbox]:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-toggle input[type=checkbox]:checked:active,.edd-toggle input[type=checkbox]:checked:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:checked:before{transform:translateX(-22px)}.edd-toggle .label+input,.edd-toggle input+.label{margin-right:5px}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_wrap .spinner{position:absolute;margin:0;padding:0;left:4px;top:-2px}.edd_user_search_wrap.loading .spinner{visibility:visible}.edd_user_search_results{position:absolute;right:0;top:20px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;left:6px;top:2px}.edd_user_search_results ul{background:#fafafa;border:1px solid #dfdfdf;overflow-y:scroll;padding:0;margin:0;height:150px;width:185px;box-shadow:0 3px 5px rgba(0,0,0,.1)}.edd_user_search_results li{margin:0}.edd_user_search_results li a{display:block;text-decoration:none;padding:6px 10px}.edd_user_search_results li a:hover{background:#f5f5f5}.edd_user_search_results li.no-users{text-align:center;vertical-align:middle;display:block;line-height:150px;color:#bbb;text-transform:uppercase;font-size:11px}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}}@media screen and (max-width:782px){.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-right:0}}@media screen and (max-width:600px){#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#fff;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);position:relative;margin-top:15px;display:flex}#edd-item-wrapper.full-width{max-width:100%}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}.edd-sections-wrap{clear:both;width:100%}.edd-sections-wrap .section-wrap{background-color:#fff;display:inline-block;z-index:2}.js .edd-sections-wrap .edd-vertical-sections:not(.meta-box) .section-wrap>div{min-height:500px;height:100%}.edd-sections-wrap .section-wrap .customer-section:not(:last-child){border-bottom:1px solid #eee}.edd-sections-wrap .section-wrap .customer-section table{margin-bottom:20px}.edd-sections-wrap .section-wrap{border-right:1px solid #e5e5e5}.edd-sections-wrap .section-wrap .section-content>*{padding:20px}.edd-sections-wrap .section-wrap .section-content h2{margin:0;padding-bottom:0}.edd-sections-wrap .section-wrap .avatar-wrap{float:right;padding-left:10px;text-align:center}.edd-sections-wrap .section-wrap img.avatar{border-radius:5px}.edd-sections-wrap .section-wrap .customer-id{position:absolute;left:0;top:0;padding:10px;background-color:#fafafa;border-bottom-right-radius:20%;border:1px solid #eee;border-top:none;border-left:none;font-family:monospace;font-size:18px;font-weight:600}.edd-item-info.customer-info input[type=password],.edd-item-info.customer-info input[type=text],.edd-item-info.customer-info select{width:200px;height:auto;box-shadow:none;transition:none;border:1px solid #ddd;margin:-5px -2px 4px 0;font-size:13px;padding:2px 4px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:right}.edd-sections-wrap .section-wrap .customer-main-wrapper input[name="customerinfo[name]"]{font-size:24px}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:left;margin-top:-3px;margin-left:50px;width:202px}.edd-sections-wrap .section-wrap .info-wrapper{min-height:125px;overflow:visible}.edd-sections-wrap .section-wrap .customer-address span[data-key=address2],.edd-sections-wrap .section-wrap .customer-address span[data-key=address],.edd-sections-wrap .section-wrap .customer-address span[data-key=country]{display:block}.edd-sections-wrap .section-wrap a.delete{color:red;margin-left:5px;text-decoration:none}.customer-info{min-height:185px}.customer-info .customer-name{font-size:24px;font-weight:600}.customer-info .customer-name.editable{margin-bottom:6px}.customer-edit-link a{font-weight:400;text-decoration:none}.disconnect-user a{color:#aaa;font-size:20px}#customer-edit-actions{padding:3px;line-height:28px;text-align:center}#customer-edit-actions .button-secondary{margin-left:5px}#customer-edit-actions .cancel{padding:5px}.edd-sections-wrap .section-wrap .row-title{width:30%}.edd-sections-wrap .section-wrap .editable{display:block;padding:3px}.edd-sections-wrap .section-wrap div.edit-item{margin-right:-4px;margin-top:-20px}.edd-sections-wrap .section-wrap .customer-address.edit-item{margin-top:3px}.edd-sections-wrap .section-wrap span.edit-item{display:none}.edd-sections-wrap .section-wrap .edit-item input{font-size:13px}.edd-sections-wrap .section-wrap .customer-name.edit-item input{margin-top:-5px}.edd-sections-wrap .section-wrap .edd_user_search_results{right:-2px;top:18px}.edd-sections-wrap .section-wrap .edd_user_search_results ul{width:198px}#edd-item-stats-wrapper{margin:0 auto;text-align:center}#edd-item-stats-wrapper ul{display:flex;margin:0}#edd-item-stats-wrapper li{font-size:14px;margin-bottom:0;width:50%}#edd-item-stats-wrapper a{text-decoration:none}#edd-item-stats-wrapper .dashicons{color:#888;margin-top:-2px}#edd-item-tables-wrapper table{width:100%}#edd-item-tables-wrapper .no-items{text-align:right}#edd-item-tables-wrapper .emails .add-customer-email-row{background-color:#f4f4f4;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .add-customer-email-wrapper{display:flex;flex-wrap:wrap;align-items:center;margin:12px 0}#edd-item-tables-wrapper .edd-form-group{margin-bottom:0}#edd-item-tables-wrapper .edd-make-email-primary{flex-grow:1;margin-right:12px}#edd-item-tables-wrapper .emails .spinner{float:none;margin:0 10px;-ms-grid-row-align:center;align-self:center}#edd-item-tables-wrapper .notice-error{background-color:#fff5f5}#edd-item-notes-wrapper{min-height:50px}.customer-note-input{margin-bottom:5px;width:100%}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 7px 7px 0}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}.edd-sections-wrap .section-wrap .notice-container{padding-right:20px;padding-left:20px;margin-right:-20px;margin-left:-20px}@media screen and (max-width:810px)and (min-width:656px){.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap .widefat td,.widefat th{max-width:100%!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-tab-wrapper,.edd-sections-wrap .section-wrap{margin:0;width:100%}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs .edd-sections-wrap .section-wrap{border-top:1px solid #e5e5e5;border-right:0;margin-top:-1px}}@media screen and (max-width:656px){.edd-item-info.customer-info{position:relative}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:none;position:absolute;top:84px;right:165px;max-width:200px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:none;position:absolute;right:165px}.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap #edd-item-stats-wrapper{padding-right:0;padding-left:0}.edd-sections-wrap .section-wrap .customer-section{margin-bottom:0}.edd-sections-wrap .section-wrap .widefat td.column-primary,.edd-sections-wrap .section-wrap .widefat td.no-items,.edd-sections-wrap .section-wrap .widefat th.column-primary{width:100px!important;display:table-cell;overflow:hidden;text-align:right}.edd-sections-wrap .section-wrap .customer-id{display:none}#edd-item-tables-wrapper .emails td.column-primary{padding-left:10px;width:100%!important}#edd-item-tables-wrapper .edd-form-group{margin:0 0 16px}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 0 1px 1px}#edd-item-tab-wrapper-list li:nth-child(2n){border-width:0 0 1px}.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:left}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-right:2px}}.inside .edd-tools-textarea{background:#32373c;color:rgba(240,245,250,.7);font-size:12px;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:100%;height:450px;padding:10px;outline:none}#system-info-textarea::selection{background:#555;color:#fff}#edd-system-info .edd-inline-button{margin-right:5px}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}.edd-vertical-sections{overflow:visible;display:block;display:flex}#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{position:relative;width:20%;line-height:1em;margin:0 0 0 -1px;padding:0;background-color:#f5f5f5;border-left:1px solid #e5e5e5;box-sizing:border-box;max-width:200px}#edd-item-tab-wrapper-list{margin:0}#edd-item-tab-wrapper li,.edd-vertical-sections .section-nav li{display:block;position:relative;margin:0;padding:0;background-color:#fcfcfc}.edd-vertical-sections .section-title:last-of-type{margin-bottom:24px}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap,#edd-item-tab-wrapper li a,.edd-vertical-sections .section-nav li a{display:flex;margin:0;padding:9px;text-decoration:none;border-bottom:1px solid #e5e5e5;box-shadow:none;position:relative;align-items:center}#edd-item-tab-wrapper li a:focus,#edd-item-tab-wrapper li a:hover,.edd-vertical-sections .section-nav li a:focus,.edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0;outline:0;transition:all .25s}.edd-vertical-sections .section-nav .section-title--is-active a:after{content:"";width:1px;height:100%;background:#fff;position:absolute;left:0;top:0;bottom:0;z-index:3}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap{background-color:#fff}.edd-vertical-sections .section-nav li a>.dashicons,.edd-vertical-sections .section-nav li a>span{display:inline-block}.edd-vertical-sections .section-nav li a>span{max-width:76%}.edd-vertical-sections .section-nav li a .dashicons{line-height:20px;margin-left:3px;color:#888}.edd-vertical-sections .section-nav .section-title--is-active a{font-weight:700;color:#555;background-color:#fff;border-left:none;margin-left:-1px}.edd-vertical-sections.use-js .section-content,.no-js .edd-vertical-sections.use-js.edd-item-header-small,.no-js .edd-vertical-sections.use-js .section-nav{display:none}.no-js .edd-vertical-sections.use-js .section-content{display:block}.admin-color-fresh .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-fresh .edd-vertical-sections .section-nav li a:focus,.admin-color-fresh .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #0073aa}.admin-color-blue .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-blue .edd-vertical-sections .section-nav li a:focus,.admin-color-blue .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #096484}.admin-color-coffee .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-coffee .edd-vertical-sections .section-nav li a:focus,.admin-color-coffee .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #c7a589}.admin-color-ectoplasm .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:focus,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #a3b745}.admin-color-midnight .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-midnight .edd-vertical-sections .section-nav li a:focus,.admin-color-midnight .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #e14d43}.admin-color-ocean .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ocean .edd-vertical-sections .section-nav li a:focus,.admin-color-ocean .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #627c83}.admin-color-sunrise .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-sunrise .edd-vertical-sections .section-nav li a:focus,.admin-color-sunrise .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #be3631}.admin-color-light .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-light .edd-vertical-sections .section-nav li a:focus,.admin-color-light .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #888}.admin-color-evergreen .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-evergreen .edd-vertical-sections .section-nav li a:focus,.admin-color-evergreen .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #36533f}.admin-color-mint .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-mint .edd-vertical-sections .section-nav li a:focus,.admin-color-mint .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #4f6d59}.edd-vertical-sections .section-nav .section-title--is-active .dashicons{color:#555}@media only screen and (max-width:782px){#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{width:48px}.edd-vertical-sections .section-nav li a{justify-content:center}.edd-vertical-sections .section-nav li a .dashicons{width:24px;height:24px;font-size:24px;line-height:24px;margin:0}.section-nav li .dashicons:before{width:24px;height:24px}#edd-item-tab-wrapper .edd-item-tab-label,.section-nav li .label{overflow:hidden;position:absolute;top:-1000em;right:-1000em;width:1px;height:1px}}#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:80%}#edd-item-card-wrapper .item-section{background:#fff;overflow:hidden;box-sizing:border-box}:not(#edd-item-tab-wrapper)+#edd-item-card-wrapper .item-section{margin:25px 0;padding:20px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}#edd-item-tab-wrapper+#edd-item-card-wrapper{padding:20px;border-right:1px solid #e5e5e5;box-sizing:border-box}@media only screen and (min-width:1200px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections:not(.meta-box) .section-wrap{width:calc(100% - 200px)}}@media only screen and (max-width:782px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:calc(100% - 48px)}}#edd-debug-log .edd-inline-button{margin-right:5px}.edd-settings-sidebar{padding-top:27px}.edd-settings-sidebar-content{background-color:#fff;text-align:center;border:1px solid #ddd;box-sizing:border-box;max-width:300px}.edd-settings-sidebar-content p{font-size:14px;line-height:1.5;margin-top:0}.edd-sidebar-header-section{background-color:#35495c;line-height:1;padding:26px 20px 24px;border-bottom:3px dashed #fafafa}.edd-sidebar-description-section{background-color:#fafafa;padding:16px 20px;border-bottom:1px solid #ddd}.edd-sidebar-description-section .edd-sidebar-description{margin:0}.edd-sidebar-coupon-section{font-size:14px;padding:16px 20px}.edd-sidebar-coupon-section label{display:block;line-height:1.4;margin-bottom:6px}.edd-sidebar-coupon-section label strong{color:#253b51;font-weight:700}.edd-sidebar-coupon-section input{background:#f4f7fa;font-size:22px;font-weight:600;text-align:center;padding:10px;border:2px dashed #2794da;border-radius:4px;margin-bottom:16px;box-shadow:none;width:100%}.edd-sidebar-coupon-section input:focus{border:2px dashed #2794da;box-shadow:none}.edd-settings-sidebar-content .edd-coupon-note{color:#6c7883;font-size:13px;font-style:italic;margin:0}.edd-settings-sidebar-content .edd-coupon-note a{color:#253b51}.edd-settings-sidebar-content .edd-coupon-note a:hover{text-decoration:none}.edd-sidebar-footer-section{background-color:#fafafa;padding:16px 20px;border-top:1px solid #ddd}.edd-sidebar-footer-section .edd-cta-button{display:block;background-color:#2794da;color:#fff;text-decoration:none;font-size:20px;font-weight:700;text-transform:uppercase;padding:17px 10px;border:none;border-radius:4px;width:100%;box-sizing:border-box;box-shadow:none;transition:background-color .2s}.edd-sidebar-footer-section .edd-cta-button:hover{background-color:#2386c5}@media (min-width:1080px){.edd-has-sidebar .edd-settings-content{float:right;width:67%}.edd-has-sidebar .edd-settings-sidebar{float:left;width:31%}}@media (min-width:1240px){.edd-has-sidebar .edd-settings-content{width:74%}.edd-has-sidebar .edd-settings-sidebar{width:23%}}.taxes-tab .edd-has-sidebar .edd-settings-content,.taxes-tab .edd-has-sidebar .edd-settings-sidebar{float:none;width:100%}.bfcm-promo-img-container{background-color:#35495c;width:100%;height:160px}.bfcm-code{color:#2794da;font-weight:700}.sale-ends{position:absolute;bottom:9px;left:14px;display:inline-block;color:#6c7883;font-size:12px;text-align:left;font-style:italic;width:150px} \ No newline at end of file +@media(min-width:782px){body.edd-admin-page #wpbody-content{padding-bottom:200px}}body.edd-admin-page #wpfooter .edd-footer-promotion{text-align:center;font-weight:400;font-size:13px;line-height:16px;color:#787c82;padding:20px 0 30px;margin-bottom:20px;margin-top:20px}body.edd-admin-page #wpfooter .edd-footer-promotion p{font-weight:600}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links,body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{display:flex;justify-content:center;align-items:center}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links{margin:9px 0 0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links span{color:#c3c4c7;padding:0 7px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{margin:10px 0 0;gap:10px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li{margin-bottom:0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li path{fill:#a7aaad}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li:hover path{fill:#50575e}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social a{display:block;height:16px}.edd-nav__wrapper{background-color:#fff;box-shadow:inset 0 -3px #e8e8e8;display:flex;justify-content:space-between;align-items:center;margin:0 -20px 10px 0;padding:0 20px;position:sticky;top:32px;z-index:30}@media screen and (max-width:782px){.edd-nav__wrapper{top:0}}.edd-nav__tabs{display:flex;flex-direction:row;justify-content:left;margin:0;gap:8px;overflow-x:auto}.edd-nav__tabs li{display:flex;align-items:flex-end;margin:0}.edd-nav__tabs li:focus,.edd-nav__tabs li:hover{box-shadow:inset 0 -3px #a7aaad}.edd-nav__tabs li.active{color:#0c5d95;box-shadow:inset 0 -3px #0c5d95}.edd-nav__tabs a.tab{border-bottom:none;box-shadow:none;outline:none;display:block;text-decoration:none;color:#646970;padding:18px 20px;font-weight:600;font-size:16px;text-align:center}.edd-admin-page #wpbody-content>.notice:not(.inline){display:none;margin-right:0}.edd-dialog{display:none}.edd-item-header-small{padding-bottom:20px;border-bottom:1px solid #e5e5e5;display:flex;justify-content:flex-start;align-items:center;gap:6px}.edd-item-header-small span{font-weight:600;font-size:15px}.edd-admin-order-status-badge,.edd-status-badge{padding:2px 7px;border-radius:4px;background:#ececec;display:inline-flex;align-items:center;gap:2px}.edd-admin-order-status-badge__icon,.edd-status-badge__icon{opacity:.8}.edd-admin-order-status-badge--error,.edd-admin-order-status-badge--expired,.edd-admin-order-status-badge--failed,.edd-admin-order-status-badge--failing,.edd-admin-order-status-badge--red,.edd-admin-order-status-badge--rejected,.edd-admin-order-status-badge--revoked,.edd-status-badge--error,.edd-status-badge--expired,.edd-status-badge--failed,.edd-status-badge--failing,.edd-status-badge--red,.edd-status-badge--rejected,.edd-status-badge--revoked{color:#ac3d3d;background:#ffd6d6}.edd-admin-order-status-badge--active,.edd-admin-order-status-badge--approved,.edd-admin-order-status-badge--complete,.edd-admin-order-status-badge--completed,.edd-admin-order-status-badge--edd_subscription,.edd-admin-order-status-badge--green,.edd-admin-order-status-badge--partially_refunded,.edd-admin-order-status-badge--success,.edd-status-badge--active,.edd-status-badge--approved,.edd-status-badge--complete,.edd-status-badge--completed,.edd-status-badge--edd_subscription,.edd-status-badge--green,.edd-status-badge--partially_refunded,.edd-status-badge--success{color:#017d5c;background:#e5f5f0}.edd-admin-order-status-badge--pending,.edd-admin-order-status-badge--warning,.edd-admin-order-status-badge--yellow,.edd-status-badge--pending,.edd-status-badge--warning,.edd-status-badge--yellow{color:#996800;background:#f5f2e5}.edd-admin-order-status-badge--blue,.edd-admin-order-status-badge--info,.edd-admin-order-status-badge--processing,.edd-admin-order-status-badge--trialling,.edd-status-badge--blue,.edd-status-badge--info,.edd-status-badge--processing,.edd-status-badge--trialling{color:#016087;background:#e5f1f5}.edd-pro-upgrade,.edd-pro-upgrade:hover{color:#1da867;font-weight:600;text-decoration:none}.button.edd-pro-upgrade,.button.edd-pro-upgrade:hover{background-color:#1da867;color:#fff;border-color:#1da867}.edd-progress-bar{display:-ms-grid;display:grid;background:#dcdcde;border-radius:99999px;padding:2px;box-shadow:inset 0 0 1px 1px #7e8993;align-items:center}.edd-progress-bar.small{height:14px}.edd-progress-bar.medium{height:16px}.edd-progress-bar.large{height:20px;padding:4px}.edd-progress-bar>.progress{height:100%;border-top-left-radius:99999px;border-bottom-left-radius:99999px;border-top-right-radius:99999px;border-bottom-right-radius:99999px;background-color:rgba(0,186,55,.3);overflow:hidden;min-width:10%;width:0;width:var(--progress-width,0);-ms-grid-row:1;grid-area:1/-1}.edd-progress-bar>.label{color:#32373c;font-weight:400;font-size:.75rem;text-shadow:0 0 12px hsla(0,0%,100%,.5);-ms-grid-row:1;grid-area:1/-1;text-align:center;line-height:1}.edd-help-tip{cursor:help;margin-top:-2px;font-size:24px;color:#7e8993}.edd-ui-tooltip{position:absolute;background:#fff!important;border-width:0;border-radius:12px!important;box-shadow:0 8px 36px 0 rgba(29,36,40,.15)!important;color:#23282d!important;max-width:300px!important;padding:16px!important;text-rendering:optimizeLegibility;text-shadow:none!important;font-size:13px!important;z-index:9999!important}.edd-ui-tooltip .title{font-weight:700}.edd-ui-tooltip .timeline{position:relative;margin:6px 0 0;padding-right:15px}.edd-ui-tooltip .timeline li{position:relative;margin:0 0 3px}.edd-ui-tooltip .timeline li:before{content:"";position:absolute;width:4px;height:4px;right:-16px;background:transparent;border:2px solid #23282d;top:0;bottom:0;margin:auto;border-radius:100%;z-index:1}.edd-ui-tooltip .timeline li:after{content:"";width:2px;height:calc(100% - 4px);background:#23282d;position:absolute;right:-13px;top:calc(50% + 3px)}.edd-hidden,.edd-ui-tooltip .timeline li:last-child:after{display:none}.edd-clearfix:after{content:"";display:table;clear:both}.edd-fadein{visibility:visible;opacity:1;transition:opacity 1s linear}.edd-fadeout{visibility:hidden;opacity:0;transition:visibility 0s 1s,opacity 1s linear}.edd-custom-price-option-sections-wrap{display:none;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid hsla(0,0%,87.1%,.3)}.edd-custom-price-option-section-title{display:block;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section-content{display:flex;gap:12px;margin-bottom:6px}.edd-custom-price-option-section:last-child{border-bottom:none}.toggle-custom-price-option-section{color:#787c82}.toggle-custom-price-option-section:hover{color:#537994}#edd_product_settings .edd-product-options__title,#edd_product_settings .inside strong{border-top:1px solid #c3c4c7;border-bottom:1px solid #c3c4c7;background-color:#f9f9f9;display:flex;font-weight:600;margin:0 -12px 16px;padding:8px 12px;justify-content:space-between;align-items:center}#edd_product_settings .edd-product-options-wrapper:first-of-type .edd-product-options__title,#edd_product_settings .inside div:first-child strong{margin-top:-8px}#edd_product_settings .edd-product-options__title .edd-help-tip,#edd_product_settings .inside strong .edd-help-tip{font-size:20px}#edd_product_settings .label--block{display:block;margin:0 0 4px}.edd_repeatable_row.ui-sortable-placeholder{line-height:0;padding:0;margin:0;box-sizing:border-box;border:1px dashed #c3c4c7;visibility:visible!important}.edd-add-repeatable-row{border-top:1px solid #c3c4c7;padding:12px;margin:15px -12px -12px;display:flex;justify-content:flex-end;align-items:center}.edd_repeatable_row input[type=text].large-text{width:100%}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd_repeatable_row.ui-sortable-helper .edd-repeatable-row-actions .edd-remove-row{display:none}.edd-repeatable-row-actions{color:#787c82}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f6f7f7;border:1px solid #c3c4c7;display:flex;justify-content:space-between}.edd-repeatable-row-header{cursor:move}.edd_repeatable_row:hover .edd-repeatable-row-header,.edd_repeatable_row:hover .edd-repeatable-row-standard-fields{border-color:#c3c4c7}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:"";display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-bundle-products-header,.edd-repeatable-row-title{font-weight:600}.edd-bundle-products-header,.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{flex-grow:1;text-align:left}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{padding:8px;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;display:flex;justify-content:space-between;align-items:center;gap:18px}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-bottom:0;display:inline-flex;flex-direction:column;flex-grow:1;justify-content:space-between}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-right:4px}.edd-bundled-product-item-reorder{min-width:30px}.edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;cursor:move;color:#dcdcde;font-family:dashicons;content:"";transition:color .2s}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#a7aaad}.edd-bundled-product-actions{-ms-grid-row-align:center;align-self:center}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}@media screen and (max-width:480px){.edd-bundle-products-header,.edd-bundled-product-row,.edd-repeatable-row-header,.edd-repeatable-row-standard-fields{flex-wrap:wrap}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-right:0!important;margin-bottom:24px}}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative;width:100%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container+span:first-child{width:100%}.edd_repeatable_upload_field{padding-left:32px}.edd_upload_file button{background:#f6f7f7;border:none;border-right:1px solid #c3c4c7;padding:0 4px;position:absolute;height:calc(100% - 4px);overflow:hidden;top:2px;left:2px;display:inline-flex;justify-content:center;align-items:center}#edd-duplicate-action~#publishing-action{position:relative;top:-10px}#edd_product_files.ajax--loading{position:relative}#edd_product_files.ajax--loading:before{background:none;display:block;position:absolute;top:50%;right:50%;z-index:5;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:1.25em;height:1.25em;transform:translate3d(50%,-50%,0);will-change:transform}#edd_product_files.ajax--loading:after{background-color:hsla(0,0%,100%,.75);display:block;position:absolute;top:0;right:0;width:100%;height:100%;content:" ";z-index:1}.edd-form-group{margin-bottom:16px}.edd-form-group:last-of-type{margin-bottom:0}.edd-form-group>label,.edd-form-group__label{display:block;font-weight:600;margin-bottom:8px;padding:0}.edd-form-group__control{margin-bottom:12px;max-width:100%}.edd-form-group__control.is-check,.edd-form-group__control.is-radio{margin-top:4px}.edd-form-group__control:last-of-type{margin-bottom:0}.edd-form-group__control--is-inline{display:inline-flex;align-items:flex-end}.edd-form-group__input{max-width:100%}.edd-form-group__input[type=checkbox],.edd-form-group__input[type=radio]{margin-top:0}.edd-form-group__input[type=checkbox]+label,.edd-form-group__input[type=radio]+label{display:unset}select.edd-form-group__input{max-width:100%}.edd-form-group__help{color:#646970;font-size:13px;font-style:italic;line-height:normal;margin:8px 0 0}.edd-range{display:flex;align-items:center;gap:15px}.edd-range .edd-range__slider{min-width:90px;height:2px;border-radius:10px;border:none;background:#ccc}.edd-range .edd-range__slider .ui-slider-range{background:var(--wp-admin-theme-color)}.edd-range .edd-range__slider .ui-slider-handle{height:15px;width:15px;top:-6.5px;border-radius:100%;background:var(--wp-admin-theme-color);border:none;cursor:pointer;display:inline-block;position:relative}.edd-range .edd-range__input{max-width:60px}.edd-form-row{display:flex;flex-wrap:wrap;gap:12px}.edd-form-row__column{display:inline-flex;flex-direction:column;justify-content:flex-end}.edd-form-row__column.edd-form-group{margin-bottom:0}.edd-form-row label,.edd-form-row label.edd-form-group__label{margin-bottom:8px}#edd-migration-progress .dashicons-minus{color:#949494}#edd-migration-progress .dashicons-yes{color:green}#edd-migration-progress .dashicons-update:before{animation:rotation 2s linear infinite;display:block}#edd-v3-migration-remove-legacy-data-submit-wrap{display:flex;align-items:center;gap:6px}#edd-v3-migration-remove-legacy-data-submit-wrap .button{margin:0}#edd-filters{padding:10px;margin:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}#edd-filters .filter-items{flex-wrap:wrap;gap:6px;float:none;flex-grow:1}#edd-filters .filter-items,#edd-filters .filter-items .graph-option-section{display:flex;align-items:center}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-graphs-date-options{border-top-left-radius:4px;border-bottom-left-radius:4px}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-dates,#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-relative-dates{display:none}#edd-filters .filter-items .edd-date-range-options{display:inline-block;margin:10px 0}#edd-filters .filter-items .edd-graphs-date-options{border-top-left-radius:0;border-bottom-left-radius:0}#edd-filters .filter-items .edd-date-range-dates{display:flex;align-items:center;border:1px solid #8c8f94;border-right:none;color:#2c3338;padding:4px 10px;margin-right:-5px;border-top-left-radius:4px;border-bottom-left-radius:4px;cursor:pointer;gap:4px}#edd-filters .filter-items .edd-date-range-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-date{display:inline-block}#edd-filters .filter-items .edd-date-range-relative-dates{display:flex;align-items:center;margin-right:10px}#edd-filters .filter-items .edd-date-range-relative-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-relative-date{position:relative;display:flex;align-items:center;border:1px solid #8c8f94;padding:4px 6px 4px 2px;color:#2c3338;margin-right:10px;margin-left:10px;border-radius:4px;cursor:pointer}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{width:16px;height:auto;margin-right:6px;margin-top:2px;vertical-align:middle}#edd-filters .filter-items .edd-date-range-selected-relative-date.opened .edd-date-range-relative-dropdown{display:block}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:absolute;z-index:99;width:420px;right:50%;top:100%;margin-top:10px;transform:translateX(50%);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,.25);display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{height:10px;width:10px;position:absolute;content:"";background:#fff;border-color:#8c8f94;border-style:solid;border-width:0 0 1px 1px;transform:rotate(135deg);top:-6px;right:calc(50% - 4px)}#edd-filters .filter-items .edd-date-range-relative-dropdown .spinner{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading{padding:10px;text-align:center}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading .spinner{display:inline-block;visibility:visible;margin:0;float:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading :not(.spinner){display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{display:flex;align-items:center;padding:2px 10px;opacity:.85;gap:20px}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li.active,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li:hover{cursor:pointer;color:var(--wp-admin-theme-color);opacity:1}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:110px}@media screen and (max-width:950px){#edd-filters .filter-items .graph-option-section{margin-top:8px;width:100%}#edd-filters .filter-items .edd-date-range-picker{flex-wrap:wrap}#edd-filters .filter-items .edd-graphs-date-options{width:100%;max-width:100%;min-height:40px;font-size:14px;border-top-left-radius:4px;border-bottom-left-radius:4px}#edd-filters .filter-items .edd-date-range-dates{width:100%;margin-top:10px;border:1px solid #8c8f94;margin-right:unset;border-radius:4px;font-size:14px;padding:8px 8px 8px 6px}#edd-filters .filter-items .edd-date-range-relative-dates{width:100%;flex-wrap:wrap;margin-right:0;margin-top:6px}#edd-filters .filter-items .edd-date-range-selected-relative-date{width:100%;margin-top:8px;margin-right:0;margin-left:0;font-size:14px;padding:8px 8px 8px 6px;flex-wrap:wrap}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{margin-right:auto}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:relative;width:100%;right:0;top:0;transform:unset;box-shadow:unset;border:unset;margin:0}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul{margin-bottom:0}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{padding-right:0;padding-left:0;justify-content:space-between;flex-wrap:wrap;gap:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-dates,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:100%}}#edd-filters>p{color:#757575}#edd-filters input[type=number],#edd-filters input[type=text].edd_datepicker{max-width:105px}#edd-filters .button-secondary,#edd-filters input[type=number]{margin-bottom:0}#edd-filters .search-form{margin:0}@media screen and (max-width:480px){#edd-filters span{margin:2px 0}}#edd-advanced-filters{position:relative}#edd-advanced-filters .inside{z-index:99;position:absolute;top:29px;left:0;border:1px solid #e0e0e0;padding:0;background:#fff;box-shadow:0 3px 5px rgba(0,0,0,.2);min-width:285px;opacity:0;visibility:hidden}#edd-advanced-filters fieldset{display:block;padding:10px 15px 15px;margin:10px 0}#edd-advanced-filters fieldset:not(:last-of-type){border-bottom:1px solid #e0e0e0}#edd-advanced-filters fieldset:last-of-type{padding-bottom:5px}#edd-advanced-filters fieldset.edd-add-on-filters div,#edd-advanced-filters fieldset.edd-add-on-filters label,#edd-advanced-filters fieldset.edd-add-on-filters p,#edd-advanced-filters fieldset.edd-add-on-filters span{display:block;margin-bottom:2px}#edd-advanced-filters div.edd-select-chosen:not(:last-child){margin-bottom:10px}#edd-advanced-filters.open .edd-advanced-filters-button{background:#e0e0e0;border-color:#949494;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}#edd-advanced-filters.open .inside{visibility:visible;opacity:1;transition:opacity .2s ease-in}.download_page_edd-reports #edd-filters{margin-bottom:-1px;box-shadow:none}@media screen and (max-width:782px){.download_page_edd-reports #edd-filters{gap:0}}.edd-old-log-filters{margin-top:-30px;margin-right:2px}@media screen and (min-width:600px){#edd-reports-charts-wrap{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(200px,50%))[2];grid-template-columns:repeat(2,minmax(200px,50%));grid-gap:2em}.edd-reports-chart{margin-bottom:0}.edd-reports-chart-bar,.edd-reports-chart-line{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2}}.edd-canvas__container{margin:auto;position:relative;max-width:100%;max-height:75vh}@media screen and (min-width:480px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:450px}}@media screen and (min-width:782px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:500px}}@media screen and (min-width:1080px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:700px}}.chart-timezone{font-size:.75rem;color:#c3c4c7}.edd-mobile-link{line-height:32px}.edd-mobile-link a{text-decoration:none}.edd-mobile-link a:after,.edd-mobile-link a:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;margin:1px 0 0;padding:0}.edd-mobile-link a:before{content:"";color:#757575;margin-left:-3px}.edd-mobile-link a:after{content:""}#edd-reports-tiles-wrap #dashboard-widgets .sortable-placeholder{padding:0;margin:0 0 20px;line-height:0;box-sizing:border-box;height:110px}#edd-reports-tiles-wrap #dashboard-widgets #primary-sortables{margin-right:0}#edd-reports-tiles-wrap #dashboard-widgets #tertiary-sortables{margin-left:0}#edd-reports-tiles-wrap{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:20px}.edd-reports-tile{text-align:center;padding:20px 10px 35px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e5e5e5;background:#fafafa;position:relative;box-sizing:border-box;gap:.5em}.edd-reports-tile>span:not(.tile-compare){width:100%}.edd-reports-tile .tile-label{text-align:center;text-transform:uppercase;font-size:12px;font-weight:400;color:#101517}.edd-reports-tile .tile-value{color:#333;font-size:2em;line-height:1;transition:all .2s ease-in-out;display:flex;justify-content:center;flex-direction:column;gap:.25em}.edd-reports-tile:hover{border:1px solid #aaa}.edd-reports-tile:hover .tile-value:not(.tile-no-data){transform:scale(1.05)}.edd-reports-tile .tile-amount{color:#2794da}.edd-reports-tile .tile-number{color:#96f}.edd-reports-tile .tile-amount,.edd-reports-tile .tile-number{color:#fff}.edd-reports-tile .tile-value.tile-no-data{color:#ddd}.edd-reports-tile .tile-value.tile-url{font-size:1.5em}.edd-reports-tile .tile-relative{font-size:12px;font-weight:400;color:#888}.edd-reports-tile span.dashicons{display:inline-block;font-size:30px;line-height:20px;height:20px;width:20px;position:relative;top:4px;right:-5px;margin-right:-5px;color:#999}.edd-reports-tile .tile-relative span.dashicons{top:-5px;right:-3px;margin-right:0}.edd-reports-tile .tile-relative span.dashicons-arrow-down,.edd-reports-tile .tile-relative span.dashicons-arrow-up.reverse{color:#d63638}.edd-reports-tile .tile-relative span.dashicons-arrow-down.reverse,.edd-reports-tile .tile-relative span.dashicons-arrow-up{color:#008a20}.edd-reports-tile .tile-compare{position:absolute;left:0;bottom:0;color:#aaa;font-size:11px;line-height:1em;background-color:#fff;border-color:#e5e5e5 #e5e5e5 #fff #fff;border-style:solid;border-width:1px;border-top-right-radius:8px;padding:4px 9px 0 0;margin:0 0 -1px -1px}.edd-reports-tile:hover .tile-compare{border-right:1px solid #bbb;border-top:1px solid #bbb;color:#777}.edd-chartjs-tooltip{position:absolute;background-color:#fff;border-radius:7px;transition:all .1s ease;pointer-events:none;transform:translate(50%);font-size:12px;box-shadow:0 0 0 1px rgba(89,94,100,.1),0 15px 35px 0 rgba(89,94,100,.1),0 5px 15px 0 rgba(0,0,0,.12);min-width:120px;opacity:0}.edd-chartjs-tooltip-key{display:inline-block;width:10px;height:10px;margin-left:5px}.edd-order-customer__actions{margin-bottom:2em}#edd-submit-refund-status{text-align:center;font-size:1.2em}#edd-submit-refund-status .edd-submit-refund-message:before{font-family:dashicons;font-size:1.5em;vertical-align:middle;color:#fff;border-radius:16px;margin:5px}#edd-submit-refund-status .edd-submit-refund-message.success:before{content:"";background-color:#008a20;padding-left:1px}#edd-submit-refund-status .edd-submit-refund-message.fail{display:block;margin-bottom:16px}#edd-submit-refund-status .edd-submit-refund-message.fail:before{content:"";background-color:#d63638}.refund-items td,.refund-items th.check-column{vertical-align:baseline}.refund-items .column-amount,.refund-items .column-discount,.refund-items .column-quantity,.refund-items .column-subtotal,.refund-items .column-tax,.refund-items .column-total{width:80px}.refund-items .edd-form-group__control{display:flex;align-items:center}.refund-items .edd-form-group__control input,.refund-items .edd-form-group__control select{background-color:transparent;border:0;border-bottom:1px solid;border-radius:0;box-shadow:none;text-align:left;width:100%}.refund-items .edd-form-group__control input:disabled,.refund-items .edd-form-group__control select:disabled{border-bottom:none}.refund-items .edd-form-group__control input:focus,.refund-items .edd-form-group__control select:focus{border-bottom:1px solid var(--wp-admin-theme-color-darker-10);box-shadow:0 1px 0 var(--wp-admin-theme-color-darker-10)}.refund-items .edd-form-group__control select[data-original="1"]{background:transparent}.refund-items .edd-form-group__control .is-before+span>input,.refund-items .edd-form-group__control select{text-align:right}.refund-items .edd-refund-submit-line-total{background-color:#fff!important}.refund-items .edd-refund-submit-line-total td{text-align:left}.refund-items .edd-refund-submit-line-total-amount{display:inline-block;margin-right:20px;text-align:right;width:80px}.refund-items #edd-refund-submit-subtotal td{border-top:2px solid #c3c4c7}@media screen and (max-width:782px){.refund-items td.column-total{margin-bottom:16px}.refund-items .edd-refund-submit-line-total-amount{padding-left:16px;width:unset}}.edd-submit-refund-actions{margin:16px 0 0}.did-refund .edd-submit-refund-actions,.did-refund .refund-items,body.edd-about div.notice{display:none}body.edd-about #edd-admin-about *,body.edd-about #edd-admin-about :after,body.edd-about #edd-admin-about :before{box-sizing:border-box}body.edd-about #edd-admin-about{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section{box-shadow:0 2px 5px #e8e8e8;margin:0 20px 20px;padding:30px;background:#fff;border:1px solid #ddd;line-height:2;display:flex;flex-direction:row}body.edd-about #edd-admin-about .edd-admin-about-section h2{font-size:24px;line-height:32px;color:#646970;margin:0}body.edd-about #edd-admin-about .edd-admin-about-section h3{font-size:16px;line-height:22px;color:#787c82}body.edd-about #edd-admin-about .edd-admin-about-section p,body.edd-about #edd-admin-about .edd-admin-about-section ul{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p{margin-bottom:10px}body.edd-about #edd-admin-about .edd-admin-about-section p.bigger{font-size:18px}body.edd-about #edd-admin-about .edd-admin-about-section p.smaller{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p:last-child{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section hr{margin:30px 0}body.edd-about #edd-admin-about .edd-admin-about-section figure{margin:0}body.edd-about #edd-admin-about .edd-admin-about-section figure img.shadow{width:100%;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about .edd-admin-about-section figure figcaption{font-size:14px;color:#888;margin-top:5px;text-align:center;line-height:normal}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section .column{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section .column--20{width:20%}body.edd-about #edd-admin-about .edd-admin-about-section .column--40{width:40%}body.edd-about #edd-admin-about .edd-admin-about-section .column--50{width:50%}body.edd-about #edd-admin-about .edd-admin-about-section .column--60{width:60%}body.edd-about #edd-admin-about .edd-admin-about-section .column--80{width:80%}body.edd-about #edd-admin-about .edd-admin-about-section .column.align--middle{align-items:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-l-15{margin-right:15px}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-r-15{margin-left:15px}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain{margin-top:0;margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain li{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-features li{display:flex;align-items:center;justify-items:left;gap:8px}body.edd-about #edd-admin-about .edd-admin-about-section .dashicons-star-filled{color:gold}body.edd-about #edd-admin-about .edd-admin-about-section .no-margin{margin:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .no-padding{padding:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .centered{text-align:center!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:1;padding-left:30px}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video iframe{border:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero{display:flex;flex-direction:column;padding:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{padding:30px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra div.notice,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main div.notice{display:none}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra h3.call-to-action,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main h3.call-to-action{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{background-color:#fafafa;border-bottom:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main.no-border{border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main p{color:#666}body.edd-about #edd-admin-about .edd-admin-about-section-squashed{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-squashed:not(:last-of-type){border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:row;gap:50px}body.edd-about #edd-admin-about .edd-admin-about-section-post h2{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-post h3{margin-bottom:15px}body.edd-about #edd-admin-about .edd-admin-about-section-post p:last-of-type{margin-bottom:30px}body.edd-about #edd-admin-about .edd-admin-about-section-post img{max-width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20{width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{width:calc(100% - 270px)}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary{transition:all .1s ease-in-out}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:focus,body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:hover{background-color:#2271b1;color:#fff}body.edd-about #edd-admin-about #edd-admin-addons{padding:0 30px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:row;flex-wrap:wrap;align-items:space-between}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 33.3333%;max-width:33.3333%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item{display:flex;flex-direction:column;border:1px solid #ddd;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{padding:20px;display:flex;flex-direction:row;background-color:#fff;flex-grow:1}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .leftcol img{max-width:100px;padding:10px;box-shadow:0 2px 3px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{flex-direction:column;justify-content:left;flex-grow:4;padding-right:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol h5{font-size:14px;margin-bottom:10px;margin-top:0}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 12px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions.has-response{justify-content:center;flex-grow:10}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label{font-weight:600}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.active{color:#008a20}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.inactive{color:#d63638}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.not-installed{color:#646970}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.disabled,body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.loading{cursor:default}@media(max-width:1440px){body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 50%;max-width:50%}}@media(max-width:1280px){body.edd-about #edd-admin-about .welcome-message{flex-direction:column-reverse}body.edd-about #edd-admin-about .welcome-message.column--20,body.edd-about #edd-admin-about .welcome-message .column--40,body.edd-about #edd-admin-about .welcome-message .column--50,body.edd-about #edd-admin-about .welcome-message .column--60,body.edd-about #edd-admin-about .welcome-message .column--80{width:100%}body.edd-about #edd-admin-about .welcome-message.column--20.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-l-15{margin-right:0}body.edd-about #edd-admin-about .welcome-message.column--20.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-r-15{margin-left:0}}@media(max-width:960px){body.edd-about #edd-admin-about .edd-admin-about-section{flex-direction:column;gap:20px}body.edd-about #edd-admin-about .edd-admin-about-section.welcome-message{flex-flow:column-reverse}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section.column--20,body.edd-about #edd-admin-about .edd-admin-about-section .column--40,body.edd-about #edd-admin-about .edd-admin-about-section .column--50,body.edd-about #edd-admin-about .edd-admin-about-section .column--60,body.edd-about #edd-admin-about .edd-admin-about-section .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-l-15{margin-right:0}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-r-15{margin-left:0}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:block!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:none}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video{padding-top:20px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra .edd-admin-column-50{float:none;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 img,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 img{width:auto;max-width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.image,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.image{margin:0 auto;align-content:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.content,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.content{flex-direction:column;justify-items:left}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link{font-size:1.25rem;display:flex;justify-items:space-around;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link .dashicons,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link .dashicons{display:none}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:column}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{padding:10px;flex:1 0 100%;max-width:100%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{flex-direction:row}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{padding-right:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol .addon-name{text-align:right}}#edd-flyout{position:fixed;z-index:99999;transition:all .2s ease-in-out;left:40px;bottom:40px;opacity:1;display:flex;flex-direction:column;align-items:flex-end}@media(max-width:960px){#edd-flyout{display:none}}#edd-flyout .edd-flyout-label{transform:translateY(-50%);-moz-transform:translateY(-50%);-webkit-transform:translateY(-50%);color:#fff;background-color:#757575;font-size:12px;white-space:nowrap;padding:5px 10px;transition:all .2s ease-out;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:20px;opacity:0;transform:scale(0)}#edd-flyout #edd-flyout-button{border:none;padding:0;background:none;display:flex;flex-direction:row;gap:10px;align-items:center}#edd-flyout #edd-flyout-button img{width:54px;height:54px;display:block;border-radius:50%;border:3px solid #0c5d95;overflow:hidden;transition:all .2s ease-in-out;background:#fff}#edd-flyout #edd-flyout-button:hover img{cursor:pointer;box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-button .edd-flyout-label{opacity:0;transform:translateY(-50%) scale(0)}#edd-flyout #edd-flyout-button:hover .edd-flyout-label{opacity:1;transform:translateY(-50%) scale(1)}#edd-flyout #edd-flyout-button.has-alert:after{transform:scale(1);opacity:1;font-family:dashicons;content:"";color:#d63638;font-size:16px;height:16px;width:16px;text-decoration:none;border-radius:999999px;line-height:16px;transition:all .2s ease-in-out;background-color:#fff;position:absolute;left:3px;bottom:46px}#edd-flyout #edd-flyout-items{display:flex;flex-direction:column-reverse;gap:10px;margin-left:12px;margin-bottom:12px;height:0}#edd-flyout #edd-flyout-items .edd-flyout-item{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:25px;visibility:collapse}#edd-flyout #edd-flyout-items .edd-flyout-item a{text-decoration:none;color:#fff}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{transition:all .2s ease-in-out;transform:scale(0);opacity:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{margin-top:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label a{display:inline-block;line-height:normal;height:auto!important}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon{display:flex;justify-content:space-around;width:40px;height:40px;border-radius:50%;box-shadow:0 3px 12px 1px rgba(30,30,30,.55);background:#0c5d95 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.red{background:#d63638 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.green{background:#1da867 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon span.dashicons:before{color:#fff;font-size:20px;line-height:40px;vertical-align:middle}#edd-flyout #edd-flyout-items .edd-flyout-item:hover{cursor:pointer}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon{background:#35495c 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.red{background:#b60012 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.green{background:#199155 100% 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{background-color:#494949}#edd-flyout.opened #edd-flyout-items{height:auto}#edd-flyout.opened #edd-flyout-items .edd-flyout-item{visibility:visible}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-icon{transition:transform .2s 0ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-icon{transition:transform .2s 24ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-icon{transition:transform .2s 48ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-icon{transition:transform .2s 72ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-label{transition:transform .2s 96ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-label{opacity:1;transform:scale(1)}#edd-flyout.opened #edd-flyout-button img{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout.opened #edd-flyout-button .edd-flyout-label{opacity:0}#edd-flyout.opened #edd-flyout-button.has-alert:after{opacity:0;transition:scale(0)}#edd-flyout.out{opacity:0;visibility:hidden}.edd-admin-notice-top-of-page{font-size:15px;line-height:1.4;color:#fff;margin-right:-20px;padding:12px 20px 12px 32px;background:#2d6ca2}.edd-admin-notice-top-of-page.edd-pro-inactive{background:#d63638}@media screen and (min-width:783px){.edd-admin-notice-top-of-page{padding:10px 22px 10px 46px}}@media screen and (min-width:961px){.edd-admin-notice-top-of-page{text-align:center}}.edd-admin-notice-top-of-page a{color:#fff}.edd-admin-notice-top-of-page a:hover{text-decoration:none}.edd-admin-notice-top-of-page .button-link{position:absolute;top:48px;left:-1px;font-size:20px;color:#fff;font-weight:700;text-decoration:none;margin-right:5px;padding:6px 10px}.edd-admin-notice-top-of-page .button-link:active,.edd-admin-notice-top-of-page .button-link:focus,.edd-admin-notice-top-of-page .button-link:hover{color:#fff;text-decoration:none}@media screen and (min-width:601px){.edd-admin-notice-top-of-page .button-link{top:1px}}@media screen and (min-width:783px){.edd-admin-notice-top-of-page .button-link{left:9px}}#edd-admin-notice-five-star-review{display:-ms-grid!important;display:grid!important}#edd_dashboard_sales .edd-promo-notice{border-bottom:1px solid #c3c4c7}.edd-review-actions{display:flex;gap:6px;margin:0 0 16px}.edd-promo-notice .edd-peeking{align-self:flex-end;justify-self:flex-end;margin-left:16px;margin-bottom:-1px}@media screen and (max-width:782px){#edd-admin-notice-five-star-review.notice .edd-peeking{margin-bottom:-6px}}@media screen and (min-width:480px){.edd-promo-notice.notice-info .edd-peeking{justify-self:flex-start;margin-left:0;margin-right:250px}}.edd-promo-notice .edd-peeking,.edd-review-step{-ms-grid-row:1;grid-area:1/-1}.edd-promo-notice__overlay{display:none;position:fixed;background:rgba(16,21,23,.75);top:0;left:0;bottom:0;right:160px;z-index:110;justify-content:center;align-items:center}.folded .edd-promo-notice__overlay{right:36px}@media screen and (max-width:782px){.edd-promo-notice__overlay{right:0}}.edd-admin-notice-overlay{display:none;background-color:#fff;padding:2.5em;text-align:center;max-width:650px;position:relative;flex-direction:column}.edd-promo-notice__overlay .edd-admin-notice-overlay{display:flex}.edd-admin-notice-overlay h2{line-height:1.6em;margin:0 auto;max-width:540px}.edd-admin-notice-overlay .edd-promo-notice__features{text-align:right;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em}.edd-admin-notice-overlay .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center}@media screen and (max-width:600px){.edd-admin-notice-overlay .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-admin-notice-overlay .button{padding:4px 36px;margin:0 auto .5em;max-width:360px}.edd-admin-notice-overlay__link{color:#101517}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link{position:absolute;color:#537994;text-decoration:none;font-size:2em;top:0;left:.5em}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:active,.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:hover{color:#101517}@media screen and (max-width:782px){.edd-admin-notice-overlay{margin:1em}}.edd-promo-notice__popup{display:flex;justify-content:center;justify-items:center;flex-direction:column;margin:2em auto;gap:0 1.5em}.edd-promo-notice__popup h2{line-height:1.6em;margin:0 auto;max-width:540px;font-size:1.25em}.edd-promo-notice__popup .content{display:inherit;flex-direction:inherit;justify-items:center;text-align:center}.edd-promo-notice__popup .content .edd-promo-notice__features{text-align:right;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em;flex-direction:row}.edd-promo-notice__popup .content .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center;min-width:50%}@media screen and (max-width:600px){.edd-promo-notice__popup .content .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-promo-notice__popup .content .button-primary{padding:4px 36px;margin:.5em auto;max-width:360px}.edd-promo-notice__popup .content__link{color:#101517}#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-account-status li span,#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-webhook-events li span{animation:skeleton-loading 1s infinite alternate;width:250px;height:18px;display:inline-block}#edd-paypal-commerce-connect-wrap.loading .edd-paypal-connect-actions span{animation:skeleton-loading 1s infinite alternate;width:150px;height:32px;display:inline-block}.edd-paypal-account-status ul{margin-right:25px;list-style-type:none}.edd-paypal-account-status>li{margin-bottom:1em}.edd-paypal-account-status ul:not(.edd-paypal-webhook-events) li{margin:.25em 0}.edd-paypal-account-status .dashicons-yes{color:#008a20}.edd-paypal-account-status .dashicons-no{color:#d63638}@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.wrap-licenses .edd-licenses__description{margin:2em 1em}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}@media screen and (min-width:600px){.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:unset}}.wrap-licenses tbody{display:-ms-grid;display:grid;gap:1em}.wrap-licenses .form-table tr{margin:0;background:#fff;border:1px solid #dcdcde;border-radius:3px;padding:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}@media screen and (min-width:600px){.wrap-licenses .form-table tr{display:-ms-grid;display:grid;-ms-grid-columns:200px 1fr;grid-template-columns:200px 1fr}}.wrap-licenses .form-table th{background:#f9f9f9;margin-bottom:2.5em;padding:1em;border-bottom:1px solid #dcdcde;width:unset}@media screen and (min-width:600px){.wrap-licenses .form-table th{border-bottom:none;margin-bottom:0;display:flex;align-items:center}}.wrap-licenses .form-table td{margin:0;padding:0;display:flex;flex-direction:column;gap:2.5em;flex-grow:1}@media screen and (min-width:600px){.wrap-licenses .form-table td{flex-direction:row;gap:unset}}.wrap-licenses .form-table td input.regular-text{margin:0;width:100%;max-width:250px}.wrap-licenses .form-table td button{margin:0}.wrap-licenses .form-table .edd-license__control{flex-grow:1;padding:0 1em;display:flex;gap:4px;align-items:center;justify-content:center}@media screen and (min-width:600px){.wrap-licenses .form-table .edd-license__control{justify-content:flex-end}}.wrap-licenses .form-table .edd-licensing__actions{display:flex;gap:4px}.wrap-licenses .edd-license-data[class*=edd-license-]{background:#f9f9f9;padding:1em;border-top:1px solid #dcdcde;margin:0;width:100%;box-sizing:border-box;display:flex;align-items:flex-end}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}@media screen and (min-width:600px){.wrap-licenses .edd-license-data[class*=edd-license-]{border-top:none;width:unset;flex-basis:100%;align-items:center}.wrap-licenses .edd-license-data[class*=edd-license-]:not(:only-child){flex:0 1 300px}}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover{text-decoration:none}.edd-sub-nav{margin:0;display:flex;justify-content:flex-start;gap:4px;overflow-x:auto}.edd-sub-nav__wrapper{margin:16px 0}.edd-sub-nav li{border:2px solid #f0f0f1;border-radius:4px;margin:0}.edd-sub-nav li a{color:#646970;display:block;padding:6px 14px;text-decoration:none}.edd-sub-nav li a:active,.edd-sub-nav li a:focus{box-shadow:none}.edd-sub-nav li:active,.edd-sub-nav li:focus,.edd-sub-nav li:hover{background-color:#fff;box-shadow:none;outline:none;border-color:#a7aaad}.edd-sub-nav li.current{background-color:#d7dade;font-weight:600}.edd-sub-nav__wrapper+.notice{margin-right:0}.edd-settings-content{max-width:1440px}.edd-settings-content h3{margin:0}.edd-settings-color,.edd-settings-colors{display:flex;flex-wrap:wrap;gap:1em}.edd-settings-color{flex-direction:column}.edd-upload-button-wrapper{width:100%;display:flex;gap:5px}.edd-upload-button-wrapper button.edd_settings_upload_button{margin-bottom:0}#edd-payment-gateways a.button.edd-settings__button-settings{position:absolute;left:2em;min-height:unset;height:1.5em;width:1.5em;border:none;background-color:#f9f9f9}#edd-payment-gateways a.button.edd-settings__button-settings,#edd-payment-gateways a.button.edd-settings__button-settings:active,#edd-payment-gateways a.button.edd-settings__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active #edd-payment-gateways a.button.edd-settings__button-settings{display:block}.edd-settings__list--disc{list-style:disc;list-style-position:inside}.wp-list-table.discounts .column-amount{width:90px}.wp-list-table.discounts th.column-use_count{width:150px}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount .edd-discount-datetime input,#edd-edit-discount .edd-discount-datetime input{vertical-align:middle}#edd-add-discount input[type=text].edd_datepicker,#edd-edit-discount input[type=text].edd_datepicker{display:inline-block;width:183px}#edd-edit-discount textarea{height:100px}.edd-amount-type-wrapper{position:relative;display:flex}.edd-amount-type-wrapper select{border-top-right-radius:0;border-bottom-right-radius:0;width:auto!important}.edd-amount-type-wrapper #edd-amount{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-2px;padding:0 8px;width:unset;max-width:125px}.edd-amount-type-wrapper input:focus{z-index:2}.edd-code-wrapper{display:flex;align-items:stretch;gap:3px}.edd-popup-trigger{display:flex!important;align-items:center;gap:3px}@media screen and (max-width:782px){.edd-popup-trigger{margin-bottom:0!important}}@media screen and (max-width:480px){.edd-popup-trigger span:not(.dashicons){display:none}}.edd-code-generator-popup{position:absolute;z-index:99;width:250px;height:auto;margin:auto;padding:10px;transform:translate(-240px,15px);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 -2px 5px 0 rgba(0,0,0,.25);box-sizing:border-box;display:none}.edd-code-generator-popup:after{content:"";width:15px;height:15px;background:#fff;position:absolute;margin:auto;transform:rotate(-45deg);z-index:-1;right:0;left:0;top:-8.5px;border-color:#8c8f94;border-style:solid;border-width:1px 1px 0 0}@media screen and (max-width:480px){.edd-code-generator-popup{transform:translateY(15px) translateX(-105px)}.edd-code-generator-popup:after{right:70%}}.edd-code-generator-popup .edd-form-group{width:100%;margin-bottom:10px;padding-bottom:10px;box-sizing:border-box;margin-top:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcdcde;height:40px}.edd-code-generator-popup .edd-form-group:last-of-type{border-bottom:0}.edd-code-generator-popup .edd-form-group label{padding:5px 0;width:60px;font-size:12px;margin-bottom:0;box-sizing:border-box}@media screen and (max-width:782px){.edd-code-generator-popup .edd-form-group label{line-height:28px}}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]){width:120px!important;min-height:0;height:30px}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]):not(:focus){border:1px solid #8c8f94}.edd-code-generator-popup #edd-generate-code{width:100%}@media screen and (max-width:782px){.edd-code-generator-popup #edd-generate-code:before{margin-top:8px}}.edd_dashboard_widget{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(150px,1fr))[2];grid-template-columns:repeat(2,minmax(150px,1fr));grid-gap:1em}.edd_dashboard_widget>div:not(.table_left):not(.table_right){-ms-grid-column-span:2;grid-column:span 2}.edd_dashboard_widget table thead td{border-bottom:1px solid #c3c4c7;color:#777}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{text-align:left}.edd_dashboard_widget .t{font-size:12px;padding-left:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 12px 8px 0}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:var(--wp-admin-theme-color);border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-left:2px}.edd_dashboard_widget table{width:100%;margin-right:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:left}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}.edd-dashboard-notice{-ms-grid-column-span:2;grid-column:span 2;padding:1px;text-align:center;margin:1em -1em -1em;background-color:#f9f9f9;border:1px solid #c3c4c7}.edd-dashboard-notice--error{background:#d63638;color:#fff}.edd-dashboard-notice--error a{color:#fff}body.dashboard_page_edd-upgrades.js .postbox .hndle{cursor:default}.edd-toggle{position:relative;display:flex;gap:5px;overflow:visible;align-items:center}.edd-toggle input[type=checkbox]{position:relative;margin:0;padding:0;width:42px;min-width:42px;height:24px;background-color:#ccc;transition:background .2s ease;border-radius:34px;box-shadow:none;border:none}.edd-toggle .label{white-space:nowrap}.edd-toggle input[type=checkbox]:before{position:absolute;content:"";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}@media only screen and (max-width:782px){.edd-toggle input[type=checkbox]:checked:before{margin:-.1875rem -.25rem 0 0}}.edd-toggle input[type=checkbox]:checked{background-color:#007cba;background-color:var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:active,.edd-toggle input[type=checkbox]:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-toggle input[type=checkbox]:checked:active,.edd-toggle input[type=checkbox]:checked:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:checked:before{transform:translateX(-22px)}.edd-toggle input[type=checkbox]:disabled{opacity:.5}.edd-toggle.inverse input[type=checkbox]{background-color:#007cba;background-color:var(--wp-admin-theme-color);transform:scaleX(-1)}.edd-toggle.inverse input[type=checkbox]:checked{background-color:#ccc}.edd-notice .notice-dismiss,.edd-wrap a{text-decoration:none}.wp-core-ui .edd-delete,a.edd-delete{color:#a00}.wp-core-ui .edd-delete:hover,a.edd-delete:hover{color:red}body.post-type-download #contextual-help-link-wrap,body.post-type-download #screen-options-link-wrap{top:5px!important}body.post-type-download #screen-meta{margin:0 -20px -1px 0}#edd-header{border-top:5px solid #0c5d95;border-bottom:1px solid #c3c4c7;padding:20px 0;margin-right:-20px;background:#fff}#edd-header-wrapper{display:flex;justify-content:space-between;padding:0 20px;align-items:center}#edd-header img{display:block;max-width:300px;margin:0}.edd-header-page-title-wrap{font-size:1.75em;margin-top:-5px;margin-left:auto;padding-right:7px}.edd-header-separator{margin-top:-2px;opacity:.25}.edd-header-page-title{font-weight:400;font-size:1em;line-height:1.3em;display:inline}.edd-header-page-title-wrap .button{margin-right:5px}.no-js #edd-header-actions{display:none}#edd-header .edd-round{position:relative;background-color:#f3f4f5;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:10px;cursor:pointer;transition:background-color .2s ease}#edd-header .edd-round.edd-hidden{display:none}button.edd-round{border:none}#edd-header button.edd-round:hover{background-color:#e5e5e5}button.edd-round:active,button.edd-round:focus{outline:2px solid #0c5d95}#edd-header .edd-number{position:absolute;background-color:#df2a4a;width:16px;height:16px;font-weight:600;font-size:10px;color:#fff;top:-8px;right:50%;transform:translateX(50%);margin:0;animation:bounce 2s 5}#edd-header .edd-number.edd-hidden{display:none!important}#edd-header .edd-round svg{width:20px;height:20px}@media screen and (max-width:840px){#edd-header img,.edd-header-separator{display:none}}.edd_datepicker{height:29px}.edd-from-to-wrapper input{width:105px;margin:0;position:relative;z-index:1}.edd-from-to-wrapper input[name*=start],.edd-from-to-wrapper input[name=filter_from]{border-top-left-radius:0;border-bottom-left-radius:0}.edd-from-to-wrapper input[name*=end],.edd-from-to-wrapper input[name=filter_to]{margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}.edd-from-to-wrapper input:focus{z-index:2;position:relative}.download_page_edd-settings .edd-check-wrapper{clear:both}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-sortable-list{margin:0;width:300px;position:relative}.edd-sortable-list li{margin:0;padding:0;position:relative;height:28px;cursor:move}.edd-sortable-list li.edd-toggle{padding:4px 0}.edd-sortable-list li label *{vertical-align:middle}.edd-sortable-list li label:after{display:block;width:17px;height:17px;position:absolute;left:6px;top:0;color:#aaa;font-family:dashicons;font-size:17px;content:"";cursor:move}.form-table .edd-sortable-list li label{display:block;height:28px;padding:0;margin:0}.edd-sortable-list .payment-icon{width:32px;height:24px;position:relative;margin-left:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-top:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper input{margin-top:1px}.download_page_edd-settings .form-table .edd-settings-payment-icon-wrapper input[type=checkbox]+label{margin:0;display:inline-block}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-icon-image{margin-left:5px;width:32px;display:inline-block;vertical-align:middle}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-option-name{vertical-align:middle}.download_page_edd-settings .taxrates td,.download_page_edd-settings .taxrates th{padding:8px 10px}.download_page_edd-settings .taxrates td{line-height:1.5em;vertical-align:top;margin:0}.download_page_edd-settings .taxrates .regular-text{width:100%}#TB_window{overflow:hidden}#TB_title{padding:5px}#TB_ajaxContent{width:calc(100% - 30px)!important;padding:15px;margin:0;height:calc(100% - 118px)!important}#TB_ajaxWindowTitle{font-size:18px;font-weight:600;line-height:30px}#TB_closeWindowButton{left:6px;top:6px}#choose-download-wrapper{width:100%}#choose-download-wrapper .wrap{overflow-y:scroll;margin:0;padding:0;height:calc(100% - 50px)}#choose-download-wrapper .submit-wrapper{position:absolute;width:100%;bottom:0;padding:0;margin:0 -15px 0 0;text-align:left}#choose-download-wrapper .submit-wrapper div{background-color:#fafafa;padding:15px;border-top:1px solid #ddd}.wp-media-buttons .button.edd-thickbox{padding-right:0}.wp-media-buttons .button.edd-email-tags-inserter .dashicons{margin-top:-2px}.download_page_edd-payment-history .edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:sticky;top:32px;margin-right:-20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-editor-regions__header{position:static;top:46px}}.download_page_edd-payment-history .edit-post-header{height:56px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100%;box-sizing:border-box;padding:4px 20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-header{padding-right:10px;padding-left:10px}}@media(min-width:280px){.download_page_edd-payment-history .edit-post-header{flex-wrap:nowrap}}.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{order:0}.download_page_edd-payment-history .edit-post-header .edit-post-header__settings{order:1}.download_page_edd-payment-history .edit-post-header #publishing-action,.download_page_edd-payment-history .edit-post-header .edit-post-header__settings,.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{display:flex;align-items:center}.download_page_edd-payment-history .edit-post-header #publishing-action .spinner{margin:0 0 0 5px}.download_page_edd-payment-history .edit-post-header .button-primary{margin:2px;height:34px;line-height:32px;font-size:13px}#edd-order-items .hndle{display:flex;align-items:center;justify-content:space-between}#edd-order-items .hndle .edd-toggle{font-weight:400}.edd-add-order-item td{vertical-align:middle}.edd-add-order-item input{width:80%}.edd-add-order-item input[readonly]{color:#555;background:none;border:1px solid transparent;box-shadow:none}.order-customer-info .customer-details-wrap{margin:15px 0;align-items:center}.order-customer-info .customer-details-wrap .spinner{margin:0}.order-customer-info .customer-details{display:flex;flex-direction:column}.order-customer-info .customer-details .customer-since{color:#666;display:block;margin:4px 0 6px}.order-customer-info .customer-details>span{margin-bottom:5px}.edd-order-add-download-select .spinner{display:none}table.edd-order-overview-summary{border-width:0;table-layout:fixed}table.edd-order-overview-summary--refund{border-width:0}@media screen and (min-width:782px){.edd-order-overview .column-right{text-align:left}}.edd-ml-auto{margin-right:auto!important}@media screen and (min-width:782px){.edd-ml-lg-auto{margin-right:auto!important}}.edd-ml-auto+.edd-ml-auto{margin-right:10px!important}.edd-order-overview-summary__items-name{align-self:flex-start}.edd-order-overview-summary__items>:nth-child(odd){background-color:#f9f9f9}@media screen and (min-width:782px){.edd-order-overview-summary__items tr:last-child td,.edd-order-overview-summary__items tr:last-child th{border-bottom:1px solid #e5e5e5}}@media screen and (max-width:782px){.edd-order-overview-summary .row-actions>*,.edd-order-overview-summary__items-name .row-actions{display:block!important}.edd-order-overview-summary .row-actions>:not(:first-child):before{display:none}}.edd-order-overview-summary th:not(.column-primary){width:100px}.edd-order-overview-summary .row-actions>:not(:first-child):before{color:#999;content:" | "}.edd-order-overview-summary .row-actions .text{color:#555}.edd-order-overview-summary .removable{display:flex;align-items:center;position:relative}.edd-order-overview-summary .removable .delete{display:inline-block;margin-left:10px;margin-right:-8px;padding:10px;border-left:1px solid #e5e5e5;color:#a00}.edd-order-overview-summary .removable .delete:hover{color:#dc3232}.edd-order-overview-summary__adjustments .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td small{font-weight:400}.edd-order-overview-summary__subtotal .column-primary,.edd-order-overview-summary__tax tr:first-of-type .column-primary,.edd-order-overview-summary__total .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td,.edd-order-overview-summary__subtotal td,.edd-order-overview-summary__tax td,.edd-order-overview-summary__total td{vertical-align:middle}.edd-order-overview-summary__tax td small,.edd-order-overview-summary__total td small{font-weight:400}.edd-order-overview-summary__total .total{color:#017d5c;display:inline-block}.edd-order-overview-summary__total .total.is-negative{color:#a00}@media screen and (min-width:783px){.edd-order-overview-summary__adjustments .removable .delete{margin-right:-50px}.edd-order-overview-summary__total .total{font-size:150%;padding-top:5px;padding-bottom:5px}}.edd-order-overview-summary__total tr:last-child td:not(:first-of-type),.edd-order-overview-summary__total tr:last-child th{border-top:1px solid #e5e5e5}.edd-order-overview-summary__total .notice{margin:-1px}.edd-order-overview-summary__total .notice p{font-weight:400;margin:.5em 0}.edd-order-overview-summary__refunds .column-primary{font-weight:600}.edd-order-overview-summary__refunds td small{font-weight:400}.edd-order-overview-summary__refunds tr:first-child td{border-top:1px solid #e5e5e5}#edd-order-overview-actions.inside{border-top:1px solid #ccd0d4;margin-top:0;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}#edd-order-overview-actions.inside:empty{padding:0;border-top:0}#edd-order-overview-actions.inside>div{display:flex;align-items:center}#edd-order-overview-actions .edd-order-overview-actions__notice{flex-basis:100%;margin-top:15px}.edd-order-overview-actions .button{width:100%;margin-bottom:12px}.edd-order-overview-actions .button:last-of-type{margin-bottom:0}@media screen and (min-width:782px){.edd-order-overview-actions .button{width:auto;margin-right:12px;margin-bottom:0}.edd-order-overview-actions .button:first-of-type{margin-right:auto}}.edd-order-overview-actions__locked{font-style:italic;opacity:.8}@media screen and (max-width:782px){.edd-order-overview-actions__locked{margin-bottom:12px}}.edd-order-overview-actions__refund .dashicons{margin-left:8px}.edd-dialog .ui-button-icon-only{font-size:0}.download_page_edd-payment-history .ui-dialog,.download_page_edd-payment-history .ui-dialog-content{overflow:visible}.edd-order-overview-modal form>p{margin-top:0}.edd-order-overview-modal fieldset legend,.edd-order-overview-modal form label{display:block;margin-bottom:4px}.edd-order-overview-modal fieldset{margin-bottom:calc(1em - 3px)}.edd-order-overview-modal fieldset>p{margin:2px 0 3px}.edd-order-overview-modal form .submit{margin:0 -16px -16px;padding:16px;background:#fcfcfc;border-top:1px solid #dfdfdf;display:flex;align-items:center}.edd-order-overview-modal form .submit .spinner{margin:0}.edd-order-overview-add-item [for=auto-calculate]{display:flex;align-items:center}.edd-order-overview-add-item [for=auto-calculate] input[type=checkbox]{margin-top:0}.edd-order-overview-add-item [for=auto-calculate] .label{line-height:1.15;margin-right:8px}.edd-order-overview-add-item [for=auto-calculate] .label small{margin-top:4px;display:block;opacity:.75}.edd-order-overview-add-adjustment .notice,.edd-order-overview-add-item .notice{margin:0 0 1rem}.edd-order-overview-add-adjustment #description,.edd-order-overview-add-discount select{width:100%}.edd-order-overview-error{font-style:italic;color:#a00;display:block;margin:4px 0}.edd-order-copy-download-link textarea{width:100%}.edd-order-resend-email-chooser legend{font-weight:700;margin-bottom:4px}.edd-order-resend-email-chooser p{margin:4px 0}.edd-notes .edd-note{padding:10px;background-color:#ffe;border:1px solid #cc0;width:100%;position:relative;margin-bottom:10px;box-sizing:border-box;overflow:hidden}.edd-notes .edd-note.deleting{opacity:.5}.edd-notes .edd-note__header{display:flex;align-items:center}.edd-add-note .spinner{float:none;display:inline-block;margin:0}.edd-notes .edd-note time{font-size:11px;color:#aaa}.edd-notes .edd-note .edd-note-author{margin-left:5px}.edd-notes .edd-note .edd-delete-note{color:#a00;font-weight:700;text-decoration:none;margin-right:auto}.edd-notes .edd-note .edd-delete-note:hover{color:#888}.edd-notes .edd-note p:last-child{margin-bottom:0}.edd-notes .edd-no-notes{margin:4px 0 10px}textarea[name=edd-note]{width:100%;min-height:70px;margin-top:0}.edd-notes-wrapper{width:80%}.edd-note-pagination{float:left;margin:-35px 5px 15px}.edd-note-pagination a,.edd-note-pagination span.page-numbers{padding:5px 8px;margin:2px;text-decoration:none}.edd-note-pagination a{border:1px solid #e5e5e5;background:#fcfcfc}.edd-note-pagination a:last-child,.edd-note-pagination span.page-numbers:last-child{margin-left:0}.post-type-download .tablenav.top .edd-select{margin-left:6px}.wp-list-table.addresses .column-primary strong,.wp-list-table.customers .column-primary strong,.wp-list-table.discounts .column-primary strong,.wp-list-table.emails .column-primary strong,.wp-list-table.orderadjustments .column-primary strong,.wp-list-table.orderitems .column-primary strong,.wp-list-table.orders .column-primary strong{font-size:14px}.wp-list-table.customers .column-primary .avatar,.wp-list-table.emails .column-customer .avatar{float:right;margin-left:10px;margin-top:1px;border-radius:5px}.wp-list-table.orders div.order-list-email{font-size:.85em;color:#888}.wp-list-table.orders th.column-amount{width:100px}.wp-list-table .row-actions span.activate a{color:green}.wp-list-table .row-actions span.refund a{color:#836fff}.wp-list-table .row-actions span.cancel a{color:#cc8c00}.wp-list-table .row-actions span.cancel a:hover,.wp-list-table .row-actions span.refund a:hover{opacity:.8}.wp-list-table .type-download .row-actions{color:#999}.no-js.edit-tags-php.post-type-download .wp-heading-inline{position:absolute;top:0}.no-js.edit-tags-php.post-type-download .nav-tab-wrapper{margin-top:50px}.download_page_edd-customers .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-discounts .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-payment-history .wrap .nav-tab-wrapper .page-title-action,.edit-tags-php.post-type-download .wrap .nav-tab-wrapper .page-title-action{top:3px;margin-right:10px;line-height:24px}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}marquee{padding:0;margin:0}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:right}.edd_files_url_label{width:220px;float:right}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}#edd_product_files .inside,#edd_product_prices .inside{margin-bottom:0}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-order-items .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-order-items .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{max-width:125px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:80%;max-width:125px}#edd_product_notes_field{display:block;margin:12px 0 0;height:4em;width:100%}.edd-metabox-title-action{margin:0;float:left;padding:4px 8px;position:relative;top:-1px;text-decoration:none;border:1px solid #ccc;border-radius:2px;background:#f7f7f7;text-shadow:none;font-weight:600;font-size:10px;line-height:normal;color:#0073aa;cursor:pointer;outline:0}.edd-metabox-title-action:hover{border-color:#008ec2;background:#00a0d2;color:#fff}.edd-edit-purchase-element .tablenav{padding:2px 10px 8px}.edd-edit-purchase-element .edd-order-children-wrapper{margin:0 -1px}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 table{border-top:none;border-bottom:none}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 .tablenav{display:none}.edd-edit-purchase-element[class*=columns-] ul li{padding-left:1%}#edd-edit-order-form .column:nth-child(odd),#edd-edit-order-form .columns-4 .column:nth-child(odd),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-left:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #f1f1f1;clear:both;padding:12px;margin:0;word-wrap:break-word}.edd-admin-box-inside--row{display:flex;flex-wrap:wrap;word-break:break-all;justify-content:space-between;align-items:center}.edd-admin-box-inside>p{margin:8px 3px}.edd-admin-box-inside .strong{font-weight:600}.edd-admin-box div:not(.edd-admin-box-inside--row) .label{display:block;margin-bottom:4px;margin-left:0}.edd-admin-box .label--has-tip{display:flex;align-items:center}.edd-admin-box .label--has-tip .edd-help-tip{margin-top:0;font-size:20px}.edd-admin-box div:not(.edd-admin-box-inside--row) .label--has-checkbox{margin-bottom:0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.edd-admin-box .right{float:left}#edd-order-refunds-list{padding-right:25px}#poststuff .edd-order-data .inside{margin:0;padding:0}.edd-order-data .edd-select-chosen{width:130px!important}.edd-order-data input.edd_datepicker{width:180px}.edd-order-data input[type=number].edd-payment-time-hour,.edd-order-data input[type=number].edd-payment-time-min{width:50px}.edd-order-data .edd-tax-rate{color:#9c9c9c;font-style:italic;padding:5px}#edd_general_logs p{margin:0;padding:0}.edd-admin-box-inside span.label{margin-left:10px}#edd-order-resend-receipt .inside{margin-top:11px}.edd-order-resend-receipt-header{font-size:14px;line-height:1.4}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-left:10px}.edd-order-update-box .button-primary{margin-left:0}.edd-edit-purchase-element .edd-select-chosen{width:196px}.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .actions{float:left}.order-data-address h3{margin:0 0 10px}.order-data-address #edd-order-address-country-wrap,.order-data-address #edd-order-address-state-wrap{display:inline-block;width:50%;max-width:300px}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}.edd-edit-purchase-element ul li{display:block;line-height:1.4;position:relative;margin:0;vertical-align:middle;font-size:13px}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{margin:0 0 15px}.edd-edit-purchase-element ul:last-of-type{margin-bottom:0}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-title .deleted{color:#777}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}.edd-add-adjustment-to-purchase,.edd-add-download-to-purchase{padding:15px;border-top:1px solid #e5e5e5;background-color:#f5f5f5}.edd-add-adjustment-to-purchase .chosen-container,.edd-add-download-to-purchase .chosen-container{width:90%!important;max-width:220px!important}.edd-add-adjustment-to-purchase .spinner,.edd-add-download-to-purchase .spinner{margin:0;float:none}.edd-add-download-to-purchase .edd-add-order-quantity{width:40px;height:29px;vertical-align:middle}.edd-add-adjustment-to-purchase .edd-add-adjustment-button,.edd-add-adjustment-to-purchase input[type=text],.edd-add-download-to-purchase .edd-add-order-item-button{height:29px}@media screen and (max-width:1284px){.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}.edd-refund-submit-line-total td:last-of-type{flex:0 0 120px}#edd-item-tables-wrapper .addresses tbody tr{display:-ms-grid;display:grid}#edd-item-tables-wrapper .addresses tbody td:not(.no-items){padding-right:35%}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}}#edd_product_stats .label{display:inline-block}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:normal 20px/1 dashicons;display:inline-block;padding:0 0 0 2px;position:relative;top:0;right:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd_product_stats .product-sales-stats:before{content:""}#edd_product_stats .product-earnings-stats:before{content:""}body.download_page_edd-reports{overflow-y:scroll}.edd-chip{font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;padding:3px;border-radius:3px;color:#fff;background-color:#444}.edd-reports-wrapper .postbox h2,.edd-reports-wrapper .postbox h3{font-size:1.3em}#edd-dashboard-widgets-wrap .metabox-holder{padding-top:0}.edd-reports-wrapper .postbox .edd-select{max-width:200px;vertical-align:baseline;margin-left:4px;margin-bottom:16px}.download_page_edd-reports #edd-item-wrapper{margin:0}#edd-dashboard-widgets-wrap .postbox h2,#edd-dashboard-widgets-wrap .postbox h3{cursor:default}.edd-date-range-options .edd_datepicker{width:105px}.edd-report-wrap{clear:both}.edd-report-wrap h3{clear:both;margin:0 0 20px}.edd-reports-chart,.edd-reports-table{margin-bottom:20px}.edd-admin--has-grid{display:grid;display:-ms-grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:20px}.edd-admin--has-grid .postbox{margin-bottom:0}.edd-admin--has-grid .edd-from-to-wrapper{display:flex;margin-bottom:16px;width:100%}.edd-admin--has-grid .edd-from-to-wrapper input{width:100%}.edd-admin--has-grid .edd-from-to-wrapper span{flex-grow:1}.edd-admin--has-grid form{display:flex;flex-direction:column;flex-wrap:wrap;position:relative}fieldset.edd-to-and-from-container{display:flex;gap:8px}fieldset.edd-to-and-from-container select{flex:0 0 calc(50% - 6px)}span.edd-to-and-from--separator{line-height:normal;-ms-grid-row-align:center;align-self:center;margin-bottom:16px}.edd-admin--has-grid .postbox .edd-select{max-width:100%;margin-left:0}.edd-admin--has-grid .button.updated-message:before,.edd-admin--has-grid .button.updating-message:before{vertical-align:text-bottom;margin:0 0 0 5px}.edd-import-export-form .edd-progress{background:#ddd;border-radius:15px;height:15px;flex-basis:100%}.edd-import-export-form .edd-progress div{background:#ccc;border-radius:15px;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-color:#eae9e9;border-style:solid;border-width:1px 0;padding:12px;overflow:auto;margin:20px -12px -23px;position:relative;width:100%;display:flex;justify-content:space-between;align-items:center}.notice-wrap div.notice{margin:0}h3+.notice-wrap .notice{margin-bottom:1em}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}.graph-option-section{float:right}.edd-report-filters-title span{display:block;padding:20px}#edd-graphs-filter form{padding:20px}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{display:inline-block;line-height:2em;margin:0 0 0 5px;padding:0}.download_page_edd-reports .section-content #post-body-content{float:none}.download_page_edd-reports .section-content select[name=range]{display:none}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-left:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd-reports-tiles-wrap .metabox-holder{padding:0}#edd-reports-tiles-wrap #dashboard-widgets{overflow:auto}#edd-reports-tiles-wrap #dashboard-widgets .postbox-container{width:33.3%}.download_page_edd-reports .section-content .tablenav.top{display:none}#edd_tax_rates{margin:1em 0 0}[id*=edd-recapture-].button{font-size:16px;height:auto;padding:8px 14px;margin:6px 0 0}[id*=edd-recapture-].button .dashicons{line-height:29px;margin-left:8px}[id*=edd-recapture-].button .edd-loading,[id*=edd-recapture-].button .edd-loading:after{border-radius:50%;display:inline-block;width:14px;height:14px}[id*=edd-recapture-].button .edd-loading{position:relative;top:3px;margin-right:4px;box-shadow:0 0 2px rgba(0,0,0,.2);animation:edd-spinning 1.1s linear infinite;border:2px solid hsla(0,0%,100%,.5);border-right-color:#fff;font-size:14px;filter:alpha(opacity=0);transform:translateZ(0)}#edd-recapture-disconnect.button .edd-loading.dark{border-color:rgba(0,0,0,.2) #666 rgba(0,0,0,.2) rgba(0,0,0,.2);box-shadow:none}.recapture-notice{position:relative}@keyframes edd-spinning{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}#edd-send-test-summary-save-changes-notice .notice p{font-size:13px}#edd-send-test-summary-notice,#edd-send-test-summary-save-changes-notice{display:flex;margin-top:5px}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.wp-list-table.apikeys input.code{width:100%;font-size:10px;cursor:text;background:#fff;border:1px solid #ddd;box-shadow:none;color:#555}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_wrap .spinner{position:absolute;margin:0;padding:0;left:4px;top:-2px}.edd_user_search_wrap.loading .spinner{visibility:visible}.edd_user_search_results{position:absolute;right:0;top:20px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;left:6px;top:2px}.edd_user_search_results ul{background:#fafafa;border:1px solid #dfdfdf;overflow-y:scroll;padding:0;margin:0;height:150px;width:185px;box-shadow:0 3px 5px rgba(0,0,0,.1)}.edd_user_search_results li{margin:0}.edd_user_search_results li a{display:block;text-decoration:none;padding:6px 10px}.edd_user_search_results li a:hover{background:#f5f5f5}.edd_user_search_results li.no-users{text-align:center;vertical-align:middle;display:block;line-height:150px;color:#bbb;text-transform:uppercase;font-size:11px}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}}@media screen and (max-width:782px){.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-right:0}}@media screen and (max-width:600px){#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#fff;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);position:relative;margin-top:15px;display:flex}#edd-item-wrapper.full-width{max-width:100%}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}.edd-sections-wrap{clear:both;width:100%}.edd-sections-wrap .section-wrap{background-color:#fff;display:inline-block;z-index:2}.js .edd-sections-wrap .edd-vertical-sections:not(.meta-box) .section-wrap>div{min-height:500px;height:100%}.edd-sections-wrap .section-wrap .customer-section:not(:last-child){border-bottom:1px solid #eee}.edd-sections-wrap .section-wrap .customer-section table{margin-bottom:20px}.edd-sections-wrap .section-wrap{border-right:1px solid #e5e5e5}.edd-sections-wrap .section-wrap .section-content>*{padding:20px}.edd-sections-wrap .section-wrap .section-content h2{margin:0;padding-bottom:0}.edd-sections-wrap .section-wrap .avatar-wrap{float:right;padding-left:10px;text-align:center}.edd-sections-wrap .section-wrap img.avatar{border-radius:5px}.edd-sections-wrap .section-wrap .customer-id{position:absolute;left:0;top:0;padding:10px;background-color:#fafafa;border-bottom-right-radius:20%;border:1px solid #eee;border-top:none;border-left:none;font-family:monospace;font-size:18px;font-weight:600}.edd-item-info.customer-info input[type=password],.edd-item-info.customer-info input[type=text],.edd-item-info.customer-info select{width:200px;height:auto;box-shadow:none;transition:none;border:1px solid #ddd;margin:-5px -2px 4px 0;font-size:13px;padding:2px 4px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:right}.edd-sections-wrap .section-wrap .customer-main-wrapper input[name="customerinfo[name]"]{font-size:24px}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:left;margin-top:-3px;margin-left:50px;width:202px}.edd-sections-wrap .section-wrap .info-wrapper{min-height:125px;overflow:visible}.edd-sections-wrap .section-wrap .customer-address span[data-key=address2],.edd-sections-wrap .section-wrap .customer-address span[data-key=address],.edd-sections-wrap .section-wrap .customer-address span[data-key=country]{display:block}.edd-sections-wrap .section-wrap a.delete{color:red;margin-left:5px;text-decoration:none}.customer-info{min-height:185px}.customer-info .customer-name{font-size:24px;font-weight:600}.customer-info .customer-name.editable{margin-bottom:6px}.customer-edit-link a{font-weight:400;text-decoration:none}.disconnect-user a{color:#aaa;font-size:20px}#customer-edit-actions{padding:3px;line-height:28px;text-align:center}#customer-edit-actions .button-secondary{margin-left:5px}#customer-edit-actions .cancel{padding:5px}.edd-sections-wrap .section-wrap .row-title{width:30%}.edd-sections-wrap .section-wrap .editable{display:block;padding:3px}.edd-sections-wrap .section-wrap div.edit-item{margin-right:-4px;margin-top:-20px}.edd-sections-wrap .section-wrap .customer-address.edit-item{margin-top:3px}.edd-sections-wrap .section-wrap span.edit-item{display:none}.edd-sections-wrap .section-wrap .edit-item input{font-size:13px}.edd-sections-wrap .section-wrap .customer-name.edit-item input{margin-top:-5px}.edd-sections-wrap .section-wrap .edd_user_search_results{right:-2px;top:18px}.edd-sections-wrap .section-wrap .edd_user_search_results ul{width:198px}#edd-item-stats-wrapper{margin:0 auto;text-align:center}#edd-item-stats-wrapper ul{display:flex;margin:0}#edd-item-stats-wrapper li{font-size:14px;margin-bottom:0;width:50%}#edd-item-stats-wrapper a{text-decoration:none}#edd-item-stats-wrapper .dashicons{color:#888;margin-top:-2px}#edd-item-tables-wrapper table{width:100%}#edd-item-tables-wrapper .no-items{text-align:right}#edd-item-tables-wrapper .emails .add-customer-email-row{background-color:#f4f4f4;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .add-customer-email-wrapper{display:flex;flex-wrap:wrap;align-items:center;margin:12px 0}#edd-item-tables-wrapper .edd-form-group{margin-bottom:0}#edd-item-tables-wrapper .edd-make-email-primary{flex-grow:1;margin-right:12px}#edd-item-tables-wrapper .emails .spinner{float:none;margin:0 10px;-ms-grid-row-align:center;align-self:center}#edd-item-tables-wrapper .notice-error{background-color:#fff5f5}#edd-item-notes-wrapper{min-height:50px}.customer-note-input{margin-bottom:5px;width:100%}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 7px 7px 0}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}.edd-sections-wrap .section-wrap .notice-container{padding-right:20px;padding-left:20px;margin-right:-20px;margin-left:-20px}@media screen and (max-width:810px)and (min-width:656px){.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap .widefat td,.widefat th{max-width:100%!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-tab-wrapper,.edd-sections-wrap .section-wrap{margin:0;width:100%}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs .edd-sections-wrap .section-wrap{border-top:1px solid #e5e5e5;border-right:0;margin-top:-1px}}@media screen and (max-width:656px){.edd-item-info.customer-info{position:relative}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:none;position:absolute;top:84px;right:165px;max-width:200px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:none;position:absolute;right:165px}.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap #edd-item-stats-wrapper{padding-right:0;padding-left:0}.edd-sections-wrap .section-wrap .customer-section{margin-bottom:0}.edd-sections-wrap .section-wrap .widefat td.column-primary,.edd-sections-wrap .section-wrap .widefat td.no-items,.edd-sections-wrap .section-wrap .widefat th.column-primary{width:100px!important;display:table-cell;overflow:hidden;text-align:right}.edd-sections-wrap .section-wrap .customer-id{display:none}#edd-item-tables-wrapper .emails td.column-primary{padding-left:10px;width:100%!important}#edd-item-tables-wrapper .edd-form-group{margin:0 0 16px}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 0 1px 1px}#edd-item-tab-wrapper-list li:nth-child(2n){border-width:0 0 1px}.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:left}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-right:2px}}.inside .edd-tools-textarea{background:#32373c;color:rgba(240,245,250,.7);font-size:12px;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:100%;height:450px;padding:10px;outline:none}#system-info-textarea::selection{background:#555;color:#fff}#edd-system-info .edd-inline-button{margin-right:5px}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}.edd-vertical-sections{overflow:visible;display:block;display:flex}#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{position:relative;width:20%;line-height:1em;margin:0 0 0 -1px;padding:0;background-color:#f5f5f5;border-left:1px solid #e5e5e5;box-sizing:border-box;max-width:200px}#edd-item-tab-wrapper-list{margin:0}#edd-item-tab-wrapper li,.edd-vertical-sections .section-nav li{display:block;position:relative;margin:0;padding:0;background-color:#fcfcfc}.edd-vertical-sections .section-title:last-of-type{margin-bottom:24px}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap,#edd-item-tab-wrapper li a,.edd-vertical-sections .section-nav li a{display:flex;margin:0;padding:9px;text-decoration:none;border-bottom:1px solid #e5e5e5;box-shadow:none;position:relative;align-items:center}#edd-item-tab-wrapper li a:focus,#edd-item-tab-wrapper li a:hover,.edd-vertical-sections .section-nav li a:focus,.edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0;outline:0;transition:all .25s}.edd-vertical-sections .section-nav .section-title--is-active a:after{content:"";width:1px;height:100%;background:#fff;position:absolute;left:0;top:0;bottom:0;z-index:3}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap{background-color:#fff}.edd-vertical-sections .section-nav li a>.dashicons,.edd-vertical-sections .section-nav li a>span{display:inline-block}.edd-vertical-sections .section-nav li a>span{max-width:76%}.edd-vertical-sections .section-nav li a .dashicons{line-height:20px;margin-left:3px;color:#888}.edd-vertical-sections .section-nav .section-title--is-active a{font-weight:700;color:#555;background-color:#fff;border-left:none;margin-left:-1px}.edd-vertical-sections.use-js .section-content,.no-js .edd-vertical-sections.use-js.edd-item-header-small,.no-js .edd-vertical-sections.use-js .section-nav{display:none}.no-js .edd-vertical-sections.use-js .section-content{display:block}.admin-color-fresh .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-fresh .edd-vertical-sections .section-nav li a:focus,.admin-color-fresh .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #0073aa}.admin-color-blue .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-blue .edd-vertical-sections .section-nav li a:focus,.admin-color-blue .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #096484}.admin-color-coffee .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-coffee .edd-vertical-sections .section-nav li a:focus,.admin-color-coffee .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #c7a589}.admin-color-ectoplasm .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:focus,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #a3b745}.admin-color-midnight .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-midnight .edd-vertical-sections .section-nav li a:focus,.admin-color-midnight .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #e14d43}.admin-color-ocean .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ocean .edd-vertical-sections .section-nav li a:focus,.admin-color-ocean .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #627c83}.admin-color-sunrise .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-sunrise .edd-vertical-sections .section-nav li a:focus,.admin-color-sunrise .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #be3631}.admin-color-light .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-light .edd-vertical-sections .section-nav li a:focus,.admin-color-light .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #888}.admin-color-evergreen .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-evergreen .edd-vertical-sections .section-nav li a:focus,.admin-color-evergreen .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #36533f}.admin-color-mint .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-mint .edd-vertical-sections .section-nav li a:focus,.admin-color-mint .edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0 #4f6d59}.edd-vertical-sections .section-nav .section-title--is-active .dashicons{color:#555}@media only screen and (max-width:782px){#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{width:48px}.edd-vertical-sections .section-nav li a{justify-content:center}.edd-vertical-sections .section-nav li a .dashicons{width:24px;height:24px;font-size:24px;line-height:24px;margin:0}.section-nav li .dashicons:before{width:24px;height:24px}#edd-item-tab-wrapper .edd-item-tab-label,.section-nav li .label{overflow:hidden;position:absolute;top:-1000em;right:-1000em;width:1px;height:1px}}#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:80%}#edd-item-card-wrapper .item-section{background:#fff;overflow:hidden;box-sizing:border-box}:not(#edd-item-tab-wrapper)+#edd-item-card-wrapper .item-section{margin:25px 0;padding:20px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}#edd-item-tab-wrapper+#edd-item-card-wrapper{padding:20px;border-right:1px solid #e5e5e5;box-sizing:border-box}@media only screen and (min-width:1200px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections:not(.meta-box) .section-wrap{width:calc(100% - 200px)}}@media only screen and (max-width:782px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:calc(100% - 48px)}}#edd-debug-log .edd-inline-button{margin-right:5px}.edd-settings-sidebar{padding-top:27px}.edd-settings-sidebar-content{background-color:#fff;text-align:center;border:1px solid #ddd;box-sizing:border-box;max-width:300px}.edd-settings-sidebar-content p{font-size:14px;line-height:1.5;margin-top:0}.edd-sidebar-header-section{background-color:#35495c;line-height:1;padding:26px 20px 24px;border-bottom:3px dashed #fafafa}.edd-sidebar-description-section{background-color:#fafafa;padding:16px 20px;border-bottom:1px solid #ddd}.edd-sidebar-description-section .edd-sidebar-description{margin:0}.edd-sidebar-coupon-section{font-size:14px;padding:16px 20px}.edd-sidebar-coupon-section label{display:block;line-height:1.4;margin-bottom:6px}.edd-sidebar-coupon-section label strong{color:#253b51;font-weight:700}.edd-sidebar-coupon-section input{background:#f4f7fa;font-size:22px;font-weight:600;text-align:center;padding:10px;border:2px dashed #2794da;border-radius:4px;margin-bottom:16px;box-shadow:none;width:100%}.edd-sidebar-coupon-section input:focus{border:2px dashed #2794da;box-shadow:none}.edd-settings-sidebar-content .edd-coupon-note{color:#6c7883;font-size:13px;font-style:italic;margin:0}.edd-settings-sidebar-content .edd-coupon-note a{color:#253b51}.edd-settings-sidebar-content .edd-coupon-note a:hover{text-decoration:none}.edd-sidebar-footer-section{background-color:#fafafa;padding:16px 20px;border-top:1px solid #ddd}.edd-sidebar-footer-section .edd-cta-button{display:block;background-color:#2794da;color:#fff;text-decoration:none;font-size:20px;font-weight:700;text-transform:uppercase;padding:17px 10px;border:none;border-radius:4px;width:100%;box-sizing:border-box;box-shadow:none;transition:background-color .2s}.edd-sidebar-footer-section .edd-cta-button:hover{background-color:#2386c5}@media (min-width:1080px){.edd-has-sidebar .edd-settings-content{float:right;width:67%}.edd-has-sidebar .edd-settings-sidebar{float:left;width:31%}}@media (min-width:1240px){.edd-has-sidebar .edd-settings-content{width:74%}.edd-has-sidebar .edd-settings-sidebar{width:23%}}.taxes-tab .edd-has-sidebar .edd-settings-content,.taxes-tab .edd-has-sidebar .edd-settings-sidebar{float:none;width:100%}.bfcm-promo-img-container{background-color:#35495c;width:100%;height:160px}.bfcm-code{color:#2794da;font-weight:700}.sale-ends{position:absolute;bottom:9px;left:14px;display:inline-block;color:#6c7883;font-size:12px;text-align:left;font-style:italic;width:150px} \ No newline at end of file diff --git a/assets/css/edd-admin.min.css b/assets/css/edd-admin.min.css index 3fcd2d7c185..2e052a6f2ad 100644 --- a/assets/css/edd-admin.min.css +++ b/assets/css/edd-admin.min.css @@ -1 +1 @@ -.edd-custom-price-option-sections-wrap{display:none;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid hsla(0,0%,87.1%,.3)}.edd-custom-price-option-section-title{display:block;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section-content{display:flex;gap:12px;margin-bottom:6px}.edd-custom-price-option-section:last-child{border-bottom:none}.toggle-custom-price-option-section{color:#787c82}.toggle-custom-price-option-section:hover{color:#537994}#edd_product_settings .edd-product-options__title,#edd_product_settings .inside strong{border-top:1px solid #c3c4c7;border-bottom:1px solid #c3c4c7;background-color:#f9f9f9;display:flex;font-weight:600;margin:0 -12px 16px;padding:8px 12px;justify-content:space-between;align-items:center}#edd_product_settings .edd-product-options-wrapper:first-of-type .edd-product-options__title,#edd_product_settings .inside div:first-child strong{margin-top:-8px}#edd_product_settings .edd-product-options__title .edd-help-tip,#edd_product_settings .inside strong .edd-help-tip{font-size:20px}#edd_product_settings .label--block{display:block;margin:0 0 4px}.edd_repeatable_row.ui-sortable-placeholder{line-height:0;padding:0;margin:0;box-sizing:border-box;border:1px dashed #c3c4c7;visibility:visible!important}.edd-add-repeatable-row{border-top:1px solid #c3c4c7;padding:12px;margin:15px -12px -12px;display:flex;justify-content:flex-end;align-items:center}.edd_repeatable_row input[type=text].large-text{width:100%}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd_repeatable_row.ui-sortable-helper .edd-repeatable-row-actions .edd-remove-row{display:none}.edd-repeatable-row-actions{color:#787c82}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f6f7f7;border:1px solid #c3c4c7;display:flex;justify-content:space-between}.edd-repeatable-row-header{cursor:move}.edd_repeatable_row:hover .edd-repeatable-row-header,.edd_repeatable_row:hover .edd-repeatable-row-standard-fields{border-color:#c3c4c7}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:"";display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-bundle-products-header,.edd-repeatable-row-title{font-weight:600}.edd-bundle-products-header,.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{flex-grow:1;text-align:right}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{padding:8px;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;display:flex;justify-content:space-between;align-items:center;gap:18px}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-bottom:0;display:inline-flex;flex-direction:column;flex-grow:1;justify-content:space-between}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-left:4px}.edd-bundled-product-item-reorder{min-width:30px}.edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;cursor:move;color:#dcdcde;font-family:dashicons;content:"";transition:color .2s}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#a7aaad}.edd-bundled-product-actions{-ms-grid-row-align:center;align-self:center}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}@media screen and (max-width:480px){.edd-bundle-products-header,.edd-bundled-product-row,.edd-repeatable-row-header,.edd-repeatable-row-standard-fields{flex-wrap:wrap}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-left:0!important;margin-bottom:24px}}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative;width:100%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container+span:first-child{width:100%}.edd_repeatable_upload_field{padding-right:32px}.edd_upload_file button{background:#f6f7f7;border:none;border-left:1px solid #c3c4c7;padding:0 4px;position:absolute;height:calc(100% - 4px);overflow:hidden;top:2px;right:2px;display:inline-flex;justify-content:center;align-items:center}#edd-duplicate-action~#publishing-action{position:relative;top:-10px}#edd_product_files.ajax--loading{position:relative}#edd_product_files.ajax--loading:before{background:none;display:block;position:absolute;top:50%;left:50%;z-index:5;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:1.25em;height:1.25em;transform:translate3d(-50%,-50%,0);will-change:transform}#edd_product_files.ajax--loading:after{background-color:hsla(0,0%,100%,.75);display:block;position:absolute;top:0;left:0;width:100%;height:100%;content:" ";z-index:1}.edd-form-group{margin-bottom:16px}.edd-form-group:last-of-type{margin-bottom:0}.edd-form-group>label,.edd-form-group__label{display:block;font-weight:600;margin-bottom:8px;padding:0}.edd-form-group__control{margin-bottom:12px;max-width:100%}.edd-form-group__control.is-check,.edd-form-group__control.is-radio{margin-top:4px}.edd-form-group__control:last-of-type{margin-bottom:0}.edd-form-group__control--is-inline{display:inline-flex;align-items:flex-end}.edd-form-group__input{max-width:100%}.edd-form-group__input[type=checkbox],.edd-form-group__input[type=radio]{margin-top:0}.edd-form-group__input[type=checkbox]+label,.edd-form-group__input[type=radio]+label{display:unset}select.edd-form-group__input{max-width:100%}.edd-form-group__help{color:#646970;font-size:13px;font-style:italic;line-height:normal;margin:8px 0 0}.edd-range{display:flex;align-items:center;gap:15px}.edd-range .edd-range__slider{min-width:90px;height:2px;border-radius:10px;border:none;background:#ccc}.edd-range .edd-range__slider .ui-slider-range{background:var(--wp-admin-theme-color)}.edd-range .edd-range__slider .ui-slider-handle{height:15px;width:15px;top:-6.5px;border-radius:100%;background:var(--wp-admin-theme-color);border:none;cursor:pointer;display:inline-block;position:relative}.edd-range .edd-range__input{max-width:60px}.edd-form-row{display:flex;flex-wrap:wrap;gap:12px}.edd-form-row__column{display:inline-flex;flex-direction:column;justify-content:flex-end}.edd-form-row__column.edd-form-group{margin-bottom:0}.edd-form-row label,.edd-form-row label.edd-form-group__label{margin-bottom:8px}#edd-migration-progress .dashicons-minus{color:#949494}#edd-migration-progress .dashicons-yes{color:green}#edd-migration-progress .dashicons-update:before{animation:rotation 2s linear infinite;display:block}#edd-v3-migration-remove-legacy-data-submit-wrap{display:flex;align-items:center;gap:6px}#edd-v3-migration-remove-legacy-data-submit-wrap .button{margin:0}#edd-filters{padding:10px;margin:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}#edd-filters .filter-items{flex-wrap:wrap;gap:6px;float:none;flex-grow:1}#edd-filters .filter-items,#edd-filters .filter-items .graph-option-section{display:flex;align-items:center}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-graphs-date-options{border-top-right-radius:4px;border-bottom-right-radius:4px}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-dates,#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-relative-dates{display:none}#edd-filters .filter-items .edd-date-range-options{display:inline-block;margin:10px 0}#edd-filters .filter-items .edd-graphs-date-options{border-top-right-radius:0;border-bottom-right-radius:0}#edd-filters .filter-items .edd-date-range-dates{display:flex;align-items:center;border:1px solid #8c8f94;border-left:none;color:#2c3338;padding:4px 10px;margin-left:-5px;border-top-right-radius:4px;border-bottom-right-radius:4px;cursor:pointer;gap:4px}#edd-filters .filter-items .edd-date-range-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-date{display:inline-block}#edd-filters .filter-items .edd-date-range-relative-dates{display:flex;align-items:center;margin-left:10px}#edd-filters .filter-items .edd-date-range-relative-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-relative-date{position:relative;display:flex;align-items:center;border:1px solid #8c8f94;padding:4px 2px 4px 6px;color:#2c3338;margin-left:10px;margin-right:10px;border-radius:4px;cursor:pointer}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{width:16px;height:auto;margin-left:6px;margin-top:2px;vertical-align:middle}#edd-filters .filter-items .edd-date-range-selected-relative-date.opened .edd-date-range-relative-dropdown{display:block}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:absolute;z-index:99;width:420px;left:50%;top:100%;margin-top:10px;transform:translateX(-50%);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,.25);display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{height:10px;width:10px;position:absolute;content:"";background:#fff;border-color:#8c8f94;border-style:solid;border-width:0 1px 1px 0;transform:rotate(-135deg);top:-6px;left:calc(50% - 4px)}#edd-filters .filter-items .edd-date-range-relative-dropdown .spinner{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading{padding:10px;text-align:center}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading .spinner{display:inline-block;visibility:visible;margin:0;float:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading :not(.spinner){display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{display:flex;align-items:center;padding:2px 10px;opacity:.85;gap:20px}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li.active,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li:hover{cursor:pointer;color:var(--wp-admin-theme-color);opacity:1}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:110px}@media screen and (max-width:950px){#edd-filters .filter-items .graph-option-section{margin-top:8px;width:100%}#edd-filters .filter-items .edd-date-range-picker{flex-wrap:wrap}#edd-filters .filter-items .edd-graphs-date-options{width:100%;max-width:100%;min-height:40px;font-size:14px;border-top-right-radius:4px;border-bottom-right-radius:4px}#edd-filters .filter-items .edd-date-range-dates{width:100%;margin-top:10px;border:1px solid #8c8f94;margin-left:unset;border-radius:4px;font-size:14px;padding:8px 6px 8px 8px}#edd-filters .filter-items .edd-date-range-relative-dates{width:100%;flex-wrap:wrap;margin-left:0;margin-top:6px}#edd-filters .filter-items .edd-date-range-selected-relative-date{width:100%;margin-top:8px;margin-left:0;margin-right:0;font-size:14px;padding:8px 6px 8px 8px;flex-wrap:wrap}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{margin-left:auto}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:relative;width:100%;left:0;top:0;transform:unset;box-shadow:unset;border:unset;margin:0}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul{margin-bottom:0}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{padding-left:0;padding-right:0;justify-content:space-between;flex-wrap:wrap;gap:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-dates,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:100%}}#edd-filters>p{color:#757575}#edd-filters input[type=number],#edd-filters input[type=text].edd_datepicker{max-width:105px}#edd-filters .button-secondary,#edd-filters input[type=number]{margin-bottom:0}#edd-filters .search-form{margin:0}@media screen and (max-width:480px){#edd-filters span{margin:2px 0}}#edd-advanced-filters{position:relative}#edd-advanced-filters .inside{z-index:99;position:absolute;top:29px;right:0;border:1px solid #e0e0e0;padding:0;background:#fff;box-shadow:0 3px 5px rgba(0,0,0,.2);min-width:285px;opacity:0;visibility:hidden}#edd-advanced-filters fieldset{display:block;padding:10px 15px 15px;margin:10px 0}#edd-advanced-filters fieldset:not(:last-of-type){border-bottom:1px solid #e0e0e0}#edd-advanced-filters fieldset:last-of-type{padding-bottom:5px}#edd-advanced-filters fieldset.edd-add-on-filters div,#edd-advanced-filters fieldset.edd-add-on-filters label,#edd-advanced-filters fieldset.edd-add-on-filters p,#edd-advanced-filters fieldset.edd-add-on-filters span{display:block;margin-bottom:2px}#edd-advanced-filters div.edd-select-chosen:not(:last-child){margin-bottom:10px}#edd-advanced-filters.open .edd-advanced-filters-button{background:#e0e0e0;border-color:#949494;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}#edd-advanced-filters.open .inside{visibility:visible;opacity:1;transition:opacity .2s ease-in}.download_page_edd-reports #edd-filters{margin-bottom:-1px;box-shadow:none}@media screen and (max-width:782px){.download_page_edd-reports #edd-filters{gap:0}}.edd-old-log-filters{margin-top:-30px;margin-left:2px}@media screen and (min-width:600px){#edd-reports-charts-wrap{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(200px,50%))[2];grid-template-columns:repeat(2,minmax(200px,50%));grid-gap:2em}.edd-reports-chart{margin-bottom:0}.edd-reports-chart-bar,.edd-reports-chart-line{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2}}.edd-canvas__container{margin:auto;position:relative;max-width:100%;max-height:75vh}@media screen and (min-width:480px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:450px}}@media screen and (min-width:782px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:500px}}@media screen and (min-width:1080px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:700px}}.chart-timezone{font-size:.75rem;color:#c3c4c7}.edd-mobile-link{line-height:32px}.edd-mobile-link a{text-decoration:none}.edd-mobile-link a:after,.edd-mobile-link a:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;margin:1px 0 0;padding:0}.edd-mobile-link a:before{content:"";color:#757575;margin-right:-3px}.edd-mobile-link a:after{content:""}#edd-reports-tiles-wrap #dashboard-widgets .sortable-placeholder{padding:0;margin:0 0 20px;line-height:0;box-sizing:border-box;height:110px}#edd-reports-tiles-wrap #dashboard-widgets #primary-sortables{margin-left:0}#edd-reports-tiles-wrap #dashboard-widgets #tertiary-sortables{margin-right:0}#edd-reports-tiles-wrap{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:20px}.edd-reports-tile{text-align:center;padding:20px 10px 35px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e5e5e5;background:#fafafa;position:relative;box-sizing:border-box;gap:.5em}.edd-reports-tile>span:not(.tile-compare){width:100%}.edd-reports-tile .tile-label{text-align:center;text-transform:uppercase;font-size:12px;font-weight:400;color:#101517}.edd-reports-tile .tile-value{color:#333;font-size:2em;line-height:1;transition:all .2s ease-in-out;display:flex;justify-content:center;flex-direction:column;gap:.25em}.edd-reports-tile:hover{border:1px solid #aaa}.edd-reports-tile:hover .tile-value:not(.tile-no-data){transform:scale(1.05)}.edd-reports-tile .tile-amount{color:#2794da}.edd-reports-tile .tile-number{color:#96f}.edd-reports-tile .tile-amount,.edd-reports-tile .tile-number{color:#fff}.edd-reports-tile .tile-value.tile-no-data{color:#ddd}.edd-reports-tile .tile-value.tile-url{font-size:1.5em}.edd-reports-tile .tile-relative{font-size:12px;font-weight:400;color:#888}.edd-reports-tile span.dashicons{display:inline-block;font-size:30px;line-height:20px;height:20px;width:20px;position:relative;top:4px;left:-5px;margin-left:-5px;color:#999}.edd-reports-tile .tile-relative span.dashicons{top:-5px;left:-3px;margin-left:0}.edd-reports-tile .tile-relative span.dashicons-arrow-down,.edd-reports-tile .tile-relative span.dashicons-arrow-up.reverse{color:#d63638}.edd-reports-tile .tile-relative span.dashicons-arrow-down.reverse,.edd-reports-tile .tile-relative span.dashicons-arrow-up{color:#008a20}.edd-reports-tile .tile-compare{position:absolute;right:0;bottom:0;color:#aaa;font-size:11px;line-height:1em;background-color:#fff;border-color:#e5e5e5 #fff #fff #e5e5e5;border-style:solid;border-width:1px;border-top-left-radius:8px;padding:4px 0 0 9px;margin:0 -1px -1px 0}.edd-reports-tile:hover .tile-compare{border-left:1px solid #bbb;border-top:1px solid #bbb;color:#777}.edd-chartjs-tooltip{position:absolute;background-color:#fff;border-radius:7px;transition:all .1s ease;pointer-events:none;transform:translate(-50%);font-size:12px;box-shadow:0 0 0 1px rgba(89,94,100,.1),0 15px 35px 0 rgba(89,94,100,.1),0 5px 15px 0 rgba(0,0,0,.12);min-width:120px;opacity:0}.edd-chartjs-tooltip-key{display:inline-block;width:10px;height:10px;margin-right:5px}#edd-submit-refund-status{text-align:center;font-size:1.2em}#edd-submit-refund-status .edd-submit-refund-message:before{font-family:dashicons;font-size:1.5em;vertical-align:middle;color:#fff;border-radius:16px;margin:5px}#edd-submit-refund-status .edd-submit-refund-message.success:before{content:"";background-color:#008a20;padding-right:1px}#edd-submit-refund-status .edd-submit-refund-message.fail{display:block;margin-bottom:16px}#edd-submit-refund-status .edd-submit-refund-message.fail:before{content:"";background-color:#d63638}.refund-items td,.refund-items th.check-column{vertical-align:baseline}.refund-items .column-amount,.refund-items .column-discount,.refund-items .column-quantity,.refund-items .column-subtotal,.refund-items .column-tax,.refund-items .column-total{width:80px}.refund-items .edd-form-group__control{display:flex;align-items:center}.refund-items .edd-form-group__control input,.refund-items .edd-form-group__control select{background-color:transparent;border:0;border-bottom:1px solid;border-radius:0;box-shadow:none;text-align:right;width:100%}.refund-items .edd-form-group__control input:disabled,.refund-items .edd-form-group__control select:disabled{border-bottom:none}.refund-items .edd-form-group__control input:focus,.refund-items .edd-form-group__control select:focus{border-bottom:1px solid var(--wp-admin-theme-color-darker-10);box-shadow:0 1px 0 var(--wp-admin-theme-color-darker-10)}.refund-items .edd-form-group__control select[data-original="1"]{background:transparent}.refund-items .edd-form-group__control .is-before+span>input,.refund-items .edd-form-group__control select{text-align:left}.refund-items .edd-refund-submit-line-total{background-color:#fff!important}.refund-items .edd-refund-submit-line-total td{text-align:right}.refund-items .edd-refund-submit-line-total-amount{display:inline-block;margin-left:20px;text-align:left;width:80px}.refund-items #edd-refund-submit-subtotal td{border-top:2px solid #c3c4c7}@media screen and (max-width:782px){.refund-items td.column-total{margin-bottom:16px}.refund-items .edd-refund-submit-line-total-amount{padding-right:16px;width:unset}}.edd-submit-refund-actions{margin:16px 0 0}.did-refund .edd-submit-refund-actions,.did-refund .refund-items,body.edd-about div.notice{display:none}body.edd-about #edd-admin-about *,body.edd-about #edd-admin-about :after,body.edd-about #edd-admin-about :before{box-sizing:border-box}body.edd-about #edd-admin-about{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-about-nav{display:flex;flex-direction:row;justify-content:left;box-shadow:inset 0 -2px 0 0 #e8e8e8;margin:0 20px 20px;gap:8px}body.edd-about #edd-admin-about .edd-about-nav a.tab{border-bottom:none;text-decoration:none;color:#646970;padding:10px 12px;font-weight:600}body.edd-about #edd-admin-about .edd-about-nav a.tab:focus,body.edd-about #edd-admin-about .edd-about-nav a.tab:hover{border-bottom:2px solid #a7aaad}body.edd-about #edd-admin-about .edd-about-nav a.tab.active{color:#0c5d95;border-bottom:2px solid #0c5d95}body.edd-about #edd-admin-about .edd-admin-about-section{box-shadow:0 2px 5px #e8e8e8;margin:0 20px 20px;padding:30px;background:#fff;border:1px solid #ddd;line-height:2;display:flex;flex-direction:row}body.edd-about #edd-admin-about .edd-admin-about-section h2{font-size:24px;line-height:32px;color:#646970;margin:0}body.edd-about #edd-admin-about .edd-admin-about-section h3{font-size:16px;line-height:22px;color:#787c82}body.edd-about #edd-admin-about .edd-admin-about-section p,body.edd-about #edd-admin-about .edd-admin-about-section ul{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p{margin-bottom:10px}body.edd-about #edd-admin-about .edd-admin-about-section p.bigger{font-size:18px}body.edd-about #edd-admin-about .edd-admin-about-section p.smaller{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p:last-child{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section hr{margin:30px 0}body.edd-about #edd-admin-about .edd-admin-about-section figure{margin:0}body.edd-about #edd-admin-about .edd-admin-about-section figure img.shadow{width:100%;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about .edd-admin-about-section figure figcaption{font-size:14px;color:#888;margin-top:5px;text-align:center;line-height:normal}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section .column{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section .column--20{width:20%}body.edd-about #edd-admin-about .edd-admin-about-section .column--40{width:40%}body.edd-about #edd-admin-about .edd-admin-about-section .column--50{width:50%}body.edd-about #edd-admin-about .edd-admin-about-section .column--60{width:60%}body.edd-about #edd-admin-about .edd-admin-about-section .column--80{width:80%}body.edd-about #edd-admin-about .edd-admin-about-section .column.align--middle{align-items:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-l-15{margin-left:15px}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-r-15{margin-right:15px}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain{margin-top:0;margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain li{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-features li{display:flex;align-items:center;justify-items:left;gap:8px}body.edd-about #edd-admin-about .edd-admin-about-section .dashicons-star-filled{color:gold}body.edd-about #edd-admin-about .edd-admin-about-section .no-margin{margin:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .no-padding{padding:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .centered{text-align:center!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:1;padding-right:30px}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video iframe{border:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero{display:flex;flex-direction:column;padding:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{padding:30px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra div.notice,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main div.notice{display:none}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra h3.call-to-action,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main h3.call-to-action{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{background-color:#fafafa;border-bottom:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main.no-border{border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main p{color:#666}body.edd-about #edd-admin-about .edd-admin-about-section-squashed{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-squashed:not(:last-of-type){border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:row;gap:50px}body.edd-about #edd-admin-about .edd-admin-about-section-post h2{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-post h3{margin-bottom:15px}body.edd-about #edd-admin-about .edd-admin-about-section-post p:last-of-type{margin-bottom:30px}body.edd-about #edd-admin-about .edd-admin-about-section-post img{max-width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20{width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{width:calc(100% - 270px)}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary{transition:all .1s ease-in-out}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:focus,body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:hover{background-color:#2271b1;color:#fff}body.edd-about #edd-admin-about #edd-admin-addons{padding:0 30px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:row;flex-wrap:wrap;align-items:space-between}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 33.3333%;max-width:33.3333%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item{display:flex;flex-direction:column;border:1px solid #ddd;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{padding:20px;display:flex;flex-direction:row;background-color:#fff;flex-grow:1}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .leftcol img{max-width:100px;padding:10px;box-shadow:0 2px 3px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{flex-direction:column;justify-content:left;flex-grow:4;padding-left:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol h5{font-size:14px;margin-bottom:10px;margin-top:0}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 12px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions.has-response{justify-content:center;flex-grow:10}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label{font-weight:600}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.active{color:#008a20}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.inactive{color:#d63638}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.not-installed{color:#646970}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.disabled,body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.loading{cursor:default}@media(max-width:1440px){body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 50%;max-width:50%}}@media(max-width:1280px){body.edd-about #edd-admin-about .welcome-message{flex-direction:column-reverse}body.edd-about #edd-admin-about .welcome-message.column--20,body.edd-about #edd-admin-about .welcome-message .column--40,body.edd-about #edd-admin-about .welcome-message .column--50,body.edd-about #edd-admin-about .welcome-message .column--60,body.edd-about #edd-admin-about .welcome-message .column--80{width:100%}body.edd-about #edd-admin-about .welcome-message.column--20.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-l-15{margin-left:0}body.edd-about #edd-admin-about .welcome-message.column--20.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-r-15{margin-right:0}}@media(max-width:960px){body.edd-about #edd-admin-about .edd-admin-about-section{flex-direction:column;gap:20px}body.edd-about #edd-admin-about .edd-admin-about-section.welcome-message{flex-flow:column-reverse}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section.column--20,body.edd-about #edd-admin-about .edd-admin-about-section .column--40,body.edd-about #edd-admin-about .edd-admin-about-section .column--50,body.edd-about #edd-admin-about .edd-admin-about-section .column--60,body.edd-about #edd-admin-about .edd-admin-about-section .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-l-15{margin-left:0}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-r-15{margin-right:0}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:block!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:none}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video{padding-top:20px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra .edd-admin-column-50{float:none;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 img,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 img{width:auto;max-width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.image,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.image{margin:0 auto;align-content:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.content,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.content{flex-direction:column;justify-items:left}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link{font-size:1.25rem;display:flex;justify-items:space-around;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link .dashicons,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link .dashicons{display:none}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:column}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{padding:10px;flex:1 0 100%;max-width:100%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{flex-direction:row}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{padding-left:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol .addon-name{text-align:left}}#edd-flyout{position:fixed;z-index:99999;transition:all .2s ease-in-out;right:40px;bottom:40px;opacity:1;display:flex;flex-direction:column;align-items:flex-end}@media(max-width:960px){#edd-flyout{display:none}}#edd-flyout .edd-flyout-label{transform:translateY(-50%);-moz-transform:translateY(-50%);-webkit-transform:translateY(-50%);color:#fff;background-color:#757575;font-size:12px;white-space:nowrap;padding:5px 10px;transition:all .2s ease-out;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:20px;opacity:0;transform:scale(0)}#edd-flyout #edd-flyout-button{border:none;padding:0;background:none;display:flex;flex-direction:row;gap:10px;align-items:center}#edd-flyout #edd-flyout-button img{width:54px;height:54px;display:block;border-radius:50%;border:3px solid #0c5d95;overflow:hidden;transition:all .2s ease-in-out;background:#fff}#edd-flyout #edd-flyout-button:hover img{cursor:pointer;box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-button .edd-flyout-label{opacity:0;transform:translateY(-50%) scale(0)}#edd-flyout #edd-flyout-button:hover .edd-flyout-label{opacity:1;transform:translateY(-50%) scale(1)}#edd-flyout #edd-flyout-button.has-alert:after{transform:scale(1);opacity:1;font-family:dashicons;content:"";color:#d63638;font-size:16px;height:16px;width:16px;text-decoration:none;border-radius:999999px;line-height:16px;transition:all .2s ease-in-out;background-color:#fff;position:absolute;right:3px;bottom:46px}#edd-flyout #edd-flyout-items{display:flex;flex-direction:column-reverse;gap:10px;margin-right:12px;margin-bottom:12px;height:0}#edd-flyout #edd-flyout-items .edd-flyout-item{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:25px;visibility:collapse}#edd-flyout #edd-flyout-items .edd-flyout-item a{text-decoration:none;color:#fff}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{transition:all .2s ease-in-out;transform:scale(0);opacity:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{margin-top:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label a{display:inline-block;line-height:normal;height:auto!important}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon{display:flex;justify-content:space-around;width:40px;height:40px;border-radius:50%;box-shadow:0 3px 12px 1px rgba(30,30,30,.55);background:#0c5d95 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.red{background:#d63638 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.green{background:#1da867 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon span.dashicons:before{color:#fff;font-size:20px;line-height:40px;vertical-align:middle}#edd-flyout #edd-flyout-items .edd-flyout-item:hover{cursor:pointer}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon{background:#35495c 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.red{background:#b60012 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.green{background:#199155 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{background-color:#494949}#edd-flyout.opened #edd-flyout-items{height:auto}#edd-flyout.opened #edd-flyout-items .edd-flyout-item{visibility:visible}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-icon{transition:transform .2s 0ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-icon{transition:transform .2s 24ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-icon{transition:transform .2s 48ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-icon{transition:transform .2s 72ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-label{transition:transform .2s 96ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-label{opacity:1;transform:scale(1)}#edd-flyout.opened #edd-flyout-button img{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout.opened #edd-flyout-button .edd-flyout-label{opacity:0}#edd-flyout.opened #edd-flyout-button.has-alert:after{opacity:0;transition:scale(0)}#edd-flyout.out{opacity:0;visibility:hidden}.edd-admin-notice-top-of-page{font-size:15px;line-height:1.4;color:#fff;margin-left:-20px;padding:12px 32px 12px 20px;background:#2d6ca2}.edd-admin-notice-top-of-page.edd-pro-inactive{background:#d63638}@media screen and (min-width:783px){.edd-admin-notice-top-of-page{padding:10px 46px 10px 22px}}@media screen and (min-width:961px){.edd-admin-notice-top-of-page{text-align:center}}.edd-admin-notice-top-of-page a{color:#fff}.edd-admin-notice-top-of-page a:hover{text-decoration:none}.edd-admin-notice-top-of-page .button-link{position:absolute;top:48px;right:-1px;font-size:20px;color:#fff;font-weight:700;text-decoration:none;margin-left:5px;padding:6px 10px}.edd-admin-notice-top-of-page .button-link:active,.edd-admin-notice-top-of-page .button-link:focus,.edd-admin-notice-top-of-page .button-link:hover{color:#fff;text-decoration:none}@media screen and (min-width:601px){.edd-admin-notice-top-of-page .button-link{top:1px}}@media screen and (min-width:783px){.edd-admin-notice-top-of-page .button-link{right:9px}}#edd-admin-notice-five-star-review{display:-ms-grid;display:grid}#edd_dashboard_sales .edd-promo-notice{border-bottom:1px solid #c3c4c7}.edd-review-actions{display:flex;gap:6px;margin:0 0 16px}.edd-promo-notice .edd-peeking{align-self:flex-end;justify-self:flex-end;margin-right:16px;margin-bottom:-1px}@media screen and (max-width:782px){#edd-admin-notice-five-star-review.notice .edd-peeking{margin-bottom:-6px}}@media screen and (min-width:480px){.edd-promo-notice.notice-info .edd-peeking{justify-self:flex-start;margin-right:0;margin-left:250px}}.edd-promo-notice .edd-peeking,.edd-review-step{-ms-grid-row:1;grid-area:1/-1}.edd-promo-notice__overlay{display:none;position:fixed;background:rgba(16,21,23,.75);top:0;right:0;bottom:0;left:160px;z-index:11;justify-content:center;align-items:center}.folded .edd-promo-notice__overlay{left:36px}@media screen and (max-width:782px){.edd-promo-notice__overlay{left:0}}.edd-admin-notice-overlay{display:none;background-color:#fff;padding:2.5em;text-align:center;max-width:650px;position:relative;flex-direction:column}.edd-promo-notice__overlay .edd-admin-notice-overlay{display:flex}.edd-admin-notice-overlay h2{line-height:1.6em;margin:0 auto;max-width:540px}.edd-admin-notice-overlay .edd-promo-notice__features{text-align:left;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em}.edd-admin-notice-overlay .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center}@media screen and (max-width:600px){.edd-admin-notice-overlay .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-admin-notice-overlay .button-primary{padding:4px 36px;margin:0 auto .5em;max-width:360px}.edd-admin-notice-overlay__link{color:#101517}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link{position:absolute;color:#537994;text-decoration:none;font-size:2em;top:0;right:.5em}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:active,.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:hover{color:#101517}@media screen and (max-width:782px){.edd-admin-notice-overlay{margin:1em}}.edd-promo-notice__popup{display:flex;justify-content:center;justify-items:center;flex-direction:column;margin:2em auto;gap:0 1.5em}.edd-promo-notice__popup h2{line-height:1.6em;margin:0 auto;max-width:540px;font-size:1.25em}.edd-promo-notice__popup .content{display:inherit;flex-direction:inherit;justify-items:center;text-align:center}.edd-promo-notice__popup .content .edd-promo-notice__features{text-align:left;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em;flex-direction:row}.edd-promo-notice__popup .content .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center;min-width:50%}@media screen and (max-width:600px){.edd-promo-notice__popup .content .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-promo-notice__popup .content .button-primary{padding:4px 36px;margin:.5em auto;max-width:360px}.edd-promo-notice__popup .content__link{color:#101517}#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-account-status li span,#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-webhook-events li span{animation:skeleton-loading 1s infinite alternate;width:250px;height:18px;display:inline-block}#edd-paypal-commerce-connect-wrap.loading .edd-paypal-connect-actions span{animation:skeleton-loading 1s infinite alternate;width:150px;height:32px;display:inline-block}.edd-paypal-account-status ul{margin-left:25px;list-style-type:none}.edd-paypal-account-status>li{margin-bottom:1em}.edd-paypal-account-status ul:not(.edd-paypal-webhook-events) li{margin:.25em 0}.edd-paypal-account-status .dashicons-yes{color:#008a20}.edd-paypal-account-status .dashicons-no{color:#d63638}@media(min-width:782px){body.edd-admin-page #wpbody-content{padding-bottom:200px}}body.edd-admin-page #wpfooter .edd-footer-promotion{text-align:center;font-weight:400;font-size:13px;line-height:16px;color:#787c82;padding:20px 0 30px;margin-bottom:20px;margin-top:20px}body.edd-admin-page #wpfooter .edd-footer-promotion p{font-weight:600}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links,body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{display:flex;justify-content:center;align-items:center}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links{margin:9px 0 0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links span{color:#c3c4c7;padding:0 7px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{margin:10px 0 0;gap:10px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li{margin-bottom:0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li path{fill:#a7aaad}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li:hover path{fill:#50575e}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social a{display:block;height:16px}.edd-dialog{display:none}.edd-item-header-small{padding-bottom:20px;border-bottom:1px solid #e5e5e5;display:flex;justify-content:flex-start;align-items:center;gap:6px}.edd-item-header-small span{font-weight:600;font-size:15px}.edd-admin-order-status-badge,.edd-status-badge{padding:2px 7px;border-radius:4px;background:#ececec;display:inline-flex;align-items:center;gap:2px}.edd-admin-order-status-badge__icon,.edd-status-badge__icon{opacity:.8}.edd-admin-order-status-badge--error,.edd-admin-order-status-badge--expired,.edd-admin-order-status-badge--failed,.edd-admin-order-status-badge--failing,.edd-admin-order-status-badge--red,.edd-admin-order-status-badge--rejected,.edd-admin-order-status-badge--revoked,.edd-status-badge--error,.edd-status-badge--expired,.edd-status-badge--failed,.edd-status-badge--failing,.edd-status-badge--red,.edd-status-badge--rejected,.edd-status-badge--revoked{color:#ac3d3d;background:#ffd6d6}.edd-admin-order-status-badge--active,.edd-admin-order-status-badge--approved,.edd-admin-order-status-badge--complete,.edd-admin-order-status-badge--completed,.edd-admin-order-status-badge--edd_subscription,.edd-admin-order-status-badge--green,.edd-admin-order-status-badge--partially_refunded,.edd-admin-order-status-badge--success,.edd-status-badge--active,.edd-status-badge--approved,.edd-status-badge--complete,.edd-status-badge--completed,.edd-status-badge--edd_subscription,.edd-status-badge--green,.edd-status-badge--partially_refunded,.edd-status-badge--success{color:#017d5c;background:#e5f5f0}.edd-admin-order-status-badge--pending,.edd-admin-order-status-badge--warning,.edd-admin-order-status-badge--yellow,.edd-status-badge--pending,.edd-status-badge--warning,.edd-status-badge--yellow{color:#996800;background:#f5f2e5}.edd-admin-order-status-badge--blue,.edd-admin-order-status-badge--info,.edd-admin-order-status-badge--processing,.edd-admin-order-status-badge--trialling,.edd-status-badge--blue,.edd-status-badge--info,.edd-status-badge--processing,.edd-status-badge--trialling{color:#016087;background:#e5f1f5}.edd-pro-upgrade,.edd-pro-upgrade:hover{color:#1da867;font-weight:600;text-decoration:none}.button.edd-pro-upgrade,.button.edd-pro-upgrade:hover{background-color:#1da867;color:#fff;border-color:#1da867}.edd-progress-bar{display:-ms-grid;display:grid;background:#dcdcde;border-radius:99999px;padding:2px;box-shadow:inset 0 0 1px 1px #7e8993;align-items:center}.edd-progress-bar.small{height:14px}.edd-progress-bar.medium{height:16px}.edd-progress-bar.large{height:20px;padding:4px}.edd-progress-bar>.progress{height:100%;border-top-right-radius:99999px;border-bottom-right-radius:99999px;border-top-left-radius:99999px;border-bottom-left-radius:99999px;background-color:rgba(0,186,55,.3);overflow:hidden;min-width:10%;width:0;width:var(--progress-width,0);-ms-grid-row:1;grid-area:1/-1}.edd-progress-bar>.label{color:#32373c;font-weight:400;font-size:.75rem;text-shadow:0 0 12px hsla(0,0%,100%,.5);-ms-grid-row:1;grid-area:1/-1;text-align:center;line-height:1}.edd-pointer.warning h3{background:#f0b849;border-color:#996800;color:#1a1a1a}.edd-pointer.warning h3:before{color:#f0b849}.edd-help-tip{cursor:help;margin-top:-2px;font-size:24px;color:#7e8993}.edd-ui-tooltip{position:absolute;background:#fff!important;border-width:0;border-radius:12px!important;box-shadow:0 8px 36px 0 rgba(29,36,40,.15)!important;color:#23282d!important;max-width:300px!important;padding:16px!important;text-rendering:optimizeLegibility;text-shadow:none!important;font-size:13px!important;z-index:9999!important}.edd-ui-tooltip .title{font-weight:700}.edd-ui-tooltip .timeline{position:relative;margin:6px 0 0;padding-left:15px}.edd-ui-tooltip .timeline li{position:relative;margin:0 0 3px}.edd-ui-tooltip .timeline li:before{content:"";position:absolute;width:4px;height:4px;left:-16px;background:transparent;border:2px solid #23282d;top:0;bottom:0;margin:auto;border-radius:100%;z-index:1}.edd-ui-tooltip .timeline li:after{content:"";width:2px;height:calc(100% - 4px);background:#23282d;position:absolute;left:-13px;top:calc(50% + 3px)}.edd-ui-tooltip .timeline li:last-child:after{display:none}@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.wrap-licenses .edd-licenses__description{margin:2em 1em}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}@media screen and (min-width:600px){.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:unset}}.wrap-licenses tbody{display:-ms-grid;display:grid;gap:1em}.wrap-licenses .form-table tr{margin:0;background:#fff;border:1px solid #dcdcde;border-radius:3px;padding:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}@media screen and (min-width:600px){.wrap-licenses .form-table tr{display:-ms-grid;display:grid;-ms-grid-columns:200px 1fr;grid-template-columns:200px 1fr}}.wrap-licenses .form-table th{background:#f9f9f9;margin-bottom:2.5em;padding:1em;border-bottom:1px solid #dcdcde;width:unset}@media screen and (min-width:600px){.wrap-licenses .form-table th{border-bottom:none;margin-bottom:0;display:flex;align-items:center}}.wrap-licenses .form-table td{margin:0;padding:0;display:flex;flex-direction:column;gap:2.5em;flex-grow:1}@media screen and (min-width:600px){.wrap-licenses .form-table td{flex-direction:row;gap:unset}}.wrap-licenses .form-table td input.regular-text{margin:0;width:100%;max-width:250px}.wrap-licenses .form-table td button{margin:0}.wrap-licenses .form-table .edd-license__control{flex-grow:1;padding:0 1em;display:flex;gap:4px;align-items:center;justify-content:center}@media screen and (min-width:600px){.wrap-licenses .form-table .edd-license__control{justify-content:flex-end}}.wrap-licenses .form-table .edd-licensing__actions{display:flex;gap:4px}.wrap-licenses .edd-license-data[class*=edd-license-]{background:#f9f9f9;padding:1em;border-top:1px solid #dcdcde;margin:0;width:100%;box-sizing:border-box;display:flex;align-items:flex-end}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}@media screen and (min-width:600px){.wrap-licenses .edd-license-data[class*=edd-license-]{border-top:none;width:unset;flex-basis:100%;align-items:center}.wrap-licenses .edd-license-data[class*=edd-license-]:not(:only-child){flex:0 1 300px}}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover{text-decoration:none}.edd-settings-content{max-width:1440px}.edd-settings-color,.edd-settings-colors{display:flex;flex-wrap:wrap;gap:1em}.edd-settings-color{flex-direction:column}.edd-upload-button-wrapper{width:100%;display:flex;gap:5px}.edd-upload-button-wrapper button.edd_settings_upload_button{margin-bottom:0}#edd-payment-gateways a.button.edd-settings__button-settings{position:absolute;right:2em;min-height:unset;height:1.5em;width:1.5em;border:none;background-color:#f9f9f9}#edd-payment-gateways a.button.edd-settings__button-settings,#edd-payment-gateways a.button.edd-settings__button-settings:active,#edd-payment-gateways a.button.edd-settings__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active #edd-payment-gateways a.button.edd-settings__button-settings{display:block}.edd-settings__list--disc{list-style:disc;list-style-position:inside}.wp-list-table.discounts .column-amount{width:90px}.wp-list-table.discounts th.column-use_count{width:150px}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount .edd-discount-datetime input,#edd-edit-discount .edd-discount-datetime input{vertical-align:middle}#edd-add-discount input[type=text].edd_datepicker,#edd-edit-discount input[type=text].edd_datepicker{display:inline-block;width:183px}#edd-edit-discount textarea{height:100px}.edd-amount-type-wrapper{position:relative;display:flex}.edd-amount-type-wrapper select{border-top-left-radius:0;border-bottom-left-radius:0;width:auto!important}.edd-amount-type-wrapper #edd-amount{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-2px;padding:0 8px;width:unset;max-width:125px}.edd-amount-type-wrapper input:focus{z-index:2}.edd-code-wrapper{display:flex;align-items:stretch;gap:3px}.edd-popup-trigger{display:flex!important;align-items:center;gap:3px}@media screen and (max-width:782px){.edd-popup-trigger{margin-bottom:0!important}}@media screen and (max-width:480px){.edd-popup-trigger span:not(.dashicons){display:none}}.edd-code-generator-popup{position:absolute;z-index:99;width:250px;height:auto;margin:auto;padding:10px;transform:translate(240px,15px);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 -2px 5px 0 rgba(0,0,0,.25);box-sizing:border-box;display:none}.edd-code-generator-popup:after{content:"";width:15px;height:15px;background:#fff;position:absolute;margin:auto;transform:rotate(45deg);z-index:-1;left:0;right:0;top:-8.5px;border-color:#8c8f94;border-style:solid;border-width:1px 0 0 1px}@media screen and (max-width:480px){.edd-code-generator-popup{transform:translateY(15px) translateX(105px)}.edd-code-generator-popup:after{left:70%}}.edd-code-generator-popup .edd-form-group{width:100%;margin-bottom:10px;padding-bottom:10px;box-sizing:border-box;margin-top:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcdcde;height:40px}.edd-code-generator-popup .edd-form-group:last-of-type{border-bottom:0}.edd-code-generator-popup .edd-form-group label{padding:5px 0;width:60px;font-size:12px;margin-bottom:0;box-sizing:border-box}@media screen and (max-width:782px){.edd-code-generator-popup .edd-form-group label{line-height:28px}}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]){width:120px!important;min-height:0;height:30px}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]):not(:focus){border:1px solid #8c8f94}.edd-code-generator-popup #edd-generate-code{width:100%}@media screen and (max-width:782px){.edd-code-generator-popup #edd-generate-code:before{margin-top:8px}}.edd_dashboard_widget{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(150px,1fr))[2];grid-template-columns:repeat(2,minmax(150px,1fr));grid-gap:1em}.edd_dashboard_widget>div:not(.table_left):not(.table_right){-ms-grid-column-span:2;grid-column:span 2}.edd_dashboard_widget table thead td{border-bottom:1px solid #c3c4c7;color:#777}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{text-align:right}.edd_dashboard_widget .t{font-size:12px;padding-right:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 0 8px 12px}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:var(--wp-admin-theme-color);border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-right:2px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:right}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}.edd-dashboard-notice{-ms-grid-column-span:2;grid-column:span 2;padding:1px;text-align:center;margin:1em -1em -1em;background-color:#f9f9f9;border:1px solid #c3c4c7}.edd-dashboard-notice--error{background:#d63638;color:#fff}.edd-dashboard-notice--error a{color:#fff}body.dashboard_page_edd-upgrades.js .postbox .hndle{cursor:default}.edd-hidden{display:none}.edd-clearfix:after{content:"";display:table;clear:both}.edd-notice .notice-dismiss,.edd-wrap a{text-decoration:none}.wp-core-ui .edd-delete,a.edd-delete{color:#a00}.wp-core-ui .edd-delete:hover,a.edd-delete:hover{color:red}body.post-type-download #contextual-help-link-wrap,body.post-type-download #screen-options-link-wrap{top:5px!important}body.post-type-download #screen-meta{margin:0 0 -1px -20px}#edd-header{border-top:5px solid #0c5d95;border-bottom:1px solid #c3c4c7;padding:20px 0;margin-left:-20px;background:#fff}#edd-header-wrapper{display:flex;justify-content:space-between;padding:0 20px;align-items:center}#edd-header img{display:block;max-width:300px;margin:0}.edd-header-page-title-wrap{font-size:1.75em;margin-top:-5px;margin-right:auto;padding-left:7px}.edd-header-separator{margin-top:-2px;opacity:.25}.edd-header-page-title{font-weight:400;font-size:1em;line-height:1.3em;display:inline}.edd-header-page-title-wrap .button{margin-left:5px}.no-js #edd-header-actions{display:none}#edd-header .edd-round{position:relative;background-color:#f3f4f5;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-left:10px;cursor:pointer;transition:background-color .2s ease}#edd-header .edd-round.edd-hidden{display:none}button.edd-round{border:none}#edd-header button.edd-round:hover{background-color:#e5e5e5}button.edd-round:active,button.edd-round:focus{outline:2px solid #0c5d95}#edd-header .edd-number{position:absolute;background-color:#df2a4a;width:16px;height:16px;font-weight:600;font-size:10px;color:#fff;top:-8px;left:50%;transform:translateX(-50%);margin:0;animation:bounce 2s 5}#edd-header .edd-number.edd-hidden{display:none!important}#edd-header .edd-round svg{width:20px;height:20px}@media screen and (max-width:840px){#edd-header img,.edd-header-separator{display:none}}.edd_datepicker{height:29px}.edd-from-to-wrapper input{width:105px;margin:0;position:relative;z-index:1}.edd-from-to-wrapper input[name*=start],.edd-from-to-wrapper input[name=filter_from]{border-top-right-radius:0;border-bottom-right-radius:0}.edd-from-to-wrapper input[name*=end],.edd-from-to-wrapper input[name=filter_to]{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.edd-from-to-wrapper input:focus{z-index:2;position:relative}.edd-settings-sub-nav{margin:0 0 10px;width:100%;border-bottom:1px solid #ccc;box-shadow:0 1px 1px rgba(0,0,0,.04)}.edd-settings-sub-nav a{padding:13px;display:block}.edd-settings-sub-nav a.current{border-bottom:4px solid #000;padding-bottom:9px}.admin-color-fresh .edd-settings-sub-nav a.current{border-bottom-color:#00a0d2}.admin-color-blue .edd-settings-sub-nav a.current{border-bottom-color:#096484}.admin-color-coffee .edd-settings-sub-nav a.current{border-bottom-color:#c7a589}.admin-color-ectoplasm .edd-settings-sub-nav a.current{border-bottom-color:#a3b745}.admin-color-midnight .edd-settings-sub-nav a.current{border-bottom-color:#e14d43}.admin-color-ocean .edd-settings-sub-nav a.current{border-bottom-color:#627c83}.admin-color-sunrise .edd-settings-sub-nav a.current{border-bottom-color:#be3631}.admin-color-light .edd-settings-sub-nav a.current{border-bottom-color:#888}.admin-color-evergreen .edd-settings-sub-nav a.current{border-bottom-color:#36533f}.admin-color-mint .edd-settings-sub-nav a.current{border-bottom-color:#4f6d59}.download_page_edd-settings .edd-check-wrapper{clear:both}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-sortable-list{margin:0;width:300px;position:relative}.edd-sortable-list li{margin:0;padding:0;position:relative;height:28px;cursor:move}.edd-sortable-list li label *{vertical-align:middle}.edd-sortable-list li label:after{display:block;width:17px;height:17px;position:absolute;right:6px;top:0;color:#aaa;font-family:dashicons;font-size:17px;content:"";cursor:move}.form-table .edd-sortable-list li label{display:block;height:28px;padding:0;margin:0}.edd-sortable-list .payment-icon{width:32px;height:24px;position:relative;top:-2px;margin-right:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-top:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper input{margin-top:1px}.download_page_edd-settings .form-table .edd-settings-payment-icon-wrapper input[type=checkbox]+label{margin:0;display:inline-block}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-icon-image{margin-right:5px;width:32px;display:inline-block;vertical-align:middle}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-option-name{vertical-align:middle}.download_page_edd-settings .taxrates td,.download_page_edd-settings .taxrates th{padding:8px 10px}.download_page_edd-settings .taxrates td{line-height:1.5em;vertical-align:top;margin:0}.download_page_edd-settings .taxrates .regular-text{width:100%}#TB_window{overflow:hidden}#TB_title{padding:5px}#TB_ajaxContent{width:calc(100% - 30px)!important;padding:15px;margin:0;height:calc(100% - 118px)!important}#TB_ajaxWindowTitle{font-size:18px;font-weight:600;line-height:30px}#TB_closeWindowButton{right:6px;top:6px}#choose-download-wrapper{width:100%}#choose-download-wrapper .wrap{overflow-y:scroll;margin:0;padding:0;height:calc(100% - 50px)}#choose-download-wrapper .submit-wrapper{position:absolute;width:100%;bottom:0;padding:0;margin:0 0 0 -15px;text-align:right}#choose-download-wrapper .submit-wrapper div{background-color:#fafafa;padding:15px;border-top:1px solid #ddd}.wp-media-buttons .button.edd-thickbox{padding-left:0}.wp-media-buttons .button.edd-email-tags-inserter .dashicons{margin-top:-2px}.download_page_edd-payment-history .edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:sticky;top:32px;margin-left:-20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-editor-regions__header{position:static;top:46px}}.download_page_edd-payment-history .edit-post-header{height:56px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100%;box-sizing:border-box;padding:4px 20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-header{padding-left:10px;padding-right:10px}}@media(min-width:280px){.download_page_edd-payment-history .edit-post-header{flex-wrap:nowrap}}.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{order:0}.download_page_edd-payment-history .edit-post-header .edit-post-header__settings{order:1}.download_page_edd-payment-history .edit-post-header #publishing-action,.download_page_edd-payment-history .edit-post-header .edit-post-header__settings,.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{display:flex;align-items:center}.download_page_edd-payment-history .edit-post-header #publishing-action .spinner{margin:0 5px 0 0}.download_page_edd-payment-history .edit-post-header .button-primary{margin:2px;height:34px;line-height:32px;font-size:13px}#edd-order-items .hndle{display:flex;align-items:center;justify-content:space-between}#edd-order-items .hndle .edd-toggle{font-weight:400}.edd-add-order-item td{vertical-align:middle}.edd-add-order-item input{width:80%}.edd-add-order-item input[readonly]{color:#555;background:none;border:1px solid transparent;box-shadow:none}.order-customer-info .customer-details-wrap{margin:15px 0;align-items:center}.order-customer-info .customer-details-wrap .spinner{margin:0}.order-customer-info .customer-details{display:flex;flex-direction:column}.order-customer-info .customer-details .customer-since{color:#666;display:block;margin:4px 0 6px}.order-customer-info .customer-details>span{margin-bottom:5px}.edd-order-add-download-select .spinner{display:none}table.edd-order-overview-summary{border-width:0;table-layout:fixed}table.edd-order-overview-summary--refund{border-width:0}@media screen and (min-width:782px){.edd-order-overview .column-right{text-align:right}}.edd-ml-auto{margin-left:auto!important}@media screen and (min-width:782px){.edd-ml-lg-auto{margin-left:auto!important}}.edd-ml-auto+.edd-ml-auto{margin-left:10px!important}.edd-order-overview-summary__items-name{align-self:flex-start}.edd-order-overview-summary__items>:nth-child(odd){background-color:#f9f9f9}@media screen and (min-width:782px){.edd-order-overview-summary__items tr:last-child td,.edd-order-overview-summary__items tr:last-child th{border-bottom:1px solid #e5e5e5}}@media screen and (max-width:782px){.edd-order-overview-summary .row-actions>*,.edd-order-overview-summary__items-name .row-actions{display:block!important}.edd-order-overview-summary .row-actions>:not(:first-child):before{display:none}}.edd-order-overview-summary th:not(.column-primary){width:100px}.edd-order-overview-summary .row-actions>:not(:first-child):before{color:#999;content:" | "}.edd-order-overview-summary .row-actions .text{color:#555}.edd-order-overview-summary .removable{display:flex;align-items:center;position:relative}.edd-order-overview-summary .removable .delete{display:inline-block;margin-right:10px;margin-left:-8px;padding:10px;border-right:1px solid #e5e5e5;color:#a00}.edd-order-overview-summary .removable .delete:hover{color:#dc3232}.edd-order-overview-summary__adjustments .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td small{font-weight:400}.edd-order-overview-summary__subtotal .column-primary,.edd-order-overview-summary__tax tr:first-of-type .column-primary,.edd-order-overview-summary__total .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td,.edd-order-overview-summary__subtotal td,.edd-order-overview-summary__tax td,.edd-order-overview-summary__total td{vertical-align:middle}.edd-order-overview-summary__tax td small,.edd-order-overview-summary__total td small{font-weight:400}.edd-order-overview-summary__total .total{color:#017d5c;display:inline-block}.edd-order-overview-summary__total .total.is-negative{color:#a00}@media screen and (min-width:783px){.edd-order-overview-summary__adjustments .removable .delete{margin-left:-50px}.edd-order-overview-summary__total .total{font-size:150%;padding-top:5px;padding-bottom:5px}}.edd-order-overview-summary__total tr:last-child td:not(:first-of-type),.edd-order-overview-summary__total tr:last-child th{border-top:1px solid #e5e5e5}.edd-order-overview-summary__total .notice{margin:-1px}.edd-order-overview-summary__total .notice p{font-weight:400;margin:.5em 0}.edd-order-overview-summary__refunds .column-primary{font-weight:600}.edd-order-overview-summary__refunds td small{font-weight:400}.edd-order-overview-summary__refunds tr:first-child td{border-top:1px solid #e5e5e5}#edd-order-overview-actions.inside{border-top:1px solid #ccd0d4;margin-top:0;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}#edd-order-overview-actions.inside:empty{padding:0;border-top:0}#edd-order-overview-actions.inside>div{display:flex;align-items:center}#edd-order-overview-actions .edd-order-overview-actions__notice{flex-basis:100%;margin-top:15px}.edd-order-overview-actions .button{width:100%;margin-bottom:12px}.edd-order-overview-actions .button:last-of-type{margin-bottom:0}@media screen and (min-width:782px){.edd-order-overview-actions .button{width:auto;margin-left:12px;margin-bottom:0}.edd-order-overview-actions .button:first-of-type{margin-left:auto}}.edd-order-overview-actions__locked{font-style:italic;opacity:.8}@media screen and (max-width:782px){.edd-order-overview-actions__locked{margin-bottom:12px}}.edd-order-overview-actions__refund .dashicons{margin-right:8px}.edd-dialog .ui-button-icon-only{font-size:0}.download_page_edd-payment-history .ui-dialog,.download_page_edd-payment-history .ui-dialog-content{overflow:visible}.edd-order-overview-modal form>p{margin-top:0}.edd-order-overview-modal fieldset legend,.edd-order-overview-modal form label{display:block;margin-bottom:4px}.edd-order-overview-modal fieldset{margin-bottom:calc(1em - 3px)}.edd-order-overview-modal fieldset>p{margin:2px 0 3px}.edd-order-overview-modal form .submit{margin:0 -16px -16px;padding:16px;background:#fcfcfc;border-top:1px solid #dfdfdf;display:flex;align-items:center}.edd-order-overview-modal form .submit .spinner{margin:0}.edd-order-overview-add-item [for=auto-calculate]{display:flex;align-items:center}.edd-order-overview-add-item [for=auto-calculate] input[type=checkbox]{margin-top:0}.edd-order-overview-add-item [for=auto-calculate] .label{line-height:1.15;margin-left:8px}.edd-order-overview-add-item [for=auto-calculate] .label small{margin-top:4px;display:block;opacity:.75}.edd-order-overview-add-adjustment .notice,.edd-order-overview-add-item .notice{margin:0 0 1rem}.edd-order-overview-add-adjustment #description,.edd-order-overview-add-discount select{width:100%}.edd-order-overview-error{font-style:italic;color:#a00;display:block;margin:4px 0}.edd-order-copy-download-link textarea{width:100%}.edd-order-resend-email-chooser legend{font-weight:700;margin-bottom:4px}.edd-order-resend-email-chooser p{margin:4px 0}.edd-notes .edd-note{padding:10px;background-color:#ffe;border:1px solid #cc0;width:100%;position:relative;margin-bottom:10px;box-sizing:border-box;overflow:hidden}.edd-notes .edd-note.deleting{opacity:.5}.edd-notes .edd-note__header{display:flex;align-items:center}.edd-add-note .spinner{float:none;display:inline-block;margin:0}.edd-notes .edd-note time{font-size:11px;color:#aaa}.edd-notes .edd-note .edd-note-author{margin-right:5px}.edd-notes .edd-note .edd-delete-note{color:#a00;font-weight:700;text-decoration:none;margin-left:auto}.edd-notes .edd-note .edd-delete-note:hover{color:#888}.edd-notes .edd-note p:last-child{margin-bottom:0}.edd-notes .edd-no-notes{margin:4px 0 10px}textarea[name=edd-note]{width:100%;min-height:70px;margin-top:0}.edd-notes-wrapper{width:80%}.edd-note-pagination{float:right;margin:-35px 5px 15px}.edd-note-pagination a,.edd-note-pagination span.page-numbers{padding:5px 8px;margin:2px;text-decoration:none}.edd-note-pagination a{border:1px solid #e5e5e5;background:#fcfcfc}.edd-note-pagination a:last-child,.edd-note-pagination span.page-numbers:last-child{margin-right:0}.post-type-download .tablenav.top .edd-select{margin-right:6px}.wp-list-table.addresses .column-primary strong,.wp-list-table.customers .column-primary strong,.wp-list-table.discounts .column-primary strong,.wp-list-table.emails .column-primary strong,.wp-list-table.orderadjustments .column-primary strong,.wp-list-table.orderitems .column-primary strong,.wp-list-table.orders .column-primary strong{font-size:14px}.wp-list-table.customers .column-primary .avatar,.wp-list-table.emails .column-customer .avatar{float:left;margin-right:10px;margin-top:1px;border-radius:5px}.wp-list-table.orders div.order-list-email{font-size:.85em;color:#888}.wp-list-table.orders th.column-amount{width:100px}.wp-list-table .row-actions span.activate a{color:green}.wp-list-table .row-actions span.refund a{color:#836fff}.wp-list-table .row-actions span.cancel a{color:#cc8c00}.wp-list-table .row-actions span.cancel a:hover,.wp-list-table .row-actions span.refund a:hover{opacity:.8}.wp-list-table .type-download .row-actions{color:#999}.no-js.edit-tags-php.post-type-download .wp-heading-inline{position:absolute;top:0}.no-js.edit-tags-php.post-type-download .nav-tab-wrapper{margin-top:50px}.download_page_edd-customers .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-discounts .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-payment-history .wrap .nav-tab-wrapper .page-title-action,.edit-tags-php.post-type-download .wrap .nav-tab-wrapper .page-title-action{top:3px;margin-left:10px;line-height:24px}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}marquee{padding:0;margin:0}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}#edd_product_files .inside,#edd_product_prices .inside{margin-bottom:0}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-order-items .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-order-items .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{max-width:125px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:80%;max-width:125px}#edd_product_notes_field{display:block;margin:12px 0 0;height:4em;width:100%}.edd-metabox-title-action{margin:0;float:right;padding:4px 8px;position:relative;top:-1px;text-decoration:none;border:1px solid #ccc;border-radius:2px;background:#f7f7f7;text-shadow:none;font-weight:600;font-size:10px;line-height:normal;color:#0073aa;cursor:pointer;outline:0}.edd-metabox-title-action:hover{border-color:#008ec2;background:#00a0d2;color:#fff}.edd-edit-purchase-element .tablenav{padding:2px 10px 8px}.edd-edit-purchase-element .edd-order-children-wrapper{margin:0 -1px}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 table{border-top:none;border-bottom:none}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 .tablenav{display:none}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(odd),#edd-edit-order-form .columns-4 .column:nth-child(odd),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #f1f1f1;clear:both;padding:12px;margin:0;word-wrap:break-word}.edd-admin-box-inside--row{display:flex;flex-wrap:wrap;word-break:break-all;justify-content:space-between;align-items:center}.edd-admin-box-inside>p{margin:8px 3px}.edd-admin-box-inside .strong{font-weight:600}.edd-admin-box div:not(.edd-admin-box-inside--row) .label{display:block;margin-bottom:4px;margin-right:0}.edd-admin-box .label--has-tip{display:flex;align-items:center}.edd-admin-box .label--has-tip .edd-help-tip{margin-top:0;font-size:20px}.edd-admin-box div:not(.edd-admin-box-inside--row) .label--has-checkbox{margin-bottom:0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.edd-admin-box .right{float:right}#edd-order-refunds-list{padding-left:25px}#poststuff .edd-order-data .inside{margin:0;padding:0}.edd-order-data .edd-select-chosen{width:130px!important}.edd-order-data input.edd_datepicker{width:180px}.edd-order-data input[type=number].edd-payment-time-hour,.edd-order-data input[type=number].edd-payment-time-min{width:50px}.edd-order-data .edd-tax-rate{color:#9c9c9c;font-style:italic;padding:5px}#edd_general_logs p{margin:0;padding:0}.edd-admin-box-inside span.label{margin-right:10px}#edd-order-resend-receipt .inside{margin-top:11px}.edd-order-resend-receipt-header{font-size:14px;line-height:1.4}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}.edd-order-update-box .button-primary{margin-right:0}.edd-edit-purchase-element .edd-select-chosen{width:196px}.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .actions{float:right}.order-data-address h3{margin:0 0 10px}.order-data-address #edd-order-address-country-wrap,.order-data-address #edd-order-address-state-wrap{display:inline-block;width:50%;max-width:300px}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}.edd-edit-purchase-element ul li{display:block;line-height:1.4;position:relative;margin:0;vertical-align:middle;font-size:13px}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{margin:0 0 15px}.edd-edit-purchase-element ul:last-of-type{margin-bottom:0}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-title .deleted{color:#777}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}.edd-add-adjustment-to-purchase,.edd-add-download-to-purchase{padding:15px;border-top:1px solid #e5e5e5;background-color:#f5f5f5}.edd-add-adjustment-to-purchase .chosen-container,.edd-add-download-to-purchase .chosen-container{width:90%!important;max-width:220px!important}.edd-add-adjustment-to-purchase .spinner,.edd-add-download-to-purchase .spinner{margin:0;float:none}.edd-add-download-to-purchase .edd-add-order-quantity{width:40px;height:29px;vertical-align:middle}.edd-add-adjustment-to-purchase .edd-add-adjustment-button,.edd-add-adjustment-to-purchase input[type=text],.edd-add-download-to-purchase .edd-add-order-item-button{height:29px}@media screen and (max-width:1284px){.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}.edd-refund-submit-line-total td:last-of-type{flex:0 0 120px}#edd-item-tables-wrapper .addresses tbody tr{display:-ms-grid;display:grid}#edd-item-tables-wrapper .addresses tbody td:not(.no-items){padding-left:35%}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}}#edd_product_stats .label{display:inline-block}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:normal 20px/1 dashicons;display:inline-block;padding:0 2px 0 0;position:relative;top:0;left:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd_product_stats .product-sales-stats:before{content:""}#edd_product_stats .product-earnings-stats:before{content:""}body.download_page_edd-reports{overflow-y:scroll}.edd-chip{font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;padding:3px;border-radius:3px;color:#fff;background-color:#444}.edd-reports-wrapper .postbox h2,.edd-reports-wrapper .postbox h3{font-size:1.3em}#edd-dashboard-widgets-wrap .metabox-holder{padding-top:0}.edd-reports-wrapper .postbox .edd-select{max-width:200px;vertical-align:baseline;margin-right:4px;margin-bottom:16px}.download_page_edd-reports #edd-item-wrapper{margin:0}#edd-dashboard-widgets-wrap .postbox h2,#edd-dashboard-widgets-wrap .postbox h3{cursor:default}.edd-date-range-options .edd_datepicker{width:105px}.edd-report-wrap{clear:both}.edd-report-wrap h3{clear:both;margin:0 0 20px}.edd-reports-chart,.edd-reports-table{margin-bottom:20px}.edd-admin--has-grid{display:grid;display:-ms-grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:20px}.edd-admin--has-grid .postbox{margin-bottom:0}.edd-admin--has-grid .edd-from-to-wrapper{display:flex;margin-bottom:16px;width:100%}.edd-admin--has-grid .edd-from-to-wrapper input{width:100%}.edd-admin--has-grid .edd-from-to-wrapper span{flex-grow:1}.edd-admin--has-grid form{display:flex;flex-direction:column;flex-wrap:wrap;position:relative}fieldset.edd-to-and-from-container{display:flex;gap:8px}fieldset.edd-to-and-from-container select{flex:0 0 calc(50% - 6px)}span.edd-to-and-from--separator{line-height:normal;-ms-grid-row-align:center;align-self:center;margin-bottom:16px}.edd-admin--has-grid .postbox .edd-select{max-width:100%;margin-right:0}.edd-admin--has-grid .button.updated-message:before,.edd-admin--has-grid .button.updating-message:before{vertical-align:text-bottom;margin:0 5px 0 0}.edd-import-export-form .edd-progress{background:#ddd;border-radius:15px;height:15px;flex-basis:100%}.edd-import-export-form .edd-progress div{background:#ccc;border-radius:15px;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-color:#eae9e9;border-style:solid;border-width:1px 0;padding:12px;overflow:auto;margin:20px -12px -23px;position:relative;width:100%;display:flex;justify-content:space-between;align-items:center}.notice-wrap div.notice{margin:0}h3+.notice-wrap .notice{margin-bottom:1em}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}.graph-option-section{float:left}.edd-report-filters-title span{display:block;padding:20px}#edd-graphs-filter form{padding:20px}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{display:inline-block;line-height:2em;margin:0 5px 0 0;padding:0}.download_page_edd-reports .section-content #post-body-content{float:none}.download_page_edd-reports .section-content select[name=range]{display:none}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-right:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd-reports-tiles-wrap .metabox-holder{padding:0}#edd-reports-tiles-wrap #dashboard-widgets{overflow:auto}#edd-reports-tiles-wrap #dashboard-widgets .postbox-container{width:33.3%}.download_page_edd-reports .section-content .tablenav.top{display:none}#edd_tax_rates{margin:1em 0 0}[id*=edd-recapture-].button{font-size:16px;height:auto;padding:8px 14px;margin:6px 0 0}[id*=edd-recapture-].button .dashicons{line-height:29px;margin-right:8px}[id*=edd-recapture-].button .edd-loading,[id*=edd-recapture-].button .edd-loading:after{border-radius:50%;display:inline-block;width:14px;height:14px}[id*=edd-recapture-].button .edd-loading{position:relative;top:3px;margin-left:4px;box-shadow:0 0 2px rgba(0,0,0,.2);animation:edd-spinning 1.1s linear infinite;border:2px solid hsla(0,0%,100%,.5);border-left-color:#fff;font-size:14px;filter:alpha(opacity=0);transform:translateZ(0)}#edd-recapture-disconnect.button .edd-loading.dark{border-color:rgba(0,0,0,.2) rgba(0,0,0,.2) rgba(0,0,0,.2) #666;box-shadow:none}.recapture-notice{position:relative}@keyframes edd-spinning{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}#edd-send-test-summary-save-changes-notice .notice p{font-size:13px}#edd-send-test-summary-notice,#edd-send-test-summary-save-changes-notice{display:flex;margin-top:5px}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.wp-list-table.apikeys input.code{width:100%;font-size:10px;cursor:text;background:#fff;border:1px solid #ddd;box-shadow:none;color:#555}.edd-toggle{position:relative;display:inline-block;overflow:visible}.edd-toggle input[type=checkbox]{display:inline-block;vertical-align:middle;position:relative;margin:0 2px 0 0;padding:0;width:42px;min-width:42px;height:24px;background-color:#ccc;transition:background .2s ease;border-radius:34px;box-shadow:none;border:none}.edd-toggle .label{display:inline-block;vertical-align:middle;white-space:nowrap}.edd-toggle input[type=checkbox]:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}@media only screen and (max-width:782px){.edd-toggle input[type=checkbox]:checked:before{margin:-.1875rem 0 0 -.25rem}}.edd-toggle input[type=checkbox]:checked{background-color:#007cba;background-color:var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:active,.edd-toggle input[type=checkbox]:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-toggle input[type=checkbox]:checked:active,.edd-toggle input[type=checkbox]:checked:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:checked:before{transform:translateX(22px)}.edd-toggle .label+input,.edd-toggle input+.label{margin-left:5px}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_wrap .spinner{position:absolute;margin:0;padding:0;right:4px;top:-2px}.edd_user_search_wrap.loading .spinner{visibility:visible}.edd_user_search_results{position:absolute;left:0;top:20px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{background:#fafafa;border:1px solid #dfdfdf;overflow-y:scroll;padding:0;margin:0;height:150px;width:185px;box-shadow:0 3px 5px rgba(0,0,0,.1)}.edd_user_search_results li{margin:0}.edd_user_search_results li a{display:block;text-decoration:none;padding:6px 10px}.edd_user_search_results li a:hover{background:#f5f5f5}.edd_user_search_results li.no-users{text-align:center;vertical-align:middle;display:block;line-height:150px;color:#bbb;text-transform:uppercase;font-size:11px}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}}@media screen and (max-width:782px){.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-left:0}}@media screen and (max-width:600px){#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#fff;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);position:relative;margin-top:15px;display:flex}#edd-item-wrapper.full-width{max-width:100%}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}.edd-sections-wrap{clear:both;width:100%}.edd-sections-wrap .section-wrap{background-color:#fff;display:inline-block;z-index:2}.js .edd-sections-wrap .edd-vertical-sections:not(.meta-box) .section-wrap>div{min-height:500px;height:100%}.edd-sections-wrap .section-wrap .customer-section:not(:last-child){border-bottom:1px solid #eee}.edd-sections-wrap .section-wrap .customer-section table{margin-bottom:20px}.edd-sections-wrap .section-wrap{border-left:1px solid #e5e5e5}.edd-sections-wrap .section-wrap .section-content>*{padding:20px}.edd-sections-wrap .section-wrap .section-content h2{margin:0;padding-bottom:0}.edd-sections-wrap .section-wrap .avatar-wrap{float:left;padding-right:10px;text-align:center}.edd-sections-wrap .section-wrap img.avatar{border-radius:5px}.edd-sections-wrap .section-wrap .customer-id{position:absolute;right:0;top:0;padding:10px;background-color:#fafafa;border-bottom-left-radius:20%;border:1px solid #eee;border-top:none;border-right:none;font-family:monospace;font-size:18px;font-weight:600}.edd-item-info.customer-info input[type=password],.edd-item-info.customer-info input[type=text],.edd-item-info.customer-info select{width:200px;height:auto;box-shadow:none;transition:none;border:1px solid #ddd;margin:-5px 0 4px -2px;font-size:13px;padding:2px 4px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:left}.edd-sections-wrap .section-wrap .customer-main-wrapper input[name="customerinfo[name]"]{font-size:24px}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:right;margin-top:-3px;margin-right:50px;width:202px}.edd-sections-wrap .section-wrap .info-wrapper{min-height:125px;overflow:visible}.edd-sections-wrap .section-wrap .customer-address span[data-key=address2],.edd-sections-wrap .section-wrap .customer-address span[data-key=address],.edd-sections-wrap .section-wrap .customer-address span[data-key=country]{display:block}.edd-sections-wrap .section-wrap a.delete{color:red;margin-right:5px;text-decoration:none}.customer-info{min-height:185px}.customer-info .customer-name{font-size:24px;font-weight:600}.customer-info .customer-name.editable{margin-bottom:6px}.customer-edit-link a{font-weight:400;text-decoration:none}.disconnect-user a{color:#aaa;font-size:20px}#customer-edit-actions{padding:3px;line-height:28px;text-align:center}#customer-edit-actions .button-secondary{margin-right:5px}#customer-edit-actions .cancel{padding:5px}.edd-sections-wrap .section-wrap .row-title{width:30%}.edd-sections-wrap .section-wrap .editable{display:block;padding:3px}.edd-sections-wrap .section-wrap div.edit-item{margin-left:-4px;margin-top:-20px}.edd-sections-wrap .section-wrap .customer-address.edit-item{margin-top:3px}.edd-sections-wrap .section-wrap span.edit-item{display:none}.edd-sections-wrap .section-wrap .edit-item input{font-size:13px}.edd-sections-wrap .section-wrap .customer-name.edit-item input{margin-top:-5px}.edd-sections-wrap .section-wrap .edd_user_search_results{left:-2px;top:18px}.edd-sections-wrap .section-wrap .edd_user_search_results ul{width:198px}#edd-item-stats-wrapper{margin:0 auto;text-align:center}#edd-item-stats-wrapper ul{display:flex;margin:0}#edd-item-stats-wrapper li{font-size:14px;margin-bottom:0;width:50%}#edd-item-stats-wrapper a{text-decoration:none}#edd-item-stats-wrapper .dashicons{color:#888;margin-top:-2px}#edd-item-tables-wrapper table{width:100%}#edd-item-tables-wrapper .no-items{text-align:left}#edd-item-tables-wrapper .emails .add-customer-email-row{background-color:#f4f4f4;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .add-customer-email-wrapper{display:flex;flex-wrap:wrap;align-items:center;margin:12px 0}#edd-item-tables-wrapper .edd-form-group{margin-bottom:0}#edd-item-tables-wrapper .edd-make-email-primary{flex-grow:1;margin-left:12px}#edd-item-tables-wrapper .emails .spinner{float:none;margin:0 10px;-ms-grid-row-align:center;align-self:center}#edd-item-tables-wrapper .notice-error{background-color:#fff5f5}#edd-item-notes-wrapper{min-height:50px}.customer-note-input{margin-bottom:5px;width:100%}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 0 7px 7px}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}.edd-sections-wrap .section-wrap .notice-container{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}@media screen and (max-width:810px)and (min-width:656px){.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap .widefat td,.widefat th{max-width:100%!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-tab-wrapper,.edd-sections-wrap .section-wrap{margin:0;width:100%}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs .edd-sections-wrap .section-wrap{border-top:1px solid #e5e5e5;border-left:0;margin-top:-1px}}@media screen and (max-width:656px){.edd-item-info.customer-info{position:relative}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:none;position:absolute;top:84px;left:165px;max-width:200px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:none;position:absolute;left:165px}.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap #edd-item-stats-wrapper{padding-left:0;padding-right:0}.edd-sections-wrap .section-wrap .customer-section{margin-bottom:0}.edd-sections-wrap .section-wrap .widefat td.column-primary,.edd-sections-wrap .section-wrap .widefat td.no-items,.edd-sections-wrap .section-wrap .widefat th.column-primary{width:100px!important;display:table-cell;overflow:hidden;text-align:left}.edd-sections-wrap .section-wrap .customer-id{display:none}#edd-item-tables-wrapper .emails td.column-primary{padding-right:10px;width:100%!important}#edd-item-tables-wrapper .edd-form-group{margin:0 0 16px}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 1px 1px 0}#edd-item-tab-wrapper-list li:nth-child(2n){border-width:0 0 1px}.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:right}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-left:2px}}.inside .edd-tools-textarea{background:#32373c;color:rgba(240,245,250,.7);font-size:12px;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:100%;height:450px;padding:10px;outline:none}#system-info-textarea::selection{background:#555;color:#fff}#edd-system-info .edd-inline-button{margin-left:5px}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}.edd-vertical-sections{overflow:visible;display:block;display:flex}#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{position:relative;width:20%;line-height:1em;margin:0 -1px 0 0;padding:0;background-color:#f5f5f5;border-right:1px solid #e5e5e5;box-sizing:border-box;max-width:200px}#edd-item-tab-wrapper-list{margin:0}#edd-item-tab-wrapper li,.edd-vertical-sections .section-nav li{display:block;position:relative;margin:0;padding:0;background-color:#fcfcfc}.edd-vertical-sections .section-title:last-of-type{margin-bottom:24px}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap,#edd-item-tab-wrapper li a,.edd-vertical-sections .section-nav li a{display:flex;margin:0;padding:9px;text-decoration:none;border-bottom:1px solid #e5e5e5;box-shadow:none;position:relative;align-items:center}#edd-item-tab-wrapper li a:focus,#edd-item-tab-wrapper li a:hover,.edd-vertical-sections .section-nav li a:focus,.edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0;outline:0;transition:all .25s}.edd-vertical-sections .section-nav .section-title--is-active a:after{content:"";width:1px;height:100%;background:#fff;position:absolute;right:0;top:0;bottom:0;z-index:3}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap{background-color:#fff}.edd-vertical-sections .section-nav li a>.dashicons,.edd-vertical-sections .section-nav li a>span{display:inline-block}.edd-vertical-sections .section-nav li a>span{max-width:76%}.edd-vertical-sections .section-nav li a .dashicons{line-height:20px;margin-right:3px;color:#888}.edd-vertical-sections .section-nav .section-title--is-active a{font-weight:700;color:#555;background-color:#fff;border-right:none;margin-right:-1px}.edd-vertical-sections.use-js .section-content,.no-js .edd-vertical-sections.use-js.edd-item-header-small,.no-js .edd-vertical-sections.use-js .section-nav{display:none}.no-js .edd-vertical-sections.use-js .section-content{display:block}.admin-color-fresh .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-fresh .edd-vertical-sections .section-nav li a:focus,.admin-color-fresh .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #0073aa}.admin-color-blue .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-blue .edd-vertical-sections .section-nav li a:focus,.admin-color-blue .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #096484}.admin-color-coffee .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-coffee .edd-vertical-sections .section-nav li a:focus,.admin-color-coffee .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #c7a589}.admin-color-ectoplasm .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:focus,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #a3b745}.admin-color-midnight .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-midnight .edd-vertical-sections .section-nav li a:focus,.admin-color-midnight .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #e14d43}.admin-color-ocean .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ocean .edd-vertical-sections .section-nav li a:focus,.admin-color-ocean .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #627c83}.admin-color-sunrise .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-sunrise .edd-vertical-sections .section-nav li a:focus,.admin-color-sunrise .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #be3631}.admin-color-light .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-light .edd-vertical-sections .section-nav li a:focus,.admin-color-light .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #888}.admin-color-evergreen .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-evergreen .edd-vertical-sections .section-nav li a:focus,.admin-color-evergreen .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #36533f}.admin-color-mint .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-mint .edd-vertical-sections .section-nav li a:focus,.admin-color-mint .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #4f6d59}.edd-vertical-sections .section-nav .section-title--is-active .dashicons{color:#555}@media only screen and (max-width:782px){#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{width:48px}.edd-vertical-sections .section-nav li a{justify-content:center}.edd-vertical-sections .section-nav li a .dashicons{width:24px;height:24px;font-size:24px;line-height:24px;margin:0}.section-nav li .dashicons:before{width:24px;height:24px}#edd-item-tab-wrapper .edd-item-tab-label,.section-nav li .label{overflow:hidden;position:absolute;top:-1000em;left:-1000em;width:1px;height:1px}}#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:80%}#edd-item-card-wrapper .item-section{background:#fff;overflow:hidden;box-sizing:border-box}:not(#edd-item-tab-wrapper)+#edd-item-card-wrapper .item-section{margin:25px 0;padding:20px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}#edd-item-tab-wrapper+#edd-item-card-wrapper{padding:20px;border-left:1px solid #e5e5e5;box-sizing:border-box}@media only screen and (min-width:1200px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections:not(.meta-box) .section-wrap{width:calc(100% - 200px)}}@media only screen and (max-width:782px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:calc(100% - 48px)}}#edd-debug-log .edd-inline-button{margin-left:5px}.edd-settings-sidebar{padding-top:27px}.edd-settings-sidebar-content{background-color:#fff;text-align:center;border:1px solid #ddd;box-sizing:border-box;max-width:300px}.edd-settings-sidebar-content p{font-size:14px;line-height:1.5;margin-top:0}.edd-sidebar-header-section{background-color:#35495c;line-height:1;padding:26px 20px 24px;border-bottom:3px dashed #fafafa}.edd-sidebar-description-section{background-color:#fafafa;padding:16px 20px;border-bottom:1px solid #ddd}.edd-sidebar-description-section .edd-sidebar-description{margin:0}.edd-sidebar-coupon-section{font-size:14px;padding:16px 20px}.edd-sidebar-coupon-section label{display:block;line-height:1.4;margin-bottom:6px}.edd-sidebar-coupon-section label strong{color:#253b51;font-weight:700}.edd-sidebar-coupon-section input{background:#f4f7fa;font-size:22px;font-weight:600;text-align:center;padding:10px;border:2px dashed #2794da;border-radius:4px;margin-bottom:16px;box-shadow:none;width:100%}.edd-sidebar-coupon-section input:focus{border:2px dashed #2794da;box-shadow:none}.edd-settings-sidebar-content .edd-coupon-note{color:#6c7883;font-size:13px;font-style:italic;margin:0}.edd-settings-sidebar-content .edd-coupon-note a{color:#253b51}.edd-settings-sidebar-content .edd-coupon-note a:hover{text-decoration:none}.edd-sidebar-footer-section{background-color:#fafafa;padding:16px 20px;border-top:1px solid #ddd}.edd-sidebar-footer-section .edd-cta-button{display:block;background-color:#2794da;color:#fff;text-decoration:none;font-size:20px;font-weight:700;text-transform:uppercase;padding:17px 10px;border:none;border-radius:4px;width:100%;box-sizing:border-box;box-shadow:none;transition:background-color .2s}.edd-sidebar-footer-section .edd-cta-button:hover{background-color:#2386c5}@media (min-width:1080px){.edd-has-sidebar .edd-settings-content{float:left;width:67%}.edd-has-sidebar .edd-settings-sidebar{float:right;width:31%}}@media (min-width:1240px){.edd-has-sidebar .edd-settings-content{width:74%}.edd-has-sidebar .edd-settings-sidebar{width:23%}}.taxes-tab .edd-has-sidebar .edd-settings-content,.taxes-tab .edd-has-sidebar .edd-settings-sidebar{float:none;width:100%}.bfcm-promo-img-container{background-color:#35495c;width:100%;height:160px}.bfcm-code{color:#2794da;font-weight:700}.sale-ends{position:absolute;bottom:9px;right:14px;display:inline-block;color:#6c7883;font-size:12px;text-align:right;font-style:italic;width:150px} \ No newline at end of file +@media(min-width:782px){body.edd-admin-page #wpbody-content{padding-bottom:200px}}body.edd-admin-page #wpfooter .edd-footer-promotion{text-align:center;font-weight:400;font-size:13px;line-height:16px;color:#787c82;padding:20px 0 30px;margin-bottom:20px;margin-top:20px}body.edd-admin-page #wpfooter .edd-footer-promotion p{font-weight:600}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links,body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{display:flex;justify-content:center;align-items:center}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links{margin:9px 0 0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-links span{color:#c3c4c7;padding:0 7px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social{margin:10px 0 0;gap:10px}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li{margin-bottom:0}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li path{fill:#a7aaad}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social li:hover path{fill:#50575e}body.edd-admin-page #wpfooter .edd-footer-promotion .edd-footer-promotion-social a{display:block;height:16px}.edd-nav__wrapper{background-color:#fff;box-shadow:inset 0 -3px #e8e8e8;display:flex;justify-content:space-between;align-items:center;margin:0 0 10px -20px;padding:0 20px;position:sticky;top:32px;z-index:30}@media screen and (max-width:782px){.edd-nav__wrapper{top:0}}.edd-nav__tabs{display:flex;flex-direction:row;justify-content:left;margin:0;gap:8px;overflow-x:auto}.edd-nav__tabs li{display:flex;align-items:flex-end;margin:0}.edd-nav__tabs li:focus,.edd-nav__tabs li:hover{box-shadow:inset 0 -3px #a7aaad}.edd-nav__tabs li.active{color:#0c5d95;box-shadow:inset 0 -3px #0c5d95}.edd-nav__tabs a.tab{border-bottom:none;box-shadow:none;outline:none;display:block;text-decoration:none;color:#646970;padding:18px 20px;font-weight:600;font-size:16px;text-align:center}.edd-admin-page #wpbody-content>.notice:not(.inline){display:none;margin-left:0}.edd-dialog{display:none}.edd-item-header-small{padding-bottom:20px;border-bottom:1px solid #e5e5e5;display:flex;justify-content:flex-start;align-items:center;gap:6px}.edd-item-header-small span{font-weight:600;font-size:15px}.edd-admin-order-status-badge,.edd-status-badge{padding:2px 7px;border-radius:4px;background:#ececec;display:inline-flex;align-items:center;gap:2px}.edd-admin-order-status-badge__icon,.edd-status-badge__icon{opacity:.8}.edd-admin-order-status-badge--error,.edd-admin-order-status-badge--expired,.edd-admin-order-status-badge--failed,.edd-admin-order-status-badge--failing,.edd-admin-order-status-badge--red,.edd-admin-order-status-badge--rejected,.edd-admin-order-status-badge--revoked,.edd-status-badge--error,.edd-status-badge--expired,.edd-status-badge--failed,.edd-status-badge--failing,.edd-status-badge--red,.edd-status-badge--rejected,.edd-status-badge--revoked{color:#ac3d3d;background:#ffd6d6}.edd-admin-order-status-badge--active,.edd-admin-order-status-badge--approved,.edd-admin-order-status-badge--complete,.edd-admin-order-status-badge--completed,.edd-admin-order-status-badge--edd_subscription,.edd-admin-order-status-badge--green,.edd-admin-order-status-badge--partially_refunded,.edd-admin-order-status-badge--success,.edd-status-badge--active,.edd-status-badge--approved,.edd-status-badge--complete,.edd-status-badge--completed,.edd-status-badge--edd_subscription,.edd-status-badge--green,.edd-status-badge--partially_refunded,.edd-status-badge--success{color:#017d5c;background:#e5f5f0}.edd-admin-order-status-badge--pending,.edd-admin-order-status-badge--warning,.edd-admin-order-status-badge--yellow,.edd-status-badge--pending,.edd-status-badge--warning,.edd-status-badge--yellow{color:#996800;background:#f5f2e5}.edd-admin-order-status-badge--blue,.edd-admin-order-status-badge--info,.edd-admin-order-status-badge--processing,.edd-admin-order-status-badge--trialling,.edd-status-badge--blue,.edd-status-badge--info,.edd-status-badge--processing,.edd-status-badge--trialling{color:#016087;background:#e5f1f5}.edd-pro-upgrade,.edd-pro-upgrade:hover{color:#1da867;font-weight:600;text-decoration:none}.button.edd-pro-upgrade,.button.edd-pro-upgrade:hover{background-color:#1da867;color:#fff;border-color:#1da867}.edd-progress-bar{display:-ms-grid;display:grid;background:#dcdcde;border-radius:99999px;padding:2px;box-shadow:inset 0 0 1px 1px #7e8993;align-items:center}.edd-progress-bar.small{height:14px}.edd-progress-bar.medium{height:16px}.edd-progress-bar.large{height:20px;padding:4px}.edd-progress-bar>.progress{height:100%;border-top-right-radius:99999px;border-bottom-right-radius:99999px;border-top-left-radius:99999px;border-bottom-left-radius:99999px;background-color:rgba(0,186,55,.3);overflow:hidden;min-width:10%;width:0;width:var(--progress-width,0);-ms-grid-row:1;grid-area:1/-1}.edd-progress-bar>.label{color:#32373c;font-weight:400;font-size:.75rem;text-shadow:0 0 12px hsla(0,0%,100%,.5);-ms-grid-row:1;grid-area:1/-1;text-align:center;line-height:1}.edd-help-tip{cursor:help;margin-top:-2px;font-size:24px;color:#7e8993}.edd-ui-tooltip{position:absolute;background:#fff!important;border-width:0;border-radius:12px!important;box-shadow:0 8px 36px 0 rgba(29,36,40,.15)!important;color:#23282d!important;max-width:300px!important;padding:16px!important;text-rendering:optimizeLegibility;text-shadow:none!important;font-size:13px!important;z-index:9999!important}.edd-ui-tooltip .title{font-weight:700}.edd-ui-tooltip .timeline{position:relative;margin:6px 0 0;padding-left:15px}.edd-ui-tooltip .timeline li{position:relative;margin:0 0 3px}.edd-ui-tooltip .timeline li:before{content:"";position:absolute;width:4px;height:4px;left:-16px;background:transparent;border:2px solid #23282d;top:0;bottom:0;margin:auto;border-radius:100%;z-index:1}.edd-ui-tooltip .timeline li:after{content:"";width:2px;height:calc(100% - 4px);background:#23282d;position:absolute;left:-13px;top:calc(50% + 3px)}.edd-hidden,.edd-ui-tooltip .timeline li:last-child:after{display:none}.edd-clearfix:after{content:"";display:table;clear:both}.edd-fadein{visibility:visible;opacity:1;transition:opacity 1s linear}.edd-fadeout{visibility:hidden;opacity:0;transition:visibility 0s 1s,opacity 1s linear}.edd-custom-price-option-sections-wrap{display:none;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;box-sizing:border-box;width:100%}.edd-custom-price-option-section{display:block;padding:10px 8px;border-bottom:1px solid hsla(0,0%,87.1%,.3)}.edd-custom-price-option-section-title{display:block;font-weight:600;padding:0 0 10px}.edd-custom-price-option-section-content{display:flex;gap:12px;margin-bottom:6px}.edd-custom-price-option-section:last-child{border-bottom:none}.toggle-custom-price-option-section{color:#787c82}.toggle-custom-price-option-section:hover{color:#537994}#edd_product_settings .edd-product-options__title,#edd_product_settings .inside strong{border-top:1px solid #c3c4c7;border-bottom:1px solid #c3c4c7;background-color:#f9f9f9;display:flex;font-weight:600;margin:0 -12px 16px;padding:8px 12px;justify-content:space-between;align-items:center}#edd_product_settings .edd-product-options-wrapper:first-of-type .edd-product-options__title,#edd_product_settings .inside div:first-child strong{margin-top:-8px}#edd_product_settings .edd-product-options__title .edd-help-tip,#edd_product_settings .inside strong .edd-help-tip{font-size:20px}#edd_product_settings .label--block{display:block;margin:0 0 4px}.edd_repeatable_row.ui-sortable-placeholder{line-height:0;padding:0;margin:0;box-sizing:border-box;border:1px dashed #c3c4c7;visibility:visible!important}.edd-add-repeatable-row{border-top:1px solid #c3c4c7;padding:12px;margin:15px -12px -12px;display:flex;justify-content:flex-end;align-items:center}.edd_repeatable_row input[type=text].large-text{width:100%}.edd_repeatable_upload_wrapper:not(:first-child),.edd_variable_prices_wrapper:not(:first-child){margin-top:12px}.edd_repeatable_row.ui-sortable-helper .edd-repeatable-row-actions .edd-remove-row{display:none}.edd-repeatable-row-actions{color:#787c82}.edd-repeatable-row-actions a{text-decoration:none;width:auto;cursor:pointer}.edd-bundle-products-header,.edd-repeatable-row-header{clear:both;background:#f6f7f7;border:1px solid #c3c4c7;display:flex;justify-content:space-between}.edd-repeatable-row-header{cursor:move}.edd_repeatable_row:hover .edd-repeatable-row-header,.edd_repeatable_row:hover .edd-repeatable-row-standard-fields{border-color:#c3c4c7}.edd-bundled-product-row:after,.edd-bundled-product-row:before,.edd-repeatable-row-header:after,.edd-repeatable-row-header:before{content:"";display:table}.edd-bundled-product-row:after,.edd-repeatable-row-header:after{clear:both}.edd-bundle-products-header,.edd-repeatable-row-title{font-weight:600}.edd-bundle-products-header,.edd-repeatable-row-actions,.edd-repeatable-row-title{padding:8px;box-sizing:border-box}.edd-repeatable-row-actions{flex-grow:1;text-align:right}.edd-bundled-product-row .edd-remove-row,.edd-repeatable-row-actions .edd-remove-row{width:auto;cursor:pointer}.edd-bundled-product-row,.edd-repeatable-row-standard-fields{padding:8px;border:1px solid #c3c4c7;border-top:0 solid #c3c4c7;display:flex;justify-content:space-between;align-items:center;gap:18px}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-bottom:0;display:inline-flex;flex-direction:column;flex-grow:1;justify-content:space-between}.edd-repeatable-row-setting-label .edd-help-tip{display:inline-block;margin-left:4px}.edd-bundled-product-item-reorder{min-width:30px}.edd-bundled-product-item-reorder .edd-product-file-reorder{font-size:20px;cursor:move;color:#dcdcde;font-family:dashicons;content:"";transition:color .2s}.edd-bundled-product-item-reorder .edd-product-file-reorder:hover{color:#a7aaad}.edd-bundled-product-actions{-ms-grid-row-align:center;align-self:center}#edd_products .edd-select,.edd_repeatable_product_wrapper .edd-select,.edd_repeatable_upload_wrapper .pricing select{min-width:100%;max-width:200px}.edd_repeatable_product_wrapper td{overflow:visible}@media screen and (max-width:480px){.edd-bundle-products-header,.edd-bundled-product-row,.edd-repeatable-row-header,.edd-repeatable-row-standard-fields{flex-wrap:wrap}.edd-bundled-product-row .edd-form-group,.edd-repeatable-row-standard-fields .edd-form-group{margin-left:0!important;margin-bottom:24px}}.edd_remove_repeatable{border:none;cursor:pointer;display:inline-block;padding:0;overflow:hidden;margin:8px 0 0;text-indent:-9999px;width:10px;height:10px}.edd_remove_repeatable:active,.edd_remove_repeatable:focus,.edd_remove_repeatable:hover{background-position:-10px 0!important}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container{position:relative;width:100%}.edd_repeatable_upload_wrapper .edd_repeatable_upload_field_container+span:first-child{width:100%}.edd_repeatable_upload_field{padding-right:32px}.edd_upload_file button{background:#f6f7f7;border:none;border-left:1px solid #c3c4c7;padding:0 4px;position:absolute;height:calc(100% - 4px);overflow:hidden;top:2px;right:2px;display:inline-flex;justify-content:center;align-items:center}#edd-duplicate-action~#publishing-action{position:relative;top:-10px}#edd_product_files.ajax--loading{position:relative}#edd_product_files.ajax--loading:before{background:none;display:block;position:absolute;top:50%;left:50%;z-index:5;animation:edd-spinning 1.5s linear infinite;animation-play-state:inherit;border:2px solid #7e8993;border-bottom-color:#f9f9f9;border-radius:100%;content:"";width:1.25em;height:1.25em;transform:translate3d(-50%,-50%,0);will-change:transform}#edd_product_files.ajax--loading:after{background-color:hsla(0,0%,100%,.75);display:block;position:absolute;top:0;left:0;width:100%;height:100%;content:" ";z-index:1}.edd-form-group{margin-bottom:16px}.edd-form-group:last-of-type{margin-bottom:0}.edd-form-group>label,.edd-form-group__label{display:block;font-weight:600;margin-bottom:8px;padding:0}.edd-form-group__control{margin-bottom:12px;max-width:100%}.edd-form-group__control.is-check,.edd-form-group__control.is-radio{margin-top:4px}.edd-form-group__control:last-of-type{margin-bottom:0}.edd-form-group__control--is-inline{display:inline-flex;align-items:flex-end}.edd-form-group__input{max-width:100%}.edd-form-group__input[type=checkbox],.edd-form-group__input[type=radio]{margin-top:0}.edd-form-group__input[type=checkbox]+label,.edd-form-group__input[type=radio]+label{display:unset}select.edd-form-group__input{max-width:100%}.edd-form-group__help{color:#646970;font-size:13px;font-style:italic;line-height:normal;margin:8px 0 0}.edd-range{display:flex;align-items:center;gap:15px}.edd-range .edd-range__slider{min-width:90px;height:2px;border-radius:10px;border:none;background:#ccc}.edd-range .edd-range__slider .ui-slider-range{background:var(--wp-admin-theme-color)}.edd-range .edd-range__slider .ui-slider-handle{height:15px;width:15px;top:-6.5px;border-radius:100%;background:var(--wp-admin-theme-color);border:none;cursor:pointer;display:inline-block;position:relative}.edd-range .edd-range__input{max-width:60px}.edd-form-row{display:flex;flex-wrap:wrap;gap:12px}.edd-form-row__column{display:inline-flex;flex-direction:column;justify-content:flex-end}.edd-form-row__column.edd-form-group{margin-bottom:0}.edd-form-row label,.edd-form-row label.edd-form-group__label{margin-bottom:8px}#edd-migration-progress .dashicons-minus{color:#949494}#edd-migration-progress .dashicons-yes{color:green}#edd-migration-progress .dashicons-update:before{animation:rotation 2s linear infinite;display:block}#edd-v3-migration-remove-legacy-data-submit-wrap{display:flex;align-items:center;gap:6px}#edd-v3-migration-remove-legacy-data-submit-wrap .button{margin:0}#edd-filters{padding:10px;margin:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}#edd-filters .filter-items{flex-wrap:wrap;gap:6px;float:none;flex-grow:1}#edd-filters .filter-items,#edd-filters .filter-items .graph-option-section{display:flex;align-items:center}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-graphs-date-options{border-top-right-radius:4px;border-bottom-right-radius:4px}#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-dates,#edd-filters .filter-items .edd-date-range-picker[data-range=other] .edd-date-range-relative-dates{display:none}#edd-filters .filter-items .edd-date-range-options{display:inline-block;margin:10px 0}#edd-filters .filter-items .edd-graphs-date-options{border-top-right-radius:0;border-bottom-right-radius:0}#edd-filters .filter-items .edd-date-range-dates{display:flex;align-items:center;border:1px solid #8c8f94;border-left:none;color:#2c3338;padding:4px 10px;margin-left:-5px;border-top-right-radius:4px;border-bottom-right-radius:4px;cursor:pointer;gap:4px}#edd-filters .filter-items .edd-date-range-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-date{display:inline-block}#edd-filters .filter-items .edd-date-range-relative-dates{display:flex;align-items:center;margin-left:10px}#edd-filters .filter-items .edd-date-range-relative-dates.hidden{display:none}#edd-filters .filter-items .edd-date-range-selected-relative-date{position:relative;display:flex;align-items:center;border:1px solid #8c8f94;padding:4px 2px 4px 6px;color:#2c3338;margin-left:10px;margin-right:10px;border-radius:4px;cursor:pointer}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{width:16px;height:auto;margin-left:6px;margin-top:2px;vertical-align:middle}#edd-filters .filter-items .edd-date-range-selected-relative-date.opened .edd-date-range-relative-dropdown{display:block}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:absolute;z-index:99;width:420px;left:50%;top:100%;margin-top:10px;transform:translateX(-50%);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,.25);display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{height:10px;width:10px;position:absolute;content:"";background:#fff;border-color:#8c8f94;border-style:solid;border-width:0 1px 1px 0;transform:rotate(-135deg);top:-6px;left:calc(50% - 4px)}#edd-filters .filter-items .edd-date-range-relative-dropdown .spinner{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading{padding:10px;text-align:center}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading .spinner{display:inline-block;visibility:visible;margin:0;float:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown.loading :not(.spinner){display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{display:flex;align-items:center;padding:2px 10px;opacity:.85;gap:20px}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li.active,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li:hover{cursor:pointer;color:var(--wp-admin-theme-color);opacity:1}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:110px}@media screen and (max-width:950px){#edd-filters .filter-items .graph-option-section{margin-top:8px;width:100%}#edd-filters .filter-items .edd-date-range-picker{flex-wrap:wrap}#edd-filters .filter-items .edd-graphs-date-options{width:100%;max-width:100%;min-height:40px;font-size:14px;border-top-right-radius:4px;border-bottom-right-radius:4px}#edd-filters .filter-items .edd-date-range-dates{width:100%;margin-top:10px;border:1px solid #8c8f94;margin-left:unset;border-radius:4px;font-size:14px;padding:8px 6px 8px 8px}#edd-filters .filter-items .edd-date-range-relative-dates{width:100%;flex-wrap:wrap;margin-left:0;margin-top:6px}#edd-filters .filter-items .edd-date-range-selected-relative-date{width:100%;margin-top:8px;margin-left:0;margin-right:0;font-size:14px;padding:8px 6px 8px 8px;flex-wrap:wrap}#edd-filters .filter-items .edd-date-range-selected-relative-date .arrow-down{margin-left:auto}#edd-filters .filter-items .edd-date-range-relative-dropdown{position:relative;width:100%;left:0;top:0;transform:unset;box-shadow:unset;border:unset;margin:0}#edd-filters .filter-items .edd-date-range-relative-dropdown:after{display:none}#edd-filters .filter-items .edd-date-range-relative-dropdown ul{margin-bottom:0}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li{padding-left:0;padding-right:0;justify-content:space-between;flex-wrap:wrap;gap:unset}#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-dates,#edd-filters .filter-items .edd-date-range-relative-dropdown ul li .date-range-name{width:100%}}#edd-filters>p{color:#757575}#edd-filters input[type=number],#edd-filters input[type=text].edd_datepicker{max-width:105px}#edd-filters .button-secondary,#edd-filters input[type=number]{margin-bottom:0}#edd-filters .search-form{margin:0}@media screen and (max-width:480px){#edd-filters span{margin:2px 0}}#edd-advanced-filters{position:relative}#edd-advanced-filters .inside{z-index:99;position:absolute;top:29px;right:0;border:1px solid #e0e0e0;padding:0;background:#fff;box-shadow:0 3px 5px rgba(0,0,0,.2);min-width:285px;opacity:0;visibility:hidden}#edd-advanced-filters fieldset{display:block;padding:10px 15px 15px;margin:10px 0}#edd-advanced-filters fieldset:not(:last-of-type){border-bottom:1px solid #e0e0e0}#edd-advanced-filters fieldset:last-of-type{padding-bottom:5px}#edd-advanced-filters fieldset.edd-add-on-filters div,#edd-advanced-filters fieldset.edd-add-on-filters label,#edd-advanced-filters fieldset.edd-add-on-filters p,#edd-advanced-filters fieldset.edd-add-on-filters span{display:block;margin-bottom:2px}#edd-advanced-filters div.edd-select-chosen:not(:last-child){margin-bottom:10px}#edd-advanced-filters.open .edd-advanced-filters-button{background:#e0e0e0;border-color:#949494;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}#edd-advanced-filters.open .inside{visibility:visible;opacity:1;transition:opacity .2s ease-in}.download_page_edd-reports #edd-filters{margin-bottom:-1px;box-shadow:none}@media screen and (max-width:782px){.download_page_edd-reports #edd-filters{gap:0}}.edd-old-log-filters{margin-top:-30px;margin-left:2px}@media screen and (min-width:600px){#edd-reports-charts-wrap{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(200px,50%))[2];grid-template-columns:repeat(2,minmax(200px,50%));grid-gap:2em}.edd-reports-chart{margin-bottom:0}.edd-reports-chart-bar,.edd-reports-chart-line{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2}}.edd-canvas__container{margin:auto;position:relative;max-width:100%;max-height:75vh}@media screen and (min-width:480px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:450px}}@media screen and (min-width:782px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:500px}}@media screen and (min-width:1080px){.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:700px}}.chart-timezone{font-size:.75rem;color:#c3c4c7}.edd-mobile-link{line-height:32px}.edd-mobile-link a{text-decoration:none}.edd-mobile-link a:after,.edd-mobile-link a:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;margin:1px 0 0;padding:0}.edd-mobile-link a:before{content:"";color:#757575;margin-right:-3px}.edd-mobile-link a:after{content:""}#edd-reports-tiles-wrap #dashboard-widgets .sortable-placeholder{padding:0;margin:0 0 20px;line-height:0;box-sizing:border-box;height:110px}#edd-reports-tiles-wrap #dashboard-widgets #primary-sortables{margin-left:0}#edd-reports-tiles-wrap #dashboard-widgets #tertiary-sortables{margin-right:0}#edd-reports-tiles-wrap{display:-ms-grid;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:20px}.edd-reports-tile{text-align:center;padding:20px 10px 35px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e5e5e5;background:#fafafa;position:relative;box-sizing:border-box;gap:.5em}.edd-reports-tile>span:not(.tile-compare){width:100%}.edd-reports-tile .tile-label{text-align:center;text-transform:uppercase;font-size:12px;font-weight:400;color:#101517}.edd-reports-tile .tile-value{color:#333;font-size:2em;line-height:1;transition:all .2s ease-in-out;display:flex;justify-content:center;flex-direction:column;gap:.25em}.edd-reports-tile:hover{border:1px solid #aaa}.edd-reports-tile:hover .tile-value:not(.tile-no-data){transform:scale(1.05)}.edd-reports-tile .tile-amount{color:#2794da}.edd-reports-tile .tile-number{color:#96f}.edd-reports-tile .tile-amount,.edd-reports-tile .tile-number{color:#fff}.edd-reports-tile .tile-value.tile-no-data{color:#ddd}.edd-reports-tile .tile-value.tile-url{font-size:1.5em}.edd-reports-tile .tile-relative{font-size:12px;font-weight:400;color:#888}.edd-reports-tile span.dashicons{display:inline-block;font-size:30px;line-height:20px;height:20px;width:20px;position:relative;top:4px;left:-5px;margin-left:-5px;color:#999}.edd-reports-tile .tile-relative span.dashicons{top:-5px;left:-3px;margin-left:0}.edd-reports-tile .tile-relative span.dashicons-arrow-down,.edd-reports-tile .tile-relative span.dashicons-arrow-up.reverse{color:#d63638}.edd-reports-tile .tile-relative span.dashicons-arrow-down.reverse,.edd-reports-tile .tile-relative span.dashicons-arrow-up{color:#008a20}.edd-reports-tile .tile-compare{position:absolute;right:0;bottom:0;color:#aaa;font-size:11px;line-height:1em;background-color:#fff;border-color:#e5e5e5 #fff #fff #e5e5e5;border-style:solid;border-width:1px;border-top-left-radius:8px;padding:4px 0 0 9px;margin:0 -1px -1px 0}.edd-reports-tile:hover .tile-compare{border-left:1px solid #bbb;border-top:1px solid #bbb;color:#777}.edd-chartjs-tooltip{position:absolute;background-color:#fff;border-radius:7px;transition:all .1s ease;pointer-events:none;transform:translate(-50%);font-size:12px;box-shadow:0 0 0 1px rgba(89,94,100,.1),0 15px 35px 0 rgba(89,94,100,.1),0 5px 15px 0 rgba(0,0,0,.12);min-width:120px;opacity:0}.edd-chartjs-tooltip-key{display:inline-block;width:10px;height:10px;margin-right:5px}.edd-order-customer__actions{margin-bottom:2em}#edd-submit-refund-status{text-align:center;font-size:1.2em}#edd-submit-refund-status .edd-submit-refund-message:before{font-family:dashicons;font-size:1.5em;vertical-align:middle;color:#fff;border-radius:16px;margin:5px}#edd-submit-refund-status .edd-submit-refund-message.success:before{content:"";background-color:#008a20;padding-right:1px}#edd-submit-refund-status .edd-submit-refund-message.fail{display:block;margin-bottom:16px}#edd-submit-refund-status .edd-submit-refund-message.fail:before{content:"";background-color:#d63638}.refund-items td,.refund-items th.check-column{vertical-align:baseline}.refund-items .column-amount,.refund-items .column-discount,.refund-items .column-quantity,.refund-items .column-subtotal,.refund-items .column-tax,.refund-items .column-total{width:80px}.refund-items .edd-form-group__control{display:flex;align-items:center}.refund-items .edd-form-group__control input,.refund-items .edd-form-group__control select{background-color:transparent;border:0;border-bottom:1px solid;border-radius:0;box-shadow:none;text-align:right;width:100%}.refund-items .edd-form-group__control input:disabled,.refund-items .edd-form-group__control select:disabled{border-bottom:none}.refund-items .edd-form-group__control input:focus,.refund-items .edd-form-group__control select:focus{border-bottom:1px solid var(--wp-admin-theme-color-darker-10);box-shadow:0 1px 0 var(--wp-admin-theme-color-darker-10)}.refund-items .edd-form-group__control select[data-original="1"]{background:transparent}.refund-items .edd-form-group__control .is-before+span>input,.refund-items .edd-form-group__control select{text-align:left}.refund-items .edd-refund-submit-line-total{background-color:#fff!important}.refund-items .edd-refund-submit-line-total td{text-align:right}.refund-items .edd-refund-submit-line-total-amount{display:inline-block;margin-left:20px;text-align:left;width:80px}.refund-items #edd-refund-submit-subtotal td{border-top:2px solid #c3c4c7}@media screen and (max-width:782px){.refund-items td.column-total{margin-bottom:16px}.refund-items .edd-refund-submit-line-total-amount{padding-right:16px;width:unset}}.edd-submit-refund-actions{margin:16px 0 0}.did-refund .edd-submit-refund-actions,.did-refund .refund-items,body.edd-about div.notice{display:none}body.edd-about #edd-admin-about *,body.edd-about #edd-admin-about :after,body.edd-about #edd-admin-about :before{box-sizing:border-box}body.edd-about #edd-admin-about{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section{box-shadow:0 2px 5px #e8e8e8;margin:0 20px 20px;padding:30px;background:#fff;border:1px solid #ddd;line-height:2;display:flex;flex-direction:row}body.edd-about #edd-admin-about .edd-admin-about-section h2{font-size:24px;line-height:32px;color:#646970;margin:0}body.edd-about #edd-admin-about .edd-admin-about-section h3{font-size:16px;line-height:22px;color:#787c82}body.edd-about #edd-admin-about .edd-admin-about-section p,body.edd-about #edd-admin-about .edd-admin-about-section ul{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p{margin-bottom:10px}body.edd-about #edd-admin-about .edd-admin-about-section p.bigger{font-size:18px}body.edd-about #edd-admin-about .edd-admin-about-section p.smaller{font-size:14px}body.edd-about #edd-admin-about .edd-admin-about-section p:last-child{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section hr{margin:30px 0}body.edd-about #edd-admin-about .edd-admin-about-section figure{margin:0}body.edd-about #edd-admin-about .edd-admin-about-section figure img.shadow{width:100%;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about .edd-admin-about-section figure figcaption{font-size:14px;color:#888;margin-top:5px;text-align:center;line-height:normal}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section .column{display:flex;flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section .column--20{width:20%}body.edd-about #edd-admin-about .edd-admin-about-section .column--40{width:40%}body.edd-about #edd-admin-about .edd-admin-about-section .column--50{width:50%}body.edd-about #edd-admin-about .edd-admin-about-section .column--60{width:60%}body.edd-about #edd-admin-about .edd-admin-about-section .column--80{width:80%}body.edd-about #edd-admin-about .edd-admin-about-section .column.align--middle{align-items:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-l-15{margin-left:15px}body.edd-about #edd-admin-about .edd-admin-about-section .column.m-r-15{margin-right:15px}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain{margin-top:0;margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-plain li{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section ul.list-features li{display:flex;align-items:center;justify-items:left;gap:8px}body.edd-about #edd-admin-about .edd-admin-about-section .dashicons-star-filled{color:gold}body.edd-about #edd-admin-about .edd-admin-about-section .no-margin{margin:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .no-padding{padding:0!important}body.edd-about #edd-admin-about .edd-admin-about-section .centered{text-align:center!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:flex}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:1;padding-right:30px}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video iframe{border:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero{display:flex;flex-direction:column;padding:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{padding:30px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra div.notice,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main div.notice{display:none}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra h3.call-to-action,body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main h3.call-to-action{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main{background-color:#fafafa;border-bottom:1px solid #ddd}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main.no-border{border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-main p{color:#666}body.edd-about #edd-admin-about .edd-admin-about-section-squashed{margin-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-squashed:not(:last-of-type){border-bottom:0}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:row;gap:50px}body.edd-about #edd-admin-about .edd-admin-about-section-post h2{margin-bottom:-10px}body.edd-about #edd-admin-about .edd-admin-about-section-post h3{margin-bottom:15px}body.edd-about #edd-admin-about .edd-admin-about-section-post p:last-of-type{margin-bottom:30px}body.edd-about #edd-admin-about .edd-admin-about-section-post img{max-width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20{width:250px}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{width:calc(100% - 270px)}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary{transition:all .1s ease-in-out}body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:focus,body.edd-about #edd-admin-about .edd-admin-about-section-post .button-secondary:hover{background-color:#2271b1;color:#fff}body.edd-about #edd-admin-about #edd-admin-addons{padding:0 30px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:row;flex-wrap:wrap;align-items:space-between}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 33.3333%;max-width:33.3333%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item{display:flex;flex-direction:column;border:1px solid #ddd;box-shadow:0 2px 5px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{padding:20px;display:flex;flex-direction:row;background-color:#fff;flex-grow:1}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .leftcol img{max-width:100px;padding:10px;box-shadow:0 2px 3px #e8e8e8}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{flex-direction:column;justify-content:left;flex-grow:4;padding-left:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol h5{font-size:14px;margin-bottom:10px;margin-top:0}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 12px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions.has-response{justify-content:center;flex-grow:10}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label{font-weight:600}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.active{color:#008a20}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.inactive{color:#d63638}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .status span.status-label.not-installed{color:#646970}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.disabled,body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .actions .action-button .button.loading{cursor:default}@media(max-width:1440px){body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{display:flex;padding:10px;flex:1 0 50%;max-width:50%}}@media(max-width:1280px){body.edd-about #edd-admin-about .welcome-message{flex-direction:column-reverse}body.edd-about #edd-admin-about .welcome-message.column--20,body.edd-about #edd-admin-about .welcome-message .column--40,body.edd-about #edd-admin-about .welcome-message .column--50,body.edd-about #edd-admin-about .welcome-message .column--60,body.edd-about #edd-admin-about .welcome-message .column--80{width:100%}body.edd-about #edd-admin-about .welcome-message.column--20.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-l-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-l-15{margin-left:0}body.edd-about #edd-admin-about .welcome-message.column--20.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--40.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--50.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--60.m-r-15,body.edd-about #edd-admin-about .welcome-message .column--80.m-r-15{margin-right:0}}@media(max-width:960px){body.edd-about #edd-admin-about .edd-admin-about-section{flex-direction:column;gap:20px}body.edd-about #edd-admin-about .edd-admin-about-section.welcome-message{flex-flow:column-reverse}body.edd-about #edd-admin-about .edd-admin-about-section .edd-admin-columns{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section.column--20,body.edd-about #edd-admin-about .edd-admin-about-section .column--40,body.edd-about #edd-admin-about .edd-admin-about-section .column--50,body.edd-about #edd-admin-about .edd-admin-about-section .column--60,body.edd-about #edd-admin-about .edd-admin-about-section .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-l-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-l-15{margin-left:0}body.edd-about #edd-admin-about .edd-admin-about-section.column--20.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--40.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--50.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--60.m-r-15,body.edd-about #edd-admin-about .edd-admin-about-section .column--80.m-r-15{margin-right:0}body.edd-about #edd-admin-about .edd-admin-about-section-first-form{display:block!important}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-text{flex:none}body.edd-about #edd-admin-about .edd-admin-about-section-first-form .edd-admin-about-section-first-form-video{padding-top:20px}body.edd-about #edd-admin-about .edd-admin-about-section-hero .edd-admin-about-section-hero-extra .edd-admin-column-50{float:none;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post{flex-direction:column}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80{display:flex;width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 img,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 img{width:auto;max-width:100%}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.image,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.image{margin:0 auto;align-content:center;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20.content,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80.content{flex-direction:column;justify-items:left}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link{font-size:1.25rem;display:flex;justify-items:space-around;justify-content:center}body.edd-about #edd-admin-about .edd-admin-about-section-post .column--20 .edd-admin-about-section-post-link .dashicons,body.edd-about #edd-admin-about .edd-admin-about-section-post .column--80 .edd-admin-about-section-post-link .dashicons{display:none}body.edd-about #edd-admin-about #edd-admin-addons .addons-container{display:flex;flex-direction:column}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container{padding:10px;flex:1 0 100%;max-width:100%}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details{flex-direction:row}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol{padding-left:20px}body.edd-about #edd-admin-about #edd-admin-addons .addons-container .addon-container .addon-item .details .rightcol .addon-name{text-align:left}}#edd-flyout{position:fixed;z-index:99999;transition:all .2s ease-in-out;right:40px;bottom:40px;opacity:1;display:flex;flex-direction:column;align-items:flex-end}@media(max-width:960px){#edd-flyout{display:none}}#edd-flyout .edd-flyout-label{transform:translateY(-50%);-moz-transform:translateY(-50%);-webkit-transform:translateY(-50%);color:#fff;background-color:#757575;font-size:12px;white-space:nowrap;padding:5px 10px;transition:all .2s ease-out;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:20px;opacity:0;transform:scale(0)}#edd-flyout #edd-flyout-button{border:none;padding:0;background:none;display:flex;flex-direction:row;gap:10px;align-items:center}#edd-flyout #edd-flyout-button img{width:54px;height:54px;display:block;border-radius:50%;border:3px solid #0c5d95;overflow:hidden;transition:all .2s ease-in-out;background:#fff}#edd-flyout #edd-flyout-button:hover img{cursor:pointer;box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-button .edd-flyout-label{opacity:0;transform:translateY(-50%) scale(0)}#edd-flyout #edd-flyout-button:hover .edd-flyout-label{opacity:1;transform:translateY(-50%) scale(1)}#edd-flyout #edd-flyout-button.has-alert:after{transform:scale(1);opacity:1;font-family:dashicons;content:"";color:#d63638;font-size:16px;height:16px;width:16px;text-decoration:none;border-radius:999999px;line-height:16px;transition:all .2s ease-in-out;background-color:#fff;position:absolute;right:3px;bottom:46px}#edd-flyout #edd-flyout-items{display:flex;flex-direction:column-reverse;gap:10px;margin-right:12px;margin-bottom:12px;height:0}#edd-flyout #edd-flyout-items .edd-flyout-item{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:25px;visibility:collapse}#edd-flyout #edd-flyout-items .edd-flyout-item a{text-decoration:none;color:#fff}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{transition:all .2s ease-in-out;transform:scale(0);opacity:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label{margin-top:0}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-label a{display:inline-block;line-height:normal;height:auto!important}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon{display:flex;justify-content:space-around;width:40px;height:40px;border-radius:50%;box-shadow:0 3px 12px 1px rgba(30,30,30,.55);background:#0c5d95 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.red{background:#d63638 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon.green{background:#1da867 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item .edd-flyout-icon span.dashicons:before{color:#fff;font-size:20px;line-height:40px;vertical-align:middle}#edd-flyout #edd-flyout-items .edd-flyout-item:hover{cursor:pointer}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon,#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon{background:#35495c 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.red{background:#b60012 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-icon.green{background:#199155 0 0 no-repeat padding-box}#edd-flyout #edd-flyout-items .edd-flyout-item:hover .edd-flyout-label{background-color:#494949}#edd-flyout.opened #edd-flyout-items{height:auto}#edd-flyout.opened #edd-flyout-items .edd-flyout-item{visibility:visible}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-icon{transition:transform .2s 0ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:first-of-type .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-icon{transition:transform .2s 24ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(2) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-icon{transition:transform .2s 48ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(3) .edd-flyout-label,#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-icon{transition:transform .2s 72ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item.edd-flyout-item:nth-of-type(4) .edd-flyout-label{transition:transform .2s 96ms,background-color .2s}#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-icon,#edd-flyout.opened #edd-flyout-items .edd-flyout-item .edd-flyout-label{opacity:1;transform:scale(1)}#edd-flyout.opened #edd-flyout-button img{box-shadow:0 3px 12px 1px rgba(30,30,30,.55)}#edd-flyout.opened #edd-flyout-button .edd-flyout-label{opacity:0}#edd-flyout.opened #edd-flyout-button.has-alert:after{opacity:0;transition:scale(0)}#edd-flyout.out{opacity:0;visibility:hidden}.edd-admin-notice-top-of-page{font-size:15px;line-height:1.4;color:#fff;margin-left:-20px;padding:12px 32px 12px 20px;background:#2d6ca2}.edd-admin-notice-top-of-page.edd-pro-inactive{background:#d63638}@media screen and (min-width:783px){.edd-admin-notice-top-of-page{padding:10px 46px 10px 22px}}@media screen and (min-width:961px){.edd-admin-notice-top-of-page{text-align:center}}.edd-admin-notice-top-of-page a{color:#fff}.edd-admin-notice-top-of-page a:hover{text-decoration:none}.edd-admin-notice-top-of-page .button-link{position:absolute;top:48px;right:-1px;font-size:20px;color:#fff;font-weight:700;text-decoration:none;margin-left:5px;padding:6px 10px}.edd-admin-notice-top-of-page .button-link:active,.edd-admin-notice-top-of-page .button-link:focus,.edd-admin-notice-top-of-page .button-link:hover{color:#fff;text-decoration:none}@media screen and (min-width:601px){.edd-admin-notice-top-of-page .button-link{top:1px}}@media screen and (min-width:783px){.edd-admin-notice-top-of-page .button-link{right:9px}}#edd-admin-notice-five-star-review{display:-ms-grid!important;display:grid!important}#edd_dashboard_sales .edd-promo-notice{border-bottom:1px solid #c3c4c7}.edd-review-actions{display:flex;gap:6px;margin:0 0 16px}.edd-promo-notice .edd-peeking{align-self:flex-end;justify-self:flex-end;margin-right:16px;margin-bottom:-1px}@media screen and (max-width:782px){#edd-admin-notice-five-star-review.notice .edd-peeking{margin-bottom:-6px}}@media screen and (min-width:480px){.edd-promo-notice.notice-info .edd-peeking{justify-self:flex-start;margin-right:0;margin-left:250px}}.edd-promo-notice .edd-peeking,.edd-review-step{-ms-grid-row:1;grid-area:1/-1}.edd-promo-notice__overlay{display:none;position:fixed;background:rgba(16,21,23,.75);top:0;right:0;bottom:0;left:160px;z-index:110;justify-content:center;align-items:center}.folded .edd-promo-notice__overlay{left:36px}@media screen and (max-width:782px){.edd-promo-notice__overlay{left:0}}.edd-admin-notice-overlay{display:none;background-color:#fff;padding:2.5em;text-align:center;max-width:650px;position:relative;flex-direction:column}.edd-promo-notice__overlay .edd-admin-notice-overlay{display:flex}.edd-admin-notice-overlay h2{line-height:1.6em;margin:0 auto;max-width:540px}.edd-admin-notice-overlay .edd-promo-notice__features{text-align:left;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em}.edd-admin-notice-overlay .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center}@media screen and (max-width:600px){.edd-admin-notice-overlay .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-admin-notice-overlay .button{padding:4px 36px;margin:0 auto .5em;max-width:360px}.edd-admin-notice-overlay__link{color:#101517}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link{position:absolute;color:#537994;text-decoration:none;font-size:2em;top:0;right:.5em}.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:active,.edd-admin-notice-overlay .edd-promo-notice-dismiss.button-link:hover{color:#101517}@media screen and (max-width:782px){.edd-admin-notice-overlay{margin:1em}}.edd-promo-notice__popup{display:flex;justify-content:center;justify-items:center;flex-direction:column;margin:2em auto;gap:0 1.5em}.edd-promo-notice__popup h2{line-height:1.6em;margin:0 auto;max-width:540px;font-size:1.25em}.edd-promo-notice__popup .content{display:inherit;flex-direction:inherit;justify-items:center;text-align:center}.edd-promo-notice__popup .content .edd-promo-notice__features{text-align:left;display:-ms-grid;display:grid;-ms-grid-columns:(auto)[3];grid-template-columns:repeat(3,auto);margin:2em auto;gap:0 1.5em;flex-direction:row}.edd-promo-notice__popup .content .edd-promo-notice__features li{display:flex;gap:.5em;align-items:center;min-width:50%}@media screen and (max-width:600px){.edd-promo-notice__popup .content .edd-promo-notice__features{-ms-grid-columns:unset;grid-template-columns:unset}}.edd-promo-notice__popup .content .button-primary{padding:4px 36px;margin:.5em auto;max-width:360px}.edd-promo-notice__popup .content__link{color:#101517}#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-account-status li span,#edd-paypal-commerce-connect-wrap.loading ul.edd-paypal-webhook-events li span{animation:skeleton-loading 1s infinite alternate;width:250px;height:18px;display:inline-block}#edd-paypal-commerce-connect-wrap.loading .edd-paypal-connect-actions span{animation:skeleton-loading 1s infinite alternate;width:150px;height:32px;display:inline-block}.edd-paypal-account-status ul{margin-left:25px;list-style-type:none}.edd-paypal-account-status>li{margin-bottom:1em}.edd-paypal-account-status ul:not(.edd-paypal-webhook-events) li{margin:.25em 0}.edd-paypal-account-status .dashicons-yes{color:#008a20}.edd-paypal-account-status .dashicons-no{color:#d63638}@keyframes skeleton-loading{0%{background-color:#d1d9e0}to{background-color:#e0e6eb}}.wrap-licenses .edd-licenses__description{margin:2em 1em}.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:block}@media screen and (min-width:600px){.wrap-licenses .form-table,.wrap-licenses caption,.wrap-licenses tfoot,.wrap-licenses th,.wrap-licenses thead,.wrap-licenses tr{display:unset}}.wrap-licenses tbody{display:-ms-grid;display:grid;gap:1em}.wrap-licenses .form-table tr{margin:0;background:#fff;border:1px solid #dcdcde;border-radius:3px;padding:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between}@media screen and (min-width:600px){.wrap-licenses .form-table tr{display:-ms-grid;display:grid;-ms-grid-columns:200px 1fr;grid-template-columns:200px 1fr}}.wrap-licenses .form-table th{background:#f9f9f9;margin-bottom:2.5em;padding:1em;border-bottom:1px solid #dcdcde;width:unset}@media screen and (min-width:600px){.wrap-licenses .form-table th{border-bottom:none;margin-bottom:0;display:flex;align-items:center}}.wrap-licenses .form-table td{margin:0;padding:0;display:flex;flex-direction:column;gap:2.5em;flex-grow:1}@media screen and (min-width:600px){.wrap-licenses .form-table td{flex-direction:row;gap:unset}}.wrap-licenses .form-table td input.regular-text{margin:0;width:100%;max-width:250px}.wrap-licenses .form-table td button{margin:0}.wrap-licenses .form-table .edd-license__control{flex-grow:1;padding:0 1em;display:flex;gap:4px;align-items:center;justify-content:center}@media screen and (min-width:600px){.wrap-licenses .form-table .edd-license__control{justify-content:flex-end}}.wrap-licenses .form-table .edd-licensing__actions{display:flex;gap:4px}.wrap-licenses .edd-license-data[class*=edd-license-]{background:#f9f9f9;padding:1em;border-top:1px solid #dcdcde;margin:0;width:100%;box-sizing:border-box;display:flex;align-items:flex-end}.wrap-licenses .edd-license-data[class*=edd-license-] a{color:#444}.wrap-licenses .edd-license-data[class*=edd-license-] a:hover{text-decoration:none}@media screen and (min-width:600px){.wrap-licenses .edd-license-data[class*=edd-license-]{border-top:none;width:unset;flex-basis:100%;align-items:center}.wrap-licenses .edd-license-data[class*=edd-license-]:not(:only-child){flex:0 1 300px}}.wrap-licenses .edd-license-data.license-expires-soon-notice{background-color:#00a0d2;color:#fff;border-color:#00a0d2}.wrap-licenses .edd-license-data.edd-license-expired{background-color:#e24e4e;color:#fff;border-color:#e24e4e}.wrap-licenses .edd-license-data.edd-license-error,.wrap-licenses .edd-license-data.edd-license-invalid,.wrap-licenses .edd-license-data.edd-license-item_name_mismatch,.wrap-licenses .edd-license-data.edd-license-missing,.wrap-licenses .edd-license-data.edd-license-site_inactive{background-color:#ffebcd;border-color:#ffebcd}.wrap-licenses .edd-license-data p{font-size:13px;margin-top:0}.wrap-licenses .edd-license-data.edd-license-expired a,.wrap-licenses .edd-license-data.license-expires-soon-notice a{color:#fff}.wrap-licenses .edd-license-data.edd-license-expired a:hover,.wrap-licenses .edd-license-data.license-expires-soon-notice a:hover{text-decoration:none}.edd-sub-nav{margin:0;display:flex;justify-content:flex-start;gap:4px;overflow-x:auto}.edd-sub-nav__wrapper{margin:16px 0}.edd-sub-nav li{border:2px solid #f0f0f1;border-radius:4px;margin:0}.edd-sub-nav li a{color:#646970;display:block;padding:6px 14px;text-decoration:none}.edd-sub-nav li a:active,.edd-sub-nav li a:focus{box-shadow:none}.edd-sub-nav li:active,.edd-sub-nav li:focus,.edd-sub-nav li:hover{background-color:#fff;box-shadow:none;outline:none;border-color:#a7aaad}.edd-sub-nav li.current{background-color:#d7dade;font-weight:600}.edd-sub-nav__wrapper+.notice{margin-left:0}.edd-settings-content{max-width:1440px}.edd-settings-content h3{margin:0}.edd-settings-color,.edd-settings-colors{display:flex;flex-wrap:wrap;gap:1em}.edd-settings-color{flex-direction:column}.edd-upload-button-wrapper{width:100%;display:flex;gap:5px}.edd-upload-button-wrapper button.edd_settings_upload_button{margin-bottom:0}#edd-payment-gateways a.button.edd-settings__button-settings{position:absolute;right:2em;min-height:unset;height:1.5em;width:1.5em;border:none;background-color:#f9f9f9}#edd-payment-gateways a.button.edd-settings__button-settings,#edd-payment-gateways a.button.edd-settings__button-settings:active,#edd-payment-gateways a.button.edd-settings__button-settings:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS4yOSA2LjI5M2wtMS41MTUuODc1YTUuODczIDUuODczIDAgMDEwIDEuNjY0bDEuNTE1Ljg3NS0yLjE2NiAzLjc1My0xLjUxNi0uODc1YTUuODI3IDUuODI3IDAgMDEtMS40NDEuODMzdjEuNzQ5SDUuODM0di0xLjc1YTUuODI1IDUuODI1IDAgMDEtMS40NDEtLjgzMmwtMS41MTYuODc1TC43MSA5LjcwN2wxLjUxNi0uODc1YTUuODc4IDUuODc4IDAgMDEwLTEuNjY0TC43MSA2LjI5MyAyLjg3NyAyLjU0bDEuNTE2Ljg3NmE1LjgyNyA1LjgyNyAwIDAxMS40NC0uODMzVi44MzNoNC4zMzR2MS43NWE1LjgzIDUuODMgMCAwMTEuNDQuODMzbDEuNTE3LS44NzYgMi4xNjYgMy43NTN6TTggMTAuMzMzYTIuMzMzIDIuMzMzIDAgMTAwLTQuNjY2IDIuMzMzIDIuMzMzIDAgMDAwIDQuNjY2eiIgZmlsbD0iIzZCNzI4MCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMjkgNi4yOTNsLTEuNTE1Ljg3NWE1Ljg3MyA1Ljg3MyAwIDAxMCAxLjY2NGwxLjUxNS44NzUtMi4xNjYgMy43NTMtMS41MTYtLjg3NWE1LjgyNyA1LjgyNyAwIDAxLTEuNDQxLjgzM3YxLjc0OUg1LjgzNHYtMS43NWE1LjgyNSA1LjgyNSAwIDAxLTEuNDQxLS44MzJsLTEuNTE2Ljg3NUwuNzEgOS43MDdsMS41MTYtLjg3NWE1Ljg3OCA1Ljg3OCAwIDAxMC0xLjY2NEwuNzEgNi4yOTMgMi44NzcgMi41NGwxLjUxNi44NzZhNS44MjcgNS44MjcgMCAwMTEuNDQtLjgzM1YuODMzaDQuMzM0djEuNzVhNS44MyA1LjgzIDAgMDExLjQ0LjgzM2wxLjUxNy0uODc2IDIuMTY2IDMuNzUzek04IDEwLjMzM2EyLjMzMyAyLjMzMyAwIDEwMC00LjY2NiAyLjMzMyAyLjMzMyAwIDAwMCA0LjY2NnoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjUiLz48L3N2Zz4=);background-size:1em;background-repeat:no-repeat;background-position:50%}.edd-plugin__active #edd-payment-gateways a.button.edd-settings__button-settings{display:block}.edd-settings__list--disc{list-style:disc;list-style-position:inside}.wp-list-table.discounts .column-amount{width:90px}.wp-list-table.discounts th.column-use_count{width:150px}#edd-products{height:100px;min-width:200px}#edd-add-discount input[type=text],#edd-edit-discount input[type=text]{width:300px}#edd-add-discount .edd-discount-datetime input,#edd-edit-discount .edd-discount-datetime input{vertical-align:middle}#edd-add-discount input[type=text].edd_datepicker,#edd-edit-discount input[type=text].edd_datepicker{display:inline-block;width:183px}#edd-edit-discount textarea{height:100px}.edd-amount-type-wrapper{position:relative;display:flex}.edd-amount-type-wrapper select{border-top-left-radius:0;border-bottom-left-radius:0;width:auto!important}.edd-amount-type-wrapper #edd-amount{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-2px;padding:0 8px;width:unset;max-width:125px}.edd-amount-type-wrapper input:focus{z-index:2}.edd-code-wrapper{display:flex;align-items:stretch;gap:3px}.edd-popup-trigger{display:flex!important;align-items:center;gap:3px}@media screen and (max-width:782px){.edd-popup-trigger{margin-bottom:0!important}}@media screen and (max-width:480px){.edd-popup-trigger span:not(.dashicons){display:none}}.edd-code-generator-popup{position:absolute;z-index:99;width:250px;height:auto;margin:auto;padding:10px;transform:translate(240px,15px);background-color:#fff;border:1px solid #8c8f94;border-radius:4px;box-shadow:0 -2px 5px 0 rgba(0,0,0,.25);box-sizing:border-box;display:none}.edd-code-generator-popup:after{content:"";width:15px;height:15px;background:#fff;position:absolute;margin:auto;transform:rotate(45deg);z-index:-1;left:0;right:0;top:-8.5px;border-color:#8c8f94;border-style:solid;border-width:1px 0 0 1px}@media screen and (max-width:480px){.edd-code-generator-popup{transform:translateY(15px) translateX(105px)}.edd-code-generator-popup:after{left:70%}}.edd-code-generator-popup .edd-form-group{width:100%;margin-bottom:10px;padding-bottom:10px;box-sizing:border-box;margin-top:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcdcde;height:40px}.edd-code-generator-popup .edd-form-group:last-of-type{border-bottom:0}.edd-code-generator-popup .edd-form-group label{padding:5px 0;width:60px;font-size:12px;margin-bottom:0;box-sizing:border-box}@media screen and (max-width:782px){.edd-code-generator-popup .edd-form-group label{line-height:28px}}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]){width:120px!important;min-height:0;height:30px}.edd-code-generator-popup .edd-form-group input:not([type=checkbox]):not([type=radio]):not(:focus){border:1px solid #8c8f94}.edd-code-generator-popup #edd-generate-code{width:100%}@media screen and (max-width:782px){.edd-code-generator-popup #edd-generate-code:before{margin-top:8px}}.edd_dashboard_widget{display:-ms-grid;display:grid;-ms-grid-columns:(minmax(150px,1fr))[2];grid-template-columns:repeat(2,minmax(150px,1fr));grid-gap:1em}.edd_dashboard_widget>div:not(.table_left):not(.table_right){-ms-grid-column-span:2;grid-column:span 2}.edd_dashboard_widget table thead td{border-bottom:1px solid #c3c4c7;color:#777}.edd_dashboard_widget .inside{font-size:12px}.edd_dashboard_widget td{padding:3px 0}.edd_dashboard_widget .b,.edd_dashboard_widget .t{line-height:1.5;vertical-align:middle}.edd_dashboard_widget .b{text-align:right}.edd_dashboard_widget .t{font-size:12px;padding-right:12px;color:#777;width:100%}.edd_dashboard_widget .label_heading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:12px;font-weight:400;display:block;padding-top:10px;margin:0 0 8px 12px}.edd_dashboard_widget .edd_dashboard_widget_subheading{border-top:1px solid #c3c4c7;color:#8f8f8f;font-size:14px;padding-top:10px;margin:1em 0 0}.edd_dashboard_widget .edd_dashboard_widget_subheading+.table{margin:8px 0 0}.edd_dashboard_widget .edd_price_label{background:var(--wp-admin-theme-color);border-radius:3px;color:#fff;font-size:10px;padding:2px 4px;margin-right:2px}.edd_dashboard_widget table{width:100%;margin-left:0;margin-bottom:1em}td.edd_order_label{width:80%}td.edd_order_price{text-align:right}@media handheld,only screen and (max-width:1000px){.edd_dashboard_widget .edd-recent-email{display:none}}.edd-dashboard-notice{-ms-grid-column-span:2;grid-column:span 2;padding:1px;text-align:center;margin:1em -1em -1em;background-color:#f9f9f9;border:1px solid #c3c4c7}.edd-dashboard-notice--error{background:#d63638;color:#fff}.edd-dashboard-notice--error a{color:#fff}body.dashboard_page_edd-upgrades.js .postbox .hndle{cursor:default}.edd-toggle{position:relative;display:flex;gap:5px;overflow:visible;align-items:center}.edd-toggle input[type=checkbox]{position:relative;margin:0;padding:0;width:42px;min-width:42px;height:24px;background-color:#ccc;transition:background .2s ease;border-radius:34px;box-shadow:none;border:none}.edd-toggle .label{white-space:nowrap}.edd-toggle input[type=checkbox]:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:transform .1s ease;border-radius:50%}@media only screen and (max-width:782px){.edd-toggle input[type=checkbox]:checked:before{margin:-.1875rem 0 0 -.25rem}}.edd-toggle input[type=checkbox]:checked{background-color:#007cba;background-color:var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:active,.edd-toggle input[type=checkbox]:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-toggle input[type=checkbox]:checked:active,.edd-toggle input[type=checkbox]:checked:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #007cba;box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.edd-toggle input[type=checkbox]:checked:before{transform:translateX(22px)}.edd-toggle input[type=checkbox]:disabled{opacity:.5}.edd-toggle.inverse input[type=checkbox]{background-color:#007cba;background-color:var(--wp-admin-theme-color);transform:scaleX(-1)}.edd-toggle.inverse input[type=checkbox]:checked{background-color:#ccc}.edd-notice .notice-dismiss,.edd-wrap a{text-decoration:none}.wp-core-ui .edd-delete,a.edd-delete{color:#a00}.wp-core-ui .edd-delete:hover,a.edd-delete:hover{color:red}body.post-type-download #contextual-help-link-wrap,body.post-type-download #screen-options-link-wrap{top:5px!important}body.post-type-download #screen-meta{margin:0 0 -1px -20px}#edd-header{border-top:5px solid #0c5d95;border-bottom:1px solid #c3c4c7;padding:20px 0;margin-left:-20px;background:#fff}#edd-header-wrapper{display:flex;justify-content:space-between;padding:0 20px;align-items:center}#edd-header img{display:block;max-width:300px;margin:0}.edd-header-page-title-wrap{font-size:1.75em;margin-top:-5px;margin-right:auto;padding-left:7px}.edd-header-separator{margin-top:-2px;opacity:.25}.edd-header-page-title{font-weight:400;font-size:1em;line-height:1.3em;display:inline}.edd-header-page-title-wrap .button{margin-left:5px}.no-js #edd-header-actions{display:none}#edd-header .edd-round{position:relative;background-color:#f3f4f5;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-left:10px;cursor:pointer;transition:background-color .2s ease}#edd-header .edd-round.edd-hidden{display:none}button.edd-round{border:none}#edd-header button.edd-round:hover{background-color:#e5e5e5}button.edd-round:active,button.edd-round:focus{outline:2px solid #0c5d95}#edd-header .edd-number{position:absolute;background-color:#df2a4a;width:16px;height:16px;font-weight:600;font-size:10px;color:#fff;top:-8px;left:50%;transform:translateX(-50%);margin:0;animation:bounce 2s 5}#edd-header .edd-number.edd-hidden{display:none!important}#edd-header .edd-round svg{width:20px;height:20px}@media screen and (max-width:840px){#edd-header img,.edd-header-separator{display:none}}.edd_datepicker{height:29px}.edd-from-to-wrapper input{width:105px;margin:0;position:relative;z-index:1}.edd-from-to-wrapper input[name*=start],.edd-from-to-wrapper input[name=filter_from]{border-top-right-radius:0;border-bottom-right-radius:0}.edd-from-to-wrapper input[name*=end],.edd-from-to-wrapper input[name=filter_to]{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.edd-from-to-wrapper input:focus{z-index:2;position:relative}.download_page_edd-settings .edd-check-wrapper{clear:both}.download_page_edd-settings .form-table tr>th>h3,.download_page_edd-settings .form-table tr>th>strong{font-size:1.2em;font-weight:600;margin:0 auto}.edd-sortable-list{margin:0;width:300px;position:relative}.edd-sortable-list li{margin:0;padding:0;position:relative;height:28px;cursor:move}.edd-sortable-list li.edd-toggle{padding:4px 0}.edd-sortable-list li label *{vertical-align:middle}.edd-sortable-list li label:after{display:block;width:17px;height:17px;position:absolute;right:6px;top:0;color:#aaa;font-family:dashicons;font-size:17px;content:"";cursor:move}.form-table .edd-sortable-list li label{display:block;height:28px;padding:0;margin:0}.edd-sortable-list .payment-icon{width:32px;height:24px;position:relative;margin-right:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper{margin-top:5px}.download_page_edd-settings .edd-settings-payment-icon-wrapper input{margin-top:1px}.download_page_edd-settings .form-table .edd-settings-payment-icon-wrapper input[type=checkbox]+label{margin:0;display:inline-block}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-icon-image{margin-right:5px;width:32px;display:inline-block;vertical-align:middle}.download_page_edd-settings .edd-settings-payment-icon-wrapper .payment-option-name{vertical-align:middle}.download_page_edd-settings .taxrates td,.download_page_edd-settings .taxrates th{padding:8px 10px}.download_page_edd-settings .taxrates td{line-height:1.5em;vertical-align:top;margin:0}.download_page_edd-settings .taxrates .regular-text{width:100%}#TB_window{overflow:hidden}#TB_title{padding:5px}#TB_ajaxContent{width:calc(100% - 30px)!important;padding:15px;margin:0;height:calc(100% - 118px)!important}#TB_ajaxWindowTitle{font-size:18px;font-weight:600;line-height:30px}#TB_closeWindowButton{right:6px;top:6px}#choose-download-wrapper{width:100%}#choose-download-wrapper .wrap{overflow-y:scroll;margin:0;padding:0;height:calc(100% - 50px)}#choose-download-wrapper .submit-wrapper{position:absolute;width:100%;bottom:0;padding:0;margin:0 0 0 -15px;text-align:right}#choose-download-wrapper .submit-wrapper div{background-color:#fafafa;padding:15px;border-top:1px solid #ddd}.wp-media-buttons .button.edd-thickbox{padding-left:0}.wp-media-buttons .button.edd-email-tags-inserter .dashicons{margin-top:-2px}.download_page_edd-payment-history .edit-post-editor-regions__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:sticky;top:32px;margin-left:-20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-editor-regions__header{position:static;top:46px}}.download_page_edd-payment-history .edit-post-header{height:56px;background:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:100%;box-sizing:border-box;padding:4px 20px}@media screen and (max-width:782px){.download_page_edd-payment-history .edit-post-header{padding-left:10px;padding-right:10px}}@media(min-width:280px){.download_page_edd-payment-history .edit-post-header{flex-wrap:nowrap}}.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{order:0}.download_page_edd-payment-history .edit-post-header .edit-post-header__settings{order:1}.download_page_edd-payment-history .edit-post-header #publishing-action,.download_page_edd-payment-history .edit-post-header .edit-post-header__settings,.download_page_edd-payment-history .edit-post-header .edit-post-header__toolbar{display:flex;align-items:center}.download_page_edd-payment-history .edit-post-header #publishing-action .spinner{margin:0 5px 0 0}.download_page_edd-payment-history .edit-post-header .button-primary{margin:2px;height:34px;line-height:32px;font-size:13px}#edd-order-items .hndle{display:flex;align-items:center;justify-content:space-between}#edd-order-items .hndle .edd-toggle{font-weight:400}.edd-add-order-item td{vertical-align:middle}.edd-add-order-item input{width:80%}.edd-add-order-item input[readonly]{color:#555;background:none;border:1px solid transparent;box-shadow:none}.order-customer-info .customer-details-wrap{margin:15px 0;align-items:center}.order-customer-info .customer-details-wrap .spinner{margin:0}.order-customer-info .customer-details{display:flex;flex-direction:column}.order-customer-info .customer-details .customer-since{color:#666;display:block;margin:4px 0 6px}.order-customer-info .customer-details>span{margin-bottom:5px}.edd-order-add-download-select .spinner{display:none}table.edd-order-overview-summary{border-width:0;table-layout:fixed}table.edd-order-overview-summary--refund{border-width:0}@media screen and (min-width:782px){.edd-order-overview .column-right{text-align:right}}.edd-ml-auto{margin-left:auto!important}@media screen and (min-width:782px){.edd-ml-lg-auto{margin-left:auto!important}}.edd-ml-auto+.edd-ml-auto{margin-left:10px!important}.edd-order-overview-summary__items-name{align-self:flex-start}.edd-order-overview-summary__items>:nth-child(odd){background-color:#f9f9f9}@media screen and (min-width:782px){.edd-order-overview-summary__items tr:last-child td,.edd-order-overview-summary__items tr:last-child th{border-bottom:1px solid #e5e5e5}}@media screen and (max-width:782px){.edd-order-overview-summary .row-actions>*,.edd-order-overview-summary__items-name .row-actions{display:block!important}.edd-order-overview-summary .row-actions>:not(:first-child):before{display:none}}.edd-order-overview-summary th:not(.column-primary){width:100px}.edd-order-overview-summary .row-actions>:not(:first-child):before{color:#999;content:" | "}.edd-order-overview-summary .row-actions .text{color:#555}.edd-order-overview-summary .removable{display:flex;align-items:center;position:relative}.edd-order-overview-summary .removable .delete{display:inline-block;margin-right:10px;margin-left:-8px;padding:10px;border-right:1px solid #e5e5e5;color:#a00}.edd-order-overview-summary .removable .delete:hover{color:#dc3232}.edd-order-overview-summary__adjustments .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td small{font-weight:400}.edd-order-overview-summary__subtotal .column-primary,.edd-order-overview-summary__tax tr:first-of-type .column-primary,.edd-order-overview-summary__total .column-primary{font-weight:600}.edd-order-overview-summary__adjustments td,.edd-order-overview-summary__subtotal td,.edd-order-overview-summary__tax td,.edd-order-overview-summary__total td{vertical-align:middle}.edd-order-overview-summary__tax td small,.edd-order-overview-summary__total td small{font-weight:400}.edd-order-overview-summary__total .total{color:#017d5c;display:inline-block}.edd-order-overview-summary__total .total.is-negative{color:#a00}@media screen and (min-width:783px){.edd-order-overview-summary__adjustments .removable .delete{margin-left:-50px}.edd-order-overview-summary__total .total{font-size:150%;padding-top:5px;padding-bottom:5px}}.edd-order-overview-summary__total tr:last-child td:not(:first-of-type),.edd-order-overview-summary__total tr:last-child th{border-top:1px solid #e5e5e5}.edd-order-overview-summary__total .notice{margin:-1px}.edd-order-overview-summary__total .notice p{font-weight:400;margin:.5em 0}.edd-order-overview-summary__refunds .column-primary{font-weight:600}.edd-order-overview-summary__refunds td small{font-weight:400}.edd-order-overview-summary__refunds tr:first-child td{border-top:1px solid #e5e5e5}#edd-order-overview-actions.inside{border-top:1px solid #ccd0d4;margin-top:0;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}#edd-order-overview-actions.inside:empty{padding:0;border-top:0}#edd-order-overview-actions.inside>div{display:flex;align-items:center}#edd-order-overview-actions .edd-order-overview-actions__notice{flex-basis:100%;margin-top:15px}.edd-order-overview-actions .button{width:100%;margin-bottom:12px}.edd-order-overview-actions .button:last-of-type{margin-bottom:0}@media screen and (min-width:782px){.edd-order-overview-actions .button{width:auto;margin-left:12px;margin-bottom:0}.edd-order-overview-actions .button:first-of-type{margin-left:auto}}.edd-order-overview-actions__locked{font-style:italic;opacity:.8}@media screen and (max-width:782px){.edd-order-overview-actions__locked{margin-bottom:12px}}.edd-order-overview-actions__refund .dashicons{margin-right:8px}.edd-dialog .ui-button-icon-only{font-size:0}.download_page_edd-payment-history .ui-dialog,.download_page_edd-payment-history .ui-dialog-content{overflow:visible}.edd-order-overview-modal form>p{margin-top:0}.edd-order-overview-modal fieldset legend,.edd-order-overview-modal form label{display:block;margin-bottom:4px}.edd-order-overview-modal fieldset{margin-bottom:calc(1em - 3px)}.edd-order-overview-modal fieldset>p{margin:2px 0 3px}.edd-order-overview-modal form .submit{margin:0 -16px -16px;padding:16px;background:#fcfcfc;border-top:1px solid #dfdfdf;display:flex;align-items:center}.edd-order-overview-modal form .submit .spinner{margin:0}.edd-order-overview-add-item [for=auto-calculate]{display:flex;align-items:center}.edd-order-overview-add-item [for=auto-calculate] input[type=checkbox]{margin-top:0}.edd-order-overview-add-item [for=auto-calculate] .label{line-height:1.15;margin-left:8px}.edd-order-overview-add-item [for=auto-calculate] .label small{margin-top:4px;display:block;opacity:.75}.edd-order-overview-add-adjustment .notice,.edd-order-overview-add-item .notice{margin:0 0 1rem}.edd-order-overview-add-adjustment #description,.edd-order-overview-add-discount select{width:100%}.edd-order-overview-error{font-style:italic;color:#a00;display:block;margin:4px 0}.edd-order-copy-download-link textarea{width:100%}.edd-order-resend-email-chooser legend{font-weight:700;margin-bottom:4px}.edd-order-resend-email-chooser p{margin:4px 0}.edd-notes .edd-note{padding:10px;background-color:#ffe;border:1px solid #cc0;width:100%;position:relative;margin-bottom:10px;box-sizing:border-box;overflow:hidden}.edd-notes .edd-note.deleting{opacity:.5}.edd-notes .edd-note__header{display:flex;align-items:center}.edd-add-note .spinner{float:none;display:inline-block;margin:0}.edd-notes .edd-note time{font-size:11px;color:#aaa}.edd-notes .edd-note .edd-note-author{margin-right:5px}.edd-notes .edd-note .edd-delete-note{color:#a00;font-weight:700;text-decoration:none;margin-left:auto}.edd-notes .edd-note .edd-delete-note:hover{color:#888}.edd-notes .edd-note p:last-child{margin-bottom:0}.edd-notes .edd-no-notes{margin:4px 0 10px}textarea[name=edd-note]{width:100%;min-height:70px;margin-top:0}.edd-notes-wrapper{width:80%}.edd-note-pagination{float:right;margin:-35px 5px 15px}.edd-note-pagination a,.edd-note-pagination span.page-numbers{padding:5px 8px;margin:2px;text-decoration:none}.edd-note-pagination a{border:1px solid #e5e5e5;background:#fcfcfc}.edd-note-pagination a:last-child,.edd-note-pagination span.page-numbers:last-child{margin-right:0}.post-type-download .tablenav.top .edd-select{margin-right:6px}.wp-list-table.addresses .column-primary strong,.wp-list-table.customers .column-primary strong,.wp-list-table.discounts .column-primary strong,.wp-list-table.emails .column-primary strong,.wp-list-table.orderadjustments .column-primary strong,.wp-list-table.orderitems .column-primary strong,.wp-list-table.orders .column-primary strong{font-size:14px}.wp-list-table.customers .column-primary .avatar,.wp-list-table.emails .column-customer .avatar{float:left;margin-right:10px;margin-top:1px;border-radius:5px}.wp-list-table.orders div.order-list-email{font-size:.85em;color:#888}.wp-list-table.orders th.column-amount{width:100px}.wp-list-table .row-actions span.activate a{color:green}.wp-list-table .row-actions span.refund a{color:#836fff}.wp-list-table .row-actions span.cancel a{color:#cc8c00}.wp-list-table .row-actions span.cancel a:hover,.wp-list-table .row-actions span.refund a:hover{opacity:.8}.wp-list-table .type-download .row-actions{color:#999}.no-js.edit-tags-php.post-type-download .wp-heading-inline{position:absolute;top:0}.no-js.edit-tags-php.post-type-download .nav-tab-wrapper{margin-top:50px}.download_page_edd-customers .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-discounts .wrap .nav-tab-wrapper .page-title-action,.download_page_edd-payment-history .wrap .nav-tab-wrapper .page-title-action,.edit-tags-php.post-type-download .wrap .nav-tab-wrapper .page-title-action{top:3px;margin-left:10px;line-height:24px}#edd-payments-filter ul.subsubsub{margin-bottom:8px}tr.status-refunded td{background:#cecece;border-top-color:#ccc}marquee{padding:0;margin:0}@media handheld,only screen and (max-width:640px){.wp-list-table.downloads th{width:auto!important}}#edd-download-link-textarea{width:100%}.edd_files_name_label{width:225px;float:left}.edd_files_url_label{width:220px;float:left}#postbox-container-1 .edd_files_name_label,#postbox-container-1 .edd_files_url_label{width:80px}#edd_product_files .inside,#edd_product_prices .inside{margin-bottom:0}textarea#edd-payment-note{width:100%;height:4em;margin:0}#edd-order-items .row .edd-purchased-files-list-wrapper .download{line-height:1.4}#edd-order-items .edd-purchased-files-list-wrapper .edd-purchased-option{color:#666}input[class*=edd-price-field]{max-width:125px}#edd-order-download-quantity[type=number].small-text,#edd-order-download-tax[type=text].small-text,[class*=item_] [class*=edd-payment-details-download-][type=number].small-text{height:25px}#edd-order-download-quantity[type=number].small-text,.item_price .edd-payment-details-download-quantity[type=number].small-text{width:55px}#edd-order-download-tax[type=text].small-text,.item_tax .edd-payment-details-download-item-tax[type=number].small-text{width:80%;max-width:125px}#edd_product_notes_field{display:block;margin:12px 0 0;height:4em;width:100%}.edd-metabox-title-action{margin:0;float:right;padding:4px 8px;position:relative;top:-1px;text-decoration:none;border:1px solid #ccc;border-radius:2px;background:#f7f7f7;text-shadow:none;font-weight:600;font-size:10px;line-height:normal;color:#0073aa;cursor:pointer;outline:0}.edd-metabox-title-action:hover{border-color:#008ec2;background:#00a0d2;color:#fff}.edd-edit-purchase-element .tablenav{padding:2px 10px 8px}.edd-edit-purchase-element .edd-order-children-wrapper{margin:0 -1px}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 table{border-top:none;border-bottom:none}.edd-edit-purchase-element .edd-order-children-wrapper.child-count-0 .tablenav{display:none}.edd-edit-purchase-element[class*=columns-] ul li{padding-right:1%}#edd-edit-order-form .column:nth-child(odd),#edd-edit-order-form .columns-4 .column:nth-child(odd),#edd-edit-order-form .columns-5 .column:nth-child(3n+1){margin-right:0}#edd-edit-order-form input.large-text{width:90%}.edd-edit-purchase-element ul li.item_price{width:15%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:25%}.edd-edit-purchase-element ul li.item_tax{width:15%}.edd-edit-purchase-element ul li.price{width:20%}.edd-admin-box-inside{border-bottom:1px solid #f1f1f1;clear:both;padding:12px;margin:0;word-wrap:break-word}.edd-admin-box-inside--row{display:flex;flex-wrap:wrap;word-break:break-all;justify-content:space-between;align-items:center}.edd-admin-box-inside>p{margin:8px 3px}.edd-admin-box-inside .strong{font-weight:600}.edd-admin-box div:not(.edd-admin-box-inside--row) .label{display:block;margin-bottom:4px;margin-right:0}.edd-admin-box .label--has-tip{display:flex;align-items:center}.edd-admin-box .label--has-tip .edd-help-tip{margin-top:0;font-size:20px}.edd-admin-box div:not(.edd-admin-box-inside--row) .label--has-checkbox{margin-bottom:0}.edd-payment-fees .fee-label{color:#666;font-weight:400}.edd-admin-box .right{float:right}#edd-order-refunds-list{padding-left:25px}#poststuff .edd-order-data .inside{margin:0;padding:0}.edd-order-data .edd-select-chosen{width:130px!important}.edd-order-data input.edd_datepicker{width:180px}.edd-order-data input[type=number].edd-payment-time-hour,.edd-order-data input[type=number].edd-payment-time-min{width:50px}.edd-order-data .edd-tax-rate{color:#9c9c9c;font-style:italic;padding:5px}#edd_general_logs p{margin:0;padding:0}.edd-admin-box-inside span.label{margin-right:10px}#edd-order-resend-receipt .inside{margin-top:11px}.edd-order-resend-receipt-header{font-size:14px;line-height:1.4}.edd-admin-box-inside:last-child{border-bottom:0}#edd-edit-order-form .data-payment-key{word-break:break-all}.edd-order-update-box #major-publishing-actions .button-secondary{margin-right:10px}.edd-order-update-box .button-primary{margin-right:0}.edd-edit-purchase-element .edd-select-chosen{width:196px}.edd-edit-purchase-element ul{clear:both;display:block}#edd-customer-details .actions{float:right}.order-data-address h3{margin:0 0 10px}.order-data-address #edd-order-address-country-wrap,.order-data-address #edd-order-address-state-wrap{display:inline-block;width:50%;max-width:300px}.edd-order-data input.small-text{margin:0}.edd-order-data input.med-text{margin:0;width:100px}.edd-edit-purchase-element ul li{display:block;line-height:1.4;position:relative;margin:0;vertical-align:middle;font-size:13px}.edd-edit-purchase-element .row{padding:12px}.edd-edit-purchase-element .row:not(:last-child){border-bottom:1px solid #eee}.edd-edit-purchase-element .row:nth-child(odd):not(.header){background-color:#f9f9f9}.edd-edit-purchase-element .row.header{padding:6px 12px;font-weight:600;vertical-align:top}.edd-edit-purchase-element ul{margin:0 0 15px}.edd-edit-purchase-element ul:last-of-type{margin-bottom:0}#edd-order-data .data span{color:#666;font-weight:600}.edd-edit-purchase-element .inside{padding:12px}.edd-edit-purchase-element .edd-purchased-download-title{font-size:14px;font-weight:500}.edd-edit-purchase-element .edd-purchased-download-title .deleted{color:#777}.edd-edit-purchase-element .edd-purchased-download-actions{color:#777;line-height:1.4}.edd-edit-purchase-element .edd-purchased-download-actions .edd-purchased-download-actions-label{font-weight:500}.edd-edit-purchase-element .edd-purchased-download-actions a{color:#777;font-size:12px}.edd-edit-purchase-element .edd-purchased-download-actions a:hover{color:#444}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download{color:#a00}.edd-edit-purchase-element .edd-purchased-download-actions .edd-order-remove-download:hover{color:red}.edd-add-adjustment-to-purchase,.edd-add-download-to-purchase{padding:15px;border-top:1px solid #e5e5e5;background-color:#f5f5f5}.edd-add-adjustment-to-purchase .chosen-container,.edd-add-download-to-purchase .chosen-container{width:90%!important;max-width:220px!important}.edd-add-adjustment-to-purchase .spinner,.edd-add-download-to-purchase .spinner{margin:0;float:none}.edd-add-download-to-purchase .edd-add-order-quantity{width:40px;height:29px;vertical-align:middle}.edd-add-adjustment-to-purchase .edd-add-adjustment-button,.edd-add-adjustment-to-purchase input[type=text],.edd-add-download-to-purchase .edd-add-order-item-button{height:29px}@media screen and (max-width:1284px){.edd-edit-purchase-element .edd-purchased-download-title{font-size:16px}.edd-edit-purchase-element ul li.item_price{width:22%}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax{width:25%}.edd-edit-purchase-element ul li.price{width:20%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:10px}}@media screen and (max-width:1024px){.edd-edit-purchase-element ul li.item_price.item_quantity{width:40%}.edd-edit-purchase-element ul li.price{width:24%}.edd-edit-purchase-element .edd-purchased-download-actions{padding-top:15px}.edd-edit-purchase-element .edd-purchased-download-actions,.edd-edit-purchase-element .edd-purchased-download-actions a{font-size:14px}}@media screen and (max-width:782px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity{padding-bottom:10px}.edd-edit-purchase-element ul li.item_price.item_quantity{width:35%}.edd-edit-purchase-element ul li.item_tax,.edd-edit-purchase-element ul li.price{width:20%;padding-bottom:10px}.edd-payment-details-download-amount,.edd-price-currency{font-size:16px}.order-data-column input[type=email]{padding:6px 10px}.edd-refund-submit-line-total td:last-of-type{flex:0 0 120px}#edd-item-tables-wrapper .addresses tbody tr{display:-ms-grid;display:grid}#edd-item-tables-wrapper .addresses tbody td:not(.no-items){padding-left:35%}}@media screen and (max-width:600px){.edd-edit-purchase-element ul li.item_price,.edd-edit-purchase-element ul li.item_price.item_quantity,.edd-edit-purchase-element ul li.item_tax{width:100%;padding-bottom:20px}.edd-edit-purchase-element .edd-add-download-to-purchase ul li.item_tax,.edd-edit-purchase-element ul li.price{width:100%;padding-bottom:0}.edd-edit-purchase-element .edd-add-download-to-purchase-actions{padding-top:15px}}#edd_product_stats .label{display:inline-block}#edd_product_stats .product-earnings-stats:before,#edd_product_stats .product-sales-stats:before{color:#82878c;font:normal 20px/1 dashicons;display:inline-block;padding:0 2px 0 0;position:relative;top:0;left:-1px;speak:none;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#edd_product_stats .product-sales-stats:before{content:""}#edd_product_stats .product-earnings-stats:before{content:""}body.download_page_edd-reports{overflow-y:scroll}.edd-chip{font-size:10px;font-weight:700;text-transform:uppercase;line-height:1;padding:3px;border-radius:3px;color:#fff;background-color:#444}.edd-reports-wrapper .postbox h2,.edd-reports-wrapper .postbox h3{font-size:1.3em}#edd-dashboard-widgets-wrap .metabox-holder{padding-top:0}.edd-reports-wrapper .postbox .edd-select{max-width:200px;vertical-align:baseline;margin-right:4px;margin-bottom:16px}.download_page_edd-reports #edd-item-wrapper{margin:0}#edd-dashboard-widgets-wrap .postbox h2,#edd-dashboard-widgets-wrap .postbox h3{cursor:default}.edd-date-range-options .edd_datepicker{width:105px}.edd-report-wrap{clear:both}.edd-report-wrap h3{clear:both;margin:0 0 20px}.edd-reports-chart,.edd-reports-table{margin-bottom:20px}.edd-admin--has-grid{display:grid;display:-ms-grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:20px}.edd-admin--has-grid .postbox{margin-bottom:0}.edd-admin--has-grid .edd-from-to-wrapper{display:flex;margin-bottom:16px;width:100%}.edd-admin--has-grid .edd-from-to-wrapper input{width:100%}.edd-admin--has-grid .edd-from-to-wrapper span{flex-grow:1}.edd-admin--has-grid form{display:flex;flex-direction:column;flex-wrap:wrap;position:relative}fieldset.edd-to-and-from-container{display:flex;gap:8px}fieldset.edd-to-and-from-container select{flex:0 0 calc(50% - 6px)}span.edd-to-and-from--separator{line-height:normal;-ms-grid-row-align:center;align-self:center;margin-bottom:16px}.edd-admin--has-grid .postbox .edd-select{max-width:100%;margin-right:0}.edd-admin--has-grid .button.updated-message:before,.edd-admin--has-grid .button.updating-message:before{vertical-align:text-bottom;margin:0 5px 0 0}.edd-import-export-form .edd-progress{background:#ddd;border-radius:15px;height:15px;flex-basis:100%}.edd-import-export-form .edd-progress div{background:#ccc;border-radius:15px;height:100%;width:0}.edd-import-export-form .notice-wrap{background-color:#f4f4f4;border-color:#eae9e9;border-style:solid;border-width:1px 0;padding:12px;overflow:auto;margin:20px -12px -23px;position:relative;width:100%;display:flex;justify-content:space-between;align-items:center}.notice-wrap div.notice{margin:0}h3+.notice-wrap .notice{margin-bottom:1em}.admin-color-fresh .edd-import-export-form .edd-progress div{background:#0073aa}.admin-color-light .edd-import-export-form .edd-progress div{background:#888}.admin-color-blue .edd-import-export-form .edd-progress div{background:#096484}.admin-color-coffee .edd-import-export-form .edd-progress div{background:#c7a589}.admin-color-ectoplasm .edd-import-export-form .edd-progress div{background:#a3b745}.admin-color-midnight .edd-import-export-form .edd-progress div{background:#e14d43}.admin-color-sunrise .edd-import-export-form .edd-progress div{background:#dd823b}.graph-option-section{float:left}.edd-report-filters-title span{display:block;padding:20px}#edd-graphs-filter form{padding:20px}#edd-graphs-filter label{vertical-align:inherit}#edd-graphs-filter .graph-option-section{display:inline-block;line-height:2em;margin:0 5px 0 0;padding:0}.download_page_edd-reports .section-content #post-body-content{float:none}.download_page_edd-reports .section-content select[name=range]{display:none}.edd-mix-totals{background-color:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px}.edd-mix-chart{display:inline-block;width:49%;vertical-align:top}.edd-graph-notes{color:#9c9c9c}.edd-graph-notes span{display:block}.edd-pie-graph .legend{display:none}.edd-pie-legend{overflow:auto;margin-top:10px}.edd-legend-item-wrapper{color:#333;display:inline-block;font-size:8pt;padding:2px 5px 0;width:48%;height:20px}.edd-legend-color{border:1px solid #cfcfcf;display:inline-block;margin-right:5px;width:20px;height:15px}.edd-pie-legend-item{display:inline-block;vertical-align:top;width:80%}#edd-reports-tiles-wrap .metabox-holder{padding:0}#edd-reports-tiles-wrap #dashboard-widgets{overflow:auto}#edd-reports-tiles-wrap #dashboard-widgets .postbox-container{width:33.3%}.download_page_edd-reports .section-content .tablenav.top{display:none}#edd_tax_rates{margin:1em 0 0}[id*=edd-recapture-].button{font-size:16px;height:auto;padding:8px 14px;margin:6px 0 0}[id*=edd-recapture-].button .dashicons{line-height:29px;margin-right:8px}[id*=edd-recapture-].button .edd-loading,[id*=edd-recapture-].button .edd-loading:after{border-radius:50%;display:inline-block;width:14px;height:14px}[id*=edd-recapture-].button .edd-loading{position:relative;top:3px;margin-left:4px;box-shadow:0 0 2px rgba(0,0,0,.2);animation:edd-spinning 1.1s linear infinite;border:2px solid hsla(0,0%,100%,.5);border-left-color:#fff;font-size:14px;filter:alpha(opacity=0);transform:translateZ(0)}#edd-recapture-disconnect.button .edd-loading.dark{border-color:rgba(0,0,0,.2) rgba(0,0,0,.2) rgba(0,0,0,.2) #666;box-shadow:none}.recapture-notice{position:relative}@keyframes edd-spinning{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}#edd-send-test-summary-save-changes-notice .notice p{font-size:13px}#edd-send-test-summary-notice,#edd-send-test-summary-save-changes-notice{display:flex;margin-top:5px}.edd-graph .y1Axis{color:#edc240!important}.edd-graph .y2Axis{color:#afd8f8!important}.wp-list-table.apikeys input.code{width:100%;font-size:10px;cursor:text;background:#fff;border:1px solid #ddd;box-shadow:none;color:#555}.download_page_edd-tools .tablenav .actions{overflow:visible}.edd_user_search_wrap{position:relative;overflow:visible}.edd_user_search_wrap .spinner{position:absolute;margin:0;padding:0;right:4px;top:-2px}.edd_user_search_wrap.loading .spinner{visibility:visible}.edd_user_search_results{position:absolute;left:0;top:20px}.edd_user_search_results a.edd-ajax-user-cancel{position:absolute;right:6px;top:2px}.edd_user_search_results ul{background:#fafafa;border:1px solid #dfdfdf;overflow-y:scroll;padding:0;margin:0;height:150px;width:185px;box-shadow:0 3px 5px rgba(0,0,0,.1)}.edd_user_search_results li{margin:0}.edd_user_search_results li a{display:block;text-decoration:none;padding:6px 10px}.edd_user_search_results li a:hover{background:#f5f5f5}.edd_user_search_results li.no-users{text-align:center;vertical-align:middle;display:block;line-height:150px;color:#bbb;text-transform:uppercase;font-size:11px}@media screen and (max-width:1100px){.edd-mix-chart{display:block;width:100%}}@media screen and (max-width:782px){.license-expiration-date-notice,.license-lifetime-notice,.license-null{padding-left:0}}@media screen and (max-width:600px){#edd-edit-order-form input.large-text{width:100%}}#edd-item-wrapper{background:#fff;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);position:relative;margin-top:15px;display:flex}#edd-item-wrapper.full-width{max-width:100%}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}.edd-sections-wrap{clear:both;width:100%}.edd-sections-wrap .section-wrap{background-color:#fff;display:inline-block;z-index:2}.js .edd-sections-wrap .edd-vertical-sections:not(.meta-box) .section-wrap>div{min-height:500px;height:100%}.edd-sections-wrap .section-wrap .customer-section:not(:last-child){border-bottom:1px solid #eee}.edd-sections-wrap .section-wrap .customer-section table{margin-bottom:20px}.edd-sections-wrap .section-wrap{border-left:1px solid #e5e5e5}.edd-sections-wrap .section-wrap .section-content>*{padding:20px}.edd-sections-wrap .section-wrap .section-content h2{margin:0;padding-bottom:0}.edd-sections-wrap .section-wrap .avatar-wrap{float:left;padding-right:10px;text-align:center}.edd-sections-wrap .section-wrap img.avatar{border-radius:5px}.edd-sections-wrap .section-wrap .customer-id{position:absolute;right:0;top:0;padding:10px;background-color:#fafafa;border-bottom-left-radius:20%;border:1px solid #eee;border-top:none;border-right:none;font-family:monospace;font-size:18px;font-weight:600}.edd-item-info.customer-info input[type=password],.edd-item-info.customer-info input[type=text],.edd-item-info.customer-info select{width:200px;height:auto;box-shadow:none;transition:none;border:1px solid #ddd;margin:-5px 0 4px -2px;font-size:13px;padding:2px 4px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:left}.edd-sections-wrap .section-wrap .customer-main-wrapper input[name="customerinfo[name]"]{font-size:24px}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:right;margin-top:-3px;margin-right:50px;width:202px}.edd-sections-wrap .section-wrap .info-wrapper{min-height:125px;overflow:visible}.edd-sections-wrap .section-wrap .customer-address span[data-key=address2],.edd-sections-wrap .section-wrap .customer-address span[data-key=address],.edd-sections-wrap .section-wrap .customer-address span[data-key=country]{display:block}.edd-sections-wrap .section-wrap a.delete{color:red;margin-right:5px;text-decoration:none}.customer-info{min-height:185px}.customer-info .customer-name{font-size:24px;font-weight:600}.customer-info .customer-name.editable{margin-bottom:6px}.customer-edit-link a{font-weight:400;text-decoration:none}.disconnect-user a{color:#aaa;font-size:20px}#customer-edit-actions{padding:3px;line-height:28px;text-align:center}#customer-edit-actions .button-secondary{margin-right:5px}#customer-edit-actions .cancel{padding:5px}.edd-sections-wrap .section-wrap .row-title{width:30%}.edd-sections-wrap .section-wrap .editable{display:block;padding:3px}.edd-sections-wrap .section-wrap div.edit-item{margin-left:-4px;margin-top:-20px}.edd-sections-wrap .section-wrap .customer-address.edit-item{margin-top:3px}.edd-sections-wrap .section-wrap span.edit-item{display:none}.edd-sections-wrap .section-wrap .edit-item input{font-size:13px}.edd-sections-wrap .section-wrap .customer-name.edit-item input{margin-top:-5px}.edd-sections-wrap .section-wrap .edd_user_search_results{left:-2px;top:18px}.edd-sections-wrap .section-wrap .edd_user_search_results ul{width:198px}#edd-item-stats-wrapper{margin:0 auto;text-align:center}#edd-item-stats-wrapper ul{display:flex;margin:0}#edd-item-stats-wrapper li{font-size:14px;margin-bottom:0;width:50%}#edd-item-stats-wrapper a{text-decoration:none}#edd-item-stats-wrapper .dashicons{color:#888;margin-top:-2px}#edd-item-tables-wrapper table{width:100%}#edd-item-tables-wrapper .no-items{text-align:left}#edd-item-tables-wrapper .emails .add-customer-email-row{background-color:#f4f4f4;border-top:1px solid #e5e5e5}#edd-item-tables-wrapper .add-customer-email-wrapper{display:flex;flex-wrap:wrap;align-items:center;margin:12px 0}#edd-item-tables-wrapper .edd-form-group{margin-bottom:0}#edd-item-tables-wrapper .edd-make-email-primary{flex-grow:1;margin-left:12px}#edd-item-tables-wrapper .emails .spinner{float:none;margin:0 10px;-ms-grid-row-align:center;align-self:center}#edd-item-tables-wrapper .notice-error{background-color:#fff5f5}#edd-item-notes-wrapper{min-height:50px}.customer-note-input{margin-bottom:5px;width:100%}.customer-note-wrapper{border-bottom:1px solid #f9f9f9;min-height:38px;padding:7px 0 7px 7px}.customer-note-wrapper span{display:block}.note-content-wrap{padding-top:7px}.edd-sections-wrap .section-wrap .notice-container{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}@media screen and (max-width:810px)and (min-width:656px){.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap .widefat td,.widefat th{max-width:100%!important;display:table-cell}}@media screen and (max-width:781px){#edd-item-tab-wrapper,.edd-sections-wrap .section-wrap{margin:0;width:100%}#edd-item-tab-wrapper-list .dashicons{font-size:18px}.edd-item-has-tabs .edd-sections-wrap .section-wrap{border-top:1px solid #e5e5e5;border-left:0;margin-top:-1px}}@media screen and (max-width:656px){.edd-item-info.customer-info{position:relative}.edd-sections-wrap .section-wrap .customer-address-wrapper{float:none;position:absolute;top:84px;left:165px;max-width:200px}.edd-sections-wrap .section-wrap .customer-main-wrapper{float:none;position:absolute;left:165px}.customer-info .customer-name{font-size:16px}.edd-sections-wrap .section-wrap #edd-item-stats-wrapper{padding-left:0;padding-right:0}.edd-sections-wrap .section-wrap .customer-section{margin-bottom:0}.edd-sections-wrap .section-wrap .widefat td.column-primary,.edd-sections-wrap .section-wrap .widefat td.no-items,.edd-sections-wrap .section-wrap .widefat th.column-primary{width:100px!important;display:table-cell;overflow:hidden;text-align:left}.edd-sections-wrap .section-wrap .customer-id{display:none}#edd-item-tables-wrapper .emails td.column-primary{padding-right:10px;width:100%!important}#edd-item-tables-wrapper .edd-form-group{margin:0 0 16px}}@media screen and (max-width:480px){#edd-item-tab-wrapper-list li{width:50%}#edd-item-tab-wrapper-list li:nth-child(3n+3){border-width:0 1px 1px 0}#edd-item-tab-wrapper-list li:nth-child(2n){border-width:0 0 1px}.download_page_edd-reports .button{text-align:center}#edd-payment-date-filters span{display:block}#edd-payment-date-filters span>input{float:right}#edd-add-discount select[multiple] option,#edd-edit-discount select[multiple] option{height:20px}.download_page_edd-reports .inside .button,.download_page_edd-reports .inside input[type=submit],.download_page_edd-reports .inside input[type=text],.download_page_edd-reports .inside select,.download_page_edd-settings .inside input[type=button],.download_page_edd-tools .inside input[type=submit],.download_page_edd-tools .inside input[type=text],.download_page_edd-tools .inside select{width:100%}#edd-add-discount select[multiple],#edd-edit-discount select[multiple],.download_page_edd-tools select[multiple]{height:200px!important}.download_page_edd-settings input[type=checkbox]{margin:2px 0}.post-type-download input[type=checkbox]{margin-left:2px}}.inside .edd-tools-textarea{background:#32373c;color:rgba(240,245,250,.7);font-size:12px;font-family:Menlo,Monaco,monospace;display:block;overflow:auto;white-space:pre;width:100%;height:450px;padding:10px;outline:none}#system-info-textarea::selection{background:#555;color:#fff}#edd-system-info .edd-inline-button{margin-left:5px}.recount-stats-controls form{display:inline}.edd-recount-stats-descriptions span{display:none;line-height:24px}.edd-vertical-sections{overflow:visible;display:block;display:flex}#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{position:relative;width:20%;line-height:1em;margin:0 -1px 0 0;padding:0;background-color:#f5f5f5;border-right:1px solid #e5e5e5;box-sizing:border-box;max-width:200px}#edd-item-tab-wrapper-list{margin:0}#edd-item-tab-wrapper li,.edd-vertical-sections .section-nav li{display:block;position:relative;margin:0;padding:0;background-color:#fcfcfc}.edd-vertical-sections .section-title:last-of-type{margin-bottom:24px}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap,#edd-item-tab-wrapper li a,.edd-vertical-sections .section-nav li a{display:flex;margin:0;padding:9px;text-decoration:none;border-bottom:1px solid #e5e5e5;box-shadow:none;position:relative;align-items:center}#edd-item-tab-wrapper li a:focus,#edd-item-tab-wrapper li a:hover,.edd-vertical-sections .section-nav li a:focus,.edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0;outline:0;transition:all .25s}.edd-vertical-sections .section-nav .section-title--is-active a:after{content:"";width:1px;height:100%;background:#fff;position:absolute;right:0;top:0;bottom:0;z-index:3}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap{background-color:#fff}.edd-vertical-sections .section-nav li a>.dashicons,.edd-vertical-sections .section-nav li a>span{display:inline-block}.edd-vertical-sections .section-nav li a>span{max-width:76%}.edd-vertical-sections .section-nav li a .dashicons{line-height:20px;margin-right:3px;color:#888}.edd-vertical-sections .section-nav .section-title--is-active a{font-weight:700;color:#555;background-color:#fff;border-right:none;margin-right:-1px}.edd-vertical-sections.use-js .section-content,.no-js .edd-vertical-sections.use-js.edd-item-header-small,.no-js .edd-vertical-sections.use-js .section-nav{display:none}.no-js .edd-vertical-sections.use-js .section-content{display:block}.admin-color-fresh .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-fresh .edd-vertical-sections .section-nav li a:focus,.admin-color-fresh .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #0073aa}.admin-color-blue .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-blue .edd-vertical-sections .section-nav li a:focus,.admin-color-blue .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #096484}.admin-color-coffee .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-coffee .edd-vertical-sections .section-nav li a:focus,.admin-color-coffee .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #c7a589}.admin-color-ectoplasm .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:focus,.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #a3b745}.admin-color-midnight .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-midnight .edd-vertical-sections .section-nav li a:focus,.admin-color-midnight .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #e14d43}.admin-color-ocean .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-ocean .edd-vertical-sections .section-nav li a:focus,.admin-color-ocean .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #627c83}.admin-color-sunrise .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-sunrise .edd-vertical-sections .section-nav li a:focus,.admin-color-sunrise .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #be3631}.admin-color-light .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-light .edd-vertical-sections .section-nav li a:focus,.admin-color-light .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #888}.admin-color-evergreen .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-evergreen .edd-vertical-sections .section-nav li a:focus,.admin-color-evergreen .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #36533f}.admin-color-mint .edd-vertical-sections .section-nav .section-title--is-active a,.admin-color-mint .edd-vertical-sections .section-nav li a:focus,.admin-color-mint .edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0 #4f6d59}.edd-vertical-sections .section-nav .section-title--is-active .dashicons{color:#555}@media only screen and (max-width:782px){#edd-item-tab-wrapper,.edd-vertical-sections .section-nav{width:48px}.edd-vertical-sections .section-nav li a{justify-content:center}.edd-vertical-sections .section-nav li a .dashicons{width:24px;height:24px;font-size:24px;line-height:24px;margin:0}.section-nav li .dashicons:before{width:24px;height:24px}#edd-item-tab-wrapper .edd-item-tab-label,.section-nav li .label{overflow:hidden;position:absolute;top:-1000em;left:-1000em;width:1px;height:1px}}#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:80%}#edd-item-card-wrapper .item-section{background:#fff;overflow:hidden;box-sizing:border-box}:not(#edd-item-tab-wrapper)+#edd-item-card-wrapper .item-section{margin:25px 0;padding:20px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}#edd-item-tab-wrapper+#edd-item-card-wrapper{padding:20px;border-left:1px solid #e5e5e5;box-sizing:border-box}@media only screen and (min-width:1200px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections:not(.meta-box) .section-wrap{width:calc(100% - 200px)}}@media only screen and (max-width:782px){#edd-graphs-filter,#edd-item-card-wrapper,.edd-vertical-sections .section-wrap{width:calc(100% - 48px)}}#edd-debug-log .edd-inline-button{margin-left:5px}.edd-settings-sidebar{padding-top:27px}.edd-settings-sidebar-content{background-color:#fff;text-align:center;border:1px solid #ddd;box-sizing:border-box;max-width:300px}.edd-settings-sidebar-content p{font-size:14px;line-height:1.5;margin-top:0}.edd-sidebar-header-section{background-color:#35495c;line-height:1;padding:26px 20px 24px;border-bottom:3px dashed #fafafa}.edd-sidebar-description-section{background-color:#fafafa;padding:16px 20px;border-bottom:1px solid #ddd}.edd-sidebar-description-section .edd-sidebar-description{margin:0}.edd-sidebar-coupon-section{font-size:14px;padding:16px 20px}.edd-sidebar-coupon-section label{display:block;line-height:1.4;margin-bottom:6px}.edd-sidebar-coupon-section label strong{color:#253b51;font-weight:700}.edd-sidebar-coupon-section input{background:#f4f7fa;font-size:22px;font-weight:600;text-align:center;padding:10px;border:2px dashed #2794da;border-radius:4px;margin-bottom:16px;box-shadow:none;width:100%}.edd-sidebar-coupon-section input:focus{border:2px dashed #2794da;box-shadow:none}.edd-settings-sidebar-content .edd-coupon-note{color:#6c7883;font-size:13px;font-style:italic;margin:0}.edd-settings-sidebar-content .edd-coupon-note a{color:#253b51}.edd-settings-sidebar-content .edd-coupon-note a:hover{text-decoration:none}.edd-sidebar-footer-section{background-color:#fafafa;padding:16px 20px;border-top:1px solid #ddd}.edd-sidebar-footer-section .edd-cta-button{display:block;background-color:#2794da;color:#fff;text-decoration:none;font-size:20px;font-weight:700;text-transform:uppercase;padding:17px 10px;border:none;border-radius:4px;width:100%;box-sizing:border-box;box-shadow:none;transition:background-color .2s}.edd-sidebar-footer-section .edd-cta-button:hover{background-color:#2386c5}@media (min-width:1080px){.edd-has-sidebar .edd-settings-content{float:left;width:67%}.edd-has-sidebar .edd-settings-sidebar{float:right;width:31%}}@media (min-width:1240px){.edd-has-sidebar .edd-settings-content{width:74%}.edd-has-sidebar .edd-settings-sidebar{width:23%}}.taxes-tab .edd-has-sidebar .edd-settings-content,.taxes-tab .edd-has-sidebar .edd-settings-sidebar{float:none;width:100%}.bfcm-promo-img-container{background-color:#35495c;width:100%;height:160px}.bfcm-code{color:#2794da;font-weight:700}.sale-ends{position:absolute;bottom:9px;right:14px;display:inline-block;color:#6c7883;font-size:12px;text-align:right;font-style:italic;width:150px} \ No newline at end of file diff --git a/assets/css/variables/_colors.scss b/assets/css/variables/_colors.scss index 7059eadec8c..be82aebad42 100644 --- a/assets/css/variables/_colors.scss +++ b/assets/css/variables/_colors.scss @@ -17,6 +17,7 @@ $wp-red-50: #d63638; $wp-green-30: #00ba37; $wp-green-50: #008a20; $wp-yellow-50: #996800; +$warning: #f18200; $wp-gray-0: $gray-0; $wp-gray-2: $gray-100; diff --git a/assets/js/admin/components/location/index.js b/assets/js/admin/components/location/index.js index ad53a255483..e9e6f8bd109 100644 --- a/assets/js/admin/components/location/index.js +++ b/assets/js/admin/components/location/index.js @@ -1,14 +1,51 @@ +import { getChosenVars } from 'utils/chosen.js'; + jQuery( document ).ready( function ( $ ) { $( '.edd_countries_filter' ).on( 'change', function () { const select = $( this ), + state_field = $( '.edd_regions_filter' ), data = { action: 'edd_get_shop_states', country: select.val(), nonce: select.data( 'nonce' ), - field_name: 'edd_regions_filter', + field_name: state_field.attr( 'name' ), + field_id: state_field.attr( 'id' ), + field_classes: 'edd_regions_filter', }; $.post( ajaxurl, data, function ( response ) { + + // hot fix for settings page + if ( $( 'body' ).hasClass( 'download_page_edd-settings' ) ) { + // only on these 2 scenarios we have to setup the field + if ( ( 'nostates' === response && state_field.is( 'select' ) ) || ( 'nostates' !== response && state_field.is( 'input' ) ) ) { + let attributes = {}; + $.each( + state_field.get(0)?.attributes || [], + ( i, attr ) => { + if ( ! [ 'style', 'type'].includes( attr.name ) ) { + attributes[ attr.name ] = attr.value; + } + } + ) + + const parent = state_field.parent(); + let newStateField = ''; + + if ( state_field.is( 'select' ) ) { + state_field.chosen( 'destroy' ); + newStateField = $( '' ).attr( { ...attributes, ...{ type: 'text', placeholder: edd_vars.enter_region } } ); + } else { + newStateField = $( response ).attr( { ...attributes, ...{ 'data-placeholder': edd_vars.select_region } } ).addClass( 'edd-select-chosen' ); + } + + state_field.remove(); + parent.prepend( newStateField ); + $( 'select.edd_regions_filter' ).chosen( { ...getChosenVars( newStateField ) } ); + return; + } + } + $( 'select.edd_regions_filter' ).find( 'option:gt(0)' ).remove(); if ( 'nostates' !== response ) { diff --git a/assets/js/admin/components/navigation/index.js b/assets/js/admin/components/navigation/index.js new file mode 100644 index 00000000000..ddcce3370d5 --- /dev/null +++ b/assets/js/admin/components/navigation/index.js @@ -0,0 +1,36 @@ +const adminPage = document.querySelector( '.edd-admin-page' ); +let navWrapper = document.querySelector( '.edd-nav__wrapper' ); + +if ( adminPage ) { + + if ( navWrapper ) { + // Move the subtitle inside the navWrapper. + const subtitle = document.querySelector( '.subtitle:not(.edd-search-query)' ); + if ( subtitle ) { + navWrapper.appendChild( subtitle ); + } + } + + // Move the notices after the navWrapper. + const adminNotices = document.querySelectorAll( '.notice:not(.inline)' ); + if ( adminNotices ) { + setTimeout( () => { + if ( navWrapper ) { + const subNav = document.querySelector( '.edd-sub-nav__wrapper' ); + if ( subNav ) { + navWrapper = subNav; + } + const navWrapperParent = navWrapper.parentNode; + adminNotices.forEach( notice => { + navWrapperParent.insertBefore( notice, navWrapper.nextSibling ); + } ); + } + adminNotices.forEach( notice => { + // If the notice doesn't have the 'hidden' class, display it. + if ( ! notice.classList.contains( 'hidden' ) ) { + notice.style.display = 'block'; + } + } ); + }, 1000 ); + } +} diff --git a/assets/js/admin/components/promos/index.js b/assets/js/admin/components/promos/index.js index ec331d1cbd0..c94e7ab927b 100644 --- a/assets/js/admin/components/promos/index.js +++ b/assets/js/admin/components/promos/index.js @@ -6,11 +6,35 @@ jQuery( document ).ready( function( $ ) { * Show overlay notices on a delay. */ const overlayNotice = $( '.edd-admin-notice-overlay' ); - const overlayNoticeClass = 'edd-promo-notice__overlay'; + let overlayNoticeWrapper = $(); // empty jQuery object, so chaining still works + if ( overlayNotice ) { - overlayNotice.wrap( '
' ); + overlayNotice.wrap( '
' ); + overlayNoticeWrapper = overlayNotice.parent(); + $( document ).on( 'click', '.edd-promo-notice__trigger', function () { - $( '.' + overlayNoticeClass ).css( 'display', 'flex' ).hide().fadeIn(); + if ( $( this ).hasClass( 'edd-promo-notice__trigger--ajax' ) ) { + $.ajax( { + type: 'GET', + url: ajaxurl, + data: { + action: 'edd_get_promo_notice', + notice_id: $( this ).data( 'id' ), + product_id: $( this ).data( 'product' ), + value: $( this ).data( 'value' ), + }, + success: function ( response ) { + if ( response.data ) { + overlayNotice.html( response.data ); + // add a class to the overlay notice + overlayNoticeWrapper.addClass( 'edd-promo-notice__ajax' ); + } + triggerNoticeEnter( overlayNoticeWrapper ); + } + } ); + } else { + triggerNoticeEnter( overlayNoticeWrapper ); + } } ); } @@ -36,24 +60,51 @@ jQuery( document ).ready( function( $ ) { }, url: ajaxurl, success: function( response ) { - if ( $( '.' + overlayNoticeClass ).length ) { - $( '.' + overlayNoticeClass ).fadeOut(); - $( '.edd-extension-manager__key-notice' ).hide(); - } else { - notice.slideUp(); - } + triggerNoticeDismiss( overlayNoticeWrapper.length ? overlayNoticeWrapper : notice ); } } ); } ); $( document ).on( 'keydown', function ( event ) { - if ( !$( '.' + overlayNoticeClass ).length ) { + if ( !overlayNoticeWrapper.length ) { return; } if ( 27 === event.keyCode ) { - $( '.' + overlayNoticeClass ).fadeOut(); - $( '.edd-extension-manager__key-notice' ).hide(); + triggerNoticeDismiss( overlayNoticeWrapper ); } } ); } ); + + /** + * Show notice and trigger event + * + * @param {jQuery} el The notice element to show + */ + function triggerNoticeEnter( el ) { + // trigger native custom event as jQuery and Vanilla JS both can listen to it. + document.dispatchEvent( new CustomEvent( 'edd_promo_notice_enter', { detail: { notice: el } } ) ); + + el.css( 'display', 'flex' ).hide().fadeIn(); + } + + /** + * Dismiss notice and trigger event + * + * @param {jQuery} el The notice element to dismiss + */ + function triggerNoticeDismiss( el ) { + if ( ! el.is( ':visible' ) ) { + return; + } + + if ( el.is( overlayNoticeWrapper ) ) { + el.fadeOut(); + $( '.edd-extension-manager__key-notice' ).hide(); + } else { + el.slideUp(); + } + + // trigger native custom event as jQuery and Vanilla JS both can listen to it. + document.dispatchEvent( new CustomEvent( 'edd_promo_notice_dismiss', { detail: { notice: el } } ) ); + } } ); diff --git a/assets/js/admin/emails/editor/index.js b/assets/js/admin/emails/editor/index.js new file mode 100644 index 00000000000..481172017a1 --- /dev/null +++ b/assets/js/admin/emails/editor/index.js @@ -0,0 +1,4 @@ +import './recipient.js'; +import './reset.js'; +import './submit.js'; +import './listener.js'; diff --git a/assets/js/admin/emails/editor/listener.js b/assets/js/admin/emails/editor/listener.js new file mode 100644 index 00000000000..f7e3cff4ce9 --- /dev/null +++ b/assets/js/admin/emails/editor/listener.js @@ -0,0 +1,15 @@ +// Listen for any changes to the email editor and set a flag to warn the user if they try to leave the page without saving. +document.addEventListener( 'DOMContentLoaded', function () { + var inputs = document.querySelectorAll( 'input, textarea' ); + for ( var i = 0; i < inputs.length; i++ ) { + inputs[ i ].addEventListener( 'change', function () { + window.onbeforeunload = function () { + return true; + }; + } ); + } + // Remove the warning if the user saves the email. + document.getElementById( 'submit' ).addEventListener( 'click', function () { + window.onbeforeunload = null; + } ); +} ); diff --git a/assets/js/admin/emails/editor/recipient.js b/assets/js/admin/emails/editor/recipient.js new file mode 100644 index 00000000000..a397eb9dd2e --- /dev/null +++ b/assets/js/admin/emails/editor/recipient.js @@ -0,0 +1,21 @@ +; ( function ( document, $ ) { + 'use strict'; + + const recipient = $( '.edd-email__recipient' ); + if ( recipient.length ) { + const custom = $( '.edd-email__recipient--custom' ), + admin = $( '.edd-email__recipient--admin' ); + recipient.on( 'change', function ( e ) { + if ( 'default' === e.target.value ) { + custom.hide(); + admin.show(); + } else if ( 'custom' === e.target.value ) { + custom.show(); + admin.hide(); + } else { + custom.hide(); + admin.hide(); + } + } ); + } +} )( document, jQuery ); diff --git a/assets/js/admin/emails/editor/reset.js b/assets/js/admin/emails/editor/reset.js new file mode 100644 index 00000000000..c2d93fc2811 --- /dev/null +++ b/assets/js/admin/emails/editor/reset.js @@ -0,0 +1,49 @@ +const reset = document.getElementById( 'edd-email-reset' ); +if ( reset ) { + reset.addEventListener( 'click', e => { + e.preventDefault(); + + // disable the button and add updating-message class + reset.classList.remove( 'button-primary' ); + reset.classList.add( 'updating-message' ); + reset.disabled = true; + + // do an ajax call to reset the email settings + const data = { + action: 'edd_reset_email', + nonce: EDDAdminEmails.nonce, + email_id: reset.dataset.email + }; + fetch( EDDAdminEmails.ajaxurl, { + method: 'POST', + credentials: 'same-origin', + headers: { + 'Content-Type': 'application/x-www-form-urlencoded' + }, + body: new URLSearchParams( data ) + } ) + .then( response => response.json() ) + .then( response => { + if ( response.success ) { + const editor = tinymce.get( 'edd-email-content' ), + textArea = document.getElementById( 'edd-email-content' ); + if ( editor ) { + editor.setContent( response.data.content ); + } + textArea.value = response.data.content; + document.querySelector( '.edd-promo-notice-dismiss' ).click(); + reset.classList.remove( 'updating-message' ); + reset.classList.add( 'button-primary', 'updated-message' ); + } + } ) + .catch( error => { + console.error( error ); + } ); + } ); + + // Wait for the promo notice to be dismissed to re-enable the button. + document.addEventListener( 'edd_promo_notice_dismiss', e => { + reset.classList.remove( 'updated-message' ); + reset.disabled = false; + } ); +} diff --git a/assets/js/admin/emails/editor/submit.js b/assets/js/admin/emails/editor/submit.js new file mode 100644 index 00000000000..629ebfe00cb --- /dev/null +++ b/assets/js/admin/emails/editor/submit.js @@ -0,0 +1,17 @@ +document.querySelectorAll( '.edd-email-status-badge' ).forEach( function ( el ) { + setTimeout( function () { + if ( ! el.classList.contains( 'edd-hidden' ) ) { + el.classList.add( 'edd-fadeout' ); + } + }, 5000 ); +} ); + +document.getElementById( 'submit' ).addEventListener( 'click', function ( event ) { + document.querySelectorAll( '.edd-email-status-badge' ).forEach( function ( el ) { + if ( !el.classList.contains( 'edd-hidden' ) ) { + el.remove(); + } else { + el.classList.remove( 'edd-hidden' ); + } + } ); +} ); diff --git a/assets/js/admin/emails/list-table/index.js b/assets/js/admin/emails/list-table/index.js new file mode 100644 index 00000000000..a38e135abaf --- /dev/null +++ b/assets/js/admin/emails/list-table/index.js @@ -0,0 +1,3 @@ +import './list-table'; +import './new-email'; +import './status'; diff --git a/assets/js/admin/emails/list-table/list-table.js b/assets/js/admin/emails/list-table/list-table.js new file mode 100644 index 00000000000..fadbb3f7749 --- /dev/null +++ b/assets/js/admin/emails/list-table/list-table.js @@ -0,0 +1,121 @@ +/** + * Email filtering. + */ +const statusFilter = document.getElementById( 'edd-email-status-filter' ); +const recipientFilter = document.getElementById( 'edd-email-recipient-filter' ); +const senderFilter = document.getElementById( 'edd-email-sender-filter' ); +const contextFilter = document.getElementById( 'edd-email-context-filter' ); +const clearFilters = document.getElementById( 'edd-email-clear-filters' ); +const noItemsFound = document.getElementById( 'no-items' ); + +if ( statusFilter ) { + statusFilter.addEventListener( 'change', updateEmailFilters ); +} +if ( recipientFilter ) { + recipientFilter.addEventListener( 'change', updateEmailFilters ); +} +if ( senderFilter ) { + senderFilter.addEventListener( 'change', updateEmailFilters ); +} +if ( contextFilter ) { + contextFilter.addEventListener( 'change', updateEmailFilters ); +} + +/** + * Updates the table to only show emails that match the filters. + * + * @since 2.7 + * + * @param e + */ +function updateEmailFilters ( e ) { + const tableRows = document.querySelectorAll( 'table.email_templates tbody tr:not(#no-items)' ); + + if ( !tableRows || !( statusFilter || recipientFilter || senderFilter ) ) { + return; + } + + const chosenStatus = statusFilter ? statusFilter.value : '', + chosenRecipient = recipientFilter ? recipientFilter.value : '', + chosenSender = senderFilter ? senderFilter.value : '', + chosenContext = contextFilter ? contextFilter.value : ''; + + clearFilters.style.display = 'none'; + if ( chosenStatus || chosenRecipient || chosenSender || chosenContext ) { + clearFilters.style.display = 'inline-block'; + } + + tableRows.forEach( tableRow => { + // Always show the row by default, because it's easier to start that way. + tableRow.style = ''; + tableRow.classList.remove( 'edd-hidden', 'alternate' ); + + if ( chosenStatus && chosenStatus !== tableRow.getAttribute( 'data-status' ) ) { + hideRow( tableRow ); + } + + if ( chosenRecipient && chosenRecipient !== tableRow.getAttribute( 'data-recipient' ) ) { + hideRow( tableRow ); + } + + if ( chosenSender && chosenSender !== tableRow.getAttribute( 'data-sender' ) ) { + hideRow( tableRow ); + } + + if ( chosenContext && chosenContext !== tableRow.getAttribute( 'data-context' ) ) { + hideRow( tableRow ); + } + } ); + + // If there are no rows with data-type="item" visible, then toggle the "no items found" message. + let visibleRows = document.querySelectorAll( '[data-type="item"]:not(.edd-hidden)' ); + updateRowClass( visibleRows ); + if ( visibleRows.length === 0 ) { + noItemsFound.style = 'table-row'; + } else { + noItemsFound.style.display = 'none'; + } +} + +/** + * Hides a table row and any associated extra content row. + * + * @param {HTMLElement} tableRow - The table row element to hide. + */ +function hideRow( tableRow ) { + tableRow.style.display = 'none'; + tableRow.classList.add( 'edd-hidden' ); +} + +/** + * Updates the row class of elements. + * + * @param {Array} elements - The elements to update the row class for. + */ +function updateRowClass( elements ) { + elements.forEach( ( element, index ) => { + if ( index % 2 === 0 ) { + element.classList.add( 'alternate' ); + } + } ); +} + +if ( clearFilters ) { + clearFilters.addEventListener( 'click', e => { + e.preventDefault(); + if ( statusFilter ) { + statusFilter.value = ''; + } + if ( recipientFilter ) { + recipientFilter.value = ''; + } + if ( senderFilter ) { + senderFilter.value = ''; + } + + if ( contextFilter ) { + contextFilter.value = ''; + } + updateEmailFilters(); + } ); +} diff --git a/assets/js/admin/emails/list-table/new-email.js b/assets/js/admin/emails/list-table/new-email.js new file mode 100644 index 00000000000..b711052dec6 --- /dev/null +++ b/assets/js/admin/emails/list-table/new-email.js @@ -0,0 +1,43 @@ +const newEmail = document.getElementById( 'edd-emails__add' ); +const overlay = document.querySelector( '.edd-emails__add-new__overlay' ); +if ( newEmail ) { + newEmail.addEventListener( 'click', e => { + e.preventDefault(); + + // if the overlay has a display:none, remove the style + if ( overlay.style.display === 'none' ) { + overlay.removeAttribute( 'style' ); + } else { + overlay.style.display = 'none'; + } + } ); + + document.addEventListener( 'click', e => { + if ( newEmail === e.target || overlay.style.display === 'none' ) { + return; + } + if ( overlay.style.display !== 'none' ) { + setTimeout( function () { + if ( !e.target.closest( '.edd-emails__add-new' ) && !e.target.closest( '.edd-emails__add-new__overlay' ) ) { + overlay.style.display = 'none'; + } + }, 100 ); + } + } ); +} + +const addNewEmail = document.querySelectorAll( 'button.edd-emails__add-new' ); +if ( addNewEmail ) { + addNewEmail.forEach( addNewEmail => { + addNewEmail.addEventListener( 'click', e => { + e.preventDefault(); + if ( !addNewEmail.classList.contains( 'edd-promo-notice__trigger' ) ) { + window.location.href = EDDAdminEmails.link + '&email=' + addNewEmail.getAttribute( 'data-value' ); + } else { + setTimeout( function () { + overlay.style.display = 'none'; + }, 5000 ); + } + } ); + } ); +} diff --git a/assets/js/admin/emails/list-table/status.js b/assets/js/admin/emails/list-table/status.js new file mode 100644 index 00000000000..467a26b9f24 --- /dev/null +++ b/assets/js/admin/emails/list-table/status.js @@ -0,0 +1,61 @@ +/* global EDDAdminEmails */ + +; ( function ( document, $ ) { + 'use strict'; + + $( '.edd-email-manager__action' ).on( 'click', function ( e ) { + e.preventDefault(); + + const $btn = $( this ), + action = $btn.attr( 'data-action' ); + + let removeClass = '', + addClass = '', + replaceAction = '', + replaceStatus = ''; + + if ( $btn.attr( 'disabled' ) ) { + return; + } + + switch ( action ) { + case 'enable': + addClass = 'edd-button-toggle--active'; + replaceAction = 'disable'; + replaceStatus = 'inactive'; + break; + + case 'disable': + removeClass = 'edd-button-toggle--active'; + replaceAction = 'enable'; + replaceStatus = 'active'; + break; + + default: + return; + } + + $btn.attr( 'disabled', true ).addClass( 'edd-updating' ); + + const data = { + action: 'edd_update_email_status', + nonce: EDDAdminEmails.nonce, + email_id: $btn.attr( 'data-id' ), + status: $btn.attr( 'data-status' ), + button: action, + }; + + $.post( EDDAdminEmails.ajaxurl, data ) + .done( function ( res ) { + if ( EDDAdminEmails.debug ) { + console.log( res ); + } + $btn.attr( 'disabled', false ).removeClass( 'edd-updating' ); + if ( res.success ) { + $btn.removeClass( removeClass ).addClass( addClass ); + $btn.attr( 'data-action', replaceAction ); + $btn.attr( 'data-status', replaceStatus ); + } + } ); + } ); +} )( document, jQuery ); diff --git a/assets/js/admin/flyout/index.js b/assets/js/admin/flyout/index.js index e59fdd4d1a4..cf35cf2431a 100644 --- a/assets/js/admin/flyout/index.js +++ b/assets/js/admin/flyout/index.js @@ -57,6 +57,8 @@ var EDD_Flyout = { window.addEventListener('load', this.handleScroll.bind(this)); + document.addEventListener( 'edd_promo_notice_enter', () => this.flyoutMenu.classList.add('out') ); + document.addEventListener( 'edd_promo_notice_dismiss', () => setTimeout( this.flyoutMenu.classList.remove('out'), 500 ) ); }, handleScroll: function() { if ( this.overlap.length < 1 ) { diff --git a/assets/js/admin/index.js b/assets/js/admin/index.js index ba94fabbab9..4ec92c0b23d 100755 --- a/assets/js/admin/index.js +++ b/assets/js/admin/index.js @@ -13,5 +13,6 @@ import './components/taxonomies'; import './components/location'; import './components/promos'; import './components/range-slider'; +import './components/navigation'; // Note: This is not common across all admin pages and at some point this code will be moved to a new file that only loads on the orders table page. import './orders/list-table'; diff --git a/assets/js/admin/onboarding/index.js b/assets/js/admin/onboarding/index.js index f2e0af4d067..ff54bd32e61 100644 --- a/assets/js/admin/onboarding/index.js +++ b/assets/js/admin/onboarding/index.js @@ -474,12 +474,19 @@ var EDD_Onboarding = { purchase_receipt_content = wp.editor.getContent(editor_id); } - $( 'textarea#edd_settings_purchase_receipt' ).val( purchase_receipt_content ); + let data = { + action: 'edd_onboarding_save_email', + content: purchase_receipt_content, + email_logo: $( '#email_logo' ).val(), + from_name: $( '#from_name' ).val(), + from_email: $( '#from_email' ).val(), + nonce: EDD_Onboarding.vars.nonce, + }; return $.ajax( { type: 'POST', - url: $('.edd-settings-form').attr("action"), - data: $('.edd-settings-form').serialize(), + url: ajaxurl, + data: data, beforeSend: function() { EDD_Onboarding.loading_state( true ); }, @@ -519,7 +526,9 @@ var EDD_Onboarding = { $( '.edd-onboarding__selected-plugins' ).show(); $( '.edd-onboarding__plugin-install:checked:not(:disabled)' ).each( function() { - selected_plugins.push( $(this).data( 'plugin-name' ) ); + if ( $( this ).data( 'plugin-name' ) && $( this ).data( 'action' ).length > 0 ) { + selected_plugins.push( $( this ).data( 'plugin-name' ) ); + } }); $( '.edd-onboarding__selected-plugins-text' ).html( selected_plugins.join( ', ' ) ); @@ -547,6 +556,7 @@ var EDD_Onboarding = { action: 'edd_onboarding_telemetry_settings', page: 'edd-onboarding-wizard', telemetry_toggle: $( '#edd-onboarding__telemery-toggle' ).is( ':checked' ), + auto_register: $( '#auto-register' ).is( ':checked' ), _wpnonce: EDD_Onboarding.vars.nonce, }, function() { @@ -557,12 +567,14 @@ var EDD_Onboarding = { let selected_plugins = []; let installation_errors = []; $( '.edd-onboarding__plugin-install:checked:not(:disabled)' ).each( function() { - selected_plugins.push({ - plugin_name: $(this).data( 'plugin-name' ), - plugin_file: $(this).data( 'plugin-file' ), - plugin_url: $(this).val(), - action: $(this).data( 'action' ), - }); + if ( $( this ).data( 'plugin-name' ) && $( this ).data( 'action' ).length > 0 ) { + selected_plugins.push({ + plugin_name: $(this).data( 'plugin-name' ), + plugin_file: $(this).data( 'plugin-file' ), + plugin_url: $(this).val(), + action: $(this).data( 'action' ), + }); + } } ); // Install and activate selected plugins. diff --git a/assets/js/admin/orders/order-details/customer.js b/assets/js/admin/orders/order-details/customer.js index 66cc2d276e3..b2e2a18f0c1 100644 --- a/assets/js/admin/orders/order-details/customer.js +++ b/assets/js/admin/orders/order-details/customer.js @@ -43,11 +43,12 @@ jQueryReady( () => { $( '.edd-payment-change-customer-input' ).trigger( 'change' ); // New Customer. - $( '#edd-customer-details' ).on( 'click', '.edd-payment-new-customer, .edd-payment-new-customer-cancel', function( e ) { + $( '.edd-order-customer__actions button' ).on( 'click', function( e ) { e.preventDefault(); var new_customer = $( this ).hasClass( 'edd-payment-new-customer' ), cancel = $( this ).hasClass( 'edd-payment-new-customer-cancel' ); + $( this ).addClass( 'active' ).siblings().removeClass( 'active' ); if ( new_customer ) { $( '.order-customer-info' ).hide(); diff --git a/assets/js/admin/orders/order-details/receipt.js b/assets/js/admin/orders/order-details/receipt.js index 40765d7e5e3..99e8f9e3517 100644 --- a/assets/js/admin/orders/order-details/receipt.js +++ b/assets/js/admin/orders/order-details/receipt.js @@ -7,8 +7,12 @@ import { jQueryReady } from 'utils/jquery.js'; jQueryReady( () => { - const emailSelectSelector = '.edd-order-resend-receipt-email'; const sendEmailButton = $( '#edd-resend-receipt' ); + // If the button is disabled, do nothing. + if ( ! sendEmailButton.attr( 'href' ) ) { + return; + } + const emailSelectSelector = '.edd-order-resend-receipt-email'; const url = new URLSearchParams( sendEmailButton.attr( 'href' ) ); $( document.body ).on( 'change', emailSelectSelector, function() { diff --git a/assets/js/admin/settings/extension-manager/index.js b/assets/js/admin/settings/extension-manager/index.js index 14372c84ca5..56f472e8f36 100644 --- a/assets/js/admin/settings/extension-manager/index.js +++ b/assets/js/admin/settings/extension-manager/index.js @@ -3,17 +3,18 @@ ; ( function ( document, $ ) { 'use strict'; - $( '.edd-extension-manager__actions' ).on( 'click', '.edd-extension-manager__action', function ( e ) { + $( 'body' ).on( 'click', '.edd-extension-manager__actions .edd-extension-manager__action', function ( e ) { e.preventDefault(); - var $btn = $( this ), + let $btn = $( this ), action = $btn.attr( 'data-action' ), plugin = $btn.attr( 'data-plugin' ), type = $btn.attr( 'data-type' ), ajaxAction = '', removeClass = '', addClass = '', - isInstaller = $btn.hasClass( 'edd-button__toggle' ); + isInstaller = $btn.hasClass( 'edd-button__toggle' ), + product = $btn.attr( 'data-product' ); if ( $btn.attr( 'disabled' ) ) { return; @@ -60,7 +61,7 @@ type: type, pass: $btn.attr( 'data-pass' ), id: $btn.attr( 'data-id' ), - product: $btn.attr( 'data-product' ), + product: product, }; $.post( ajaxurl, data ) diff --git a/assets/js/admin/settings/index.js b/assets/js/admin/settings/index.js index 486f95bd64f..8f7cef8f372 100644 --- a/assets/js/admin/settings/index.js +++ b/assets/js/admin/settings/index.js @@ -193,7 +193,6 @@ const EDD_Settings = { } ); - } }; diff --git a/assets/js/admin/stripe/index.js b/assets/js/admin/stripe/index.js index 943724f141e..e0780b00735 100644 --- a/assets/js/admin/stripe/index.js +++ b/assets/js/admin/stripe/index.js @@ -107,7 +107,7 @@ const EDD_Stripe_Connect_Scripts = { return; } - element.className = 'notice notice-' + type; + element.className = 'notice inline notice-' + type; }, hideNotice( element = false ) { diff --git a/assets/js/edd-admin-customers.js b/assets/js/edd-admin-customers.js index 6ec33527d11..599d99df83c 100644 --- a/assets/js/edd-admin-customers.js +++ b/assets/js/edd-admin-customers.js @@ -1 +1 @@ -!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=297)}({1:function(e,t){e.exports=jQuery},297:function(e,t,n){(function(e,t){var n={vars:{customer_card_wrap_editable:e("#edit-customer-info .editable"),customer_card_wrap_edit_item:e("#edit-customer-info .edit-item"),user_id:e('input[name="customerinfo[user_id]"]')},init:function(){this.edit_customer(),this.add_email(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.delete_checked()},edit_customer:function(){e(document.body).on("click","#edit-customer",(function(e){e.preventDefault(),n.vars.customer_card_wrap_editable.hide(),n.vars.customer_card_wrap_edit_item.show().css("display","block")}))},add_email:function(){e(document.body).on("click","#add-customer-email",(function(t){t.preventDefault();var n=e(this),i=n.parents(".customer-section"),o=i.find(".notice-wrap"),r={edd_action:"customer-add-email",customer_id:i.find('input[name="customer-id"]').val(),email:i.find('input[name="additional-email"]').val(),primary:i.find('input[name="make-additional-primary"]').is(":checked"),_wpnonce:i.find('input[name="add_email_nonce"]').val()};o.empty(),n.attr("disabled",!0).addClass("updating-message"),e.post(ajaxurl,r,(function(e){setTimeout((function(){!0===e.success?window.location.href=e.redirect:(n.attr("disabled",!1).removeClass("updating-message"),o.append('

'+e.message+"

"))}),342)}),"json")}))},user_search:function(){e(document.body).on("click.eddSelectUser",".edd_user_search_results a",(function(t){t.preventDefault();var i=e(this).data("userid");n.vars.user_id.val(i)}))},remove_user:function(){e(document.body).on("click","#disconnect-customer",(function(t){if(t.preventDefault(),confirm(edd_vars.disconnect_customer)){var n={edd_action:"disconnect-userid",customer_id:e('input[name="customerinfo[id]"]').val(),_wpnonce:e("#edit-customer-info #_wpnonce").val()};e.post(ajaxurl,n,(function(e){window.location.href=window.location.href}),"json")}}))},cancel_edit:function(){e(document.body).on("click","#edd-edit-customer-cancel",(function(t){t.preventDefault(),n.vars.customer_card_wrap_edit_item.hide(),n.vars.customer_card_wrap_editable.show(),e(".edd_user_search_results").html("")}))},change_country:function(){e('select[name="customerinfo[country]"]').on("change",(function(){var t=e(this),n=e(':input[name="customerinfo[region]"]'),i={action:"edd_get_shop_states",country:t.val(),nonce:t.data("nonce"),field_name:"customerinfo[region]"};return e.post(ajaxurl,i,(function(e){console.log(e),"nostates"===e?n.replaceWith(''):n.replaceWith(e)})),!1}))},delete_checked:function(){e("#edd-customer-delete-confirm").on("change",(function(){var t=e("#edd-customer-delete-records"),n=e("#edd-delete-customer");e(this).prop("checked")?(t.attr("disabled",!1),n.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),n.attr("disabled",!0))}))}};t(document).ready((function(e){n.init()}))}).call(this,n(1),n(1))}}); \ No newline at end of file +!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=297)}({0:function(e,t){e.exports=jQuery},297:function(e,t,n){(function(e,t){var n={vars:{customer_card_wrap_editable:e("#edit-customer-info .editable"),customer_card_wrap_edit_item:e("#edit-customer-info .edit-item"),user_id:e('input[name="customerinfo[user_id]"]')},init:function(){this.edit_customer(),this.add_email(),this.user_search(),this.remove_user(),this.cancel_edit(),this.change_country(),this.delete_checked()},edit_customer:function(){e(document.body).on("click","#edit-customer",(function(e){e.preventDefault(),n.vars.customer_card_wrap_editable.hide(),n.vars.customer_card_wrap_edit_item.show().css("display","block")}))},add_email:function(){e(document.body).on("click","#add-customer-email",(function(t){t.preventDefault();var n=e(this),i=n.parents(".customer-section"),o=i.find(".notice-wrap"),r={edd_action:"customer-add-email",customer_id:i.find('input[name="customer-id"]').val(),email:i.find('input[name="additional-email"]').val(),primary:i.find('input[name="make-additional-primary"]').is(":checked"),_wpnonce:i.find('input[name="add_email_nonce"]').val()};o.empty(),n.attr("disabled",!0).addClass("updating-message"),e.post(ajaxurl,r,(function(e){setTimeout((function(){!0===e.success?window.location.href=e.redirect:(n.attr("disabled",!1).removeClass("updating-message"),o.append('

'+e.message+"

"))}),342)}),"json")}))},user_search:function(){e(document.body).on("click.eddSelectUser",".edd_user_search_results a",(function(t){t.preventDefault();var i=e(this).data("userid");n.vars.user_id.val(i)}))},remove_user:function(){e(document.body).on("click","#disconnect-customer",(function(t){if(t.preventDefault(),confirm(edd_vars.disconnect_customer)){var n={edd_action:"disconnect-userid",customer_id:e('input[name="customerinfo[id]"]').val(),_wpnonce:e("#edit-customer-info #_wpnonce").val()};e.post(ajaxurl,n,(function(e){window.location.href=window.location.href}),"json")}}))},cancel_edit:function(){e(document.body).on("click","#edd-edit-customer-cancel",(function(t){t.preventDefault(),n.vars.customer_card_wrap_edit_item.hide(),n.vars.customer_card_wrap_editable.show(),e(".edd_user_search_results").html("")}))},change_country:function(){e('select[name="customerinfo[country]"]').on("change",(function(){var t=e(this),n=e(':input[name="customerinfo[region]"]'),i={action:"edd_get_shop_states",country:t.val(),nonce:t.data("nonce"),field_name:"customerinfo[region]"};return e.post(ajaxurl,i,(function(e){console.log(e),"nostates"===e?n.replaceWith(''):n.replaceWith(e)})),!1}))},delete_checked:function(){e("#edd-customer-delete-confirm").on("change",(function(){var t=e("#edd-customer-delete-records"),n=e("#edd-delete-customer");e(this).prop("checked")?(t.attr("disabled",!1),n.attr("disabled",!1)):(t.attr("disabled",!0),t.prop("checked",!1),n.attr("disabled",!0))}))}};t(document).ready((function(e){n.init()}))}).call(this,n(0),n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-dashboard.js b/assets/js/edd-admin-dashboard.js index 3464bd60bf0..dc60451c5b0 100644 --- a/assets/js/edd-admin-dashboard.js +++ b/assets/js/edd-admin-dashboard.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=298)}({1:function(e,t){e.exports=jQuery},298:function(e,t,n){(function(e){e(document).ready((function(e){e("#edd_dashboard_sales").length&&e.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(t){e("#edd_dashboard_sales .edd-loading").html(t)}})}))}).call(this,n(1))}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=298)}({0:function(e,t){e.exports=jQuery},298:function(e,t,n){(function(e){e(document).ready((function(e){e("#edd_dashboard_sales").length&&e.ajax({type:"GET",data:{action:"edd_load_dashboard_widget"},url:ajaxurl,success:function(t){e("#edd_dashboard_sales .edd-loading").html(t)}})}))}).call(this,n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-discounts.js b/assets/js/edd-admin-discounts.js index 9040539832b..6fd7d0021a2 100644 --- a/assets/js/edd-admin-discounts.js +++ b/assets/js/edd-admin-discounts.js @@ -1 +1 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=299)}({1:function(e,t){e.exports=jQuery},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var o=function(t){e(t)}}).call(this,n(1))},299:function(e,t,n){"use strict";n.r(t),function(e){var t=n(12);n(300),Object(t.a)((function(){var t=e("#edd_products"),n=e("#edd_categories");(t||n)&&(t.on("change",(function(){e("#edd-discount-product-conditions").toggle(!!t.val().length)})),n.on("change",(function(){e("#edd-discount-category-conditions").toggle(!!n.val().length)})))}))}.call(this,n(1))},300:function(e,t,n){(function(e,t){e((function(e){var t;e("#edd-generator-characters .edd-toggle").on("change",(function(){var t=e("#edd-generator-characters .edd-toggle input:checked"),n=e("#edd-generator-characters .edd-toggle input");1===t.length?t.each((function(){e(this).attr("readonly",!0),e(this).attr("disabled",!0)})):n.each((function(){e(this).attr("readonly",!1),e(this).attr("disabled",!1)}))})),e("#edd-generate-code").on("click",(function(){var n=this,o=e("#generator-letters").is(":checked"),a=e("#generator-numbers").is(":checked");o||a?(t&&(clearTimeout(t),e(this).removeClass("updated-message")),d(),e(this).prop("disabled",!0).addClass("updating-message"),e.ajax({url:ajaxurl,method:"POST",data:{action:"edd_admin_generate_discount_code","edd-discount-nonce":e('[name="edd-discount-nonce"]').val(),prefix:e("#generator-prefix").val(),limit:e("#generator-length").val(),letters:o,numbers:a},success:function(o){o.success?(e("#edd-code").val(o.data.code),e(n).addClass("updated-message"),t=setTimeout((function(){e(n).removeClass("updated-message")}),1e3)):r(o.data.message)},error:function(e){var t;r(null!==(t=e.responseJSON)&&void 0!==t?t:e.responseText)},complete:function(){e(n).prop("disabled",!1).removeClass("updating-message")}})):r(edd_vars.no_letters_or_numbers)})),e(".edd-popup-trigger.disabled").on("mouseover",(function(){e(this).parent().next(".edd-code-generator-popup").show()})),e(".edd-popup-trigger.disabled").on("mouseout",(function(){})),e(document).on("focus",":input",(function(){o(e(this))||n(e(".edd-code-generator-popup"))})).on("click touchstart",(function(t){var r=e(t.target).closest(".edd-popup-trigger").length?e(".edd-popup-trigger"):e(t.target);r.is(".edd-popup-trigger")?r.parent().next(".edd-code-generator-popup").toggle():o(r)||n(e(".edd-code-generator-popup"))})).keyup((function(t){27===t.keyCode&&n(e(".edd-code-generator-popup"))}))}));var n=function(){var e=t(".edd-code-generator-popup");e.hide(),d(e)},o=function(e){return!!e.closest(".edd-code-generator-popup").length},r=function(e){t("
").addClass("notice notice-error").append(t("

").text(e)).insertBefore("#edd-generate-code")},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(e=t(".edd-code-generator-popup:not(.hidden)")),e.find(".notice").remove(),e.css("margin-top",0)}}).call(this,n(1),n(1))}}); \ No newline at end of file +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=299)}({0:function(e,t){e.exports=jQuery},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var o=function(t){e(t)}}).call(this,n(0))},299:function(e,t,n){"use strict";n.r(t),function(e){var t=n(12);n(300),Object(t.a)((function(){var t=e("#edd_products"),n=e("#edd_categories");(t||n)&&(t.on("change",(function(){e("#edd-discount-product-conditions").toggle(!!t.val().length)})),n.on("change",(function(){e("#edd-discount-category-conditions").toggle(!!n.val().length)})))}))}.call(this,n(0))},300:function(e,t,n){(function(e,t){e((function(e){var t;e("#edd-generator-characters .edd-toggle").on("change",(function(){var t=e("#edd-generator-characters .edd-toggle input:checked"),n=e("#edd-generator-characters .edd-toggle input");1===t.length?t.each((function(){e(this).attr("readonly",!0),e(this).attr("disabled",!0)})):n.each((function(){e(this).attr("readonly",!1),e(this).attr("disabled",!1)}))})),e("#edd-generate-code").on("click",(function(){var n=this,o=e("#generator-letters").is(":checked"),a=e("#generator-numbers").is(":checked");o||a?(t&&(clearTimeout(t),e(this).removeClass("updated-message")),d(),e(this).prop("disabled",!0).addClass("updating-message"),e.ajax({url:ajaxurl,method:"POST",data:{action:"edd_admin_generate_discount_code","edd-discount-nonce":e('[name="edd-discount-nonce"]').val(),prefix:e("#generator-prefix").val(),limit:e("#generator-length").val(),letters:o,numbers:a},success:function(o){o.success?(e("#edd-code").val(o.data.code),e(n).addClass("updated-message"),t=setTimeout((function(){e(n).removeClass("updated-message")}),1e3)):r(o.data.message)},error:function(e){var t;r(null!==(t=e.responseJSON)&&void 0!==t?t:e.responseText)},complete:function(){e(n).prop("disabled",!1).removeClass("updating-message")}})):r(edd_vars.no_letters_or_numbers)})),e(".edd-popup-trigger.disabled").on("mouseover",(function(){e(this).parent().next(".edd-code-generator-popup").show()})),e(".edd-popup-trigger.disabled").on("mouseout",(function(){})),e(document).on("focus",":input",(function(){o(e(this))||n(e(".edd-code-generator-popup"))})).on("click touchstart",(function(t){var r=e(t.target).closest(".edd-popup-trigger").length?e(".edd-popup-trigger"):e(t.target);r.is(".edd-popup-trigger")?r.parent().next(".edd-code-generator-popup").toggle():o(r)||n(e(".edd-code-generator-popup"))})).keyup((function(t){27===t.keyCode&&n(e(".edd-code-generator-popup"))}))}));var n=function(){var e=t(".edd-code-generator-popup");e.hide(),d(e)},o=function(e){return!!e.closest(".edd-code-generator-popup").length},r=function(e){t("

").addClass("notice notice-error").append(t("

").text(e)).insertBefore("#edd-generate-code")},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||(e=t(".edd-code-generator-popup:not(.hidden)")),e.find(".notice").remove(),e.css("margin-top",0)}}).call(this,n(0),n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-downloads-editor.js b/assets/js/edd-admin-downloads-editor.js index 17e136209cd..059b3c91114 100644 --- a/assets/js/edd-admin-downloads-editor.js +++ b/assets/js/edd-admin-downloads-editor.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=343)}({26:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rn&&(n=t)})),i=n+=1;var r=t.clone();return r.removeClass("edd_add_blank"),r.attr("data-key",i),r.find("input, select, textarea").val("").each((function(){var t=e(this),n=t.attr("name"),a=t.attr("id");n&&(n=n.replace(/\[(\d+)\]/,"["+parseInt(i)+"]"),t.attr("name",n)),t.attr("data-key",i),void 0!==a&&(a=a.replace(/(\d+)/,parseInt(i)),t.attr("id",a))})),r.find("select").each((function(){e(this).val(t.find('select[name="'+e(this).attr("name")+'"]').val())})),r.find('input[type="checkbox"]').each((function(){e(this).is(":checked")&&e(this).prop("checked",!1),e(this).val(1)})),r.find("span.edd_price_id").each((function(){e(this).text(parseInt(i))})),r.find("input.edd_repeatable_index").each((function(){e(this).val(parseInt(e(this).data("key")))})),r.find("span.edd_file_id").each((function(){e(this).text(parseInt(i))})),r.find(".edd_repeatable_default_input").each((function(){e(this).val(parseInt(i)).removeAttr("checked")})),r.find(".edd_repeatable_condition_field").each((function(){e(this).find("option:eq(0)").prop("selected","selected")})),r.find("label").each((function(){var t=e(this).attr("for");t&&e(this).attr("for",t.replace(/(\d+)/,parseInt(i)))})),r.find(".search-choice").remove(),r.find(".chosen-container").remove(),Object(a.a)(r.find(".edd-help-tip")),r},add:function(){e(document.body).on("click",".edd_add_repeatable",(function(t){t.preventDefault();var i=e(this).closest(".edd_repeatable_table").find(".edd_repeatable_row").last(),n=r.clone_repeatable(i);n.insertAfter(i).find("input, textarea, select").filter(":visible").eq(0).focus(),r.initChosen(n)}))},move:function(){e(".edd_repeatable_table .edd-repeatables-wrap").sortable({axis:"y",handle:".edd-draghandle-anchor",items:".edd_repeatable_row",cursor:"move",tolerance:"pointer",containment:"parent",distance:2,opacity:.7,scroll:!0,update:function(){var t=0;e(this).find(".edd_repeatable_row").each((function(){e(this).find("input.edd_repeatable_index").each((function(){e(this).val(t)})),t++}))},start:function(e,t){t.placeholder.height(t.item.height()-2)}})},remove:function(){e(document.body).on("click",".edd-remove-row, .edd_remove_repeatable",(function(t){t.preventDefault();var i,n=e(this).parents(".edd_repeatable_row"),a=n.parent().find(".edd_repeatable_row").length,r=e(this).data("type"),d="div.edd_repeatable_"+r+"s";if(i=(e(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?n.next(".edd_repeatable_row"):n.prev(".edd_repeatable_row")).find("select, input, textarea, button").filter(":visible").eq(0),"price"===r){var o=n.data("key");e('.edd_repeatable_condition_field option[value="'+o+'"]').remove()}if(a>1)e("input, select",n).val(""),n.fadeOut("fast").remove(),i.focus();else switch(r){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",n).val("");break;default:alert(edd_vars.one_field_min)}e(d).each((function(t){e(this).find("input, select").each((function(){var i=e(this).attr("name");i=i.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",i).attr("id",i)}))}))}))},type:function(){var t=e("#edd_product_files");setTimeout((function(){edd_vars.download_has_files||"service"!==e("#_edd_product_type").val()||t.hide()}),100),e(document.body).on("change","#_edd_product_type",(function(i){var n=e(this).val(),a=e("#edd_download_limit_wrap");t.addClass("ajax--loading");var d={action:"edd_swap_download_type",product_type:n,post_id:edd_vars.post_id};e.post(ajaxurl,d,(function(e){e.success&&(t.find(".inside").empty().append(e.data.html),r.initChosen(t)),t.removeClass("ajax--loading")})),"bundle"===n?(t.show(),a.hide()):"service"===e(this).val()?t.find(".edd_upload_field").toArray().some((function(e){return!!e.value}))?(t.show(),a.show()):(setTimeout((function(){t.hide()}),100),a.hide()):(t.show(),a.show())}))},prices:function(){e(document.body).on("change","#edd_variable_pricing",(function(t){var i=e(this).is(":checked"),n=e("#edd_regular_price_field"),a=e("#edd_variable_price_fields, .edd_repeatable_table .pricing"),r=e(".edd-bundled-product-row, .edd-repeatable-row-standard-fields");i?(n.hide(),a.show(),r.addClass("has-variable-pricing")):(n.show(),a.hide(),r.removeClass("has-variable-pricing"))}))},files:function(){var t;window.formfield="",e(document.body).on("click",".edd_upload_file_button",(function(i){i.preventDefault();var n=e(this);window.formfield=n.closest(".edd_repeatable_upload_wrapper"),t||((t=wp.media.frames.file_frame=wp.media({title:n.data("uploader-title"),frame:"post",state:"insert",button:{text:n.data("uploader-button-text")},multiple:"0"!==e(this).data("multiple")})).on("menu:render:default",(function(e){e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.unset("playlist"),e.unset("video-playlist"),e.set({})})),t.on("insert",(function(){t.state().get("selection").each((function(t,i){var n="image"===(t=t.toJSON()).type&&e(".attachment-display-settings .size option:selected").val(),a=t.url,d=t.title.length>0?t.title:t.filename;if(n&&void 0!==t.sizes[n]&&(a=t.sizes[n].url),"image"===t.type&&(d=n&&void 0!==t.sizes[n]?d+"-"+t.sizes[n].width+"x"+t.sizes[n].height:d+"-"+t.width+"x"+t.height),0===i)window.formfield.find(".edd_repeatable_attachment_id_field").val(t.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(n),window.formfield.find(".edd_repeatable_upload_field").val(a),window.formfield.find(".edd_repeatable_name_field").val(d);else{var o=window.formfield,l=r.clone_repeatable(o);l.find(".edd_repeatable_attachment_id_field").val(t.id),l.find(".edd_repeatable_thumbnail_size_field").val(n),l.find(".edd_repeatable_upload_field").val(a),l.find(".edd_repeatable_name_field").val(d),l.insertAfter(o)}}))}))),t.open()})),e(".edd_repeatable_upload_field").on("focus",(function(){var t=e(this);t.data("originalFile",t.val())})).on("change",(function(){var t=e(this);t.data("originalFile")!==t.val()&&t.closest(".edd-repeatable-row-standard-fields").find(".edd_repeatable_attachment_id_field").val(0)})),window.formfield=""},updatePrices:function(){e("#edd_price_fields").on("keyup",".edd_variable_prices_name",(function(){var t=e(this).parents(".edd_repeatable_row").data("key"),i=e(this).val(),n=e(".edd_repeatable_condition_field option[value="+t+"]");n.length>0?n.text(i):e(".edd_repeatable_condition_field").append(e("").attr("value",t).text(i))}))},showAdvanced:function(){e(document.body).on("click",".toggle-custom-price-option-section",(function(t){t.preventDefault();var i=e(this),n=i.html()===edd_vars.show_advanced_settings;n?i.html(edd_vars.hide_advanced_settings):i.html(edd_vars.show_advanced_settings);var a=i.parents(".edd-repeatable-row-header");a.siblings(".edd-custom-price-option-sections-wrap").slideToggle(),e(":input:not(input[type=button],input[type=submit],button):visible:first",n?a.siblings(".edd-custom-price-option-sections-wrap"):a.siblings(".edd-repeatable-row-standard-fields")).focus()}))},initChosen:function(t){t.find(".edd-select-chosen").each((function(){var t=e(this);t.chosen(Object(n.a)(t))})),t.find(".edd-select-chosen").css("width","100%"),t.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)}});t(document).ready((function(e){r.init()}))}.call(this,i(1),i(1))},302:function(e,t,i){(function(e){e(document).ready((function(e){e("body").on("click","#the-list .editinline",(function(){var t=e(this).closest("tr").attr("id");t=t.replace("post-","");var i=e("#post-"+t).find(".column-price .downloadprice-"+t).val();i!==e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(i).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}))}))}).call(this,i(1))},38:function(e,t,i){"use strict";(function(e,n){i.d(t,"a",(function(){return a}));var a=function(t){t.tooltip({content:function(){return e(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"bottom",at:"top-10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})};n(document).ready((function(e){a(e(".edd-help-tip"))}))}).call(this,i(1),i(1))},4:function(e,t){function i(t){return e.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,i){var n=i(4).default,a=i(13);e.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file +!function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=301)}({0:function(e,t){e.exports=jQuery},13:function(e,t,i){var n=i(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var a=i.call(e,t||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return l}));var n=i(3),a=i.n(n);function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function d(e){for(var t=1;tn&&(n=t)})),i=n+=1;var r=t.clone();return r.removeClass("edd_add_blank"),r.attr("data-key",i),r.find("input, select, textarea").val("").each((function(){var t=e(this),n=t.attr("name"),a=t.attr("id");n&&(n=n.replace(/\[(\d+)\]/,"["+parseInt(i)+"]"),t.attr("name",n)),t.attr("data-key",i),void 0!==a&&(a=a.replace(/(\d+)/,parseInt(i)),t.attr("id",a))})),r.find("select").each((function(){e(this).val(t.find('select[name="'+e(this).attr("name")+'"]').val())})),r.find('input[type="checkbox"]').each((function(){e(this).is(":checked")&&e(this).prop("checked",!1),e(this).val(1)})),r.find("span.edd_price_id").each((function(){e(this).text(parseInt(i))})),r.find("input.edd_repeatable_index").each((function(){e(this).val(parseInt(e(this).data("key")))})),r.find("span.edd_file_id").each((function(){e(this).text(parseInt(i))})),r.find(".edd_repeatable_default_input").each((function(){e(this).val(parseInt(i)).removeAttr("checked")})),r.find(".edd_repeatable_condition_field").each((function(){e(this).find("option:eq(0)").prop("selected","selected")})),r.find("label").each((function(){var t=e(this).attr("for");t&&e(this).attr("for",t.replace(/(\d+)/,parseInt(i)))})),r.find(".search-choice").remove(),r.find(".chosen-container").remove(),Object(a.a)(r.find(".edd-help-tip")),r},add:function(){e(document.body).on("click",".edd_add_repeatable",(function(t){t.preventDefault();var i=e(this).closest(".edd_repeatable_table").find(".edd_repeatable_row").last(),n=r.clone_repeatable(i);n.insertAfter(i).find("input, textarea, select").filter(":visible").eq(0).focus(),r.initChosen(n)}))},move:function(){e(".edd_repeatable_table .edd-repeatables-wrap").sortable({axis:"y",handle:".edd-draghandle-anchor",items:".edd_repeatable_row",cursor:"move",tolerance:"pointer",containment:"parent",distance:2,opacity:.7,scroll:!0,update:function(){var t=0;e(this).find(".edd_repeatable_row").each((function(){e(this).find("input.edd_repeatable_index").each((function(){e(this).val(t)})),t++}))},start:function(e,t){t.placeholder.height(t.item.height()-2)}})},remove:function(){e(document.body).on("click",".edd-remove-row, .edd_remove_repeatable",(function(t){t.preventDefault();var i,n=e(this).parents(".edd_repeatable_row"),a=n.parent().find(".edd_repeatable_row").length,r=e(this).data("type"),d="div.edd_repeatable_"+r+"s";if(i=(e(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?n.next(".edd_repeatable_row"):n.prev(".edd_repeatable_row")).find("select, input, textarea, button").filter(":visible").eq(0),"price"===r){var o=n.data("key");e('.edd_repeatable_condition_field option[value="'+o+'"]').remove()}if(a>1)e("input, select",n).val(""),n.fadeOut("fast").remove(),i.focus();else switch(r){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",n).val("");break;default:alert(edd_vars.one_field_min)}e(d).each((function(t){e(this).find("input, select").each((function(){var i=e(this).attr("name");i=i.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",i).attr("id",i)}))}))}))},type:function(){var t=e("#edd_product_files");setTimeout((function(){edd_vars.download_has_files||"service"!==e("#_edd_product_type").val()||t.hide()}),100),e(document.body).on("change","#_edd_product_type",(function(i){var n=e(this).val(),a=e("#edd_download_limit_wrap");t.addClass("ajax--loading");var d={action:"edd_swap_download_type",product_type:n,post_id:edd_vars.post_id};e.post(ajaxurl,d,(function(e){e.success&&(t.find(".inside").empty().append(e.data.html),r.initChosen(t)),t.removeClass("ajax--loading")})),"bundle"===n?(t.show(),a.hide()):"service"===e(this).val()?t.find(".edd_upload_field").toArray().some((function(e){return!!e.value}))?(t.show(),a.show()):(setTimeout((function(){t.hide()}),100),a.hide()):(t.show(),a.show())}))},prices:function(){e(document.body).on("change","#edd_variable_pricing",(function(t){var i=e(this).is(":checked"),n=e("#edd_regular_price_field"),a=e("#edd_variable_price_fields, .edd_repeatable_table .pricing"),r=e(".edd-bundled-product-row, .edd-repeatable-row-standard-fields");i?(n.hide(),a.show(),r.addClass("has-variable-pricing")):(n.show(),a.hide(),r.removeClass("has-variable-pricing"))}))},files:function(){var t;window.formfield="",e(document.body).on("click",".edd_upload_file_button",(function(i){i.preventDefault();var n=e(this);window.formfield=n.closest(".edd_repeatable_upload_wrapper"),t||((t=wp.media.frames.file_frame=wp.media({title:n.data("uploader-title"),frame:"post",state:"insert",button:{text:n.data("uploader-button-text")},multiple:"0"!==e(this).data("multiple")})).on("menu:render:default",(function(e){e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.unset("playlist"),e.unset("video-playlist"),e.set({})})),t.on("insert",(function(){t.state().get("selection").each((function(t,i){var n="image"===(t=t.toJSON()).type&&e(".attachment-display-settings .size option:selected").val(),a=t.url,d=t.title.length>0?t.title:t.filename;if(n&&void 0!==t.sizes[n]&&(a=t.sizes[n].url),"image"===t.type&&(d=n&&void 0!==t.sizes[n]?d+"-"+t.sizes[n].width+"x"+t.sizes[n].height:d+"-"+t.width+"x"+t.height),0===i)window.formfield.find(".edd_repeatable_attachment_id_field").val(t.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(n),window.formfield.find(".edd_repeatable_upload_field").val(a),window.formfield.find(".edd_repeatable_name_field").val(d);else{var o=window.formfield,l=r.clone_repeatable(o);l.find(".edd_repeatable_attachment_id_field").val(t.id),l.find(".edd_repeatable_thumbnail_size_field").val(n),l.find(".edd_repeatable_upload_field").val(a),l.find(".edd_repeatable_name_field").val(d),l.insertAfter(o)}}))}))),t.open()})),e(".edd_repeatable_upload_field").on("focus",(function(){var t=e(this);t.data("originalFile",t.val())})).on("change",(function(){var t=e(this);t.data("originalFile")!==t.val()&&t.closest(".edd-repeatable-row-standard-fields").find(".edd_repeatable_attachment_id_field").val(0)})),window.formfield=""},updatePrices:function(){e("#edd_price_fields").on("keyup",".edd_variable_prices_name",(function(){var t=e(this).parents(".edd_repeatable_row").data("key"),i=e(this).val(),n=e(".edd_repeatable_condition_field option[value="+t+"]");n.length>0?n.text(i):e(".edd_repeatable_condition_field").append(e("").attr("value",t).text(i))}))},showAdvanced:function(){e(document.body).on("click",".toggle-custom-price-option-section",(function(t){t.preventDefault();var i=e(this),n=i.html()===edd_vars.show_advanced_settings;n?i.html(edd_vars.hide_advanced_settings):i.html(edd_vars.show_advanced_settings);var a=i.parents(".edd-repeatable-row-header");a.siblings(".edd-custom-price-option-sections-wrap").slideToggle(),e(":input:not(input[type=button],input[type=submit],button):visible:first",n?a.siblings(".edd-custom-price-option-sections-wrap"):a.siblings(".edd-repeatable-row-standard-fields")).focus()}))},initChosen:function(t){t.find(".edd-select-chosen").each((function(){var t=e(this);t.chosen(Object(n.a)(t))})),t.find(".edd-select-chosen").css("width","100%"),t.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)}});t(document).ready((function(e){r.init()}))}.call(this,i(0),i(0))},302:function(e,t,i){(function(e){e(document).ready((function(e){e("body").on("click","#the-list .editinline",(function(){var t=e(this).closest("tr").attr("id");t=t.replace("post-","");var i=e("#post-"+t).find(".column-price .downloadprice-"+t).val();i!==e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(i).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}))}))}).call(this,i(0))},38:function(e,t,i){"use strict";(function(e,n){i.d(t,"a",(function(){return a}));var a=function(t){t.tooltip({content:function(){return e(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"bottom",at:"top-10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})};n(document).ready((function(e){a(e(".edd-help-tip"))}))}).call(this,i(0),i(0))},4:function(e,t){function i(t){return e.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,i){var n=i(4).default,a=i(13);e.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file diff --git a/assets/js/edd-admin-email-tags.js b/assets/js/edd-admin-email-tags.js index 79f1ff41d7c..177000b7700 100644 --- a/assets/js/edd-admin-email-tags.js +++ b/assets/js/edd-admin-email-tags.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=371)}({371:function(e,t,n){"use strict";n.r(t);var r=function(e,t){var n=i(t),r=function(e){return-1!==i(e).indexOf(n)};return _.filter(e,(function(e){return r(e.title)||_.some(e.keywords,r)}))},i=function(e){return(e=e.toLowerCase()).trim()};function o(e){var t=document.querySelectorAll(".edd-email-tags-list-item");if(t.length){var n=document.activeElement;if(n&&(n.matches(".edd-email-tags-filter-search")||n.matches(".edd-email-tags-list-button"))){var r,i=!1;if(n.matches(".edd-email-tags-filter-search")){if("up"===e)return;r=_.find(t,(function(e){return"none"!==e.style.display})),i=!0}else r=n.parentElement;for(;!i;)i=!(r="down"===e?r.nextElementSibling:r.previousElementSibling)||"none"!==r.style.display;r?r.querySelector(".edd-email-tags-list-button").focus():"up"===e&&document.querySelector(".edd-email-tags-filter-search").focus()}}}document.addEventListener("DOMContentLoaded",(function(){var e,t,n,i=document.querySelector(".edd-email-tags-inserter");i&&(i.addEventListener("click",tb_position),(e=document.querySelectorAll(".edd-email-tags-list-button"))&&_.each(e,(function(e){e.addEventListener("click",(function(){tb_remove(),window.send_to_editor(e.dataset.to_insert)}))})),(n=document.querySelector(".edd-email-tags-filter-search"))&&n.addEventListener("input",(function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.querySelectorAll(".edd-email-tags-list-item"),n=r(eddEmailTagsInserter.items,e);_.each(t,(function(e){var t=_.findWhere(n,{tag:e.dataset.tag});e.style.display=t?"block":"none"}))}(e.target.value)})),document.addEventListener("keydown",(function(e){var t=e.key||e.keyCode;t&&("ArrowDown"!==t&&40!==t?"ArrowUp"!==t&&38!==t||o("up"):o("down"))})),(t=document.querySelector(".edd-email-tags-inserter"))&&t.addEventListener("click",(function(){setTimeout((function(){var e=document.querySelector(".edd-email-tags-filter-search");e&&(e.value="",e.dispatchEvent(new Event("input")),e.focus())}),10)})))}))}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=383)}({383:function(e,t,n){"use strict";n.r(t);var r=function(e,t){var n=i(t),r=function(e){return-1!==i(e).indexOf(n)};return _.filter(e,(function(e){return r(e.title)||_.some(e.keywords,r)}))},i=function(e){return(e=e.toLowerCase()).trim()};function o(e){var t=document.querySelectorAll(".edd-email-tags-list-item");if(t.length){var n=document.activeElement;if(n&&(n.matches(".edd-email-tags-filter-search")||n.matches(".edd-email-tags-list-button"))){var r,i=!1;if(n.matches(".edd-email-tags-filter-search")){if("up"===e)return;r=_.find(t,(function(e){return"none"!==e.style.display})),i=!0}else r=n.parentElement;for(;!i;)i=!(r="down"===e?r.nextElementSibling:r.previousElementSibling)||"none"!==r.style.display;r?r.querySelector(".edd-email-tags-list-button").focus():"up"===e&&document.querySelector(".edd-email-tags-filter-search").focus()}}}document.addEventListener("DOMContentLoaded",(function(){var e,t,n,i=document.querySelector(".edd-email-tags-inserter");i&&(i.addEventListener("click",tb_position),(e=document.querySelectorAll(".edd-email-tags-list-button"))&&_.each(e,(function(e){e.addEventListener("click",(function(){tb_remove(),window.send_to_editor(e.dataset.to_insert)}))})),(n=document.querySelector(".edd-email-tags-filter-search"))&&n.addEventListener("input",(function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.querySelectorAll(".edd-email-tags-list-item"),n=r(eddEmailTagsInserter.items,e);_.each(t,(function(e){var t=_.findWhere(n,{tag:e.dataset.tag});e.style.display=t?"block":"none"}))}(e.target.value)})),document.addEventListener("keydown",(function(e){var t=e.key||e.keyCode;t&&("ArrowDown"!==t&&40!==t?"ArrowUp"!==t&&38!==t||o("up"):o("down"))})),(t=document.querySelector(".edd-email-tags-inserter"))&&t.addEventListener("click",(function(){setTimeout((function(){var e=document.querySelector(".edd-email-tags-filter-search");e&&(e.value="",e.dispatchEvent(new Event("input")),e.focus())}),10)})))}))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-emails-editor.js b/assets/js/edd-admin-emails-editor.js new file mode 100644 index 00000000000..7896488192f --- /dev/null +++ b/assets/js/edd-admin-emails-editor.js @@ -0,0 +1 @@ +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=329)}({0:function(e,t){e.exports=jQuery},329:function(e,t,n){"use strict";n.r(t),n(330),n(331),n(332),n(333)},330:function(e,t,n){(function(e){!function(e,t){"use strict";var n=t(".edd-email__recipient");if(n.length){var o=t(".edd-email__recipient--custom"),i=t(".edd-email__recipient--admin");n.on("change",(function(e){"default"===e.target.value?(o.hide(),i.show()):"custom"===e.target.value?(o.show(),i.hide()):(o.hide(),i.hide())}))}}(document,e)}).call(this,n(0))},331:function(e,t){var n=document.getElementById("edd-email-reset");n&&(n.addEventListener("click",(function(e){e.preventDefault(),n.classList.remove("button-primary"),n.classList.add("updating-message"),n.disabled=!0;var t={action:"edd_reset_email",nonce:EDDAdminEmails.nonce,email_id:n.dataset.email};fetch(EDDAdminEmails.ajaxurl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(t)}).then((function(e){return e.json()})).then((function(e){if(e.success){var t=tinymce.get("edd-email-content"),o=document.getElementById("edd-email-content");t&&t.setContent(e.data.content),o.value=e.data.content,document.querySelector(".edd-promo-notice-dismiss").click(),n.classList.remove("updating-message"),n.classList.add("button-primary","updated-message")}})).catch((function(e){console.error(e)}))})),document.addEventListener("edd_promo_notice_dismiss",(function(e){n.classList.remove("updated-message"),n.disabled=!1})))},332:function(e,t){document.querySelectorAll(".edd-email-status-badge").forEach((function(e){setTimeout((function(){e.classList.contains("edd-hidden")||e.classList.add("edd-fadeout")}),5e3)})),document.getElementById("submit").addEventListener("click",(function(e){document.querySelectorAll(".edd-email-status-badge").forEach((function(e){e.classList.contains("edd-hidden")?e.classList.remove("edd-hidden"):e.remove()}))}))},333:function(e,t){document.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelectorAll("input, textarea"),t=0;t'+e.data.message+"

"):((s=e.data.message)||(s=EDDExtensionManager.plugin_install_failed),a.addClass("has-response").empty().append('
'+s+"
"))}else{var s,d=n.closest(".edd-extension-manager__step");if(e.success)if(d.length){var l=d.next();l.length&&(d.fadeOut(),l.prepend('

'+e.data.message+"

"),l.fadeIn())}else n.attr("disabled",!1).removeClass("edd-updating"),n.closest(".edd-extension-manager__card").removeClass(r).addClass(o),e.data.button.length&&n.closest(".edd-extension-manager__control").empty().append(e.data.button);else(s=e.data.message)||(s="plugin"!==i?EDDExtensionManager.extension_install_failed:EDDExtensionManager.plugin_install_failed),d.length?(d.fadeOut(),d.after('

'+s+"

")):n.closest(".edd-extension-manager__actions").empty().append('

'+s+"

")}}))}}));var n,a=t("#edd-extension-manager__bar-search");function s(){clearTimeout(n),n=setTimeout(i,342)}function i(){var e=a.val().toLowerCase(),n=0;if(e.length)t(".edd-extension-manager__card").each((function(){var a=t(this).text().toLowerCase().includes(e),s=t(this).data("filter")&&t(this).data("filter").toLowerCase().includes(e);a||s?(n++,t(this).removeClass("edd-hidden")):t(this).addClass("edd-hidden")}));else{var s=t(".edd-extension-manager__card");s.removeClass("edd-hidden"),n=s.length}t(".edd-extension-manager__card:not(.edd-hidden)").hide().show(0),t(".edd-extension-manager__results").remove(),t("#edd-extension-manager__bar-search").after('
'+n+" "+EDDExtensionManager.results+"
")}a&&(EDDExtensionManager.filter&&(a.val(EDDExtensionManager.filter),s()),a.on("keyup",(function(e){s()})),a.on("search",(function(e){s()})))}(document,e)}).call(this,n(1))}}); \ No newline at end of file +!function(e){var t={};function n(a){if(t[a])return t[a].exports;var s=t[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(a,s,function(t){return e[t]}.bind(null,s));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=348)}({0:function(e,t){e.exports=jQuery},348:function(e,t,n){(function(e){!function(e,t){"use strict";t("body").on("click",".edd-extension-manager__actions .edd-extension-manager__action",(function(e){e.preventDefault();var n=t(this),a=n.attr("data-action"),s=n.attr("data-plugin"),i=n.attr("data-type"),d="",r="",o="",l=n.hasClass("edd-button__toggle"),c=n.attr("data-product");if(!n.attr("disabled")){switch(a){case"activate":d="edd_activate_extension",r="edd-plugin__inactive",o="edd-plugin__active",l||n.text(EDDExtensionManager.activating);break;case"install":d="edd_install_extension",o="edd-plugin__active",n.text(EDDExtensionManager.installing);break;case"deactivate":d="edd_deactivate_extension",r="edd-plugin__active",o="edd-plugin__inactive",l||n.text(EDDExtensionManager.deactivating);break;default:return}n.attr("disabled",!0).addClass("edd-updating"),n.hasClass("button-primary")&&n.removeClass("button-primary").addClass("updating-message");var u={action:d,nonce:EDDExtensionManager.extension_manager_nonce,plugin:s,type:i,pass:n.attr("data-pass"),id:n.attr("data-id"),product:c};t.post(ajaxurl,u).done((function(e){if(EDDExtensionManager.debug&&console.log(e),t("#edd-admin-about").length){var a=n.closest(".actions");e.success?a.addClass("has-response").empty().append('
'+e.data.message+"
"):((s=e.data.message)||(s=EDDExtensionManager.plugin_install_failed),a.addClass("has-response").empty().append('
'+s+"
"))}else{var s,d=n.closest(".edd-extension-manager__step");if(e.success)if(d.length){var l=d.next();l.length&&(d.fadeOut(),l.prepend('

'+e.data.message+"

"),l.fadeIn())}else n.attr("disabled",!1).removeClass("edd-updating"),n.closest(".edd-extension-manager__card").removeClass(r).addClass(o),e.data.button.length&&n.closest(".edd-extension-manager__control").empty().append(e.data.button);else(s=e.data.message)||(s="plugin"!==i?EDDExtensionManager.extension_install_failed:EDDExtensionManager.plugin_install_failed),d.length?(d.fadeOut(),d.after('

'+s+"

")):n.closest(".edd-extension-manager__actions").empty().append('

'+s+"

")}}))}}));var n,a=t("#edd-extension-manager__bar-search");function s(){clearTimeout(n),n=setTimeout(i,342)}function i(){var e=a.val().toLowerCase(),n=0;if(e.length)t(".edd-extension-manager__card").each((function(){var a=t(this).text().toLowerCase().includes(e),s=t(this).data("filter")&&t(this).data("filter").toLowerCase().includes(e);a||s?(n++,t(this).removeClass("edd-hidden")):t(this).addClass("edd-hidden")}));else{var s=t(".edd-extension-manager__card");s.removeClass("edd-hidden"),n=s.length}t(".edd-extension-manager__card:not(.edd-hidden)").hide().show(0),t(".edd-extension-manager__results").remove(),t("#edd-extension-manager__bar-search").after('
'+n+" "+EDDExtensionManager.results+"
")}a&&(EDDExtensionManager.filter&&(a.val(EDDExtensionManager.filter),s()),a.on("keyup",(function(e){s()})),a.on("search",(function(e){s()})))}(document,e)}).call(this,n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-flyout.js b/assets/js/edd-admin-flyout.js index 9639abcd42a..842989c4b33 100644 --- a/assets/js/edd-admin-flyout.js +++ b/assets/js/edd-admin-flyout.js @@ -1 +1 @@ -!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=323)}({1:function(t,e){t.exports=jQuery},13:function(t,e,n){var r=n(4).default;t.exports=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},15:function(t,e,n){"use strict";function r(t){return null===t?window.eddStripe:!t in window.eddStripe?"":window.eddStripe[t]}function o(t,e,n){if(window.eddStripe[t]=e,n)return window.eddStripe[t]}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r.a})),n.d(e,"f",(function(){return o.b})),n.d(e,"d",(function(){return o.a})),n.d(e,"h",(function(){return o.c})),n.d(e,"g",(function(){return i.b})),n.d(e,"j",(function(){return i.c})),n.d(e,"b",(function(){return i.a})),n.d(e,"i",(function(){return u})),n.d(e,"k",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"c",(function(){return a})),n(45),n(46),n(47),n(48);var r=n(30),o=n(23),i=n(31);function u(t){var e=!0;return Object(o.b)(t.querySelectorAll("input"),(function(t){t.checkValidity&&!t.checkValidity()&&(e=!1)})),e}function c(t){var e=document.createElement("input");e.type="submit",e.style.display="none",t.appendChild(e),e.click(),e.remove()}function l(t){return t?""===t.value?null:t.value:null}function a(t,e){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(t.length+5),"\n",t,"\n","*".repeat(t.length+5),"\n",JSON.stringify(e,null,4))}n(15)},23:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return c}));var r=n(2),o=n(32),i=n.n(o);function u(){Object(r.f)(arguments,(function(t){document.addEventListener("DOMContentLoaded",t)}))}function c(t){for(var e=[],n=t.nextElementSibling;n;)1===n.nodeType&&e.push(n),n=n.nextElementSibling;return e}n.d(e,"b",(function(){return i.a}))},3:function(t,e,n){var r=n(9);t.exports=function(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},30:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(4),o=n.n(r),i=n(3),u=n.n(i);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"error",n=document.createElement("p");return n.classList.add("edd-alert"),n.classList.add("edd-stripe-alert"),n.style.clear="both","error"===e?n.classList.add("edd-alert-error"):n.classList.add("edd-alert-success"),n.innerHTML=t||edd_stripe_vars.generic_error,n}function o(e){var n=e.errorType,o=e.errorMessage,i=e.errorContainer,u=e.errorContainerReplace,c=void 0===u||u,l=t(i),a=r(o,n);!0===c?l.html(a):l.before(a)}function i(e){t(e).html("")}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}))}).call(this,n(1))},32:function(t,e){var n=/^(?:0|[1-9]\d*)$/;function r(t,e){for(var n=-1,r=t?t.length:0;++n-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}(t)?l.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}function h(t){return v(t)?function(t,e){var n=b(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&v(t)}(t)&&c.call(t,"callee")&&(!a.call(t,"callee")||"[object Arguments]"==l.call(t))}(t)?function(t,e){for(var n=-1,r=Array(t);++n0?this.overlap[0].offsetTop+this.overlap[0].offsetHeight+85:0,r=window.scrollY,o=r+window.innerHeight;e<=o&&t>=r&&n>o?this.flyoutMenu.classList.add("out"):this.flyoutMenu.classList.remove("out")}},debounce:function(t,e,n){var r;return function(){var o=this,i=arguments,u=function(){r=null,n||t.apply(o,i)},c=n&&!r;clearTimeout(r),r=setTimeout(u,e),c&&t.apply(o,i)}}};Object(r.a)((function(){o.init()}))},4:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},45:function(t,e){String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)})},46:function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(Element.prototype.matches.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null})},47:function(t,e){Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r})},48:function(t,e){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},9:function(t,e,n){var r=n(4).default,o=n(13);t.exports=function(t){var e=o(t,"string");return"symbol"==r(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}); \ No newline at end of file +!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=323)}({0:function(t,e){t.exports=jQuery},13:function(t,e,n){var r=n(4).default;t.exports=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},15:function(t,e,n){"use strict";function r(t){return null===t?window.eddStripe:!t in window.eddStripe?"":window.eddStripe[t]}function o(t,e,n){if(window.eddStripe[t]=e,n)return window.eddStripe[t]}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r.a})),n.d(e,"f",(function(){return o.b})),n.d(e,"d",(function(){return o.a})),n.d(e,"h",(function(){return o.c})),n.d(e,"g",(function(){return i.b})),n.d(e,"j",(function(){return i.c})),n.d(e,"b",(function(){return i.a})),n.d(e,"i",(function(){return u})),n.d(e,"k",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"c",(function(){return s})),n(45),n(46),n(47),n(48);var r=n(30),o=n(23),i=n(31);function u(t){var e=!0;return Object(o.b)(t.querySelectorAll("input"),(function(t){t.checkValidity&&!t.checkValidity()&&(e=!1)})),e}function c(t){var e=document.createElement("input");e.type="submit",e.style.display="none",t.appendChild(e),e.click(),e.remove()}function l(t){return t?""===t.value?null:t.value:null}function s(t,e){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(t.length+5),"\n",t,"\n","*".repeat(t.length+5),"\n",JSON.stringify(e,null,4))}n(15)},23:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return c}));var r=n(2),o=n(32),i=n.n(o);function u(){Object(r.f)(arguments,(function(t){document.addEventListener("DOMContentLoaded",t)}))}function c(t){for(var e=[],n=t.nextElementSibling;n;)1===n.nodeType&&e.push(n),n=n.nextElementSibling;return e}n.d(e,"b",(function(){return i.a}))},3:function(t,e,n){var r=n(9);t.exports=function(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},30:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var r=n(4),o=n.n(r),i=n(3),u=n.n(i);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"error",n=document.createElement("p");return n.classList.add("edd-alert"),n.classList.add("edd-stripe-alert"),n.style.clear="both","error"===e?n.classList.add("edd-alert-error"):n.classList.add("edd-alert-success"),n.innerHTML=t||edd_stripe_vars.generic_error,n}function o(e){var n=e.errorType,o=e.errorMessage,i=e.errorContainer,u=e.errorContainerReplace,c=void 0===u||u,l=t(i),s=r(o,n);!0===c?l.html(s):l.before(s)}function i(e){t(e).html("")}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}))}).call(this,n(0))},32:function(t,e){var n=/^(?:0|[1-9]\d*)$/;function r(t,e){for(var n=-1,r=t?t.length:0;++n-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}(t)?l.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}function h(t){return b(t)?function(t,e){var n=v(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&b(t)}(t)&&c.call(t,"callee")&&(!s.call(t,"callee")||"[object Arguments]"==l.call(t))}(t)?function(t,e){for(var n=-1,r=Array(t);++n0?this.overlap[0].offsetTop+this.overlap[0].offsetHeight+85:0,r=window.scrollY,o=r+window.innerHeight;e<=o&&t>=r&&n>o?this.flyoutMenu.classList.add("out"):this.flyoutMenu.classList.remove("out")}},debounce:function(t,e,n){var r;return function(){var o=this,i=arguments,u=function(){r=null,n||t.apply(o,i)},c=n&&!r;clearTimeout(r),r=setTimeout(u,e),c&&t.apply(o,i)}}};Object(r.a)((function(){o.init()}))},4:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},45:function(t,e){String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)})},46:function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(Element.prototype.matches.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null})},47:function(t,e){Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r})},48:function(t,e){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},9:function(t,e,n){var r=n(4).default,o=n(13);t.exports=function(t){var e=o(t,"string");return"symbol"==r(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}); \ No newline at end of file diff --git a/assets/js/edd-admin-licensing.js b/assets/js/edd-admin-licensing.js index 5238e02c4b8..1ed290529b1 100644 --- a/assets/js/edd-admin-licensing.js +++ b/assets/js/edd-admin-licensing.js @@ -1 +1 @@ -!function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=341)}({1:function(e,t){e.exports=jQuery},341:function(e,t,a){(function(e){!function(e,t){"use strict";t("p.submit").remove(),t(".edd-license__control").on("click",".edd-license__action",(function(e){e.preventDefault();var a=t(this),n=a.attr("data-action"),i="",r=a.text(),d=t(this).closest(".edd-license__control"),s=d.find('input[type="password"]'),o=d.find('input[name="apiurl"]');if(!a.attr("disabled")){switch(n){case"activate":i="edd_activate_extension_license",a.text(EDDLicenseHandler.activating);break;case"deactivate":i="edd_deactivate_extension_license",a.text(EDDLicenseHandler.deactivating);break;default:return}a.removeClass("button-primary").attr("disabled",!0).addClass("updating-message");var c={action:i,token:a.attr("data-token"),timestamp:a.attr("data-timestamp"),nonce:a.attr("data-nonce"),license:s.val(),item_id:s.attr("data-item"),item_name:s.attr("data-name"),key:s.attr("data-key"),api:o.val()};t.post(ajaxurl,c).done((function(e){console.log(e),a.text(r);var t=d.next(".edd-license-data");e.success?(e.data.actions&&d.find(".edd-licensing__actions").replaceWith(e.data.actions),e.data.message&&("deactivate"===n?t.find("p").replaceWith(e.data.message):t.replaceWith(e.data.message)),c.license.length&&"activate"===n?s.attr("readonly",!0):s.attr("readonly",!1)):t.find("p").replaceWith(e.data.message),a.attr("disabled",!1).removeClass("updating-message")}))}})),t(".edd-license__control").on("click",".edd-license__delete",(function(e){e.preventDefault();var a=t(this),n=t(this).closest(".edd-license__control"),i=n.find("input"),r={action:"edd_delete_extension_license",token:a.attr("data-token"),timestamp:a.attr("data-timestamp"),nonce:a.attr("data-nonce"),license:i.val(),item_name:i.attr("data-name")};a.attr("disabled",!0).addClass("updating-message"),i.val(""),t.post(ajaxurl,r).done((function(e){e.success&&a.hide(),n.next(".edd-license-data").find("p").replaceWith(e.data.message),a.attr("disabled",!1).removeClass("updating-message")}))}))}(document,e)}).call(this,a(1))}}); \ No newline at end of file +!function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=351)}({0:function(e,t){e.exports=jQuery},351:function(e,t,a){(function(e){!function(e,t){"use strict";t("p.submit").remove(),t(".edd-license__control").on("click",".edd-license__action",(function(e){e.preventDefault();var a=t(this),n=a.attr("data-action"),i="",r=a.text(),d=t(this).closest(".edd-license__control"),s=d.find('input[type="password"]'),o=d.find('input[name="apiurl"]');if(!a.attr("disabled")){switch(n){case"activate":i="edd_activate_extension_license",a.text(EDDLicenseHandler.activating);break;case"deactivate":i="edd_deactivate_extension_license",a.text(EDDLicenseHandler.deactivating);break;default:return}a.removeClass("button-primary").attr("disabled",!0).addClass("updating-message");var c={action:i,token:a.attr("data-token"),timestamp:a.attr("data-timestamp"),nonce:a.attr("data-nonce"),license:s.val(),item_id:s.attr("data-item"),item_name:s.attr("data-name"),key:s.attr("data-key"),api:o.val()};t.post(ajaxurl,c).done((function(e){console.log(e),a.text(r);var t=d.next(".edd-license-data");e.success?(e.data.actions&&d.find(".edd-licensing__actions").replaceWith(e.data.actions),e.data.message&&("deactivate"===n?t.find("p").replaceWith(e.data.message):t.replaceWith(e.data.message)),c.license.length&&"activate"===n?s.attr("readonly",!0):s.attr("readonly",!1)):t.find("p").replaceWith(e.data.message),a.attr("disabled",!1).removeClass("updating-message")}))}})),t(".edd-license__control").on("click",".edd-license__delete",(function(e){e.preventDefault();var a=t(this),n=t(this).closest(".edd-license__control"),i=n.find("input"),r={action:"edd_delete_extension_license",token:a.attr("data-token"),timestamp:a.attr("data-timestamp"),nonce:a.attr("data-nonce"),license:i.val(),item_name:i.attr("data-name")};a.attr("disabled",!0).addClass("updating-message"),i.val(""),t.post(ajaxurl,r).done((function(e){e.success&&a.hide(),n.next(".edd-license-data").find("p").replaceWith(e.data.message),a.attr("disabled",!1).removeClass("updating-message")}))}))}(document,e)}).call(this,a(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-notes.js b/assets/js/edd-admin-notes.js index b185db77f8b..a83587dfe49 100644 --- a/assets/js/edd-admin-notes.js +++ b/assets/js/edd-admin-notes.js @@ -1 +1 @@ -!function(e){var n={};function t(o){if(n[o])return n[o].exports;var d=n[o]={i:o,l:!1,exports:{}};return e[o].call(d.exports,d,d.exports,t),d.l=!0,d.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var d in e)t.d(o,d,function(n){return e[n]}.bind(null,d));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=305)}({1:function(e,n){e.exports=jQuery},305:function(e,n,t){(function(e,n){var t={init:function(){this.enter_key(),this.add_note(),this.remove_note()},enter_key:function(){e(document.body).on("keydown","#edd-note",(function(n){13===n.keyCode&&(n.metaKey||n.ctrlKey)&&(n.preventDefault(),e("#edd-add-note").click())}))},add_note:function(){e("#edd-add-note").on("click",(function(n){n.preventDefault();var t=e(this),o=e("#edd-note"),d=e(".edd-notes"),r=e(".edd-no-notes"),i=e(".edd-add-note .spinner"),a={action:"edd_add_note",nonce:e("#edd_note_nonce").val(),object_id:t.data("object-id"),object_type:t.data("object-type"),note:o.val()};if(a.note)t.prop("disabled",!0),i.css("visibility","visible"),e.ajax({type:"POST",data:a,url:ajaxurl,success:function(e){var n=wpAjax.parseAjaxResponse(e);n=n.responses[0],d.append(n.data),r.hide(),t.prop("disabled",!1),i.css("visibility","hidden"),o.val("")}}).fail((function(e){window.console&&window.console.log&&console.log(e),t.prop("disabled",!1),i.css("visibility","hidden")}));else{var c=o.css("border-color");o.css("border-color","red"),setTimeout((function(){o.css("border-color",c)}),userInteractionInterval)}}))},remove_note:function(){e(document.body).on("click",".edd-delete-note",(function(n){n.preventDefault();var t=e(this),o=e(".edd-note"),d=t.parents(".edd-note"),r=e(".edd-no-notes"),i=e("#edd_note_nonce");if(confirm(edd_vars.delete_note)){var a={action:"edd_delete_note",nonce:i.val(),note_id:t.data("note-id")};return d.addClass("deleting"),e.ajax({type:"POST",data:a,url:ajaxurl,success:function(e){return"1"===e&&d.remove(),1===o.length&&r.show(),!1}}).fail((function(e){window.console&&window.console.log&&console.log(e),d.removeClass("deleting")})),!0}}))}};n(document).ready((function(e){t.init()}))}).call(this,t(1),t(1))}}); \ No newline at end of file +!function(e){var n={};function t(o){if(n[o])return n[o].exports;var d=n[o]={i:o,l:!1,exports:{}};return e[o].call(d.exports,d,d.exports,t),d.l=!0,d.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var d in e)t.d(o,d,function(n){return e[n]}.bind(null,d));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=305)}({0:function(e,n){e.exports=jQuery},305:function(e,n,t){(function(e,n){var t={init:function(){this.enter_key(),this.add_note(),this.remove_note()},enter_key:function(){e(document.body).on("keydown","#edd-note",(function(n){13===n.keyCode&&(n.metaKey||n.ctrlKey)&&(n.preventDefault(),e("#edd-add-note").click())}))},add_note:function(){e("#edd-add-note").on("click",(function(n){n.preventDefault();var t=e(this),o=e("#edd-note"),d=e(".edd-notes"),r=e(".edd-no-notes"),i=e(".edd-add-note .spinner"),a={action:"edd_add_note",nonce:e("#edd_note_nonce").val(),object_id:t.data("object-id"),object_type:t.data("object-type"),note:o.val()};if(a.note)t.prop("disabled",!0),i.css("visibility","visible"),e.ajax({type:"POST",data:a,url:ajaxurl,success:function(e){var n=wpAjax.parseAjaxResponse(e);n=n.responses[0],d.append(n.data),r.hide(),t.prop("disabled",!1),i.css("visibility","hidden"),o.val("")}}).fail((function(e){window.console&&window.console.log&&console.log(e),t.prop("disabled",!1),i.css("visibility","hidden")}));else{var c=o.css("border-color");o.css("border-color","red"),setTimeout((function(){o.css("border-color",c)}),userInteractionInterval)}}))},remove_note:function(){e(document.body).on("click",".edd-delete-note",(function(n){n.preventDefault();var t=e(this),o=e(".edd-note"),d=t.parents(".edd-note"),r=e(".edd-no-notes"),i=e("#edd_note_nonce");if(confirm(edd_vars.delete_note)){var a={action:"edd_delete_note",nonce:i.val(),note_id:t.data("note-id")};return d.addClass("deleting"),e.ajax({type:"POST",data:a,url:ajaxurl,success:function(e){return"1"===e&&d.remove(),1===o.length&&r.show(),!1}}).fail((function(e){window.console&&window.console.log&&console.log(e),d.removeClass("deleting")})),!0}}))}};n(document).ready((function(e){t.init()}))}).call(this,t(0),t(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-notices.js b/assets/js/edd-admin-notices.js index 283a878b29b..c34f4aab2ff 100644 --- a/assets/js/edd-admin-notices.js +++ b/assets/js/edd-admin-notices.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=339)}({1:function(e,t){e.exports=jQuery},339:function(e,t,n){(function(e){!function(e,t){"use strict";t("#edd-disable-debug-log").on("click",(function(e){e.preventDefault(),t(this).attr("disabled",!0);var n=t("#edd-debug-log-notice");t.ajax({type:"GET",data:{action:"edd_disable_debugging",nonce:t("#edd_debug_log_delete").val()},url:ajaxurl,success:function(e){n.empty().append(e.data),setTimeout((function(){n.slideUp()}),3e3)}}).fail((function(e){n.empty().append(e.responseJSON.data)}))}))}(document,e)}).call(this,n(1))}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=349)}({0:function(e,t){e.exports=jQuery},349:function(e,t,n){(function(e){!function(e,t){"use strict";t("#edd-disable-debug-log").on("click",(function(e){e.preventDefault(),t(this).attr("disabled",!0);var n=t("#edd-debug-log-notice");t.ajax({type:"GET",data:{action:"edd_disable_debugging",nonce:t("#edd_debug_log_delete").val()},url:ajaxurl,success:function(e){n.empty().append(e.data),setTimeout((function(){n.slideUp()}),3e3)}}).fail((function(e){n.empty().append(e.responseJSON.data)}))}))}(document,e)}).call(this,n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-onboarding.js b/assets/js/edd-admin-onboarding.js index bbd18450bde..bfff7848d2b 100644 --- a/assets/js/edd-admin-onboarding.js +++ b/assets/js/edd-admin-onboarding.js @@ -1 +1 @@ -!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=306)}({1:function(t,e){t.exports=jQuery},13:function(t,e,n){var o=n(4).default;t.exports=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},3:function(t,e,n){var o=n(9);t.exports=function(t,e,n){return(e=o(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},306:function(t,e,n){"use strict";n.r(e),function(t,e){var o=n(3),r=n.n(o),i=n(6),a=n.n(i),d=n(5),c=n.n(d),s=n(38);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0],n=t(".edd-onboarding_current-next-step").val();if(""===n){if(!e)return!1;f.onboarding_completed(!0)}f.load_step(n)},get_step_class:function(t){var e="EDD_Onboarding_"+t.split("_").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()})).join("_");return void 0!==f[e]&&e},EDD_Onboarding_Business_Info:{init:function(){},save:function(){return t.ajax({type:"POST",url:t(".edd-settings-form").attr("action"),data:t(".edd-settings-form").serialize(),beforeSend:function(){f.loading_state(!0)},success:function(t){}}).fail((function(t){window.console&&window.console.log&&console.log(t)}))}},EDD_Onboarding_Payment_Methods:{init:function(){var e=t("#edds-stripe-connect-account"),n=t("#edds-stripe-disconnect-reconnect");e&&t.ajax({type:"POST",url:ajaxurl,data:{action:"edds_stripe_connect_account_info",accountId:e.data("account-id"),nonce:e.data("nonce"),onboardingWizard:!0},success:function(t){e.removeClass("loading"),n.removeClass("loading"),t.success?(e.html(t.data.message),e.addClass("notice-".concat(t.data.status)),t.data.actions&&n.html(t.data.actions)):(e.html(t.data.message),e.addClass("notice-error"))}}).fail((function(t){}))},save:function(){return Promise.resolve()}},EDD_Onboarding_Configure_Emails:{vars:{wp_editor:!1},init:function(){f.EDD_Onboarding_Configure_Emails.vars.wp_editor&&wp.editor.remove("edd_settings_purchase_receipt"),wp.editor.initialize("edd_settings_purchase_receipt",{tinymce:{wpautop:!0,plugins:"charmap colorpicker compat3x directionality fullscreen hr image lists media paste tabfocus textcolor wordpress wpautoresize wpdialogs wpeditimage wpemoji wpgallery wplink wptextpattern wpview",toolbar1:"bold italic underline strikethrough | bullist numlist | blockquote hr wp_more | alignleft aligncenter alignright | link unlink | fullscreen | wp_adv",toolbar2:"formatselect alignjustify forecolor | pastetext removeformat charmap | outdent indent | undo redo | wp_help"},quicktags:!0,mediaButtons:!0}),t("#edd-onboarding__insert-marker-button a").clone().appendTo(".wp-media-buttons"),f.EDD_Onboarding_Configure_Emails.vars.wp_editor=!0},save:function(){var e="edd_settings_purchase_receipt",n=t("#"+e).val();return tinymce.get(e)&&(n=wp.editor.getContent(e)),t("textarea#edd_settings_purchase_receipt").val(n),t.ajax({type:"POST",url:t(".edd-settings-form").attr("action"),data:t(".edd-settings-form").serialize(),beforeSend:function(){f.loading_state(!0)},success:function(t){}}).fail((function(t){window.console&&window.console.log&&console.log(t)}))}},EDD_Onboarding_Tools:{init:function(){this.get_selected_plugins(),t(document.body).on("change",".edd-onboarding__plugin-install",(function(){f.EDD_Onboarding_Tools.get_selected_plugins()}))},get_selected_plugins:function(){var e=[];t(".edd-onboarding__selected-plugins").show(),t(".edd-onboarding__plugin-install:checked:not(:disabled)").each((function(){e.push(t(this).data("plugin-name"))})),t(".edd-onboarding__selected-plugins-text").html(e.join(", ")),0===e.length&&t(".edd-onboarding__selected-plugins").hide()},save:(p=a()(c.a.mark((function e(){var n,o,r,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f.loading_state(!0),e.next=3,t.post(ajaxurl,{action:"edd_onboarding_telemetry_settings",page:"edd-onboarding-wizard",telemetry_toggle:t("#edd-onboarding__telemery-toggle").is(":checked"),_wpnonce:f.vars.nonce},(function(){}));case 3:n=[],o=[],t(".edd-onboarding__plugin-install:checked:not(:disabled)").each((function(){n.push({plugin_name:t(this).data("plugin-name"),plugin_file:t(this).data("plugin-file"),plugin_url:t(this).val(),action:t(this).data("action")})})),r=c.a.mark((function e(r){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,i){var a="",d="",c="";switch(n[r].action){case"activate":d="edd_activate_extension",c=EDDExtensionManager.activating,a=n[r].plugin_file;break;case"install":d="edd_install_extension",c=EDDExtensionManager.installing,a=n[r].plugin_url}t(".edd-onboarding__loading-status").html(c+" "+n[r].plugin_name+"...");var s={action:d,nonce:EDDExtensionManager.extension_manager_nonce,plugin:a,type:"plugin"};t.post(ajaxurl,s).done((function(t){t.success||o.push(n[r].plugin_name),setTimeout((function(){e()}),1500)}))}));case 2:case"end":return e.stop()}}),e)})),e.t0=c.a.keys(n);case 8:if((e.t1=e.t0()).done){e.next=13;break}return i=e.t1.value,e.delegateYield(r(i),"t2",11);case 11:e.next=8;break;case 13:if(0!==o.length){e.next=17;break}if(0!==n.length){e.next=16;break}return e.abrupt("return",Promise.resolve());case 16:return e.abrupt("return",new Promise((function(e,n){f.loading_state(!1),t(".edd-onboarding").toggleClass("edd-onboarding__loading-in-progress",!0),t(".edd-onboarding__install-success-wrapper").show(),setTimeout((function(){t(".edd-onboarding__install-success-wrapper").hide(),t(".edd-onboarding").toggleClass("edd-onboarding__loading-in-progress",!1),e()}),3200)})));case 17:return t(".edd-onboarding__failed-plugins-text").html(o.join(", ")),t(".edd-onboarding__steps-indicator, .edd-onboarding__single-step-title, .edd-onboarding__single-step-subtitle, .edd-onboarding__single-step-footer, .edd-onboarding__install-plugins").slideUp(),t(".edd-onboarding__install-failed").slideDown(),f.loading_state(!1),e.abrupt("return",Promise.reject());case 22:case"end":return e.stop()}}),e)}))),function(){return p.apply(this,arguments)})},EDD_Onboarding_Products:{init:function(){f.EDD_Onboarding_Products.init_variable_pricing_toggle(),f.EDD_Onboarding_Products.init_files_toggle(),t("#edd_download_files").show()},init_variable_pricing_toggle:function(){t(document.body).on("click",".edd-onboarding__pricing-option-pill button",(function(e){e.preventDefault();var n=t(this).data("variable-pricing");t("#edd_variable_pricing").prop("checked",n),t("#edd_variable_pricing").trigger("change")})),t(document.body).on("change","#edd_variable_pricing",(function(e){e.preventDefault();var n=this.checked;t(".edd-onboarding__pricing-option-pill .active").removeClass("active"),t('.edd-onboarding__pricing-option-pill button[data-variable-pricing="'+n+'"]').addClass("active"),t(".edd-onboarding__product-single-price").show(),t(".edd-onboarding__product-variable-price").hide(),n&&(t(".edd-onboarding__product-variable-price").show(),t(".edd-onboarding__product-single-price").hide()),t(".edd-onboarding__product-files-wrapper").show()}))},init_files_toggle:function(){t(document.body).on("change","#_edd_upload_files",(function(e){e.preventDefault(),t(".edd-onboarding__product-files-row").toggle(this.checked)}))},save:function(){var e=t(".edd-onboarding__create-product-form");if(!e[0].reportValidity())return Promise.reject();var n=Object.fromEntries(new FormData(e[0]));return t.ajax({type:"POST",url:ajaxurl,data:l({action:"edd_onboarding_create_product",page:"edd-onboarding-wizard",_wpnonce:f.vars.nonce},n),beforeSend:function(){f.loading_state(!0)},success:function(e){e.success&&(t(".edd-onboarding__edit-my-product").attr("href",decodeURI(e.redirect_url.replace(/&/g,"&"))),t(".edd-onboarding__single-step-inner").addClass("equal"),t(".edd-onboarding__create-product-form, .edd-onboarding__single-step-title, .edd-onboarding__single-step-subtitle, .edd-onboarding__single-step-footer, .edd-onboarding__close-and-exit").hide(),t(".edd-onboarding__product-created").show(),f.onboarding_completed(!1)),f.loading_state(!1)}}).fail((function(t){window.console&&window.console.log&&console.log(t)}))}}};e(document).ready((function(t){f.init()}))}.call(this,n(1),n(1))},38:function(t,e,n){"use strict";(function(t,o){n.d(e,"a",(function(){return r}));var r=function(e){e.tooltip({content:function(){return t(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"bottom",at:"top-10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})};o(document).ready((function(t){r(t(".edd-help-tip"))}))}).call(this,n(1),n(1))},4:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},5:function(t,e,n){var o=n(67)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6:function(t,e){function n(t,e,n,o,r,i,a){try{var d=t[i](a),c=d.value}catch(t){return void n(t)}d.done?e(c):Promise.resolve(c).then(o,r)}t.exports=function(t){return function(){var e=this,o=arguments;return new Promise((function(r,i){var a=t.apply(e,o);function d(t){n(a,r,i,d,c,"next",t)}function c(t){n(a,r,i,d,c,"throw",t)}d(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},67:function(t,e,n){var o=n(4).default;function r(){"use strict";t.exports=r=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},i=Object.prototype,a=i.hasOwnProperty,d=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function p(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(e){p=function(t,e,n){return t[e]=n}}function f(t,e,n,o){var r=e&&e.prototype instanceof m?e:m,i=Object.create(r.prototype),a=new C(o||[]);return d(i,"_invoke",{value:P(t,n,a)}),i}function g(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var _="suspendedStart",h="executing",b="completed",v={};function m(){}function y(){}function w(){}var x={};p(x,s,(function(){return this}));var j=Object.getPrototypeOf,O=j&&j(j(M([])));O&&O!==i&&a.call(O,s)&&(x=O);var E=w.prototype=m.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function n(r,i,d,c){var s=g(t[r],t,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==o(l)&&a.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,d,c)}),(function(t){n("throw",t,d,c)})):e.resolve(l).then((function(t){u.value=t,d(u)}),(function(t){return n("throw",t,d,c)}))}c(s.arg)}var r;d(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(i,i):i()}})}function P(t,n,o){var r=_;return function(i,a){if(r===h)throw new Error("Generator is already running");if(r===b){if("throw"===i)throw a;return{value:e,done:!0}}for(o.method=i,o.arg=a;;){var d=o.delegate;if(d){var c=L(d,o);if(c){if(c===v)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===_)throw r=b,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=h;var s=g(t,n,o);if("normal"===s.type){if(r=o.done?b:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(r=b,o.method="throw",o.arg=s.arg)}}}function L(t,n){var o=n.method,r=t.iterator[o];if(r===e)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),v;var i=g(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r=0;--r){var i=this.tryEntries[r],d=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:M(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),v}},n}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},9:function(t,e,n){var o=n(4).default,r=n(13);t.exports=function(t){var e=r(t,"string");return"symbol"==o(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}); \ No newline at end of file +!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=306)}({0:function(t,e){t.exports=jQuery},13:function(t,e,n){var o=n(4).default;t.exports=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},3:function(t,e,n){var o=n(9);t.exports=function(t,e,n){return(e=o(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},306:function(t,e,n){"use strict";n.r(e),function(t,e){var o=n(3),r=n.n(o),i=n(6),a=n.n(i),d=n(5),c=n.n(d),s=n(38);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function u(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0],n=t(".edd-onboarding_current-next-step").val();if(""===n){if(!e)return!1;f.onboarding_completed(!0)}f.load_step(n)},get_step_class:function(t){var e="EDD_Onboarding_"+t.split("_").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()})).join("_");return void 0!==f[e]&&e},EDD_Onboarding_Business_Info:{init:function(){},save:function(){return t.ajax({type:"POST",url:t(".edd-settings-form").attr("action"),data:t(".edd-settings-form").serialize(),beforeSend:function(){f.loading_state(!0)},success:function(t){}}).fail((function(t){window.console&&window.console.log&&console.log(t)}))}},EDD_Onboarding_Payment_Methods:{init:function(){var e=t("#edds-stripe-connect-account"),n=t("#edds-stripe-disconnect-reconnect");e&&t.ajax({type:"POST",url:ajaxurl,data:{action:"edds_stripe_connect_account_info",accountId:e.data("account-id"),nonce:e.data("nonce"),onboardingWizard:!0},success:function(t){e.removeClass("loading"),n.removeClass("loading"),t.success?(e.html(t.data.message),e.addClass("notice-".concat(t.data.status)),t.data.actions&&n.html(t.data.actions)):(e.html(t.data.message),e.addClass("notice-error"))}}).fail((function(t){}))},save:function(){return Promise.resolve()}},EDD_Onboarding_Configure_Emails:{vars:{wp_editor:!1},init:function(){f.EDD_Onboarding_Configure_Emails.vars.wp_editor&&wp.editor.remove("edd_settings_purchase_receipt"),wp.editor.initialize("edd_settings_purchase_receipt",{tinymce:{wpautop:!0,plugins:"charmap colorpicker compat3x directionality fullscreen hr image lists media paste tabfocus textcolor wordpress wpautoresize wpdialogs wpeditimage wpemoji wpgallery wplink wptextpattern wpview",toolbar1:"bold italic underline strikethrough | bullist numlist | blockquote hr wp_more | alignleft aligncenter alignright | link unlink | fullscreen | wp_adv",toolbar2:"formatselect alignjustify forecolor | pastetext removeformat charmap | outdent indent | undo redo | wp_help"},quicktags:!0,mediaButtons:!0}),t("#edd-onboarding__insert-marker-button a").clone().appendTo(".wp-media-buttons"),f.EDD_Onboarding_Configure_Emails.vars.wp_editor=!0},save:function(){var e="edd_settings_purchase_receipt",n=t("#"+e).val();tinymce.get(e)&&(n=wp.editor.getContent(e));var o={action:"edd_onboarding_save_email",content:n,email_logo:t("#email_logo").val(),from_name:t("#from_name").val(),from_email:t("#from_email").val(),nonce:f.vars.nonce};return t.ajax({type:"POST",url:ajaxurl,data:o,beforeSend:function(){f.loading_state(!0)},success:function(t){}}).fail((function(t){window.console&&window.console.log&&console.log(t)}))}},EDD_Onboarding_Tools:{init:function(){this.get_selected_plugins(),t(document.body).on("change",".edd-onboarding__plugin-install",(function(){f.EDD_Onboarding_Tools.get_selected_plugins()}))},get_selected_plugins:function(){var e=[];t(".edd-onboarding__selected-plugins").show(),t(".edd-onboarding__plugin-install:checked:not(:disabled)").each((function(){t(this).data("plugin-name")&&t(this).data("action").length>0&&e.push(t(this).data("plugin-name"))})),t(".edd-onboarding__selected-plugins-text").html(e.join(", ")),0===e.length&&t(".edd-onboarding__selected-plugins").hide()},save:(p=a()(c.a.mark((function e(){var n,o,r,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f.loading_state(!0),e.next=3,t.post(ajaxurl,{action:"edd_onboarding_telemetry_settings",page:"edd-onboarding-wizard",telemetry_toggle:t("#edd-onboarding__telemery-toggle").is(":checked"),auto_register:t("#auto-register").is(":checked"),_wpnonce:f.vars.nonce},(function(){}));case 3:n=[],o=[],t(".edd-onboarding__plugin-install:checked:not(:disabled)").each((function(){t(this).data("plugin-name")&&t(this).data("action").length>0&&n.push({plugin_name:t(this).data("plugin-name"),plugin_file:t(this).data("plugin-file"),plugin_url:t(this).val(),action:t(this).data("action")})})),r=c.a.mark((function e(r){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,i){var a="",d="",c="";switch(n[r].action){case"activate":d="edd_activate_extension",c=EDDExtensionManager.activating,a=n[r].plugin_file;break;case"install":d="edd_install_extension",c=EDDExtensionManager.installing,a=n[r].plugin_url}t(".edd-onboarding__loading-status").html(c+" "+n[r].plugin_name+"...");var s={action:d,nonce:EDDExtensionManager.extension_manager_nonce,plugin:a,type:"plugin"};t.post(ajaxurl,s).done((function(t){t.success||o.push(n[r].plugin_name),setTimeout((function(){e()}),1500)}))}));case 2:case"end":return e.stop()}}),e)})),e.t0=c.a.keys(n);case 8:if((e.t1=e.t0()).done){e.next=13;break}return i=e.t1.value,e.delegateYield(r(i),"t2",11);case 11:e.next=8;break;case 13:if(0!==o.length){e.next=17;break}if(0!==n.length){e.next=16;break}return e.abrupt("return",Promise.resolve());case 16:return e.abrupt("return",new Promise((function(e,n){f.loading_state(!1),t(".edd-onboarding").toggleClass("edd-onboarding__loading-in-progress",!0),t(".edd-onboarding__install-success-wrapper").show(),setTimeout((function(){t(".edd-onboarding__install-success-wrapper").hide(),t(".edd-onboarding").toggleClass("edd-onboarding__loading-in-progress",!1),e()}),3200)})));case 17:return t(".edd-onboarding__failed-plugins-text").html(o.join(", ")),t(".edd-onboarding__steps-indicator, .edd-onboarding__single-step-title, .edd-onboarding__single-step-subtitle, .edd-onboarding__single-step-footer, .edd-onboarding__install-plugins").slideUp(),t(".edd-onboarding__install-failed").slideDown(),f.loading_state(!1),e.abrupt("return",Promise.reject());case 22:case"end":return e.stop()}}),e)}))),function(){return p.apply(this,arguments)})},EDD_Onboarding_Products:{init:function(){f.EDD_Onboarding_Products.init_variable_pricing_toggle(),f.EDD_Onboarding_Products.init_files_toggle(),t("#edd_download_files").show()},init_variable_pricing_toggle:function(){t(document.body).on("click",".edd-onboarding__pricing-option-pill button",(function(e){e.preventDefault();var n=t(this).data("variable-pricing");t("#edd_variable_pricing").prop("checked",n),t("#edd_variable_pricing").trigger("change")})),t(document.body).on("change","#edd_variable_pricing",(function(e){e.preventDefault();var n=this.checked;t(".edd-onboarding__pricing-option-pill .active").removeClass("active"),t('.edd-onboarding__pricing-option-pill button[data-variable-pricing="'+n+'"]').addClass("active"),t(".edd-onboarding__product-single-price").show(),t(".edd-onboarding__product-variable-price").hide(),n&&(t(".edd-onboarding__product-variable-price").show(),t(".edd-onboarding__product-single-price").hide()),t(".edd-onboarding__product-files-wrapper").show()}))},init_files_toggle:function(){t(document.body).on("change","#_edd_upload_files",(function(e){e.preventDefault(),t(".edd-onboarding__product-files-row").toggle(this.checked)}))},save:function(){var e=t(".edd-onboarding__create-product-form");if(!e[0].reportValidity())return Promise.reject();var n=Object.fromEntries(new FormData(e[0]));return t.ajax({type:"POST",url:ajaxurl,data:u({action:"edd_onboarding_create_product",page:"edd-onboarding-wizard",_wpnonce:f.vars.nonce},n),beforeSend:function(){f.loading_state(!0)},success:function(e){e.success&&(t(".edd-onboarding__edit-my-product").attr("href",decodeURI(e.redirect_url.replace(/&/g,"&"))),t(".edd-onboarding__single-step-inner").addClass("equal"),t(".edd-onboarding__create-product-form, .edd-onboarding__single-step-title, .edd-onboarding__single-step-subtitle, .edd-onboarding__single-step-footer, .edd-onboarding__close-and-exit").hide(),t(".edd-onboarding__product-created").show(),f.onboarding_completed(!1)),f.loading_state(!1)}}).fail((function(t){window.console&&window.console.log&&console.log(t)}))}}};e(document).ready((function(t){f.init()}))}.call(this,n(0),n(0))},38:function(t,e,n){"use strict";(function(t,o){n.d(e,"a",(function(){return r}));var r=function(e){e.tooltip({content:function(){return t(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"bottom",at:"top-10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})};o(document).ready((function(t){r(t(".edd-help-tip"))}))}).call(this,n(0),n(0))},4:function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},5:function(t,e,n){var o=n(67)();t.exports=o;try{regeneratorRuntime=o}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6:function(t,e){function n(t,e,n,o,r,i,a){try{var d=t[i](a),c=d.value}catch(t){return void n(t)}d.done?e(c):Promise.resolve(c).then(o,r)}t.exports=function(t){return function(){var e=this,o=arguments;return new Promise((function(r,i){var a=t.apply(e,o);function d(t){n(a,r,i,d,c,"next",t)}function c(t){n(a,r,i,d,c,"throw",t)}d(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},67:function(t,e,n){var o=n(4).default;function r(){"use strict";t.exports=r=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},i=Object.prototype,a=i.hasOwnProperty,d=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function p(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(e){p=function(t,e,n){return t[e]=n}}function f(t,e,n,o){var r=e&&e.prototype instanceof m?e:m,i=Object.create(r.prototype),a=new C(o||[]);return d(i,"_invoke",{value:P(t,n,a)}),i}function g(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var _="suspendedStart",h="executing",b="completed",v={};function m(){}function y(){}function w(){}var x={};p(x,s,(function(){return this}));var j=Object.getPrototypeOf,O=j&&j(j(M([])));O&&O!==i&&a.call(O,s)&&(x=O);var E=w.prototype=m.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function n(r,i,d,c){var s=g(t[r],t,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==o(u)&&a.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,d,c)}),(function(t){n("throw",t,d,c)})):e.resolve(u).then((function(t){l.value=t,d(l)}),(function(t){return n("throw",t,d,c)}))}c(s.arg)}var r;d(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(i,i):i()}})}function P(t,n,o){var r=_;return function(i,a){if(r===h)throw new Error("Generator is already running");if(r===b){if("throw"===i)throw a;return{value:e,done:!0}}for(o.method=i,o.arg=a;;){var d=o.delegate;if(d){var c=L(d,o);if(c){if(c===v)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===_)throw r=b,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=h;var s=g(t,n,o);if("normal"===s.type){if(r=o.done?b:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(r=b,o.method="throw",o.arg=s.arg)}}}function L(t,n){var o=n.method,r=t.iterator[o];if(r===e)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),v;var i=g(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r=0;--r){var i=this.tryEntries[r],d=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;T(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:M(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),v}},n}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},9:function(t,e,n){var o=n(4).default,r=n(13);t.exports=function(t){var e=r(t,"string");return"symbol"==o(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}); \ No newline at end of file diff --git a/assets/js/edd-admin-orders.js b/assets/js/edd-admin-orders.js index 2ddbb043150..607b4ad57b6 100644 --- a/assets/js/edd-admin-orders.js +++ b/assets/js/edd-admin-orders.js @@ -1 +1 @@ -!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=307)}({1:function(t,e){t.exports=jQuery},103:function(t,e,n){"use strict";var r,o=n(3),i=n.n(o),u=n(28),a=n(284),c=n(290),s=n(65),f=n(61),d=Backbone.Model.extend({defaults:{id:0,number:"",total:0,dateCreated:"",dateCreatedi18n:""}}),l=Backbone.Collection.extend({model:d}),p=Backbone.Model.extend({defaults:{isAdding:!1,isFetching:!1,hasQuantity:!1,hasTax:!1,items:[],adjustments:[],refunds:[],formatters:{currency:new u.a,number:new u.b}},getTaxCountry:function(){return!1!==this.get("hasTax")?this.get("hasTax").country:""},getTaxRegion:function(){return!1!==this.get("hasTax")?this.get("hasTax").region:""},getSubtotal:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!1===this.get("isAdding"))return this.get("order").subtotal;var e=this.get("items"),n=e.models;return n.reduce((function(e,n){return e+ +n.getSubtotal(t)}),0)},getDiscount:function(){return!1===this.get("isAdding")?this.get("order").discount:this.get("adjustments").getByType("discount").reduce((function(t,e){return t+ +e.getAmount()}),0)},getTax:function(){if(!1===this.get("isAdding"))return this.get("order").tax;var t=this.get("items").models,e=this.getFeesTax();return t.reduce((function(t,e){return t+ +e.getTax()}),e)},getFeesTax:function(){return!1===this.get("isAdding")?this.get("order").tax:this.get("adjustments").getByType("fee").reduce((function(t,e){return t+ +e.getTax()}),0)},getTotal:function(){if(!1===this.get("isAdding"))return this.get("order").total;var t=this.get("adjustments").models.reduce((function(t,e){return["discount","credit"].includes(e.get("type"))?t-+e.getAmount():t+ +e.get("subtotal")}),this.getSubtotal(!0));return!0===this.hasInclusiveTax()?t+this.getFeesTax():t+this.getTax()},hasNewTaxRate:function(){var t=this.get("hasTax");if(!1===t)return!1;var e=this.previous("hasTax");return!_.isEqual(t,e)},hasInclusiveTax:function(){return this.get("hasTax").inclusive}});function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e"']/g,N=RegExp(z.source),F=RegExp(R.source),L=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Z.source),J=/^\s+/,K=/\s/,H=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,G=/\{\n\/\* \[wrapped with (.+)\] \*/,Y=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,ut=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,ct=/^(?:0|[1-9]\d*)$/,st=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ft=/($^)/,dt=/['\n\r\u2028\u2029\\]/g,lt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="["+pt+"]",vt="["+lt+"]",gt="\\d+",yt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+pt+gt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",bt="[^\\ud800-\\udfff]",wt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",jt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",xt="(?:"+yt+"|"+mt+")",Pt="(?:"+jt+"|"+mt+")",At="(?:"+vt+"|"+_t+")?",kt="[\\ufe0e\\ufe0f]?"+At+"(?:\\u200d(?:"+[bt,wt,Ot].join("|")+")[\\ufe0e\\ufe0f]?"+At+")*",Tt="(?:"+["[\\u2700-\\u27bf]",wt,Ot].join("|")+")"+kt,Dt="(?:"+[bt+vt+"?",vt,wt,Ot,"[\\ud800-\\udfff]"].join("|")+")",St=RegExp("['’]","g"),It=RegExp(vt,"g"),Et=RegExp(_t+"(?="+_t+")|"+Dt+kt,"g"),Ct=RegExp([jt+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ht,jt,"$"].join("|")+")",Pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ht,jt+xt,"$"].join("|")+")",jt+"?"+xt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",jt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gt,Tt].join("|"),"g"),Bt=RegExp("[\\u200d\\ud800-\\udfff"+lt+"\\ufe0e\\ufe0f]"),Mt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rt=-1,Nt={};Nt[P]=Nt[A]=Nt[k]=Nt[T]=Nt[D]=Nt[S]=Nt["[object Uint8ClampedArray]"]=Nt[I]=Nt[E]=!0,Nt[c]=Nt[s]=Nt[j]=Nt[f]=Nt[x]=Nt[d]=Nt[l]=Nt[p]=Nt[v]=Nt[g]=Nt[y]=Nt[m]=Nt[_]=Nt[b]=Nt[O]=!1;var Ft={};Ft[c]=Ft[s]=Ft[j]=Ft[x]=Ft[f]=Ft[d]=Ft[P]=Ft[A]=Ft[k]=Ft[T]=Ft[D]=Ft[v]=Ft[g]=Ft[y]=Ft[m]=Ft[_]=Ft[b]=Ft[w]=Ft[S]=Ft["[object Uint8ClampedArray]"]=Ft[I]=Ft[E]=!0,Ft[l]=Ft[p]=Ft[O]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wt=parseFloat,Ut=parseInt,qt="object"==typeof t&&t&&t.Object===Object&&t,$t="object"==typeof self&&self&&self.Object===Object&&self,Vt=qt||$t||Function("return this")(),Zt=e&&!e.nodeType&&e,Qt=Zt&&"object"==typeof r&&r&&!r.nodeType&&r,Jt=Qt&&Qt.exports===Zt,Kt=Jt&&qt.process,Ht=function(){try{return Qt&&Qt.require&&Qt.require("util").types||Kt&&Kt.binding&&Kt.binding("util")}catch(t){}}(),Gt=Ht&&Ht.isArrayBuffer,Yt=Ht&&Ht.isDate,Xt=Ht&&Ht.isMap,te=Ht&&Ht.isRegExp,ee=Ht&&Ht.isSet,ne=Ht&&Ht.isTypedArray;function re(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function oe(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o-1}function fe(t,e,n){for(var r=-1,o=null==t?0:t.length;++r-1;);return n}function Ce(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Be(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Me=xe({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ze=xe({"&":"&","<":"<",">":">",'"':""","'":"'"});function Re(t){return"\\"+Lt[t]}function Ne(t){return Bt.test(t)}function Fe(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Le(t,e){return function(n){return t(e(n))}}function We(t,e){for(var n=-1,r=t.length,o=0,i=[];++n",""":'"',"'":"'"}),Je=function t(e){var n,r=(e=null==e?Vt:Je.defaults(Vt.Object(),e,Je.pick(Vt,zt))).Array,o=e.Date,K=e.Error,lt=e.Function,pt=e.Math,ht=e.Object,vt=e.RegExp,gt=e.String,yt=e.TypeError,mt=r.prototype,_t=lt.prototype,bt=ht.prototype,wt=e["__core-js_shared__"],Ot=_t.toString,jt=bt.hasOwnProperty,xt=0,Pt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",At=bt.toString,kt=Ot.call(ht),Tt=Vt._,Dt=vt("^"+Ot.call(jt).replace(Z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Et=Jt?e.Buffer:void 0,Bt=e.Symbol,Lt=e.Uint8Array,qt=Et?Et.allocUnsafe:void 0,$t=Le(ht.getPrototypeOf,ht),Zt=ht.create,Qt=bt.propertyIsEnumerable,Kt=mt.splice,Ht=Bt?Bt.isConcatSpreadable:void 0,ge=Bt?Bt.iterator:void 0,xe=Bt?Bt.toStringTag:void 0,Ke=function(){try{var t=ti(ht,"defineProperty");return t({},"",{}),t}catch(t){}}(),He=e.clearTimeout!==Vt.clearTimeout&&e.clearTimeout,Ge=o&&o.now!==Vt.Date.now&&o.now,Ye=e.setTimeout!==Vt.setTimeout&&e.setTimeout,Xe=pt.ceil,tn=pt.floor,en=ht.getOwnPropertySymbols,nn=Et?Et.isBuffer:void 0,rn=e.isFinite,on=mt.join,un=Le(ht.keys,ht),an=pt.max,cn=pt.min,sn=o.now,fn=e.parseInt,dn=pt.random,ln=mt.reverse,pn=ti(e,"DataView"),hn=ti(e,"Map"),vn=ti(e,"Promise"),gn=ti(e,"Set"),yn=ti(e,"WeakMap"),mn=ti(ht,"create"),_n=yn&&new yn,bn={},wn=Di(pn),On=Di(hn),jn=Di(vn),xn=Di(gn),Pn=Di(yn),An=Bt?Bt.prototype:void 0,kn=An?An.valueOf:void 0,Tn=An?An.toString:void 0;function Dn(t){if(Zu(t)&&!Mu(t)&&!(t instanceof Cn)){if(t instanceof En)return t;if(jt.call(t,"__wrapped__"))return Si(t)}return new En(t)}var Sn=function(){function t(){}return function(e){if(!Vu(e))return{};if(Zt)return Zt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function In(){}function En(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Cn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Bn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Gn(t,e,n,r,o,i){var u,a=1&e,s=2&e,l=4&e;if(n&&(u=o?n(t,r,o,i):n(t)),void 0!==u)return u;if(!Vu(t))return t;var O=Mu(t);if(O){if(u=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return mo(t,u)}else{var C=ri(t),B=C==p||C==h;if(Fu(t))return lo(t,a);if(C==y||C==c||B&&!o){if(u=s||B?{}:ii(t),!a)return s?function(t,e){return _o(t,ni(t),e)}(t,function(t,e){return t&&_o(e,ja(e),t)}(u,t)):function(t,e){return _o(t,ei(t),e)}(t,Qn(u,t))}else{if(!Ft[C])return o?t:{};u=function(t,e,n){var r,o=t.constructor;switch(e){case j:return po(t);case f:case d:return new o(+t);case x:return function(t,e){var n=e?po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case A:case k:case T:case D:case S:case"[object Uint8ClampedArray]":case I:case E:return ho(t,n);case v:return new o;case g:case b:return new o(t);case m:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new o;case w:return r=t,kn?ht(kn.call(r)):{}}}(t,C,a)}}i||(i=new Nn);var M=i.get(t);if(M)return M;i.set(t,u),Gu(t)?t.forEach((function(r){u.add(Gn(r,e,n,r,t,i))})):Qu(t)&&t.forEach((function(r,o){u.set(o,Gn(r,e,n,o,t,i))}));var z=O?void 0:(l?s?Qo:Zo:s?ja:Oa)(t);return ie(z||t,(function(r,o){z&&(r=t[o=r]),$n(u,o,Gn(r,e,n,o,t,i))})),u}function Yn(t,e,n){var r=n.length;if(null==t)return!r;for(t=ht(t);r--;){var o=n[r],i=e[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Xn(t,e,n){if("function"!=typeof t)throw new yt(i);return bi((function(){t.apply(void 0,n)}),e)}function tr(t,e,n,r){var o=-1,i=se,u=!0,a=t.length,c=[],s=e.length;if(!a)return c;n&&(e=de(e,De(n))),r?(i=fe,u=!1):e.length>=200&&(i=Ie,u=!1,e=new Rn(e));t:for(;++o-1},Mn.prototype.set=function(t,e){var n=this.__data__,r=Vn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Bn,map:new(hn||Mn),string:new Bn}},zn.prototype.delete=function(t){var e=Yo(this,t).delete(t);return this.size-=e?1:0,e},zn.prototype.get=function(t){return Yo(this,t).get(t)},zn.prototype.has=function(t){return Yo(this,t).has(t)},zn.prototype.set=function(t,e){var n=Yo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Mn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Mn){var r=n.__data__;if(!hn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new zn(r)}return n.set(t,e),this.size=n.size,this};var er=Oo(sr),nr=Oo(fr,!0);function rr(t,e){var n=!0;return er(t,(function(t,r,o){return n=!!e(t,r,o)})),n}function or(t,e,n){for(var r=-1,o=t.length;++r0&&n(a)?e>1?ur(a,e-1,n,r,o):le(o,a):r||(o[o.length]=a)}return o}var ar=jo(),cr=jo(!0);function sr(t,e){return t&&ar(t,e,Oa)}function fr(t,e){return t&&cr(t,e,Oa)}function dr(t,e){return ce(e,(function(e){return Uu(t[e])}))}function lr(t,e){for(var n=0,r=(e=ao(e,t)).length;null!=t&&ne}function gr(t,e){return null!=t&&jt.call(t,e)}function yr(t,e){return null!=t&&e in ht(t)}function mr(t,e,n){for(var o=n?fe:se,i=t[0].length,u=t.length,a=u,c=r(u),s=1/0,f=[];a--;){var d=t[a];a&&e&&(d=de(d,De(e))),s=cn(d.length,s),c[a]=!n&&(e||i>=120&&d.length>=120)?new Rn(a&&d):void 0}d=t[0];var l=-1,p=c[0];t:for(;++l=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}));r--;)t[r]=t[r].value;return t}(kr(t,(function(t,n,o){return{criteria:de(e,(function(e){return e(t)})),index:++r,value:t}})))}function Cr(t,e,n){for(var r=-1,o=e.length,i={};++r-1;)a!==t&&Kt.call(a,c,1),Kt.call(t,c,1);return t}function Mr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;ai(o)?Kt.call(t,o,1):Xr(t,o)}}return t}function zr(t,e){return t+tn(dn()*(e-t+1))}function Rr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Nr(t,e){return wi(vi(t,e,Ja),t+"")}function Fr(t){return Ln(Ia(t))}function Lr(t,e){var n=Ia(t);return xi(n,Hn(e,0,n.length))}function Wr(t,e,n,r){if(!Vu(t))return t;for(var o=-1,i=(e=ao(e,t)).length,u=i-1,a=t;null!=a&&++oi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var u=r(i);++o>>1,u=t[i];null!==u&&!Xu(u)&&(n?u<=e:u=200){var s=e?null:No(t);if(s)return Ue(s);u=!1,o=Ie,c=new Rn}else c=e?[]:a;t:for(;++r=r?t:Vr(t,e,n)}var fo=He||function(t){return Vt.clearTimeout(t)};function lo(t,e){if(e)return t.slice();var n=t.length,r=qt?qt(n):new t.constructor(n);return t.copy(r),r}function po(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function ho(t,e){var n=e?po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function vo(t,e){if(t!==e){var n=void 0!==t,r=null===t,o=t==t,i=Xu(t),u=void 0!==e,a=null===e,c=e==e,s=Xu(e);if(!a&&!s&&!i&&t>e||i&&u&&c&&!a&&!s||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!s&&t1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&ci(n[0],n[1],u)&&(i=o<3?void 0:i,o=1),e=ht(e);++r-1?o[i?e[u]:u]:void 0}}function To(t){return Vo((function(e){var n=e.length,r=n,o=En.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new yt(i);if(o&&!a&&"wrapper"==Ko(u))var a=new En([],!0)}for(r=a?r:n;++r1&&_.reverse(),d&&sa))return!1;var s=i.get(t),f=i.get(e);if(s&&f)return s==e&&f==t;var d=-1,l=!0,p=2&n?new Rn:void 0;for(i.set(t,e),i.set(e,t);++d-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(H,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ie(a,(function(n){var r="_."+n[0];e&n[1]&&!se(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(G);return e?e[1].split(Y):[]}(r),n)))}function ji(t){var e=0,n=0;return function(){var r=sn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function xi(t,e){var n=-1,r=t.length,o=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Hi(t,n)}));function ru(t){var e=Dn(t);return e.__chain__=!0,e}function ou(t,e){return e(t)}var iu=Vo((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Kn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Cn&&ai(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:ou,args:[o],thisArg:void 0}),new En(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(o)})),uu=bo((function(t,e,n){jt.call(t,n)?++t[n]:Jn(t,n,1)})),au=ko(Bi),cu=ko(Mi);function su(t,e){return(Mu(t)?ie:er)(t,Go(e,3))}function fu(t,e){return(Mu(t)?ue:nr)(t,Go(e,3))}var du=bo((function(t,e,n){jt.call(t,n)?t[n].push(e):Jn(t,n,[e])})),lu=Nr((function(t,e,n){var o=-1,i="function"==typeof e,u=Ru(t)?r(t.length):[];return er(t,(function(t){u[++o]=i?re(e,t,n):_r(t,e,n)})),u})),pu=bo((function(t,e,n){Jn(t,n,e)}));function hu(t,e){return(Mu(t)?de:kr)(t,Go(e,3))}var vu=bo((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),gu=Nr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ci(t,e[0],e[1])?e=[]:n>2&&ci(e[0],e[1],e[2])&&(e=[e[0]]),Er(t,ur(e,1),[])})),yu=Ge||function(){return Vt.Date.now()};function mu(t,e,n){return e=n?void 0:e,Lo(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function _u(t,e){var n;if("function"!=typeof e)throw new yt(i);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var bu=Nr((function(t,e,n){var r=1;if(n.length){var o=We(n,Ho(bu));r|=32}return Lo(t,r,e,n,o)})),wu=Nr((function(t,e,n){var r=3;if(n.length){var o=We(n,Ho(wu));r|=32}return Lo(e,r,t,n,o)}));function Ou(t,e,n){var r,o,u,a,c,s,f=0,d=!1,l=!1,p=!0;if("function"!=typeof t)throw new yt(i);function h(e){var n=r,i=o;return r=o=void 0,f=e,a=t.apply(i,n)}function v(t){return f=t,c=bi(y,e),d?h(t):a}function g(t){var n=t-s;return void 0===s||n>=e||n<0||l&&t-f>=u}function y(){var t=yu();if(g(t))return m(t);c=bi(y,function(t){var n=e-(t-s);return l?cn(n,u-(t-f)):n}(t))}function m(t){return c=void 0,p&&r?h(t):(r=o=void 0,a)}function _(){var t=yu(),n=g(t);if(r=arguments,o=this,s=t,n){if(void 0===c)return v(s);if(l)return fo(c),c=bi(y,e),h(s)}return void 0===c&&(c=bi(y,e)),a}return e=aa(e)||0,Vu(n)&&(d=!!n.leading,u=(l="maxWait"in n)?an(aa(n.maxWait)||0,e):u,p="trailing"in n?!!n.trailing:p),_.cancel=function(){void 0!==c&&fo(c),f=0,r=s=o=c=void 0},_.flush=function(){return void 0===c?a:m(yu())},_}var ju=Nr((function(t,e){return Xn(t,1,e)})),xu=Nr((function(t,e,n){return Xn(t,aa(e)||0,n)}));function Pu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(Pu.Cache||zn),n}function Au(t){if("function"!=typeof t)throw new yt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Pu.Cache=zn;var ku=co((function(t,e){var n=(e=1==e.length&&Mu(e[0])?de(e[0],De(Go())):de(ur(e,1),De(Go()))).length;return Nr((function(r){for(var o=-1,i=cn(r.length,n);++o=e})),Bu=br(function(){return arguments}())?br:function(t){return Zu(t)&&jt.call(t,"callee")&&!Qt.call(t,"callee")},Mu=r.isArray,zu=Gt?De(Gt):function(t){return Zu(t)&&hr(t)==j};function Ru(t){return null!=t&&$u(t.length)&&!Uu(t)}function Nu(t){return Zu(t)&&Ru(t)}var Fu=nn||ac,Lu=Yt?De(Yt):function(t){return Zu(t)&&hr(t)==d};function Wu(t){if(!Zu(t))return!1;var e=hr(t);return e==l||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ku(t)}function Uu(t){if(!Vu(t))return!1;var e=hr(t);return e==p||e==h||"[object AsyncFunction]"==e||"[object Proxy]"==e}function qu(t){return"number"==typeof t&&t==ia(t)}function $u(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Vu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Zu(t){return null!=t&&"object"==typeof t}var Qu=Xt?De(Xt):function(t){return Zu(t)&&ri(t)==v};function Ju(t){return"number"==typeof t||Zu(t)&&hr(t)==g}function Ku(t){if(!Zu(t)||hr(t)!=y)return!1;var e=$t(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ot.call(n)==kt}var Hu=te?De(te):function(t){return Zu(t)&&hr(t)==m},Gu=ee?De(ee):function(t){return Zu(t)&&ri(t)==_};function Yu(t){return"string"==typeof t||!Mu(t)&&Zu(t)&&hr(t)==b}function Xu(t){return"symbol"==typeof t||Zu(t)&&hr(t)==w}var ta=ne?De(ne):function(t){return Zu(t)&&$u(t.length)&&!!Nt[hr(t)]},ea=Mo(Ar),na=Mo((function(t,e){return t<=e}));function ra(t){if(!t)return[];if(Ru(t))return Yu(t)?Ve(t):mo(t);if(ge&&t[ge])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ge]());var e=ri(t);return(e==v?Fe:e==_?Ue:Ia)(t)}function oa(t){return t?(t=aa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=oa(t),n=e%1;return e==e?n?e-n:e:0}function ua(t){return t?Hn(ia(t),0,4294967295):0}function aa(t){if("number"==typeof t)return t;if(Xu(t))return NaN;if(Vu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Vu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Te(t);var n=it.test(t);return n||at.test(t)?Ut(t.slice(2),n?2:8):ot.test(t)?NaN:+t}function ca(t){return _o(t,ja(t))}function sa(t){return null==t?"":Gr(t)}var fa=wo((function(t,e){if(li(e)||Ru(e))_o(e,Oa(e),t);else for(var n in e)jt.call(e,n)&&$n(t,n,e[n])})),da=wo((function(t,e){_o(e,ja(e),t)})),la=wo((function(t,e,n,r){_o(e,ja(e),t,r)})),pa=wo((function(t,e,n,r){_o(e,Oa(e),t,r)})),ha=Vo(Kn),va=Nr((function(t,e){t=ht(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&ci(e[0],e[1],o)&&(r=1);++n1),e})),_o(t,Qo(t),n),r&&(n=Gn(n,7,qo));for(var o=e.length;o--;)Xr(n,e[o]);return n})),ka=Vo((function(t,e){return null==t?{}:function(t,e){return Cr(t,e,(function(e,n){return ma(t,n)}))}(t,e)}));function Ta(t,e){if(null==t)return{};var n=de(Qo(t),(function(t){return[t]}));return e=Go(e),Cr(t,n,(function(t,n){return e(t,n[0])}))}var Da=Fo(Oa),Sa=Fo(ja);function Ia(t){return null==t?[]:Se(t,Oa(t))}var Ea=Po((function(t,e,n){return e=e.toLowerCase(),t+(n?Ca(e):e)}));function Ca(t){return Wa(sa(t).toLowerCase())}function Ba(t){return(t=sa(t))&&t.replace(st,Me).replace(It,"")}var Ma=Po((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),za=Po((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ra=xo("toLowerCase"),Na=Po((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Fa=Po((function(t,e,n){return t+(n?" ":"")+Wa(e)})),La=Po((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Wa=xo("toUpperCase");function Ua(t,e,n){return t=sa(t),void 0===(e=n?void 0:e)?function(t){return Mt.test(t)}(t)?function(t){return t.match(Ct)||[]}(t):function(t){return t.match(X)||[]}(t):t.match(e)||[]}var qa=Nr((function(t,e){try{return re(t,void 0,e)}catch(t){return Wu(t)?t:new K(t)}})),$a=Vo((function(t,e){return ie(e,(function(e){e=Ti(e),Jn(t,e,bu(t[e],t))})),t}));function Va(t){return function(){return t}}var Za=To(),Qa=To(!0);function Ja(t){return t}function Ka(t){return xr("function"==typeof t?t:Gn(t,1))}var Ha=Nr((function(t,e){return function(n){return _r(n,t,e)}})),Ga=Nr((function(t,e){return function(n){return _r(t,n,e)}}));function Ya(t,e,n){var r=Oa(e),o=dr(e,r);null!=n||Vu(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=dr(e,Oa(e)));var i=!(Vu(n)&&"chain"in n&&!n.chain),u=Uu(t);return ie(o,(function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__),o=n.__actions__=mo(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,le([this.value()],arguments))})})),t}function Xa(){}var tc=Eo(de),ec=Eo(ae),nc=Eo(ve);function rc(t){return si(t)?je(Ti(t)):function(t){return function(e){return lr(e,t)}}(t)}var oc=Bo(),ic=Bo(!0);function uc(){return[]}function ac(){return!1}var cc,sc=Io((function(t,e){return t+e}),0),fc=Ro("ceil"),dc=Io((function(t,e){return t/e}),1),lc=Ro("floor"),pc=Io((function(t,e){return t*e}),1),hc=Ro("round"),vc=Io((function(t,e){return t-e}),0);return Dn.after=function(t,e){if("function"!=typeof e)throw new yt(i);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Dn.ary=mu,Dn.assign=fa,Dn.assignIn=da,Dn.assignInWith=la,Dn.assignWith=pa,Dn.at=ha,Dn.before=_u,Dn.bind=bu,Dn.bindAll=$a,Dn.bindKey=wu,Dn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Mu(t)?t:[t]},Dn.chain=ru,Dn.chunk=function(t,e,n){e=(n?ci(t,e,n):void 0===e)?1:an(ia(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,u=0,a=r(Xe(o/e));io?0:o+n),(r=void 0===r||r>o?o:ia(r))<0&&(r+=o),r=n>r?0:ua(r);n>>0)?(t=sa(t))&&("string"==typeof e||null!=e&&!Hu(e))&&!(e=Gr(e))&&Ne(t)?so(Ve(t),0,n):t.split(e,n):[]},Dn.spread=function(t,e){if("function"!=typeof t)throw new yt(i);return e=null==e?0:an(ia(e),0),Nr((function(n){var r=n[e],o=so(n,0,e);return r&&le(o,r),re(t,this,o)}))},Dn.tail=function(t){var e=null==t?0:t.length;return e?Vr(t,1,e):[]},Dn.take=function(t,e,n){return t&&t.length?Vr(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Dn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Vr(t,(e=r-(e=n||void 0===e?1:ia(e)))<0?0:e,r):[]},Dn.takeRightWhile=function(t,e){return t&&t.length?eo(t,Go(e,3),!1,!0):[]},Dn.takeWhile=function(t,e){return t&&t.length?eo(t,Go(e,3)):[]},Dn.tap=function(t,e){return e(t),t},Dn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new yt(i);return Vu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ou(t,e,{leading:r,maxWait:e,trailing:o})},Dn.thru=ou,Dn.toArray=ra,Dn.toPairs=Da,Dn.toPairsIn=Sa,Dn.toPath=function(t){return Mu(t)?de(t,Ti):Xu(t)?[t]:mo(ki(sa(t)))},Dn.toPlainObject=ca,Dn.transform=function(t,e,n){var r=Mu(t),o=r||Fu(t)||ta(t);if(e=Go(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Vu(t)&&Uu(i)?Sn($t(t)):{}}return(o?ie:sr)(t,(function(t,r,o){return e(n,t,r,o)})),n},Dn.unary=function(t){return mu(t,1)},Dn.union=Zi,Dn.unionBy=Qi,Dn.unionWith=Ji,Dn.uniq=function(t){return t&&t.length?Yr(t):[]},Dn.uniqBy=function(t,e){return t&&t.length?Yr(t,Go(e,2)):[]},Dn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Yr(t,void 0,e):[]},Dn.unset=function(t,e){return null==t||Xr(t,e)},Dn.unzip=Ki,Dn.unzipWith=Hi,Dn.update=function(t,e,n){return null==t?t:to(t,e,uo(n))},Dn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:to(t,e,uo(n),r)},Dn.values=Ia,Dn.valuesIn=function(t){return null==t?[]:Se(t,ja(t))},Dn.without=Gi,Dn.words=Ua,Dn.wrap=function(t,e){return Tu(uo(e),t)},Dn.xor=Yi,Dn.xorBy=Xi,Dn.xorWith=tu,Dn.zip=eu,Dn.zipObject=function(t,e){return oo(t||[],e||[],$n)},Dn.zipObjectDeep=function(t,e){return oo(t||[],e||[],Wr)},Dn.zipWith=nu,Dn.entries=Da,Dn.entriesIn=Sa,Dn.extend=da,Dn.extendWith=la,Ya(Dn,Dn),Dn.add=sc,Dn.attempt=qa,Dn.camelCase=Ea,Dn.capitalize=Ca,Dn.ceil=fc,Dn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=aa(n))==n?n:0),void 0!==e&&(e=(e=aa(e))==e?e:0),Hn(aa(t),e,n)},Dn.clone=function(t){return Gn(t,4)},Dn.cloneDeep=function(t){return Gn(t,5)},Dn.cloneDeepWith=function(t,e){return Gn(t,5,e="function"==typeof e?e:void 0)},Dn.cloneWith=function(t,e){return Gn(t,4,e="function"==typeof e?e:void 0)},Dn.conformsTo=function(t,e){return null==e||Yn(t,e,Oa(e))},Dn.deburr=Ba,Dn.defaultTo=function(t,e){return null==t||t!=t?e:t},Dn.divide=dc,Dn.endsWith=function(t,e,n){t=sa(t),e=Gr(e);var r=t.length,o=n=void 0===n?r:Hn(ia(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Dn.eq=Iu,Dn.escape=function(t){return(t=sa(t))&&F.test(t)?t.replace(R,ze):t},Dn.escapeRegExp=function(t){return(t=sa(t))&&Q.test(t)?t.replace(Z,"\\$&"):t},Dn.every=function(t,e,n){var r=Mu(t)?ae:rr;return n&&ci(t,e,n)&&(e=void 0),r(t,Go(e,3))},Dn.find=au,Dn.findIndex=Bi,Dn.findKey=function(t,e){return ye(t,Go(e,3),sr)},Dn.findLast=cu,Dn.findLastIndex=Mi,Dn.findLastKey=function(t,e){return ye(t,Go(e,3),fr)},Dn.floor=lc,Dn.forEach=su,Dn.forEachRight=fu,Dn.forIn=function(t,e){return null==t?t:ar(t,Go(e,3),ja)},Dn.forInRight=function(t,e){return null==t?t:cr(t,Go(e,3),ja)},Dn.forOwn=function(t,e){return t&&sr(t,Go(e,3))},Dn.forOwnRight=function(t,e){return t&&fr(t,Go(e,3))},Dn.get=ya,Dn.gt=Eu,Dn.gte=Cu,Dn.has=function(t,e){return null!=t&&oi(t,e,gr)},Dn.hasIn=ma,Dn.head=Ri,Dn.identity=Ja,Dn.includes=function(t,e,n,r){t=Ru(t)?t:Ia(t),n=n&&!r?ia(n):0;var o=t.length;return n<0&&(n=an(o+n,0)),Yu(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&_e(t,e,n)>-1},Dn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ia(n);return o<0&&(o=an(r+o,0)),_e(t,e,o)},Dn.inRange=function(t,e,n){return e=oa(e),void 0===n?(n=e,e=0):n=oa(n),function(t,e,n){return t>=cn(e,n)&&t=-9007199254740991&&t<=9007199254740991},Dn.isSet=Gu,Dn.isString=Yu,Dn.isSymbol=Xu,Dn.isTypedArray=ta,Dn.isUndefined=function(t){return void 0===t},Dn.isWeakMap=function(t){return Zu(t)&&ri(t)==O},Dn.isWeakSet=function(t){return Zu(t)&&"[object WeakSet]"==hr(t)},Dn.join=function(t,e){return null==t?"":on.call(t,e)},Dn.kebabCase=Ma,Dn.last=Wi,Dn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=ia(n))<0?an(r+o,0):cn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):me(t,we,o,!0)},Dn.lowerCase=za,Dn.lowerFirst=Ra,Dn.lt=ea,Dn.lte=na,Dn.max=function(t){return t&&t.length?or(t,Ja,vr):void 0},Dn.maxBy=function(t,e){return t&&t.length?or(t,Go(e,2),vr):void 0},Dn.mean=function(t){return Oe(t,Ja)},Dn.meanBy=function(t,e){return Oe(t,Go(e,2))},Dn.min=function(t){return t&&t.length?or(t,Ja,Ar):void 0},Dn.minBy=function(t,e){return t&&t.length?or(t,Go(e,2),Ar):void 0},Dn.stubArray=uc,Dn.stubFalse=ac,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=pc,Dn.nth=function(t,e){return t&&t.length?Ir(t,ia(e)):void 0},Dn.noConflict=function(){return Vt._===this&&(Vt._=Tt),this},Dn.noop=Xa,Dn.now=yu,Dn.pad=function(t,e,n){t=sa(t);var r=(e=ia(e))?$e(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Co(tn(o),n)+t+Co(Xe(o),n)},Dn.padEnd=function(t,e,n){t=sa(t);var r=(e=ia(e))?$e(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=dn();return cn(t+o*(e-t+Wt("1e-"+((o+"").length-1))),e)}return zr(t,e)},Dn.reduce=function(t,e,n){var r=Mu(t)?pe:Pe,o=arguments.length<3;return r(t,Go(e,4),n,o,er)},Dn.reduceRight=function(t,e,n){var r=Mu(t)?he:Pe,o=arguments.length<3;return r(t,Go(e,4),n,o,nr)},Dn.repeat=function(t,e,n){return e=(n?ci(t,e,n):void 0===e)?1:ia(e),Rr(sa(t),e)},Dn.replace=function(){var t=arguments,e=sa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Dn.result=function(t,e,n){var r=-1,o=(e=ao(e,t)).length;for(o||(o=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=cn(t,4294967295);t-=4294967295;for(var o=ke(r,e=Go(e));++n=i)return t;var a=n-$e(r);if(a<1)return r;var c=u?so(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+r;if(u&&(a+=c.length-a),Hu(o)){if(t.slice(a).search(o)){var s,f=c;for(o.global||(o=vt(o.source,sa(rt.exec(o))+"g")),o.lastIndex=0;s=o.exec(f);)var d=s.index;c=c.slice(0,void 0===d?a:d)}}else if(t.indexOf(Gr(o),a)!=a){var l=c.lastIndexOf(o);l>-1&&(c=c.slice(0,l))}return c+r},Dn.unescape=function(t){return(t=sa(t))&&N.test(t)?t.replace(z,Qe):t},Dn.uniqueId=function(t){var e=++xt;return sa(t)+e},Dn.upperCase=La,Dn.upperFirst=Wa,Dn.each=su,Dn.eachRight=fu,Dn.first=Ri,Ya(Dn,(cc={},sr(Dn,(function(t,e){jt.call(Dn.prototype,e)||(cc[e]=t)})),cc),{chain:!1}),Dn.VERSION="4.17.21",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Dn[t].placeholder=Dn})),ie(["drop","take"],(function(t,e){Cn.prototype[t]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!e?new Cn(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Cn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Cn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Go(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Cn.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Cn.prototype[t]=function(){return this.__filtered__?new Cn(this):this[n](1)}})),Cn.prototype.compact=function(){return this.filter(Ja)},Cn.prototype.find=function(t){return this.filter(t).head()},Cn.prototype.findLast=function(t){return this.reverse().find(t)},Cn.prototype.invokeMap=Nr((function(t,e){return"function"==typeof t?new Cn(this):this.map((function(n){return _r(n,t,e)}))})),Cn.prototype.reject=function(t){return this.filter(Au(Go(t)))},Cn.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Cn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},Cn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Cn.prototype.toArray=function(){return this.take(4294967295)},sr(Cn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Dn[r?"take"+("last"==e?"Right":""):e],i=r||/^find/.test(e);o&&(Dn.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,a=e instanceof Cn,c=u[0],s=a||Mu(e),f=function(t){var e=o.apply(Dn,le([t],u));return r&&d?e[0]:e};s&&n&&"function"==typeof c&&1!=c.length&&(a=s=!1);var d=this.__chain__,l=!!this.__actions__.length,p=i&&!d,h=a&&!l;if(!i&&s){e=h?e:new Cn(this);var v=t.apply(e,u);return v.__actions__.push({func:ou,args:[f],thisArg:void 0}),new En(v,d)}return p&&h?t.apply(this,u):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=mt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Dn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Mu(o)?o:[],t)}return this[n]((function(n){return e.apply(Mu(n)?n:[],t)}))}})),sr(Cn.prototype,(function(t,e){var n=Dn[e];if(n){var r=n.name+"";jt.call(bn,r)||(bn[r]=[]),bn[r].push({name:e,func:n})}})),bn[Do(void 0,2).name]=[{name:"wrapper",func:void 0}],Cn.prototype.clone=function(){var t=new Cn(this.__wrapped__);return t.__actions__=mo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=mo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=mo(this.__views__),t},Cn.prototype.reverse=function(){if(this.__filtered__){var t=new Cn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Cn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Mu(t),r=e<0,o=n?t.length:0,i=function(t,e,n){for(var r=-1,o=n.length;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Dn.prototype.plant=function(t){for(var e,n=this;n instanceof In;){var r=Si(n);r.__index__=0,r.__values__=void 0,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Dn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Cn){var e=t;return this.__actions__.length&&(e=new Cn(this)),(e=e.reverse()).__actions__.push({func:ou,args:[Vi],thisArg:void 0}),new En(e,this.__chain__)}return this.thru(Vi)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,ge&&(Dn.prototype[ge]=function(){return this}),Dn}();Vt._=Je,void 0===(o=function(){return Je}.call(e,n,e,r))||(r.exports=o)}).call(this)}).call(this,n(71),n(107)(t))},105:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r={};n.r(r),n.d(r,"find",(function(){return a}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return f})),n.d(o,"find",(function(){return v})),n.d(o,"findPrevious",(function(){return g})),n.d(o,"findNext",(function(){return y}));var i=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function u(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function a(t){var e=t.querySelectorAll(i);return Array.from(e).filter((function(t){return!(!u(t)||function(t){return"iframe"===t.nodeName.toLowerCase()&&"-1"===t.getAttribute("tabindex")}(t))&&("AREA"!==t.nodeName||function(t){var e=t.closest("map[name]");if(!e)return!1;var n=t.ownerDocument.querySelector('img[usemap="#'+e.name+'"]');return!!n&&u(n)}(t))}))}var c=n(104);function s(t){var e=t.getAttribute("tabindex");return null===e?0:parseInt(e,10)}function f(t){return-1!==s(t)}function d(t,e){return{element:t,index:e}}function l(t){return t.element}function p(t,e){var n=s(t.element),r=s(e.element);return n===r?t.index-e.index:n-r}function h(t){return t.filter(f).map(d).sort(p).map(l).reduce((e={},function(t,n){var r=n.nodeName,o=n.type,i=n.checked,u=n.name;if("INPUT"!==r||"radio"!==o||!u)return t.concat(n);var a=e.hasOwnProperty(u);if(!i&&a)return t;if(a){var s=e[u];t=Object(c.without)(t,s)}return e[u]=n,t.concat(n)}),[]);var e}function v(t){return h(a(t))}function g(t){var e=a(t.ownerDocument.body),n=e.indexOf(t);return e.length=n,Object(c.last)(h(e))}function y(t){var e=a(t.ownerDocument.body),n=e.indexOf(t),r=e.slice(n+1).filter((function(e){return!t.contains(e)}));return Object(c.first)(h(r))}var m={focusable:r,tabbable:o}},106:function(t,e,n){"use strict";t.exports=function(t,e,n,r){t=(t+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+t)?+t:0,i=isFinite(+e)?Math.abs(e):0,u=void 0===r?",":r,a=void 0===n?".":n,c="";return(c=(i?function(t,e){if(-1===(""+t).indexOf("e"))return+(Math.round(t+"e+"+e)+"e-"+e);var n=(""+t).split("e"),r="";return+n[1]+e>0&&(r="+"),(+(Math.round(+n[0]+"e"+r+(+n[1]+e))+"e-"+e)).toFixed(e)}(o,i).toString():""+Math.round(o)).split("."))[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,u)),(c[1]||"").length0&&(r=".".concat(o()(e.classList).join("."))),null!==r){var i=t.querySelector(r);if(i){i.focus();try{i.setSelectionRange&&i.setSelectionRange(n,n)}catch(t){}}}}}})}).call(this,n(1))},17:function(t,e,n){var r=n(68),o=n(69),i=n(37),u=n(70);t.exports=function(t){return r(t)||o(t)||i(t)||u()},t.exports.__esModule=!0,t.exports.default=t.exports},20:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var r=n(3),o=n.n(r);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{};u()(this,t);var n=edd_vars,r=n.currency_decimals,o=n.decimal_separator,i=n.thousands_separator;this.config=f({precision:r,decimalSeparator:o,thousandSeparator:i},e)}return c()(t,[{key:"format",value:function(t){var e=t;"number"!=typeof t&&(e=parseFloat(t)),isNaN(e)&&(e=0);var n=this.config,r=n.precision,o=n.decimalSeparator,i=n.thousandSeparator;return d(e,r,o,i)}},{key:"unformat",value:function(t){var e=this.config,n=e.decimalSeparator,r=e.thousandSeparator;"string"!=typeof t&&(t=String(t));var o=t.replace(r,"").replace(n,"."),i=parseFloat(o);return isNaN(i)?0:i}},{key:"absint",value:function(t){var e=this.unformat(t);return e>=0?e:-1*e}}]),t}();function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};u()(this,t);var n=edd_vars,r=n.currency,o=n.currency_sign,i=n.currency_pos,a=n.currency_decimals,c=n.decimal_separator,s=n.thousands_separator;this.config=h({currency:r,currencySymbol:o,currencySymbolPosition:i,precision:a,decimalSeparator:c,thousandSeparator:s},e),this.number=new l(this.config)}return c()(t,[{key:"format",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.config,r=n.currencySymbol,o=n.currencySymbolPosition,i=t<0,u=this.number.format(t),a="";switch(i&&(u=this.number.format(-1*t)),o){case"before":a=r+u;break;case"after":a=u+r}return!0===i&&!1===e&&(a="-".concat(a)),a}},{key:"unformat",value:function(t){var e=this.config.currencySymbol,n=t.replace(e,"");return this.number.unformat(n)}}]),t}()},284:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(294),o=n(286),i=wp.Backbone.View.extend({el:"#edd-order-overview",events:{"click .toggle-row":"onToggleRow"},render:function(){return this.views.add(new r.a(this.options)),document.getElementById("edd-order-overview-actions")&&this.views.add(new o.a(this.options)),this},onToggleRow:function(e){e.preventDefault(),t(e.target).closest("tr").toggleClass("is-expanded")}})}).call(this,n(1))},285:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(16),o=n(29),i=o.a.extend({el:"#edd-admin-order-copy-download-link-dialog",template:wp.template("edd-admin-order-copy-download-link"),initialize:function(){o.a.prototype.initialize.apply(this,arguments),this.link=!1,this.addEvents({"click #close":"closeDialog"}),this.fetchLink.call(this)},prepare:function(){return{link:this.link}},render:function(){r.a.prototype.render.apply(this,arguments);var t=this.el,e=this.link;!1!==e&&""!==e&&t.querySelector("#link").select()},fetchLink:function(){var e=this,n=this.options,r=n.orderId,o=n.productId,i=n.priceId;t.ajax({type:"POST",url:ajaxurl,data:{action:"edd_get_file_download_link",payment_id:r,download_id:o,price_id:i}}).done((function(t){t=t.trim(),["-1","-2","-3","-4",""].includes(t)?e.link="":e.link=t.trim()})).done((function(){return e.render()}))}})}).call(this,n(1))},286:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(38),o=n(287),i=n(288),u=n(289),a=wp.Backbone.View.extend({el:"#edd-order-overview-actions",template:wp.template("edd-admin-order-actions"),events:{"click #add-item":"onAddOrderItem","click #add-discount":"onAddOrderDiscount","click #add-adjustment":"onAddOrderAdjustment"},render:function(){return wp.Backbone.View.prototype.render.apply(this,arguments),Object(r.a)(t(".edd-help-tip")),this},onAddOrderItem:function(t){t.preventDefault(),new o.a(this.options).openDialog().render()},onAddOrderDiscount:function(t){t.preventDefault(),new i.a(this.options).openDialog().render()},onAddOrderAdjustment:function(t){t.preventDefault(),new u.a(this.options).openDialog().render()}})}).call(this,n(1))},287:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(3),o=n.n(r),i=n(35),u=n.n(i),a=n(16),c=n(29),s=n(65);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e0},updateAmounts:function(){var e=this.options.state,n=e.get("items"),r=new Backbone.Collection(e.get("adjustments").getByType("discount")),i={country:e.getTaxCountry(),region:e.getTaxRegion(),products:n.map((function(t){return{id:t.get("productId"),quantity:t.get("quantity"),options:{price_id:t.get("priceId")}}})),discountIds:r.pluck("typeId")},u=[];return n.models.forEach((function(t){var e=t.getAmounts(i);e.done((function(e){var n=e.adjustments.map((function(e){return new f.a(p(p({},e),{},{id:c()(),objectId:t.get("id")}))})),r=t.get("adjustments").filter((function(t){return["fee","credit"].includes(t.type)}));t.set("adjustments",new s.a([].concat(o()(n),o()(r))))})).done((function(e){return t.setAmounts(e)})),u.push(e)})),t.when.apply(t,u)}})}).call(this,n(1))},294:function(t,e,n){"use strict";n.d(e,"a",(function(){return N}));var r=n(3),o=n.n(r),i=n(16),u=n(285);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0}},onDismissTaxRateChange:function(){var t=this.options.state;t.set("hasTax",t.get("hasTax")),t.trigger("change:hasTax")},onUpdateAmounts:function(t){var e=this;t.preventDefault();var n=this.options.state;n.get("adjustments").getByType("fee").forEach((function(t){t.updateTax()})),n.get("items").updateAmounts().done((function(){e.onDismissTaxRateChange()}))}}),S=j.extend({getAdjustments:function(){return this.options.state.get("adjustments").getByType("credit")}});function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e0&&(i=!0),t("#edd-refund-submit-subtotal-amount").text(e.format(n)),t("#edd-refund-submit-tax-amount").text(e.format(r)),t("#edd-refund-submit-total-amount").text(e.format(o)),t("#edd-submit-refund-submit").attr("disabled",!i),u.prop("readonly",!1),a.prop("readonly",!0)}t(document.body).on("click",".edd-refund-order",(function(e){e.preventDefault(),t(this);var n={action:"edd_generate_refund_form",order_id:t('input[name="edd_payment_id"]').val()};t.ajax({type:"POST",data:n,url:ajaxurl,success:function(e){var n;return n=e.success?e.html:e.message,t("#edd-refund-order-dialog").dialog({position:{my:"top center",at:"center center-25%"},width:"75%",modal:!0,resizable:!1,draggable:!1,classes:{"ui-dialog":"edd-dialog"},closeText:eddAdminOrderOverview.i18n.closeText,open:function(e,r){t(this).html(n)},close:function(e,n){t(this).html(""),t(this).hasClass("did-refund")&&location.reload()}}),!1}}).fail((function(e){return t("#edd-refund-order-dialog").dialog({position:{my:"top center",at:"center center-25%"},width:"75%",modal:!0,resizable:!1,draggable:!1}).html(e.message),!1}))})),t(document.body).on("click",".ui-widget-overlay",(function(e){t("#edd-refund-order-dialog").dialog("close")})),t(document.body).on("change","#edd-refund-order-dialog #cb-select-all-1",(function(){var e=t(".edd-order-item-refund-checkbox"),n=t(this).prop("checked");e.each((function(){t(this).prop("checked",n).trigger("change")}))})),t(document.body).on("change",".edd-order-item-refund-checkbox",(function(){var e=t(this).parent().parent(),n=e.find(".edd-order-item-refund-quantity");n.length&&(t(this).prop("checked")?n.trigger("change"):(e.find(".edd-order-item-refund-input").prop("disabled",!0),r()))})),t(document.body).on("change","#edd-refund-order-dialog .edd-order-item-refund-input",(function(){var n=t(this).closest(".refunditem"),o=n.find(".edd-order-item-refund-quantity"),i=parseInt(o.val());if(i>0?n.addClass("refunded"):n.removeClass("refunded"),t(this).hasClass("edd-order-item-refund-quantity")){n.find(".edd-order-item-refund-input:not(.edd-order-item-refund-quantity)").prop("disabled",0===i),i>0&&o.prop("disabled",!1);var u=n.find(".edd-order-item-refund-subtotal"),a=n.find(".edd-order-item-refund-tax"),c=e.unformat(u.data("original")),s=a.length?e.unformat(a.data("original")):0,f=parseInt(o.data("max")),d=c/f*i,l=a.length?s/f*i:0;d>parseFloat(u.data("max"))&&(d=u.data("max")),a.length&&l>parseFloat(a.data("max"))&&(l=a.data("max")),u.val(e.format(d)),a.length&&a.val(e.format(l))}r()})),t(document.body).on("click","#edd-submit-refund-submit",(function(e){e.preventDefault(),t(".edd-submit-refund-message").removeClass("success").removeClass("fail"),t(this).removeClass("button-primary").attr("disabled",!0).addClass("updating-message"),t("#edd-submit-refund-status").hide();var n={action:"edd_process_refund_form",data:t("#edd-submit-refund-form").serialize(),order_id:t('input[name="edd_payment_id"]').val()};t.ajax({type:"POST",data:n,url:ajaxurl,success:function(e){var n=t(".edd-submit-refund-message"),r=t(".edd-submit-refund-url");e.success?(n.text(e.data.message).addClass("success"),r.attr("href",e.data.refund_url).show(),t("#edd-submit-refund-status").show(),r.focus(),t("#edd-refund-order-dialog").addClass("did-refund")):(n.html(e.data).addClass("fail"),r.hide(),t("#edd-submit-refund-status").show(),t("#edd-submit-refund-submit").attr("disabled",!1).removeClass("updating-message").addClass("button-primary"))}}).fail((function(e){var n=t(".edd-submit-refund-message"),r=t(".edd-submit-refund-url"),o=e.responseJSON;return n.text(o.data).addClass("fail"),r.hide(),t("#edd-submit-refund-status").show(),t("#edd-submit-refund-submit").attr("disabled",!1).removeClass("updating-message").addClass("button-primary"),!1}))})),t(document.body).on("click",".refund-items .toggle-row",(function(){t(this).closest("tr").toggleClass("is-expanded")}))}).call(this,n(1))},310:function(t,e,n){"use strict";n(311),n(312),n(313)},311:function(t,e,n){"use strict";(function(t){var e=n(3),r=n.n(e),o=n(103),i=n(20),u=n(12);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e'):(n.replaceWith(e),t("#edd_order_address_region").chosen(Object(i.a)(t("#edd_order_address_region"))))}function r(){e(t(this),"edd_order_address[region]","edd_order_address_region").done(n)}!function(){var e=o.a.options.state;if(!1!==e.get("hasTax")&&!1!==e.get("isAdding")){var n=document.getElementById("edd_order_address_country"),r=document.getElementById("edd_order_address_region");n&&r&&(t("#edd_order_address_country").on("change",_.debounce(i,250)),t("#edd-order-address").on("change","#edd_order_address_region",i),t("#edd-order-address").on("keyup","#edd_order_address_region",_.debounce(i,250)))}function i(){var n=t("#edd_order_address_country").val(),r=t("#edd_order_address_region").val(),o=document.getElementById("edd_get_tax_rate_nonce").value;wp.ajax.send("edd_get_tax_rate",{data:{nonce:o,country:n,region:r},success:function(t){var o=t.tax_rate;o*=100,e.set("hasTax",c(c({},e.get("hasTax")),{},{country:n,region:r,rate:o}))},error:function(){e.set("hasTax","none")}})}}(),t(".edd-payment-change-customer-input").on("change",(function(){var e={action:"edd_customer_addresses",customer_id:t(this).val(),nonce:t("#edd_add_order_nonce").val()};return t.post(ajaxurl,e,(function(e){var n=e.success,r=e.data;n?(s=c(c(c({},s),r),{},{addresses:c(c({},s.addresses),r.addresses)}),r.html?(t(".customer-address-select-wrap").show(),t(".customer-address-select-wrap .edd-form-group__control").html(r.html)):t(".customer-address-select-wrap").hide()):t(".customer-address-select-wrap").hide()}),"json"),!1})),t(document.body).on("change",".customer-address-select-wrap .add-order-customer-address-select",(function(){var o=t(this).val(),i=s.addresses[o];return t('#edd-add-order-form input[name="edd_order_address[address]"]').val(i.address),t('#edd-add-order-form input[name="edd_order_address[address2]"]').val(i.address2),t('#edd-add-order-form input[name="edd_order_address[postal_code]"]').val(i.postal_code),t('#edd-add-order-form input[name="edd_order_address[city]"]').val(i.city),t('#edd-add-order-form input[name="edd_order_address[address_id]"]').val(o),t("#edd_order_address_country").off("change",r),t("#edd_order_address_country").val(i.country).trigger("change").trigger("chosen:updated"),e(t("#edd_order_address_country"),"edd_order_address[region]","edd_order_address_region").done(n).done((function(e){t("#edd_order_address_region").val(i.region).trigger("change").trigger("chosen:updated")})),t("#edd_order_address_country").on("change",r),!1})),t("#edd_order_address_country").on("change",r)}))}).call(this,n(1))},312:function(t,e,n){"use strict";(function(t){var e=n(12);Object(e.a)((function(){t(".edd-payment-change-customer-input").on("change",(function(){var e={action:"edd_customer_details",customer_id:t(this).val(),nonce:t("#edd_customer_details_nonce").val()};""!==e.customer_id&&(t(".customer-details").css("display","none"),t("#customer-avatar").html(''),t.post(ajaxurl,e,(function(e){var n=e.success,r=e.data;n?(t(".customer-details").css("display","flex"),t(".customer-details-wrap").css("display","flex"),t("#customer-avatar").html(r.avatar),t(".customer-name").html(r.name),t(".customer-since span").html(r.date_created_i18n),t(".customer-record a").prop("href",r._links.self)):t(".customer-details-wrap").css("display","none")}),"json"))})),t(".edd-payment-change-customer-input").trigger("change"),t("#edd-customer-details").on("click",".edd-payment-new-customer, .edd-payment-new-customer-cancel",(function(e){e.preventDefault();var n=t(this).hasClass("edd-payment-new-customer"),r=t(this).hasClass("edd-payment-new-customer-cancel");n?(t(".order-customer-info").hide(),t(".new-customer").show()):r&&(t(".order-customer-info").show(),t(".new-customer").hide()),n=t("#edd-new-customer"),t(".new-customer").is(":visible")?n.val(1):n.val(0)}))}))}).call(this,n(1))},313:function(t,e,n){"use strict";(function(t){var e=n(12);Object(e.a)((function(){var e=t("#edd-resend-receipt"),n=new URLSearchParams(e.attr("href"));t(document.body).on("change",".edd-order-resend-receipt-email",(function(){n.set("email",t(this).val()),e.attr("href",decodeURIComponent(n.toString()))})),t(".edd-order-resend-receipt-email").trigger("change"),e.on("click",(function(){return confirm(edd_vars.resend_receipt)}))}))}).call(this,n(1))},35:function(t,e,n){"use strict";!function(){var e,r,o,i=0,u=[];for(r=0;r<256;r++)u[r]=(r+256).toString(16).substr(1);function a(){var t=(16,(!e||i+16>c.BUFFER_SIZE)&&(i=0,e=c.randomBytes(c.BUFFER_SIZE)),e.slice(i,i+=16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t}function c(){var t=a();return u[t[0]]+u[t[1]]+u[t[2]]+u[t[3]]+"-"+u[t[4]]+u[t[5]]+"-"+u[t[6]]+u[t[7]]+"-"+u[t[8]]+u[t[9]]+"-"+u[t[10]]+u[t[11]]+u[t[12]]+u[t[13]]+u[t[14]]+u[t[15]]}c.BUFFER_SIZE=4096,c.bin=a,c.clearBuffer=function(){e=null,i=0},c.test=function(t){return"string"==typeof t&&/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/.test(t)},"undefined"!=typeof crypto?o=crypto:"undefined"!=typeof window&&void 0!==window.msCrypto&&(o=window.msCrypto),o=o||n(308),t.exports=c,c.randomBytes=function(){if(o){if(o.randomBytes)return o.randomBytes;if(o.getRandomValues)return function(t){var e=new Uint8Array(t);return o.getRandomValues(e),e}}return function(t){var e,n=[];for(e=0;e0&&void 0!==arguments[0]&&arguments[0],e=this.get("state"),n=this.get("subtotal");return!1===e.get("isAdding")?n:!0===e.hasInclusiveTax()&&!1===t?n-this.getTax():n},getDiscountAmount:function(){var t=0,e=this.get("adjustments").getByType("discount");return 0===e.length?this.get("discount"):(e.forEach((function(e){t+=+e.get("subtotal")})),t)},getTax:function(){var t=this.get("state"),e=this.get("tax");if(!1===t.get("isAdding"))return e;var n=t.get("formatters").number;return n.unformat(n.format(e))},getTotal:function(){var t=this.get("state");return!1===t.get("isAdding")?this.get("total"):!0===t.hasInclusiveTax()?this.get("subtotal")-this.getDiscountAmount():this.get("subtotal")-this.getDiscountAmount()+this.getTax()},getAmounts:function(t){var e=t.country,n=void 0===e?"":e,r=t.region,i=void 0===r?"":r,u=t.products,a=void 0===u?[]:u,c=t.discountIds,s=void 0===c?[]:c,f=window.eddAdminOrderOverview.nonces.edd_admin_order_get_item_amounts,d=_.clone(this.attributes),l=d.productId,p=d.priceId,h=d.quantity,v=d.amount,g=d.tax,y=d.subtotal;return wp.ajax.send("edd-admin-order-get-item-amounts",{data:{nonce:f,productId:l,priceId:p,quantity:h,amount:v,tax:g,subtotal:y,country:n,region:i,products:_.uniq([].concat(o()(a),[{id:l,quantity:h,options:{price_id:p}}]),(function(t){var e=t.id,n=t.options.price_id;return"".concat(e,"_").concat(n)})),discounts:_.uniq(s)}})},setAmounts:function(t){var e=t.amount,n=void 0===e?0:e,r=t.discount,o=void 0===r?0:r,i=t.tax,u=void 0===i?0:i,a=t.subtotal,c=void 0===a?0:a,s=t.total,f=void 0===s?0:s;!0===this.get("_isAdjustingManually")?this.set({discount:o}):this.set({amount:n,discount:o,tax:u,subtotal:c,total:f})}})},68:function(t,e,n){var r=n(26);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},69:function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},70:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},71:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e,n){var r=n(4).default,o=n(13);t.exports=function(t){var e=o(t,"string");return"symbol"==r(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}); \ No newline at end of file +!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=307)}({0:function(t,e){t.exports=jQuery},103:function(t,e,n){"use strict";var r,o=n(3),i=n.n(o),u=n(28),a=n(284),c=n(290),s=n(65),f=n(61),d=Backbone.Model.extend({defaults:{id:0,number:"",total:0,dateCreated:"",dateCreatedi18n:""}}),l=Backbone.Collection.extend({model:d}),p=Backbone.Model.extend({defaults:{isAdding:!1,isFetching:!1,hasQuantity:!1,hasTax:!1,items:[],adjustments:[],refunds:[],formatters:{currency:new u.a,number:new u.b}},getTaxCountry:function(){return!1!==this.get("hasTax")?this.get("hasTax").country:""},getTaxRegion:function(){return!1!==this.get("hasTax")?this.get("hasTax").region:""},getSubtotal:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!1===this.get("isAdding"))return this.get("order").subtotal;var e=this.get("items"),n=e.models;return n.reduce((function(e,n){return e+ +n.getSubtotal(t)}),0)},getDiscount:function(){return!1===this.get("isAdding")?this.get("order").discount:this.get("adjustments").getByType("discount").reduce((function(t,e){return t+ +e.getAmount()}),0)},getTax:function(){if(!1===this.get("isAdding"))return this.get("order").tax;var t=this.get("items").models,e=this.getFeesTax();return t.reduce((function(t,e){return t+ +e.getTax()}),e)},getFeesTax:function(){return!1===this.get("isAdding")?this.get("order").tax:this.get("adjustments").getByType("fee").reduce((function(t,e){return t+ +e.getTax()}),0)},getTotal:function(){if(!1===this.get("isAdding"))return this.get("order").total;var t=this.get("adjustments").models.reduce((function(t,e){return["discount","credit"].includes(e.get("type"))?t-+e.getAmount():t+ +e.get("subtotal")}),this.getSubtotal(!0));return!0===this.hasInclusiveTax()?t+this.getFeesTax():t+this.getTax()},hasNewTaxRate:function(){var t=this.get("hasTax");if(!1===t)return!1;var e=this.previous("hasTax");return!_.isEqual(t,e)},hasInclusiveTax:function(){return this.get("hasTax").inclusive}});function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e"']/g,N=RegExp(z.source),F=RegExp(R.source),L=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Z.source),J=/^\s+/,K=/\s/,H=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,G=/\{\n\/\* \[wrapped with (.+)\] \*/,Y=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,ut=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,ct=/^(?:0|[1-9]\d*)$/,st=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ft=/($^)/,dt=/['\n\r\u2028\u2029\\]/g,lt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="["+pt+"]",vt="["+lt+"]",gt="\\d+",yt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+pt+gt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",_t="\\ud83c[\\udffb-\\udfff]",bt="[^\\ud800-\\udfff]",wt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ot="[\\ud800-\\udbff][\\udc00-\\udfff]",jt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",xt="(?:"+yt+"|"+mt+")",Pt="(?:"+jt+"|"+mt+")",At="(?:"+vt+"|"+_t+")?",kt="[\\ufe0e\\ufe0f]?"+At+"(?:\\u200d(?:"+[bt,wt,Ot].join("|")+")[\\ufe0e\\ufe0f]?"+At+")*",Tt="(?:"+["[\\u2700-\\u27bf]",wt,Ot].join("|")+")"+kt,Dt="(?:"+[bt+vt+"?",vt,wt,Ot,"[\\ud800-\\udfff]"].join("|")+")",St=RegExp("['’]","g"),It=RegExp(vt,"g"),Et=RegExp(_t+"(?="+_t+")|"+Dt+kt,"g"),Ct=RegExp([jt+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ht,jt,"$"].join("|")+")",Pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ht,jt+xt,"$"].join("|")+")",jt+"?"+xt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",jt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gt,Tt].join("|"),"g"),Bt=RegExp("[\\u200d\\ud800-\\udfff"+lt+"\\ufe0e\\ufe0f]"),Mt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rt=-1,Nt={};Nt[P]=Nt[A]=Nt[k]=Nt[T]=Nt[D]=Nt[S]=Nt["[object Uint8ClampedArray]"]=Nt[I]=Nt[E]=!0,Nt[c]=Nt[s]=Nt[j]=Nt[f]=Nt[x]=Nt[d]=Nt[l]=Nt[p]=Nt[v]=Nt[g]=Nt[y]=Nt[m]=Nt[_]=Nt[b]=Nt[O]=!1;var Ft={};Ft[c]=Ft[s]=Ft[j]=Ft[x]=Ft[f]=Ft[d]=Ft[P]=Ft[A]=Ft[k]=Ft[T]=Ft[D]=Ft[v]=Ft[g]=Ft[y]=Ft[m]=Ft[_]=Ft[b]=Ft[w]=Ft[S]=Ft["[object Uint8ClampedArray]"]=Ft[I]=Ft[E]=!0,Ft[l]=Ft[p]=Ft[O]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Wt=parseFloat,Ut=parseInt,qt="object"==typeof t&&t&&t.Object===Object&&t,$t="object"==typeof self&&self&&self.Object===Object&&self,Vt=qt||$t||Function("return this")(),Zt=e&&!e.nodeType&&e,Qt=Zt&&"object"==typeof r&&r&&!r.nodeType&&r,Jt=Qt&&Qt.exports===Zt,Kt=Jt&&qt.process,Ht=function(){try{return Qt&&Qt.require&&Qt.require("util").types||Kt&&Kt.binding&&Kt.binding("util")}catch(t){}}(),Gt=Ht&&Ht.isArrayBuffer,Yt=Ht&&Ht.isDate,Xt=Ht&&Ht.isMap,te=Ht&&Ht.isRegExp,ee=Ht&&Ht.isSet,ne=Ht&&Ht.isTypedArray;function re(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function oe(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o-1}function fe(t,e,n){for(var r=-1,o=null==t?0:t.length;++r-1;);return n}function Ce(t,e){for(var n=t.length;n--&&_e(e,t[n],0)>-1;);return n}function Be(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Me=xe({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ze=xe({"&":"&","<":"<",">":">",'"':""","'":"'"});function Re(t){return"\\"+Lt[t]}function Ne(t){return Bt.test(t)}function Fe(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Le(t,e){return function(n){return t(e(n))}}function We(t,e){for(var n=-1,r=t.length,o=0,i=[];++n",""":'"',"'":"'"}),Je=function t(e){var n,r=(e=null==e?Vt:Je.defaults(Vt.Object(),e,Je.pick(Vt,zt))).Array,o=e.Date,K=e.Error,lt=e.Function,pt=e.Math,ht=e.Object,vt=e.RegExp,gt=e.String,yt=e.TypeError,mt=r.prototype,_t=lt.prototype,bt=ht.prototype,wt=e["__core-js_shared__"],Ot=_t.toString,jt=bt.hasOwnProperty,xt=0,Pt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",At=bt.toString,kt=Ot.call(ht),Tt=Vt._,Dt=vt("^"+Ot.call(jt).replace(Z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Et=Jt?e.Buffer:void 0,Bt=e.Symbol,Lt=e.Uint8Array,qt=Et?Et.allocUnsafe:void 0,$t=Le(ht.getPrototypeOf,ht),Zt=ht.create,Qt=bt.propertyIsEnumerable,Kt=mt.splice,Ht=Bt?Bt.isConcatSpreadable:void 0,ge=Bt?Bt.iterator:void 0,xe=Bt?Bt.toStringTag:void 0,Ke=function(){try{var t=ti(ht,"defineProperty");return t({},"",{}),t}catch(t){}}(),He=e.clearTimeout!==Vt.clearTimeout&&e.clearTimeout,Ge=o&&o.now!==Vt.Date.now&&o.now,Ye=e.setTimeout!==Vt.setTimeout&&e.setTimeout,Xe=pt.ceil,tn=pt.floor,en=ht.getOwnPropertySymbols,nn=Et?Et.isBuffer:void 0,rn=e.isFinite,on=mt.join,un=Le(ht.keys,ht),an=pt.max,cn=pt.min,sn=o.now,fn=e.parseInt,dn=pt.random,ln=mt.reverse,pn=ti(e,"DataView"),hn=ti(e,"Map"),vn=ti(e,"Promise"),gn=ti(e,"Set"),yn=ti(e,"WeakMap"),mn=ti(ht,"create"),_n=yn&&new yn,bn={},wn=Di(pn),On=Di(hn),jn=Di(vn),xn=Di(gn),Pn=Di(yn),An=Bt?Bt.prototype:void 0,kn=An?An.valueOf:void 0,Tn=An?An.toString:void 0;function Dn(t){if(Zu(t)&&!Mu(t)&&!(t instanceof Cn)){if(t instanceof En)return t;if(jt.call(t,"__wrapped__"))return Si(t)}return new En(t)}var Sn=function(){function t(){}return function(e){if(!Vu(e))return{};if(Zt)return Zt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function In(){}function En(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Cn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Bn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Gn(t,e,n,r,o,i){var u,a=1&e,s=2&e,l=4&e;if(n&&(u=o?n(t,r,o,i):n(t)),void 0!==u)return u;if(!Vu(t))return t;var O=Mu(t);if(O){if(u=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return mo(t,u)}else{var C=ri(t),B=C==p||C==h;if(Fu(t))return lo(t,a);if(C==y||C==c||B&&!o){if(u=s||B?{}:ii(t),!a)return s?function(t,e){return _o(t,ni(t),e)}(t,function(t,e){return t&&_o(e,ja(e),t)}(u,t)):function(t,e){return _o(t,ei(t),e)}(t,Qn(u,t))}else{if(!Ft[C])return o?t:{};u=function(t,e,n){var r,o=t.constructor;switch(e){case j:return po(t);case f:case d:return new o(+t);case x:return function(t,e){var n=e?po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case P:case A:case k:case T:case D:case S:case"[object Uint8ClampedArray]":case I:case E:return ho(t,n);case v:return new o;case g:case b:return new o(t);case m:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new o;case w:return r=t,kn?ht(kn.call(r)):{}}}(t,C,a)}}i||(i=new Nn);var M=i.get(t);if(M)return M;i.set(t,u),Gu(t)?t.forEach((function(r){u.add(Gn(r,e,n,r,t,i))})):Qu(t)&&t.forEach((function(r,o){u.set(o,Gn(r,e,n,o,t,i))}));var z=O?void 0:(l?s?Qo:Zo:s?ja:Oa)(t);return ie(z||t,(function(r,o){z&&(r=t[o=r]),$n(u,o,Gn(r,e,n,o,t,i))})),u}function Yn(t,e,n){var r=n.length;if(null==t)return!r;for(t=ht(t);r--;){var o=n[r],i=e[o],u=t[o];if(void 0===u&&!(o in t)||!i(u))return!1}return!0}function Xn(t,e,n){if("function"!=typeof t)throw new yt(i);return bi((function(){t.apply(void 0,n)}),e)}function tr(t,e,n,r){var o=-1,i=se,u=!0,a=t.length,c=[],s=e.length;if(!a)return c;n&&(e=de(e,De(n))),r?(i=fe,u=!1):e.length>=200&&(i=Ie,u=!1,e=new Rn(e));t:for(;++o-1},Mn.prototype.set=function(t,e){var n=this.__data__,r=Vn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},zn.prototype.clear=function(){this.size=0,this.__data__={hash:new Bn,map:new(hn||Mn),string:new Bn}},zn.prototype.delete=function(t){var e=Yo(this,t).delete(t);return this.size-=e?1:0,e},zn.prototype.get=function(t){return Yo(this,t).get(t)},zn.prototype.has=function(t){return Yo(this,t).has(t)},zn.prototype.set=function(t,e){var n=Yo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Mn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Mn){var r=n.__data__;if(!hn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new zn(r)}return n.set(t,e),this.size=n.size,this};var er=Oo(sr),nr=Oo(fr,!0);function rr(t,e){var n=!0;return er(t,(function(t,r,o){return n=!!e(t,r,o)})),n}function or(t,e,n){for(var r=-1,o=t.length;++r0&&n(a)?e>1?ur(a,e-1,n,r,o):le(o,a):r||(o[o.length]=a)}return o}var ar=jo(),cr=jo(!0);function sr(t,e){return t&&ar(t,e,Oa)}function fr(t,e){return t&&cr(t,e,Oa)}function dr(t,e){return ce(e,(function(e){return Uu(t[e])}))}function lr(t,e){for(var n=0,r=(e=ao(e,t)).length;null!=t&&ne}function gr(t,e){return null!=t&&jt.call(t,e)}function yr(t,e){return null!=t&&e in ht(t)}function mr(t,e,n){for(var o=n?fe:se,i=t[0].length,u=t.length,a=u,c=r(u),s=1/0,f=[];a--;){var d=t[a];a&&e&&(d=de(d,De(e))),s=cn(d.length,s),c[a]=!n&&(e||i>=120&&d.length>=120)?new Rn(a&&d):void 0}d=t[0];var l=-1,p=c[0];t:for(;++l=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}));r--;)t[r]=t[r].value;return t}(kr(t,(function(t,n,o){return{criteria:de(e,(function(e){return e(t)})),index:++r,value:t}})))}function Cr(t,e,n){for(var r=-1,o=e.length,i={};++r-1;)a!==t&&Kt.call(a,c,1),Kt.call(t,c,1);return t}function Mr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;ai(o)?Kt.call(t,o,1):Xr(t,o)}}return t}function zr(t,e){return t+tn(dn()*(e-t+1))}function Rr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Nr(t,e){return wi(vi(t,e,Ja),t+"")}function Fr(t){return Ln(Ia(t))}function Lr(t,e){var n=Ia(t);return xi(n,Hn(e,0,n.length))}function Wr(t,e,n,r){if(!Vu(t))return t;for(var o=-1,i=(e=ao(e,t)).length,u=i-1,a=t;null!=a&&++oi?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var u=r(i);++o>>1,u=t[i];null!==u&&!Xu(u)&&(n?u<=e:u=200){var s=e?null:No(t);if(s)return Ue(s);u=!1,o=Ie,c=new Rn}else c=e?[]:a;t:for(;++r=r?t:Vr(t,e,n)}var fo=He||function(t){return Vt.clearTimeout(t)};function lo(t,e){if(e)return t.slice();var n=t.length,r=qt?qt(n):new t.constructor(n);return t.copy(r),r}function po(t){var e=new t.constructor(t.byteLength);return new Lt(e).set(new Lt(t)),e}function ho(t,e){var n=e?po(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function vo(t,e){if(t!==e){var n=void 0!==t,r=null===t,o=t==t,i=Xu(t),u=void 0!==e,a=null===e,c=e==e,s=Xu(e);if(!a&&!s&&!i&&t>e||i&&u&&c&&!a&&!s||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!s&&t1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,u&&ci(n[0],n[1],u)&&(i=o<3?void 0:i,o=1),e=ht(e);++r-1?o[i?e[u]:u]:void 0}}function To(t){return Vo((function(e){var n=e.length,r=n,o=En.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new yt(i);if(o&&!a&&"wrapper"==Ko(u))var a=new En([],!0)}for(r=a?r:n;++r1&&_.reverse(),d&&sa))return!1;var s=i.get(t),f=i.get(e);if(s&&f)return s==e&&f==t;var d=-1,l=!0,p=2&n?new Rn:void 0;for(i.set(t,e),i.set(e,t);++d-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(H,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ie(a,(function(n){var r="_."+n[0];e&n[1]&&!se(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(G);return e?e[1].split(Y):[]}(r),n)))}function ji(t){var e=0,n=0;return function(){var r=sn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function xi(t,e){var n=-1,r=t.length,o=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Hi(t,n)}));function ru(t){var e=Dn(t);return e.__chain__=!0,e}function ou(t,e){return e(t)}var iu=Vo((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Kn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Cn&&ai(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:ou,args:[o],thisArg:void 0}),new En(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(o)})),uu=bo((function(t,e,n){jt.call(t,n)?++t[n]:Jn(t,n,1)})),au=ko(Bi),cu=ko(Mi);function su(t,e){return(Mu(t)?ie:er)(t,Go(e,3))}function fu(t,e){return(Mu(t)?ue:nr)(t,Go(e,3))}var du=bo((function(t,e,n){jt.call(t,n)?t[n].push(e):Jn(t,n,[e])})),lu=Nr((function(t,e,n){var o=-1,i="function"==typeof e,u=Ru(t)?r(t.length):[];return er(t,(function(t){u[++o]=i?re(e,t,n):_r(t,e,n)})),u})),pu=bo((function(t,e,n){Jn(t,n,e)}));function hu(t,e){return(Mu(t)?de:kr)(t,Go(e,3))}var vu=bo((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),gu=Nr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ci(t,e[0],e[1])?e=[]:n>2&&ci(e[0],e[1],e[2])&&(e=[e[0]]),Er(t,ur(e,1),[])})),yu=Ge||function(){return Vt.Date.now()};function mu(t,e,n){return e=n?void 0:e,Lo(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function _u(t,e){var n;if("function"!=typeof e)throw new yt(i);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var bu=Nr((function(t,e,n){var r=1;if(n.length){var o=We(n,Ho(bu));r|=32}return Lo(t,r,e,n,o)})),wu=Nr((function(t,e,n){var r=3;if(n.length){var o=We(n,Ho(wu));r|=32}return Lo(e,r,t,n,o)}));function Ou(t,e,n){var r,o,u,a,c,s,f=0,d=!1,l=!1,p=!0;if("function"!=typeof t)throw new yt(i);function h(e){var n=r,i=o;return r=o=void 0,f=e,a=t.apply(i,n)}function v(t){return f=t,c=bi(y,e),d?h(t):a}function g(t){var n=t-s;return void 0===s||n>=e||n<0||l&&t-f>=u}function y(){var t=yu();if(g(t))return m(t);c=bi(y,function(t){var n=e-(t-s);return l?cn(n,u-(t-f)):n}(t))}function m(t){return c=void 0,p&&r?h(t):(r=o=void 0,a)}function _(){var t=yu(),n=g(t);if(r=arguments,o=this,s=t,n){if(void 0===c)return v(s);if(l)return fo(c),c=bi(y,e),h(s)}return void 0===c&&(c=bi(y,e)),a}return e=aa(e)||0,Vu(n)&&(d=!!n.leading,u=(l="maxWait"in n)?an(aa(n.maxWait)||0,e):u,p="trailing"in n?!!n.trailing:p),_.cancel=function(){void 0!==c&&fo(c),f=0,r=s=o=c=void 0},_.flush=function(){return void 0===c?a:m(yu())},_}var ju=Nr((function(t,e){return Xn(t,1,e)})),xu=Nr((function(t,e,n){return Xn(t,aa(e)||0,n)}));function Pu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(Pu.Cache||zn),n}function Au(t){if("function"!=typeof t)throw new yt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Pu.Cache=zn;var ku=co((function(t,e){var n=(e=1==e.length&&Mu(e[0])?de(e[0],De(Go())):de(ur(e,1),De(Go()))).length;return Nr((function(r){for(var o=-1,i=cn(r.length,n);++o=e})),Bu=br(function(){return arguments}())?br:function(t){return Zu(t)&&jt.call(t,"callee")&&!Qt.call(t,"callee")},Mu=r.isArray,zu=Gt?De(Gt):function(t){return Zu(t)&&hr(t)==j};function Ru(t){return null!=t&&$u(t.length)&&!Uu(t)}function Nu(t){return Zu(t)&&Ru(t)}var Fu=nn||ac,Lu=Yt?De(Yt):function(t){return Zu(t)&&hr(t)==d};function Wu(t){if(!Zu(t))return!1;var e=hr(t);return e==l||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ku(t)}function Uu(t){if(!Vu(t))return!1;var e=hr(t);return e==p||e==h||"[object AsyncFunction]"==e||"[object Proxy]"==e}function qu(t){return"number"==typeof t&&t==ia(t)}function $u(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Vu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Zu(t){return null!=t&&"object"==typeof t}var Qu=Xt?De(Xt):function(t){return Zu(t)&&ri(t)==v};function Ju(t){return"number"==typeof t||Zu(t)&&hr(t)==g}function Ku(t){if(!Zu(t)||hr(t)!=y)return!1;var e=$t(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ot.call(n)==kt}var Hu=te?De(te):function(t){return Zu(t)&&hr(t)==m},Gu=ee?De(ee):function(t){return Zu(t)&&ri(t)==_};function Yu(t){return"string"==typeof t||!Mu(t)&&Zu(t)&&hr(t)==b}function Xu(t){return"symbol"==typeof t||Zu(t)&&hr(t)==w}var ta=ne?De(ne):function(t){return Zu(t)&&$u(t.length)&&!!Nt[hr(t)]},ea=Mo(Ar),na=Mo((function(t,e){return t<=e}));function ra(t){if(!t)return[];if(Ru(t))return Yu(t)?Ve(t):mo(t);if(ge&&t[ge])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ge]());var e=ri(t);return(e==v?Fe:e==_?Ue:Ia)(t)}function oa(t){return t?(t=aa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=oa(t),n=e%1;return e==e?n?e-n:e:0}function ua(t){return t?Hn(ia(t),0,4294967295):0}function aa(t){if("number"==typeof t)return t;if(Xu(t))return NaN;if(Vu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Vu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Te(t);var n=it.test(t);return n||at.test(t)?Ut(t.slice(2),n?2:8):ot.test(t)?NaN:+t}function ca(t){return _o(t,ja(t))}function sa(t){return null==t?"":Gr(t)}var fa=wo((function(t,e){if(li(e)||Ru(e))_o(e,Oa(e),t);else for(var n in e)jt.call(e,n)&&$n(t,n,e[n])})),da=wo((function(t,e){_o(e,ja(e),t)})),la=wo((function(t,e,n,r){_o(e,ja(e),t,r)})),pa=wo((function(t,e,n,r){_o(e,Oa(e),t,r)})),ha=Vo(Kn),va=Nr((function(t,e){t=ht(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&ci(e[0],e[1],o)&&(r=1);++n1),e})),_o(t,Qo(t),n),r&&(n=Gn(n,7,qo));for(var o=e.length;o--;)Xr(n,e[o]);return n})),ka=Vo((function(t,e){return null==t?{}:function(t,e){return Cr(t,e,(function(e,n){return ma(t,n)}))}(t,e)}));function Ta(t,e){if(null==t)return{};var n=de(Qo(t),(function(t){return[t]}));return e=Go(e),Cr(t,n,(function(t,n){return e(t,n[0])}))}var Da=Fo(Oa),Sa=Fo(ja);function Ia(t){return null==t?[]:Se(t,Oa(t))}var Ea=Po((function(t,e,n){return e=e.toLowerCase(),t+(n?Ca(e):e)}));function Ca(t){return Wa(sa(t).toLowerCase())}function Ba(t){return(t=sa(t))&&t.replace(st,Me).replace(It,"")}var Ma=Po((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),za=Po((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ra=xo("toLowerCase"),Na=Po((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Fa=Po((function(t,e,n){return t+(n?" ":"")+Wa(e)})),La=Po((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Wa=xo("toUpperCase");function Ua(t,e,n){return t=sa(t),void 0===(e=n?void 0:e)?function(t){return Mt.test(t)}(t)?function(t){return t.match(Ct)||[]}(t):function(t){return t.match(X)||[]}(t):t.match(e)||[]}var qa=Nr((function(t,e){try{return re(t,void 0,e)}catch(t){return Wu(t)?t:new K(t)}})),$a=Vo((function(t,e){return ie(e,(function(e){e=Ti(e),Jn(t,e,bu(t[e],t))})),t}));function Va(t){return function(){return t}}var Za=To(),Qa=To(!0);function Ja(t){return t}function Ka(t){return xr("function"==typeof t?t:Gn(t,1))}var Ha=Nr((function(t,e){return function(n){return _r(n,t,e)}})),Ga=Nr((function(t,e){return function(n){return _r(t,n,e)}}));function Ya(t,e,n){var r=Oa(e),o=dr(e,r);null!=n||Vu(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=dr(e,Oa(e)));var i=!(Vu(n)&&"chain"in n&&!n.chain),u=Uu(t);return ie(o,(function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__),o=n.__actions__=mo(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,le([this.value()],arguments))})})),t}function Xa(){}var tc=Eo(de),ec=Eo(ae),nc=Eo(ve);function rc(t){return si(t)?je(Ti(t)):function(t){return function(e){return lr(e,t)}}(t)}var oc=Bo(),ic=Bo(!0);function uc(){return[]}function ac(){return!1}var cc,sc=Io((function(t,e){return t+e}),0),fc=Ro("ceil"),dc=Io((function(t,e){return t/e}),1),lc=Ro("floor"),pc=Io((function(t,e){return t*e}),1),hc=Ro("round"),vc=Io((function(t,e){return t-e}),0);return Dn.after=function(t,e){if("function"!=typeof e)throw new yt(i);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Dn.ary=mu,Dn.assign=fa,Dn.assignIn=da,Dn.assignInWith=la,Dn.assignWith=pa,Dn.at=ha,Dn.before=_u,Dn.bind=bu,Dn.bindAll=$a,Dn.bindKey=wu,Dn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Mu(t)?t:[t]},Dn.chain=ru,Dn.chunk=function(t,e,n){e=(n?ci(t,e,n):void 0===e)?1:an(ia(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,u=0,a=r(Xe(o/e));io?0:o+n),(r=void 0===r||r>o?o:ia(r))<0&&(r+=o),r=n>r?0:ua(r);n>>0)?(t=sa(t))&&("string"==typeof e||null!=e&&!Hu(e))&&!(e=Gr(e))&&Ne(t)?so(Ve(t),0,n):t.split(e,n):[]},Dn.spread=function(t,e){if("function"!=typeof t)throw new yt(i);return e=null==e?0:an(ia(e),0),Nr((function(n){var r=n[e],o=so(n,0,e);return r&&le(o,r),re(t,this,o)}))},Dn.tail=function(t){var e=null==t?0:t.length;return e?Vr(t,1,e):[]},Dn.take=function(t,e,n){return t&&t.length?Vr(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Dn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Vr(t,(e=r-(e=n||void 0===e?1:ia(e)))<0?0:e,r):[]},Dn.takeRightWhile=function(t,e){return t&&t.length?eo(t,Go(e,3),!1,!0):[]},Dn.takeWhile=function(t,e){return t&&t.length?eo(t,Go(e,3)):[]},Dn.tap=function(t,e){return e(t),t},Dn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new yt(i);return Vu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ou(t,e,{leading:r,maxWait:e,trailing:o})},Dn.thru=ou,Dn.toArray=ra,Dn.toPairs=Da,Dn.toPairsIn=Sa,Dn.toPath=function(t){return Mu(t)?de(t,Ti):Xu(t)?[t]:mo(ki(sa(t)))},Dn.toPlainObject=ca,Dn.transform=function(t,e,n){var r=Mu(t),o=r||Fu(t)||ta(t);if(e=Go(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Vu(t)&&Uu(i)?Sn($t(t)):{}}return(o?ie:sr)(t,(function(t,r,o){return e(n,t,r,o)})),n},Dn.unary=function(t){return mu(t,1)},Dn.union=Zi,Dn.unionBy=Qi,Dn.unionWith=Ji,Dn.uniq=function(t){return t&&t.length?Yr(t):[]},Dn.uniqBy=function(t,e){return t&&t.length?Yr(t,Go(e,2)):[]},Dn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Yr(t,void 0,e):[]},Dn.unset=function(t,e){return null==t||Xr(t,e)},Dn.unzip=Ki,Dn.unzipWith=Hi,Dn.update=function(t,e,n){return null==t?t:to(t,e,uo(n))},Dn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:to(t,e,uo(n),r)},Dn.values=Ia,Dn.valuesIn=function(t){return null==t?[]:Se(t,ja(t))},Dn.without=Gi,Dn.words=Ua,Dn.wrap=function(t,e){return Tu(uo(e),t)},Dn.xor=Yi,Dn.xorBy=Xi,Dn.xorWith=tu,Dn.zip=eu,Dn.zipObject=function(t,e){return oo(t||[],e||[],$n)},Dn.zipObjectDeep=function(t,e){return oo(t||[],e||[],Wr)},Dn.zipWith=nu,Dn.entries=Da,Dn.entriesIn=Sa,Dn.extend=da,Dn.extendWith=la,Ya(Dn,Dn),Dn.add=sc,Dn.attempt=qa,Dn.camelCase=Ea,Dn.capitalize=Ca,Dn.ceil=fc,Dn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=aa(n))==n?n:0),void 0!==e&&(e=(e=aa(e))==e?e:0),Hn(aa(t),e,n)},Dn.clone=function(t){return Gn(t,4)},Dn.cloneDeep=function(t){return Gn(t,5)},Dn.cloneDeepWith=function(t,e){return Gn(t,5,e="function"==typeof e?e:void 0)},Dn.cloneWith=function(t,e){return Gn(t,4,e="function"==typeof e?e:void 0)},Dn.conformsTo=function(t,e){return null==e||Yn(t,e,Oa(e))},Dn.deburr=Ba,Dn.defaultTo=function(t,e){return null==t||t!=t?e:t},Dn.divide=dc,Dn.endsWith=function(t,e,n){t=sa(t),e=Gr(e);var r=t.length,o=n=void 0===n?r:Hn(ia(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Dn.eq=Iu,Dn.escape=function(t){return(t=sa(t))&&F.test(t)?t.replace(R,ze):t},Dn.escapeRegExp=function(t){return(t=sa(t))&&Q.test(t)?t.replace(Z,"\\$&"):t},Dn.every=function(t,e,n){var r=Mu(t)?ae:rr;return n&&ci(t,e,n)&&(e=void 0),r(t,Go(e,3))},Dn.find=au,Dn.findIndex=Bi,Dn.findKey=function(t,e){return ye(t,Go(e,3),sr)},Dn.findLast=cu,Dn.findLastIndex=Mi,Dn.findLastKey=function(t,e){return ye(t,Go(e,3),fr)},Dn.floor=lc,Dn.forEach=su,Dn.forEachRight=fu,Dn.forIn=function(t,e){return null==t?t:ar(t,Go(e,3),ja)},Dn.forInRight=function(t,e){return null==t?t:cr(t,Go(e,3),ja)},Dn.forOwn=function(t,e){return t&&sr(t,Go(e,3))},Dn.forOwnRight=function(t,e){return t&&fr(t,Go(e,3))},Dn.get=ya,Dn.gt=Eu,Dn.gte=Cu,Dn.has=function(t,e){return null!=t&&oi(t,e,gr)},Dn.hasIn=ma,Dn.head=Ri,Dn.identity=Ja,Dn.includes=function(t,e,n,r){t=Ru(t)?t:Ia(t),n=n&&!r?ia(n):0;var o=t.length;return n<0&&(n=an(o+n,0)),Yu(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&_e(t,e,n)>-1},Dn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ia(n);return o<0&&(o=an(r+o,0)),_e(t,e,o)},Dn.inRange=function(t,e,n){return e=oa(e),void 0===n?(n=e,e=0):n=oa(n),function(t,e,n){return t>=cn(e,n)&&t=-9007199254740991&&t<=9007199254740991},Dn.isSet=Gu,Dn.isString=Yu,Dn.isSymbol=Xu,Dn.isTypedArray=ta,Dn.isUndefined=function(t){return void 0===t},Dn.isWeakMap=function(t){return Zu(t)&&ri(t)==O},Dn.isWeakSet=function(t){return Zu(t)&&"[object WeakSet]"==hr(t)},Dn.join=function(t,e){return null==t?"":on.call(t,e)},Dn.kebabCase=Ma,Dn.last=Wi,Dn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=ia(n))<0?an(r+o,0):cn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):me(t,we,o,!0)},Dn.lowerCase=za,Dn.lowerFirst=Ra,Dn.lt=ea,Dn.lte=na,Dn.max=function(t){return t&&t.length?or(t,Ja,vr):void 0},Dn.maxBy=function(t,e){return t&&t.length?or(t,Go(e,2),vr):void 0},Dn.mean=function(t){return Oe(t,Ja)},Dn.meanBy=function(t,e){return Oe(t,Go(e,2))},Dn.min=function(t){return t&&t.length?or(t,Ja,Ar):void 0},Dn.minBy=function(t,e){return t&&t.length?or(t,Go(e,2),Ar):void 0},Dn.stubArray=uc,Dn.stubFalse=ac,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=pc,Dn.nth=function(t,e){return t&&t.length?Ir(t,ia(e)):void 0},Dn.noConflict=function(){return Vt._===this&&(Vt._=Tt),this},Dn.noop=Xa,Dn.now=yu,Dn.pad=function(t,e,n){t=sa(t);var r=(e=ia(e))?$e(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Co(tn(o),n)+t+Co(Xe(o),n)},Dn.padEnd=function(t,e,n){t=sa(t);var r=(e=ia(e))?$e(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=dn();return cn(t+o*(e-t+Wt("1e-"+((o+"").length-1))),e)}return zr(t,e)},Dn.reduce=function(t,e,n){var r=Mu(t)?pe:Pe,o=arguments.length<3;return r(t,Go(e,4),n,o,er)},Dn.reduceRight=function(t,e,n){var r=Mu(t)?he:Pe,o=arguments.length<3;return r(t,Go(e,4),n,o,nr)},Dn.repeat=function(t,e,n){return e=(n?ci(t,e,n):void 0===e)?1:ia(e),Rr(sa(t),e)},Dn.replace=function(){var t=arguments,e=sa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Dn.result=function(t,e,n){var r=-1,o=(e=ao(e,t)).length;for(o||(o=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=cn(t,4294967295);t-=4294967295;for(var o=ke(r,e=Go(e));++n=i)return t;var a=n-$e(r);if(a<1)return r;var c=u?so(u,0,a).join(""):t.slice(0,a);if(void 0===o)return c+r;if(u&&(a+=c.length-a),Hu(o)){if(t.slice(a).search(o)){var s,f=c;for(o.global||(o=vt(o.source,sa(rt.exec(o))+"g")),o.lastIndex=0;s=o.exec(f);)var d=s.index;c=c.slice(0,void 0===d?a:d)}}else if(t.indexOf(Gr(o),a)!=a){var l=c.lastIndexOf(o);l>-1&&(c=c.slice(0,l))}return c+r},Dn.unescape=function(t){return(t=sa(t))&&N.test(t)?t.replace(z,Qe):t},Dn.uniqueId=function(t){var e=++xt;return sa(t)+e},Dn.upperCase=La,Dn.upperFirst=Wa,Dn.each=su,Dn.eachRight=fu,Dn.first=Ri,Ya(Dn,(cc={},sr(Dn,(function(t,e){jt.call(Dn.prototype,e)||(cc[e]=t)})),cc),{chain:!1}),Dn.VERSION="4.17.21",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Dn[t].placeholder=Dn})),ie(["drop","take"],(function(t,e){Cn.prototype[t]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!e?new Cn(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Cn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Cn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Go(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Cn.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Cn.prototype[t]=function(){return this.__filtered__?new Cn(this):this[n](1)}})),Cn.prototype.compact=function(){return this.filter(Ja)},Cn.prototype.find=function(t){return this.filter(t).head()},Cn.prototype.findLast=function(t){return this.reverse().find(t)},Cn.prototype.invokeMap=Nr((function(t,e){return"function"==typeof t?new Cn(this):this.map((function(n){return _r(n,t,e)}))})),Cn.prototype.reject=function(t){return this.filter(Au(Go(t)))},Cn.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Cn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},Cn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Cn.prototype.toArray=function(){return this.take(4294967295)},sr(Cn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Dn[r?"take"+("last"==e?"Right":""):e],i=r||/^find/.test(e);o&&(Dn.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,a=e instanceof Cn,c=u[0],s=a||Mu(e),f=function(t){var e=o.apply(Dn,le([t],u));return r&&d?e[0]:e};s&&n&&"function"==typeof c&&1!=c.length&&(a=s=!1);var d=this.__chain__,l=!!this.__actions__.length,p=i&&!d,h=a&&!l;if(!i&&s){e=h?e:new Cn(this);var v=t.apply(e,u);return v.__actions__.push({func:ou,args:[f],thisArg:void 0}),new En(v,d)}return p&&h?t.apply(this,u):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=mt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Dn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Mu(o)?o:[],t)}return this[n]((function(n){return e.apply(Mu(n)?n:[],t)}))}})),sr(Cn.prototype,(function(t,e){var n=Dn[e];if(n){var r=n.name+"";jt.call(bn,r)||(bn[r]=[]),bn[r].push({name:e,func:n})}})),bn[Do(void 0,2).name]=[{name:"wrapper",func:void 0}],Cn.prototype.clone=function(){var t=new Cn(this.__wrapped__);return t.__actions__=mo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=mo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=mo(this.__views__),t},Cn.prototype.reverse=function(){if(this.__filtered__){var t=new Cn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Cn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Mu(t),r=e<0,o=n?t.length:0,i=function(t,e,n){for(var r=-1,o=n.length;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Dn.prototype.plant=function(t){for(var e,n=this;n instanceof In;){var r=Si(n);r.__index__=0,r.__values__=void 0,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Dn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Cn){var e=t;return this.__actions__.length&&(e=new Cn(this)),(e=e.reverse()).__actions__.push({func:ou,args:[Vi],thisArg:void 0}),new En(e,this.__chain__)}return this.thru(Vi)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,ge&&(Dn.prototype[ge]=function(){return this}),Dn}();Vt._=Je,void 0===(o=function(){return Je}.call(e,n,e,r))||(r.exports=o)}).call(this)}).call(this,n(71),n(107)(t))},105:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r={};n.r(r),n.d(r,"find",(function(){return a}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return f})),n.d(o,"find",(function(){return v})),n.d(o,"findPrevious",(function(){return g})),n.d(o,"findNext",(function(){return y}));var i=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function u(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function a(t){var e=t.querySelectorAll(i);return Array.from(e).filter((function(t){return!(!u(t)||function(t){return"iframe"===t.nodeName.toLowerCase()&&"-1"===t.getAttribute("tabindex")}(t))&&("AREA"!==t.nodeName||function(t){var e=t.closest("map[name]");if(!e)return!1;var n=t.ownerDocument.querySelector('img[usemap="#'+e.name+'"]');return!!n&&u(n)}(t))}))}var c=n(104);function s(t){var e=t.getAttribute("tabindex");return null===e?0:parseInt(e,10)}function f(t){return-1!==s(t)}function d(t,e){return{element:t,index:e}}function l(t){return t.element}function p(t,e){var n=s(t.element),r=s(e.element);return n===r?t.index-e.index:n-r}function h(t){return t.filter(f).map(d).sort(p).map(l).reduce((e={},function(t,n){var r=n.nodeName,o=n.type,i=n.checked,u=n.name;if("INPUT"!==r||"radio"!==o||!u)return t.concat(n);var a=e.hasOwnProperty(u);if(!i&&a)return t;if(a){var s=e[u];t=Object(c.without)(t,s)}return e[u]=n,t.concat(n)}),[]);var e}function v(t){return h(a(t))}function g(t){var e=a(t.ownerDocument.body),n=e.indexOf(t);return e.length=n,Object(c.last)(h(e))}function y(t){var e=a(t.ownerDocument.body),n=e.indexOf(t),r=e.slice(n+1).filter((function(e){return!t.contains(e)}));return Object(c.first)(h(r))}var m={focusable:r,tabbable:o}},106:function(t,e,n){"use strict";t.exports=function(t,e,n,r){t=(t+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+t)?+t:0,i=isFinite(+e)?Math.abs(e):0,u=void 0===r?",":r,a=void 0===n?".":n,c="";return(c=(i?function(t,e){if(-1===(""+t).indexOf("e"))return+(Math.round(t+"e+"+e)+"e-"+e);var n=(""+t).split("e"),r="";return+n[1]+e>0&&(r="+"),(+(Math.round(+n[0]+"e"+r+(+n[1]+e))+"e-"+e)).toFixed(e)}(o,i).toString():""+Math.round(o)).split("."))[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,u)),(c[1]||"").length0&&(r=".".concat(o()(e.classList).join("."))),null!==r){var i=t.querySelector(r);if(i){i.focus();try{i.setSelectionRange&&i.setSelectionRange(n,n)}catch(t){}}}}}})}).call(this,n(0))},17:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var r=n(3),o=n.n(r);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{};u()(this,t);var n=edd_vars,r=n.currency_decimals,o=n.decimal_separator,i=n.thousands_separator;this.config=f({precision:r,decimalSeparator:o,thousandSeparator:i},e)}return c()(t,[{key:"format",value:function(t){var e=t;"number"!=typeof t&&(e=parseFloat(t)),isNaN(e)&&(e=0);var n=this.config,r=n.precision,o=n.decimalSeparator,i=n.thousandSeparator;return d(e,r,o,i)}},{key:"unformat",value:function(t){var e=this.config,n=e.decimalSeparator,r=e.thousandSeparator;"string"!=typeof t&&(t=String(t));var o=t.replace(r,"").replace(n,"."),i=parseFloat(o);return isNaN(i)?0:i}},{key:"absint",value:function(t){var e=this.unformat(t);return e>=0?e:-1*e}}]),t}();function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};u()(this,t);var n=edd_vars,r=n.currency,o=n.currency_sign,i=n.currency_pos,a=n.currency_decimals,c=n.decimal_separator,s=n.thousands_separator;this.config=h({currency:r,currencySymbol:o,currencySymbolPosition:i,precision:a,decimalSeparator:c,thousandSeparator:s},e),this.number=new l(this.config)}return c()(t,[{key:"format",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.config,r=n.currencySymbol,o=n.currencySymbolPosition,i=t<0,u=this.number.format(t),a="";switch(i&&(u=this.number.format(-1*t)),o){case"before":a=r+u;break;case"after":a=u+r}return!0===i&&!1===e&&(a="-".concat(a)),a}},{key:"unformat",value:function(t){var e=this.config.currencySymbol,n=t.replace(e,"");return this.number.unformat(n)}}]),t}()},284:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(294),o=n(286),i=wp.Backbone.View.extend({el:"#edd-order-overview",events:{"click .toggle-row":"onToggleRow"},render:function(){return this.views.add(new r.a(this.options)),document.getElementById("edd-order-overview-actions")&&this.views.add(new o.a(this.options)),this},onToggleRow:function(e){e.preventDefault(),t(e.target).closest("tr").toggleClass("is-expanded")}})}).call(this,n(0))},285:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(16),o=n(29),i=o.a.extend({el:"#edd-admin-order-copy-download-link-dialog",template:wp.template("edd-admin-order-copy-download-link"),initialize:function(){o.a.prototype.initialize.apply(this,arguments),this.link=!1,this.addEvents({"click #close":"closeDialog"}),this.fetchLink.call(this)},prepare:function(){return{link:this.link}},render:function(){r.a.prototype.render.apply(this,arguments);var t=this.el,e=this.link;!1!==e&&""!==e&&t.querySelector("#link").select()},fetchLink:function(){var e=this,n=this.options,r=n.orderId,o=n.productId,i=n.priceId;t.ajax({type:"POST",url:ajaxurl,data:{action:"edd_get_file_download_link",payment_id:r,download_id:o,price_id:i}}).done((function(t){t=t.trim(),["-1","-2","-3","-4",""].includes(t)?e.link="":e.link=t.trim()})).done((function(){return e.render()}))}})}).call(this,n(0))},286:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(38),o=n(287),i=n(288),u=n(289),a=wp.Backbone.View.extend({el:"#edd-order-overview-actions",template:wp.template("edd-admin-order-actions"),events:{"click #add-item":"onAddOrderItem","click #add-discount":"onAddOrderDiscount","click #add-adjustment":"onAddOrderAdjustment"},render:function(){return wp.Backbone.View.prototype.render.apply(this,arguments),Object(r.a)(t(".edd-help-tip")),this},onAddOrderItem:function(t){t.preventDefault(),new o.a(this.options).openDialog().render()},onAddOrderDiscount:function(t){t.preventDefault(),new i.a(this.options).openDialog().render()},onAddOrderAdjustment:function(t){t.preventDefault(),new u.a(this.options).openDialog().render()}})}).call(this,n(0))},287:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(3),o=n.n(r),i=n(35),u=n.n(i),a=n(16),c=n(29),s=n(65);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e0},updateAmounts:function(){var e=this.options.state,n=e.get("items"),r=new Backbone.Collection(e.get("adjustments").getByType("discount")),i={country:e.getTaxCountry(),region:e.getTaxRegion(),products:n.map((function(t){return{id:t.get("productId"),quantity:t.get("quantity"),options:{price_id:t.get("priceId")}}})),discountIds:r.pluck("typeId")},u=[];return n.models.forEach((function(t){var e=t.getAmounts(i);e.done((function(e){var n=e.adjustments.map((function(e){return new f.a(p(p({},e),{},{id:c()(),objectId:t.get("id")}))})),r=t.get("adjustments").filter((function(t){return["fee","credit"].includes(t.type)}));t.set("adjustments",new s.a([].concat(o()(n),o()(r))))})).done((function(e){return t.setAmounts(e)})),u.push(e)})),t.when.apply(t,u)}})}).call(this,n(0))},294:function(t,e,n){"use strict";n.d(e,"a",(function(){return N}));var r=n(3),o=n.n(r),i=n(16),u=n(285);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e0}},onDismissTaxRateChange:function(){var t=this.options.state;t.set("hasTax",t.get("hasTax")),t.trigger("change:hasTax")},onUpdateAmounts:function(t){var e=this;t.preventDefault();var n=this.options.state;n.get("adjustments").getByType("fee").forEach((function(t){t.updateTax()})),n.get("items").updateAmounts().done((function(){e.onDismissTaxRateChange()}))}}),S=j.extend({getAdjustments:function(){return this.options.state.get("adjustments").getByType("credit")}});function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e0&&(i=!0),t("#edd-refund-submit-subtotal-amount").text(e.format(n)),t("#edd-refund-submit-tax-amount").text(e.format(r)),t("#edd-refund-submit-total-amount").text(e.format(o)),t("#edd-submit-refund-submit").attr("disabled",!i),u.prop("readonly",!1),a.prop("readonly",!0)}t(document.body).on("click",".edd-refund-order",(function(e){e.preventDefault(),t(this);var n={action:"edd_generate_refund_form",order_id:t('input[name="edd_payment_id"]').val()};t.ajax({type:"POST",data:n,url:ajaxurl,success:function(e){var n;return n=e.success?e.html:e.message,t("#edd-refund-order-dialog").dialog({position:{my:"top center",at:"center center-25%"},width:"75%",modal:!0,resizable:!1,draggable:!1,classes:{"ui-dialog":"edd-dialog"},closeText:eddAdminOrderOverview.i18n.closeText,open:function(e,r){t(this).html(n)},close:function(e,n){t(this).html(""),t(this).hasClass("did-refund")&&location.reload()}}),!1}}).fail((function(e){return t("#edd-refund-order-dialog").dialog({position:{my:"top center",at:"center center-25%"},width:"75%",modal:!0,resizable:!1,draggable:!1}).html(e.message),!1}))})),t(document.body).on("click",".ui-widget-overlay",(function(e){t("#edd-refund-order-dialog").dialog("close")})),t(document.body).on("change","#edd-refund-order-dialog #cb-select-all-1",(function(){var e=t(".edd-order-item-refund-checkbox"),n=t(this).prop("checked");e.each((function(){t(this).prop("checked",n).trigger("change")}))})),t(document.body).on("change",".edd-order-item-refund-checkbox",(function(){var e=t(this).parent().parent(),n=e.find(".edd-order-item-refund-quantity");n.length&&(t(this).prop("checked")?n.trigger("change"):(e.find(".edd-order-item-refund-input").prop("disabled",!0),r()))})),t(document.body).on("change","#edd-refund-order-dialog .edd-order-item-refund-input",(function(){var n=t(this).closest(".refunditem"),o=n.find(".edd-order-item-refund-quantity"),i=parseInt(o.val());if(i>0?n.addClass("refunded"):n.removeClass("refunded"),t(this).hasClass("edd-order-item-refund-quantity")){n.find(".edd-order-item-refund-input:not(.edd-order-item-refund-quantity)").prop("disabled",0===i),i>0&&o.prop("disabled",!1);var u=n.find(".edd-order-item-refund-subtotal"),a=n.find(".edd-order-item-refund-tax"),c=e.unformat(u.data("original")),s=a.length?e.unformat(a.data("original")):0,f=parseInt(o.data("max")),d=c/f*i,l=a.length?s/f*i:0;d>parseFloat(u.data("max"))&&(d=u.data("max")),a.length&&l>parseFloat(a.data("max"))&&(l=a.data("max")),u.val(e.format(d)),a.length&&a.val(e.format(l))}r()})),t(document.body).on("click","#edd-submit-refund-submit",(function(e){e.preventDefault(),t(".edd-submit-refund-message").removeClass("success").removeClass("fail"),t(this).removeClass("button-primary").attr("disabled",!0).addClass("updating-message"),t("#edd-submit-refund-status").hide();var n={action:"edd_process_refund_form",data:t("#edd-submit-refund-form").serialize(),order_id:t('input[name="edd_payment_id"]').val()};t.ajax({type:"POST",data:n,url:ajaxurl,success:function(e){var n=t(".edd-submit-refund-message"),r=t(".edd-submit-refund-url");e.success?(n.text(e.data.message).addClass("success"),r.attr("href",e.data.refund_url).show(),t("#edd-submit-refund-status").show(),r.focus(),t("#edd-refund-order-dialog").addClass("did-refund")):(n.html(e.data).addClass("fail"),r.hide(),t("#edd-submit-refund-status").show(),t("#edd-submit-refund-submit").attr("disabled",!1).removeClass("updating-message").addClass("button-primary"))}}).fail((function(e){var n=t(".edd-submit-refund-message"),r=t(".edd-submit-refund-url"),o=e.responseJSON;return n.text(o.data).addClass("fail"),r.hide(),t("#edd-submit-refund-status").show(),t("#edd-submit-refund-submit").attr("disabled",!1).removeClass("updating-message").addClass("button-primary"),!1}))})),t(document.body).on("click",".refund-items .toggle-row",(function(){t(this).closest("tr").toggleClass("is-expanded")}))}).call(this,n(0))},310:function(t,e,n){"use strict";n(311),n(312),n(313)},311:function(t,e,n){"use strict";(function(t){var e=n(3),r=n.n(e),o=n(103),i=n(17),u=n(12);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e'):(n.replaceWith(e),t("#edd_order_address_region").chosen(Object(i.a)(t("#edd_order_address_region"))))}function r(){e(t(this),"edd_order_address[region]","edd_order_address_region").done(n)}!function(){var e=o.a.options.state;if(!1!==e.get("hasTax")&&!1!==e.get("isAdding")){var n=document.getElementById("edd_order_address_country"),r=document.getElementById("edd_order_address_region");n&&r&&(t("#edd_order_address_country").on("change",_.debounce(i,250)),t("#edd-order-address").on("change","#edd_order_address_region",i),t("#edd-order-address").on("keyup","#edd_order_address_region",_.debounce(i,250)))}function i(){var n=t("#edd_order_address_country").val(),r=t("#edd_order_address_region").val(),o=document.getElementById("edd_get_tax_rate_nonce").value;wp.ajax.send("edd_get_tax_rate",{data:{nonce:o,country:n,region:r},success:function(t){var o=t.tax_rate;o*=100,e.set("hasTax",c(c({},e.get("hasTax")),{},{country:n,region:r,rate:o}))},error:function(){e.set("hasTax","none")}})}}(),t(".edd-payment-change-customer-input").on("change",(function(){var e={action:"edd_customer_addresses",customer_id:t(this).val(),nonce:t("#edd_add_order_nonce").val()};return t.post(ajaxurl,e,(function(e){var n=e.success,r=e.data;n?(s=c(c(c({},s),r),{},{addresses:c(c({},s.addresses),r.addresses)}),r.html?(t(".customer-address-select-wrap").show(),t(".customer-address-select-wrap .edd-form-group__control").html(r.html)):t(".customer-address-select-wrap").hide()):t(".customer-address-select-wrap").hide()}),"json"),!1})),t(document.body).on("change",".customer-address-select-wrap .add-order-customer-address-select",(function(){var o=t(this).val(),i=s.addresses[o];return t('#edd-add-order-form input[name="edd_order_address[address]"]').val(i.address),t('#edd-add-order-form input[name="edd_order_address[address2]"]').val(i.address2),t('#edd-add-order-form input[name="edd_order_address[postal_code]"]').val(i.postal_code),t('#edd-add-order-form input[name="edd_order_address[city]"]').val(i.city),t('#edd-add-order-form input[name="edd_order_address[address_id]"]').val(o),t("#edd_order_address_country").off("change",r),t("#edd_order_address_country").val(i.country).trigger("change").trigger("chosen:updated"),e(t("#edd_order_address_country"),"edd_order_address[region]","edd_order_address_region").done(n).done((function(e){t("#edd_order_address_region").val(i.region).trigger("change").trigger("chosen:updated")})),t("#edd_order_address_country").on("change",r),!1})),t("#edd_order_address_country").on("change",r)}))}).call(this,n(0))},312:function(t,e,n){"use strict";(function(t){var e=n(12);Object(e.a)((function(){t(".edd-payment-change-customer-input").on("change",(function(){var e={action:"edd_customer_details",customer_id:t(this).val(),nonce:t("#edd_customer_details_nonce").val()};""!==e.customer_id&&(t(".customer-details").css("display","none"),t("#customer-avatar").html(''),t.post(ajaxurl,e,(function(e){var n=e.success,r=e.data;n?(t(".customer-details").css("display","flex"),t(".customer-details-wrap").css("display","flex"),t("#customer-avatar").html(r.avatar),t(".customer-name").html(r.name),t(".customer-since span").html(r.date_created_i18n),t(".customer-record a").prop("href",r._links.self)):t(".customer-details-wrap").css("display","none")}),"json"))})),t(".edd-payment-change-customer-input").trigger("change"),t(".edd-order-customer__actions button").on("click",(function(e){e.preventDefault();var n=t(this).hasClass("edd-payment-new-customer"),r=t(this).hasClass("edd-payment-new-customer-cancel");t(this).addClass("active").siblings().removeClass("active"),n?(t(".order-customer-info").hide(),t(".new-customer").show()):r&&(t(".order-customer-info").show(),t(".new-customer").hide()),n=t("#edd-new-customer"),t(".new-customer").is(":visible")?n.val(1):n.val(0)}))}))}).call(this,n(0))},313:function(t,e,n){"use strict";(function(t){var e=n(12);Object(e.a)((function(){var e=t("#edd-resend-receipt");if(e.attr("href")){var n=new URLSearchParams(e.attr("href"));t(document.body).on("change",".edd-order-resend-receipt-email",(function(){n.set("email",t(this).val()),e.attr("href",decodeURIComponent(n.toString()))})),t(".edd-order-resend-receipt-email").trigger("change"),e.on("click",(function(){return confirm(edd_vars.resend_receipt)}))}}))}).call(this,n(0))},35:function(t,e,n){"use strict";!function(){var e,r,o,i=0,u=[];for(r=0;r<256;r++)u[r]=(r+256).toString(16).substr(1);function a(){var t=(16,(!e||i+16>c.BUFFER_SIZE)&&(i=0,e=c.randomBytes(c.BUFFER_SIZE)),e.slice(i,i+=16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,t}function c(){var t=a();return u[t[0]]+u[t[1]]+u[t[2]]+u[t[3]]+"-"+u[t[4]]+u[t[5]]+"-"+u[t[6]]+u[t[7]]+"-"+u[t[8]]+u[t[9]]+"-"+u[t[10]]+u[t[11]]+u[t[12]]+u[t[13]]+u[t[14]]+u[t[15]]}c.BUFFER_SIZE=4096,c.bin=a,c.clearBuffer=function(){e=null,i=0},c.test=function(t){return"string"==typeof t&&/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/.test(t)},"undefined"!=typeof crypto?o=crypto:"undefined"!=typeof window&&void 0!==window.msCrypto&&(o=window.msCrypto),o=o||n(308),t.exports=c,c.randomBytes=function(){if(o){if(o.randomBytes)return o.randomBytes;if(o.getRandomValues)return function(t){var e=new Uint8Array(t);return o.getRandomValues(e),e}}return function(t){var e,n=[];for(e=0;e0&&void 0!==arguments[0]&&arguments[0],e=this.get("state"),n=this.get("subtotal");return!1===e.get("isAdding")?n:!0===e.hasInclusiveTax()&&!1===t?n-this.getTax():n},getDiscountAmount:function(){var t=0,e=this.get("adjustments").getByType("discount");return 0===e.length?this.get("discount"):(e.forEach((function(e){t+=+e.get("subtotal")})),t)},getTax:function(){var t=this.get("state"),e=this.get("tax");if(!1===t.get("isAdding"))return e;var n=t.get("formatters").number;return n.unformat(n.format(e))},getTotal:function(){var t=this.get("state");return!1===t.get("isAdding")?this.get("total"):!0===t.hasInclusiveTax()?this.get("subtotal")-this.getDiscountAmount():this.get("subtotal")-this.getDiscountAmount()+this.getTax()},getAmounts:function(t){var e=t.country,n=void 0===e?"":e,r=t.region,i=void 0===r?"":r,u=t.products,a=void 0===u?[]:u,c=t.discountIds,s=void 0===c?[]:c,f=window.eddAdminOrderOverview.nonces.edd_admin_order_get_item_amounts,d=_.clone(this.attributes),l=d.productId,p=d.priceId,h=d.quantity,v=d.amount,g=d.tax,y=d.subtotal;return wp.ajax.send("edd-admin-order-get-item-amounts",{data:{nonce:f,productId:l,priceId:p,quantity:h,amount:v,tax:g,subtotal:y,country:n,region:i,products:_.uniq([].concat(o()(a),[{id:l,quantity:h,options:{price_id:p}}]),(function(t){var e=t.id,n=t.options.price_id;return"".concat(e,"_").concat(n)})),discounts:_.uniq(s)}})},setAmounts:function(t){var e=t.amount,n=void 0===e?0:e,r=t.discount,o=void 0===r?0:r,i=t.tax,u=void 0===i?0:i,a=t.subtotal,c=void 0===a?0:a,s=t.total,f=void 0===s?0:s;!0===this.get("_isAdjustingManually")?this.set({discount:o}):this.set({amount:n,discount:o,tax:u,subtotal:c,total:f})}})},68:function(t,e,n){var r=n(26);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},69:function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},70:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},71:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},9:function(t,e,n){var r=n(4).default,o=n(13);t.exports=function(t){var e=o(t,"string");return"symbol"==r(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}); \ No newline at end of file diff --git a/assets/js/edd-admin-pass-handler.js b/assets/js/edd-admin-pass-handler.js index fe56a31ebac..2571581ff7a 100644 --- a/assets/js/edd-admin-pass-handler.js +++ b/assets/js/edd-admin-pass-handler.js @@ -1 +1 @@ -!function(e){var a={};function t(n){if(a[n])return a[n].exports;var d=a[n]={i:n,l:!1,exports:{}};return e[n].call(d.exports,d,d.exports,t),d.l=!0,d.exports}t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var d in e)t.d(n,d,function(a){return e[a]}.bind(null,d));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=340)}({1:function(e,a){e.exports=jQuery},340:function(e,a,t){(function(e){!function(e,a){"use strict";a(".edd-pass-handler__control").on("click",".edd-pass-handler__action",(function(e){e.preventDefault();var t=a(this),n=t.attr("data-action"),d="",r=t.text();if(!t.attr("disabled")){switch(n){case"verify":d="edd_verify_pass",t.text(EDDPassManager.verifying);break;case"activate":d="edd_activate_pass",t.text(EDDPassManager.activating);break;case"deactivate":d="edd_deactivate_pass",t.text(EDDPassManager.deactivating);break;default:return}a(".edd-pass-handler__control + .notice").remove(),a(".edd-pass-handler__control + p").remove(),t.removeClass("button-primary").attr("disabled",!0).addClass("updating-message"),"verify"===n&&(a("body").addClass("edd-pass-handler__verifying"),a(".edd-pass-handler__control").after('

'+EDDPassManager.verify_loader+"

"));var s={action:d,token:t.attr("data-token"),timestamp:t.attr("data-timestamp"),nonce:t.attr("data-nonce"),license:a("#edd_pass_key").val()};a.post(ajaxurl,s).done((function(e){if(e.success){if(a(".edd-pass-handler__actions").replaceWith(e.data.actions),e.data.message&&a(".edd-pass-handler__control").after(e.data.message),s.license.length&&"deactivate"===n)a("#edd_pass_key").attr("readonly",!1);else if("activate"===n||"verify"===n){if(a("#edd_pass_key").attr("readonly",!0),e.data.url&&e.data.url.length)return void setTimeout((function(){window.location.href=e.data.url}),1500);"activate"===n&&(a("#edd-admin-notice-inactivepro, .edd-pass-handler__description").slideUp(),a("#edd-flyout-button").removeClass("has-alert"),a(".edd-flyout-item-license").remove(),a(".edd-flyout-item-activate").remove())}}else t.text(r),a(".edd-pass-handler__control").after('
'+e.data.message+"
"),"verify"===n&&(a("body").removeClass("edd-pass-handler__verifying"),a(".edd-pass-handler__verifying-wrap").remove());t.attr("disabled",!1).removeClass("updating-message")}))}})),a(".edd-pass-handler__control").on("click",".edd-pass-handler__delete",(function(e){e.preventDefault();var t=a(this),n={action:"edd_delete_pass",token:t.attr("data-token"),timestamp:t.attr("data-timestamp"),nonce:t.attr("data-nonce"),license:a("#edd_pass_key").val()};n.license&&(a(".edd-pass-handler__control + .notice").remove(),a(".edd-pass-handler__control + p").remove(),t.attr("disabled",!0).addClass("updating-message"),a("#edd_pass_key").val(""),a.post(ajaxurl,n).done((function(e){e.success?(a(".edd-pass-handler__control").after(e.data.message),t.hide()):a(".edd-pass-handler__control").after('
'+e.data.message+"
"),t.attr("disabled",!1).removeClass("updating-message")})))}))}(document,e)}).call(this,t(1))}}); \ No newline at end of file +!function(e){var a={};function t(n){if(a[n])return a[n].exports;var d=a[n]={i:n,l:!1,exports:{}};return e[n].call(d.exports,d,d.exports,t),d.l=!0,d.exports}t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var d in e)t.d(n,d,function(a){return e[a]}.bind(null,d));return n},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=350)}({0:function(e,a){e.exports=jQuery},350:function(e,a,t){(function(e){!function(e,a){"use strict";a(".edd-pass-handler__control").on("click",".edd-pass-handler__action",(function(e){e.preventDefault();var t=a(this),n=t.attr("data-action"),d="",r=t.text();if(!t.attr("disabled")){switch(n){case"verify":d="edd_verify_pass",t.text(EDDPassManager.verifying);break;case"activate":d="edd_activate_pass",t.text(EDDPassManager.activating);break;case"deactivate":d="edd_deactivate_pass",t.text(EDDPassManager.deactivating);break;default:return}a(".edd-pass-handler__control + .notice").remove(),a(".edd-pass-handler__control + p").remove(),t.removeClass("button-primary").attr("disabled",!0).addClass("updating-message"),"verify"===n&&(a("body").addClass("edd-pass-handler__verifying"),a(".edd-pass-handler__control").after('

'+EDDPassManager.verify_loader+"

"));var s={action:d,token:t.attr("data-token"),timestamp:t.attr("data-timestamp"),nonce:t.attr("data-nonce"),license:a("#edd_pass_key").val()};a.post(ajaxurl,s).done((function(e){if(e.success){if(a(".edd-pass-handler__actions").replaceWith(e.data.actions),e.data.message&&a(".edd-pass-handler__control").after(e.data.message),s.license.length&&"deactivate"===n)a("#edd_pass_key").attr("readonly",!1);else if("activate"===n||"verify"===n){if(a("#edd_pass_key").attr("readonly",!0),e.data.url&&e.data.url.length)return void setTimeout((function(){window.location.href=e.data.url}),1500);"activate"===n&&(a("#edd-admin-notice-inactivepro, .edd-pass-handler__description").slideUp(),a("#edd-flyout-button").removeClass("has-alert"),a(".edd-flyout-item-license").remove(),a(".edd-flyout-item-activate").remove())}}else t.text(r),a(".edd-pass-handler__control").after('
'+e.data.message+"
"),"verify"===n&&(a("body").removeClass("edd-pass-handler__verifying"),a(".edd-pass-handler__verifying-wrap").remove());t.attr("disabled",!1).removeClass("updating-message")}))}})),a(".edd-pass-handler__control").on("click",".edd-pass-handler__delete",(function(e){e.preventDefault();var t=a(this),n={action:"edd_delete_pass",token:t.attr("data-token"),timestamp:t.attr("data-timestamp"),nonce:t.attr("data-nonce"),license:a("#edd_pass_key").val()};n.license&&(a(".edd-pass-handler__control + .notice").remove(),a(".edd-pass-handler__control + p").remove(),t.attr("disabled",!0).addClass("updating-message"),a("#edd_pass_key").val(""),a.post(ajaxurl,n).done((function(e){e.success?(a(".edd-pass-handler__control").after(e.data.message),t.hide()):a(".edd-pass-handler__control").after('
'+e.data.message+"
"),t.attr("disabled",!1).removeClass("updating-message")})))}))}(document,e)}).call(this,t(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-pointers.js b/assets/js/edd-admin-pointers.js index 5068b091a74..3ddcdece337 100644 --- a/assets/js/edd-admin-pointers.js +++ b/assets/js/edd-admin-pointers.js @@ -1 +1 @@ -!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=342)}({1:function(t,e){t.exports=jQuery},342:function(t,e,n){(function(t){t(document).ready((function(t){eddPointers.pointers&&eddPointers.pointers.length>=1&&setTimeout((function(){!function e(n){var o=!1,r=eddPointers.pointers[n];t(r.target+":visible").length||!eddPointers.pointers[n+1]?(eddPointers.pointers[n+1]&&t(eddPointers.pointers[n+1].target+":visible").length&&(o=n+1),options=o?t.extend(r.options,{buttons:function(n,i){return button=t('"),button.bind("click.pointer",(function(n){n.preventDefault();var u={pointer:r.pointer_id,action:"dismiss-wp-pointer"};t.post(ajaxurl,u),i.element.pointer("close"),e(o)})),button}}):t.extend(r.options,{close:function(){t.post(ajaxurl,{pointer:r.pointer_id,action:"dismiss-wp-pointer"})}}),t(r.target).pointer(options).pointer("open")):e(n+1)}(0)}),500)}))}).call(this,n(1))}}); \ No newline at end of file +!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=352)}({0:function(t,e){t.exports=jQuery},352:function(t,e,n){(function(t){t(document).ready((function(t){eddPointers.pointers&&eddPointers.pointers.length>=1&&setTimeout((function(){!function e(n){var o=!1,r=eddPointers.pointers[n];t(r.target+":visible").length||!eddPointers.pointers[n+1]?(eddPointers.pointers[n+1]&&t(eddPointers.pointers[n+1].target+":visible").length&&(o=n+1),options=o?t.extend(r.options,{buttons:function(n,i){return button=t('"),button.bind("click.pointer",(function(n){n.preventDefault();var u={pointer:r.pointer_id,action:"dismiss-wp-pointer"};t.post(ajaxurl,u),i.element.pointer("close"),e(o)})),button}}):t.extend(r.options,{close:function(){t.post(ajaxurl,{pointer:r.pointer_id,action:"dismiss-wp-pointer"})}}),t(r.target).pointer(options).pointer("open")):e(n+1)}(0)}),500)}))}).call(this,n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-reports.js b/assets/js/edd-admin-reports.js index 8ffde23c174..0b1a62f71bc 100644 --- a/assets/js/edd-admin-reports.js +++ b/assets/js/edd-admin-reports.js @@ -1 +1 @@ -!function(e){var t={};function a(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)a.d(n,s,function(t){return e[t]}.bind(null,s));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=314)}([function(e,t,a){(function(e){e.exports=function(){"use strict";var t,n;function s(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var a,n=[],s=e.length;for(a=0;a>>0;for(t=0;t0)for(a=0;a=0?a?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,a=[];for(t in e)d(e,t)&&a.push(t);return a};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},A={};function E(e,t,a,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(A[e]=s),t&&(A[t[0]]=function(){return x(s.apply(this,arguments),t[1],t[2])}),a&&(A[a]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=z(t,e.localeData()),W[t]=W[t]||function(e){var t,a,n,s=e.match(O);for(t=0,a=s.length;t=0&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,a-=1;return e}var N={};function J(e,t){var a=e.toLowerCase();N[a]=N[a+"s"]=N[t]=e}function R(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function C(e){var t,a,n={};for(a in e)d(e,a)&&(t=R(a))&&(n[t]=e[a]);return n}var I={};function U(e,t){I[e]=t}function G(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=V(t)),a}function q(e,t){return function(a){return null!=a?(Z(this,e,a),s.updateOffset(this,t),this):K(this,e)}}function K(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,a){e.isValid()&&!isNaN(a)&&("FullYear"===t&&G(e.year())&&1===e.month()&&29===e.date()?(a=B(a),e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),De(a,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](a))}var $,Q=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ae=/[+-]?\d{6}/,ne=/\d\d?/,se=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,de=/\d{1,4}/,_e=/[+-]?\d{1,6}/,oe=/\d+/,ue=/[+-]?\d+/,me=/Z|[+-]\d\d:?\d\d/gi,le=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,a){$[e]=S(t)?t:function(e,n){return e&&a?a:t}}function Me(e,t){return d($,e)?$[e](t._strict,t._locale):new RegExp(Le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,a,n,s){return t||a||n||s}))))}function Le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var ye,Ye={};function fe(e,t){var a,n,s=t;for("string"==typeof e&&(e=[e]),u(t)&&(s=function(e,a){a[t]=B(e)}),n=e.length,a=0;a68?1900:2e3)};var Pe=q("FullYear",!0);function We(e,t,a,n,s,r,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,a,n,s,r,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,a,n,s,r,i),d}function Ae(e){var t,a;return e<100&&e>=0?((a=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ee(e,t,a){var n=7+t-a;return-(7+Ae(e,0,n).getUTCDay()-t)%7+n-1}function Fe(e,t,a,n,s){var r,i,d=1+7*(t-1)+(7+a-n)%7+Ee(e,n,s);return d<=0?i=Oe(r=e-1)+d:d>Oe(e)?(r=e+1,i=d-Oe(e)):(r=e,i=d),{year:r,dayOfYear:i}}function ze(e,t,a){var n,s,r=Ee(e.year(),t,a),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?n=i+Ne(s=e.year()-1,t,a):i>Ne(e.year(),t,a)?(n=i-Ne(e.year(),t,a),s=e.year()+1):(s=e.year(),n=i),{week:n,year:s}}function Ne(e,t,a){var n=Ee(e,t,a),s=Ee(e+1,t,a);return(Oe(e)-n+s)/7}function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),U("week",5),U("isoWeek",5),he("w",ne),he("ww",ne,X),he("W",ne),he("WW",ne,X),pe(["w","ww","W","WW"],(function(e,t,a,n){t[n.substr(0,1)]=B(e)})),E("d",0,"do","day"),E("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),E("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),E("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),he("d",ne),he("e",ne),he("E",ne),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,a,n){var s=a._locale.weekdaysParse(e,n,a._strict);null!=s?t.d=s:M(a).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,a,n){t[n]=B(e)}));var Re="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ce="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=ce,Ge=ce,Ve=ce;function Be(e,t,a){var n,s,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return a?"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,i))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,i))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,i))?s:null:"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,i))||-1!==(s=ye.call(this._shortWeekdaysParse,i))||-1!==(s=ye.call(this._minWeekdaysParse,i))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,i))||-1!==(s=ye.call(this._weekdaysParse,i))||-1!==(s=ye.call(this._minWeekdaysParse,i))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,i))||-1!==(s=ye.call(this._weekdaysParse,i))||-1!==(s=ye.call(this._shortWeekdaysParse,i))?s:null}function qe(){function e(e,t){return t.length-e.length}var t,a,n,s,r,i=[],d=[],_=[],o=[];for(t=0;t<7;t++)a=h([2e3,1]).day(t),n=Le(this.weekdaysMin(a,"")),s=Le(this.weekdaysShort(a,"")),r=Le(this.weekdays(a,"")),i.push(n),d.push(s),_.push(r),o.push(n),o.push(s),o.push(r);i.sort(e),d.sort(e),_.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Ze(e,t){E(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function $e(e,t){return t._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,Ke),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+Ke.apply(this)+x(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+Ke.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),Ze("a",!0),Ze("A",!1),J("hour","h"),U("hour",13),he("a",$e),he("A",$e),he("H",ne),he("h",ne),he("k",ne),he("HH",ne,X),he("hh",ne,X),he("kk",ne,X),he("hmm",se),he("hmmss",re),he("Hmm",se),he("Hmmss",re),fe(["H","HH"],3),fe(["k","kk"],(function(e,t,a){var n=B(e);t[3]=24===n?0:n})),fe(["a","A"],(function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e})),fe(["h","hh"],(function(e,t,a){t[3]=B(e),M(a).bigHour=!0})),fe("hmm",(function(e,t,a){var n=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n)),M(a).bigHour=!0})),fe("hmmss",(function(e,t,a){var n=e.length-4,s=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n,2)),t[5]=B(e.substr(s)),M(a).bigHour=!0})),fe("Hmm",(function(e,t,a){var n=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n))})),fe("Hmmss",(function(e,t,a){var n=e.length-4,s=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n,2)),t[5]=B(e.substr(s))}));var Qe,Xe=q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ge,monthsShort:we,week:{dow:0,doy:6},weekdays:Re,weekdaysMin:Ie,weekdaysShort:Ce,meridiemParse:/[ap]\.?m?\.?/i},tt={},at={};function nt(e,t){var a,n=Math.min(e.length,t.length);for(a=0;a0;){if(n=rt(s.slice(0,t).join("-")))return n;if(a&&a.length>=t&&nt(s,a)>=t-1)break;t--}r++}return Qe}(e)}function ot(e){var t,a=e._a;return a&&-2===M(e).overflow&&(t=a[1]<0||a[1]>11?1:a[2]<1||a[2]>De(a[0],a[1])?2:a[3]<0||a[3]>24||24===a[3]&&(0!==a[4]||0!==a[5]||0!==a[6])?3:a[4]<0||a[4]>59?4:a[5]<0||a[5]>59?5:a[6]<0||a[6]>999?6:-1,M(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),M(e)._overflowWeeks&&-1===t&&(t=7),M(e)._overflowWeekday&&-1===t&&(t=8),M(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,lt=/Z|[+-]\d\d(?::?\d\d)?/,ct=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mt=/^\/?Date\((-?\d+)/i,Lt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yt(e){var t,a,n,s,r,i,d=e._i,_=ut.exec(d)||mt.exec(d),o=ct.length,u=ht.length;if(_){for(M(e).iso=!0,t=0,a=o;t7)&&(_=!0)):(r=e._locale._week.dow,i=e._locale._week.doy,o=ze(vt(),r,i),a=kt(t.gg,e._a[0],o.year),n=kt(t.w,o.week),null!=t.d?((s=t.d)<0||s>6)&&(_=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(_=!0)):s=r),n<1||n>Ne(a,r,i)?M(e)._overflowWeeks=!0:null!=_?M(e)._overflowWeekday=!0:(d=Fe(a,n,s,r,i),e._a[0]=d.year,e._dayOfYear=d.dayOfYear)}(e),null!=e._dayOfYear&&(i=kt(e._a[0],n[0]),(e._dayOfYear>Oe(i)||0===e._dayOfYear)&&(M(e)._overflowDayOfYear=!0),a=Ae(i,0,e._dayOfYear),e._a[1]=a.getUTCMonth(),e._a[2]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:We).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(M(e).weekdayMismatch=!0)}}function gt(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],M(e).empty=!0;var t,a,n,r,i,d,_,o=""+e._i,u=o.length,m=0;for(_=(n=z(e._f,e._locale).match(O)||[]).length,t=0;t<_;t++)r=n[t],(a=(o.match(Me(r,e))||[])[0])&&((i=o.substr(0,o.indexOf(a))).length>0&&M(e).unusedInput.push(i),o=o.slice(o.indexOf(a)+a.length),m+=a.length),A[r]?(a?M(e).empty=!1:M(e).unusedTokens.push(r),ke(r,a,e)):e._strict&&!a&&M(e).unusedTokens.push(r);M(e).charsLeftOver=u-m,o.length>0&&M(e).unusedInput.push(o),e._a[3]<=12&&!0===M(e).bigHour&&e._a[3]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[3]=function(e,t,a){var n;return null==a?t:null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?((n=e.isPM(a))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(d=M(e).era)&&(e._a[0]=e._locale.erasConvertYear(d,e._a[0])),Dt(e),ot(e)}else pt(e);else Yt(e)}function wt(e){var t=e._i,a=e._f;return e._locale=e._locale||_t(e._l),null===t||void 0===a&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),D(t)?new k(ot(t)):(m(t)?e._d=t:r(a)?function(e){var t,a,n,s,r,i,d=!1,_=e._f.length;if(0===_)return M(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<_;s++)r=0,i=!1,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],gt(t),L(t)&&(i=!0),r+=M(t).charsLeftOver,r+=10*M(t).unusedTokens.length,M(t).score=r,d?rthis?this:e:y()}));function Ht(e,t){var a,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return vt();for(a=t[0],n=1;n=0?new Date(e+400,t,a)-126227808e5:new Date(e,t,a).valueOf()}function sa(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-126227808e5:Date.UTC(e,t,a)}function ra(e,t){return t.erasAbbrRegex(e)}function ia(){var e,t,a=[],n=[],s=[],r=[],i=this.eras();for(e=0,t=i.length;e(r=Ne(e,n,s))&&(t=r),oa.call(this,e,t,a,n,s))}function oa(e,t,a,n,s){var r=Fe(e,t,a,n,s),i=Ae(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),he("N",ra),he("NN",ra),he("NNN",ra),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,a,n){var s=a._locale.erasParse(e,n,a._strict);s?M(a).era=s:M(a).invalidEra=e})),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",(function(e,t){return t._eraYearOrdinalRegex||oe})),fe(["y","yy","yyy","yyyy"],0),fe(["yo"],(function(e,t,a,n){var s;a._locale._eraYearOrdinalRegex&&(s=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[0]=a._locale.eraYearOrdinalParse(e,s):t[0]=parseInt(e,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),da("gggg","weekYear"),da("ggggg","weekYear"),da("GGGG","isoWeekYear"),da("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",ne,X),he("gg",ne,X),he("GGGG",de,te),he("gggg",de,te),he("GGGGG",_e,ae),he("ggggg",_e,ae),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,a,n){t[n.substr(0,2)]=B(e)})),pe(["gg","GG"],(function(e,t,a,n){t[n]=s.parseTwoDigitYear(e)})),E("Q",0,"Qo","quarter"),J("quarter","Q"),U("quarter",7),he("Q",Q),fe("Q",(function(e,t){t[1]=3*(B(e)-1)})),E("D",["DD",2],"Do","date"),J("date","D"),U("date",9),he("D",ne),he("DD",ne,X),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),fe(["D","DD"],2),fe("Do",(function(e,t){t[2]=B(e.match(ne)[0])}));var ua=q("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),U("dayOfYear",4),he("DDD",ie),he("DDDD",ee),fe(["DDD","DDDD"],(function(e,t,a){a._dayOfYear=B(e)})),E("m",["mm",2],0,"minute"),J("minute","m"),U("minute",14),he("m",ne),he("mm",ne,X),fe(["m","mm"],4);var ma=q("Minutes",!1);E("s",["ss",2],0,"second"),J("second","s"),U("second",15),he("s",ne),he("ss",ne,X),fe(["s","ss"],5);var la,ca,ha=q("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),U("millisecond",16),he("S",ie,Q),he("SS",ie,X),he("SSS",ie,ee),la="SSSS";la.length<=9;la+="S")he(la,oe);function Ma(e,t){t[6]=B(1e3*("0."+e))}for(la="S";la.length<=9;la+="S")fe(la,Ma);ca=q("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var La=k.prototype;function ya(e){return e}La.add=Bt,La.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):$t(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var a=e||vt(),n=Ft(a,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",i=t&&(S(t[r])?t[r].call(this,a):t[r]);return this.format(i||this.localeData().calendar(r,this,vt(a)))},La.clone=function(){return new k(this)},La.diff=function(e,t,a){var n,s,r;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=R(t)){case"year":r=Qt(this,n)/12;break;case"month":r=Qt(this,n);break;case"quarter":r=Qt(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return a?r:V(r)},La.endOf=function(e){var t,a;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(a=this._isUTC?sa:na,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-aa(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-aa(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-aa(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},La.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},La.from=function(e,t){return this.isValid()&&(D(e)&&e.isValid()||vt(e).isValid())?Ct({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},La.fromNow=function(e){return this.from(vt(),e)},La.to=function(e,t){return this.isValid()&&(D(e)&&e.isValid()||vt(e).isValid())?Ct({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},La.toNow=function(e){return this.to(vt(),e)},La.get=function(e){return S(this[e=R(e)])?this[e]():this},La.invalidAt=function(){return M(this).overflow},La.isAfter=function(e,t){var a=D(e)?e:vt(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()9999?F(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(a,"Z")):F(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},La.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,a,n="moment",s="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+a)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(La[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),La.toJSON=function(){return this.isValid()?this.toISOString():null},La.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},La.unix=function(){return Math.floor(this.valueOf()/1e3)},La.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},La.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},La.eraName=function(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},La.isLocal=function(){return!!this.isValid()&&!this._isUTC},La.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},La.isUtc=Nt,La.isUTC=Nt,La.zoneAbbr=function(){return this._isUTC?"UTC":""},La.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},La.dates=w("dates accessor is deprecated. Use date instead.",ua),La.months=w("months accessor is deprecated. Use month instead",je),La.years=w("years accessor is deprecated. Use year instead",Pe),La.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),La.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),(t=wt(t))._a?(e=t._isUTC?h(t._a):vt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,a){var n,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0;for(n=0;n0):this._isDSTShifted=!1,this._isDSTShifted}));var Ya=j.prototype;function fa(e,t,a,n){var s=_t(),r=h().set(n,t);return s[a](r,e)}function pa(e,t,a){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,a,"month");var n,s=[];for(n=0;n<12;n++)s[n]=fa(e,n,a,"month");return s}function ka(e,t,a,n){"boolean"==typeof e?(u(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,u(t)&&(a=t,t=void 0),t=t||"");var s,r=_t(),i=e?r._week.dow:0,d=[];if(null!=a)return fa(t,(a+i)%7,n,"day");for(s=0;s<7;s++)d[s]=fa(t,(s+i)%7,n,"day");return d}Ya.calendar=function(e,t,a){var n=this._calendar[e]||this._calendar.sameElse;return S(n)?n.call(t,a):n},Ya.longDateFormat=function(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Ya.invalidDate=function(){return this._invalidDate},Ya.ordinal=function(e){return this._ordinal.replace("%d",e)},Ya.preparse=ya,Ya.postformat=ya,Ya.relativeTime=function(e,t,a,n){var s=this._relativeTime[a];return S(s)?s(e,t,a,n):s.replace(/%d/i,e)},Ya.pastFuture=function(e,t){var a=this._relativeTime[e>0?"future":"past"];return S(a)?a(t):a.replace(/%s/i,t)},Ya.set=function(e){var t,a;for(a in e)d(e,a)&&(S(t=e[a])?this[a]=t:this["_"+a]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ya.eras=function(e,t){var a,n,r,i=this._eras||_t("en")._eras;for(a=0,n=i.length;a=0)return _[n]},Ya.erasConvertYear=function(e,t){var a=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*a},Ya.erasAbbrRegex=function(e){return d(this,"_erasAbbrRegex")||ia.call(this),e?this._erasAbbrRegex:this._erasRegex},Ya.erasNameRegex=function(e){return d(this,"_erasNameRegex")||ia.call(this),e?this._erasNameRegex:this._erasRegex},Ya.erasNarrowRegex=function(e){return d(this,"_erasNarrowRegex")||ia.call(this),e?this._erasNarrowRegex:this._erasRegex},Ya.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},Ya.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ya.monthsParse=function(e,t,a){var n,s,r;if(this._monthsParseExact)return Se.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=h([2e3,n]),a&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),a||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(a&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!a&&this._monthsParse[n].test(e))return n}},Ya.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||xe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Ya.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||xe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=ve),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Ya.week=function(e){return ze(e,this._week.dow,this._week.doy).week},Ya.firstDayOfYear=function(){return this._week.doy},Ya.firstDayOfWeek=function(){return this._week.dow},Ya.weekdays=function(e,t){var a=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Je(a,this._week.dow):e?a[e.day()]:a},Ya.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Ya.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Ya.weekdaysParse=function(e,t,a){var n,s,r;if(this._weekdaysParseExact)return Be.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=h([2e3,1]).day(n),a&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(a&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(a&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!a&&this._weekdaysParse[n].test(e))return n}},Ya.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Ya.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ya.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ya.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Ya.meridiem=function(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=w("moment.lang is deprecated. Use moment.locale instead.",it),s.langData=w("moment.langData is deprecated. Use moment.localeData instead.",_t);var Da=Math.abs;function ga(e,t,a,n){var s=Ct(t,a);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function wa(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(e){return 4800*e/146097}function va(e){return 146097*e/4800}function ba(e){return function(){return this.as(e)}}var Sa=ba("ms"),Ha=ba("s"),ja=ba("m"),xa=ba("h"),Oa=ba("d"),Pa=ba("w"),Wa=ba("M"),Aa=ba("Q"),Ea=ba("y");function Fa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=Fa("milliseconds"),Na=Fa("seconds"),Ja=Fa("minutes"),Ra=Fa("hours"),Ca=Fa("days"),Ia=Fa("months"),Ua=Fa("years"),Ga=Math.round,Va={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ba(e,t,a,n,s){return s.relativeTime(t||1,!!a,e,n)}var qa=Math.abs;function Ka(e){return(e>0)-(e<0)||+e}function Za(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a,n,s,r,i,d,_=qa(this._milliseconds)/1e3,o=qa(this._days),u=qa(this._months),m=this.asSeconds();return m?(e=V(_/60),t=V(e/60),_%=60,e%=60,a=V(u/12),u%=12,n=_?_.toFixed(3).replace(/\.?0+$/,""):"",s=m<0?"-":"",r=Ka(this._months)!==Ka(m)?"-":"",i=Ka(this._days)!==Ka(m)?"-":"",d=Ka(this._milliseconds)!==Ka(m)?"-":"",s+"P"+(a?r+a+"Y":"")+(u?r+u+"M":"")+(o?i+o+"D":"")+(t||e||_?"T":"")+(t?d+t+"H":"")+(e?d+e+"M":"")+(_?d+n+"S":"")):"P0D"}var $a=xt.prototype;return $a.isValid=function(){return this._isValid},$a.abs=function(){var e=this._data;return this._milliseconds=Da(this._milliseconds),this._days=Da(this._days),this._months=Da(this._months),e.milliseconds=Da(e.milliseconds),e.seconds=Da(e.seconds),e.minutes=Da(e.minutes),e.hours=Da(e.hours),e.months=Da(e.months),e.years=Da(e.years),this},$a.add=function(e,t){return ga(this,e,t,1)},$a.subtract=function(e,t){return ga(this,e,t,-1)},$a.as=function(e){if(!this.isValid())return NaN;var t,a,n=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,a=this._months+Ta(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(va(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},$a.asMilliseconds=Sa,$a.asSeconds=Ha,$a.asMinutes=ja,$a.asHours=xa,$a.asDays=Oa,$a.asWeeks=Pa,$a.asMonths=Wa,$a.asQuarters=Aa,$a.asYears=Ea,$a.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},$a._bubble=function(){var e,t,a,n,s,r=this._milliseconds,i=this._days,d=this._months,_=this._data;return r>=0&&i>=0&&d>=0||r<=0&&i<=0&&d<=0||(r+=864e5*wa(va(d)+i),i=0,d=0),_.milliseconds=r%1e3,e=V(r/1e3),_.seconds=e%60,t=V(e/60),_.minutes=t%60,a=V(t/60),_.hours=a%24,i+=V(a/24),d+=s=V(Ta(i)),i-=wa(va(s)),n=V(d/12),d%=12,_.days=i,_.months=d,_.years=n,this},$a.clone=function(){return Ct(this)},$a.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},$a.milliseconds=za,$a.seconds=Na,$a.minutes=Ja,$a.hours=Ra,$a.days=Ca,$a.weeks=function(){return V(this.days()/7)},$a.months=Ia,$a.years=Ua,$a.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var a,n,s=!1,r=Va;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(r=Object.assign({},Va,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=function(e,t,a,n){var s=Ct(e).abs(),r=Ga(s.as("s")),i=Ga(s.as("m")),d=Ga(s.as("h")),_=Ga(s.as("d")),o=Ga(s.as("M")),u=Ga(s.as("w")),m=Ga(s.as("y")),l=r<=a.ss&&["s",r]||r0,l[4]=n,Ba.apply(null,l)}(this,!s,r,a=this.localeData()),s&&(n=a.pastFuture(+this,n)),a.postformat(n)},$a.toISOString=Za,$a.toString=Za,$a.toJSON=Za,$a.locale=Xt,$a.localeData=ta,$a.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Za),$a.lang=ea,E("X",0,0,"unix"),E("x",0,0,"valueOf"),he("x",ue),he("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",(function(e,t,a){a._d=new Date(1e3*parseFloat(e))})),fe("x",(function(e,t,a){a._d=new Date(B(e))})),s.version="2.29.3",t=vt,s.fn=La,s.min=function(){var e=[].slice.call(arguments,0);return Ht("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return Ht("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=h,s.unix=function(e){return vt(1e3*e)},s.months=function(e,t){return pa(e,t,"months")},s.isDate=m,s.locale=it,s.invalid=y,s.duration=Ct,s.isMoment=D,s.weekdays=function(e,t,a){return ka(e,t,a,"weekdays")},s.parseZone=function(){return vt.apply(null,arguments).parseZone()},s.localeData=_t,s.isDuration=Ot,s.monthsShort=function(e,t){return pa(e,t,"monthsShort")},s.weekdaysMin=function(e,t,a){return ka(e,t,a,"weekdaysMin")},s.defineLocale=dt,s.updateLocale=function(e,t){if(null!=t){var a,n,s=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(H(tt[e]._config,t)):(null!=(n=rt(e))&&(s=n._config),t=H(s,t),null==n&&(t.abbr=e),(a=new j(t)).parentLocale=tt[e],tt[e]=a),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},s.locales=function(){return T(tt)},s.weekdaysShort=function(e,t,a){return ka(e,t,a,"weekdaysShort")},s.normalizeUnits=R,s.relativeTimeRounding=function(e){return void 0===e?Ga:"function"==typeof e&&(Ga=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Va[e]&&(void 0===t?Va[e]:(Va[e]=t,"s"===e&&(Va.ss=t-1),!0))},s.calendarFormat=function(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"},s.prototype=La,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()}).call(this,a(107)(e))},function(e,t){e.exports=jQuery},,function(e,t,a){var n=a(9);e.exports=function(e,t,a){return(t=n(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function a(t){return e.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(e,t,a){var n=a(4).default,s=a(13);e.exports=function(e){var t=s(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t,a){var n=a(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var s=a.call(e,t||"default");if("object"!=n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t,a){var n=a(68),s=a(69),r=a(37),i=a(70);e.exports=function(e){return n(e)||s(e)||r(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,,,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&void 0!==arguments[0]?arguments[0]:{};i()(this,e);var a=edd_vars,n=a.currency_decimals,s=a.decimal_separator,r=a.thousands_separator;this.config=u({precision:n,decimalSeparator:s,thousandSeparator:r},t)}return _()(e,[{key:"format",value:function(e){var t=e;"number"!=typeof e&&(t=parseFloat(e)),isNaN(t)&&(t=0);var a=this.config,n=a.precision,s=a.decimalSeparator,r=a.thousandSeparator;return m(t,n,s,r)}},{key:"unformat",value:function(e){var t=this.config,a=t.decimalSeparator,n=t.thousandSeparator;"string"!=typeof e&&(e=String(e));var s=e.replace(n,"").replace(a,"."),r=parseFloat(s);return isNaN(r)?0:r}},{key:"absint",value:function(e){var t=this.unformat(e);return t>=0?t:-1*t}}]),e}();function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function h(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};i()(this,e);var a=edd_vars,n=a.currency,s=a.currency_sign,r=a.currency_pos,d=a.currency_decimals,_=a.decimal_separator,o=a.thousands_separator;this.config=h({currency:n,currencySymbol:s,currencySymbolPosition:r,precision:d,decimalSeparator:_,thousandSeparator:o},t),this.number=new l(this.config)}return _()(e,[{key:"format",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this.config,n=a.currencySymbol,s=a.currencySymbolPosition,r=e<0,i=this.number.format(e),d="";switch(r&&(i=this.number.format(-1*e)),s){case"before":d=n+i;break;case"after":d=i+n}return!0===r&&!1===t&&(d="-".concat(d)),d}},{key:"unformat",value:function(e){var t=this.config.currencySymbol,a=e.replace(t,"");return this.number.unformat(a)}}]),e}()},,,,,,,,,function(e,t,a){var n=a(26);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var n=a(9);function s(e,t){for(var a=0;a0&&(n="+"),(+(Math.round(+a[0]+"e"+n+(+a[1]+t))+"e-"+t)).toFixed(t)}(s,r).toString():""+Math.round(s)).split("."))[0].length>3&&(_[0]=_[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(_[1]||"").length=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,a,r,i){var d=n(t),_=s[e][n(t)];return 2===d&&(_=_[a?0:1]),_.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(n,s,r,i){var d=t(n),_=a[e][t(n)];return 2===d&&(_=_[s?0:1]),_.replace(/%d/i,n)}},s=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(t,s,r,i){var d=a(t),_=n[e][a(t)];return 2===d&&(_=_[s?0:1]),_.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,a){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10;return e+(t[a]||t[e%100-a]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n,s;return"m"===a?t?"хвіліна":"хвіліну":"h"===a?t?"гадзіна":"гадзіну":e+" "+(n=+e,s={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[a].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,a){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},a={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,a){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[a],e)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],n=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:s,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:s,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,a){return e<12?"a.m.":"g.m."}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=e+" ";switch(a){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},a="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],s=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?s+(r(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(r(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(r(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(r(e)?"dny":"dní"):s+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?s+(r(e)?"měsíce":"měsíců"):s+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(r(e)?"roky":"let"):s+"lety"}}e.defineLocale("cs",{months:t,monthsShort:a,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],a=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,a){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,a){return e>11?a?"μμ":"ΜΜ":a?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var a,n=this._calendarEl[e],s=t&&t.hours();return a=n,("undefined"!=typeof Function&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a))&&(n=n.apply(t)),n.replace("{}",s%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,a){return e>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(a(0))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?s[a][2]?s[a][2]:s[a][1]:n?s[a][0]:s[a][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},a={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,a){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),a=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,s,r){var i="";switch(s){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":i=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":i=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":i=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":i=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":i=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":i=r?"vuoden":"vuotta"}return function(e,n){return e<10?n?a[e]:t[e]:e}(e,r)+" "+i}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),a="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?s[a][0]:s[a][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?s[a][0]:s[a][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},a={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,a){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?a?'לפנה"צ':"לפני הצהריים":e<18?a?'אחה"צ':"אחרי הצהריים":"בערב"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=e+" ";switch(a){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function a(e,t,a,n){var s=e;switch(a){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return s+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return s+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return s+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return s+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,a){return e<12?!0===a?"de":"DE":!0===a?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function a(e,a,n,s){var r=e+" ";switch(n){case"s":return a||s?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(a||s?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return a?"mínúta":"mínútu";case"mm":return t(e)?r+(a||s?"mínútur":"mínútum"):a?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(a||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return a?"dagur":s?"dag":"degi";case"dd":return t(e)?a?r+"dagar":r+(s?"daga":"dögum"):a?r+"dagur":r+(s?"dag":"degi");case"M":return a?"mánuður":s?"mánuð":"mánuði";case"MM":return t(e)?a?r+"mánuðir":r+(s?"mánuði":"mánuðum"):a?r+"mánuður":r+(s?"mánuð":"mánuði");case"y":return a||s?"ár":"ári";case"yy":return t(e)?r+(a||s?"ár":"árum"):r+(a||s?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:a,ss:a,m:a,mm:a,h:"klukkustund",hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,a){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,a){return"ი"===a?t+"ში":t+a+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},a={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,a){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},a={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,a){return e<12?"오전":"오후"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,a){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?s[a][0]:s[a][1]}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return a(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return a(e)}return a(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return a(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return a(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,a){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function a(e,t,a,n){return t?s(a)[0]:n?s(a)[1]:s(a)[2]}function n(e){return e%10==0||e>10&&e<20}function s(e){return t[e].split("_")}function r(e,t,r,i){var d=e+" ";return 1===e?d+a(0,t,r[0],i):t?d+(n(e)?s(r)[1]:s(r)[0]):i?d+s(r)[1]:d+(n(e)?s(r)[1]:s(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,a,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function a(e,t,a){return a?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,s){return e+" "+a(t[s],e,n)}function s(e,n,s){return a(t[s],e,n)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,n){var s=t.words[n];return 1===n.length?a?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,a){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){switch(a){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,a){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,a,n){var s="";if(t)switch(a){case"s":s="काही सेकंद";break;case"ss":s="%d सेकंद";break;case"m":s="एक मिनिट";break;case"mm":s="%d मिनिटे";break;case"h":s="एक तास";break;case"hh":s="%d तास";break;case"d":s="एक दिवस";break;case"dd":s="%d दिवस";break;case"M":s="एक महिना";break;case"MM":s="%d महिने";break;case"y":s="एक वर्ष";break;case"yy":s="%d वर्षे"}else switch(a){case"s":s="काही सेकंदां";break;case"ss":s="%d सेकंदां";break;case"m":s="एका मिनिटा";break;case"mm":s="%d मिनिटां";break;case"h":s="एका तासा";break;case"hh":s="%d तासां";break;case"d":s="एका दिवसा";break;case"dd":s="%d दिवसां";break;case"M":s="एका महिन्या";break;case"MM":s="%d महिन्यां";break;case"y":s="एका वर्षा";break;case"yy":s="%d वर्षां"}return s.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,a){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},a={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,a){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},a={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function s(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,a){var n=e+" ";switch(a){case"ss":return n+(s(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(s(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(s(e)?"godziny":"godzin");case"ww":return n+(s(e)?"tygodnie":"tygodni");case"MM":return n+(s(e)?"miesiące":"miesięcy");case"yy":return n+(s(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?a[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:r,M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[a]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n,s;return"m"===a?t?"минута":"минуту":e+" "+(n=+e,s={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var a=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],a=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,a){return e>11?a?"ප.ව.":"පස් වරු":a?"පෙ.ව.":"පෙර වරු"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),a="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function s(e,t,a,s){var r=e+" ";switch(a){case"s":return t||s?"pár sekúnd":"pár sekundami";case"ss":return t||s?r+(n(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":s?"minútu":"minútou";case"mm":return t||s?r+(n(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?r+(n(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||s?"deň":"dňom";case"dd":return t||s?r+(n(e)?"dni":"dní"):r+"dňami";case"M":return t||s?"mesiac":"mesiacom";case"MM":return t||s?r+(n(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||s?"rok":"rokom";case"yy":return t||s?r+(n(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:a,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return s+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return s+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return s+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return s+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return s+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,a){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,a,n,s){var r,i=t.words[n];return 1===n.length?"y"===n&&a?"jedna godina":s||a?i[0]:i[1]:(r=t.correctGrammaticalCase(e,i),"yy"===n&&a&&"godinu"===r?e+" godina":e+" "+r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,a,n,s){var r,i=t.words[n];return 1===n.length?"y"===n&&a?"једна година":s||a?i[0]:i[1]:(r=t.correctGrammaticalCase(e,i),"yy"===n&&a&&"годину"===r?e+" година":e+" "+r)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},a={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,a){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,a){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(e,a,n,s){var r=function(e){var a=Math.floor(e%1e3/100),n=Math.floor(e%100/10),s=e%10,r="";return a>0&&(r+=t[a]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+t[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+t[s]),""===r?"pagh":r}(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,a){return e<12?a?"öö":"ÖÖ":a?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?s[a][0]:s[a][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return e>11?a?"d'o":"D'O":a?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n,s;return"m"===a?t?"хвилина":"хвилину":"h"===a?t?"година":"годину":e+" "+(n=+e,s={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var a={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?a.nominative.slice(1,7).concat(a.nominative.slice(0,1)):e?a[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:a.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],a=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(0))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(0))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t),function(e,t){a(315),a(369),"undefined"!=typeof postboxes&&/edd-reports/.test(pagenow)&&postboxes.add_postbox_toggles(pagenow);var n={init:function(){this.meta_boxes(),this.date_options(),this.customers_export()},meta_boxes:function(){e(".edd-reports-wrapper .postbox .handlediv").remove(),e(".edd-reports-wrapper .postbox").removeClass("closed"),setTimeout((function(){e(".edd-reports-wrapper .postbox .hndle").off("click.postboxes")}),1)},date_options:function(){e("select.edd-graphs-date-options").on("change",(function(t){var a=e(this),n=a.parent().siblings(".edd-date-range-options");"other"===a.val()?n.removeClass("screen-reader-text"):(n.addClass("screen-reader-text"),e(".edd-date-range-selected-date span").addClass("hidden"),e('.edd-date-range-selected-date span[data-range="'+a.val()+'"]').removeClass("hidden"))})),e(".edd-date-range-dates").on("click",(function(t){t.preventDefault(),e("select.edd-graphs-date-options").trigger("focus")}));var t=e(".edd-date-range-selected-relative-date"),a=e(".edd-date-range-relative-dropdown");e(".edd-graphs-date-options").on("change",(function(){var t=e(this).val(),n=e('.edd-date-range-selected-date span[data-range="'+t+'"]').data("default-relative-range");e(".edd-date-range-picker").attr("data-range",t),e(".edd-graphs-relative-date-options").val(n).trigger("change"),e.ajax({type:"GET",dataType:"html",url:ajaxurl,data:{action:"edd_reports_get_relative_date_ranges",range:t,relative_range:n},beforeSend:function(){a.html('
').addClass("loading")},success:function(e){a.html(e)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a.remove(".spinner"),a.removeClass("loading")}))})),t.on("click",(function(t){t.preventDefault(),e(this).toggleClass("opened")})),e(document).on("click",".edd-date-range-relative-dropdown li",(function(){var t=e(this).data("range");e(".edd-graphs-relative-date-options").val(t).trigger("change")})),e(".edd-graphs-relative-date-options").on("change",(function(){var t=e(this).val(),a=e('.edd-date-range-relative-dropdown li[data-range="'+t+'"]'),n=a.find(".date-range-name").first().text();e(".edd-date-range-selected-relative-range-name").html(n),e(".edd-date-range-relative-dropdown li.active").removeClass("active"),a.addClass("active")})),e(document).on("click",(function(e){n.close_relative_ranges_dropdown(e.target)})),e(document).on("keydown",(function(e){"Escape"===e.key&&n.close_relative_ranges_dropdown()}))},close_relative_ranges_dropdown:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=e(".edd-date-range-selected-relative-date");if(!a.hasClass("opened"))return!1;!1!==t&&(a.is(t)||a.has(t).length)||a.removeClass("opened")},customers_export:function(){e("#edd_customer_export_download").on("change",(function(){var t=e(this),a=e("option:selected",t).val(),n=e("#edd_customer_export_option");if("0"===t.val()?n.show():n.hide(),0!==parseInt(a)){var s={action:"edd_check_for_download_price_variations",download_id:a,all_prices:!0},r=e(".edd_price_options_select");e.post(ajaxurl,s,(function(t){r.remove(),e("#edd_customer_export_download_chosen").after(t)}))}else r.remove()}))}};t(document).ready((function(e){n.init()}))}.call(this,a(1),a(1))},function(e,t,a){"use strict";(function(e){}).call(this,a(1))},function(e,t,a){var n={"./af":145,"./af.js":145,"./ar":146,"./ar-dz":147,"./ar-dz.js":147,"./ar-kw":148,"./ar-kw.js":148,"./ar-ly":149,"./ar-ly.js":149,"./ar-ma":150,"./ar-ma.js":150,"./ar-sa":151,"./ar-sa.js":151,"./ar-tn":152,"./ar-tn.js":152,"./ar.js":146,"./az":153,"./az.js":153,"./be":154,"./be.js":154,"./bg":155,"./bg.js":155,"./bm":156,"./bm.js":156,"./bn":157,"./bn-bd":158,"./bn-bd.js":158,"./bn.js":157,"./bo":159,"./bo.js":159,"./br":160,"./br.js":160,"./bs":161,"./bs.js":161,"./ca":162,"./ca.js":162,"./cs":163,"./cs.js":163,"./cv":164,"./cv.js":164,"./cy":165,"./cy.js":165,"./da":166,"./da.js":166,"./de":167,"./de-at":168,"./de-at.js":168,"./de-ch":169,"./de-ch.js":169,"./de.js":167,"./dv":170,"./dv.js":170,"./el":171,"./el.js":171,"./en-au":172,"./en-au.js":172,"./en-ca":173,"./en-ca.js":173,"./en-gb":174,"./en-gb.js":174,"./en-ie":175,"./en-ie.js":175,"./en-il":176,"./en-il.js":176,"./en-in":177,"./en-in.js":177,"./en-nz":178,"./en-nz.js":178,"./en-sg":179,"./en-sg.js":179,"./eo":180,"./eo.js":180,"./es":181,"./es-do":182,"./es-do.js":182,"./es-mx":183,"./es-mx.js":183,"./es-us":184,"./es-us.js":184,"./es.js":181,"./et":185,"./et.js":185,"./eu":186,"./eu.js":186,"./fa":187,"./fa.js":187,"./fi":188,"./fi.js":188,"./fil":189,"./fil.js":189,"./fo":190,"./fo.js":190,"./fr":191,"./fr-ca":192,"./fr-ca.js":192,"./fr-ch":193,"./fr-ch.js":193,"./fr.js":191,"./fy":194,"./fy.js":194,"./ga":195,"./ga.js":195,"./gd":196,"./gd.js":196,"./gl":197,"./gl.js":197,"./gom-deva":198,"./gom-deva.js":198,"./gom-latn":199,"./gom-latn.js":199,"./gu":200,"./gu.js":200,"./he":201,"./he.js":201,"./hi":202,"./hi.js":202,"./hr":203,"./hr.js":203,"./hu":204,"./hu.js":204,"./hy-am":205,"./hy-am.js":205,"./id":206,"./id.js":206,"./is":207,"./is.js":207,"./it":208,"./it-ch":209,"./it-ch.js":209,"./it.js":208,"./ja":210,"./ja.js":210,"./jv":211,"./jv.js":211,"./ka":212,"./ka.js":212,"./kk":213,"./kk.js":213,"./km":214,"./km.js":214,"./kn":215,"./kn.js":215,"./ko":216,"./ko.js":216,"./ku":217,"./ku.js":217,"./ky":218,"./ky.js":218,"./lb":219,"./lb.js":219,"./lo":220,"./lo.js":220,"./lt":221,"./lt.js":221,"./lv":222,"./lv.js":222,"./me":223,"./me.js":223,"./mi":224,"./mi.js":224,"./mk":225,"./mk.js":225,"./ml":226,"./ml.js":226,"./mn":227,"./mn.js":227,"./mr":228,"./mr.js":228,"./ms":229,"./ms-my":230,"./ms-my.js":230,"./ms.js":229,"./mt":231,"./mt.js":231,"./my":232,"./my.js":232,"./nb":233,"./nb.js":233,"./ne":234,"./ne.js":234,"./nl":235,"./nl-be":236,"./nl-be.js":236,"./nl.js":235,"./nn":237,"./nn.js":237,"./oc-lnc":238,"./oc-lnc.js":238,"./pa-in":239,"./pa-in.js":239,"./pl":240,"./pl.js":240,"./pt":241,"./pt-br":242,"./pt-br.js":242,"./pt.js":241,"./ro":243,"./ro.js":243,"./ru":244,"./ru.js":244,"./sd":245,"./sd.js":245,"./se":246,"./se.js":246,"./si":247,"./si.js":247,"./sk":248,"./sk.js":248,"./sl":249,"./sl.js":249,"./sq":250,"./sq.js":250,"./sr":251,"./sr-cyrl":252,"./sr-cyrl.js":252,"./sr.js":251,"./ss":253,"./ss.js":253,"./sv":254,"./sv.js":254,"./sw":255,"./sw.js":255,"./ta":256,"./ta.js":256,"./te":257,"./te.js":257,"./tet":258,"./tet.js":258,"./tg":259,"./tg.js":259,"./th":260,"./th.js":260,"./tk":261,"./tk.js":261,"./tl-ph":262,"./tl-ph.js":262,"./tlh":263,"./tlh.js":263,"./tr":264,"./tr.js":264,"./tzl":265,"./tzl.js":265,"./tzm":266,"./tzm-latn":267,"./tzm-latn.js":267,"./tzm.js":266,"./ug-cn":268,"./ug-cn.js":268,"./uk":269,"./uk.js":269,"./ur":270,"./ur.js":270,"./uz":271,"./uz-latn":272,"./uz-latn.js":272,"./uz.js":271,"./vi":273,"./vi.js":273,"./x-pseudo":274,"./x-pseudo.js":274,"./yo":275,"./yo.js":275,"./zh-cn":276,"./zh-cn.js":276,"./zh-hk":277,"./zh-hk.js":277,"./zh-mo":278,"./zh-mo.js":278,"./zh-tw":279,"./zh-tw.js":279};function s(e){var t=r(e);return a(t)}function r(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=r,e.exports=s,s.id=316},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(0),s=a.n(n),r=a(43),i=a.n(r),d=a(17),_=a.n(d),o=a(3),u=a.n(o),m=a(28),l=function(e){var t=e.type;return"pie"===t||"doughnut"===t},c=function(e,t){var a=e;return"currency"===t.type&&(a=(new m.a).format(e,!1)),a},h={enabled:!1,mode:"index",position:"nearest",custom:function(e){var t=document.getElementById(this._chart.canvas.parentNode.id+"-tooltip");if(t||((t=document.createElement("div")).id=this._chart.canvas.parentNode.id+"-tooltip",t.classList.add("edd-chartjs-tooltip"),t.innerHTML="
",this._chart.canvas.parentNode.appendChild(t)),0!==e.opacity){if(t.classList.remove("above","below","no-transform"),e.yAlign?t.classList.add(e.yAlign):t.classList.add("no-transform"),e.body){e.title;var a=e.body.map((function(e){return e.lines})),n="";n+="",a.forEach((function(t,a){var s=e.labelColors[a],r=s.borderColor,i=s.backgroundColor,d=r;"rgb(230, 230, 230)"!==d&&"#fff"!==d||(d=i);var _='';n+=""+_+t+""})),n+="",t.querySelector("table").innerHTML=n}var s=this._chart.canvas.offsetTop,r=this._chart.canvas.offsetLeft;t.style.opacity=1,t.style.left=r+e.caretX+"px",t.style.top=s+e.caretY+"px",t.style.fontFamily=e._bodyFontFamily,t.style.fontSize=e.bodyFontSize+"px",t.style.fontStyle=e._bodyFontStyle,t.style.padding=e.yPadding+"px "+e.xPadding+"px"}else t.style.opacity=0}};function M(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L(e){for(var t=1;t=0;t--)e.ticksAsNumbers[t]<0&&(e.ticksAsNumbers.splice(t,1),e.ticks.splice(t,1))})}));for(var o=L(L({},e),{},{options:L(L({},e.options),{},{maintainAspectRatio:!1,tooltips:y(e),scales:{yAxes:_()(e.options.scales.yAxes),xAxes:[L(L({},e.options.scales.xAxes[0]),{},{ticks:{maxTicksLimit:12,autoSkip:!0,maxRotation:0},time:L(L({},e.options.scales.xAxes[0].time),{},{parser:function(e){return r||d?s()(e).utcOffset(n):s.a.utc(e)}})})]},legend:{onClick:function(e,t){var a=this.chart.config.data.datasets[t.datasetIndex];if(a.hasOwnProperty("yAxisID")){var n=this.chart.options.scales.yAxes.findIndex((function(e){return e.id===a.yAxisID}));-1!==n&&(this.chart.options.scales.yAxes[n].display=!this.chart.options.scales.yAxes[n].display)}a.hidden=!a.hidden,this.chart.update()}}})}),u=document.getElementById(t),l=new Chart(u,o),c=[],h=0,M=Object.entries(l.scales);h1){c.forEach((function(e){e.range=e.max-e.min,e.min_ratio=e.min/e.range,e.max_ratio=e.max/e.range}));var p=c.reduce((function(e,t){return{min_ratio:Math.min(e.min_ratio,t.min_ratio),max_ratio:Math.max(e.max_ratio,t.max_ratio)}}));c.forEach((function(e){var t=p.min_ratio*e.range,a=p.max_ratio*e.range,n=l.options.scales.yAxes.find((function(t){return t.id===e.id}));n&&(n.ticks.min=t,n.ticks.max=a)})),l.update()}}(e)}}]); \ No newline at end of file +!function(e){var t={};function a(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)a.d(n,s,function(t){return e[t]}.bind(null,s));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=314)}([function(e,t){e.exports=jQuery},function(e,t,a){(function(e){e.exports=function(){"use strict";var t,n;function s(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var a,n=[],s=e.length;for(a=0;a>>0;for(t=0;t0)for(a=0;a=0?a?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,a=[];for(t in e)d(e,t)&&a.push(t);return a};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},A={};function E(e,t,a,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(A[e]=s),t&&(A[t[0]]=function(){return x(s.apply(this,arguments),t[1],t[2])}),a&&(A[a]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=z(t,e.localeData()),W[t]=W[t]||function(e){var t,a,n,s=e.match(O);for(t=0,a=s.length;t=0&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,a-=1;return e}var N={};function J(e,t){var a=e.toLowerCase();N[a]=N[a+"s"]=N[t]=e}function R(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function C(e){var t,a,n={};for(a in e)d(e,a)&&(t=R(a))&&(n[t]=e[a]);return n}var I={};function U(e,t){I[e]=t}function G(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=V(t)),a}function q(e,t){return function(a){return null!=a?(Z(this,e,a),s.updateOffset(this,t),this):K(this,e)}}function K(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,a){e.isValid()&&!isNaN(a)&&("FullYear"===t&&G(e.year())&&1===e.month()&&29===e.date()?(a=B(a),e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),De(a,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](a))}var $,Q=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ae=/[+-]?\d{6}/,ne=/\d\d?/,se=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,de=/\d{1,4}/,_e=/[+-]?\d{1,6}/,oe=/\d+/,ue=/[+-]?\d+/,me=/Z|[+-]\d\d:?\d\d/gi,le=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,a){$[e]=S(t)?t:function(e,n){return e&&a?a:t}}function Me(e,t){return d($,e)?$[e](t._strict,t._locale):new RegExp(Le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,a,n,s){return t||a||n||s}))))}function Le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var ye,Ye={};function fe(e,t){var a,n,s=t;for("string"==typeof e&&(e=[e]),u(t)&&(s=function(e,a){a[t]=B(e)}),n=e.length,a=0;a68?1900:2e3)};var Pe=q("FullYear",!0);function We(e,t,a,n,s,r,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,a,n,s,r,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,a,n,s,r,i),d}function Ae(e){var t,a;return e<100&&e>=0?((a=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ee(e,t,a){var n=7+t-a;return-(7+Ae(e,0,n).getUTCDay()-t)%7+n-1}function Fe(e,t,a,n,s){var r,i,d=1+7*(t-1)+(7+a-n)%7+Ee(e,n,s);return d<=0?i=Oe(r=e-1)+d:d>Oe(e)?(r=e+1,i=d-Oe(e)):(r=e,i=d),{year:r,dayOfYear:i}}function ze(e,t,a){var n,s,r=Ee(e.year(),t,a),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?n=i+Ne(s=e.year()-1,t,a):i>Ne(e.year(),t,a)?(n=i-Ne(e.year(),t,a),s=e.year()+1):(s=e.year(),n=i),{week:n,year:s}}function Ne(e,t,a){var n=Ee(e,t,a),s=Ee(e+1,t,a);return(Oe(e)-n+s)/7}function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),U("week",5),U("isoWeek",5),he("w",ne),he("ww",ne,X),he("W",ne),he("WW",ne,X),pe(["w","ww","W","WW"],(function(e,t,a,n){t[n.substr(0,1)]=B(e)})),E("d",0,"do","day"),E("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),E("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),E("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),he("d",ne),he("e",ne),he("E",ne),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,a,n){var s=a._locale.weekdaysParse(e,n,a._strict);null!=s?t.d=s:M(a).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,a,n){t[n]=B(e)}));var Re="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ce="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=ce,Ge=ce,Ve=ce;function Be(e,t,a){var n,s,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return a?"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,i))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,i))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,i))?s:null:"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,i))||-1!==(s=ye.call(this._shortWeekdaysParse,i))||-1!==(s=ye.call(this._minWeekdaysParse,i))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,i))||-1!==(s=ye.call(this._weekdaysParse,i))||-1!==(s=ye.call(this._minWeekdaysParse,i))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,i))||-1!==(s=ye.call(this._weekdaysParse,i))||-1!==(s=ye.call(this._shortWeekdaysParse,i))?s:null}function qe(){function e(e,t){return t.length-e.length}var t,a,n,s,r,i=[],d=[],_=[],o=[];for(t=0;t<7;t++)a=h([2e3,1]).day(t),n=Le(this.weekdaysMin(a,"")),s=Le(this.weekdaysShort(a,"")),r=Le(this.weekdays(a,"")),i.push(n),d.push(s),_.push(r),o.push(n),o.push(s),o.push(r);i.sort(e),d.sort(e),_.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Ze(e,t){E(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function $e(e,t){return t._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,Ke),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+Ke.apply(this)+x(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+Ke.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),Ze("a",!0),Ze("A",!1),J("hour","h"),U("hour",13),he("a",$e),he("A",$e),he("H",ne),he("h",ne),he("k",ne),he("HH",ne,X),he("hh",ne,X),he("kk",ne,X),he("hmm",se),he("hmmss",re),he("Hmm",se),he("Hmmss",re),fe(["H","HH"],3),fe(["k","kk"],(function(e,t,a){var n=B(e);t[3]=24===n?0:n})),fe(["a","A"],(function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e})),fe(["h","hh"],(function(e,t,a){t[3]=B(e),M(a).bigHour=!0})),fe("hmm",(function(e,t,a){var n=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n)),M(a).bigHour=!0})),fe("hmmss",(function(e,t,a){var n=e.length-4,s=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n,2)),t[5]=B(e.substr(s)),M(a).bigHour=!0})),fe("Hmm",(function(e,t,a){var n=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n))})),fe("Hmmss",(function(e,t,a){var n=e.length-4,s=e.length-2;t[3]=B(e.substr(0,n)),t[4]=B(e.substr(n,2)),t[5]=B(e.substr(s))}));var Qe,Xe=q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ge,monthsShort:we,week:{dow:0,doy:6},weekdays:Re,weekdaysMin:Ie,weekdaysShort:Ce,meridiemParse:/[ap]\.?m?\.?/i},tt={},at={};function nt(e,t){var a,n=Math.min(e.length,t.length);for(a=0;a0;){if(n=rt(s.slice(0,t).join("-")))return n;if(a&&a.length>=t&&nt(s,a)>=t-1)break;t--}r++}return Qe}(e)}function ot(e){var t,a=e._a;return a&&-2===M(e).overflow&&(t=a[1]<0||a[1]>11?1:a[2]<1||a[2]>De(a[0],a[1])?2:a[3]<0||a[3]>24||24===a[3]&&(0!==a[4]||0!==a[5]||0!==a[6])?3:a[4]<0||a[4]>59?4:a[5]<0||a[5]>59?5:a[6]<0||a[6]>999?6:-1,M(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),M(e)._overflowWeeks&&-1===t&&(t=7),M(e)._overflowWeekday&&-1===t&&(t=8),M(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,lt=/Z|[+-]\d\d(?::?\d\d)?/,ct=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mt=/^\/?Date\((-?\d+)/i,Lt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yt(e){var t,a,n,s,r,i,d=e._i,_=ut.exec(d)||mt.exec(d),o=ct.length,u=ht.length;if(_){for(M(e).iso=!0,t=0,a=o;t7)&&(_=!0)):(r=e._locale._week.dow,i=e._locale._week.doy,o=ze(vt(),r,i),a=kt(t.gg,e._a[0],o.year),n=kt(t.w,o.week),null!=t.d?((s=t.d)<0||s>6)&&(_=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(_=!0)):s=r),n<1||n>Ne(a,r,i)?M(e)._overflowWeeks=!0:null!=_?M(e)._overflowWeekday=!0:(d=Fe(a,n,s,r,i),e._a[0]=d.year,e._dayOfYear=d.dayOfYear)}(e),null!=e._dayOfYear&&(i=kt(e._a[0],n[0]),(e._dayOfYear>Oe(i)||0===e._dayOfYear)&&(M(e)._overflowDayOfYear=!0),a=Ae(i,0,e._dayOfYear),e._a[1]=a.getUTCMonth(),e._a[2]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:We).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(M(e).weekdayMismatch=!0)}}function gt(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],M(e).empty=!0;var t,a,n,r,i,d,_,o=""+e._i,u=o.length,m=0;for(_=(n=z(e._f,e._locale).match(O)||[]).length,t=0;t<_;t++)r=n[t],(a=(o.match(Me(r,e))||[])[0])&&((i=o.substr(0,o.indexOf(a))).length>0&&M(e).unusedInput.push(i),o=o.slice(o.indexOf(a)+a.length),m+=a.length),A[r]?(a?M(e).empty=!1:M(e).unusedTokens.push(r),ke(r,a,e)):e._strict&&!a&&M(e).unusedTokens.push(r);M(e).charsLeftOver=u-m,o.length>0&&M(e).unusedInput.push(o),e._a[3]<=12&&!0===M(e).bigHour&&e._a[3]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[3]=function(e,t,a){var n;return null==a?t:null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?((n=e.isPM(a))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(d=M(e).era)&&(e._a[0]=e._locale.erasConvertYear(d,e._a[0])),Dt(e),ot(e)}else pt(e);else Yt(e)}function wt(e){var t=e._i,a=e._f;return e._locale=e._locale||_t(e._l),null===t||void 0===a&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),D(t)?new k(ot(t)):(m(t)?e._d=t:r(a)?function(e){var t,a,n,s,r,i,d=!1,_=e._f.length;if(0===_)return M(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<_;s++)r=0,i=!1,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],gt(t),L(t)&&(i=!0),r+=M(t).charsLeftOver,r+=10*M(t).unusedTokens.length,M(t).score=r,d?rthis?this:e:y()}));function Ht(e,t){var a,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return vt();for(a=t[0],n=1;n=0?new Date(e+400,t,a)-126227808e5:new Date(e,t,a).valueOf()}function sa(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-126227808e5:Date.UTC(e,t,a)}function ra(e,t){return t.erasAbbrRegex(e)}function ia(){var e,t,a=[],n=[],s=[],r=[],i=this.eras();for(e=0,t=i.length;e(r=Ne(e,n,s))&&(t=r),oa.call(this,e,t,a,n,s))}function oa(e,t,a,n,s){var r=Fe(e,t,a,n,s),i=Ae(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),he("N",ra),he("NN",ra),he("NNN",ra),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,a,n){var s=a._locale.erasParse(e,n,a._strict);s?M(a).era=s:M(a).invalidEra=e})),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",(function(e,t){return t._eraYearOrdinalRegex||oe})),fe(["y","yy","yyy","yyyy"],0),fe(["yo"],(function(e,t,a,n){var s;a._locale._eraYearOrdinalRegex&&(s=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[0]=a._locale.eraYearOrdinalParse(e,s):t[0]=parseInt(e,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),da("gggg","weekYear"),da("ggggg","weekYear"),da("GGGG","isoWeekYear"),da("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",ne,X),he("gg",ne,X),he("GGGG",de,te),he("gggg",de,te),he("GGGGG",_e,ae),he("ggggg",_e,ae),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,a,n){t[n.substr(0,2)]=B(e)})),pe(["gg","GG"],(function(e,t,a,n){t[n]=s.parseTwoDigitYear(e)})),E("Q",0,"Qo","quarter"),J("quarter","Q"),U("quarter",7),he("Q",Q),fe("Q",(function(e,t){t[1]=3*(B(e)-1)})),E("D",["DD",2],"Do","date"),J("date","D"),U("date",9),he("D",ne),he("DD",ne,X),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),fe(["D","DD"],2),fe("Do",(function(e,t){t[2]=B(e.match(ne)[0])}));var ua=q("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),U("dayOfYear",4),he("DDD",ie),he("DDDD",ee),fe(["DDD","DDDD"],(function(e,t,a){a._dayOfYear=B(e)})),E("m",["mm",2],0,"minute"),J("minute","m"),U("minute",14),he("m",ne),he("mm",ne,X),fe(["m","mm"],4);var ma=q("Minutes",!1);E("s",["ss",2],0,"second"),J("second","s"),U("second",15),he("s",ne),he("ss",ne,X),fe(["s","ss"],5);var la,ca,ha=q("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),J("millisecond","ms"),U("millisecond",16),he("S",ie,Q),he("SS",ie,X),he("SSS",ie,ee),la="SSSS";la.length<=9;la+="S")he(la,oe);function Ma(e,t){t[6]=B(1e3*("0."+e))}for(la="S";la.length<=9;la+="S")fe(la,Ma);ca=q("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var La=k.prototype;function ya(e){return e}La.add=Bt,La.calendar=function(e,t){1===arguments.length&&(arguments[0]?Zt(arguments[0])?(e=arguments[0],t=void 0):$t(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var a=e||vt(),n=Ft(a,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",i=t&&(S(t[r])?t[r].call(this,a):t[r]);return this.format(i||this.localeData().calendar(r,this,vt(a)))},La.clone=function(){return new k(this)},La.diff=function(e,t,a){var n,s,r;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=R(t)){case"year":r=Qt(this,n)/12;break;case"month":r=Qt(this,n);break;case"quarter":r=Qt(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return a?r:V(r)},La.endOf=function(e){var t,a;if(void 0===(e=R(e))||"millisecond"===e||!this.isValid())return this;switch(a=this._isUTC?sa:na,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-aa(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-aa(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-aa(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},La.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},La.from=function(e,t){return this.isValid()&&(D(e)&&e.isValid()||vt(e).isValid())?Ct({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},La.fromNow=function(e){return this.from(vt(),e)},La.to=function(e,t){return this.isValid()&&(D(e)&&e.isValid()||vt(e).isValid())?Ct({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},La.toNow=function(e){return this.to(vt(),e)},La.get=function(e){return S(this[e=R(e)])?this[e]():this},La.invalidAt=function(){return M(this).overflow},La.isAfter=function(e,t){var a=D(e)?e:vt(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=R(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()9999?F(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(a,"Z")):F(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},La.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,a,n="moment",s="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+a)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(La[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),La.toJSON=function(){return this.isValid()?this.toISOString():null},La.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},La.unix=function(){return Math.floor(this.valueOf()/1e3)},La.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},La.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},La.eraName=function(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},La.isLocal=function(){return!!this.isValid()&&!this._isUTC},La.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},La.isUtc=Nt,La.isUTC=Nt,La.zoneAbbr=function(){return this._isUTC?"UTC":""},La.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},La.dates=w("dates accessor is deprecated. Use date instead.",ua),La.months=w("months accessor is deprecated. Use month instead",je),La.years=w("years accessor is deprecated. Use year instead",Pe),La.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),La.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),(t=wt(t))._a?(e=t._isUTC?h(t._a):vt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,a){var n,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0;for(n=0;n0):this._isDSTShifted=!1,this._isDSTShifted}));var Ya=j.prototype;function fa(e,t,a,n){var s=_t(),r=h().set(n,t);return s[a](r,e)}function pa(e,t,a){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,a,"month");var n,s=[];for(n=0;n<12;n++)s[n]=fa(e,n,a,"month");return s}function ka(e,t,a,n){"boolean"==typeof e?(u(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,u(t)&&(a=t,t=void 0),t=t||"");var s,r=_t(),i=e?r._week.dow:0,d=[];if(null!=a)return fa(t,(a+i)%7,n,"day");for(s=0;s<7;s++)d[s]=fa(t,(s+i)%7,n,"day");return d}Ya.calendar=function(e,t,a){var n=this._calendar[e]||this._calendar.sameElse;return S(n)?n.call(t,a):n},Ya.longDateFormat=function(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Ya.invalidDate=function(){return this._invalidDate},Ya.ordinal=function(e){return this._ordinal.replace("%d",e)},Ya.preparse=ya,Ya.postformat=ya,Ya.relativeTime=function(e,t,a,n){var s=this._relativeTime[a];return S(s)?s(e,t,a,n):s.replace(/%d/i,e)},Ya.pastFuture=function(e,t){var a=this._relativeTime[e>0?"future":"past"];return S(a)?a(t):a.replace(/%s/i,t)},Ya.set=function(e){var t,a;for(a in e)d(e,a)&&(S(t=e[a])?this[a]=t:this["_"+a]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ya.eras=function(e,t){var a,n,r,i=this._eras||_t("en")._eras;for(a=0,n=i.length;a=0)return _[n]},Ya.erasConvertYear=function(e,t){var a=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*a},Ya.erasAbbrRegex=function(e){return d(this,"_erasAbbrRegex")||ia.call(this),e?this._erasAbbrRegex:this._erasRegex},Ya.erasNameRegex=function(e){return d(this,"_erasNameRegex")||ia.call(this),e?this._erasNameRegex:this._erasRegex},Ya.erasNarrowRegex=function(e){return d(this,"_erasNarrowRegex")||ia.call(this),e?this._erasNarrowRegex:this._erasRegex},Ya.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},Ya.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ya.monthsParse=function(e,t,a){var n,s,r;if(this._monthsParseExact)return Se.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=h([2e3,n]),a&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),a||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(a&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!a&&this._monthsParse[n].test(e))return n}},Ya.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||xe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Ya.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||xe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=ve),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Ya.week=function(e){return ze(e,this._week.dow,this._week.doy).week},Ya.firstDayOfYear=function(){return this._week.doy},Ya.firstDayOfWeek=function(){return this._week.dow},Ya.weekdays=function(e,t){var a=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Je(a,this._week.dow):e?a[e.day()]:a},Ya.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Ya.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Ya.weekdaysParse=function(e,t,a){var n,s,r;if(this._weekdaysParseExact)return Be.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=h([2e3,1]).day(n),a&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(a&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(a&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!a&&this._weekdaysParse[n].test(e))return n}},Ya.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Ya.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ya.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ya.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Ya.meridiem=function(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=w("moment.lang is deprecated. Use moment.locale instead.",it),s.langData=w("moment.langData is deprecated. Use moment.localeData instead.",_t);var Da=Math.abs;function ga(e,t,a,n){var s=Ct(t,a);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function wa(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(e){return 4800*e/146097}function va(e){return 146097*e/4800}function ba(e){return function(){return this.as(e)}}var Sa=ba("ms"),Ha=ba("s"),ja=ba("m"),xa=ba("h"),Oa=ba("d"),Pa=ba("w"),Wa=ba("M"),Aa=ba("Q"),Ea=ba("y");function Fa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=Fa("milliseconds"),Na=Fa("seconds"),Ja=Fa("minutes"),Ra=Fa("hours"),Ca=Fa("days"),Ia=Fa("months"),Ua=Fa("years"),Ga=Math.round,Va={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ba(e,t,a,n,s){return s.relativeTime(t||1,!!a,e,n)}var qa=Math.abs;function Ka(e){return(e>0)-(e<0)||+e}function Za(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a,n,s,r,i,d,_=qa(this._milliseconds)/1e3,o=qa(this._days),u=qa(this._months),m=this.asSeconds();return m?(e=V(_/60),t=V(e/60),_%=60,e%=60,a=V(u/12),u%=12,n=_?_.toFixed(3).replace(/\.?0+$/,""):"",s=m<0?"-":"",r=Ka(this._months)!==Ka(m)?"-":"",i=Ka(this._days)!==Ka(m)?"-":"",d=Ka(this._milliseconds)!==Ka(m)?"-":"",s+"P"+(a?r+a+"Y":"")+(u?r+u+"M":"")+(o?i+o+"D":"")+(t||e||_?"T":"")+(t?d+t+"H":"")+(e?d+e+"M":"")+(_?d+n+"S":"")):"P0D"}var $a=xt.prototype;return $a.isValid=function(){return this._isValid},$a.abs=function(){var e=this._data;return this._milliseconds=Da(this._milliseconds),this._days=Da(this._days),this._months=Da(this._months),e.milliseconds=Da(e.milliseconds),e.seconds=Da(e.seconds),e.minutes=Da(e.minutes),e.hours=Da(e.hours),e.months=Da(e.months),e.years=Da(e.years),this},$a.add=function(e,t){return ga(this,e,t,1)},$a.subtract=function(e,t){return ga(this,e,t,-1)},$a.as=function(e){if(!this.isValid())return NaN;var t,a,n=this._milliseconds;if("month"===(e=R(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,a=this._months+Ta(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(va(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},$a.asMilliseconds=Sa,$a.asSeconds=Ha,$a.asMinutes=ja,$a.asHours=xa,$a.asDays=Oa,$a.asWeeks=Pa,$a.asMonths=Wa,$a.asQuarters=Aa,$a.asYears=Ea,$a.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},$a._bubble=function(){var e,t,a,n,s,r=this._milliseconds,i=this._days,d=this._months,_=this._data;return r>=0&&i>=0&&d>=0||r<=0&&i<=0&&d<=0||(r+=864e5*wa(va(d)+i),i=0,d=0),_.milliseconds=r%1e3,e=V(r/1e3),_.seconds=e%60,t=V(e/60),_.minutes=t%60,a=V(t/60),_.hours=a%24,i+=V(a/24),d+=s=V(Ta(i)),i-=wa(va(s)),n=V(d/12),d%=12,_.days=i,_.months=d,_.years=n,this},$a.clone=function(){return Ct(this)},$a.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},$a.milliseconds=za,$a.seconds=Na,$a.minutes=Ja,$a.hours=Ra,$a.days=Ca,$a.weeks=function(){return V(this.days()/7)},$a.months=Ia,$a.years=Ua,$a.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var a,n,s=!1,r=Va;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(r=Object.assign({},Va,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=function(e,t,a,n){var s=Ct(e).abs(),r=Ga(s.as("s")),i=Ga(s.as("m")),d=Ga(s.as("h")),_=Ga(s.as("d")),o=Ga(s.as("M")),u=Ga(s.as("w")),m=Ga(s.as("y")),l=r<=a.ss&&["s",r]||r0,l[4]=n,Ba.apply(null,l)}(this,!s,r,a=this.localeData()),s&&(n=a.pastFuture(+this,n)),a.postformat(n)},$a.toISOString=Za,$a.toString=Za,$a.toJSON=Za,$a.locale=Xt,$a.localeData=ta,$a.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Za),$a.lang=ea,E("X",0,0,"unix"),E("x",0,0,"valueOf"),he("x",ue),he("X",/[+-]?\d+(\.\d{1,3})?/),fe("X",(function(e,t,a){a._d=new Date(1e3*parseFloat(e))})),fe("x",(function(e,t,a){a._d=new Date(B(e))})),s.version="2.29.3",t=vt,s.fn=La,s.min=function(){var e=[].slice.call(arguments,0);return Ht("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return Ht("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=h,s.unix=function(e){return vt(1e3*e)},s.months=function(e,t){return pa(e,t,"months")},s.isDate=m,s.locale=it,s.invalid=y,s.duration=Ct,s.isMoment=D,s.weekdays=function(e,t,a){return ka(e,t,a,"weekdays")},s.parseZone=function(){return vt.apply(null,arguments).parseZone()},s.localeData=_t,s.isDuration=Ot,s.monthsShort=function(e,t){return pa(e,t,"monthsShort")},s.weekdaysMin=function(e,t,a){return ka(e,t,a,"weekdaysMin")},s.defineLocale=dt,s.updateLocale=function(e,t){if(null!=t){var a,n,s=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(H(tt[e]._config,t)):(null!=(n=rt(e))&&(s=n._config),t=H(s,t),null==n&&(t.abbr=e),(a=new j(t)).parentLocale=tt[e],tt[e]=a),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},s.locales=function(){return T(tt)},s.weekdaysShort=function(e,t,a){return ka(e,t,a,"weekdaysShort")},s.normalizeUnits=R,s.relativeTimeRounding=function(e){return void 0===e?Ga:"function"==typeof e&&(Ga=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Va[e]&&(void 0===t?Va[e]:(Va[e]=t,"s"===e&&(Va.ss=t-1),!0))},s.calendarFormat=function(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"},s.prototype=La,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()}).call(this,a(107)(e))},,function(e,t,a){var n=a(9);e.exports=function(e,t,a){return(t=n(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function a(t){return e.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(e,t,a){var n=a(4).default,s=a(13);e.exports=function(e){var t=s(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t,a){var n=a(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var s=a.call(e,t||"default");if("object"!=n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(e,t,a){var n=a(68),s=a(69),r=a(37),i=a(70);e.exports=function(e){return n(e)||s(e)||r(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&void 0!==arguments[0]?arguments[0]:{};i()(this,e);var a=edd_vars,n=a.currency_decimals,s=a.decimal_separator,r=a.thousands_separator;this.config=u({precision:n,decimalSeparator:s,thousandSeparator:r},t)}return _()(e,[{key:"format",value:function(e){var t=e;"number"!=typeof e&&(t=parseFloat(e)),isNaN(t)&&(t=0);var a=this.config,n=a.precision,s=a.decimalSeparator,r=a.thousandSeparator;return m(t,n,s,r)}},{key:"unformat",value:function(e){var t=this.config,a=t.decimalSeparator,n=t.thousandSeparator;"string"!=typeof e&&(e=String(e));var s=e.replace(n,"").replace(a,"."),r=parseFloat(s);return isNaN(r)?0:r}},{key:"absint",value:function(e){var t=this.unformat(e);return t>=0?t:-1*t}}]),e}();function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function h(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};i()(this,e);var a=edd_vars,n=a.currency,s=a.currency_sign,r=a.currency_pos,d=a.currency_decimals,_=a.decimal_separator,o=a.thousands_separator;this.config=h({currency:n,currencySymbol:s,currencySymbolPosition:r,precision:d,decimalSeparator:_,thousandSeparator:o},t),this.number=new l(this.config)}return _()(e,[{key:"format",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=this.config,n=a.currencySymbol,s=a.currencySymbolPosition,r=e<0,i=this.number.format(e),d="";switch(r&&(i=this.number.format(-1*e)),s){case"before":d=n+i;break;case"after":d=i+n}return!0===r&&!1===t&&(d="-".concat(d)),d}},{key:"unformat",value:function(e){var t=this.config.currencySymbol,a=e.replace(t,"");return this.number.unformat(a)}}]),e}()},,,,,,,,,function(e,t,a){var n=a(26);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,a){var n=a(9);function s(e,t){for(var a=0;a0&&(n="+"),(+(Math.round(+a[0]+"e"+n+(+a[1]+t))+"e-"+t)).toFixed(t)}(s,r).toString():""+Math.round(s)).split("."))[0].length>3&&(_[0]=_[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(_[1]||"").length=20?"ste":"de")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,a,r,i){var d=n(t),_=s[e][n(t)];return 2===d&&(_=_[a?0:1]),_.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(n,s,r,i){var d=t(n),_=a[e][t(n)];return 2===d&&(_=_[s?0:1]),_.replace(/%d/i,n)}},s=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(t,s,r,i){var d=a(t),_=n[e][a(t)];return 2===d&&(_=_[s?0:1]),_.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,a){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10;return e+(t[a]||t[e%100-a]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n,s;return"m"===a?t?"хвіліна":"хвіліну":"h"===a?t?"гадзіна":"гадзіну":e+" "+(n=+e,s={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[a].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,a){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},a={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,a){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[a],e)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],n=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:s,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:s,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,a){return e<12?"a.m.":"g.m."}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=e+" ";switch(a){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},a="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],s=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?s+(r(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(r(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(r(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(r(e)?"dny":"dní"):s+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?s+(r(e)?"měsíce":"měsíců"):s+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(r(e)?"roky":"let"):s+"lety"}}e.defineLocale("cs",{months:t,monthsShort:a,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],a=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,a){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,a){return e>11?a?"μμ":"ΜΜ":a?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var a,n=this._calendarEl[e],s=t&&t.hours();return a=n,("undefined"!=typeof Function&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a))&&(n=n.apply(t)),n.replace("{}",s%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,a){return e>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(a(1))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(a(1))},function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?s[a][2]?s[a][2]:s[a][1]:n?s[a][0]:s[a][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},a={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,a){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),a=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,s,r){var i="";switch(s){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":i=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":i=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":i=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":i=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":i=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":i=r?"vuoden":"vuotta"}return function(e,n){return e<10?n?a[e]:t[e]:e}(e,r)+" "+i}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),a="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?s[a][0]:s[a][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?s[a][0]:s[a][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},a={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,a){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?a?'לפנה"צ':"לפני הצהריים":e<18?a?'אחה"צ':"אחרי הצהריים":"בערב"}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=e+" ";switch(a){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function a(e,t,a,n){var s=e;switch(a){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return s+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return s+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return s+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return s+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,a){return e<12?!0===a?"de":"DE":!0===a?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function a(e,a,n,s){var r=e+" ";switch(n){case"s":return a||s?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(a||s?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return a?"mínúta":"mínútu";case"mm":return t(e)?r+(a||s?"mínútur":"mínútum"):a?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(a||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return a?"dagur":s?"dag":"degi";case"dd":return t(e)?a?r+"dagar":r+(s?"daga":"dögum"):a?r+"dagur":r+(s?"dag":"degi");case"M":return a?"mánuður":s?"mánuð":"mánuði";case"MM":return t(e)?a?r+"mánuðir":r+(s?"mánuði":"mánuðum"):a?r+"mánuður":r+(s?"mánuð":"mánuði");case"y":return a||s?"ár":"ári";case"yy":return t(e)?r+(a||s?"ár":"árum"):r+(a||s?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:a,ss:a,m:a,mm:a,h:"klukkustund",hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,a){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,a){return"ი"===a?t+"ში":t+a+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},a={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,a){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},a={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,a){return e<12?"오전":"오후"}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,a){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?s[a][0]:s[a][1]}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return a(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return a(e)}return a(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return a(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return a(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,a){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function a(e,t,a,n){return t?s(a)[0]:n?s(a)[1]:s(a)[2]}function n(e){return e%10==0||e>10&&e<20}function s(e){return t[e].split("_")}function r(e,t,r,i){var d=e+" ";return 1===e?d+a(0,t,r[0],i):t?d+(n(e)?s(r)[1]:s(r)[0]):i?d+s(r)[1]:d+(n(e)?s(r)[1]:s(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,a,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function a(e,t,a){return a?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,s){return e+" "+a(t[s],e,n)}function s(e,n,s){return a(t[s],e,n)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,n){var s=t.words[n];return 1===n.length?a?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,a){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){switch(a){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,a){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,a,n){var s="";if(t)switch(a){case"s":s="काही सेकंद";break;case"ss":s="%d सेकंद";break;case"m":s="एक मिनिट";break;case"mm":s="%d मिनिटे";break;case"h":s="एक तास";break;case"hh":s="%d तास";break;case"d":s="एक दिवस";break;case"dd":s="%d दिवस";break;case"M":s="एक महिना";break;case"MM":s="%d महिने";break;case"y":s="एक वर्ष";break;case"yy":s="%d वर्षे"}else switch(a){case"s":s="काही सेकंदां";break;case"ss":s="%d सेकंदां";break;case"m":s="एका मिनिटा";break;case"mm":s="%d मिनिटां";break;case"h":s="एका तासा";break;case"hh":s="%d तासां";break;case"d":s="एका दिवसा";break;case"dd":s="%d दिवसां";break;case"M":s="एका महिन्या";break;case"MM":s="%d महिन्यां";break;case"y":s="एका वर्षा";break;case"yy":s="%d वर्षां"}return s.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,a){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},a={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,a){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},a={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function s(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,a){var n=e+" ";switch(a){case"ss":return n+(s(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(s(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(s(e)?"godziny":"godzin");case"ww":return n+(s(e)?"tygodnie":"tygodni");case"MM":return n+(s(e)?"miesiące":"miesięcy");case"yy":return n+(s(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?a[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:r,M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[a]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n,s;return"m"===a?t?"минута":"минуту":e+" "+(n=+e,s={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var a=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],a=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,a){return e>11?a?"ප.ව.":"පස් වරු":a?"පෙ.ව.":"පෙර වරු"}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),a="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function s(e,t,a,s){var r=e+" ";switch(a){case"s":return t||s?"pár sekúnd":"pár sekundami";case"ss":return t||s?r+(n(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":s?"minútu":"minútou";case"mm":return t||s?r+(n(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?r+(n(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||s?"deň":"dňom";case"dd":return t||s?r+(n(e)?"dni":"dní"):r+"dňami";case"M":return t||s?"mesiac":"mesiacom";case"MM":return t||s?r+(n(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||s?"rok":"rokom";case"yy":return t||s?r+(n(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:a,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return s+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return s+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return s+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return s+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return s+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,a){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,a,n,s){var r,i=t.words[n];return 1===n.length?"y"===n&&a?"jedna godina":s||a?i[0]:i[1]:(r=t.correctGrammaticalCase(e,i),"yy"===n&&a&&"godinu"===r?e+" godina":e+" "+r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,a,n,s){var r,i=t.words[n];return 1===n.length?"y"===n&&a?"једна година":s||a?i[0]:i[1]:(r=t.correctGrammaticalCase(e,i),"yy"===n&&a&&"годину"===r?e+" година":e+" "+r)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},a={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,a){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,a){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(e,a,n,s){var r=function(e){var a=Math.floor(e%1e3/100),n=Math.floor(e%100/10),s=e%10,r="";return a>0&&(r+=t[a]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+t[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+t[s]),""===r?"pagh":r}(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,a){return e<12?a?"öö":"ÖÖ":a?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?s[a][0]:s[a][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return e>11?a?"d'o":"D'O":a?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";function t(e,t,a){var n,s;return"m"===a?t?"хвилина":"хвилину":"h"===a?t?"година":"годину":e+" "+(n=+e,s={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var a={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?a.nominative.slice(1,7).concat(a.nominative.slice(0,1)):e?a[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:a.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],a=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(1))},function(e,t,a){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(1))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t),function(e,t){a(315),a(381),"undefined"!=typeof postboxes&&/edd-reports/.test(pagenow)&&postboxes.add_postbox_toggles(pagenow);var n={init:function(){this.meta_boxes(),this.date_options(),this.customers_export()},meta_boxes:function(){e(".edd-reports-wrapper .postbox .handlediv").remove(),e(".edd-reports-wrapper .postbox").removeClass("closed"),setTimeout((function(){e(".edd-reports-wrapper .postbox .hndle").off("click.postboxes")}),1)},date_options:function(){e("select.edd-graphs-date-options").on("change",(function(t){var a=e(this),n=a.parent().siblings(".edd-date-range-options");"other"===a.val()?n.removeClass("screen-reader-text"):(n.addClass("screen-reader-text"),e(".edd-date-range-selected-date span").addClass("hidden"),e('.edd-date-range-selected-date span[data-range="'+a.val()+'"]').removeClass("hidden"))})),e(".edd-date-range-dates").on("click",(function(t){t.preventDefault(),e("select.edd-graphs-date-options").trigger("focus")}));var t=e(".edd-date-range-selected-relative-date"),a=e(".edd-date-range-relative-dropdown");e(".edd-graphs-date-options").on("change",(function(){var t=e(this).val(),n=e('.edd-date-range-selected-date span[data-range="'+t+'"]').data("default-relative-range");e(".edd-date-range-picker").attr("data-range",t),e(".edd-graphs-relative-date-options").val(n).trigger("change"),e.ajax({type:"GET",dataType:"html",url:ajaxurl,data:{action:"edd_reports_get_relative_date_ranges",range:t,relative_range:n},beforeSend:function(){a.html('
').addClass("loading")},success:function(e){a.html(e)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a.remove(".spinner"),a.removeClass("loading")}))})),t.on("click",(function(t){t.preventDefault(),e(this).toggleClass("opened")})),e(document).on("click",".edd-date-range-relative-dropdown li",(function(){var t=e(this).data("range");e(".edd-graphs-relative-date-options").val(t).trigger("change")})),e(".edd-graphs-relative-date-options").on("change",(function(){var t=e(this).val(),a=e('.edd-date-range-relative-dropdown li[data-range="'+t+'"]'),n=a.find(".date-range-name").first().text();e(".edd-date-range-selected-relative-range-name").html(n),e(".edd-date-range-relative-dropdown li.active").removeClass("active"),a.addClass("active")})),e(document).on("click",(function(e){n.close_relative_ranges_dropdown(e.target)})),e(document).on("keydown",(function(e){"Escape"===e.key&&n.close_relative_ranges_dropdown()}))},close_relative_ranges_dropdown:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=e(".edd-date-range-selected-relative-date");if(!a.hasClass("opened"))return!1;!1!==t&&(a.is(t)||a.has(t).length)||a.removeClass("opened")},customers_export:function(){e("#edd_customer_export_download").on("change",(function(){var t=e(this),a=e("option:selected",t).val(),n=e("#edd_customer_export_option");if("0"===t.val()?n.show():n.hide(),0!==parseInt(a)){var s={action:"edd_check_for_download_price_variations",download_id:a,all_prices:!0},r=e(".edd_price_options_select");e.post(ajaxurl,s,(function(t){r.remove(),e("#edd_customer_export_download_chosen").after(t)}))}else r.remove()}))}};t(document).ready((function(e){n.init()}))}.call(this,a(0),a(0))},function(e,t,a){"use strict";(function(e){}).call(this,a(0))},function(e,t,a){var n={"./af":145,"./af.js":145,"./ar":146,"./ar-dz":147,"./ar-dz.js":147,"./ar-kw":148,"./ar-kw.js":148,"./ar-ly":149,"./ar-ly.js":149,"./ar-ma":150,"./ar-ma.js":150,"./ar-sa":151,"./ar-sa.js":151,"./ar-tn":152,"./ar-tn.js":152,"./ar.js":146,"./az":153,"./az.js":153,"./be":154,"./be.js":154,"./bg":155,"./bg.js":155,"./bm":156,"./bm.js":156,"./bn":157,"./bn-bd":158,"./bn-bd.js":158,"./bn.js":157,"./bo":159,"./bo.js":159,"./br":160,"./br.js":160,"./bs":161,"./bs.js":161,"./ca":162,"./ca.js":162,"./cs":163,"./cs.js":163,"./cv":164,"./cv.js":164,"./cy":165,"./cy.js":165,"./da":166,"./da.js":166,"./de":167,"./de-at":168,"./de-at.js":168,"./de-ch":169,"./de-ch.js":169,"./de.js":167,"./dv":170,"./dv.js":170,"./el":171,"./el.js":171,"./en-au":172,"./en-au.js":172,"./en-ca":173,"./en-ca.js":173,"./en-gb":174,"./en-gb.js":174,"./en-ie":175,"./en-ie.js":175,"./en-il":176,"./en-il.js":176,"./en-in":177,"./en-in.js":177,"./en-nz":178,"./en-nz.js":178,"./en-sg":179,"./en-sg.js":179,"./eo":180,"./eo.js":180,"./es":181,"./es-do":182,"./es-do.js":182,"./es-mx":183,"./es-mx.js":183,"./es-us":184,"./es-us.js":184,"./es.js":181,"./et":185,"./et.js":185,"./eu":186,"./eu.js":186,"./fa":187,"./fa.js":187,"./fi":188,"./fi.js":188,"./fil":189,"./fil.js":189,"./fo":190,"./fo.js":190,"./fr":191,"./fr-ca":192,"./fr-ca.js":192,"./fr-ch":193,"./fr-ch.js":193,"./fr.js":191,"./fy":194,"./fy.js":194,"./ga":195,"./ga.js":195,"./gd":196,"./gd.js":196,"./gl":197,"./gl.js":197,"./gom-deva":198,"./gom-deva.js":198,"./gom-latn":199,"./gom-latn.js":199,"./gu":200,"./gu.js":200,"./he":201,"./he.js":201,"./hi":202,"./hi.js":202,"./hr":203,"./hr.js":203,"./hu":204,"./hu.js":204,"./hy-am":205,"./hy-am.js":205,"./id":206,"./id.js":206,"./is":207,"./is.js":207,"./it":208,"./it-ch":209,"./it-ch.js":209,"./it.js":208,"./ja":210,"./ja.js":210,"./jv":211,"./jv.js":211,"./ka":212,"./ka.js":212,"./kk":213,"./kk.js":213,"./km":214,"./km.js":214,"./kn":215,"./kn.js":215,"./ko":216,"./ko.js":216,"./ku":217,"./ku.js":217,"./ky":218,"./ky.js":218,"./lb":219,"./lb.js":219,"./lo":220,"./lo.js":220,"./lt":221,"./lt.js":221,"./lv":222,"./lv.js":222,"./me":223,"./me.js":223,"./mi":224,"./mi.js":224,"./mk":225,"./mk.js":225,"./ml":226,"./ml.js":226,"./mn":227,"./mn.js":227,"./mr":228,"./mr.js":228,"./ms":229,"./ms-my":230,"./ms-my.js":230,"./ms.js":229,"./mt":231,"./mt.js":231,"./my":232,"./my.js":232,"./nb":233,"./nb.js":233,"./ne":234,"./ne.js":234,"./nl":235,"./nl-be":236,"./nl-be.js":236,"./nl.js":235,"./nn":237,"./nn.js":237,"./oc-lnc":238,"./oc-lnc.js":238,"./pa-in":239,"./pa-in.js":239,"./pl":240,"./pl.js":240,"./pt":241,"./pt-br":242,"./pt-br.js":242,"./pt.js":241,"./ro":243,"./ro.js":243,"./ru":244,"./ru.js":244,"./sd":245,"./sd.js":245,"./se":246,"./se.js":246,"./si":247,"./si.js":247,"./sk":248,"./sk.js":248,"./sl":249,"./sl.js":249,"./sq":250,"./sq.js":250,"./sr":251,"./sr-cyrl":252,"./sr-cyrl.js":252,"./sr.js":251,"./ss":253,"./ss.js":253,"./sv":254,"./sv.js":254,"./sw":255,"./sw.js":255,"./ta":256,"./ta.js":256,"./te":257,"./te.js":257,"./tet":258,"./tet.js":258,"./tg":259,"./tg.js":259,"./th":260,"./th.js":260,"./tk":261,"./tk.js":261,"./tl-ph":262,"./tl-ph.js":262,"./tlh":263,"./tlh.js":263,"./tr":264,"./tr.js":264,"./tzl":265,"./tzl.js":265,"./tzm":266,"./tzm-latn":267,"./tzm-latn.js":267,"./tzm.js":266,"./ug-cn":268,"./ug-cn.js":268,"./uk":269,"./uk.js":269,"./ur":270,"./ur.js":270,"./uz":271,"./uz-latn":272,"./uz-latn.js":272,"./uz.js":271,"./vi":273,"./vi.js":273,"./x-pseudo":274,"./x-pseudo.js":274,"./yo":275,"./yo.js":275,"./zh-cn":276,"./zh-cn.js":276,"./zh-hk":277,"./zh-hk.js":277,"./zh-mo":278,"./zh-mo.js":278,"./zh-tw":279,"./zh-tw.js":279};function s(e){var t=r(e);return a(t)}function r(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=r,e.exports=s,s.id=316},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(1),s=a.n(n),r=a(43),i=a.n(r),d=a(18),_=a.n(d),o=a(3),u=a.n(o),m=a(28),l=function(e){var t=e.type;return"pie"===t||"doughnut"===t},c=function(e,t){var a=e;return"currency"===t.type&&(a=(new m.a).format(e,!1)),a},h={enabled:!1,mode:"index",position:"nearest",custom:function(e){var t=document.getElementById(this._chart.canvas.parentNode.id+"-tooltip");if(t||((t=document.createElement("div")).id=this._chart.canvas.parentNode.id+"-tooltip",t.classList.add("edd-chartjs-tooltip"),t.innerHTML="
",this._chart.canvas.parentNode.appendChild(t)),0!==e.opacity){if(t.classList.remove("above","below","no-transform"),e.yAlign?t.classList.add(e.yAlign):t.classList.add("no-transform"),e.body){e.title;var a=e.body.map((function(e){return e.lines})),n="";n+="",a.forEach((function(t,a){var s=e.labelColors[a],r=s.borderColor,i=s.backgroundColor,d=r;"rgb(230, 230, 230)"!==d&&"#fff"!==d||(d=i);var _='';n+=""+_+t+""})),n+="",t.querySelector("table").innerHTML=n}var s=this._chart.canvas.offsetTop,r=this._chart.canvas.offsetLeft;t.style.opacity=1,t.style.left=r+e.caretX+"px",t.style.top=s+e.caretY+"px",t.style.fontFamily=e._bodyFontFamily,t.style.fontSize=e.bodyFontSize+"px",t.style.fontStyle=e._bodyFontStyle,t.style.padding=e.yPadding+"px "+e.xPadding+"px"}else t.style.opacity=0}};function M(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L(e){for(var t=1;t=0;t--)e.ticksAsNumbers[t]<0&&(e.ticksAsNumbers.splice(t,1),e.ticks.splice(t,1))})}));for(var o=L(L({},e),{},{options:L(L({},e.options),{},{maintainAspectRatio:!1,tooltips:y(e),scales:{yAxes:_()(e.options.scales.yAxes),xAxes:[L(L({},e.options.scales.xAxes[0]),{},{ticks:{maxTicksLimit:12,autoSkip:!0,maxRotation:0},time:L(L({},e.options.scales.xAxes[0].time),{},{parser:function(e){return r||d?s()(e).utcOffset(n):s.a.utc(e)}})})]},legend:{onClick:function(e,t){var a=this.chart.config.data.datasets[t.datasetIndex];if(a.hasOwnProperty("yAxisID")){var n=this.chart.options.scales.yAxes.findIndex((function(e){return e.id===a.yAxisID}));-1!==n&&(this.chart.options.scales.yAxes[n].display=!this.chart.options.scales.yAxes[n].display)}a.hidden=!a.hidden,this.chart.update()}}})}),u=document.getElementById(t),l=new Chart(u,o),c=[],h=0,M=Object.entries(l.scales);h1){c.forEach((function(e){e.range=e.max-e.min,e.min_ratio=e.min/e.range,e.max_ratio=e.max/e.range}));var p=c.reduce((function(e,t){return{min_ratio:Math.min(e.min_ratio,t.min_ratio),max_ratio:Math.max(e.max_ratio,t.max_ratio)}}));c.forEach((function(e){var t=p.min_ratio*e.range,a=p.max_ratio*e.range,n=l.options.scales.yAxes.find((function(t){return t.id===e.id}));n&&(n.ticks.min=t,n.ticks.max=a)})),l.update()}}(e)}}]); \ No newline at end of file diff --git a/assets/js/edd-admin-settings.js b/assets/js/edd-admin-settings.js index d1c096b1d60..0fd176aaa65 100644 --- a/assets/js/edd-admin-settings.js +++ b/assets/js/edd-admin-settings.js @@ -1 +1 @@ -!function(e){var t={};function n(a){if(t[a])return t[a].exports;var d=t[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var d in e)n.d(a,d,function(t){return e[t]}.bind(null,d));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=318)}({1:function(e,t){e.exports=jQuery},291:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var a=function(){var t={action:"edd_recapture_remote_install",nonce:document.getElementById("edd-recapture-connect-nonce").value};e.post(ajaxurl,t,(function(e){!e.success&&e.data&&confirm(e.data.error)?location.reload():window.location.href="https://recapture.io/register"}))}}).call(this,n(1))},318:function(e,t,n){"use strict";n.r(t),function(e,t){var a=n(291),d=(n(319),{init:function(){this.general(),this.misc(),this.gateways(),this.emails()},general:function(){var t,n=e(".edd-color-picker");n.length&&n.wpColorPicker(),window.formfield="",e(document.body).on("click",".edd_settings_upload_button",(function(n){n.preventDefault();var a=e(this);window.formfield=e(a.data("input")),t||((t=wp.media.frames.file_frame=wp.media({title:a.data("uploader_title"),library:{type:"image"},button:{text:a.data("uploader_button_text")},multiple:!1})).on("menu:render:default",(function(e){e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.unset("playlist"),e.unset("video-playlist"),e.set({})})),t.on("select",(function(){t.state().get("selection").each((function(e,t){e=e.toJSON(),window.formfield.val(e.url)}))}))),t.open()})),window.formfield=""},misc:function(){var t=e('select[name="edd_settings[download_method]"]'),n=t.parent().parent().next(),a=e('input[name="edd_settings[allow_tracking]"]');"direct"===t.val()&&(n.css("opacity","0.4"),n.find("input").prop("checked",!1).prop("disabled",!0)),t.on("change",(function(){"direct"===e(this).val()?(n.css("opacity","0.4"),n.find("input").prop("checked",!1).prop("disabled",!0)):(n.find("input").prop("disabled",!1),n.css("opacity","1"))})),a.on("change",(function(){e(".allow_tracking.edd-heart").toggleClass("edd-hidden")}))},gateways:function(){e('#edd-payment-gateways input[type="checkbox"]').on("change",(function(){var t=e(this).data("gateway-key"),n=e("#edd_settings\\[default_gateway\\]"),a=n.find('option[value="'+t+'"]');a.prop("disabled",(function(e,t){return!t})),a.prop("selected")&&a.prop("selected",!1),n.trigger("chosen:updated")}))},emails:function(){e("#edd-recapture-connect").on("click",(function(t){t.preventDefault(),e(this).html(edd_vars.wait+' '),document.body.style.cursor="wait",Object(a.a)()}));var t=e('select[name="edd_settings[email_summary_recipient]"]'),n=t.val(),d=e('textarea[name="edd_settings[email_summary_custom_recipients]"]').parents("tr"),o=e("#edd-send-test-summary-save-changes-notice"),s=e("#edd-send-test-summary"),c=e("#edd-send-test-summary-notice");t.on("change",(function(){d.toggleClass("hidden"),s.removeClass("hidden updated-message"),c.empty(),o.empty(),n!==t.val()&&(s.addClass("hidden"),o.html('

'+edd_vars.test_email_save_changes+"

"))})),s.on("click",(function(t){t.preventDefault(),e.ajax({type:"GET",dataType:"json",url:ajaxurl,data:{action:"edd_send_test_email_summary"},beforeSend:function(){c.empty(),s.addClass("updating-message").prop("disabled",!0)},success:function(e){"error"==e.status?c.html('

'+e.message+"

"):(s.addClass("updated-message"),setTimeout((function(){s.removeClass("updated-message")}),3e3))}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){s.removeClass("updating-message").prop("disabled",!1)}))}))}});t(document).ready((function(e){d.init()}))}.call(this,n(1),n(1))},319:function(e,t,n){(function(e){e(document).ready((function(t){if("undefined"!=typeof eddPayPalConnectVars){var n=document.getElementById("edd-paypal-commerce-errors");if(n&&n.length){for(;n.firstChild;)n.removeChild(n.firstChild);n.classList.remove("notice notice-error")}if(eddPayPalConnectVars.isConnected){var a=document.getElementById("edd-paypal-commerce-reconnect");a&&a.addEventListener("click",(function(e){e.preventDefault();var n=t("#edd-paypal-commerce-errors");n.empty().removeClass("notice notice-error"),a.classList.add("updating-message"),a.disabled=!0,t.post(ajaxurl,{action:"edd_paypal_commerce_reconnect",_ajax_nonce:a.dataset.nonce}).done((function(){})).fail((function(e){console.log("Reconnect failure",e.data),a.classList.remove("updating-message"),a.disabled=!1,n.html("

"+e.data+"

").addClass("notice notice-error")}))})),function e(){var n=document.getElementById("edd-paypal-commerce-connect-wrap");n&&t.post(ajaxurl,{action:"edd_paypal_commerce_get_account_info",_ajax_nonce:n.getAttribute("data-nonce")},(function(a){var d="

"+eddPayPalConnectVars.defaultError+"

";a.success?(d=a.data.account_status,a.data.actions&&a.data.actions.length&&(d+='

'+a.data.actions.join(" ")+"

"),a.data.disconnect_links&&a.data.disconnect_links.length&&(document.getElementById("edd-paypal-disconnect").innerHTML=a.data.disconnect_links.join(" "))):a.data&&a.data.message&&(d=a.data.message),n.innerHTML=d,n.classList.remove("notice-success","notice-warning","notice-error","loading");var o=a.success&&a.data.status?"notice-"+a.data.status:"notice-error";n.classList.add(o);var s,c=document.getElementById("edd-paypal-commerce-get-help");"success"===a.data.status?(c.classList.add("edd-hidden"),c.classList.remove("button","button-secondary")):(c.classList.remove("edd-hidden"),c.classList.add("button","button-secondary")),(s=document.querySelectorAll(".edd-paypal-connect-action"))&&s.length&&s.forEach((function(n){n.addEventListener("click",(function(n){n.preventDefault();var a=n.target;a.disabled=!0,a.classList.add("updating-message");var d=document.getElementById("edd-paypal-commerce-connect-wrap");d&&d.length&&d.remove(),t.post(ajaxurl,{action:a.dataset.action,_ajax_nonce:a.dataset.nonce}).done((function(){e()})).fail((function(e){console.log("Failure",e.data),a.disabled=!1,a.classList.remove("updating-message"),d.html("

"+e.data+"

").addClass("edd-paypal-actions-error-wrap")}))}))}))}))}()}else{if(document.getElementById("edd-paypal-commerce-link")){var d=document.createElement("script");d.id="edd-paypal-commerce-onboarding",d.src="https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/partner.js",document.body.appendChild(d),setTimeout((function(){"undefined"!==window.PAYPAL.apps.Signup&&window.PAYPAL.apps.Signup.render()}),1e3)}window.eddPayPalOnboardingCallback=function(t,n){var a=document.getElementById("edd-paypal-commerce-link"),d=document.getElementById("edd-paypal-commerce-errors");e.post(ajaxurl,{action:"edd_paypal_commerce_get_access_token",auth_code:t,share_id:n,_ajax_nonce:a.dataset.nonce}).done((function(){a.classList.add("disabled","updating-message"),a.disabled=!0})).fail((function(e){d.innerHTML="

"+e.data+"

",d.classList.add("notice","notice-error");var t=document.getElementById("edd-paypal-commerce-get-help");t.classList.remove("edd-hidden"),t.classList.add("button","button-secondary")}))}}}}))}).call(this,n(1))}}); \ No newline at end of file +!function(e){var t={};function n(a){if(t[a])return t[a].exports;var d=t[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var d in e)n.d(a,d,function(t){return e[t]}.bind(null,d));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=318)}({0:function(e,t){e.exports=jQuery},291:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var a=function(){var t={action:"edd_recapture_remote_install",nonce:document.getElementById("edd-recapture-connect-nonce").value};e.post(ajaxurl,t,(function(e){!e.success&&e.data&&confirm(e.data.error)?location.reload():window.location.href="https://recapture.io/register"}))}}).call(this,n(0))},318:function(e,t,n){"use strict";n.r(t),function(e,t){var a=n(291),d=(n(319),{init:function(){this.general(),this.misc(),this.gateways(),this.emails()},general:function(){var t,n=e(".edd-color-picker");n.length&&n.wpColorPicker(),window.formfield="",e(document.body).on("click",".edd_settings_upload_button",(function(n){n.preventDefault();var a=e(this);window.formfield=e(a.data("input")),t||((t=wp.media.frames.file_frame=wp.media({title:a.data("uploader_title"),library:{type:"image"},button:{text:a.data("uploader_button_text")},multiple:!1})).on("menu:render:default",(function(e){e.unset("library-separator"),e.unset("gallery"),e.unset("featured-image"),e.unset("embed"),e.unset("playlist"),e.unset("video-playlist"),e.set({})})),t.on("select",(function(){t.state().get("selection").each((function(e,t){e=e.toJSON(),window.formfield.val(e.url)}))}))),t.open()})),window.formfield=""},misc:function(){var t=e('select[name="edd_settings[download_method]"]'),n=t.parent().parent().next(),a=e('input[name="edd_settings[allow_tracking]"]');"direct"===t.val()&&(n.css("opacity","0.4"),n.find("input").prop("checked",!1).prop("disabled",!0)),t.on("change",(function(){"direct"===e(this).val()?(n.css("opacity","0.4"),n.find("input").prop("checked",!1).prop("disabled",!0)):(n.find("input").prop("disabled",!1),n.css("opacity","1"))})),a.on("change",(function(){e(".allow_tracking.edd-heart").toggleClass("edd-hidden")}))},gateways:function(){e('#edd-payment-gateways input[type="checkbox"]').on("change",(function(){var t=e(this).data("gateway-key"),n=e("#edd_settings\\[default_gateway\\]"),a=n.find('option[value="'+t+'"]');a.prop("disabled",(function(e,t){return!t})),a.prop("selected")&&a.prop("selected",!1),n.trigger("chosen:updated")}))},emails:function(){e("#edd-recapture-connect").on("click",(function(t){t.preventDefault(),e(this).html(edd_vars.wait+' '),document.body.style.cursor="wait",Object(a.a)()}));var t=e('select[name="edd_settings[email_summary_recipient]"]'),n=t.val(),d=e('textarea[name="edd_settings[email_summary_custom_recipients]"]').parents("tr"),o=e("#edd-send-test-summary-save-changes-notice"),s=e("#edd-send-test-summary"),c=e("#edd-send-test-summary-notice");t.on("change",(function(){d.toggleClass("hidden"),s.removeClass("hidden updated-message"),c.empty(),o.empty(),n!==t.val()&&(s.addClass("hidden"),o.html('

'+edd_vars.test_email_save_changes+"

"))})),s.on("click",(function(t){t.preventDefault(),e.ajax({type:"GET",dataType:"json",url:ajaxurl,data:{action:"edd_send_test_email_summary"},beforeSend:function(){c.empty(),s.addClass("updating-message").prop("disabled",!0)},success:function(e){"error"==e.status?c.html('

'+e.message+"

"):(s.addClass("updated-message"),setTimeout((function(){s.removeClass("updated-message")}),3e3))}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){s.removeClass("updating-message").prop("disabled",!1)}))}))}});t(document).ready((function(e){d.init()}))}.call(this,n(0),n(0))},319:function(e,t,n){(function(e){e(document).ready((function(t){if("undefined"!=typeof eddPayPalConnectVars){var n=document.getElementById("edd-paypal-commerce-errors");if(n&&n.length){for(;n.firstChild;)n.removeChild(n.firstChild);n.classList.remove("notice notice-error")}if(eddPayPalConnectVars.isConnected){var a=document.getElementById("edd-paypal-commerce-reconnect");a&&a.addEventListener("click",(function(e){e.preventDefault();var n=t("#edd-paypal-commerce-errors");n.empty().removeClass("notice notice-error"),a.classList.add("updating-message"),a.disabled=!0,t.post(ajaxurl,{action:"edd_paypal_commerce_reconnect",_ajax_nonce:a.dataset.nonce}).done((function(){})).fail((function(e){console.log("Reconnect failure",e.data),a.classList.remove("updating-message"),a.disabled=!1,n.html("

"+e.data+"

").addClass("notice notice-error")}))})),function e(){var n=document.getElementById("edd-paypal-commerce-connect-wrap");n&&t.post(ajaxurl,{action:"edd_paypal_commerce_get_account_info",_ajax_nonce:n.getAttribute("data-nonce")},(function(a){var d="

"+eddPayPalConnectVars.defaultError+"

";a.success?(d=a.data.account_status,a.data.actions&&a.data.actions.length&&(d+='

'+a.data.actions.join(" ")+"

"),a.data.disconnect_links&&a.data.disconnect_links.length&&(document.getElementById("edd-paypal-disconnect").innerHTML=a.data.disconnect_links.join(" "))):a.data&&a.data.message&&(d=a.data.message),n.innerHTML=d,n.classList.remove("notice-success","notice-warning","notice-error","loading");var o=a.success&&a.data.status?"notice-"+a.data.status:"notice-error";n.classList.add(o);var s,c=document.getElementById("edd-paypal-commerce-get-help");"success"===a.data.status?(c.classList.add("edd-hidden"),c.classList.remove("button","button-secondary")):(c.classList.remove("edd-hidden"),c.classList.add("button","button-secondary")),(s=document.querySelectorAll(".edd-paypal-connect-action"))&&s.length&&s.forEach((function(n){n.addEventListener("click",(function(n){n.preventDefault();var a=n.target;a.disabled=!0,a.classList.add("updating-message");var d=document.getElementById("edd-paypal-commerce-connect-wrap");d&&d.length&&d.remove(),t.post(ajaxurl,{action:a.dataset.action,_ajax_nonce:a.dataset.nonce}).done((function(){e()})).fail((function(e){console.log("Failure",e.data),a.disabled=!1,a.classList.remove("updating-message"),d.html("

"+e.data+"

").addClass("edd-paypal-actions-error-wrap")}))}))}))}))}()}else{if(document.getElementById("edd-paypal-commerce-link")){var d=document.createElement("script");d.id="edd-paypal-commerce-onboarding",d.src="https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/partner.js",document.body.appendChild(d),setTimeout((function(){"undefined"!==window.PAYPAL.apps.Signup&&window.PAYPAL.apps.Signup.render()}),1e3)}window.eddPayPalOnboardingCallback=function(t,n){var a=document.getElementById("edd-paypal-commerce-link"),d=document.getElementById("edd-paypal-commerce-errors");e.post(ajaxurl,{action:"edd_paypal_commerce_get_access_token",auth_code:t,share_id:n,_ajax_nonce:a.dataset.nonce}).done((function(){a.classList.add("disabled","updating-message"),a.disabled=!0})).fail((function(e){d.innerHTML="

"+e.data+"

",d.classList.add("notice","notice-error");var t=document.getElementById("edd-paypal-commerce-get-help");t.classList.remove("edd-hidden"),t.classList.add("button","button-secondary")}))}}}}))}).call(this,n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-tax-rates.js b/assets/js/edd-admin-tax-rates.js index 61bb29c276b..be71d9ba165 100644 --- a/assets/js/edd-admin-tax-rates.js +++ b/assets/js/edd-admin-tax-rates.js @@ -1 +1 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=368)}({1:function(e,t){e.exports=jQuery},100:function(e,t,n){"use strict";var o=Backbone.Model.extend({defaults:{id:"",country:"",region:"",global:!0,amount:0,status:"active",unsaved:!1,selected:!1},formattedAmount:function(){var e=0;return this.get("amount")&&(e=parseFloat(this.get("amount")).toFixed(2)),"".concat(e,"%")}});t.a=o},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var o=function(t){e(t)}}).call(this,n(1))},13:function(e,t,n){var o=n(4).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},20:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var o=n(3),i=n.n(o);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t0){var a=(""===o?"*":o)+(""===n?"":": "+n);alert(t.duplicateRate.replace("%s",'"'.concat(a,'"')))}else this.model.get("amount")<0?alert(t.negativeTax):(0==this.model.get("amount")&&confirm(t.emptyTax),this.collection.add(_.extend(this.model.attributes,{id:this.model.cid})),this.render(),this.initialize())}else alert(t.emptyCountry)}});t.a=r}).call(this,n(1))},293:function(e,t,n){"use strict";(function(e){var o=n(20),i=wp.Backbone.View.extend({initialize:function(e){_.extend(this,e)},render:function(){this.global||("nostates"===this.states?this.setElement(''):(this.$el.html(this.states),this.$el.find("select").each((function(){var t=e(this);t.chosen(Object(o.a)(t))}))))}});t.a=i}).call(this,n(1))},3:function(e,t,n){var o=n(9);e.exports=function(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},368:function(e,t,n){"use strict";n.r(t);var o=n(100),i=Backbone.Collection.extend({model:o.a,initialize:function(){this.showAll=!1,this.selected=[]}}),a=wp.Backbone.View.extend({template:wp.template("edd-admin-tax-rates-table-meta"),events:{'change [type="checkbox"]':"selectAll"},selectAll:function(e){var t=this,n=e.target.checked;_.each(this.collection.models,(function(e){e.set("selected",n),t.collection.selected.push(e.cid)}))}}),r=wp.Backbone.View.extend({tagName:"tr",className:"edd-tax-rate-row edd-tax-rate-row--is-empty",template:wp.template("edd-admin-tax-rates-table-row-empty")}),l=n(3),s=n.n(l);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t0){var n=""===this.model.get("region")?"":": "+this.model.get("region"),o=this.model.get("country")+n;alert(t.duplicateRate.replace("%s",'"'.concat(o,'"')))}else this.model.set("status","active")},deactivateRow:function(e){e.preventDefault(),this.model.set("status","inactive")},selectRow:function(e){var t=this;e.target.checked?this.collection.selected.push(this.model.cid):this.collection.selected=_.reject(this.collection.selected,(function(e){return e===t.model.cid}))}}),h=wp.Backbone.View.extend({tagName:"tbody",initialize:function(){this.listenTo(this.collection,"add",this.render),this.listenTo(this.collection,"remove",this.render),this.listenTo(this.collection,"filtered change",this.filtered)},render:function(){var e=this;if(this.views.remove(),0===this.collection.models.length)return this.views.add(new r);_.each(this.collection.models,(function(t){e.views.add(new u({collection:e.collection,model:t}))}))},filtered:function(){this.collection.where({status:"inactive"}).length!==this.collection.models.length||this.collection.showAll?this.render():this.views.add(new r)}}),f=n(292),m=wp.Backbone.View.extend({tagName:"table",className:"wp-list-table widefat fixed tax-rates",id:"edd_tax_rates",render:function(){this.views.add(new a({tagName:"thead",collection:this.collection})),this.views.add(new h({collection:this.collection})),this.views.add(new f.a({collection:this.collection})),this.views.add(new a({tagName:"tfoot",collection:this.collection})),this.collection.trigger("filtered")}}),p=wp.Backbone.View.extend({template:wp.template("edd-admin-tax-rates-table-bulk-actions"),events:{"click .edd-admin-tax-rates-table-filter":"filter","change .edd-admin-tax-rates-table-hide input":"showHide"},filter:function(e){var t=this;e.preventDefault();var n=document.getElementById("edd-admin-tax-rates-table-bulk-actions");_.each(this.collection.selected,(function(e){t.collection.get({cid:e}).set("status",n.value)})),this.collection.trigger("filtered")},showHide:function(e){this.collection.showAll=e.target.checked,document.getElementById("edd_tax_rates").classList.toggle("has-inactive",this.collection.showAll),this.collection.trigger("filtered")}}),g=wp.Backbone.View.extend({el:"#edd-admin-tax-rates",initialize:function(){this.listenTo(this.collection,"add change",this.makeDirty),document.querySelector(".edd-settings-form #submit").addEventListener("click",this.makeClean)},render:function(){this.views.add(new p({collection:this.collection})),this.views.add(new m({collection:this.collection}))},makeDirty:function(){window.onbeforeunload=this.confirmUnload},makeClean:function(){window.onbeforeunload=null},confirmUnload:function(e){return e.preventDefault(),""}}),b=n(12);Object(b.a)((function(){var e=document.getElementById("edd-tax-disabled-notice");e&&(e.classList.add("notice"),e.classList.add("notice-warning"));var t=new g({collection:new i}),n=[];_.each(eddTaxRates.rates,(function(e){return n.push({id:e.id,country:e.name,region:e.description,global:"country"===e.scope,amount:e.amount,status:e.status})})),t.collection.set(n,{silent:!0}),t.render()}))},4:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,n){var o=n(4).default,i=n(13);e.exports=function(e){var t=i(e,"string");return"symbol"==o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=380)}({0:function(e,t){e.exports=jQuery},100:function(e,t,n){"use strict";var o=Backbone.Model.extend({defaults:{id:"",country:"",region:"",global:!0,amount:0,status:"active",unsaved:!1,selected:!1},formattedAmount:function(){var e=0;return this.get("amount")&&(e=parseFloat(this.get("amount")).toFixed(2)),"".concat(e,"%")}});t.a=o},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var o=function(t){e(t)}}).call(this,n(0))},13:function(e,t,n){var o=n(4).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var o=n(3),i=n.n(o);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t0){var a=(""===o?"*":o)+(""===n?"":": "+n);alert(t.duplicateRate.replace("%s",'"'.concat(a,'"')))}else this.model.get("amount")<0?alert(t.negativeTax):(0==this.model.get("amount")&&confirm(t.emptyTax),this.collection.add(_.extend(this.model.attributes,{id:this.model.cid})),this.render(),this.initialize())}else alert(t.emptyCountry)}});t.a=r}).call(this,n(0))},293:function(e,t,n){"use strict";(function(e){var o=n(17),i=wp.Backbone.View.extend({initialize:function(e){_.extend(this,e)},render:function(){this.global||("nostates"===this.states?this.setElement(''):(this.$el.html(this.states),this.$el.find("select").each((function(){var t=e(this);t.chosen(Object(o.a)(t))}))))}});t.a=i}).call(this,n(0))},3:function(e,t,n){var o=n(9);e.exports=function(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},380:function(e,t,n){"use strict";n.r(t);var o=n(100),i=Backbone.Collection.extend({model:o.a,initialize:function(){this.showAll=!1,this.selected=[]}}),a=wp.Backbone.View.extend({template:wp.template("edd-admin-tax-rates-table-meta"),events:{'change [type="checkbox"]':"selectAll"},selectAll:function(e){var t=this,n=e.target.checked;_.each(this.collection.models,(function(e){e.set("selected",n),t.collection.selected.push(e.cid)}))}}),r=wp.Backbone.View.extend({tagName:"tr",className:"edd-tax-rate-row edd-tax-rate-row--is-empty",template:wp.template("edd-admin-tax-rates-table-row-empty")}),l=n(3),s=n.n(l);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t0){var n=""===this.model.get("region")?"":": "+this.model.get("region"),o=this.model.get("country")+n;alert(t.duplicateRate.replace("%s",'"'.concat(o,'"')))}else this.model.set("status","active")},deactivateRow:function(e){e.preventDefault(),this.model.set("status","inactive")},selectRow:function(e){var t=this;e.target.checked?this.collection.selected.push(this.model.cid):this.collection.selected=_.reject(this.collection.selected,(function(e){return e===t.model.cid}))}}),h=wp.Backbone.View.extend({tagName:"tbody",initialize:function(){this.listenTo(this.collection,"add",this.render),this.listenTo(this.collection,"remove",this.render),this.listenTo(this.collection,"filtered change",this.filtered)},render:function(){var e=this;if(this.views.remove(),0===this.collection.models.length)return this.views.add(new r);_.each(this.collection.models,(function(t){e.views.add(new u({collection:e.collection,model:t}))}))},filtered:function(){this.collection.where({status:"inactive"}).length!==this.collection.models.length||this.collection.showAll?this.render():this.views.add(new r)}}),f=n(292),m=wp.Backbone.View.extend({tagName:"table",className:"wp-list-table widefat fixed tax-rates",id:"edd_tax_rates",render:function(){this.views.add(new a({tagName:"thead",collection:this.collection})),this.views.add(new h({collection:this.collection})),this.views.add(new f.a({collection:this.collection})),this.views.add(new a({tagName:"tfoot",collection:this.collection})),this.collection.trigger("filtered")}}),p=wp.Backbone.View.extend({template:wp.template("edd-admin-tax-rates-table-bulk-actions"),events:{"click .edd-admin-tax-rates-table-filter":"filter","change .edd-admin-tax-rates-table-hide input":"showHide"},filter:function(e){var t=this;e.preventDefault();var n=document.getElementById("edd-admin-tax-rates-table-bulk-actions");_.each(this.collection.selected,(function(e){t.collection.get({cid:e}).set("status",n.value)})),this.collection.trigger("filtered")},showHide:function(e){this.collection.showAll=e.target.checked,document.getElementById("edd_tax_rates").classList.toggle("has-inactive",this.collection.showAll),this.collection.trigger("filtered")}}),g=wp.Backbone.View.extend({el:"#edd-admin-tax-rates",initialize:function(){this.listenTo(this.collection,"add change",this.makeDirty),document.querySelector(".edd-settings-form #submit").addEventListener("click",this.makeClean)},render:function(){this.views.add(new p({collection:this.collection})),this.views.add(new m({collection:this.collection}))},makeDirty:function(){window.onbeforeunload=this.confirmUnload},makeClean:function(){window.onbeforeunload=null},confirmUnload:function(e){return e.preventDefault(),""}}),b=n(12);Object(b.a)((function(){var e=document.getElementById("edd-tax-disabled-notice");e&&(e.classList.add("notice"),e.classList.add("notice-warning"));var t=new g({collection:new i}),n=[];_.each(eddTaxRates.rates,(function(e){return n.push({id:e.id,country:e.name,region:e.description,global:"country"===e.scope,amount:e.amount,status:e.status})})),t.collection.set(n,{silent:!0}),t.render()}))},4:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,n){var o=n(4).default,i=n(13);e.exports=function(e){var t=i(e,"string");return"symbol"==o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file diff --git a/assets/js/edd-admin-tools-export.js b/assets/js/edd-admin-tools-export.js index 35d9074afaa..53d0098034a 100644 --- a/assets/js/edd-admin-tools-export.js +++ b/assets/js/edd-admin-tools-export.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=303)}({1:function(e,t){e.exports=jQuery},303:function(e,t,n){(function(e,t){var n={init:function(){this.submit()},submit:function(){var t=this;e(document.body).on("submit",".edd-export-form",(function(n){n.preventDefault();var r=e(this),s=r.find('button[type="submit"]').first();if(!s.hasClass("button-disabled")&&!s.is(":disabled")){var o=r.serialize();s.hasClass("button-primary")&&s.removeClass("button-primary").addClass("button-secondary"),s.attr("disabled",!0).addClass("updating-message"),r.find(".notice-wrap").remove(),r.append('
'),t.process_step(1,o,t)}}))},process_step:function(t,n,r){e.ajax({type:"POST",url:ajaxurl,data:{form:n,action:"edd_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"===t.step||t.error||t.success){var s=e(".edd-export-form").find(".edd-progress").parent().parent(),o=s.find(".notice-wrap");if(s.find("button").removeClass("updating-message").addClass("updated-message"),setTimeout((function(){s.find("button").attr("disabled",!1).removeClass("updated-message")}),3e3),s.find("button .spinner").hide().css("visibility","visible"),t.error){var i=t.message;o.html('

'+i+"

")}else if(t.success){var a=t.message;o.html('

'+a+"

"),t.data&&e.each(t.data,(function(t,n){e(".edd_"+t).html(n)}))}else o.remove(),window.location=t.url}else e(".edd-progress div").animate({width:t.percentage+"%"},50,(function(){})),r.process_step(parseInt(t.step),n,r)}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}};t(document).ready((function(e){n.init()}))}).call(this,n(1),n(1))}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=303)}({0:function(e,t){e.exports=jQuery},303:function(e,t,n){(function(e,t){var n={init:function(){this.submit()},submit:function(){var t=this;e(document.body).on("submit",".edd-export-form",(function(n){n.preventDefault();var r=e(this),s=r.find('button[type="submit"]').first();if(!s.hasClass("button-disabled")&&!s.is(":disabled")){var o=r.serialize();s.hasClass("button-primary")&&s.removeClass("button-primary").addClass("button-secondary"),s.attr("disabled",!0).addClass("updating-message"),r.find(".notice-wrap").remove(),r.append('
'),t.process_step(1,o,t)}}))},process_step:function(t,n,r){e.ajax({type:"POST",url:ajaxurl,data:{form:n,action:"edd_do_ajax_export",step:t},dataType:"json",success:function(t){if("done"===t.step||t.error||t.success){var s=e(".edd-export-form").find(".edd-progress").parent().parent(),o=s.find(".notice-wrap");if(s.find("button").removeClass("updating-message").addClass("updated-message"),setTimeout((function(){s.find("button").attr("disabled",!1).removeClass("updated-message")}),3e3),s.find("button .spinner").hide().css("visibility","visible"),t.error){var i=t.message;o.html('

'+i+"

")}else if(t.success){var a=t.message;o.html('

'+a+"

"),t.data&&e.each(t.data,(function(t,n){e(".edd_"+t).html(n)}))}else o.remove(),window.location=t.url}else e(".edd-progress div").animate({width:t.percentage+"%"},50,(function(){})),r.process_step(parseInt(t.step),n,r)}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}};t(document).ready((function(e){n.init()}))}).call(this,n(0),n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-tools-import.js b/assets/js/edd-admin-tools-import.js index 09810539e5c..ef1e0aa20c4 100644 --- a/assets/js/edd-admin-tools-import.js +++ b/assets/js/edd-admin-tools-import.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=304)}({1:function(e,t){e.exports=jQuery},304:function(e,t,r){(function(e,t){var r={init:function(){this.submit()},submit:function(){e(".edd-import-form").ajaxForm({beforeSubmit:this.before_submit,success:this.success,complete:this.complete,dataType:"json",error:this.error})},before_submit:function(t,r,n){if(r.find(".notice-wrap").remove(),r.append('
'),!(window.File&&window.FileReader&&window.FileList&&window.Blob)){var o=e(".edd-import-form").find(".edd-progress").parent().parent(),i=o.find(".notice-wrap");return o.find(".button:disabled").attr("disabled",!1),i.html('

'+edd_vars.unsupported_browser+"

"),!1}},success:function(e,t,r,n){},complete:function(n){var o=e(this),i=t.parseJSON(n.responseText);if(i.success){var d=e(".edd-import-form .notice-wrap").parent();d.find(".edd-import-file-wrap,.notice-wrap").remove(),d.find(".edd-import-options").slideDown();var a=d.find("select.edd-import-csv-column"),s=(a.parents("tr").first(),""),p=i.data.columns.sort((function(e,t){return et?1:0}));e.each(p,(function(e,t){s+='"})),a.append(s),a.on("change",(function(){var t=e(this).val();t&&!1!==i.data.first_row[t]?e(this).parent().next().html(i.data.first_row[t]):e(this).parent().next().html("")})),e.each(a,(function(){e(this).val(e(this).attr("data-field")).change()})),e(document.body).on("click",".edd-import-proceed",(function(e){e.preventDefault(),d.find(".edd-import-proceed.button-primary").addClass("updating-message"),d.append('
'),i.data.mapping=d.serialize(),r.process_step(1,i.data,o)}))}else r.error(n)},error:function(r){var n=t.parseJSON(r.responseText),o=e(".edd-import-form").find(".edd-progress").parent().parent(),i=o.find(".notice-wrap");o.find(".button:disabled").attr("disabled",!1),n.data.error?i.html('

'+n.data.error+"

"):i.remove()},process_step:function(t,n,o){e.ajax({type:"POST",url:ajaxurl,data:{form:n.form,nonce:n.nonce,class:n.class,upload:n.upload,mapping:n.mapping,action:"edd_do_ajax_import",step:t},dataType:"json",success:function(t){if("done"===t.data.step||t.data.error){var i=e(".edd-import-form").find(".edd-progress").parent().parent(),d=i.find(".notice-wrap");i.find(".button:disabled").attr("disabled",!1),t.data.error?d.html('

'+t.data.error+"

"):(i.find(".edd-import-options").hide(),e("html, body").animate({scrollTop:i.parent().offset().top},500),d.html('

'+t.data.message+"

"))}else e(".edd-progress div").animate({width:t.data.percentage+"%"},50,(function(){})),r.process_step(parseInt(t.data.step),n,o)}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}};t(document).ready((function(e){r.init()}))}).call(this,r(1),r(1))}}); \ No newline at end of file +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=304)}({0:function(e,t){e.exports=jQuery},304:function(e,t,r){(function(e,t){var r={init:function(){this.submit()},submit:function(){e(".edd-import-form").ajaxForm({beforeSubmit:this.before_submit,success:this.success,complete:this.complete,dataType:"json",error:this.error})},before_submit:function(t,r,n){if(r.find(".notice-wrap").remove(),r.append('
'),!(window.File&&window.FileReader&&window.FileList&&window.Blob)){var o=e(".edd-import-form").find(".edd-progress").parent().parent(),i=o.find(".notice-wrap");return o.find(".button:disabled").attr("disabled",!1),i.html('

'+edd_vars.unsupported_browser+"

"),!1}},success:function(e,t,r,n){},complete:function(n){var o=e(this),i=t.parseJSON(n.responseText);if(i.success){var d=e(".edd-import-form .notice-wrap").parent();d.find(".edd-import-file-wrap,.notice-wrap").remove(),d.find(".edd-import-options").slideDown();var a=d.find("select.edd-import-csv-column"),s=(a.parents("tr").first(),""),p=i.data.columns.sort((function(e,t){return et?1:0}));e.each(p,(function(e,t){s+='"})),a.append(s),a.on("change",(function(){var t=e(this).val();t&&!1!==i.data.first_row[t]?e(this).parent().next().html(i.data.first_row[t]):e(this).parent().next().html("")})),e.each(a,(function(){e(this).val(e(this).attr("data-field")).change()})),e(document.body).on("click",".edd-import-proceed",(function(e){e.preventDefault(),d.find(".edd-import-proceed.button-primary").addClass("updating-message"),d.append('
'),i.data.mapping=d.serialize(),r.process_step(1,i.data,o)}))}else r.error(n)},error:function(r){var n=t.parseJSON(r.responseText),o=e(".edd-import-form").find(".edd-progress").parent().parent(),i=o.find(".notice-wrap");o.find(".button:disabled").attr("disabled",!1),n.data.error?i.html('

'+n.data.error+"

"):i.remove()},process_step:function(t,n,o){e.ajax({type:"POST",url:ajaxurl,data:{form:n.form,nonce:n.nonce,class:n.class,upload:n.upload,mapping:n.mapping,action:"edd_do_ajax_import",step:t},dataType:"json",success:function(t){if("done"===t.data.step||t.data.error){var i=e(".edd-import-form").find(".edd-progress").parent().parent(),d=i.find(".notice-wrap");i.find(".button:disabled").attr("disabled",!1),t.data.error?d.html('

'+t.data.error+"

"):(i.find(".edd-import-options").hide(),e("html, body").animate({scrollTop:i.parent().offset().top},500),d.html('

'+t.data.message+"

"))}else e(".edd-progress div").animate({width:t.data.percentage+"%"},50,(function(){})),r.process_step(parseInt(t.data.step),n,o)}}).fail((function(e){window.console&&window.console.log&&console.log(e)}))}};t(document).ready((function(e){r.init()}))}).call(this,r(0),r(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-tools.js b/assets/js/edd-admin-tools.js index 199da861b42..850de49fee6 100644 --- a/assets/js/edd-admin-tools.js +++ b/assets/js/edd-admin-tools.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=320)}({1:function(e,t){e.exports=jQuery},320:function(e,t,n){(function(e,t){var n={init:function(){this.revoke_api_key(),this.regenerate_api_key(),this.create_api_key(),this.recount_stats()},revoke_api_key:function(){e(document.body).on("click",".edd-revoke-api-key",(function(e){return confirm(edd_vars.revoke_api_key)}))},regenerate_api_key:function(){e(document.body).on("click",".edd-regenerate-api-key",(function(e){return confirm(edd_vars.regenerate_api_key)}))},create_api_key:function(){e(document.body).on("submit","#api-key-generate-form",(function(t){var n=e('input[type="text"][name="user_id"]');n.css("border-color","#ddd");var r=n.val();if(r.length<1||0===r)return n.css("border-color","#ff0000"),!1}))},recount_stats:function(){e(document.body).on("change","#recount-stats-type",(function(){var t=e("#edd-tools-recount-form"),n=e("option:selected",this).data("type"),r=e("#recount-stats-submit"),o=e("#tools-product-dropdown");t.find(".notice-wrap").remove(),r.attr("disabled",!1).removeClass("updated-message"),o.hide(),e(".edd-recount-stats-descriptions span").hide(),"recount-download"===n?(o.show(),o.find(".edd-select-chosen").css("width","auto")):"reset-stats"===n?(t.append('
'),t.find(".notice-wrap").html('

"),e("#recount-stats-submit").attr("disabled",!0)):(o.hide(),o.val(0)),e("#"+n).show()})),e(document.body).on("change","#confirm-reset",(function(){e(this).is(":checked")?e("#recount-stats-submit").attr("disabled",!1):e("#recount-stats-submit").attr("disabled",!0)})),e("#edd-tools-recount-form").submit((function(t){t.preventDefault();var n=e("#recount-stats-type").val(),r=e(this),o=e("option:selected",this).data("type");if("reset-stats"===o){if(e("#confirm-reset").is(":checked"))return!0;a=!0}r.find(".notice-wrap").remove(),r.append('
');var i=r.find(".notice-wrap"),a=!1;if(null!==n&&0!==n||(i.html('

'+edd_vars.batch_export_no_class+"

"),a=!0),"recount-download"===o&&0===e('select[name="download_id"]').val()&&(i.html('

'+edd_vars.batch_export_no_reqs+"

"),a=!0),a)return r.find("button:disabled").attr("disabled",!1).removeClass("updated-message"),!1}))}};t(document).ready((function(e){n.init()}))}).call(this,n(1),n(1))}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=320)}({0:function(e,t){e.exports=jQuery},320:function(e,t,n){(function(e,t){var n={init:function(){this.revoke_api_key(),this.regenerate_api_key(),this.create_api_key(),this.recount_stats()},revoke_api_key:function(){e(document.body).on("click",".edd-revoke-api-key",(function(e){return confirm(edd_vars.revoke_api_key)}))},regenerate_api_key:function(){e(document.body).on("click",".edd-regenerate-api-key",(function(e){return confirm(edd_vars.regenerate_api_key)}))},create_api_key:function(){e(document.body).on("submit","#api-key-generate-form",(function(t){var n=e('input[type="text"][name="user_id"]');n.css("border-color","#ddd");var r=n.val();if(r.length<1||0===r)return n.css("border-color","#ff0000"),!1}))},recount_stats:function(){e(document.body).on("change","#recount-stats-type",(function(){var t=e("#edd-tools-recount-form"),n=e("option:selected",this).data("type"),r=e("#recount-stats-submit"),o=e("#tools-product-dropdown");t.find(".notice-wrap").remove(),r.attr("disabled",!1).removeClass("updated-message"),o.hide(),e(".edd-recount-stats-descriptions span").hide(),"recount-download"===n?(o.show(),o.find(".edd-select-chosen").css("width","auto")):"reset-stats"===n?(t.append('
'),t.find(".notice-wrap").html('

"),e("#recount-stats-submit").attr("disabled",!0)):(o.hide(),o.val(0)),e("#"+n).show()})),e(document.body).on("change","#confirm-reset",(function(){e(this).is(":checked")?e("#recount-stats-submit").attr("disabled",!1):e("#recount-stats-submit").attr("disabled",!0)})),e("#edd-tools-recount-form").submit((function(t){t.preventDefault();var n=e("#recount-stats-type").val(),r=e(this),o=e("option:selected",this).data("type");if("reset-stats"===o){if(e("#confirm-reset").is(":checked"))return!0;a=!0}r.find(".notice-wrap").remove(),r.append('
');var i=r.find(".notice-wrap"),a=!1;if(null!==n&&0!==n||(i.html('

'+edd_vars.batch_export_no_class+"

"),a=!0),"recount-download"===o&&0===e('select[name="download_id"]').val()&&(i.html('

'+edd_vars.batch_export_no_reqs+"

"),a=!0),a)return r.find("button:disabled").attr("disabled",!1).removeClass("updated-message"),!1}))}};t(document).ready((function(e){n.init()}))}).call(this,n(0),n(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-upgrades.js b/assets/js/edd-admin-upgrades.js index 30a483d88e0..e43768892a2 100644 --- a/assets/js/edd-admin-upgrades.js +++ b/assets/js/edd-admin-upgrades.js @@ -1 +1 @@ -!function(e){var a={};function d(t){if(a[t])return a[t].exports;var r=a[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,d),r.l=!0,r.exports}d.m=e,d.c=a,d.d=function(e,a,t){d.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,a){if(1&a&&(e=d(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var r in e)d.d(t,r,function(a){return e[a]}.bind(null,r));return t},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="",d(d.s=321)}({1:function(e,a){e.exports=jQuery},321:function(e,a,d){"use strict";d.r(a),d(322)},322:function(e,a,d){(function(e,a){var d={inProgress:!1,init:function(){e(".edd-v3-migration-confirmation").on("change",(function(a){var d=e(this).closest(".edd-v3-migration").find("button");a.target.checked?d.removeClass("disabled").prop("disabled",!1):d.addClass("disabled").prop("disabled",!0)})),e(".edd-v3-migration").on("submit",(function(a){if(a.preventDefault(),!d.inProgress){d.inProgress=!0;var t=e(this),r=t.find('input[name="upgrade_key"]'),n=!1;if(r.length&&r.val()&&(n=r.val()),t.find("button").removeClass("button-primary").addClass("button-secondary disabled updating-message").prop("disabled",!0),t.find("input").prop("disabled",!0),"edd-v3-migration"===t.attr("id")){e("#edd-migration-progress").removeClass("edd-hidden");var o=e("#edd-migration-progress li:not(.edd-upgrade-complete)");o.length&&!n&&(n=o.data("upgrade"))}d.processStep(n,1,t.find('input[name="_wpnonce"]').val())}}))},processStep:function(a,t,r){var n={action:"edd_process_v3_upgrade",_ajax_nonce:r,upgrade_key:a,step:t};d.clearErrors(),a&&d.markUpgradeInProgress(a),e.ajax({type:"POST",data:n,url:ajaxurl,success:function(e){if(e.success){if(e.data.upgrade_completed){if(d.markUpgradeComplete(e.data.upgrade_processed),"v30_legacy_data_removed"===e.data.upgrade_processed)return void d.legacyDataRemovalComplete()}else e.data.percentage&&d.updateUpgradePercentage(e.data.upgrade_processed,e.data.percentage);e.data.next_upgrade&&"v30_legacy_data_removed"===e.data.next_upgrade&&"v30_legacy_data_removed"!==e.data.upgrade_processed?(d.inProgress=!1,d.showLegacyDataRemoval()):e.data.next_upgrade?d.processStep(e.data.next_upgrade,e.data.next_step,e.data.nonce):(d.inProgress=!1,d.stopAllSpinners())}else d.showError(a,e.data)}}).fail((function(e){}))},clearErrors:function(){e(".edd-v3-migration-error").addClass("edd-hidden").html("")},showError:function(a,t){var r=e("#edd-v3-migration");"v30_legacy_data_removed"===a&&(r=e("#edd-v3-remove-legacy-data")),r.find(".edd-v3-migration-error").html("

"+t+"

").removeClass("edd-hidden"),d.inProgress=!1,r.find("input").prop("disabled",!1),r.find("button").prop("disabled",!1).addClass("button-primary").removeClass("button-secondary disabled updating-message")},markUpgradeInProgress:function(a){var d=e("#edd-v3-migration-"+a);if(d.length){var t=d.find(".dashicons");t.length&&t.removeClass("dashicons-minus").addClass("dashicons-update"),d.find(".edd-migration-percentage").removeClass("edd-hidden")}},updateUpgradePercentage:function(a,d){var t=e("#edd-v3-migration-"+a);t.length&&t.find(".edd-migration-percentage-value").text(d)},markUpgradeComplete:function(a){var d=e("#edd-v3-migration-"+a);if(d.length){d.addClass("edd-upgrade-complete");var t=d.find(".dashicons");t.length&&t.removeClass("dashicons-minus dashicons-update").addClass("dashicons-yes");var r=d.find(".edd-migration-status .screen-reader-text");r.length&&r.text(edd_admin_upgrade_vars.migration_complete),d.find(".edd-migration-percentage-value").text(100)}},showLegacyDataRemoval:function(){e("#edd-v3-migration-button").removeClass("updating-message"),e("#edd-v3-migration-complete").removeClass("edd-hidden");var a=e("#edd-v3-remove-legacy-data");a.length&&a.removeClass("edd-hidden")},legacyDataRemovalComplete:function(){var a=e("#edd-v3-remove-legacy-data");a.length&&(a.find("form").addClass("edd-hidden"),a.find("#edd-v3-legacy-data-removal-complete").removeClass("edd-hidden"))},stopAllSpinners:function(){}};a(document).ready((function(e){d.init()}))}).call(this,d(1),d(1))}}); \ No newline at end of file +!function(e){var a={};function d(t){if(a[t])return a[t].exports;var r=a[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,d),r.l=!0,r.exports}d.m=e,d.c=a,d.d=function(e,a,t){d.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,a){if(1&a&&(e=d(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var r in e)d.d(t,r,function(a){return e[a]}.bind(null,r));return t},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="",d(d.s=321)}({0:function(e,a){e.exports=jQuery},321:function(e,a,d){"use strict";d.r(a),d(322)},322:function(e,a,d){(function(e,a){var d={inProgress:!1,init:function(){e(".edd-v3-migration-confirmation").on("change",(function(a){var d=e(this).closest(".edd-v3-migration").find("button");a.target.checked?d.removeClass("disabled").prop("disabled",!1):d.addClass("disabled").prop("disabled",!0)})),e(".edd-v3-migration").on("submit",(function(a){if(a.preventDefault(),!d.inProgress){d.inProgress=!0;var t=e(this),r=t.find('input[name="upgrade_key"]'),n=!1;if(r.length&&r.val()&&(n=r.val()),t.find("button").removeClass("button-primary").addClass("button-secondary disabled updating-message").prop("disabled",!0),t.find("input").prop("disabled",!0),"edd-v3-migration"===t.attr("id")){e("#edd-migration-progress").removeClass("edd-hidden");var o=e("#edd-migration-progress li:not(.edd-upgrade-complete)");o.length&&!n&&(n=o.data("upgrade"))}d.processStep(n,1,t.find('input[name="_wpnonce"]').val())}}))},processStep:function(a,t,r){var n={action:"edd_process_v3_upgrade",_ajax_nonce:r,upgrade_key:a,step:t};d.clearErrors(),a&&d.markUpgradeInProgress(a),e.ajax({type:"POST",data:n,url:ajaxurl,success:function(e){if(e.success){if(e.data.upgrade_completed){if(d.markUpgradeComplete(e.data.upgrade_processed),"v30_legacy_data_removed"===e.data.upgrade_processed)return void d.legacyDataRemovalComplete()}else e.data.percentage&&d.updateUpgradePercentage(e.data.upgrade_processed,e.data.percentage);e.data.next_upgrade&&"v30_legacy_data_removed"===e.data.next_upgrade&&"v30_legacy_data_removed"!==e.data.upgrade_processed?(d.inProgress=!1,d.showLegacyDataRemoval()):e.data.next_upgrade?d.processStep(e.data.next_upgrade,e.data.next_step,e.data.nonce):(d.inProgress=!1,d.stopAllSpinners())}else d.showError(a,e.data)}}).fail((function(e){}))},clearErrors:function(){e(".edd-v3-migration-error").addClass("edd-hidden").html("")},showError:function(a,t){var r=e("#edd-v3-migration");"v30_legacy_data_removed"===a&&(r=e("#edd-v3-remove-legacy-data")),r.find(".edd-v3-migration-error").html("

"+t+"

").removeClass("edd-hidden"),d.inProgress=!1,r.find("input").prop("disabled",!1),r.find("button").prop("disabled",!1).addClass("button-primary").removeClass("button-secondary disabled updating-message")},markUpgradeInProgress:function(a){var d=e("#edd-v3-migration-"+a);if(d.length){var t=d.find(".dashicons");t.length&&t.removeClass("dashicons-minus").addClass("dashicons-update"),d.find(".edd-migration-percentage").removeClass("edd-hidden")}},updateUpgradePercentage:function(a,d){var t=e("#edd-v3-migration-"+a);t.length&&t.find(".edd-migration-percentage-value").text(d)},markUpgradeComplete:function(a){var d=e("#edd-v3-migration-"+a);if(d.length){d.addClass("edd-upgrade-complete");var t=d.find(".dashicons");t.length&&t.removeClass("dashicons-minus dashicons-update").addClass("dashicons-yes");var r=d.find(".edd-migration-status .screen-reader-text");r.length&&r.text(edd_admin_upgrade_vars.migration_complete),d.find(".edd-migration-percentage-value").text(100)}},showLegacyDataRemoval:function(){e("#edd-v3-migration-button").removeClass("updating-message"),e("#edd-v3-migration-complete").removeClass("edd-hidden");var a=e("#edd-v3-remove-legacy-data");a.length&&a.removeClass("edd-hidden")},legacyDataRemovalComplete:function(){var a=e("#edd-v3-remove-legacy-data");a.length&&(a.find("form").addClass("edd-hidden"),a.find("#edd-v3-legacy-data-removal-complete").removeClass("edd-hidden"))},stopAllSpinners:function(){}};a(document).ready((function(e){d.init()}))}).call(this,d(0),d(0))}}); \ No newline at end of file diff --git a/assets/js/edd-admin.js b/assets/js/edd-admin.js index 7f5638e6f56..93068f008f1 100644 --- a/assets/js/edd-admin.js +++ b/assets/js/edd-admin.js @@ -1 +1 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=325)}({1:function(e,t){e.exports=jQuery},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var o=function(t){e(t)}}).call(this,n(1))},13:function(e,t,n){var o=n(4).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},20:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var o=n(3),a=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t0&&t.attr("autocomplete","off").datepicker({dateFormat:edd_vars.date_picker_format,beforeShow:function(){e("#ui-datepicker-div").removeClass("ui-datepicker").addClass("edd-datepicker")}})}))}).call(this,n(1))},327:function(e,t,n){(function(e){e(document).ready((function(e){e(".edd-dialog").dialog({autoOpen:!1,modal:!0,draggable:!1,closeOnEscape:!0})}))}).call(this,n(1))},328:function(e,t,n){"use strict";(function(e){var t=n(20);e(document).ready((function(e){e(".edd-select-chosen").each((function(){var n=e(this);n.chosen(Object(t.a)(n))})),e(".edd-select-chosen .chosen-search input").each((function(){if(!e(this).attr("placeholder")){var t=e(this).parent().parent().parent().prev("select.edd-select-chosen").data("search-placeholder");t&&e(this).attr("placeholder",t)}})),e(".chosen-choices").on("click",(function(){var t=e(this).parent().prev().data("search-placeholder");void 0===t&&(t=edd_vars.type_to_search),e(this).children("li").children("input").attr("placeholder",t)})),e("#post").on("click",".edd-thickbox",(function(){e(".edd-select-chosen","#choose-download").css("width","100%")})),e(document.body).on("keyup",".edd-select-chosen .chosen-search input, .edd-select-chosen .search-field input",_.debounce((function(t){var n=e(this),o=n.val(),a=n.closest(".edd-select-chosen"),i=a.prev(),r=i.data("search-type"),s=a.hasClass("no-bundles"),c=a.hasClass("variations"),d=a.hasClass("variations-only"),l=a.hasClass("exclude-current")?edd_vars.post_id:0,u=t.which,f="edd_download_search",p=i.data("excluded-products");a.attr("id").replace("_chosen",""),void 0!==r&&"no_ajax"!==r&&(f="edd_"+r+"_search",o.length<=3&&"edd_download_search"===f||16===u||13===u||91===u||17===u||37===u||38===u||39===u||40===u?a.children(".spinner").remove():(a.children(".spinner").length||a.append(''),e.ajax({type:"GET",dataType:"json",url:ajaxurl,data:{s:o,action:f,no_bundles:s,variations:c,variations_only:d,current_id:l,exclusions:p},beforeSend:function(){i.closest("ul.chosen-results").empty()},success:function(t){e("option:not(:selected)",i).remove(),e.each(t,(function(t,n){e('option[value="'+n.id+'"]',i).length||i.append('")}));var o=n.val();i.trigger("chosen:updated"),n.val(o)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a.children(".spinner").remove()}))))}),342))}))}).call(this,n(1))},329:function(e,t,n){(function(e){e(document).ready((function(e){var t=".edd-vertical-sections.use-js";if(0!==e(t).length){e("".concat(t," .section-content")).hide();var n=window.location.hash;n&&n.includes("edd_")?(e(t).find(n).show(),e("".concat(t," .section-title")).attr("aria-selected","false").removeClass("section-title--is-active"),e(t).find('.section-title a[href="'+n+'"]').parents(".section-title").attr("aria-selected","true").addClass("section-title--is-active")):(e("".concat(t," .section-content:first-child")).show(),e("".concat(t," .section-nav li:first-child")).attr("aria-selected","true").addClass("section-title--is-active")),e("".concat(t," .section-nav li a")).on("click",(function(t){t.preventDefault();var n=e(this),o=n.attr("href"),a=n.parents(".edd-vertical-sections");a.find(".section-content").hide(),a.find(o).show(),a.find(".section-title").attr("aria-selected","false").removeClass("section-title--is-active"),n.parent().attr("aria-selected","true").addClass("section-title--is-active"),a.find("div.chosen-container").css("width","100%"),window.history.pushState("object or string","",o)}))}}))}).call(this,n(1))},330:function(e,t,n){(function(e){e(document).ready((function(e){var t=e("ul.edd-sortable-list");t.length>0&&t.sortable({axis:"y",items:"li",cursor:"move",tolerance:"pointer",containment:"parent",distance:2,opacity:.7,scroll:!0,stop:function(){var t=e.map(e(this).children("li"),(function(t){return e(t).data("key")}));e(this).prev("input.edd-order").val(t)}})}))}).call(this,n(1))},331:function(e,t,n){(function(e){e((function(e){e(".edd-ajax-user-search").on("keyup focus",(function(){var t=e(this).val(),n="";e(this).data("exclude")&&(n=e(this).data("exclude")),e(".edd_user_search_wrap").addClass("loading");var o={action:"edd_search_users",user_name:t,exclude:n};e.ajax({type:"POST",data:o,dataType:"json",url:ajaxurl,success:function(t){e(".edd_user_search_wrap").removeClass("loading"),e(".edd_user_search_results").removeClass("hidden"),e(".edd_user_search_results span").html(""),t.results&&e(t.results).appendTo(".edd_user_search_results span")}})})).on("blur",(function(){t?t=!1:(e(this).removeClass("loading"),e(".edd_user_search_results").addClass("hidden"))})),e(document.body).on("click.eddSelectUser",".edd_user_search_results span a",(function(t){t.preventDefault();var n=e(this).data("login");e(".edd-ajax-user-search").val(n),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")})),e(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",(function(t){t.preventDefault(),e(".edd-ajax-user-search").val(""),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}));var t=!1;e(".edd_user_search_results").on("mousedown",(function(){t=!0}))}))}).call(this,n(1))},332:function(e,t,n){(function(e,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t("#edd-advanced-filters");if(!n.hasClass("open"))return!1;!1!==e&&(n.is(e)||n.has(e).length)||o()}function o(){t("#edd-advanced-filters").toggleClass("open")}e(document).ready((function(e){e(".edd-advanced-filters-button").on("click",(function(e){e.preventDefault(),o()})),e(document).on("click",(function(e){n(e.target)})),e(document).on("keydown",(function(e){"Escape"===e.key&&n()}))}))}).call(this,n(1),n(1))},333:function(e,t,n){(function(e){e(document).ready((function(e){(e("body").hasClass("taxonomy-download_category")||e("body").hasClass("taxonomy-download_tag"))&&e(".nav-tab-wrapper, .nav-tab-wrapper + br").detach().insertAfter(".wp-header-end")}))}).call(this,n(1))},334:function(e,t,n){(function(e){e(document).ready((function(e){e(".edd_countries_filter").on("change",(function(){var t=e(this),n={action:"edd_get_shop_states",country:t.val(),nonce:t.data("nonce"),field_name:"edd_regions_filter"};return e.post(ajaxurl,n,(function(t){e("select.edd_regions_filter").find("option:gt(0)").remove(),"nostates"!==t&&e(t).find("option:gt(0)").appendTo("select.edd_regions_filter"),e("select.edd_regions_filter").trigger("chosen:updated")})),!1}))}))}).call(this,n(1))},335:function(e,t,n){(function(e){e(document).ready((function(e){var t=e(".edd-admin-notice-overlay"),n="edd-promo-notice__overlay";t&&(t.wrap('
'),e(document).on("click",".edd-promo-notice__trigger",(function(){e("."+n).css("display","flex").hide().fadeIn()}))),e(".edd-promo-notice").each((function(){var t=e(this);t.on("click",".edd-promo-notice-dismiss",(function(o){e(this).attr("href")||o.preventDefault(),e.ajax({type:"POST",data:{action:"edd_dismiss_promo_notice",notice_id:t.data("id"),nonce:t.data("nonce"),lifespan:t.data("lifespan")},url:ajaxurl,success:function(o){e("."+n).length?(e("."+n).fadeOut(),e(".edd-extension-manager__key-notice").hide()):t.slideUp()}})})),e(document).on("keydown",(function(t){e("."+n).length&&27===t.keyCode&&(e("."+n).fadeOut(),e(".edd-extension-manager__key-notice").hide())}))}))}))}).call(this,n(1))},336:function(e,t,n){"use strict";(function(e,t){var n=function(t){var n=t.data("min")||0,o=t.data("max")||100,a=t.data("value")||0,i=function(e,n){t.siblings(".edd-range__input").val(n.value)};t.slider({min:n,max:o,value:a,range:"min",animate:!0,slide:i,change:i,create:function(){t.siblings(".edd-range__input").on("input change",(function(){t.slider("value",e(this).val())}))}})};t(document).ready((function(e){e(".edd-range__slider").each((function(){n(e(this))}))}))}).call(this,n(1),n(1))},337:function(e,t,n){"use strict";(function(e){var t=n(12);Object(t.a)((function(){e(".download_page_edd-payment-history .row-actions .delete a").on("click",(function(t){t.preventDefault();var n=e(this).attr("href");e("#edd-single-delete-dialog").dialog({buttons:[{text:edd_vars.cancel_dialog_text,class:"button-secondary",click:function(){e(this).dialog("close")}},{text:edd_vars.confirm_dialog_text,class:"button-primary",click:function(){e(this).dialog("close"),window.location.href=n}}]}),e("#edd-single-delete-dialog").dialog("open")})),e(".download_page_edd-payment-history").on("click","#doaction",(function(t){var n=e("#bulk-action-selector-top").val(),o=e(this).closest("form");"delete"===n&&(t.preventDefault(),e("#edd-bulk-delete-dialog").dialog({buttons:[{text:edd_vars.cancel_dialog_text,class:"button-secondary",click:function(){e(this).dialog("close")}},{text:edd_vars.confirm_dialog_text,class:"button-primary",click:function(){e(this).dialog("close"),o.submit()}}]}),e("#edd-bulk-delete-dialog").dialog("open"))}))}))}).call(this,n(1))},38:function(e,t,n){"use strict";(function(e,o){n.d(t,"a",(function(){return a}));var a=function(t){t.tooltip({content:function(){return e(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"bottom",at:"top-10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})};o(document).ready((function(e){a(e(".edd-help-tip"))}))}).call(this,n(1),n(1))},4:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,n){var o=n(4).default,a=n(13);e.exports=function(e){var t=a(e,"string");return"symbol"==o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=334)}({0:function(e,t){e.exports=jQuery},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var o=function(t){e(t)}}).call(this,n(0))},13:function(e,t,n){var o=n(4).default;e.exports=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var o=n(3),a=n.n(o);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t0&&t.attr("autocomplete","off").datepicker({dateFormat:edd_vars.date_picker_format,beforeShow:function(){e("#ui-datepicker-div").removeClass("ui-datepicker").addClass("edd-datepicker")}})}))}).call(this,n(0))},336:function(e,t,n){(function(e){e(document).ready((function(e){e(".edd-dialog").dialog({autoOpen:!1,modal:!0,draggable:!1,closeOnEscape:!0})}))}).call(this,n(0))},337:function(e,t,n){"use strict";(function(e){var t=n(17);e(document).ready((function(e){e(".edd-select-chosen").each((function(){var n=e(this);n.chosen(Object(t.a)(n))})),e(".edd-select-chosen .chosen-search input").each((function(){if(!e(this).attr("placeholder")){var t=e(this).parent().parent().parent().prev("select.edd-select-chosen").data("search-placeholder");t&&e(this).attr("placeholder",t)}})),e(".chosen-choices").on("click",(function(){var t=e(this).parent().prev().data("search-placeholder");void 0===t&&(t=edd_vars.type_to_search),e(this).children("li").children("input").attr("placeholder",t)})),e("#post").on("click",".edd-thickbox",(function(){e(".edd-select-chosen","#choose-download").css("width","100%")})),e(document.body).on("keyup",".edd-select-chosen .chosen-search input, .edd-select-chosen .search-field input",_.debounce((function(t){var n=e(this),o=n.val(),a=n.closest(".edd-select-chosen"),r=a.prev(),i=r.data("search-type"),s=a.hasClass("no-bundles"),c=a.hasClass("variations"),d=a.hasClass("variations-only"),l=a.hasClass("exclude-current")?edd_vars.post_id:0,u=t.which,f="edd_download_search",p=r.data("excluded-products");a.attr("id").replace("_chosen",""),void 0!==i&&"no_ajax"!==i&&(f="edd_"+i+"_search",o.length<=3&&"edd_download_search"===f||16===u||13===u||91===u||17===u||37===u||38===u||39===u||40===u?a.children(".spinner").remove():(a.children(".spinner").length||a.append(''),e.ajax({type:"GET",dataType:"json",url:ajaxurl,data:{s:o,action:f,no_bundles:s,variations:c,variations_only:d,current_id:l,exclusions:p},beforeSend:function(){r.closest("ul.chosen-results").empty()},success:function(t){e("option:not(:selected)",r).remove(),e.each(t,(function(t,n){e('option[value="'+n.id+'"]',r).length||r.append('")}));var o=n.val();r.trigger("chosen:updated"),n.val(o)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a.children(".spinner").remove()}))))}),342))}))}).call(this,n(0))},338:function(e,t,n){(function(e){e(document).ready((function(e){var t=".edd-vertical-sections.use-js";if(0!==e(t).length){e("".concat(t," .section-content")).hide();var n=window.location.hash;n&&n.includes("edd_")?(e(t).find(n).show(),e("".concat(t," .section-title")).attr("aria-selected","false").removeClass("section-title--is-active"),e(t).find('.section-title a[href="'+n+'"]').parents(".section-title").attr("aria-selected","true").addClass("section-title--is-active")):(e("".concat(t," .section-content:first-child")).show(),e("".concat(t," .section-nav li:first-child")).attr("aria-selected","true").addClass("section-title--is-active")),e("".concat(t," .section-nav li a")).on("click",(function(t){t.preventDefault();var n=e(this),o=n.attr("href"),a=n.parents(".edd-vertical-sections");a.find(".section-content").hide(),a.find(o).show(),a.find(".section-title").attr("aria-selected","false").removeClass("section-title--is-active"),n.parent().attr("aria-selected","true").addClass("section-title--is-active"),a.find("div.chosen-container").css("width","100%"),window.history.pushState("object or string","",o)}))}}))}).call(this,n(0))},339:function(e,t,n){(function(e){e(document).ready((function(e){var t=e("ul.edd-sortable-list");t.length>0&&t.sortable({axis:"y",items:"li",cursor:"move",tolerance:"pointer",containment:"parent",distance:2,opacity:.7,scroll:!0,stop:function(){var t=e.map(e(this).children("li"),(function(t){return e(t).data("key")}));e(this).prev("input.edd-order").val(t)}})}))}).call(this,n(0))},340:function(e,t,n){(function(e){e((function(e){e(".edd-ajax-user-search").on("keyup focus",(function(){var t=e(this).val(),n="";e(this).data("exclude")&&(n=e(this).data("exclude")),e(".edd_user_search_wrap").addClass("loading");var o={action:"edd_search_users",user_name:t,exclude:n};e.ajax({type:"POST",data:o,dataType:"json",url:ajaxurl,success:function(t){e(".edd_user_search_wrap").removeClass("loading"),e(".edd_user_search_results").removeClass("hidden"),e(".edd_user_search_results span").html(""),t.results&&e(t.results).appendTo(".edd_user_search_results span")}})})).on("blur",(function(){t?t=!1:(e(this).removeClass("loading"),e(".edd_user_search_results").addClass("hidden"))})),e(document.body).on("click.eddSelectUser",".edd_user_search_results span a",(function(t){t.preventDefault();var n=e(this).data("login");e(".edd-ajax-user-search").val(n),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")})),e(document.body).on("click.eddCancelUserSearch",".edd_user_search_results a.edd-ajax-user-cancel",(function(t){t.preventDefault(),e(".edd-ajax-user-search").val(""),e(".edd_user_search_results").addClass("hidden"),e(".edd_user_search_results span").html("")}));var t=!1;e(".edd_user_search_results").on("mousedown",(function(){t=!0}))}))}).call(this,n(0))},341:function(e,t,n){(function(e,t){function n(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t("#edd-advanced-filters");if(!n.hasClass("open"))return!1;!1!==e&&(n.is(e)||n.has(e).length)||o()}function o(){t("#edd-advanced-filters").toggleClass("open")}e(document).ready((function(e){e(".edd-advanced-filters-button").on("click",(function(e){e.preventDefault(),o()})),e(document).on("click",(function(e){n(e.target)})),e(document).on("keydown",(function(e){"Escape"===e.key&&n()}))}))}).call(this,n(0),n(0))},342:function(e,t,n){(function(e){e(document).ready((function(e){(e("body").hasClass("taxonomy-download_category")||e("body").hasClass("taxonomy-download_tag"))&&e(".nav-tab-wrapper, .nav-tab-wrapper + br").detach().insertAfter(".wp-header-end")}))}).call(this,n(0))},343:function(e,t,n){"use strict";(function(e){var t=n(3),o=n.n(t),a=n(17);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t").attr(i(i({},r),{type:"text",placeholder:edd_vars.enter_region}))):c=e(t).attr(i(i({},r),{"data-placeholder":edd_vars.select_region})).addClass("edd-select-chosen"),n.remove(),s.prepend(c),void e("select.edd_regions_filter").chosen(i({},Object(a.a)(c)))}e("select.edd_regions_filter").find("option:gt(0)").remove(),"nostates"!==t&&e(t).find("option:gt(0)").appendTo("select.edd_regions_filter"),e("select.edd_regions_filter").trigger("chosen:updated")})),!1}))}))}).call(this,n(0))},344:function(e,t,n){(function(e){e(document).ready((function(e){var t=e(".edd-admin-notice-overlay"),n=e();function o(e){document.dispatchEvent(new CustomEvent("edd_promo_notice_enter",{detail:{notice:e}})),e.css("display","flex").hide().fadeIn()}function a(t){t.is(":visible")&&(t.is(n)?(t.fadeOut(),e(".edd-extension-manager__key-notice").hide()):t.slideUp(),document.dispatchEvent(new CustomEvent("edd_promo_notice_dismiss",{detail:{notice:t}})))}t&&(t.wrap('
'),n=t.parent(),e(document).on("click",".edd-promo-notice__trigger",(function(){e(this).hasClass("edd-promo-notice__trigger--ajax")?e.ajax({type:"GET",url:ajaxurl,data:{action:"edd_get_promo_notice",notice_id:e(this).data("id"),product_id:e(this).data("product"),value:e(this).data("value")},success:function(e){e.data&&(t.html(e.data),n.addClass("edd-promo-notice__ajax")),o(n)}}):o(n)}))),e(".edd-promo-notice").each((function(){var t=e(this);t.on("click",".edd-promo-notice-dismiss",(function(o){e(this).attr("href")||o.preventDefault(),e.ajax({type:"POST",data:{action:"edd_dismiss_promo_notice",notice_id:t.data("id"),nonce:t.data("nonce"),lifespan:t.data("lifespan")},url:ajaxurl,success:function(e){a(n.length?n:t)}})})),e(document).on("keydown",(function(e){n.length&&27===e.keyCode&&a(n)}))}))}))}).call(this,n(0))},345:function(e,t,n){"use strict";(function(e,t){var n=function(t){var n=t.data("min")||0,o=t.data("max")||100,a=t.data("value")||0,r=function(e,n){t.siblings(".edd-range__input").val(n.value)};t.slider({min:n,max:o,value:a,range:"min",animate:!0,slide:r,change:r,create:function(){t.siblings(".edd-range__input").on("input change",(function(){t.slider("value",e(this).val())}))}})};t(document).ready((function(e){e(".edd-range__slider").each((function(){n(e(this))}))}))}).call(this,n(0),n(0))},346:function(e,t){var n=document.querySelector(".edd-admin-page"),o=document.querySelector(".edd-nav__wrapper");if(n){if(o){var a=document.querySelector(".subtitle:not(.edd-search-query)");a&&o.appendChild(a)}var r=document.querySelectorAll(".notice:not(.inline)");r&&setTimeout((function(){if(o){var e=document.querySelector(".edd-sub-nav__wrapper");e&&(o=e);var t=o.parentNode;r.forEach((function(e){t.insertBefore(e,o.nextSibling)}))}r.forEach((function(e){e.classList.contains("hidden")||(e.style.display="block")}))}),1e3)}},347:function(e,t,n){"use strict";(function(e){var t=n(12);Object(t.a)((function(){e(".download_page_edd-payment-history .row-actions .delete a").on("click",(function(t){t.preventDefault();var n=e(this).attr("href");e("#edd-single-delete-dialog").dialog({buttons:[{text:edd_vars.cancel_dialog_text,class:"button-secondary",click:function(){e(this).dialog("close")}},{text:edd_vars.confirm_dialog_text,class:"button-primary",click:function(){e(this).dialog("close"),window.location.href=n}}]}),e("#edd-single-delete-dialog").dialog("open")})),e(".download_page_edd-payment-history").on("click","#doaction",(function(t){var n=e("#bulk-action-selector-top").val(),o=e(this).closest("form");"delete"===n&&(t.preventDefault(),e("#edd-bulk-delete-dialog").dialog({buttons:[{text:edd_vars.cancel_dialog_text,class:"button-secondary",click:function(){e(this).dialog("close")}},{text:edd_vars.confirm_dialog_text,class:"button-primary",click:function(){e(this).dialog("close"),o.submit()}}]}),e("#edd-bulk-delete-dialog").dialog("open"))}))}))}).call(this,n(0))},38:function(e,t,n){"use strict";(function(e,o){n.d(t,"a",(function(){return a}));var a=function(t){t.tooltip({content:function(){return e(this).prop("title")},tooltipClass:"edd-ui-tooltip",position:{my:"bottom",at:"top-10",collision:"flipfit"},hide:{duration:200},show:{duration:200}})};o(document).ready((function(e){a(e(".edd-help-tip"))}))}).call(this,n(0),n(0))},4:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},9:function(e,t,n){var o=n(4).default,a=n(13);e.exports=function(e){var t=a(e,"string");return"symbol"==o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file diff --git a/assets/js/edd-ajax.js b/assets/js/edd-ajax.js index 59a00c255e9..2f4beab5eca 100644 --- a/assets/js/edd-ajax.js +++ b/assets/js/edd-ajax.js @@ -1 +1 @@ -!function(e){var t={};function d(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,d),r.l=!0,r.exports}d.m=e,d.c=t,d.d=function(e,t,a){d.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,t){if(1&t&&(e=d(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(d.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)d.d(a,r,function(t){return e[t]}.bind(null,r));return a},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,"a",t),t},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.p="",d(d.s=346)}({1:function(e,t){e.exports=jQuery},346:function(e,t,d){"use strict";d.r(t),function(e){var t=d(36);function a(t){e(".edd-cart-ajax").show(),e("#edd_purchase_form_wrap").html('');var d=document.getElementById("edd-gateway-"+t).getAttribute("data-"+t+"-nonce"),a=edd_scripts.ajaxurl;a.indexOf("?")>0?a+="&":a+="?",a=a+"payment-mode="+t,e.post(a,{action:"edd_load_gateway",edd_payment_mode:t,nonce:d,current_page:edd_scripts.current_page},(function(d){e("#edd_purchase_form_wrap").html(d),e("body").trigger("edd_gateway_loaded",[t])}))}e(document).ready((function(e){if(e(".edd-add-to-cart:not(.edd-no-js)").addClass("edd-has-js"),e(document.body).on("click.eddRemoveFromCart",".edd-remove-from-cart",(function(t){var d=e(this),a=d.data("cart-item"),r=d.data("action"),n=d.data("download-id"),o=d.data("nonce"),i={action:r,cart_item:a,nonce:o,timestamp:d.data("timestamp"),token:d.data("token"),current_page:edd_scripts.current_page};return e.ajax({type:"POST",data:i,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(t){if(t.removed){if(parseInt(edd_scripts.position_in_cart,10)===parseInt(a,10)||edd_scripts.has_purchase_links)return window.location=window.location,!1;e(".edd-cart").each((function(){e(this).find("[data-cart-item='"+a+"']").parent().remove()})),e(".edd-cart").each((function(){var t=0;e(this).find("[data-cart-item]").each((function(){e(this).attr("data-cart-item",t),t+=1}))})),e("[id^=edd_purchase_"+n+"]").length&&(e("[id^=edd_purchase_"+n+"] .edd_go_to_checkout").hide(),e("[id^=edd_purchase_"+n+"] .edd-add-to-cart.edd-has-js").show().removeAttr("data-edd-loading"),"1"===edd_scripts.quantities_enabled&&e("[id^=edd_purchase_"+n+"] .edd_download_quantity_wrapper").show()),e("span.edd-cart-quantity").text(t.cart_quantity),e(document.body).trigger("edd_quantity_updated",[t.cart_quantity]),edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal span").html(t.subtotal),e(".cart_item.edd_cart_tax span").html(t.tax)),e(".cart_item.edd_total span").html(t.total),0===t.cart_quantity&&(e(".cart_item.edd_subtotal,.edd-cart-number-of-items,.cart_item.edd_checkout,.cart_item.edd_cart_tax,.cart_item.edd_total").hide(),e(".edd-cart").each((function(){var t=e(this).parent();t.length&&(t.addClass("cart-empty"),t.removeClass("cart-not-empty")),e(this).append('
  • '+edd_scripts.empty_cart_message+"
  • ")}))),e(document.body).trigger("edd_cart_item_removed",[t])}}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){})),!1})),e(document.body).on("click.eddAddToCart",".edd-add-to-cart",(function(t){t.preventDefault();var d=e(this),a=d.closest("form");d.prop("disabled",!0),d.find(".edd-loading");var r=d.closest("div");d.attr("data-edd-loading",""),a=d.parents("form").last();var n=d.data("download-id"),o=d.data("variable-price"),i=d.data("price-mode"),c=d.data("nonce"),s=[],_=!0;if("yes"===o)if(a.find(".edd_price_option_"+n+'[type="hidden"]').length>0)s[0]=e(".edd_price_option_"+n,a).val(),a.find(".edd-submit").data("price")&&a.find(".edd-submit").data("price")>0&&(_=!1);else{if(!a.find(".edd_price_option_"+n+":checked",a).length)return d.removeAttr("data-edd-loading"),alert(edd_scripts.select_option),t.stopPropagation(),d.prop("disabled",!1),!1;a.find(".edd_price_option_"+n+":checked",a).each((function(t){if(s[t]=e(this).val(),!0===_){var d=e(this).data("price");d&&d>0&&(_=!1)}}))}else s[0]=n,d.data("price")&&d.data("price")>0&&(_=!1);if(_&&a.find(".edd_action_input").val("add_to_cart"),"straight_to_gateway"===a.find(".edd_action_input").val())return a.submit(),!0;var l={action:d.data("action"),download_id:n,price_ids:s,post_data:e(a).serialize(),nonce:c,current_page:edd_scripts.current_page,timestamp:d.data("timestamp"),token:d.data("token")};return e.ajax({type:"POST",data:l,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(t){var c="1"===edd_scripts.redirect_to_checkout,s="1"===a.find("input[name=edd_redirect_to_checkout]").val();if(c&&s||!c&&s)window.location=edd_scripts.checkout_page;else{if("1"===edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal").show(),e(".cart_item.edd_cart_tax").show()),e(".cart_item.edd_total").show(),e(".cart_item.edd_checkout").show(),e(".cart_item.empty").length&&e(".cart_item.empty").hide(),e(".widget_edd_cart_widget .edd-cart").each((function(d){var a=e(this).find(".edd-cart-meta:first");e(t.cart_item).insertBefore(a);var r=e(this).parent();r.length&&(r.addClass("cart-not-empty"),r.removeClass("cart-empty"))})),"1"===edd_scripts.taxes_enabled&&(e(".edd-cart-meta.edd_subtotal span").html(t.subtotal),e(".edd-cart-meta.edd_cart_tax span").html(t.tax)),e(".edd-cart-meta.edd_total span").html(t.total),e(".edd-cart-item-title",t.cart_item).length,e("span.edd-cart-quantity").each((function(){e(this).text(t.cart_quantity),e(document.body).trigger("edd_quantity_updated",[t.cart_quantity])})),"none"===e(".edd-cart-number-of-items").css("display")&&e(".edd-cart-number-of-items").show("slow"),"no"!==o&&"multi"===i||(e(".edd-add-to-cart.edd-has-js",r).toggle(),e(".edd_go_to_checkout",r).show()),"multi"===i&&d.removeAttr("data-edd-loading"),e(".edd_download_purchase_form").length&&("no"===o||!a.find(".edd_price_option_"+n).is("input:hidden"))){var _=e('.edd_download_purchase_form *[data-download-id="'+n+'"]').parents("form");e(".edd-add-to-cart",_).hide(),"multi"!==i&&_.find(".edd_download_quantity_wrapper").slideUp(),e(".edd_go_to_checkout",_).show().removeAttr("data-edd-loading")}"incart"!==t&&(e(".edd-cart-added-alert",r).fadeIn(),setTimeout((function(){e(".edd-cart-added-alert",r).fadeOut()}),3e3)),d.prop("disabled",!1),e(document.body).trigger("edd_cart_item_added",[t])}}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){})),!1})),e("#edd_checkout_form_wrap").on("click",".edd_checkout_register_login",(function(){var t=e(this),d={action:t.data("action"),nonce:t.data("nonce")};return e(".edd-cart-ajax").show(),e.post(edd_scripts.ajaxurl,d,(function(t){e("#edd_checkout_login_register").html(edd_scripts.loading),e("#edd_checkout_login_register").html(t),e(".edd-cart-ajax").hide()})),!1})),e(document).on("click","#edd_purchase_form #edd_login_fields input[type=submit]",(function(t){t.preventDefault();var d=e(this).val();e(this).attr("data-original-value",d),e(this).val(edd_global_vars.purchase_loading),e(this).after('');var a={action:"edd_process_checkout_login",edd_ajax:1,edd_user_login:e("#edd_login_fields #edd_user_login").val(),edd_user_pass:e("#edd_login_fields #edd_user_pass").val(),edd_login_nonce:e("#edd_login_nonce").val()};e.post(edd_global_vars.ajaxurl,a,(function(t){"success"===e.trim(t)?(e(".edd_errors").remove(),window.location=edd_scripts.checkout_page):(e("#edd_login_fields input[type=submit]").val(d),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e("#edd-user-login-submit").before(t))}))})),e(document).on("change","select#edd-gateway, input.edd-gateway",(function(t){var d=e("#edd-gateway option:selected, input.edd-gateway:checked").val();return"0"===d||a(d),!1})),"1"===edd_scripts.is_checkout){var d=!1,r=!1;e("select#edd-gateway, input.edd-gateway").length&&(d=e("meta[name='edd-chosen-gateway']").attr("content"),r=!0),d||(d=edd_scripts.default_gateway),r?setTimeout((function(){a(d)}),200):setTimeout((function(){e("body").trigger("edd_gateway_loaded",[d])}),300)}function n(){var d=e(this),a="undefined"!=typeof edd_global_vars,r="card_state";if("edd_address_country"===e(this).attr("id"))r="edd_address_state";else if(e(this).hasClass("address_country")){var n=e(this).closest("form").data("source");n&&(n=n.replace("edd-",""),r="edds_address_state_"+n)}var o=e("#"+r);if(r!==d.attr("id")&&o.length){var i={action:"edd_get_shop_states",country:d.val(),field_name:r,nonce:e(this).data("nonce")};e.ajax({type:"POST",data:i,url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(t){var d;(d="nostates"===e.trim(t)?'':t)&&o.replaceWith(d),a&&e(document.body).trigger("edd_cart_billing_address_updated",[t])}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a&&Object(t.b)()}))}else a&&Object(t.b)();return!1}e(document).on("click","#edd_purchase_form #edd_purchase_submit [type=submit]",(function(t){var d=document.getElementById("edd_purchase_form");if("function"!=typeof d.checkValidity||!1!==d.checkValidity()){t.preventDefault();var a=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).prop("disabled",!0),e(this).after(''),e.post(edd_global_vars.ajaxurl,e("#edd_purchase_form").serialize()+"&action=edd_process_checkout&edd_ajax=true",(function(t){"success"===e.trim(t)?(e(".edd_errors").remove(),e(".edd-error").hide(),e(d).submit()):(e("#edd-purchase-button").val(a),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e(".edd-error").hide(),e(edd_global_vars.checkout_error_anchor).before(t),e("#edd-purchase-button").prop("disabled",!1),e(document.body).trigger("edd_checkout_error",[t]))}))}})),e(document.body).on("change","#edd_cc_address input.card_state, #edd_cc_address select, #edd_address_country, .edd-stripe-card-item .card-address-fields .address_country",n),window.update_state_field=n,e(document.body).on("change","#edd_cc_address input[name=card_zip]",(function(){"undefined"!=typeof edd_global_vars&&Object(t.b)()}))})),window.edd_load_gateway=a}.call(this,d(1))},36:function(e,t,d){"use strict";(function(e){d.d(t,"a",(function(){return a})),d.d(t,"b",(function(){return n}));var a=function(e){var t,d=e;switch(e){case"amex":d="americanexpress",t=32;break;default:t=50}return"\n \n \n \n ')},r=0;function n(t){if("1"==edd_global_vars.taxes_enabled){var d=document.getElementById("edd_checkout_cart");if(d){var a=d.getElementsByClassName("edd_cart_tax");if(a.length>0&&!a[0].querySelector(".edd-recalculate-taxes-loading")){a=a[0];for(var n=document.createElement("span"),o=a.getElementsByClassName("edd_cart_tax_amount"),i=0;i');var d=document.getElementById("edd-gateway-"+t).getAttribute("data-"+t+"-nonce"),a=edd_scripts.ajaxurl;a.indexOf("?")>0?a+="&":a+="?",a=a+"payment-mode="+t,e.post(a,{action:"edd_load_gateway",edd_payment_mode:t,nonce:d,current_page:edd_scripts.current_page},(function(d){e("#edd_purchase_form_wrap").html(d),e("body").trigger("edd_gateway_loaded",[t])}))}e(document).ready((function(e){if(e(".edd-add-to-cart:not(.edd-no-js)").addClass("edd-has-js"),e(document.body).on("click.eddRemoveFromCart",".edd-remove-from-cart",(function(t){var d=e(this),a=d.data("cart-item"),r=d.data("action"),n=d.data("download-id"),o=d.data("nonce"),i={action:r,cart_item:a,nonce:o,timestamp:d.data("timestamp"),token:d.data("token"),current_page:edd_scripts.current_page};return e.ajax({type:"POST",data:i,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(t){if(t.removed){if(parseInt(edd_scripts.position_in_cart,10)===parseInt(a,10)||edd_scripts.has_purchase_links)return window.location=window.location,!1;e(".edd-cart").each((function(){e(this).find("[data-cart-item='"+a+"']").parent().remove()})),e(".edd-cart").each((function(){var t=0;e(this).find("[data-cart-item]").each((function(){e(this).attr("data-cart-item",t),t+=1}))})),e("[id^=edd_purchase_"+n+"]").length&&(e("[id^=edd_purchase_"+n+"] .edd_go_to_checkout").hide(),e("[id^=edd_purchase_"+n+"] .edd-add-to-cart.edd-has-js").show().removeAttr("data-edd-loading"),"1"===edd_scripts.quantities_enabled&&e("[id^=edd_purchase_"+n+"] .edd_download_quantity_wrapper").show()),e("span.edd-cart-quantity").text(t.cart_quantity),e(document.body).trigger("edd_quantity_updated",[t.cart_quantity]),edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal span").html(t.subtotal),e(".cart_item.edd_cart_tax span").html(t.tax)),e(".cart_item.edd_total span").html(t.total),0===t.cart_quantity&&(e(".cart_item.edd_subtotal,.edd-cart-number-of-items,.cart_item.edd_checkout,.cart_item.edd_cart_tax,.cart_item.edd_total").hide(),e(".edd-cart").each((function(){var t=e(this).parent();t.length&&(t.addClass("cart-empty"),t.removeClass("cart-not-empty")),e(this).append('
  • '+edd_scripts.empty_cart_message+"
  • ")}))),e(document.body).trigger("edd_cart_item_removed",[t])}}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){})),!1})),e(document.body).on("click.eddAddToCart",".edd-add-to-cart",(function(t){t.preventDefault();var d=e(this),a=d.closest("form");d.prop("disabled",!0),d.find(".edd-loading");var r=d.closest("div");d.attr("data-edd-loading",""),a=d.parents("form").last();var n=d.data("download-id"),o=d.data("variable-price"),i=d.data("price-mode"),c=d.data("nonce"),s=[],_=!0;if("yes"===o)if(a.find(".edd_price_option_"+n+'[type="hidden"]').length>0)s[0]=e(".edd_price_option_"+n,a).val(),a.find(".edd-submit").data("price")&&a.find(".edd-submit").data("price")>0&&(_=!1);else{if(!a.find(".edd_price_option_"+n+":checked",a).length)return d.removeAttr("data-edd-loading"),alert(edd_scripts.select_option),t.stopPropagation(),d.prop("disabled",!1),!1;a.find(".edd_price_option_"+n+":checked",a).each((function(t){if(s[t]=e(this).val(),!0===_){var d=e(this).data("price");d&&d>0&&(_=!1)}}))}else s[0]=n,d.data("price")&&d.data("price")>0&&(_=!1);if(_&&a.find(".edd_action_input").val("add_to_cart"),"straight_to_gateway"===a.find(".edd_action_input").val())return a.submit(),!0;var l={action:d.data("action"),download_id:n,price_ids:s,post_data:e(a).serialize(),nonce:c,current_page:edd_scripts.current_page,timestamp:d.data("timestamp"),token:d.data("token")};return e.ajax({type:"POST",data:l,dataType:"json",url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(t){var c="1"===edd_scripts.redirect_to_checkout,s="1"===a.find("input[name=edd_redirect_to_checkout]").val();if(c&&s||!c&&s)window.location=edd_scripts.checkout_page;else{if("1"===edd_scripts.taxes_enabled&&(e(".cart_item.edd_subtotal").show(),e(".cart_item.edd_cart_tax").show()),e(".cart_item.edd_total").show(),e(".cart_item.edd_checkout").show(),e(".cart_item.empty").length&&e(".cart_item.empty").hide(),e(".widget_edd_cart_widget .edd-cart").each((function(d){var a=e(this).find(".edd-cart-meta:first");e(t.cart_item).insertBefore(a);var r=e(this).parent();r.length&&(r.addClass("cart-not-empty"),r.removeClass("cart-empty"))})),"1"===edd_scripts.taxes_enabled&&(e(".edd-cart-meta.edd_subtotal span").html(t.subtotal),e(".edd-cart-meta.edd_cart_tax span").html(t.tax)),e(".edd-cart-meta.edd_total span").html(t.total),e(".edd-cart-item-title",t.cart_item).length,e("span.edd-cart-quantity").each((function(){e(this).text(t.cart_quantity),e(document.body).trigger("edd_quantity_updated",[t.cart_quantity])})),"none"===e(".edd-cart-number-of-items").css("display")&&e(".edd-cart-number-of-items").show("slow"),"no"!==o&&"multi"===i||(e(".edd-add-to-cart.edd-has-js",r).toggle(),e(".edd_go_to_checkout",r).show()),"multi"===i&&d.removeAttr("data-edd-loading"),e(".edd_download_purchase_form").length&&("no"===o||!a.find(".edd_price_option_"+n).is("input:hidden"))){var _=e('.edd_download_purchase_form *[data-download-id="'+n+'"]').parents("form");e(".edd-add-to-cart",_).hide(),"multi"!==i&&_.find(".edd_download_quantity_wrapper").slideUp(),e(".edd_go_to_checkout",_).show().removeAttr("data-edd-loading")}"incart"!==t&&(e(".edd-cart-added-alert",r).fadeIn(),setTimeout((function(){e(".edd-cart-added-alert",r).fadeOut()}),3e3)),d.prop("disabled",!1),e(document.body).trigger("edd_cart_item_added",[t])}}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){})),!1})),e("#edd_checkout_form_wrap").on("click",".edd_checkout_register_login",(function(){var t=e(this),d={action:t.data("action"),nonce:t.data("nonce")};return e(".edd-cart-ajax").show(),e.post(edd_scripts.ajaxurl,d,(function(t){e("#edd_checkout_login_register").html(edd_scripts.loading),e("#edd_checkout_login_register").html(t),e(".edd-cart-ajax").hide()})),!1})),e(document).on("click","#edd_purchase_form #edd_login_fields input[type=submit]",(function(t){t.preventDefault();var d=e(this).val();e(this).attr("data-original-value",d),e(this).val(edd_global_vars.purchase_loading),e(this).after('');var a={action:"edd_process_checkout_login",edd_ajax:1,edd_user_login:e("#edd_login_fields #edd_user_login").val(),edd_user_pass:e("#edd_login_fields #edd_user_pass").val(),edd_login_nonce:e("#edd_login_nonce").val()};e.post(edd_global_vars.ajaxurl,a,(function(t){"success"===e.trim(t)?(e(".edd_errors").remove(),window.location=edd_scripts.checkout_page):(e("#edd_login_fields input[type=submit]").val(d),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e("#edd-user-login-submit").before(t))}))})),e(document).on("change","select#edd-gateway, input.edd-gateway",(function(t){var d=e("#edd-gateway option:selected, input.edd-gateway:checked").val();return"0"===d||a(d),!1})),"1"===edd_scripts.is_checkout){var d=!1,r=!1;e("select#edd-gateway, input.edd-gateway").length&&(d=e("meta[name='edd-chosen-gateway']").attr("content"),r=!0),d||(d=edd_scripts.default_gateway),r?setTimeout((function(){a(d)}),200):setTimeout((function(){e("body").trigger("edd_gateway_loaded",[d])}),300)}function n(){var d=e(this),a="undefined"!=typeof edd_global_vars,r="card_state";if("edd_address_country"===e(this).attr("id"))r="edd_address_state";else if(e(this).hasClass("address_country")){var n=e(this).closest("form").data("source");n&&(n=n.replace("edd-",""),r="edds_address_state_"+n)}var o=e("#"+r);if(r!==d.attr("id")&&o.length){var i={action:"edd_get_shop_states",country:d.val(),field_name:r,nonce:e(this).data("nonce")};e.ajax({type:"POST",data:i,url:edd_scripts.ajaxurl,xhrFields:{withCredentials:!0},success:function(t){var d;(d="nostates"===e.trim(t)?'':t)&&o.replaceWith(d),a&&e(document.body).trigger("edd_cart_billing_address_updated",[t])}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a&&Object(t.b)()}))}else a&&Object(t.b)();return!1}e(document).on("click","#edd_purchase_form #edd_purchase_submit [type=submit]",(function(t){var d=document.getElementById("edd_purchase_form");if("function"!=typeof d.checkValidity||!1!==d.checkValidity()){t.preventDefault();var a=e(this).val();e(this).val(edd_global_vars.purchase_loading),e(this).prop("disabled",!0),e(this).after(''),e.post(edd_global_vars.ajaxurl,e("#edd_purchase_form").serialize()+"&action=edd_process_checkout&edd_ajax=true",(function(t){"success"===e.trim(t)?(e(".edd_errors").remove(),e(".edd-error").hide(),e(d).submit()):(e("#edd-purchase-button").val(a),e(".edd-loading-ajax").remove(),e(".edd_errors").remove(),e(".edd-error").hide(),e(edd_global_vars.checkout_error_anchor).before(t),e("#edd-purchase-button").prop("disabled",!1),e(document.body).trigger("edd_checkout_error",[t]))}))}})),e(document.body).on("change","#edd_cc_address input.card_state, #edd_cc_address select, #edd_address_country, .edd-stripe-card-item .card-address-fields .address_country",n),window.update_state_field=n,e(document.body).on("change","#edd_cc_address input[name=card_zip]",(function(){"undefined"!=typeof edd_global_vars&&Object(t.b)()}))})),window.edd_load_gateway=a}.call(this,d(0))},36:function(e,t,d){"use strict";(function(e){d.d(t,"a",(function(){return a})),d.d(t,"b",(function(){return n}));var a=function(e){var t,d=e;switch(e){case"amex":d="americanexpress",t=32;break;default:t=50}return"\n \n \n \n ')},r=0;function n(t){if("1"==edd_global_vars.taxes_enabled){var d=document.getElementById("edd_checkout_cart");if(d){var a=d.getElementsByClassName("edd_cart_tax");if(a.length>0&&!a[0].querySelector(".edd-recalculate-taxes-loading")){a=a[0];for(var n=document.createElement("span"),o=a.getElementsByClassName("edd_cart_tax_amount"),i=0;i'+a.msg+""),e("#edd-discount-error-wrap").show(),t.trigger("edd_discount_invalid",[a])):(window.console&&window.console.log&&console.log(a),t.trigger("edd_discount_failed",[a])),r.hide()}}).fail((function(e){window.console&&window.console.log&&console.log(e)})),!1}function r(a){var n={action:"edd_remove_discount",code:e(this).data("code"),current_page:edd_global_vars.current_page};return e.ajax({type:"POST",data:n,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(a){var n="0"+edd_global_vars.decimal_separator+"00";e(".edd_cart_amount").each((function(){edd_global_vars.currency_sign+n!=e(this).text()&&n+edd_global_vars.currency_sign!=e(this).text()||window.location.reload(),e(this).text(a.total).data("subtotal",a.subtotal_raw).attr("data-subtotal",a.subtotal_raw).data("total",a.total_plain).attr("data-total",a.total_plain)})),e(".edd_cart_discount").html(a.html),a.discounts&&0===a.discounts.length&&e(".edd_cart_discount_row").hide(),Object(d.b)(),e("#edd_cc_fields,#edd_cc_address").slideDown(),e("#edd-purchase-button").val(a.complete_purchase),t.trigger("edd_discount_removed",[a])}}).fail((function(e){window.console&&window.console.log&&console.log(e)})),!1}function c(a){var d=e(this),n=d.val(),o=d.data("key"),r=d.closest(".edd_cart_item").data("download-id"),c=d.parent().find('input[name="edd-cart-download-'+o+'-options"]').val(),l=e("#edd_cc_address"),i={action:"edd_update_quantity",quantity:n,download_id:r,options:c,billing_country:l.find("#billing_country").val(),card_state:l.find("#card_state").val(),current_page:edd_global_vars.current_page};return e.ajax({type:"POST",data:i,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(a){e(".edd_cart_subtotal_amount").each((function(){e(this).text(a.subtotal)})),e(".edd_cart_tax_amount").each((function(){e(this).text(a.taxes).data("tax",a.taxes_raw).attr("data-tax",a.taxes_raw)})),e(".edd_cart_discount").html(a.discounts),e(".edd_cart_amount").each((function(){e(this).text(a.total).data("subtotal",a.subtotal_raw).attr("data-subtotal",a.subtotal_raw).data("total",a.total_raw).attr("data-total",a.total_raw),t.trigger("edd_quantity_updated",[a])})),e("#edd-purchase-button").val(a.complete_purchase)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})),!1}return{init:function(){t=e(document.body),a=e("#edd_purchase_form"),e(".edd_cart_amount").text(),n=e("#edd_checkout_form_wrap"),t.on("edd_gateway_loaded",(function(e){var t,d,n,o;d=(t=a).find(".card-number"),n=t.find(".card-cvc"),o=t.find(".card-expiry"),d.length&&"function"==typeof d.payment&&(d.payment("formatCardNumber"),n.payment("formatCardCVC"),o.payment("formatCardExpiry"))})),t.on("keyup change",".edd-do-validate .card-number",(function(){var t,a;t=e(this),(a=t).validateCreditCard((function(t){var n=e(".card-type");null==t.card_type?(n.removeClass().addClass("off card-type"),a.removeClass("valid"),a.addClass("error")):(n.removeClass("off"),n.html(Object(d.a)(t.card_type.name)),n.addClass(t.card_type.name),t.length_valid&&t.luhn_valid?(a.addClass("valid"),a.removeClass("error")):(a.removeClass("valid"),a.addClass("error")))}))})),t.on("blur change",".card-name",(function(){var t=e(this);t.validateCreditCard((function(a){null!=a.card_type?(t.removeClass("valid").addClass("error"),e("#edd-purchase-button").attr("disabled","disabled")):(t.removeClass("error").addClass("valid"),e("#edd-purchase-button").removeAttr("disabled"))}))})),t.on("submit","#edd_payment_mode",(function(){if(0==e("#edd-gateway option:selected").val())return alert(edd_global_vars.no_gateway),!1})),t.on("click","#edd_payment_mode_select input",(function(){e("#edd_payment_mode_select label.edd-gateway-option-selected").removeClass("edd-gateway-option-selected"),e("#edd_payment_mode_select input:checked").parent().addClass("edd-gateway-option-selected")})),n.on("click",".edd-apply-discount",o),n.on("keypress","#edd-discount",(function(e){if("13"==e.keyCode)return!1})),n.on("keyup","#edd-discount",(function(e){"13"==e.keyCode&&n.find(".edd-apply-discount").trigger("click")})),t.on("click",".edd_discount_remove",r),t.on("click",".edd_discount_link",(function(t){t.preventDefault(),e(".edd_discount_link").parent().hide(),e("#edd-discount-code-wrap").show().find("#edd-discount").focus()})),t.find("#edd-discount-code-wrap").hide(),t.find("#edd_show_discount").show(),t.on("change",".edd-item-quantity",c),t.on("click",".edd-amazon-logout #Logout",(function(e){e.preventDefault(),amazon.Login.logout(),window.location=edd_amazon.checkoutUri}))},recalculate_taxes:d.b}}(window.jQuery),window.jQuery(document).ready(EDD_Checkout.init)},348:function(e,t,a){"use strict";(function(e){var t=a(12);Object(t.a)((function(){e(document.body).on("click",".edd_terms_links",(function(t){t.preventDefault();var a=e(this).parent();a.prev(".edd-terms").slideToggle(),a.find(".edd_terms_links").toggle()}))}))}).call(this,a(1))},36:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return o}));var d=function(e){var t,a=e;switch(e){case"amex":a="americanexpress",t=32;break;default:t=50}return"\n \n \n \n ')},n=0;function o(t){if("1"==edd_global_vars.taxes_enabled){var a=document.getElementById("edd_checkout_cart");if(a){var d=a.getElementsByClassName("edd_cart_tax");if(d.length>0&&!d[0].querySelector(".edd-recalculate-taxes-loading")){d=d[0];for(var o=document.createElement("span"),r=d.getElementsByClassName("edd_cart_tax_amount"),c=0;c'+a.msg+""),e("#edd-discount-error-wrap").show(),t.trigger("edd_discount_invalid",[a])):(window.console&&window.console.log&&console.log(a),t.trigger("edd_discount_failed",[a])),r.hide()}}).fail((function(e){window.console&&window.console.log&&console.log(e)})),!1}function r(a){var n={action:"edd_remove_discount",code:e(this).data("code"),current_page:edd_global_vars.current_page};return e.ajax({type:"POST",data:n,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(a){var n="0"+edd_global_vars.decimal_separator+"00";e(".edd_cart_amount").each((function(){edd_global_vars.currency_sign+n!=e(this).text()&&n+edd_global_vars.currency_sign!=e(this).text()||window.location.reload(),e(this).text(a.total).data("subtotal",a.subtotal_raw).attr("data-subtotal",a.subtotal_raw).data("total",a.total_plain).attr("data-total",a.total_plain)})),e(".edd_cart_discount").html(a.html),a.discounts&&0===a.discounts.length&&e(".edd_cart_discount_row").hide(),Object(d.b)(),e("#edd_cc_fields,#edd_cc_address").slideDown(),e("#edd-purchase-button").val(a.complete_purchase),t.trigger("edd_discount_removed",[a])}}).fail((function(e){window.console&&window.console.log&&console.log(e)})),!1}function c(a){var d=e(this),n=d.val(),o=d.data("key"),r=d.closest(".edd_cart_item").data("download-id"),c=d.parent().find('input[name="edd-cart-download-'+o+'-options"]').val(),l=e("#edd_cc_address"),i={action:"edd_update_quantity",quantity:n,download_id:r,options:c,billing_country:l.find("#billing_country").val(),card_state:l.find("#card_state").val(),current_page:edd_global_vars.current_page};return e.ajax({type:"POST",data:i,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(a){e(".edd_cart_subtotal_amount").each((function(){e(this).text(a.subtotal)})),e(".edd_cart_tax_amount").each((function(){e(this).text(a.taxes).data("tax",a.taxes_raw).attr("data-tax",a.taxes_raw)})),e(".edd_cart_discount").html(a.discounts),e(".edd_cart_amount").each((function(){e(this).text(a.total).data("subtotal",a.subtotal_raw).attr("data-subtotal",a.subtotal_raw).data("total",a.total_raw).attr("data-total",a.total_raw),t.trigger("edd_quantity_updated",[a])})),e("#edd-purchase-button").val(a.complete_purchase)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})),!1}return{init:function(){t=e(document.body),a=e("#edd_purchase_form"),e(".edd_cart_amount").text(),n=e("#edd_checkout_form_wrap"),t.on("edd_gateway_loaded",(function(e){var t,d,n,o;d=(t=a).find(".card-number"),n=t.find(".card-cvc"),o=t.find(".card-expiry"),d.length&&"function"==typeof d.payment&&(d.payment("formatCardNumber"),n.payment("formatCardCVC"),o.payment("formatCardExpiry"))})),t.on("keyup change",".edd-do-validate .card-number",(function(){var t,a;t=e(this),(a=t).validateCreditCard((function(t){var n=e(".card-type");null==t.card_type?(n.removeClass().addClass("off card-type"),a.removeClass("valid"),a.addClass("error")):(n.removeClass("off"),n.html(Object(d.a)(t.card_type.name)),n.addClass(t.card_type.name),t.length_valid&&t.luhn_valid?(a.addClass("valid"),a.removeClass("error")):(a.removeClass("valid"),a.addClass("error")))}))})),t.on("blur change",".card-name",(function(){var t=e(this);t.validateCreditCard((function(a){null!=a.card_type?(t.removeClass("valid").addClass("error"),e("#edd-purchase-button").attr("disabled","disabled")):(t.removeClass("error").addClass("valid"),e("#edd-purchase-button").removeAttr("disabled"))}))})),t.on("submit","#edd_payment_mode",(function(){if(0==e("#edd-gateway option:selected").val())return alert(edd_global_vars.no_gateway),!1})),t.on("click","#edd_payment_mode_select input",(function(){e("#edd_payment_mode_select label.edd-gateway-option-selected").removeClass("edd-gateway-option-selected"),e("#edd_payment_mode_select input:checked").parent().addClass("edd-gateway-option-selected")})),n.on("click",".edd-apply-discount",o),n.on("keypress","#edd-discount",(function(e){if("13"==e.keyCode)return!1})),n.on("keyup","#edd-discount",(function(e){"13"==e.keyCode&&n.find(".edd-apply-discount").trigger("click")})),t.on("click",".edd_discount_remove",r),t.on("click",".edd_discount_link",(function(t){t.preventDefault(),e(".edd_discount_link").parent().hide(),e("#edd-discount-code-wrap").show().find("#edd-discount").focus()})),t.find("#edd-discount-code-wrap").hide(),t.find("#edd_show_discount").show(),t.on("change",".edd-item-quantity",c),t.on("click",".edd-amazon-logout #Logout",(function(e){e.preventDefault(),amazon.Login.logout(),window.location=edd_amazon.checkoutUri}))},recalculate_taxes:d.b}}(window.jQuery),window.jQuery(document).ready(EDD_Checkout.init)},358:function(e,t,a){"use strict";(function(e){var t=a(12);Object(t.a)((function(){e(document.body).on("click",".edd_terms_links",(function(t){t.preventDefault();var a=e(this).parent();a.prev(".edd-terms").slideToggle(),a.find(".edd_terms_links").toggle()}))}))}).call(this,a(0))},36:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return o}));var d=function(e){var t,a=e;switch(e){case"amex":a="americanexpress",t=32;break;default:t=50}return"\n \n \n \n ')},n=0;function o(t){if("1"==edd_global_vars.taxes_enabled){var a=document.getElementById("edd_checkout_cart");if(a){var d=a.getElementsByClassName("edd_cart_tax");if(d.length>0&&!d[0].querySelector(".edd-recalculate-taxes-loading")){d=d[0];for(var o=document.createElement("span"),r=d.getElementsByClassName("edd_cart_tax_amount"),c=0;c0)&&window.location.reload()},setErrorHtml:function(t,n,a){if("checkout"===n&&"undefined"!=typeof edd_global_vars&&edd_global_vars.checkout_error_anchor)(r=document.getElementById("edd-paypal-errors-wrap"))&&(r.innerHTML=a);else if("buy_now"===n){var r,o=t.closest(".edd_download_purchase_form");(r=!!o&&o.querySelector(".edd-paypal-checkout-buy-now-error-wrapper"))&&(r.innerHTML=a)}e(document.body).trigger("edd_checkout_error",[a])},initButtons:function(e,t){a.isMounted=!0,paypal.Buttons(a.getButtonArgs(e,t)).render(e),document.dispatchEvent(new CustomEvent("edd_paypal_buttons_mounted"))},getButtonArgs:function(t,n){var r="checkout"===n?document.getElementById("edd_purchase_form"):t.closest(".edd_download_purchase_form"),o="checkout"===n?r.querySelector("#edd-paypal-errors-wrap"):r.querySelector(".edd-paypal-checkout-buy-now-error-wrapper"),d="checkout"===n?document.getElementById("edd-paypal-spinner"):r.querySelector(".edd-paypal-spinner"),c=r.querySelector('input[name="edd_process_paypal_nonce"]'),i=r.querySelector('input[name="edd-process-paypal-token"]'),u="subscription"===eddPayPalVars.intent?"createSubscription":"createOrder",s=r.querySelectorAll("[required]"),l={onInit:function(e,t){t.disable(),r.checkValidity()&&t.enable(),s.forEach((function(e){e.addEventListener("change",(function(e){r.checkValidity()?t.enable():t.disable()}))}))},onClick:function(e,t){return!!r.reportValidity()&&(d.style.display="block",o&&(o.innerHTML=""),fetch(edd_scripts.ajaxurl,{method:"POST",body:new FormData(r)}).then((function(e){return e.json()})).then((function(e){if(!e.success){var t=eddPayPalVars.defaultError;return e.data&&"string"==typeof e.data?t=e.data:"string"==typeof e&&(t=e),d.style.display="none",a.setErrorHtml(o,n,t),!1}})))},onApprove:function(e,r){var o=new FormData;return o.append("action",eddPayPalVars.approvalAction),o.append("edd_process_paypal_nonce",c.value),o.append("token",i.getAttribute("data-token")),o.append("timestamp",i.getAttribute("data-timestamp")),e.orderID&&o.append("paypal_order_id",e.orderID),e.subscriptionID&&o.append("paypal_subscription_id",e.subscriptionID),fetch(edd_scripts.ajaxurl,{method:"POST",body:o}).then((function(e){return e.json()})).then((function(e){if(e.success&&e.data.redirect_url)window.location=e.data.redirect_url;else{d.style.display="none";var o=e.data.message?e.data.message:eddPayPalVars.defaultError;if(a.setErrorHtml(t,n,o),e.data.retry)return r.restart()}}))},onError:function(e){d.style.display="none",a.setErrorHtml(t,n,e)},onCancel:function(e){d.style.display="none";var t=new FormData;return t.append("action","edd_cancel_paypal_order"),fetch(edd_scripts.ajaxurl,{method:"POST",body:t}).then((function(e){return e.json()})).then((function(e){if(e.success){var t=e.data.nonces;Object.keys(t).forEach((function(e){var n=document.getElementById("edd-gateway-"+e);n&&n.setAttribute("data-"+e+"-nonce",t[e])}))}}))}};return eddPayPalVars.style&&(l.style=eddPayPalVars.style),l[u]=function(t,n){return d.style.display="block",o&&(o.innerHTML=""),fetch(edd_scripts.ajaxurl,{method:"POST",body:new FormData(r)}).then((function(e){return e.json()})).then((function(t){if(t.data&&t.data.paypal_order_id)return t.data.nonce&&(c.value=t.data.nonce),t.data.token&&(e(i).attr("data-token",t.data.token),e(i).attr("data-timestamp",t.data.timestamp)),t.data.paypal_order_id;var n=eddPayPalVars.defaultError;return t.data&&"string"==typeof t.data?n=t.data:"string"==typeof t&&(n=t),new Promise((function(e,t){t(n)}))}))},l}};function r(){for(var e=document.querySelectorAll(".edd-paypal-checkout-buy-now"),t=0;t0)&&window.location.reload()},setErrorHtml:function(t,n,a){if("checkout"===n&&"undefined"!=typeof edd_global_vars&&edd_global_vars.checkout_error_anchor)(r=document.getElementById("edd-paypal-errors-wrap"))&&(r.innerHTML=a);else if("buy_now"===n){var r,o=t.closest(".edd_download_purchase_form");(r=!!o&&o.querySelector(".edd-paypal-checkout-buy-now-error-wrapper"))&&(r.innerHTML=a)}e(document.body).trigger("edd_checkout_error",[a])},initButtons:function(e,t){a.isMounted=!0,paypal.Buttons(a.getButtonArgs(e,t)).render(e),document.dispatchEvent(new CustomEvent("edd_paypal_buttons_mounted"))},getButtonArgs:function(t,n){var r="checkout"===n?document.getElementById("edd_purchase_form"):t.closest(".edd_download_purchase_form"),o="checkout"===n?r.querySelector("#edd-paypal-errors-wrap"):r.querySelector(".edd-paypal-checkout-buy-now-error-wrapper"),d="checkout"===n?document.getElementById("edd-paypal-spinner"):r.querySelector(".edd-paypal-spinner"),c=r.querySelector('input[name="edd_process_paypal_nonce"]'),i=r.querySelector('input[name="edd-process-paypal-token"]'),u="subscription"===eddPayPalVars.intent?"createSubscription":"createOrder",s=r.querySelectorAll("[required]"),l={onInit:function(e,t){t.disable(),r.checkValidity()&&t.enable(),s.forEach((function(e){e.addEventListener("change",(function(e){r.checkValidity()?t.enable():t.disable()}))}))},onClick:function(e,t){return!!r.reportValidity()&&(d.style.display="block",o&&(o.innerHTML=""),fetch(edd_scripts.ajaxurl,{method:"POST",body:new FormData(r)}).then((function(e){return e.json()})).then((function(e){if(!e.success){var t=eddPayPalVars.defaultError;return e.data&&"string"==typeof e.data?t=e.data:"string"==typeof e&&(t=e),d.style.display="none",a.setErrorHtml(o,n,t),!1}})))},onApprove:function(e,r){var o=new FormData;return o.append("action",eddPayPalVars.approvalAction),o.append("edd_process_paypal_nonce",c.value),o.append("token",i.getAttribute("data-token")),o.append("timestamp",i.getAttribute("data-timestamp")),e.orderID&&o.append("paypal_order_id",e.orderID),e.subscriptionID&&o.append("paypal_subscription_id",e.subscriptionID),fetch(edd_scripts.ajaxurl,{method:"POST",body:o}).then((function(e){return e.json()})).then((function(e){if(e.success&&e.data.redirect_url)window.location=e.data.redirect_url;else{d.style.display="none";var o=e.data.message?e.data.message:eddPayPalVars.defaultError;if(a.setErrorHtml(t,n,o),e.data.retry)return r.restart()}}))},onError:function(e){d.style.display="none",a.setErrorHtml(t,n,e)},onCancel:function(e){d.style.display="none";var t=new FormData;return t.append("action","edd_cancel_paypal_order"),fetch(edd_scripts.ajaxurl,{method:"POST",body:t}).then((function(e){return e.json()})).then((function(e){if(e.success){var t=e.data.nonces;Object.keys(t).forEach((function(e){var n=document.getElementById("edd-gateway-"+e);n&&n.setAttribute("data-"+e+"-nonce",t[e])}))}}))}};return eddPayPalVars.style&&(l.style=eddPayPalVars.style),l[u]=function(t,n){return d.style.display="block",o&&(o.innerHTML=""),fetch(edd_scripts.ajaxurl,{method:"POST",body:new FormData(r)}).then((function(e){return e.json()})).then((function(t){if(t.data&&t.data.paypal_order_id)return t.data.nonce&&(c.value=t.data.nonce),t.data.token&&(e(i).attr("data-token",t.data.token),e(i).attr("data-timestamp",t.data.timestamp)),t.data.paypal_order_id;var n=eddPayPalVars.defaultError;return t.data&&"string"==typeof t.data?n=t.data:"string"==typeof t&&(n=t),new Promise((function(e,t){t(n)}))}))},l}};function r(){for(var e=document.querySelectorAll(".edd-paypal-checkout-buy-now"),t=0;t1&&void 0!==arguments[1]?arguments[1]:"error",n=document.createElement("p");return n.classList.add("edd-alert"),n.classList.add("edd-stripe-alert"),n.style.clear="both","error"===t?n.classList.add("edd-alert-error"):n.classList.add("edd-alert-success"),n.innerHTML=e||edd_stripe_vars.generic_error,n}function o(t){var n=t.errorType,o=t.errorMessage,i=t.errorContainer,c=t.errorContainerReplace,u=void 0===c||c,s=e(i),d=r(o,n);!0===u?s.html(d):s.before(d)}function i(t){e(t).html("")}n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}))}).call(this,n(1))},32:function(e,t){var n=/^(?:0|[1-9]\d*)$/;function r(e,t){for(var n=-1,r=e?e.length:0;++n-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?s.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function b(e){return g(e)?function(e,t){var n=y(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&g(e)}(e)&&u.call(e,"callee")&&(!d.call(e,"callee")||"[object Arguments]"==s.call(e))}(e)?function(e,t){for(var n=-1,r=Array(e);++n')},showNotice:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error";e&&"object"===i()(e)&&(e.className="notice notice-"+t)},hideNotice:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&"object"===i()(e)&&(e.className="edd-hidden")}}}.call(this,n(1))},370:function(e,t,n){"use strict";var r=n(2);Object(r.d)((function(){document.querySelector(".edds-requirements-not-met")&&(document.querySelector(".edd-settings-wrap .submit").style.display="none")})),Object(r.d)((function(){var e=document.getElementById("edds-payment-gateways-stripe-unmet-requirements");if(e){var t=document.querySelector('label[for="edd_settings[gateways][stripe]"]');t.parentNode.insertBefore(e,t.nextSibling);var n=document.getElementById("edd_settings[gateways][stripe]");n.disabled=!0,n.checked=!1,e.insertBefore(n,e.querySelector("p")),e.insertBefore(t,e.querySelector("p"))}}));var o=n(3),i=n.n(o);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}Object(r.d)((function(){var e=document.getElementById("edds-stripe-connect-account"),t=document.getElementById("edds-stripe-disconnect-reconnect");if(e&&!e.hasAttribute("data-onboarding-wizard"))return Object(r.a)("edds_stripe_connect_account_info",function(e){for(var t=1;tthis.length)&&-1!==this.indexOf(e,t)})},46:function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},47:function(e,t){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r})},48:function(e,t){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},9:function(e,t,n){var r=n(4).default,o=n(13);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=354)}({0:function(e,t){e.exports=jQuery},13:function(e,t,n){var r=n(4).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},15:function(e,t,n){"use strict";function r(e){return null===e?window.eddStripe:!e in window.eddStripe?"":window.eddStripe[e]}function o(e,t,n){if(window.eddStripe[e]=t,n)return window.eddStripe[e]}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}))},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r.a})),n.d(t,"f",(function(){return o.b})),n.d(t,"d",(function(){return o.a})),n.d(t,"h",(function(){return o.c})),n.d(t,"g",(function(){return i.b})),n.d(t,"j",(function(){return i.c})),n.d(t,"b",(function(){return i.a})),n.d(t,"i",(function(){return c})),n.d(t,"k",(function(){return u})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return d})),n(45),n(46),n(47),n(48);var r=n(30),o=n(23),i=n(31);function c(e){var t=!0;return Object(o.b)(e.querySelectorAll("input"),(function(e){e.checkValidity&&!e.checkValidity()&&(t=!1)})),t}function u(e){var t=document.createElement("input");t.type="submit",t.style.display="none",e.appendChild(t),t.click(),t.remove()}function s(e){return e?""===e.value?null:e.value:null}function d(e,t){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(e.length+5),"\n",e,"\n","*".repeat(e.length+5),"\n",JSON.stringify(t,null,4))}n(15)},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n(2),o=n(32),i=n.n(o);function c(){Object(r.f)(arguments,(function(e){document.addEventListener("DOMContentLoaded",e)}))}function u(e){for(var t=[],n=e.nextElementSibling;n;)1===n.nodeType&&t.push(n),n=n.nextElementSibling;return t}n.d(t,"b",(function(){return i.a}))},3:function(e,t,n){var r=n(9);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(4),o=n.n(r),i=n(3),c=n.n(i);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"error",n=document.createElement("p");return n.classList.add("edd-alert"),n.classList.add("edd-stripe-alert"),n.style.clear="both","error"===t?n.classList.add("edd-alert-error"):n.classList.add("edd-alert-success"),n.innerHTML=e||edd_stripe_vars.generic_error,n}function o(t){var n=t.errorType,o=t.errorMessage,i=t.errorContainer,c=t.errorContainerReplace,u=void 0===c||c,s=e(i),d=r(o,n);!0===u?s.html(d):s.before(d)}function i(t){e(t).html("")}n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}))}).call(this,n(0))},32:function(e,t){var n=/^(?:0|[1-9]\d*)$/;function r(e,t){for(var n=-1,r=e?e.length:0;++n-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?s.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function b(e){return g(e)?function(e,t){var n=y(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&g(e)}(e)&&u.call(e,"callee")&&(!d.call(e,"callee")||"[object Arguments]"==s.call(e))}(e)?function(e,t){for(var n=-1,r=Array(e);++n')},showNotice:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error";e&&"object"===i()(e)&&(e.className="notice inline notice-"+t)},hideNotice:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&"object"===i()(e)&&(e.className="edd-hidden")}}}.call(this,n(0))},382:function(e,t,n){"use strict";var r=n(2);Object(r.d)((function(){document.querySelector(".edds-requirements-not-met")&&(document.querySelector(".edd-settings-wrap .submit").style.display="none")})),Object(r.d)((function(){var e=document.getElementById("edds-payment-gateways-stripe-unmet-requirements");if(e){var t=document.querySelector('label[for="edd_settings[gateways][stripe]"]');t.parentNode.insertBefore(e,t.nextSibling);var n=document.getElementById("edd_settings[gateways][stripe]");n.disabled=!0,n.checked=!1,e.insertBefore(n,e.querySelector("p")),e.insertBefore(t,e.querySelector("p"))}}));var o=n(3),i=n.n(o);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}Object(r.d)((function(){var e=document.getElementById("edds-stripe-connect-account"),t=document.getElementById("edds-stripe-disconnect-reconnect");if(e&&!e.hasAttribute("data-onboarding-wizard"))return Object(r.a)("edds_stripe_connect_account_info",function(e){for(var t=1;tthis.length)&&-1!==this.indexOf(e,t)})},46:function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},47:function(e,t){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r})},48:function(e,t){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},9:function(e,t,n){var r=n(4).default,o=n(13);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}); \ No newline at end of file diff --git a/assets/js/stripe-cardelements.js b/assets/js/stripe-cardelements.js index 9fe2364774e..b4b644c3541 100644 --- a/assets/js/stripe-cardelements.js +++ b/assets/js/stripe-cardelements.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=350)}([,function(e,t){e.exports=jQuery},function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"f",(function(){return o.b})),r.d(t,"d",(function(){return o.a})),r.d(t,"h",(function(){return o.c})),r.d(t,"g",(function(){return i.b})),r.d(t,"j",(function(){return i.c})),r.d(t,"b",(function(){return i.a})),r.d(t,"i",(function(){return a})),r.d(t,"k",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"c",(function(){return s})),r(45),r(46),r(47),r(48);var n=r(30),o=r(23),i=r(31);function a(e){var t=!0;return Object(o.b)(e.querySelectorAll("input"),(function(e){e.checkValidity&&!e.checkValidity()&&(t=!1)})),t}function c(e){var t=document.createElement("input");t.type="submit",t.style.display="none",e.appendChild(t),t.click(),t.remove()}function u(e){return e?""===e.value?null:e.value:null}function s(e,t){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(e.length+5),"\n",e,"\n","*".repeat(e.length+5),"\n",JSON.stringify(t,null,4))}r(15)},function(e,t,r){var n=r(9);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(67)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,"next",e)}function u(e){r(a,o,i,c,u,"throw",e)}c(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(49),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,r){"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},function(e,t,r){var n=r(4).default,o=r(13);e.exports=function(e){var t=o(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";(function(t){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r(71))},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,r){var n=r(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){"use strict";function n(e){return null===e?window.eddStripe:!e in window.eddStripe?"":window.eddStripe[e]}function o(e,t,r){if(window.eddStripe[e]=t,r)return window.eddStripe[e]}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}))},,,function(e,t,r){"use strict";var n=r(49),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t,r){"use strict";var n=r(7),o=r(59),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},,function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return l})),r.d(t,"d",(function(){return f})),r.d(t,"c",(function(){return p})),r.d(t,"b",(function(){return m}));var o=r(3),i=r.n(o),a=r(2);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u={card:"#edd-stripe-card-element"},s={cardNumber:"#edd-stripe-card-element",cardExpiry:"#edd-stripe-card-exp-element",cardCvc:"#edd-stripe-card-cvc-element"},d=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"#edd-stripe-card-element",r=l(e,{card:t}),n=document.getElementById("edd-card-details-wrap");return n&&(n.style.display="none"),r}function p(e,t){var r=n('input[name="edd_stripe_existing_card"]:checked');return r.length>0&&"new"!==r.val()?Promise.resolve({id:r.val(),exists:!0}):window.eddStripe.createPaymentMethod("card",t,{billing_details:m(e)}).then((function(e){if(e.error)throw e.error;return{id:e.paymentMethod.id,exists:!1}}))}function m(e){return{name:Object(a.e)(e.querySelector(".card-name")),address:{line1:Object(a.e)(e.querySelector(".card-address")),line2:Object(a.e)(e.querySelector(".card-address-2")),city:Object(a.e)(e.querySelector(".card-city")),state:Object(a.e)(e.querySelector(".card_state")),postal_code:Object(a.e)(e.querySelector(".card-zip")),country:Object(a.e)(e.querySelector("#billing_country"))}}}}).call(this,r(1),r(1))},function(e,t,r){"use strict";var n=r(10),o=r(85),i=r(19),a=r(86),c=r(83),u=r(82),s=n.Symbol,d=o("wks"),l=u?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(d,e)||(d[e]=c&&i(s,e)?s[e]:l("Symbol."+e)),d[e]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return c}));var n=r(2),o=r(32),i=r.n(o);function a(){Object(n.f)(arguments,(function(e){document.addEventListener("DOMContentLoaded",e)}))}function c(e){for(var t=[],r=e.nextElementSibling;r;)1===r.nodeType&&t.push(r),r=r.nextElementSibling;return t}r.d(t,"b",(function(){return i.a}))},,function(e,t,r){"use strict";r.d(t,"d",(function(){return n.d})),r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a})),r.d(t,"h",(function(){return w})),r.d(t,"g",(function(){return T})),r.d(t,"c",(function(){return A.a})),r.d(t,"f",(function(){return D.c})),r.d(t,"e",(function(){return D.b}));var n=r(64),o=r(3),i=r.n(o),a=r(2);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},n=document.getElementById("edd-process-stripe-token-"+t);return r.timestamp=n?n.dataset.timestamp:"",r.token=n?n.dataset.token:"",Object(a.a)(e,u({payment_method:t,nonce:document.getElementById("card_update_nonce_"+t).value},r)).fail((function(e){m(t,e)})).done((function(e){m(t,e,"success"),setTimeout((function(){location.reload()}),1500)}))}function d(e){e.preventDefault();var t=e.target.dataset.source,r=document.getElementById(t+"-update-form"),n=document.getElementById(t+"-card-actions"),o="block"===r.style.display;r.style.display=o?"none":"block",n.style.display=o?"block":"none"}function l(e){e.preventDefault();var t=e.target,r={};["address_city","address_country","address_line1","address_line2","address_zip","address_state","exp_month","exp_year"].forEach((function(e){var n=t.querySelector('[name="'+e+'"]');r[e]=Object(a.e)(n)}));var n=t.querySelector('input[type="submit"]');n.disabled=!0,n.value=n.dataset.loading,s("edds_update_payment_method",e.target.dataset.source,r).fail((function(e){n.disabled=!1,n.value=n.dataset.submit}))}function f(e){e.preventDefault();var t=e.target.innerText;e.target.innerHTML='',s("edds_delete_payment_method",e.target.dataset.source).fail((function(r){e.target.innerText=t}))}function p(e){e.preventDefault();var t=e.target.innerText;e.target.innerHTML='',s("edds_set_payment_method_default",e.target.dataset.source).fail((function(r){e.target.innerText=t}))}function m(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"error",n=Object(a.g)(t&&t.message?t.message:edd_stripe_vars.generic_error,r);Object(a.f)(document.querySelectorAll(".edd-stripe-alert"),(function(e){e.remove()}));var o=document.getElementById(e+"_card_item");o.insertBefore(n,o.querySelector(".card-details"))}var y=r(21);function v(e){e.preventDefault();var t=document.getElementById("edd-stripe-add-new-card"),r=t.querySelector(".edd-stripe-add-new-card"),n="block"===r.style.display,o=t.querySelector("#edd-stripe-add-new-cancel");if(n&&o!==e.target){var i=document.createEvent("Event");i.initEvent("submit",!0,!0),t.dispatchEvent(i)}else r.style.display=n?"none":"block",o.style.display=n?"none":"inline-block"}function h(e){e.preventDefault();var t,r,n=e.target;if(Object(a.i)(n))try{(r=document.querySelector(".edd-stripe-add-new")).value=r.dataset.loading,r.disabled=!0,(t=n,window.eddStripe.createPaymentMethod("card",window.eddStripe.cardElement,{billing_details:Object(y.b)(t)}).then((function(e){if(e.error)throw e.error;return e.paymentMethod}))).then(b).catch((function(e){_(e),g()}))}catch(e){_(e),g()}else Object(a.k)(n)}function b(e){var t=document.getElementById("#edd-process-stripe-token");Object(a.a)("edds_add_payment_method",{payment_method_id:e.id,nonce:document.getElementById("edd-stripe-add-card-nonce").value,timestamp:t?t.dataset.timestamp:"",token:t?t.dataset.token:""}).fail(_).done((function(e){_(e,"success"),setTimeout((function(){location.reload()}),1500)}))}function g(){var e=document.querySelector(".edd-stripe-add-new");e.value=e.dataset.submit,e.disabled=!1}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error",r=Object(a.g)(e&&e.message?e.message:edd_stripe_vars.generic_error,t);Object(a.f)(document.querySelectorAll(".edd-stripe-alert"),(function(e){e.remove()})),document.querySelector(".edd-stripe-add-card-actions").insertBefore(r,document.querySelector(".edd-stripe-add-new"))}function w(){document.getElementById("edd-stripe-manage-cards")&&(Object(a.f)(document.querySelectorAll(".edd-stripe-update-card"),(function(e){e.addEventListener("click",d)})),Object(a.f)(document.querySelectorAll(".edd-stripe-cancel-update"),(function(e){e.addEventListener("click",d)})),Object(a.f)(document.querySelectorAll(".card-update-form"),(function(e){e.addEventListener("submit",l)})),Object(a.f)(document.querySelectorAll(".edd-stripe-delete-card"),(function(e){e.addEventListener("click",f)})),Object(a.f)(document.querySelectorAll(".edd-stripe-default-card"),(function(e){e.addEventListener("click",p)})),Object(y.a)(window.eddStripe.elements()),document.querySelector(".edd-stripe-add-new").addEventListener("click",v),document.getElementById("edd-stripe-add-new-cancel").addEventListener("click",v),document.getElementById("edd-stripe-add-new-card").addEventListener("submit",h),document.getElementById("card_name").required=!0)}var O=r(42),j=r(6),x=r.n(j),S=r(5),k=r.n(S),E=r(27);function P(e){return q.apply(this,arguments)}function q(){return(q=x()(k.a.mark((function e(t){var r,n,o,i,a;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=document.getElementById("edds-update-payment-method"),M(),e.prev=3,e.next=6,Object(y.c)(r,window.eddStripe.cardElement);case 6:return n=e.sent,e.next=9,Object(E.d)(r.dataset.paymentIntent,"payment_method");case 9:return o=e.sent,e.next=12,Object(E.c)(o,{payment_method:n.id});case 12:return i=e.sent,e.next=15,L(i.id);case 15:if(!(a=e.sent).payment){e.next=20;break}window.location.reload(),e.next=21;break;case 20:throw a;case 21:e.next=27;break;case 23:e.prev=23,e.t0=e.catch(3),C(e.t0),I();case 27:case"end":return e.stop()}}),e,null,[[3,23]])})))).apply(this,arguments)}function L(e){return Object(a.a)("edds_complete_payment_authorization",{intent_id:e,"edds-complete-payment-authorization":document.getElementById("edds-complete-payment-authorization").value})}function M(){var e=document.getElementById("edds-update-payment-method-submit");e.value=e.dataset.loading,e.disabled=!0}function I(){var e=document.getElementById("edds-update-payment-method-submit");e.value=e.dataset.submit,e.disabled=!1}function C(e){var t=Object(a.g)(e&&e.message?e.message:edd_stripe_vars.generic_error,"error"),r=document.getElementById("edds-update-payment-method-errors");r.innerHTML="",r.appendChild(t)}function T(){document.getElementById("edds-update-payment-method")&&(Object(y.a)(window.eddStripe.elements()),document.getElementById("edds-update-payment-method").addEventListener("submit",P),Object(O.a)())}var A=r(280),D=r(60)},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"payment_intent",n=e(window.eddStripe.cardElement._parent).closest("form"),o=e("#edd-process-stripe-token");return Object(s.a)("edds_get_intent",{intent_id:t,intent_type:r,timestamp:o.length?o.data("timestamp"):"",token:o.length?o.data("token"):"",form_data:n.serialize(),elements_mode:"card-elements"}).then((function(e){return e.intent}))}function p(t){var r=e(window.eddStripe.cardElement._parent).closest("form"),n=e("#edd-process-stripe-token");return Object(s.a)("edds_confirm_intent",{intent_id:t.id,intent_type:t.object,timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):"",form_data:r.serialize(),elements_mode:"card-elements"}).then((function(e){return e.intent}))}function m(t,r,n){var o=e(window.eddStripe.cardElement._parent).closest("form");if("requires_capture"!==t.status)return Promise.resolve(t);var i=o.serialize(),a=e("#edd-process-stripe-token");return n&&(i+="&edd-process-checkout-nonce=".concat(n)),Object(s.a)("edds_capture_intent",l({intent_id:t.id,intent_type:t.object,form_data:i,timestamp:a.length?a.data("timestamp"):"",token:a.length?a.data("token"):"",elements_mode:"card-elements"},r)).then((function(e){return e.intent}))}function y(t,r){var n=e(window.eddStripe.cardElement._parent).closest("form"),o=e("#edd-process-stripe-token");return Object(s.a)("edds_update_intent",l({intent_id:t.id,intent_type:t.object,timestamp:o.length?o.data("timestamp"):"",token:o.length?o.data("token"):"",form_data:n.serialize(),elements_mode:"card-elements"},r)).then((function(e){return e.intent}))}function v(e,t){return h.apply(this,arguments)}function h(){return(h=o()(u.a.mark((function e(t,r){var n,i,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("requires_confirmation"!==t.status){e.next=7;break}return e.next=3,p(t);case 3:return n=e.sent,e.next=6,v(n);case 6:return e.abrupt("return",e.sent);case 7:if("requires_payment_method"!==t.status&&"requires_source"!==t.status){e.next=14;break}return e.next=10,y(t,r);case 10:return i=e.sent,e.next=13,v(i,r);case 13:return e.abrupt("return",e.sent);case 14:if(!("requires_action"===t.status&&"use_stripe_sdk"===t.next_action.type||"requires_source_action"===t.status&&"use_stripe_sdk"===t.next_action.type)){e.next=18;break}return a="setup_intent"===t.object?"handleCardSetup":"handleCardAction","automatic"===t.confirmation_method&&(a="handleCardPayment"),e.abrupt("return",window.eddStripe[a](t.client_secret).then(function(){var e=o()(u.a.mark((function e(t){var r,n;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.error){e.next=2;break}throw t.error;case 2:return r=t.setupIntent,n=t.paymentIntent,e.next=5,v(r||n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 18:return e.abrupt("return",t);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}}).call(this,r(1))},,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(4),o=r.n(n),i=r(3),a=r.n(i);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"error",r=document.createElement("p");return r.classList.add("edd-alert"),r.classList.add("edd-stripe-alert"),r.style.clear="both","error"===t?r.classList.add("edd-alert-error"):r.classList.add("edd-alert-success"),r.innerHTML=e||edd_stripe_vars.generic_error,r}function o(t){var r=t.errorType,o=t.errorMessage,i=t.errorContainer,a=t.errorContainerReplace,c=void 0===a||a,u=e(i),s=n(o,r);!0===c?u.html(s):u.before(s)}function i(t){e(t).html("")}r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return i}))}).call(this,r(1))},function(e,t){var r=/^(?:0|[1-9]\d*)$/;function n(e,t){for(var r=-1,n=e?e.length:0;++r-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function h(e){return v(e)?function(e,t){var r=y(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&v(e)}(e)&&c.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==u.call(e))}(e)?function(e,t){for(var r=-1,n=Array(e);++rthis.length)&&-1!==this.indexOf(e,t)})},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),r=t.length,n=new Array(r);r--;)n[r]=[t[r],e[t[r]]];return n})},function(e,t){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(78),o=r(79);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";var n=r(7),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,r){"use strict";e.exports=function(e){return null==e}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},function(e,t,r){"use strict";var n=r(56),o=r(53);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},function(e,t,r){"use strict";var n=r(8),o=r(84),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},function(e,t,r){"use strict";var n=r(114),o=r(10),i=r(58),a=e.exports=o["__core-js_shared__"]||i("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.36.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,r){"use strict";var n=r(10),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(79),o=Object;e.exports=function(e){return o(n(e))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(43),o=r.n(n),i=r(281);r.d(t,"c",(function(){return i.a}));var a=r(282);function c(e){for(var t={},r=0,n=Object.entries(e);r=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";(function(e){r.d(t,"d",(function(){return i}));var n=r(42),o=r(101);function i(){if("1"===edd_scripts.is_checkout){var t=document.querySelector('input[name="edd-gateway"]');t&&"stripe"===t.value&&(Object(o.c)(),Object(n.a)()),e(document.body).on("edd_gateway_loaded",(function(e,t){"stripe"===t&&(Object(o.c)(),Object(n.a)())}))}}r.d(t,"a",(function(){return o.a})),r.d(t,"b",(function(){return o.b})),r.d(t,"c",(function(){return o.c}))}).call(this,r(1))},,,function(e,t,r){var n=r(4).default;function o(){"use strict";e.exports=o=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",d=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new I(n||[]);return c(i,"_invoke",{value:P(e,r,a)}),i}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=p;var y="suspendedStart",v="executing",h="completed",b={};function g(){}function _(){}function w(){}var O={};f(O,s,(function(){return this}));var j=Object.getPrototypeOf,x=j&&j(j(C([])));x&&x!==i&&a.call(x,s)&&(O=x);var S=w.prototype=g.prototype=Object.create(O);function k(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,c,u){var s=m(e[o],e,i);if("throw"!==s.type){var d=s.arg,l=d.value;return l&&"object"==n(l)&&a.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,c,u)}),(function(e){r("throw",e,c,u)})):t.resolve(l).then((function(e){d.value=e,c(d)}),(function(e){return r("throw",e,c,u)}))}u(s.arg)}var o;c(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function P(e,r,n){var o=y;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=q(c,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=m(e,r,n);if("normal"===s.type){if(o=n.done?h:"suspendedYield",s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=h,n.method="throw",n.arg=s.arg)}}}function q(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,q(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=m(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;M(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(10),o=r(76).f,i=r(88),a=r(117),c=r(58),u=r(123),s=r(130);e.exports=function(e,t){var r,d,l,f,p,m=e.target,y=e.global,v=e.stat;if(r=y?n:v?n[m]||c(m,{}):n[m]&&n[m].prototype)for(d in t){if(f=t[d],l=e.dontCallGetSet?(p=o(r,d))&&p.value:r[d],!s(y?d:m+(v?".":"#")+d,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;u(f,l)}(e.sham||l&&l.sham)&&i(f,"sham",!0),a(r,d,f,e)}}},function(e,t,r){"use strict";var n=r(14),o=r(18),i=r(77),a=r(50),c=r(51),u=r(80),s=r(19),d=r(87),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=c(e),t=u(t),d)try{return l(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(52),a=Object,c=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):a(e)}:a},function(e,t,r){"use strict";var n=r(53),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(109),o=r(81);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},function(e,t,r){"use strict";var n=r(54),o=r(8),i=r(110),a=r(82),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,c(e))}},function(e,t,r){"use strict";var n=r(83);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){"use strict";var n=r(111),o=r(11),i=r(10).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,r){"use strict";var n=r(57);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},function(e,t,r){"use strict";var n=r(7),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},function(e,t,r){"use strict";var n=r(14),o=r(11),i=r(115);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(57),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(7),o=r(19),i=r(51),a=r(126).indexOf,c=r(90),u=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,d=[];for(r in n)!o(c,r)&&o(n,r)&&u(d,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(d,r)||u(d,r));return d}},function(e,t,r){"use strict";var n=r(128);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},function(e,t,r){"use strict";var n=r(129);e.exports=function(e){return n(e.length)}},function(e,t,r){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(141),o=r(8),i=r(52),a=r(22)("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),a))?r:u?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},function(e,t,r){"use strict";var n=r(97),o=r(55),i=r(53),a=r(96),c=r(22)("iterator");e.exports=function(e){if(!i(e))return o(e,c)||o(e,"@@iterator")||a[n(e)]}},,,function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return d})),r.d(t,"b",(function(){return p})),r.d(t,"a",(function(){return m}));var n=r(6),o=r.n(n),i=r(5),a=r.n(i),c=r(21),u=r(27),s=r(2);function d(){Object(c.a)(window.eddStripe.elements()),e("#edd_purchase_form").off("submit",v),e("#edd_purchase_form").on("submit",v),e(document).off("ajaxSuccess",y),e(document).on("ajaxSuccess",y)}function l(){return(l=o()(a.a.mark((function t(){var r,n,o,i,s,d,l,y,v,g,_;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=e("#edd_purchase_form").serialize(),n=e("#edd-process-stripe-token"),t.next=4,Object(c.c)(document.getElementById("edd_purchase_form"),window.eddStripe.cardElement);case 4:return o=t.sent,t.next=7,f(o.id,o.exists);case 7:return i=t.sent,s=i.intent,d=i.nonce,e("#edd-process-checkout-nonce").val(d),t.next=13,Object(u.c)(s,{form_data:r+="&edd-process-checkout-nonce=".concat(d),timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):""});case 13:return l=t.sent,t.next=16,p(l);case 16:return y=t.sent,v=y.intent,g=y.nonce,t.next=21,Object(u.a)(v,{},g);case 21:if("succeeded"!==(_=t.sent).status&&("canceled"!==_.status||"abandoned"!==_.cancellation_reason)){t.next=28;break}return t.next=25,m(_,g);case 25:window.location.replace(edd_stripe_vars.successPageUri),t.next=29;break;case 28:window.location.replace(edd_stripe_vars.failurePageUri);case 29:t.next=35;break;case 31:t.prev=31,t.t0=t.catch(0),b(t.t0),h();case 35:case"end":return t.stop()}}),t,null,[[0,31]])})))).apply(this,arguments)}function f(t,r){var n=e("#edd-process-stripe-token");return Object(s.a)("edds_process_purchase_form",{form_data:e("#edd_purchase_form").serialize(),payment_method_id:t,payment_method_exists:r,timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):""})}function p(t){var r=e("#edd_purchase_form"),n=e("#edd-process-stripe-token"),o=r.serialize();if(0===r.length){var i=e("#edd-process-checkout-nonce").val();o="edd-process-checkout-nonce=".concat(i)}return Object(s.a)("edds_create_payment",{form_data:o,timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):"",intent:t})}function m(t,r){var n=e("#edd_purchase_form"),o=n.serialize(),i=e("#edd-process-stripe-token");if(0===n.length){var a=e("#edd-process-checkout-nonce").val();o="edd-process-checkout-nonce=".concat(a)}return r&&(o+="&edd-process-checkout-nonce=".concat(r)),Object(s.a)("edds_complete_payment",{form_data:o,intent:t,timestamp:i.length?i.data("timestamp"):"",token:i.length?i.data("token"):""})}function y(e,t,r){if(r&&r.data&&t)return r.data.includes("action=edd_process_checkout")&&r.data.includes("edd-gateway=stripe")&&t.responseText&&"success"===t.responseText.trim()?function(){return l.apply(this,arguments)}():void 0}function v(t){"stripe"===e('input[name="edd-gateway"]').val()&&e(".edd_cart_total .edd_cart_amount").data("total")>0&&(t.preventDefault(),e("#edd_purchase_form #edd_purchase_submit [type=submit]").trigger("click"))}function h(){document.querySelector("#edd_purchase_form #edd_purchase_submit [type=submit]").value=edd_global_vars.complete_purchase,e(".edd-loading-ajax").remove(),e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide(),e("#edd-purchase-button").attr("disabled",!1)}function b(t){var r=t.code,n=t.message,o=window.edd_stripe_vars.elementsOptions.i18n.errorMessages;n||(n=edd_stripe_vars.generic_error);var i=r&&o[r]?o[r]:n,a=Object(s.g)(i);e(".edd-stripe-alert").remove(),e(edd_global_vars.checkout_error_anchor).before(a),e(document.body).trigger("edd_checkout_error",[t]),window.console&&t.responseText&&window.console.error(t.responseText)}}).call(this,r(1))},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(3),o=r.n(n);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&this.registerTriggers.apply(this,i(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t;return(t=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(r),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(c);return Array.apply(void 0,i(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var r=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));r.length>0&&r[0].focus(),0===r.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var r=t.indexOf(document.activeElement);e.shiftKey&&0===r&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&r===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&function(e,t){for(var r=0;r
    ')),!1},l=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''))}(e),!t)return!0;for(var r in t)d(r);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),r=i(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var r=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===r[n]&&(r[n]=[]),r[n].push(e)})),r}(r,t.openTrigger);if(!0!==t.debugMode||!1!==l(r,n))for(var o in n){var a=n[o];t.targetModal=o,t.triggers=i(a),s=new u(t)}},show:function(e,t){var r=t||{};r.targetModal=e,!0===r.debugMode&&!1===d(e)||(s&&s.removeEventListeners(),(s=new u(r)).showModal())},close:function(e){e?s.closeModalById(e):s.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=f);var p=f;function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},function(e,t,r){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,r){"use strict";var n=r(18),o=r(8),i=r(33),a=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&o(r=e.toString)&&!i(c=n(r,e)))return c;if(o(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&o(r=e.toString)&&!i(c=n(r,e)))return c;throw new a("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";var n=r(10),o=r(33),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(14),o=r(11);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,r){"use strict";var n=r(8),o=r(39),i=r(118),a=r(58);e.exports=function(e,t,r,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:t;if(n(r)&&i(r,s,c),c.global)u?e[t]=r:a(t,r);else{try{c.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(19),c=r(14),u=r(119).CONFIGURABLE,s=r(89),d=r(120),l=d.enforce,f=d.get,p=String,m=Object.defineProperty,y=n("".slice),v=n("".replace),h=n([].join),b=c&&!o((function(){return 8!==m((function(){}),"length",{value:8}).length})),g=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===y(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(c?m(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&a(r,"arity")&&e.length!==r.arity&&m(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return a(n,"source")||(n.source=h(g,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return i(this)&&f(this).source||s(this)}),"toString")},function(e,t,r){"use strict";var n=r(14),o=r(19),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},function(e,t,r){"use strict";var n,o,i,a=r(121),c=r(10),u=r(33),s=r(88),d=r(19),l=r(57),f=r(122),p=r(90),m=c.TypeError,y=c.WeakMap;if(a||l.state){var v=l.state||(l.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m("Object already initialized");return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var h=f("state");p[h]=!0,n=function(e,t){if(d(e,h))throw new m("Object already initialized");return t.facade=e,s(e,h,t),t},o=function(e){return d(e,h)?e[h]:{}},i=function(e){return d(e,h)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},function(e,t,r){"use strict";var n=r(85),o=r(86),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,r){"use strict";var n=r(19),o=r(124),i=r(76),a=r(39);e.exports=function(e,t,r){for(var c=o(t),u=a.f,s=i.f,d=0;dd;)if((s=c[d++])!=s)return!0}else for(;u>d;d++)if((e||d in c)&&c[d]===r)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){"use strict";var n=r(92),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t,r){"use strict";var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},function(e,t,r){"use strict";var n=r(92),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},function(e,t,r){"use strict";var n=r(11),o=r(8),i=/#|\.prototype\./,a=function(e,t){var r=u[c(e)];return r===d||r!==s&&(o(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},function(e,t,r){"use strict";var n=r(14),o=r(7),i=r(18),a=r(11),c=r(132),u=r(95),s=r(77),d=r(59),l=r(78),f=Object.assign,p=Object.defineProperty,m=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection");return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||"abcdefghijklmnopqrst"!==c(f({},t)).join("")}))?function(e,t){for(var r=d(e),o=arguments.length,a=1,f=u.f,p=s.f;o>a;)for(var y,v=l(arguments[a++]),h=f?m(c(v),f(v)):c(v),b=h.length,g=0;b>g;)y=h[g++],n&&!i(p,v,y)||(r[y]=v[y]);return r}:f},function(e,t,r){"use strict";var n=r(91),o=r(94);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){"use strict";var n=r(75),o=r(134);n({target:"Array",stat:!0,forced:!r(144)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(135),o=r(18),i=r(59),a=r(137),c=r(139),u=r(140),s=r(93),d=r(142),l=r(143),f=r(98),p=Array;e.exports=function(e){var t=i(e),r=u(this),m=arguments.length,y=m>1?arguments[1]:void 0,v=void 0!==y;v&&(y=n(y,m>2?arguments[2]:void 0));var h,b,g,_,w,O,j=f(t),x=0;if(!j||this===p&&c(j))for(h=s(t),b=r?new this(h):p(h);h>x;x++)O=v?y(t[x],x):t[x],d(b,x,O);else for(w=(_=l(t,j)).next,b=r?new this:[];!(g=o(w,_)).done;x++)O=v?a(_,y,[g.value,x],!0):g.value,d(b,x,O);return b.length=x,b}},function(e,t,r){"use strict";var n=r(136),o=r(56),i=r(49),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(52),o=r(7);e.exports=function(e){if("Function"===n(e))return o(e)}},function(e,t,r){"use strict";var n=r(34),o=r(138);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";var n=r(18),o=r(34),i=r(55);e.exports=function(e,t,r){var a,c;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){c=!0,a=e}if("throw"===t)throw r;if(c)throw a;return o(a),r}},function(e,t,r){"use strict";var n=r(22),o=r(96),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(97),c=r(54),u=r(89),s=function(){},d=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=n(l.exec),p=!l.test(s),m=function(e){if(!i(e))return!1;try{return d(s,[],e),!0}catch(e){return!1}},y=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(l,u(e))}catch(e){return!0}};y.sham=!0,e.exports=!d||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?y:m},function(e,t,r){"use strict";var n={};n[r(22)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){"use strict";var n=r(18),o=r(56),i=r(34),a=r(84),c=r(98),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(o(r))return i(n(r,e));throw new u(a(e)+" is not iterable")}},function(e,t,r){"use strict";var n=r(22)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return c}));var n=r(2),o=r(102),i=r(42),a=r(64);function c(){Object(n.f)(document.querySelectorAll(".edds-buy-now"),(function(t){t.classList.contains("edd-free-download")||t.addEventListener("click",(function(t){var r,c,u=t.currentTarget.dataset,s=u.downloadId,d=u.nonce;if(s){t.preventDefault(),t.stopImmediatePropagation();var l=null,f=1,p=t.currentTarget.closest(".edd_download_purchase_form"),m=p.querySelector(".edd_price_option_".concat(s,":checked"));m&&(l=m.value);var y=p.querySelector('input[name="edd_download_quantity"]');y&&(f=y.value),r={downloadId:s,priceId:l,quantity:f,nonce:d,addToCartForm:p},c=document.querySelector("#edds-buy-now-modal-content"),o.a.open("edds-buy-now",{onShow:function(){var t,o,u,s,d,l;c.innerHTML='',(t=r.downloadId,o=r.priceId,u=r.quantity,s=r.nonce,d=r.addToCartForm,l={download_id:t,price_id:o,quantity:u,nonce:s,post_data:e(d).serialize()},Object(n.a)("edds_add_to_cart",l)).then((function(e){var t=e.checkout;c.innerHTML=t,window.EDD_Checkout.init();var r=document.querySelector("#edds-buy-now-modal-content .edd_cart_amount");parseFloat(r.dataset.total)>0&&(Object(a.c)(),Object(i.a)())})).fail((function(e){var t=e.message;document.querySelector("#edds-buy-now-modal-content").innerHTML=t}))},onClose:function(){Object(n.a)("edds_empty_cart")}})}}))})),e(document.body).on("edd_checkout_error",(function(){var e=document.querySelector("#edds-buy-now #edd-purchase-button");if(e){var t=edd_stripe_vars.i18n.completePurchase,r=document.querySelector(".edd_cart_amount").dataset,n=r.total,o=r.totalCurrency;"0"!==n&&setTimeout((function(){e.value="".concat(o," - ").concat(t)}),10)}}))}}).call(this,r(1))},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return k}));var n=r(3),o=r.n(n),i=r(63),a=r.n(i),c=r(6),u=r.n(c),s=r(5),d=r.n(s),l=r(60),f=r(2),p=(r(27),r(25)),m=["display-items"],y=["display-items"],v=["display-items"];function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports}]); \ No newline at end of file +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=360)}([function(e,t){e.exports=jQuery},,function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"f",(function(){return o.b})),r.d(t,"d",(function(){return o.a})),r.d(t,"h",(function(){return o.c})),r.d(t,"g",(function(){return i.b})),r.d(t,"j",(function(){return i.c})),r.d(t,"b",(function(){return i.a})),r.d(t,"i",(function(){return a})),r.d(t,"k",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"c",(function(){return s})),r(45),r(46),r(47),r(48);var n=r(30),o=r(23),i=r(31);function a(e){var t=!0;return Object(o.b)(e.querySelectorAll("input"),(function(e){e.checkValidity&&!e.checkValidity()&&(t=!1)})),t}function c(e){var t=document.createElement("input");t.type="submit",t.style.display="none",e.appendChild(t),t.click(),t.remove()}function u(e){return e?""===e.value?null:e.value:null}function s(e,t){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(e.length+5),"\n",e,"\n","*".repeat(e.length+5),"\n",JSON.stringify(t,null,4))}r(15)},function(e,t,r){var n=r(9);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(67)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,"next",e)}function u(e){r(a,o,i,c,u,"throw",e)}c(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(49),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,r){"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},function(e,t,r){var n=r(4).default,o=r(13);e.exports=function(e){var t=o(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";(function(t){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r(71))},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,r){var n=r(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){"use strict";function n(e){return null===e?window.eddStripe:!e in window.eddStripe?"":window.eddStripe[e]}function o(e,t,r){if(window.eddStripe[e]=t,r)return window.eddStripe[e]}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}))},,,,function(e,t,r){"use strict";var n=r(49),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t,r){"use strict";var n=r(7),o=r(59),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},function(e,t,r){"use strict";(function(e,n){r.d(t,"a",(function(){return l})),r.d(t,"d",(function(){return f})),r.d(t,"c",(function(){return p})),r.d(t,"b",(function(){return m}));var o=r(3),i=r.n(o),a=r(2);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u={card:"#edd-stripe-card-element"},s={cardNumber:"#edd-stripe-card-element",cardExpiry:"#edd-stripe-card-exp-element",cardCvc:"#edd-stripe-card-cvc-element"},d=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"#edd-stripe-card-element",r=l(e,{card:t}),n=document.getElementById("edd-card-details-wrap");return n&&(n.style.display="none"),r}function p(e,t){var r=n('input[name="edd_stripe_existing_card"]:checked');return r.length>0&&"new"!==r.val()?Promise.resolve({id:r.val(),exists:!0}):window.eddStripe.createPaymentMethod("card",t,{billing_details:m(e)}).then((function(e){if(e.error)throw e.error;return{id:e.paymentMethod.id,exists:!1}}))}function m(e){return{name:Object(a.e)(e.querySelector(".card-name")),address:{line1:Object(a.e)(e.querySelector(".card-address")),line2:Object(a.e)(e.querySelector(".card-address-2")),city:Object(a.e)(e.querySelector(".card-city")),state:Object(a.e)(e.querySelector(".card_state")),postal_code:Object(a.e)(e.querySelector(".card-zip")),country:Object(a.e)(e.querySelector("#billing_country"))}}}}).call(this,r(0),r(0))},function(e,t,r){"use strict";var n=r(10),o=r(85),i=r(20),a=r(86),c=r(83),u=r(82),s=n.Symbol,d=o("wks"),l=u?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(d,e)||(d[e]=c&&i(s,e)?s[e]:l("Symbol."+e)),d[e]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return c}));var n=r(2),o=r(32),i=r.n(o);function a(){Object(n.f)(arguments,(function(e){document.addEventListener("DOMContentLoaded",e)}))}function c(e){for(var t=[],r=e.nextElementSibling;r;)1===r.nodeType&&t.push(r),r=r.nextElementSibling;return t}r.d(t,"b",(function(){return i.a}))},,function(e,t,r){"use strict";r.d(t,"d",(function(){return n.d})),r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a})),r.d(t,"h",(function(){return w})),r.d(t,"g",(function(){return T})),r.d(t,"c",(function(){return A.a})),r.d(t,"f",(function(){return D.c})),r.d(t,"e",(function(){return D.b}));var n=r(64),o=r(3),i=r.n(o),a=r(2);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},n=document.getElementById("edd-process-stripe-token-"+t);return r.timestamp=n?n.dataset.timestamp:"",r.token=n?n.dataset.token:"",Object(a.a)(e,u({payment_method:t,nonce:document.getElementById("card_update_nonce_"+t).value},r)).fail((function(e){m(t,e)})).done((function(e){m(t,e,"success"),setTimeout((function(){location.reload()}),1500)}))}function d(e){e.preventDefault();var t=e.target.dataset.source,r=document.getElementById(t+"-update-form"),n=document.getElementById(t+"-card-actions"),o="block"===r.style.display;r.style.display=o?"none":"block",n.style.display=o?"block":"none"}function l(e){e.preventDefault();var t=e.target,r={};["address_city","address_country","address_line1","address_line2","address_zip","address_state","exp_month","exp_year"].forEach((function(e){var n=t.querySelector('[name="'+e+'"]');r[e]=Object(a.e)(n)}));var n=t.querySelector('input[type="submit"]');n.disabled=!0,n.value=n.dataset.loading,s("edds_update_payment_method",e.target.dataset.source,r).fail((function(e){n.disabled=!1,n.value=n.dataset.submit}))}function f(e){e.preventDefault();var t=e.target.innerText;e.target.innerHTML='',s("edds_delete_payment_method",e.target.dataset.source).fail((function(r){e.target.innerText=t}))}function p(e){e.preventDefault();var t=e.target.innerText;e.target.innerHTML='',s("edds_set_payment_method_default",e.target.dataset.source).fail((function(r){e.target.innerText=t}))}function m(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"error",n=Object(a.g)(t&&t.message?t.message:edd_stripe_vars.generic_error,r);Object(a.f)(document.querySelectorAll(".edd-stripe-alert"),(function(e){e.remove()}));var o=document.getElementById(e+"_card_item");o.insertBefore(n,o.querySelector(".card-details"))}var y=r(21);function v(e){e.preventDefault();var t=document.getElementById("edd-stripe-add-new-card"),r=t.querySelector(".edd-stripe-add-new-card"),n="block"===r.style.display,o=t.querySelector("#edd-stripe-add-new-cancel");if(n&&o!==e.target){var i=document.createEvent("Event");i.initEvent("submit",!0,!0),t.dispatchEvent(i)}else r.style.display=n?"none":"block",o.style.display=n?"none":"inline-block"}function h(e){e.preventDefault();var t,r,n=e.target;if(Object(a.i)(n))try{(r=document.querySelector(".edd-stripe-add-new")).value=r.dataset.loading,r.disabled=!0,(t=n,window.eddStripe.createPaymentMethod("card",window.eddStripe.cardElement,{billing_details:Object(y.b)(t)}).then((function(e){if(e.error)throw e.error;return e.paymentMethod}))).then(b).catch((function(e){_(e),g()}))}catch(e){_(e),g()}else Object(a.k)(n)}function b(e){var t=document.getElementById("#edd-process-stripe-token");Object(a.a)("edds_add_payment_method",{payment_method_id:e.id,nonce:document.getElementById("edd-stripe-add-card-nonce").value,timestamp:t?t.dataset.timestamp:"",token:t?t.dataset.token:""}).fail(_).done((function(e){_(e,"success"),setTimeout((function(){location.reload()}),1500)}))}function g(){var e=document.querySelector(".edd-stripe-add-new");e.value=e.dataset.submit,e.disabled=!1}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error",r=Object(a.g)(e&&e.message?e.message:edd_stripe_vars.generic_error,t);Object(a.f)(document.querySelectorAll(".edd-stripe-alert"),(function(e){e.remove()})),document.querySelector(".edd-stripe-add-card-actions").insertBefore(r,document.querySelector(".edd-stripe-add-new"))}function w(){document.getElementById("edd-stripe-manage-cards")&&(Object(a.f)(document.querySelectorAll(".edd-stripe-update-card"),(function(e){e.addEventListener("click",d)})),Object(a.f)(document.querySelectorAll(".edd-stripe-cancel-update"),(function(e){e.addEventListener("click",d)})),Object(a.f)(document.querySelectorAll(".card-update-form"),(function(e){e.addEventListener("submit",l)})),Object(a.f)(document.querySelectorAll(".edd-stripe-delete-card"),(function(e){e.addEventListener("click",f)})),Object(a.f)(document.querySelectorAll(".edd-stripe-default-card"),(function(e){e.addEventListener("click",p)})),Object(y.a)(window.eddStripe.elements()),document.querySelector(".edd-stripe-add-new").addEventListener("click",v),document.getElementById("edd-stripe-add-new-cancel").addEventListener("click",v),document.getElementById("edd-stripe-add-new-card").addEventListener("submit",h),document.getElementById("card_name").required=!0)}var O=r(42),j=r(6),x=r.n(j),S=r(5),k=r.n(S),E=r(27);function P(e){return q.apply(this,arguments)}function q(){return(q=x()(k.a.mark((function e(t){var r,n,o,i,a;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=document.getElementById("edds-update-payment-method"),M(),e.prev=3,e.next=6,Object(y.c)(r,window.eddStripe.cardElement);case 6:return n=e.sent,e.next=9,Object(E.d)(r.dataset.paymentIntent,"payment_method");case 9:return o=e.sent,e.next=12,Object(E.c)(o,{payment_method:n.id});case 12:return i=e.sent,e.next=15,L(i.id);case 15:if(!(a=e.sent).payment){e.next=20;break}window.location.reload(),e.next=21;break;case 20:throw a;case 21:e.next=27;break;case 23:e.prev=23,e.t0=e.catch(3),C(e.t0),I();case 27:case"end":return e.stop()}}),e,null,[[3,23]])})))).apply(this,arguments)}function L(e){return Object(a.a)("edds_complete_payment_authorization",{intent_id:e,"edds-complete-payment-authorization":document.getElementById("edds-complete-payment-authorization").value})}function M(){var e=document.getElementById("edds-update-payment-method-submit");e.value=e.dataset.loading,e.disabled=!0}function I(){var e=document.getElementById("edds-update-payment-method-submit");e.value=e.dataset.submit,e.disabled=!1}function C(e){var t=Object(a.g)(e&&e.message?e.message:edd_stripe_vars.generic_error,"error"),r=document.getElementById("edds-update-payment-method-errors");r.innerHTML="",r.appendChild(t)}function T(){document.getElementById("edds-update-payment-method")&&(Object(y.a)(window.eddStripe.elements()),document.getElementById("edds-update-payment-method").addEventListener("submit",P),Object(O.a)())}var A=r(280),D=r(60)},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"payment_intent",n=e(window.eddStripe.cardElement._parent).closest("form"),o=e("#edd-process-stripe-token");return Object(s.a)("edds_get_intent",{intent_id:t,intent_type:r,timestamp:o.length?o.data("timestamp"):"",token:o.length?o.data("token"):"",form_data:n.serialize(),elements_mode:"card-elements"}).then((function(e){return e.intent}))}function p(t){var r=e(window.eddStripe.cardElement._parent).closest("form"),n=e("#edd-process-stripe-token");return Object(s.a)("edds_confirm_intent",{intent_id:t.id,intent_type:t.object,timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):"",form_data:r.serialize(),elements_mode:"card-elements"}).then((function(e){return e.intent}))}function m(t,r,n){var o=e(window.eddStripe.cardElement._parent).closest("form");if("requires_capture"!==t.status)return Promise.resolve(t);var i=o.serialize(),a=e("#edd-process-stripe-token");return n&&(i+="&edd-process-checkout-nonce=".concat(n)),Object(s.a)("edds_capture_intent",l({intent_id:t.id,intent_type:t.object,form_data:i,timestamp:a.length?a.data("timestamp"):"",token:a.length?a.data("token"):"",elements_mode:"card-elements"},r)).then((function(e){return e.intent}))}function y(t,r){var n=e(window.eddStripe.cardElement._parent).closest("form"),o=e("#edd-process-stripe-token");return Object(s.a)("edds_update_intent",l({intent_id:t.id,intent_type:t.object,timestamp:o.length?o.data("timestamp"):"",token:o.length?o.data("token"):"",form_data:n.serialize(),elements_mode:"card-elements"},r)).then((function(e){return e.intent}))}function v(e,t){return h.apply(this,arguments)}function h(){return(h=o()(u.a.mark((function e(t,r){var n,i,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("requires_confirmation"!==t.status){e.next=7;break}return e.next=3,p(t);case 3:return n=e.sent,e.next=6,v(n);case 6:return e.abrupt("return",e.sent);case 7:if("requires_payment_method"!==t.status&&"requires_source"!==t.status){e.next=14;break}return e.next=10,y(t,r);case 10:return i=e.sent,e.next=13,v(i,r);case 13:return e.abrupt("return",e.sent);case 14:if(!("requires_action"===t.status&&"use_stripe_sdk"===t.next_action.type||"requires_source_action"===t.status&&"use_stripe_sdk"===t.next_action.type)){e.next=18;break}return a="setup_intent"===t.object?"handleCardSetup":"handleCardAction","automatic"===t.confirmation_method&&(a="handleCardPayment"),e.abrupt("return",window.eddStripe[a](t.client_secret).then(function(){var e=o()(u.a.mark((function e(t){var r,n;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.error){e.next=2;break}throw t.error;case 2:return r=t.setupIntent,n=t.paymentIntent,e.next=5,v(r||n);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 18:return e.abrupt("return",t);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}}).call(this,r(0))},,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(4),o=r.n(n),i=r(3),a=r.n(i);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"error",r=document.createElement("p");return r.classList.add("edd-alert"),r.classList.add("edd-stripe-alert"),r.style.clear="both","error"===t?r.classList.add("edd-alert-error"):r.classList.add("edd-alert-success"),r.innerHTML=e||edd_stripe_vars.generic_error,r}function o(t){var r=t.errorType,o=t.errorMessage,i=t.errorContainer,a=t.errorContainerReplace,c=void 0===a||a,u=e(i),s=n(o,r);!0===c?u.html(s):u.before(s)}function i(t){e(t).html("")}r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return i}))}).call(this,r(0))},function(e,t){var r=/^(?:0|[1-9]\d*)$/;function n(e,t){for(var r=-1,n=e?e.length:0;++r-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?u.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function h(e){return v(e)?function(e,t){var r=y(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&v(e)}(e)&&c.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==u.call(e))}(e)?function(e,t){for(var r=-1,n=Array(e);++rthis.length)&&-1!==this.indexOf(e,t)})},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),r=t.length,n=new Array(r);r--;)n[r]=[t[r],e[t[r]]];return n})},function(e,t){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(78),o=r(79);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";var n=r(7),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,r){"use strict";e.exports=function(e){return null==e}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},function(e,t,r){"use strict";var n=r(56),o=r(53);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},function(e,t,r){"use strict";var n=r(8),o=r(84),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},function(e,t,r){"use strict";var n=r(114),o=r(10),i=r(58),a=e.exports=o["__core-js_shared__"]||i("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.36.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,r){"use strict";var n=r(10),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(79),o=Object;e.exports=function(e){return o(n(e))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(43),o=r.n(n),i=r(281);r.d(t,"c",(function(){return i.a}));var a=r(282);function c(e){for(var t={},r=0,n=Object.entries(e);r=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";(function(e){r.d(t,"d",(function(){return i}));var n=r(42),o=r(101);function i(){if("1"===edd_scripts.is_checkout){var t=document.querySelector('input[name="edd-gateway"]');t&&"stripe"===t.value&&(Object(o.c)(),Object(n.a)()),e(document.body).on("edd_gateway_loaded",(function(e,t){"stripe"===t&&(Object(o.c)(),Object(n.a)())}))}}r.d(t,"a",(function(){return o.a})),r.d(t,"b",(function(){return o.b})),r.d(t,"c",(function(){return o.c}))}).call(this,r(0))},,,function(e,t,r){var n=r(4).default;function o(){"use strict";e.exports=o=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",d=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new I(n||[]);return c(i,"_invoke",{value:P(e,r,a)}),i}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=p;var y="suspendedStart",v="executing",h="completed",b={};function g(){}function _(){}function w(){}var O={};f(O,s,(function(){return this}));var j=Object.getPrototypeOf,x=j&&j(j(C([])));x&&x!==i&&a.call(x,s)&&(O=x);var S=w.prototype=g.prototype=Object.create(O);function k(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,c,u){var s=m(e[o],e,i);if("throw"!==s.type){var d=s.arg,l=d.value;return l&&"object"==n(l)&&a.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,c,u)}),(function(e){r("throw",e,c,u)})):t.resolve(l).then((function(e){d.value=e,c(d)}),(function(e){return r("throw",e,c,u)}))}u(s.arg)}var o;c(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function P(e,r,n){var o=y;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=q(c,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var s=m(e,r,n);if("normal"===s.type){if(o=n.done?h:"suspendedYield",s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=h,n.method="throw",n.arg=s.arg)}}}function q(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,q(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=m(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[s];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;M(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(10),o=r(76).f,i=r(88),a=r(117),c=r(58),u=r(123),s=r(130);e.exports=function(e,t){var r,d,l,f,p,m=e.target,y=e.global,v=e.stat;if(r=y?n:v?n[m]||c(m,{}):n[m]&&n[m].prototype)for(d in t){if(f=t[d],l=e.dontCallGetSet?(p=o(r,d))&&p.value:r[d],!s(y?d:m+(v?".":"#")+d,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;u(f,l)}(e.sham||l&&l.sham)&&i(f,"sham",!0),a(r,d,f,e)}}},function(e,t,r){"use strict";var n=r(14),o=r(19),i=r(77),a=r(50),c=r(51),u=r(80),s=r(20),d=r(87),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=c(e),t=u(t),d)try{return l(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(52),a=Object,c=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):a(e)}:a},function(e,t,r){"use strict";var n=r(53),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(109),o=r(81);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},function(e,t,r){"use strict";var n=r(54),o=r(8),i=r(110),a=r(82),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,c(e))}},function(e,t,r){"use strict";var n=r(83);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){"use strict";var n=r(111),o=r(11),i=r(10).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,r){"use strict";var n=r(57);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},function(e,t,r){"use strict";var n=r(7),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},function(e,t,r){"use strict";var n=r(14),o=r(11),i=r(115);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(57),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(7),o=r(20),i=r(51),a=r(126).indexOf,c=r(90),u=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,d=[];for(r in n)!o(c,r)&&o(n,r)&&u(d,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(d,r)||u(d,r));return d}},function(e,t,r){"use strict";var n=r(128);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},function(e,t,r){"use strict";var n=r(129);e.exports=function(e){return n(e.length)}},function(e,t,r){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(141),o=r(8),i=r(52),a=r(22)("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),a))?r:u?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},function(e,t,r){"use strict";var n=r(97),o=r(55),i=r(53),a=r(96),c=r(22)("iterator");e.exports=function(e){if(!i(e))return o(e,c)||o(e,"@@iterator")||a[n(e)]}},,,function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return d})),r.d(t,"b",(function(){return p})),r.d(t,"a",(function(){return m}));var n=r(6),o=r.n(n),i=r(5),a=r.n(i),c=r(21),u=r(27),s=r(2);function d(){Object(c.a)(window.eddStripe.elements()),e("#edd_purchase_form").off("submit",v),e("#edd_purchase_form").on("submit",v),e(document).off("ajaxSuccess",y),e(document).on("ajaxSuccess",y)}function l(){return(l=o()(a.a.mark((function t(){var r,n,o,i,s,d,l,y,v,g,_;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=e("#edd_purchase_form").serialize(),n=e("#edd-process-stripe-token"),t.next=4,Object(c.c)(document.getElementById("edd_purchase_form"),window.eddStripe.cardElement);case 4:return o=t.sent,t.next=7,f(o.id,o.exists);case 7:return i=t.sent,s=i.intent,d=i.nonce,e("#edd-process-checkout-nonce").val(d),t.next=13,Object(u.c)(s,{form_data:r+="&edd-process-checkout-nonce=".concat(d),timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):""});case 13:return l=t.sent,t.next=16,p(l);case 16:return y=t.sent,v=y.intent,g=y.nonce,t.next=21,Object(u.a)(v,{},g);case 21:if("succeeded"!==(_=t.sent).status&&("canceled"!==_.status||"abandoned"!==_.cancellation_reason)){t.next=28;break}return t.next=25,m(_,g);case 25:window.location.replace(edd_stripe_vars.successPageUri),t.next=29;break;case 28:window.location.replace(edd_stripe_vars.failurePageUri);case 29:t.next=35;break;case 31:t.prev=31,t.t0=t.catch(0),b(t.t0),h();case 35:case"end":return t.stop()}}),t,null,[[0,31]])})))).apply(this,arguments)}function f(t,r){var n=e("#edd-process-stripe-token");return Object(s.a)("edds_process_purchase_form",{form_data:e("#edd_purchase_form").serialize(),payment_method_id:t,payment_method_exists:r,timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):""})}function p(t){var r=e("#edd_purchase_form"),n=e("#edd-process-stripe-token"),o=r.serialize();if(0===r.length){var i=e("#edd-process-checkout-nonce").val();o="edd-process-checkout-nonce=".concat(i)}return Object(s.a)("edds_create_payment",{form_data:o,timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):"",intent:t})}function m(t,r){var n=e("#edd_purchase_form"),o=n.serialize(),i=e("#edd-process-stripe-token");if(0===n.length){var a=e("#edd-process-checkout-nonce").val();o="edd-process-checkout-nonce=".concat(a)}return r&&(o+="&edd-process-checkout-nonce=".concat(r)),Object(s.a)("edds_complete_payment",{form_data:o,intent:t,timestamp:i.length?i.data("timestamp"):"",token:i.length?i.data("token"):""})}function y(e,t,r){if(r&&r.data&&t)return r.data.includes("action=edd_process_checkout")&&r.data.includes("edd-gateway=stripe")&&t.responseText&&"success"===t.responseText.trim()?function(){return l.apply(this,arguments)}():void 0}function v(t){"stripe"===e('input[name="edd-gateway"]').val()&&e(".edd_cart_total .edd_cart_amount").data("total")>0&&(t.preventDefault(),e("#edd_purchase_form #edd_purchase_submit [type=submit]").trigger("click"))}function h(){document.querySelector("#edd_purchase_form #edd_purchase_submit [type=submit]").value=edd_global_vars.complete_purchase,e(".edd-loading-ajax").remove(),e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide(),e("#edd-purchase-button").attr("disabled",!1)}function b(t){var r=t.code,n=t.message,o=window.edd_stripe_vars.elementsOptions.i18n.errorMessages;n||(n=edd_stripe_vars.generic_error);var i=r&&o[r]?o[r]:n,a=Object(s.g)(i);e(".edd-stripe-alert").remove(),e(edd_global_vars.checkout_error_anchor).before(a),e(document.body).trigger("edd_checkout_error",[t]),window.console&&t.responseText&&window.console.error(t.responseText)}}).call(this,r(0))},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(3),o=r.n(n);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&this.registerTriggers.apply(this,i(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t;return(t=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(r),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(c);return Array.apply(void 0,i(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var r=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));r.length>0&&r[0].focus(),0===r.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var r=t.indexOf(document.activeElement);e.shiftKey&&0===r&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&r===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&function(e,t){for(var r=0;r')),!1},l=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''))}(e),!t)return!0;for(var r in t)d(r);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),r=i(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var r=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===r[n]&&(r[n]=[]),r[n].push(e)})),r}(r,t.openTrigger);if(!0!==t.debugMode||!1!==l(r,n))for(var o in n){var a=n[o];t.targetModal=o,t.triggers=i(a),s=new u(t)}},show:function(e,t){var r=t||{};r.targetModal=e,!0===r.debugMode&&!1===d(e)||(s&&s.removeEventListeners(),(s=new u(r)).showModal())},close:function(e){e?s.closeModalById(e):s.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=f);var p=f;function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},function(e,t,r){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,r){"use strict";var n=r(19),o=r(8),i=r(33),a=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&o(r=e.toString)&&!i(c=n(r,e)))return c;if(o(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&o(r=e.toString)&&!i(c=n(r,e)))return c;throw new a("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";var n=r(10),o=r(33),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(14),o=r(11);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,r){"use strict";var n=r(8),o=r(39),i=r(118),a=r(58);e.exports=function(e,t,r,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:t;if(n(r)&&i(r,s,c),c.global)u?e[t]=r:a(t,r);else{try{c.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(20),c=r(14),u=r(119).CONFIGURABLE,s=r(89),d=r(120),l=d.enforce,f=d.get,p=String,m=Object.defineProperty,y=n("".slice),v=n("".replace),h=n([].join),b=c&&!o((function(){return 8!==m((function(){}),"length",{value:8}).length})),g=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===y(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(c?m(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&a(r,"arity")&&e.length!==r.arity&&m(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&m(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return a(n,"source")||(n.source=h(g,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return i(this)&&f(this).source||s(this)}),"toString")},function(e,t,r){"use strict";var n=r(14),o=r(20),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},function(e,t,r){"use strict";var n,o,i,a=r(121),c=r(10),u=r(33),s=r(88),d=r(20),l=r(57),f=r(122),p=r(90),m=c.TypeError,y=c.WeakMap;if(a||l.state){var v=l.state||(l.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m("Object already initialized");return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var h=f("state");p[h]=!0,n=function(e,t){if(d(e,h))throw new m("Object already initialized");return t.facade=e,s(e,h,t),t},o=function(e){return d(e,h)?e[h]:{}},i=function(e){return d(e,h)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},function(e,t,r){"use strict";var n=r(85),o=r(86),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,r){"use strict";var n=r(20),o=r(124),i=r(76),a=r(39);e.exports=function(e,t,r){for(var c=o(t),u=a.f,s=i.f,d=0;dd;)if((s=c[d++])!=s)return!0}else for(;u>d;d++)if((e||d in c)&&c[d]===r)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){"use strict";var n=r(92),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t,r){"use strict";var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},function(e,t,r){"use strict";var n=r(92),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},function(e,t,r){"use strict";var n=r(11),o=r(8),i=/#|\.prototype\./,a=function(e,t){var r=u[c(e)];return r===d||r!==s&&(o(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},function(e,t,r){"use strict";var n=r(14),o=r(7),i=r(19),a=r(11),c=r(132),u=r(95),s=r(77),d=r(59),l=r(78),f=Object.assign,p=Object.defineProperty,m=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection");return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||"abcdefghijklmnopqrst"!==c(f({},t)).join("")}))?function(e,t){for(var r=d(e),o=arguments.length,a=1,f=u.f,p=s.f;o>a;)for(var y,v=l(arguments[a++]),h=f?m(c(v),f(v)):c(v),b=h.length,g=0;b>g;)y=h[g++],n&&!i(p,v,y)||(r[y]=v[y]);return r}:f},function(e,t,r){"use strict";var n=r(91),o=r(94);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){"use strict";var n=r(75),o=r(134);n({target:"Array",stat:!0,forced:!r(144)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(135),o=r(19),i=r(59),a=r(137),c=r(139),u=r(140),s=r(93),d=r(142),l=r(143),f=r(98),p=Array;e.exports=function(e){var t=i(e),r=u(this),m=arguments.length,y=m>1?arguments[1]:void 0,v=void 0!==y;v&&(y=n(y,m>2?arguments[2]:void 0));var h,b,g,_,w,O,j=f(t),x=0;if(!j||this===p&&c(j))for(h=s(t),b=r?new this(h):p(h);h>x;x++)O=v?y(t[x],x):t[x],d(b,x,O);else for(w=(_=l(t,j)).next,b=r?new this:[];!(g=o(w,_)).done;x++)O=v?a(_,y,[g.value,x],!0):g.value,d(b,x,O);return b.length=x,b}},function(e,t,r){"use strict";var n=r(136),o=r(56),i=r(49),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(52),o=r(7);e.exports=function(e){if("Function"===n(e))return o(e)}},function(e,t,r){"use strict";var n=r(34),o=r(138);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";var n=r(19),o=r(34),i=r(55);e.exports=function(e,t,r){var a,c;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){c=!0,a=e}if("throw"===t)throw r;if(c)throw a;return o(a),r}},function(e,t,r){"use strict";var n=r(22),o=r(96),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(97),c=r(54),u=r(89),s=function(){},d=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=n(l.exec),p=!l.test(s),m=function(e){if(!i(e))return!1;try{return d(s,[],e),!0}catch(e){return!1}},y=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(l,u(e))}catch(e){return!0}};y.sham=!0,e.exports=!d||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?y:m},function(e,t,r){"use strict";var n={};n[r(22)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){"use strict";var n=r(19),o=r(56),i=r(34),a=r(84),c=r(98),u=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(o(r))return i(n(r,e));throw new u(a(e)+" is not iterable")}},function(e,t,r){"use strict";var n=r(22)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return c}));var n=r(2),o=r(102),i=r(42),a=r(64);function c(){Object(n.f)(document.querySelectorAll(".edds-buy-now"),(function(t){t.classList.contains("edd-free-download")||t.addEventListener("click",(function(t){var r,c,u=t.currentTarget.dataset,s=u.downloadId,d=u.nonce;if(s){t.preventDefault(),t.stopImmediatePropagation();var l=null,f=1,p=t.currentTarget.closest(".edd_download_purchase_form"),m=p.querySelector(".edd_price_option_".concat(s,":checked"));m&&(l=m.value);var y=p.querySelector('input[name="edd_download_quantity"]');y&&(f=y.value),r={downloadId:s,priceId:l,quantity:f,nonce:d,addToCartForm:p},c=document.querySelector("#edds-buy-now-modal-content"),o.a.open("edds-buy-now",{onShow:function(){var t,o,u,s,d,l;c.innerHTML='',(t=r.downloadId,o=r.priceId,u=r.quantity,s=r.nonce,d=r.addToCartForm,l={download_id:t,price_id:o,quantity:u,nonce:s,post_data:e(d).serialize()},Object(n.a)("edds_add_to_cart",l)).then((function(e){var t=e.checkout;c.innerHTML=t,window.EDD_Checkout.init();var r=document.querySelector("#edds-buy-now-modal-content .edd_cart_amount");parseFloat(r.dataset.total)>0&&(Object(a.c)(),Object(i.a)())})).fail((function(e){var t=e.message;document.querySelector("#edds-buy-now-modal-content").innerHTML=t}))},onClose:function(){Object(n.a)("edds_empty_cart")}})}}))})),e(document.body).on("edd_checkout_error",(function(){var e=document.querySelector("#edds-buy-now #edd-purchase-button");if(e){var t=edd_stripe_vars.i18n.completePurchase,r=document.querySelector(".edd_cart_amount").dataset,n=r.total,o=r.totalCurrency;"0"!==n&&setTimeout((function(){e.value="".concat(o," - ").concat(t)}),10)}}))}}).call(this,r(0))},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return k}));var n=r(3),o=r.n(n),i=r(63),a=r.n(i),c=r(6),u=r.n(c),s=r(5),d=r.n(s),l=r(60),f=r(2),p=(r(27),r(25)),m=["display-items"],y=["display-items"],v=["display-items"];function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports}]); \ No newline at end of file diff --git a/assets/js/stripe-notices.js b/assets/js/stripe-notices.js index ba73011a2e0..4b50eeb98b6 100644 --- a/assets/js/stripe-notices.js +++ b/assets/js/stripe-notices.js @@ -1 +1 @@ -!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=345)}({1:function(e,n){e.exports=jQuery},345:function(e,n,t){(function(e,n){e((function(){e(".edds-admin-notice").each((function(){var e=n(this),t=e.data("id"),r=e.data("nonce");e.on("click",".notice-dismiss",(function(e){return e.preventDefault(),e.stopPropagation(),wp.ajax.post("edds_admin_notices_dismiss_ajax",{id:t,nonce:r})}))}))}))}).call(this,t(1),t(1))}}); \ No newline at end of file +!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=355)}({0:function(e,n){e.exports=jQuery},355:function(e,n,t){(function(e,n){e((function(){e(".edds-admin-notice").each((function(){var e=n(this),t=e.data("id"),r=e.data("nonce");e.on("click",".notice-dismiss",(function(e){return e.preventDefault(),e.stopPropagation(),wp.ajax.post("edds_admin_notices_dismiss_ajax",{id:t,nonce:r})}))}))}))}).call(this,t(0),t(0))}}); \ No newline at end of file diff --git a/assets/js/stripe-paymentelements.js b/assets/js/stripe-paymentelements.js index 1ad9629d34c..57b5acca452 100644 --- a/assets/js/stripe-paymentelements.js +++ b/assets/js/stripe-paymentelements.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=372)}([,function(e,t){e.exports=jQuery},function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"f",(function(){return o.b})),r.d(t,"d",(function(){return o.a})),r.d(t,"h",(function(){return o.c})),r.d(t,"g",(function(){return i.b})),r.d(t,"j",(function(){return i.c})),r.d(t,"b",(function(){return i.a})),r.d(t,"i",(function(){return a})),r.d(t,"k",(function(){return u})),r.d(t,"e",(function(){return c})),r.d(t,"c",(function(){return s})),r(45),r(46),r(47),r(48);var n=r(30),o=r(23),i=r(31);function a(e){var t=!0;return Object(o.b)(e.querySelectorAll("input"),(function(e){e.checkValidity&&!e.checkValidity()&&(t=!1)})),t}function u(e){var t=document.createElement("input");t.type="submit",t.style.display="none",e.appendChild(t),t.click(),t.remove()}function c(e){return e?""===e.value?null:e.value:null}function s(e,t){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(e.length+5),"\n",e,"\n","*".repeat(e.length+5),"\n",JSON.stringify(t,null,4))}r(15)},function(e,t,r){var n=r(9);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(67)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t){function r(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,c,"next",e)}function c(e){r(a,o,i,u,c,"throw",e)}u(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(49),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,r){"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},function(e,t,r){var n=r(4).default,o=r(13);e.exports=function(e){var t=o(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";(function(t){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r(71))},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,r){var n=r(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){"use strict";function n(e){return null===e?window.eddStripe:!e in window.eddStripe?"":window.eddStripe[e]}function o(e,t,r){if(window.eddStripe[e]=t,r)return window.eddStripe[e]}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}))},,function(e,t,r){var n=r(68),o=r(69),i=r(37),a=r(70);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(49),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t,r){"use strict";var n=r(7),o=r(59),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},,,function(e,t,r){"use strict";var n=r(10),o=r(85),i=r(19),a=r(86),u=r(83),c=r(82),s=n.Symbol,d=o("wks"),l=c?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(d,e)||(d[e]=u&&i(s,e)?s[e]:l("Symbol."+e)),d[e]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return u}));var n=r(2),o=r(32),i=r.n(o);function a(){Object(n.f)(arguments,(function(e){document.addEventListener("DOMContentLoaded",e)}))}function u(e){for(var t=[],r=e.nextElementSibling;r;)1===r.nodeType&&t.push(r),r=r.nextElementSibling;return t}r.d(t,"b",(function(){return i.a}))},function(e,t,r){"use strict";(function(e){r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return p})),r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return x}));var n=r(6),o=r.n(n),i=r(5),a=r.n(i),u=r(66),c=r(2);function s(){Object(u.a)(),!1!==window.eddStripe.elementMounted&&(window.eddStripe.intentFingerprint="",window.eddStripe.intentType="",window.eddStripe.intentId="",y(),e(document).off("click","#edd_purchase_form #edd_purchase_submit [type=submit]"),document.getElementById("edd-purchase-button").addEventListener("click",function(){var e=o()(a.a.mark((function e(t){var r,n,o,i,c,s,l,y,h,m,_,O,S,j,E,P,k;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x()){e.next=2;break}return e.abrupt("return");case 2:if(g()){e.next=4;break}return e.abrupt("return",!1);case 4:return t.preventDefault(),p(!1),e.prev=6,r=Object(u.b)(document.getElementById("edd_purchase_form")),e.next=10,w(r);case 10:if(n=e.sent,o=n.paymentMethod){e.next=14;break}return e.abrupt("return",!1);case 14:return e.next=16,d(o);case 16:return i=e.sent,c=i.token,s=i.client_secret,l=i.intent_type,y=i.intent_fingerprint,h=i.intent_id,window.eddStripe.intentType=l,window.eddStripe.intentFingerprint=y,window.eddStripe.intentId=h,(m=document.getElementById("edd-process-checkout-nonce")).value=c,_="PaymentIntent"===l?"confirmPayment":"confirmSetup",(O={clientSecret:s,confirmParams:{return_url:edd_stripe_vars.successPageUri},redirect:"if_required"}).confirmParams.payment_method=o.id,e.next=32,window.eddStripe[_](O);case 32:if(S=e.sent,!(j=S.error)){e.next=38;break}return v(j),b(),e.abrupt("return",!1);case 38:return e.next=40,f();case 40:E=e.sent,P=E.intent,k=E.nonce,m.value=k,"succeeded"===P.status?window.location.replace(edd_stripe_vars.successPageUri):window.location.replace(edd_stripe_vars.failurePageUri),e.next=52;break;case 47:return e.prev=47,e.t0=e.catch(6),v(e.t0),b(),e.abrupt("return",!1);case 52:case"end":return e.stop()}}),e,null,[[6,47]])})));return function(t){return e.apply(this,arguments)}}()))}function d(e){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e("#edd-process-stripe-token"),t.abrupt("return",Object(c.a)("edds_process_purchase_form",{form_data:e("#edd_purchase_form").serialize(),timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):"",intent_type:window.eddStripe.intentType,intent_id:window.eddStripe.intentId,intent_fingerprint:window.eddStripe.intentFingerprint,payment_method:r}));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function f(){var t=e("#edd_purchase_form"),r=e("#edd-process-stripe-token"),n=t.serialize();if(0===t.length){var o=e("#edd-process-checkout-nonce").val();n="edd-process-checkout-nonce=".concat(o)}return Object(c.a)("edds_create_and_complete_order",{form_data:n,timestamp:r.length?r.data("timestamp"):"",token:r.length?r.data("token"):"",intent_id:window.eddStripe.intentId,intent_type:window.eddStripe.intentType})}function p(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.eddStripe.paymentElement.update({readOnly:!0}),h();var r=e("#edd-purchase-button");r.attr("data-edd-button-state","updating"),r.prop("disabled","disabled"),r.prop("readonly","readonly"),e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide(),e("#edd-stripe-payment-errors").remove(),e(".edd-stripe-alert").remove(),t&&r.parent().find(".edd-loading-ajax").remove()}function y(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];window.eddStripe.paymentElement.update({readOnly:!1});var r=e("#edd-purchase-button");r.attr("data-edd-button-state","disabled"),r.prop("disabled","disabled"),r.prop("readonly","readonly"),r.parent().find(".edd-loading-ajax").remove(),t&&(e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide(),e("#edd-stripe-payment-errors").remove(),e(".edd-stripe-alert").remove())}function b(){if(!window.eddStripe.isAtFailureLimit){window.eddStripe.paymentElement.update({readOnly:!1});var t=e("#edd-purchase-button");t.attr("data-edd-button-state","ready"),t.prop("disabled",""),t.prop("readonly",""),t.parent().find(".edd-loading-ajax").remove(),e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide()}}function h(){var t=e("#edd-purchase-button").parent();0===t.find(".edd-loading-ajax").length&&t.append('')}function v(e){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(r){var n,o,i,u,s,d,l,f;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log(r),n=r.code,o=r.message,r.type,i=window.edd_stripe_vars.elementsCustomizations.i18n.errorMessages,o||(o=edd_stripe_vars.generic_error),u=n&&i[n]?i[n]:o,s=Object(c.g)(u),!n||"incomplete"===n){t.next=14;break}return t.next=8,Object(c.a)("edds_payment_elements_rate_limit_tick");case 8:if(d=t.sent,l=d.is_at_limit,f=d.message,!l){t.next=14;break}return _(f),t.abrupt("return");case 14:e(".edd-stripe-alert").remove(),e(edd_global_vars.checkout_error_anchor).before(s),e(document.body).trigger("edd_checkout_error",[r]),"incomplete"===n&&e(".edd-stripe-alert").removeClass("edd-alert-error").addClass("edd-alert-warn"),window.console&&r.responseText&&window.console.error(r.responseText);case 19:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function g(){var e=!0;return document.getElementById("edd_purchase_form").querySelectorAll("[required]").forEach((function(t){!1===t.checkValidity()&&(t.reportValidity(),e=!1)})),e}function w(e){return window.eddStripe.createPaymentMethod({elements:window.eddStripe.configuredElement,params:{billing_details:e}}).then((function(e){var t=e.error,r=e.paymentMethod;return t?(v(t),b(),!1):{paymentMethod:r}})).catch((function(e){return v(e),b(),!1}))}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";window.eddStripe.isAtFailureLimit=!0,window.eddStripe.paymentElement.unmount(),e("#edd_cc_fields").slideUp().remove();var r=e("#edd-purchase-button");r.remove();var n=Object(c.g)(t,"error");e(".edd-stripe-alert").remove(),e(edd_global_vars.checkout_error_anchor).before(n)}function x(){var e=document.getElementById("edd-process-stripe-token");return e||(e=document.getElementById("edd-stripe-payment-element"))&&edd_global_vars.showStoreErrors&&console.warn("Please update your custom checkout to use edds_get_tokenizer_input() for a more secure checkout."),!!e&&document.querySelector(".edd_cart_total .edd_cart_amount").dataset.total>0}}).call(this,r(1))},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"error",r=document.createElement("p");return r.classList.add("edd-alert"),r.classList.add("edd-stripe-alert"),r.style.clear="both","error"===t?r.classList.add("edd-alert-error"):r.classList.add("edd-alert-success"),r.innerHTML=e||edd_stripe_vars.generic_error,r}function o(t){var r=t.errorType,o=t.errorMessage,i=t.errorContainer,a=t.errorContainerReplace,u=void 0===a||a,c=e(i),s=n(o,r);!0===u?c.html(s):c.before(s)}function i(t){e(t).html("")}r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return i}))}).call(this,r(1))},function(e,t){var r=/^(?:0|[1-9]\d*)$/;function n(e,t){for(var r=-1,n=e?e.length:0;++r-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function v(e){return h(e)?function(e,t){var r=b(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&h(e)}(e)&&u.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==c.call(e))}(e)?function(e,t){for(var r=-1,n=Array(e);++rthis.length)&&-1!==this.indexOf(e,t)})},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),r=t.length,n=new Array(r);r--;)n[r]=[t[r],e[t[r]]];return n})},function(e,t){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(78),o=r(79);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";var n=r(7),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,r){"use strict";e.exports=function(e){return null==e}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},function(e,t,r){"use strict";var n=r(56),o=r(53);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},function(e,t,r){"use strict";var n=r(8),o=r(84),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},function(e,t,r){"use strict";var n=r(114),o=r(10),i=r(58),a=e.exports=o["__core-js_shared__"]||i("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.36.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,r){"use strict";var n=r(10),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(79),o=Object;e.exports=function(e){return o(n(e))}},,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return O}));var n=r(6),o=r.n(n),i=r(17),a=r.n(i),u=r(3),c=r.n(u),s=r(5),d=r.n(s),l=r(2),f=r(15),p=r(24);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(26);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},,,,function(e,t,r){"use strict";var n=r(10),o=r(76).f,i=r(88),a=r(117),u=r(58),c=r(123),s=r(130);e.exports=function(e,t){var r,d,l,f,p,y=e.target,b=e.global,h=e.stat;if(r=b?n:h?n[y]||u(y,{}):n[y]&&n[y].prototype)for(d in t){if(f=t[d],l=e.dontCallGetSet?(p=o(r,d))&&p.value:r[d],!s(b?d:y+(h?".":"#")+d,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;c(f,l)}(e.sham||l&&l.sham)&&i(f,"sham",!0),a(r,d,f,e)}}},function(e,t,r){"use strict";var n=r(14),o=r(18),i=r(77),a=r(50),u=r(51),c=r(80),s=r(19),d=r(87),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=u(e),t=c(t),d)try{return l(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(52),a=Object,u=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?u(e,""):a(e)}:a},function(e,t,r){"use strict";var n=r(53),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(109),o=r(81);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},function(e,t,r){"use strict";var n=r(54),o=r(8),i=r(110),a=r(82),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,u(e))}},function(e,t,r){"use strict";var n=r(83);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){"use strict";var n=r(111),o=r(11),i=r(10).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,r){"use strict";var n=r(57);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},function(e,t,r){"use strict";var n=r(7),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},function(e,t,r){"use strict";var n=r(14),o=r(11),i=r(115);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(57),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(7),o=r(19),i=r(51),a=r(126).indexOf,u=r(90),c=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,d=[];for(r in n)!o(u,r)&&o(n,r)&&c(d,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(d,r)||c(d,r));return d}},function(e,t,r){"use strict";var n=r(128);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},function(e,t,r){"use strict";var n=r(129);e.exports=function(e){return n(e.length)}},function(e,t,r){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(141),o=r(8),i=r(52),a=r(22)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=u(e),a))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},function(e,t,r){"use strict";var n=r(97),o=r(55),i=r(53),a=r(96),u=r(22)("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[n(e)]}},function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i}));var n=r(24),o=r(15);function i(){if(Object(o.b)("elementsTarget","#edd-stripe-payment-element"),"1"===edd_scripts.is_checkout){var t=document.querySelector('input[name="edd-gateway"]');window.eddStripe.isBuyNow=!1,t&&"stripe"===t.value?(Object(o.b)("singleGateway",!0),Object(n.d)()):(Object(o.b)("singleGateway",!1),e(document.body).on("edd_gateway_loaded",(function(e,t){"stripe"===t&&Object(n.d)()})))}}r.d(t,"a",(function(){return n.d}))}).call(this,r(1))},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r(3),o=r.n(n);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&this.registerTriggers.apply(this,i(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t;return(t=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(r),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(u);return Array.apply(void 0,i(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var r=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));r.length>0&&r[0].focus(),0===r.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var r=t.indexOf(document.activeElement);e.shiftKey&&0===r&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&r===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&function(e,t){for(var r=0;r')),!1},l=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''))}(e),!t)return!0;for(var r in t)d(r);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),r=i(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var r=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===r[n]&&(r[n]=[]),r[n].push(e)})),r}(r,t.openTrigger);if(!0!==t.debugMode||!1!==l(r,n))for(var o in n){var a=n[o];t.targetModal=o,t.triggers=i(a),s=new c(t)}},show:function(e,t){var r=t||{};r.targetModal=e,!0===r.debugMode&&!1===d(e)||(s&&s.removeEventListeners(),(s=new c(r)).showModal())},close:function(e){e?s.closeModalById(e):s.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=f);var p=f;function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},function(e,t,r){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,r){"use strict";var n=r(18),o=r(8),i=r(33),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw new a("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";var n=r(10),o=r(33),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(14),o=r(11);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,r){"use strict";var n=r(8),o=r(39),i=r(118),a=r(58);e.exports=function(e,t,r,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:t;if(n(r)&&i(r,s,u),u.global)c?e[t]=r:a(t,r);else{try{u.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(19),u=r(14),c=r(119).CONFIGURABLE,s=r(89),d=r(120),l=d.enforce,f=d.get,p=String,y=Object.defineProperty,b=n("".slice),h=n("".replace),v=n([].join),m=u&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===b(p(t),0,7)&&(t="["+h(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(u?y(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&a(r,"arity")&&e.length!==r.arity&&y(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?u&&y(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return a(n,"source")||(n.source=v(g,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||s(this)}),"toString")},function(e,t,r){"use strict";var n=r(14),o=r(19),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},function(e,t,r){"use strict";var n,o,i,a=r(121),u=r(10),c=r(33),s=r(88),d=r(19),l=r(57),f=r(122),p=r(90),y=u.TypeError,b=u.WeakMap;if(a||l.state){var h=l.state||(l.state=new b);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw new y("Object already initialized");return t.facade=e,h.set(e,t),t},o=function(e){return h.get(e)||{}},i=function(e){return h.has(e)}}else{var v=f("state");p[v]=!0,n=function(e,t){if(d(e,v))throw new y("Object already initialized");return t.facade=e,s(e,v,t),t},o=function(e){return d(e,v)?e[v]:{}},i=function(e){return d(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},function(e,t,r){"use strict";var n=r(85),o=r(86),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,r){"use strict";var n=r(19),o=r(124),i=r(76),a=r(39);e.exports=function(e,t,r){for(var u=o(t),c=a.f,s=i.f,d=0;dd;)if((s=u[d++])!=s)return!0}else for(;c>d;d++)if((e||d in u)&&u[d]===r)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){"use strict";var n=r(92),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t,r){"use strict";var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},function(e,t,r){"use strict";var n=r(92),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},function(e,t,r){"use strict";var n=r(11),o=r(8),i=/#|\.prototype\./,a=function(e,t){var r=c[u(e)];return r===d||r!==s&&(o(t)?n(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},function(e,t,r){"use strict";var n=r(14),o=r(7),i=r(18),a=r(11),u=r(132),c=r(95),s=r(77),d=r(59),l=r(78),f=Object.assign,p=Object.defineProperty,y=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection");return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||"abcdefghijklmnopqrst"!==u(f({},t)).join("")}))?function(e,t){for(var r=d(e),o=arguments.length,a=1,f=c.f,p=s.f;o>a;)for(var b,h=l(arguments[a++]),v=f?y(u(h),f(h)):u(h),m=v.length,g=0;m>g;)b=v[g++],n&&!i(p,h,b)||(r[b]=h[b]);return r}:f},function(e,t,r){"use strict";var n=r(91),o=r(94);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){"use strict";var n=r(75),o=r(134);n({target:"Array",stat:!0,forced:!r(144)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(135),o=r(18),i=r(59),a=r(137),u=r(139),c=r(140),s=r(93),d=r(142),l=r(143),f=r(98),p=Array;e.exports=function(e){var t=i(e),r=c(this),y=arguments.length,b=y>1?arguments[1]:void 0,h=void 0!==b;h&&(b=n(b,y>2?arguments[2]:void 0));var v,m,g,w,_,x,O=f(t),S=0;if(!O||this===p&&u(O))for(v=s(t),m=r?new this(v):p(v);v>S;S++)x=h?b(t[S],S):t[S],d(m,S,x);else for(_=(w=l(t,O)).next,m=r?new this:[];!(g=o(_,w)).done;S++)x=h?a(w,b,[g.value,S],!0):g.value,d(m,S,x);return m.length=S,m}},function(e,t,r){"use strict";var n=r(136),o=r(56),i=r(49),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(52),o=r(7);e.exports=function(e){if("Function"===n(e))return o(e)}},function(e,t,r){"use strict";var n=r(34),o=r(138);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";var n=r(18),o=r(34),i=r(55);e.exports=function(e,t,r){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){u=!0,a=e}if("throw"===t)throw r;if(u)throw a;return o(a),r}},function(e,t,r){"use strict";var n=r(22),o=r(96),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(97),u=r(54),c=r(89),s=function(){},d=u("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=n(l.exec),p=!l.test(s),y=function(e){if(!i(e))return!1;try{return d(s,[],e),!0}catch(e){return!1}},b=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(l,c(e))}catch(e){return!0}};b.sham=!0,e.exports=!d||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?b:y},function(e,t,r){"use strict";var n={};n[r(22)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){"use strict";var n=r(18),o=r(56),i=r(34),a=r(84),u=r(98),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return i(n(r,e));throw new c(a(e)+" is not iterable")}},function(e,t,r){"use strict";var n=r(22)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(2),o=r(102),i=r(99);function a(){Object(n.f)(document.querySelectorAll(".edds-buy-now"),(function(t){t.classList.contains("edd-free-download")||"add_to_cart"!==t.closest("form").querySelector(".edd_action_input").value&&t.addEventListener("click",(function(t){window.eddStripe.activeBuyNow=t;var r,a,u=t.currentTarget.dataset,c=u.downloadId,s=u.nonce,d=t.currentTarget.dataset.token.length?t.currentTarget.dataset.token:"",l=t.currentTarget.dataset.timestamp.length?t.currentTarget.dataset.timestamp:"";if(c){t.preventDefault(),t.stopImmediatePropagation();var f=null,p=1,y=t.currentTarget.closest(".edd_download_purchase_form"),b=y.querySelector(".edd_price_option_".concat(c,":checked"));b&&(f=b.value);var h=y.querySelector('input[name="edd_download_quantity"]');h&&(p=h.value),r={downloadId:c,priceId:f,quantity:p,nonce:s,addToCartForm:y,timestamp:l,token:d},a=document.querySelector("#edds-buy-now-modal-content"),o.a.open("edds-buy-now",{onShow:function(){var t,o,u,c,s,d,l,f;a.innerHTML='',(t=r.downloadId,o=r.priceId,u=r.quantity,c=r.nonce,s=r.addToCartForm,d=r.timestamp,l=r.token,f={download_id:t,price_id:o,quantity:u,nonce:c,post_data:e(s).serialize(),timestamp:d,token:l},Object(n.a)("edds_add_to_cart",f)).then((function(e){var t=e.checkout;window.eddStripe.isBuyNow=!0,a.innerHTML=t;var r=document.querySelector("#edds-buy-now-modal-content #edd-purchase-button");r.length&&(r.value=edd_stripe_vars.formLoadingText),window.EDD_Checkout.init(),document.querySelector("#edds-buy-now-modal-content .edd_cart_amount").dataset.total>0&&(window.eddStripe.singleGateway=!0,Object(i.a)())})).fail((function(e){var t=e.message;document.querySelector("#edds-buy-now-modal-content").innerHTML=t}))},onClose:function(){window.eddStripe.intentId="",window.eddStripe.clientSecret="",window.eddStripe.intentType="",window.eddStripe.intentFingerprint="",Object(n.a)("edds_empty_cart")}})}}))})),e(document.body).on("edd_checkout_error",(function(){var e=document.querySelector("#edds-buy-now #edd-purchase-button");if(e){var t=edd_stripe_vars.i18n.completePurchase,r=document.querySelector(".edd_cart_amount").dataset,n=r.total,o=r.totalCurrency;"0"!==n&&setTimeout((function(){e.value="".concat(o," - ").concat(t)}),10)}}))}}).call(this,r(1))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(99),i=r(283),a=r(66);!function(){try{window.eddStripe=new Stripe(edd_stripe_vars.publishable_key,{betas:["elements_enable_deferred_intent_beta_1"]}),window.eddStripe._plugin={domReady:n.d,apiRequest:n.a,generateNotice:n.g,createAndMountElement:a.a,getBillingDetails:a.b},Object(n.d)(o.b,i.a)}catch(e){alert(e.message)}}()}]); \ No newline at end of file +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=384)}([function(e,t){e.exports=jQuery},,function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"f",(function(){return o.b})),r.d(t,"d",(function(){return o.a})),r.d(t,"h",(function(){return o.c})),r.d(t,"g",(function(){return i.b})),r.d(t,"j",(function(){return i.c})),r.d(t,"b",(function(){return i.a})),r.d(t,"i",(function(){return a})),r.d(t,"k",(function(){return u})),r.d(t,"e",(function(){return c})),r.d(t,"c",(function(){return s})),r(45),r(46),r(47),r(48);var n=r(30),o=r(23),i=r(31);function a(e){var t=!0;return Object(o.b)(e.querySelectorAll("input"),(function(e){e.checkValidity&&!e.checkValidity()&&(t=!1)})),t}function u(e){var t=document.createElement("input");t.type="submit",t.style.display="none",e.appendChild(t),t.click(),t.remove()}function c(e){return e?""===e.value?null:e.value:null}function s(e,t){"true"===edd_stripe_vars.debuggingEnabled&&console.log("EDD Stripe - Debugging","\n","*".repeat(e.length+5),"\n",e,"\n","*".repeat(e.length+5),"\n",JSON.stringify(t,null,4))}r(15)},function(e,t,r){var n=r(9);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(67)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t){function r(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void r(e)}u.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,c,"next",e)}function c(e){r(a,o,i,u,c,"throw",e)}u(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(49),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,r){"use strict";var n="object"==typeof document&&document.all;e.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},function(e,t,r){var n=r(4).default,o=r(13);e.exports=function(e){var t=o(e,"string");return"symbol"==n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";(function(t){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r(71))},function(e,t,r){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,r){var n=r(4).default;e.exports=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){"use strict";function n(e){return null===e?window.eddStripe:!e in window.eddStripe?"":window.eddStripe[e]}function o(e,t,r){if(window.eddStripe[e]=t,r)return window.eddStripe[e]}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}))},,,function(e,t,r){var n=r(68),o=r(69),i=r(37),a=r(70);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(49),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t,r){"use strict";var n=r(7),o=r(59),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},,function(e,t,r){"use strict";var n=r(10),o=r(85),i=r(20),a=r(86),u=r(83),c=r(82),s=n.Symbol,d=o("wks"),l=c?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(d,e)||(d[e]=u&&i(s,e)?s[e]:l("Symbol."+e)),d[e]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return u}));var n=r(2),o=r(32),i=r.n(o);function a(){Object(n.f)(arguments,(function(e){document.addEventListener("DOMContentLoaded",e)}))}function u(e){for(var t=[],r=e.nextElementSibling;r;)1===r.nodeType&&t.push(r),r=r.nextElementSibling;return t}r.d(t,"b",(function(){return i.a}))},function(e,t,r){"use strict";(function(e){r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return p})),r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return x}));var n=r(6),o=r.n(n),i=r(5),a=r.n(i),u=r(66),c=r(2);function s(){Object(u.a)(),!1!==window.eddStripe.elementMounted&&(window.eddStripe.intentFingerprint="",window.eddStripe.intentType="",window.eddStripe.intentId="",y(),e(document).off("click","#edd_purchase_form #edd_purchase_submit [type=submit]"),document.getElementById("edd-purchase-button").addEventListener("click",function(){var e=o()(a.a.mark((function e(t){var r,n,o,i,c,s,l,y,h,m,_,O,S,j,E,P,k;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x()){e.next=2;break}return e.abrupt("return");case 2:if(g()){e.next=4;break}return e.abrupt("return",!1);case 4:return t.preventDefault(),p(!1),e.prev=6,r=Object(u.b)(document.getElementById("edd_purchase_form")),e.next=10,w(r);case 10:if(n=e.sent,o=n.paymentMethod){e.next=14;break}return e.abrupt("return",!1);case 14:return e.next=16,d(o);case 16:return i=e.sent,c=i.token,s=i.client_secret,l=i.intent_type,y=i.intent_fingerprint,h=i.intent_id,window.eddStripe.intentType=l,window.eddStripe.intentFingerprint=y,window.eddStripe.intentId=h,(m=document.getElementById("edd-process-checkout-nonce")).value=c,_="PaymentIntent"===l?"confirmPayment":"confirmSetup",(O={clientSecret:s,confirmParams:{return_url:edd_stripe_vars.successPageUri},redirect:"if_required"}).confirmParams.payment_method=o.id,e.next=32,window.eddStripe[_](O);case 32:if(S=e.sent,!(j=S.error)){e.next=38;break}return v(j),b(),e.abrupt("return",!1);case 38:return e.next=40,f();case 40:E=e.sent,P=E.intent,k=E.nonce,m.value=k,"succeeded"===P.status?window.location.replace(edd_stripe_vars.successPageUri):window.location.replace(edd_stripe_vars.failurePageUri),e.next=52;break;case 47:return e.prev=47,e.t0=e.catch(6),v(e.t0),b(),e.abrupt("return",!1);case 52:case"end":return e.stop()}}),e,null,[[6,47]])})));return function(t){return e.apply(this,arguments)}}()))}function d(e){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(r){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e("#edd-process-stripe-token"),t.abrupt("return",Object(c.a)("edds_process_purchase_form",{form_data:e("#edd_purchase_form").serialize(),timestamp:n.length?n.data("timestamp"):"",token:n.length?n.data("token"):"",intent_type:window.eddStripe.intentType,intent_id:window.eddStripe.intentId,intent_fingerprint:window.eddStripe.intentFingerprint,payment_method:r}));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function f(){var t=e("#edd_purchase_form"),r=e("#edd-process-stripe-token"),n=t.serialize();if(0===t.length){var o=e("#edd-process-checkout-nonce").val();n="edd-process-checkout-nonce=".concat(o)}return Object(c.a)("edds_create_and_complete_order",{form_data:n,timestamp:r.length?r.data("timestamp"):"",token:r.length?r.data("token"):"",intent_id:window.eddStripe.intentId,intent_type:window.eddStripe.intentType})}function p(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.eddStripe.paymentElement.update({readOnly:!0}),h();var r=e("#edd-purchase-button");r.attr("data-edd-button-state","updating"),r.prop("disabled","disabled"),r.prop("readonly","readonly"),e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide(),e("#edd-stripe-payment-errors").remove(),e(".edd-stripe-alert").remove(),t&&r.parent().find(".edd-loading-ajax").remove()}function y(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];window.eddStripe.paymentElement.update({readOnly:!1});var r=e("#edd-purchase-button");r.attr("data-edd-button-state","disabled"),r.prop("disabled","disabled"),r.prop("readonly","readonly"),r.parent().find(".edd-loading-ajax").remove(),t&&(e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide(),e("#edd-stripe-payment-errors").remove(),e(".edd-stripe-alert").remove())}function b(){if(!window.eddStripe.isAtFailureLimit){window.eddStripe.paymentElement.update({readOnly:!1});var t=e("#edd-purchase-button");t.attr("data-edd-button-state","ready"),t.prop("disabled",""),t.prop("readonly",""),t.parent().find(".edd-loading-ajax").remove(),e(".edd_errors.edd-alert-error").remove(),e(".edd-error").hide()}}function h(){var t=e("#edd-purchase-button").parent();0===t.find(".edd-loading-ajax").length&&t.append('')}function v(e){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(r){var n,o,i,u,s,d,l,f;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(console.log(r),n=r.code,o=r.message,r.type,i=window.edd_stripe_vars.elementsCustomizations.i18n.errorMessages,o||(o=edd_stripe_vars.generic_error),u=n&&i[n]?i[n]:o,s=Object(c.g)(u),!n||"incomplete"===n){t.next=14;break}return t.next=8,Object(c.a)("edds_payment_elements_rate_limit_tick");case 8:if(d=t.sent,l=d.is_at_limit,f=d.message,!l){t.next=14;break}return _(f),t.abrupt("return");case 14:e(".edd-stripe-alert").remove(),e(edd_global_vars.checkout_error_anchor).before(s),e(document.body).trigger("edd_checkout_error",[r]),"incomplete"===n&&e(".edd-stripe-alert").removeClass("edd-alert-error").addClass("edd-alert-warn"),window.console&&r.responseText&&window.console.error(r.responseText);case 19:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function g(){var e=!0;return document.getElementById("edd_purchase_form").querySelectorAll("[required]").forEach((function(t){!1===t.checkValidity()&&(t.reportValidity(),e=!1)})),e}function w(e){return window.eddStripe.createPaymentMethod({elements:window.eddStripe.configuredElement,params:{billing_details:e}}).then((function(e){var t=e.error,r=e.paymentMethod;return t?(v(t),b(),!1):{paymentMethod:r}})).catch((function(e){return v(e),b(),!1}))}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";window.eddStripe.isAtFailureLimit=!0,window.eddStripe.paymentElement.unmount(),e("#edd_cc_fields").slideUp().remove();var r=e("#edd-purchase-button");r.remove();var n=Object(c.g)(t,"error");e(".edd-stripe-alert").remove(),e(edd_global_vars.checkout_error_anchor).before(n)}function x(){var e=document.getElementById("edd-process-stripe-token");return e||(e=document.getElementById("edd-stripe-payment-element"))&&edd_global_vars.showStoreErrors&&console.warn("Please update your custom checkout to use edds_get_tokenizer_input() for a more secure checkout."),!!e&&document.querySelector(".edd_cart_total .edd_cart_amount").dataset.total>0}}).call(this,r(0))},,function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"error",r=document.createElement("p");return r.classList.add("edd-alert"),r.classList.add("edd-stripe-alert"),r.style.clear="both","error"===t?r.classList.add("edd-alert-error"):r.classList.add("edd-alert-success"),r.innerHTML=e||edd_stripe_vars.generic_error,r}function o(t){var r=t.errorType,o=t.errorMessage,i=t.errorContainer,a=t.errorContainerReplace,u=void 0===a||a,c=e(i),s=n(o,r);!0===u?c.html(s):c.before(s)}function i(t){e(t).html("")}r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return i}))}).call(this,r(0))},function(e,t){var r=/^(?:0|[1-9]\d*)$/;function n(e,t){for(var r=-1,n=e?e.length:0;++r-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function v(e){return h(e)?function(e,t){var r=b(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&h(e)}(e)&&u.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==c.call(e))}(e)?function(e,t){for(var r=-1,n=Array(e);++rthis.length)&&-1!==this.indexOf(e,t)})},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t){Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),r=t.length,n=new Array(r);r--;)n[r]=[t[r],e[t[r]]];return n})},function(e,t){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},function(e,t,r){"use strict";var n=r(11);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,r){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){"use strict";var n=r(78),o=r(79);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";var n=r(7),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,r){"use strict";e.exports=function(e){return null==e}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},function(e,t,r){"use strict";var n=r(56),o=r(53);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},function(e,t,r){"use strict";var n=r(8),o=r(84),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},function(e,t,r){"use strict";var n=r(114),o=r(10),i=r(58),a=e.exports=o["__core-js_shared__"]||i("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.36.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,r){"use strict";var n=r(10),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},function(e,t,r){"use strict";var n=r(79),o=Object;e.exports=function(e){return o(n(e))}},,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return O}));var n=r(6),o=r.n(n),i=r(18),a=r.n(i),u=r(3),c=r.n(u),s=r(5),d=r.n(s),l=r(2),f=r(15),p=r(24);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(26);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},,,,function(e,t,r){"use strict";var n=r(10),o=r(76).f,i=r(88),a=r(117),u=r(58),c=r(123),s=r(130);e.exports=function(e,t){var r,d,l,f,p,y=e.target,b=e.global,h=e.stat;if(r=b?n:h?n[y]||u(y,{}):n[y]&&n[y].prototype)for(d in t){if(f=t[d],l=e.dontCallGetSet?(p=o(r,d))&&p.value:r[d],!s(b?d:y+(h?".":"#")+d,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;c(f,l)}(e.sham||l&&l.sham)&&i(f,"sham",!0),a(r,d,f,e)}}},function(e,t,r){"use strict";var n=r(14),o=r(19),i=r(77),a=r(50),u=r(51),c=r(80),s=r(20),d=r(87),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=u(e),t=c(t),d)try{return l(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(52),a=Object,u=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?u(e,""):a(e)}:a},function(e,t,r){"use strict";var n=r(53),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(109),o=r(81);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},function(e,t,r){"use strict";var n=r(54),o=r(8),i=r(110),a=r(82),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,u(e))}},function(e,t,r){"use strict";var n=r(83);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){"use strict";var n=r(111),o=r(11),i=r(10).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,t,r){"use strict";var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,r){"use strict";var n=r(57);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},function(e,t,r){"use strict";var n=r(7),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},function(e,t,r){"use strict";var n=r(14),o=r(11),i=r(115);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(57),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(7),o=r(20),i=r(51),a=r(126).indexOf,u=r(90),c=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,d=[];for(r in n)!o(u,r)&&o(n,r)&&c(d,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(d,r)||c(d,r));return d}},function(e,t,r){"use strict";var n=r(128);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},function(e,t,r){"use strict";var n=r(129);e.exports=function(e){return n(e.length)}},function(e,t,r){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,r){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";var n=r(141),o=r(8),i=r(52),a=r(22)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=u(e),a))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},function(e,t,r){"use strict";var n=r(97),o=r(55),i=r(53),a=r(96),u=r(22)("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[n(e)]}},function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i}));var n=r(24),o=r(15);function i(){if(Object(o.b)("elementsTarget","#edd-stripe-payment-element"),"1"===edd_scripts.is_checkout){var t=document.querySelector('input[name="edd-gateway"]');window.eddStripe.isBuyNow=!1,t&&"stripe"===t.value?(Object(o.b)("singleGateway",!0),Object(n.d)()):(Object(o.b)("singleGateway",!1),e(document.body).on("edd_gateway_loaded",(function(e,t){"stripe"===t&&Object(n.d)()})))}}r.d(t,"a",(function(){return n.d}))}).call(this,r(0))},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r(3),o=r.n(n);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&this.registerTriggers.apply(this,i(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t;return(t=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(r),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(u);return Array.apply(void 0,i(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var r=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));r.length>0&&r[0].focus(),0===r.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var r=t.indexOf(document.activeElement);e.shiftKey&&0===r&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&r===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&function(e,t){for(var r=0;r')),!1},l=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''))}(e),!t)return!0;for(var r in t)d(r);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),r=i(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var r=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===r[n]&&(r[n]=[]),r[n].push(e)})),r}(r,t.openTrigger);if(!0!==t.debugMode||!1!==l(r,n))for(var o in n){var a=n[o];t.targetModal=o,t.triggers=i(a),s=new c(t)}},show:function(e,t){var r=t||{};r.targetModal=e,!0===r.debugMode&&!1===d(e)||(s&&s.removeEventListeners(),(s=new c(r)).showModal())},close:function(e){e?s.closeModalById(e):s.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=f);var p=f;function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},function(e,t,r){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,r){"use strict";var n=r(19),o=r(8),i=r(33),a=TypeError;e.exports=function(e,t){var r,u;if("string"===t&&o(r=e.toString)&&!i(u=n(r,e)))return u;if(o(r=e.valueOf)&&!i(u=n(r,e)))return u;if("string"!==t&&o(r=e.toString)&&!i(u=n(r,e)))return u;throw new a("Can't convert object to primitive value")}},function(e,t,r){"use strict";e.exports=!1},function(e,t,r){"use strict";var n=r(10),o=r(33),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){"use strict";var n=r(14),o=r(11);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,r){"use strict";var n=r(8),o=r(39),i=r(118),a=r(58);e.exports=function(e,t,r,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:t;if(n(r)&&i(r,s,u),u.global)c?e[t]=r:a(t,r);else{try{u.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(20),u=r(14),c=r(119).CONFIGURABLE,s=r(89),d=r(120),l=d.enforce,f=d.get,p=String,y=Object.defineProperty,b=n("".slice),h=n("".replace),v=n([].join),m=u&&!o((function(){return 8!==y((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===b(p(t),0,7)&&(t="["+h(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(u?y(e,"name",{value:t,configurable:!0}):e.name=t),m&&r&&a(r,"arity")&&e.length!==r.arity&&y(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?u&&y(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=l(e);return a(n,"source")||(n.source=v(g,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||s(this)}),"toString")},function(e,t,r){"use strict";var n=r(14),o=r(20),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},function(e,t,r){"use strict";var n,o,i,a=r(121),u=r(10),c=r(33),s=r(88),d=r(20),l=r(57),f=r(122),p=r(90),y=u.TypeError,b=u.WeakMap;if(a||l.state){var h=l.state||(l.state=new b);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw new y("Object already initialized");return t.facade=e,h.set(e,t),t},o=function(e){return h.get(e)||{}},i=function(e){return h.has(e)}}else{var v=f("state");p[v]=!0,n=function(e,t){if(d(e,v))throw new y("Object already initialized");return t.facade=e,s(e,v,t),t},o=function(e){return d(e,v)?e[v]:{}},i=function(e){return d(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){"use strict";var n=r(10),o=r(8),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},function(e,t,r){"use strict";var n=r(85),o=r(86),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,r){"use strict";var n=r(20),o=r(124),i=r(76),a=r(39);e.exports=function(e,t,r){for(var u=o(t),c=a.f,s=i.f,d=0;dd;)if((s=u[d++])!=s)return!0}else for(;c>d;d++)if((e||d in u)&&u[d]===r)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){"use strict";var n=r(92),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t,r){"use strict";var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},function(e,t,r){"use strict";var n=r(92),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},function(e,t,r){"use strict";var n=r(11),o=r(8),i=/#|\.prototype\./,a=function(e,t){var r=c[u(e)];return r===d||r!==s&&(o(t)?n(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},function(e,t,r){"use strict";var n=r(14),o=r(7),i=r(19),a=r(11),u=r(132),c=r(95),s=r(77),d=r(59),l=r(78),f=Object.assign,p=Object.defineProperty,y=o([].concat);e.exports=!f||a((function(){if(n&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection");return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==f({},e)[r]||"abcdefghijklmnopqrst"!==u(f({},t)).join("")}))?function(e,t){for(var r=d(e),o=arguments.length,a=1,f=c.f,p=s.f;o>a;)for(var b,h=l(arguments[a++]),v=f?y(u(h),f(h)):u(h),m=v.length,g=0;m>g;)b=v[g++],n&&!i(p,h,b)||(r[b]=h[b]);return r}:f},function(e,t,r){"use strict";var n=r(91),o=r(94);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){"use strict";var n=r(75),o=r(134);n({target:"Array",stat:!0,forced:!r(144)((function(e){Array.from(e)}))},{from:o})},function(e,t,r){"use strict";var n=r(135),o=r(19),i=r(59),a=r(137),u=r(139),c=r(140),s=r(93),d=r(142),l=r(143),f=r(98),p=Array;e.exports=function(e){var t=i(e),r=c(this),y=arguments.length,b=y>1?arguments[1]:void 0,h=void 0!==b;h&&(b=n(b,y>2?arguments[2]:void 0));var v,m,g,w,_,x,O=f(t),S=0;if(!O||this===p&&u(O))for(v=s(t),m=r?new this(v):p(v);v>S;S++)x=h?b(t[S],S):t[S],d(m,S,x);else for(_=(w=l(t,O)).next,m=r?new this:[];!(g=o(_,w)).done;S++)x=h?a(w,b,[g.value,S],!0):g.value,d(m,S,x);return m.length=S,m}},function(e,t,r){"use strict";var n=r(136),o=r(56),i=r(49),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,r){"use strict";var n=r(52),o=r(7);e.exports=function(e){if("Function"===n(e))return o(e)}},function(e,t,r){"use strict";var n=r(34),o=r(138);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},function(e,t,r){"use strict";var n=r(19),o=r(34),i=r(55);e.exports=function(e,t,r){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){u=!0,a=e}if("throw"===t)throw r;if(u)throw a;return o(a),r}},function(e,t,r){"use strict";var n=r(22),o=r(96),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,r){"use strict";var n=r(7),o=r(11),i=r(8),a=r(97),u=r(54),c=r(89),s=function(){},d=u("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=n(l.exec),p=!l.test(s),y=function(e){if(!i(e))return!1;try{return d(s,[],e),!0}catch(e){return!1}},b=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(l,c(e))}catch(e){return!0}};b.sham=!0,e.exports=!d||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?b:y},function(e,t,r){"use strict";var n={};n[r(22)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){"use strict";var n=r(14),o=r(39),i=r(50);e.exports=function(e,t,r){n?o.f(e,t,i(0,r)):e[t]=r}},function(e,t,r){"use strict";var n=r(19),o=r(56),i=r(34),a=r(84),u=r(98),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?u(e):t;if(o(r))return i(n(r,e));throw new c(a(e)+" is not iterable")}},function(e,t,r){"use strict";var n=r(22)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(2),o=r(102),i=r(99);function a(){Object(n.f)(document.querySelectorAll(".edds-buy-now"),(function(t){t.classList.contains("edd-free-download")||"add_to_cart"!==t.closest("form").querySelector(".edd_action_input").value&&t.addEventListener("click",(function(t){window.eddStripe.activeBuyNow=t;var r,a,u=t.currentTarget.dataset,c=u.downloadId,s=u.nonce,d=t.currentTarget.dataset.token.length?t.currentTarget.dataset.token:"",l=t.currentTarget.dataset.timestamp.length?t.currentTarget.dataset.timestamp:"";if(c){t.preventDefault(),t.stopImmediatePropagation();var f=null,p=1,y=t.currentTarget.closest(".edd_download_purchase_form"),b=y.querySelector(".edd_price_option_".concat(c,":checked"));b&&(f=b.value);var h=y.querySelector('input[name="edd_download_quantity"]');h&&(p=h.value),r={downloadId:c,priceId:f,quantity:p,nonce:s,addToCartForm:y,timestamp:l,token:d},a=document.querySelector("#edds-buy-now-modal-content"),o.a.open("edds-buy-now",{onShow:function(){var t,o,u,c,s,d,l,f;a.innerHTML='',(t=r.downloadId,o=r.priceId,u=r.quantity,c=r.nonce,s=r.addToCartForm,d=r.timestamp,l=r.token,f={download_id:t,price_id:o,quantity:u,nonce:c,post_data:e(s).serialize(),timestamp:d,token:l},Object(n.a)("edds_add_to_cart",f)).then((function(e){var t=e.checkout;window.eddStripe.isBuyNow=!0,a.innerHTML=t;var r=document.querySelector("#edds-buy-now-modal-content #edd-purchase-button");r.length&&(r.value=edd_stripe_vars.formLoadingText),window.EDD_Checkout.init(),document.querySelector("#edds-buy-now-modal-content .edd_cart_amount").dataset.total>0&&(window.eddStripe.singleGateway=!0,Object(i.a)())})).fail((function(e){var t=e.message;document.querySelector("#edds-buy-now-modal-content").innerHTML=t}))},onClose:function(){window.eddStripe.intentId="",window.eddStripe.clientSecret="",window.eddStripe.intentType="",window.eddStripe.intentFingerprint="",Object(n.a)("edds_empty_cart")}})}}))})),e(document.body).on("edd_checkout_error",(function(){var e=document.querySelector("#edds-buy-now #edd-purchase-button");if(e){var t=edd_stripe_vars.i18n.completePurchase,r=document.querySelector(".edd_cart_amount").dataset,n=r.total,o=r.totalCurrency;"0"!==n&&setTimeout((function(){e.value="".concat(o," - ").concat(t)}),10)}}))}}).call(this,r(0))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(99),i=r(283),a=r(66);!function(){try{window.eddStripe=new Stripe(edd_stripe_vars.publishable_key,{betas:["elements_enable_deferred_intent_beta_1"]}),window.eddStripe._plugin={domReady:n.d,apiRequest:n.a,generateNotice:n.g,createAndMountElement:a.a,getBillingDetails:a.b},Object(n.d)(o.b,i.a)}catch(e){alert(e.message)}}()}]); \ No newline at end of file diff --git a/easy-digital-downloads.php b/easy-digital-downloads.php index 20f06c64aa4..362aa44e40f 100755 --- a/easy-digital-downloads.php +++ b/easy-digital-downloads.php @@ -5,10 +5,10 @@ * Description: The easiest way to sell digital products with WordPress. * Author: Easy Digital Downloads * Author URI: https://easydigitaldownloads.com - * Version: 3.2.12 + * Version: 3.3.1 * Text Domain: easy-digital-downloads * Domain Path: /languages - * Requires at least: 5.8 + * Requires at least: 6.0 * Requires PHP: 7.4 * * Easy Digital Downloads is free software: you can redistribute it and/or modify @@ -27,7 +27,7 @@ * @package EDD * @category Core * @author Easy Digital Downloads - * @version 3.2.12 + * @version 3.3.1 */ // Exit if accessed directly. diff --git a/i18n/countries.php b/i18n/countries.php index e583d149485..0c34a961461 100644 --- a/i18n/countries.php +++ b/i18n/countries.php @@ -4,9 +4,6 @@ return array( '' => '', - 'US' => __( 'United States', 'easy-digital-downloads' ), - 'CA' => __( 'Canada', 'easy-digital-downloads' ), - 'GB' => __( 'United Kingdom', 'easy-digital-downloads' ), 'AF' => __( 'Afghanistan', 'easy-digital-downloads' ), 'AX' => __( 'Åland Islands', 'easy-digital-downloads' ), 'AL' => __( 'Albania', 'easy-digital-downloads' ), @@ -46,6 +43,7 @@ 'BI' => __( 'Burundi', 'easy-digital-downloads' ), 'KH' => __( 'Cambodia', 'easy-digital-downloads' ), 'CM' => __( 'Cameroon', 'easy-digital-downloads' ), + 'CA' => __( 'Canada', 'easy-digital-downloads' ), 'CV' => __( 'Cape Verde', 'easy-digital-downloads' ), 'KY' => __( 'Cayman Islands', 'easy-digital-downloads' ), 'CF' => __( 'Central African Republic', 'easy-digital-downloads' ), @@ -242,6 +240,8 @@ 'UG' => __( 'Uganda', 'easy-digital-downloads' ), 'UA' => __( 'Ukraine', 'easy-digital-downloads' ), 'AE' => __( 'United Arab Emirates', 'easy-digital-downloads' ), + 'GB' => __( 'United Kingdom', 'easy-digital-downloads' ), + 'US' => __( 'United States', 'easy-digital-downloads' ), 'UY' => __( 'Uruguay', 'easy-digital-downloads' ), 'UM' => __( 'US Minor Outlying Islands', 'easy-digital-downloads' ), 'UZ' => __( 'Uzbekistan', 'easy-digital-downloads' ), diff --git a/i18n/states-bj.php b/i18n/states-bj.php new file mode 100644 index 00000000000..1c7136f268d --- /dev/null +++ b/i18n/states-bj.php @@ -0,0 +1,26 @@ + '', + 'AL' => __( 'Alibori', 'easy-digital-downloads' ), + 'AK' => __( 'Atakora', 'easy-digital-downloads' ), + 'AQ' => __( 'Atlantique', 'easy-digital-downloads' ), + 'BO' => __( 'Borgou', 'easy-digital-downloads' ), + 'CO' => __( 'Collines', 'easy-digital-downloads' ), + 'KO' => __( 'Kouffo', 'easy-digital-downloads' ), + 'DO' => __( 'Donga', 'easy-digital-downloads' ), + 'LI' => __( 'Littoral', 'easy-digital-downloads' ), + 'MO' => __( 'Mono', 'easy-digital-downloads' ), + 'OU' => __( 'Ouémé', 'easy-digital-downloads' ), + 'PL' => __( 'Plateau', 'easy-digital-downloads' ), + 'ZO' => __( 'Zou', 'easy-digital-downloads' ), +); diff --git a/i18n/states-gb-legacy.php b/i18n/states-gb-legacy.php new file mode 100644 index 00000000000..d2e77adcf68 --- /dev/null +++ b/i18n/states-gb-legacy.php @@ -0,0 +1,144 @@ + __( 'Aberdeen City', 'easy-digital-downloads' ), + 'GB-ANN' => __( 'Antrim and Newtownabbey', 'easy-digital-downloads' ), + 'GB-AND' => __( 'Ards and North Down', 'easy-digital-downloads' ), + 'GB-AGB' => __( 'Argyll and Bute', 'easy-digital-downloads' ), + 'GB-ABC' => __( 'Armagh, Banbridge and Craigavon', 'easy-digital-downloads' ), + 'GB-BDG' => __( 'Barking and Dagenham', 'easy-digital-downloads' ), + 'GB-BNE' => __( 'Barnet', 'easy-digital-downloads' ), + 'GB-BNS' => __( 'Barnsley', 'easy-digital-downloads' ), + 'GB-BAS' => __( 'Bath and North East Somerset', 'easy-digital-downloads' ), + 'GB-BDF' => __( 'Bedford', 'easy-digital-downloads' ), + 'GB-BFS' => __( 'Belfast', 'easy-digital-downloads' ), + 'GB-BEX' => __( 'Bexley', 'easy-digital-downloads' ), + 'GB-BIR' => __( 'Birmingham', 'easy-digital-downloads' ), + 'GB-BBD' => __( 'Blackburn with Darwen', 'easy-digital-downloads' ), + 'GB-BPL' => __( 'Blackpool', 'easy-digital-downloads' ), + 'GB-BOL' => __( 'Bolton', 'easy-digital-downloads' ), + 'GB-BMH' => __( 'Bournemouth', 'easy-digital-downloads' ), + 'GB-BRC' => __( 'Bracknell Forest', 'easy-digital-downloads' ), + 'GB-BRD' => __( 'Bradford', 'easy-digital-downloads' ), + 'GB-BEN' => __( 'Brent', 'easy-digital-downloads' ), + 'GB-BNH' => __( 'Brighton and Hove', 'easy-digital-downloads' ), + 'GB-BST' => __( 'Bristol, City of', 'easy-digital-downloads' ), + 'GB-BRY' => __( 'Bromley', 'easy-digital-downloads' ), + 'GB-BUR' => __( 'Bury', 'easy-digital-downloads' ), + 'GB-CLD' => __( 'Calderdale', 'easy-digital-downloads' ), + 'GB-CMD' => __( 'Camden', 'easy-digital-downloads' ), + 'GB-CCG' => __( 'Causeway Coast and Glens', 'easy-digital-downloads' ), + 'GB-CBF' => __( 'Central Bedfordshire', 'easy-digital-downloads' ), + 'GB-CHE' => __( 'Cheshire East', 'easy-digital-downloads' ), + 'GB-CHW' => __( 'Cheshire West and Chester', 'easy-digital-downloads' ), + 'GB-COV' => __( 'Coventry', 'easy-digital-downloads' ), + 'GB-CRY' => __( 'Croydon', 'easy-digital-downloads' ), + 'GB-DAL' => __( 'Darlington', 'easy-digital-downloads' ), + 'GB-DER' => __( 'Derby', 'easy-digital-downloads' ), + 'GB-DRS' => __( 'Derry and Strabane', 'easy-digital-downloads' ), + 'GB-DNC' => __( 'Doncaster', 'easy-digital-downloads' ), + 'GB-DUD' => __( 'Dudley', 'easy-digital-downloads' ), + 'GB-DND' => __( 'Dundee City', 'easy-digital-downloads' ), + 'GB-DUR' => __( 'Durham, County', 'easy-digital-downloads' ), + 'GB-EAL' => __( 'Ealing', 'easy-digital-downloads' ), + 'GB-EDH' => __( 'Edinburgh, City of', 'easy-digital-downloads' ), + 'GB-ELS' => __( 'Eilean Siar', 'easy-digital-downloads' ), + 'GB-ENF' => __( 'Enfield', 'easy-digital-downloads' ), + 'GB-FAL' => __( 'Falkirk', 'easy-digital-downloads' ), + 'GB-FMO' => __( 'Fermanagh and Omagh', 'easy-digital-downloads' ), + 'GB-GAT' => __( 'Gateshead', 'easy-digital-downloads' ), + 'GB-GLG' => __( 'Glasgow City', 'easy-digital-downloads' ), + 'GB-GRE' => __( 'Greenwich', 'easy-digital-downloads' ), + 'GB-HCK' => __( 'Hackney', 'easy-digital-downloads' ), + 'GB-HAL' => __( 'Halton', 'easy-digital-downloads' ), + 'GB-HMF' => __( 'Hammersmith and Fulham', 'easy-digital-downloads' ), + 'GB-HRY' => __( 'Haringey', 'easy-digital-downloads' ), + 'GB-HRW' => __( 'Harrow', 'easy-digital-downloads' ), + 'GB-HPL' => __( 'Hartlepool', 'easy-digital-downloads' ), + 'GB-HAV' => __( 'Havering', 'easy-digital-downloads' ), + 'GB-HIL' => __( 'Hillingdon', 'easy-digital-downloads' ), + 'GB-HNS' => __( 'Hounslow', 'easy-digital-downloads' ), + 'GB-IOS' => __( 'Isles of Scilly', 'easy-digital-downloads' ), + 'GB-ISL' => __( 'Islington', 'easy-digital-downloads' ), + 'GB-KEC' => __( 'Kensington and Chelsea', 'easy-digital-downloads' ), + 'GB-KHL' => __( 'Kingston upon Hull', 'easy-digital-downloads' ), + 'GB-KTT' => __( 'Kingston upon Thames', 'easy-digital-downloads' ), + 'GB-KIR' => __( 'Kirklees', 'easy-digital-downloads' ), + 'GB-KWL' => __( 'Knowsley', 'easy-digital-downloads' ), + 'GB-LBH' => __( 'Lambeth', 'easy-digital-downloads' ), + 'GB-LDS' => __( 'Leeds', 'easy-digital-downloads' ), + 'GB-LEW' => __( 'Lewisham', 'easy-digital-downloads' ), + 'GB-LBC' => __( 'Lisburn and Castlereagh', 'easy-digital-downloads' ), + 'GB-LIV' => __( 'Liverpool', 'easy-digital-downloads' ), + 'GB-LND' => __( 'London, City of', 'easy-digital-downloads' ), + 'GB-LUT' => __( 'Luton', 'easy-digital-downloads' ), + 'GB-MAN' => __( 'Manchester', 'easy-digital-downloads' ), + 'GB-MDW' => __( 'Medway', 'easy-digital-downloads' ), + 'GB-MRT' => __( 'Merton', 'easy-digital-downloads' ), + 'GB-MEA' => __( 'Mid and East Antrim', 'easy-digital-downloads' ), + 'GB-MUL' => __( 'Mid Ulster', 'easy-digital-downloads' ), + 'GB-MDB' => __( 'Middlesbrough', 'easy-digital-downloads' ), + 'GB-MIK' => __( 'Milton Keynes', 'easy-digital-downloads' ), + 'GB-NET' => __( 'Newcastle upon Tyne', 'easy-digital-downloads' ), + 'GB-NWM' => __( 'Newham', 'easy-digital-downloads' ), + 'GB-NMD' => __( 'Newry, Mourne and Down', 'easy-digital-downloads' ), + 'GB-NEL' => __( 'North East Lincolnshire', 'easy-digital-downloads' ), + 'GB-NLN' => __( 'North Lincolnshire', 'easy-digital-downloads' ), + 'GB-NTY' => __( 'North Tyneside', 'easy-digital-downloads' ), + 'GB-NGM' => __( 'Nottingham', 'easy-digital-downloads' ), + 'GB-OLD' => __( 'Oldham', 'easy-digital-downloads' ), + 'GB-ORK' => __( 'Orkney Islands', 'easy-digital-downloads' ), + 'GB-PTE' => __( 'Peterborough', 'easy-digital-downloads' ), + 'GB-PLY' => __( 'Plymouth', 'easy-digital-downloads' ), + 'GB-POL' => __( 'Poole', 'easy-digital-downloads' ), + 'GB-POR' => __( 'Portsmouth', 'easy-digital-downloads' ), + 'GB-RDG' => __( 'Reading', 'easy-digital-downloads' ), + 'GB-RDB' => __( 'Redbridge', 'easy-digital-downloads' ), + 'GB-RCC' => __( 'Redcar and Cleveland', 'easy-digital-downloads' ), + 'GB-RCT' => __( 'Rhondda, Cynon, Taff', 'easy-digital-downloads' ), + 'GB-RIC' => __( 'Richmond upon Thames', 'easy-digital-downloads' ), + 'GB-RCH' => __( 'Rochdale', 'easy-digital-downloads' ), + 'GB-ROT' => __( 'Rotherham', 'easy-digital-downloads' ), + 'GB-SLF' => __( 'Salford', 'easy-digital-downloads' ), + 'GB-SAW' => __( 'Sandwell', 'easy-digital-downloads' ), + 'GB-SCB' => __( 'Scottish Borders, The', 'easy-digital-downloads' ), + 'GB-SFT' => __( 'Sefton', 'easy-digital-downloads' ), + 'GB-SHF' => __( 'Sheffield', 'easy-digital-downloads' ), + 'GB-SLG' => __( 'Slough', 'easy-digital-downloads' ), + 'GB-SOL' => __( 'Solihull', 'easy-digital-downloads' ), + 'GB-STY' => __( 'South Tyneside', 'easy-digital-downloads' ), + 'GB-STH' => __( 'Southampton', 'easy-digital-downloads' ), + 'GB-SOS' => __( 'Southend-on-Sea', 'easy-digital-downloads' ), + 'GB-SWK' => __( 'Southwark', 'easy-digital-downloads' ), + 'GB-SHN' => __( 'St. Helens', 'easy-digital-downloads' ), + 'GB-STG' => __( 'Stirling', 'easy-digital-downloads' ), + 'GB-SKP' => __( 'Stockport', 'easy-digital-downloads' ), + 'GB-STT' => __( 'Stockton-on-Tees', 'easy-digital-downloads' ), + 'GB-STE' => __( 'Stoke-on-Trent', 'easy-digital-downloads' ), + 'GB-SND' => __( 'Sunderland', 'easy-digital-downloads' ), + 'GB-STN' => __( 'Sutton', 'easy-digital-downloads' ), + 'GB-SWD' => __( 'Swindon', 'easy-digital-downloads' ), + 'GB-TAM' => __( 'Tameside', 'easy-digital-downloads' ), + 'GB-TFW' => __( 'Telford and Wrekin', 'easy-digital-downloads' ), + 'GB-THR' => __( 'Thurrock', 'easy-digital-downloads' ), + 'GB-TOB' => __( 'Torbay', 'easy-digital-downloads' ), + 'GB-TWH' => __( 'Tower Hamlets', 'easy-digital-downloads' ), + 'GB-TRF' => __( 'Trafford', 'easy-digital-downloads' ), + 'GB-VGL' => __( 'Vale of Glamorgan, The', 'easy-digital-downloads' ), + 'GB-WKF' => __( 'Wakefield', 'easy-digital-downloads' ), + 'GB-WLL' => __( 'Walsall', 'easy-digital-downloads' ), + 'GB-WFT' => __( 'Waltham Forest', 'easy-digital-downloads' ), + 'GB-WND' => __( 'Wandsworth', 'easy-digital-downloads' ), + 'GB-WRT' => __( 'Warrington', 'easy-digital-downloads' ), + 'GB-WAR' => __( 'Warwickshire', 'easy-digital-downloads' ), + 'GB-WBK' => __( 'West Berkshire', 'easy-digital-downloads' ), + 'GB-WSM' => __( 'Westminster', 'easy-digital-downloads' ), + 'GB-WGN' => __( 'Wigan', 'easy-digital-downloads' ), + 'GB-WNM' => __( 'Windsor and Maidenhead', 'easy-digital-downloads' ), + 'GB-WRL' => __( 'Wirral', 'easy-digital-downloads' ), + 'GB-WOK' => __( 'Wokingham', 'easy-digital-downloads' ), + 'GB-WLV' => __( 'Wolverhampton', 'easy-digital-downloads' ), + 'GB-YOR' => __( 'York', 'easy-digital-downloads' ), +); diff --git a/i18n/states-gb.php b/i18n/states-gb.php index a415a308da9..3739ae9deba 100644 --- a/i18n/states-gb.php +++ b/i18n/states-gb.php @@ -4,221 +4,112 @@ return array( '' => '', - 'GB-ABE' => __( 'Aberdeen City', 'easy-digital-downloads' ), 'GB-ABD' => __( 'Aberdeenshire', 'easy-digital-downloads' ), 'GB-ANS' => __( 'Angus', 'easy-digital-downloads' ), - 'GB-ANN' => __( 'Antrim and Newtownabbey', 'easy-digital-downloads' ), - 'GB-AND' => __( 'Ards and North Down', 'easy-digital-downloads' ), - 'GB-AGB' => __( 'Argyll and Bute', 'easy-digital-downloads' ), - 'GB-ABC' => __( 'Armagh, Banbridge and Craigavon', 'easy-digital-downloads' ), - 'GB-BDG' => __( 'Barking and Dagenham', 'easy-digital-downloads' ), - 'GB-BNE' => __( 'Barnet', 'easy-digital-downloads' ), - 'GB-BNS' => __( 'Barnsley', 'easy-digital-downloads' ), - 'GB-BAS' => __( 'Bath and North East Somerset', 'easy-digital-downloads' ), - 'GB-BDF' => __( 'Bedford', 'easy-digital-downloads' ), - 'GB-BFS' => __( 'Belfast', 'easy-digital-downloads' ), - 'GB-BEX' => __( 'Bexley', 'easy-digital-downloads' ), - 'GB-BIR' => __( 'Birmingham', 'easy-digital-downloads' ), - 'GB-BBD' => __( 'Blackburn with Darwen', 'easy-digital-downloads' ), - 'GB-BPL' => __( 'Blackpool', 'easy-digital-downloads' ), + 'GB-ANN' => __( 'Antrim', 'easy-digital-downloads' ), + 'GB-AGB' => __( 'Argyll', 'easy-digital-downloads' ), + 'GB-ABC' => __( 'Armagh', 'easy-digital-downloads' ), + 'GB-BAS' => __( 'Banffshire', 'easy-digital-downloads' ), + 'GB-CBF' => __( 'Bedfordshire', 'easy-digital-downloads' ), + 'GB-WBK' => __( 'Berkshire', 'easy-digital-downloads' ), + 'GB-BEW' => __( 'Berwickshire', 'easy-digital-downloads' ), 'GB-BGW' => __( 'Blaenau Gwent', 'easy-digital-downloads' ), - 'GB-BOL' => __( 'Bolton', 'easy-digital-downloads' ), - 'GB-BMH' => __( 'Bournemouth', 'easy-digital-downloads' ), - 'GB-BRC' => __( 'Bracknell Forest', 'easy-digital-downloads' ), - 'GB-BRD' => __( 'Bradford', 'easy-digital-downloads' ), - 'GB-BEN' => __( 'Brent', 'easy-digital-downloads' ), 'GB-BGE' => __( 'Bridgend', 'easy-digital-downloads' ), - 'GB-BNH' => __( 'Brighton and Hove', 'easy-digital-downloads' ), - 'GB-BST' => __( 'Bristol, City of', 'easy-digital-downloads' ), - 'GB-BRY' => __( 'Bromley', 'easy-digital-downloads' ), + 'GB-BST' => __( 'Bristol', 'easy-digital-downloads' ), 'GB-BKM' => __( 'Buckinghamshire', 'easy-digital-downloads' ), - 'GB-BUR' => __( 'Bury', 'easy-digital-downloads' ), 'GB-CAY' => __( 'Caerphilly', 'easy-digital-downloads' ), - 'GB-CLD' => __( 'Calderdale', 'easy-digital-downloads' ), + 'GB-CAI' => __( 'Caithness', 'easy-digital-downloads' ), 'GB-CAM' => __( 'Cambridgeshire', 'easy-digital-downloads' ), - 'GB-CMD' => __( 'Camden', 'easy-digital-downloads' ), 'GB-CRF' => __( 'Cardiff', 'easy-digital-downloads' ), 'GB-CMN' => __( 'Carmarthenshire', 'easy-digital-downloads' ), - 'GB-CCG' => __( 'Causeway Coast and Glens', 'easy-digital-downloads' ), - 'GB-CBF' => __( 'Central Bedfordshire', 'easy-digital-downloads' ), 'GB-CGN' => __( 'Ceredigion', 'easy-digital-downloads' ), - 'GB-CHE' => __( 'Cheshire East', 'easy-digital-downloads' ), - 'GB-CHW' => __( 'Cheshire West and Chester', 'easy-digital-downloads' ), + 'GB-CHE' => __( 'Cheshire', 'easy-digital-downloads' ), 'GB-CLK' => __( 'Clackmannanshire', 'easy-digital-downloads' ), 'GB-CWY' => __( 'Conwy', 'easy-digital-downloads' ), 'GB-CON' => __( 'Cornwall', 'easy-digital-downloads' ), - 'GB-COV' => __( 'Coventry', 'easy-digital-downloads' ), - 'GB-CRY' => __( 'Croydon', 'easy-digital-downloads' ), + 'GB-NMD' => __( 'County Down', 'easy-digital-downloads' ), + 'GB-DUR' => __( 'County Durham', 'easy-digital-downloads' ), 'GB-CMA' => __( 'Cumbria', 'easy-digital-downloads' ), - 'GB-DAL' => __( 'Darlington', 'easy-digital-downloads' ), 'GB-DEN' => __( 'Denbighshire', 'easy-digital-downloads' ), - 'GB-DER' => __( 'Derby', 'easy-digital-downloads' ), 'GB-DBY' => __( 'Derbyshire', 'easy-digital-downloads' ), - 'GB-DRS' => __( 'Derry and Strabane', 'easy-digital-downloads' ), 'GB-DEV' => __( 'Devon', 'easy-digital-downloads' ), - 'GB-DNC' => __( 'Doncaster', 'easy-digital-downloads' ), 'GB-DOR' => __( 'Dorset', 'easy-digital-downloads' ), - 'GB-DUD' => __( 'Dudley', 'easy-digital-downloads' ), 'GB-DGY' => __( 'Dumfries and Galloway', 'easy-digital-downloads' ), - 'GB-DND' => __( 'Dundee City', 'easy-digital-downloads' ), - 'GB-DUR' => __( 'Durham, County', 'easy-digital-downloads' ), - 'GB-EAL' => __( 'Ealing', 'easy-digital-downloads' ), 'GB-EAY' => __( 'East Ayrshire', 'easy-digital-downloads' ), 'GB-EDU' => __( 'East Dunbartonshire', 'easy-digital-downloads' ), 'GB-ELN' => __( 'East Lothian', 'easy-digital-downloads' ), 'GB-ERW' => __( 'East Renfrewshire', 'easy-digital-downloads' ), 'GB-ERY' => __( 'East Riding of Yorkshire', 'easy-digital-downloads' ), 'GB-ESX' => __( 'East Sussex', 'easy-digital-downloads' ), - 'GB-EDH' => __( 'Edinburgh, City of', 'easy-digital-downloads' ), - 'GB-ELS' => __( 'Eilean Siar', 'easy-digital-downloads' ), - 'GB-ENF' => __( 'Enfield', 'easy-digital-downloads' ), 'GB-ESS' => __( 'Essex', 'easy-digital-downloads' ), - 'GB-FAL' => __( 'Falkirk', 'easy-digital-downloads' ), - 'GB-FMO' => __( 'Fermanagh and Omagh', 'easy-digital-downloads' ), + 'GB-FMO' => __( 'Fermanagh', 'easy-digital-downloads' ), 'GB-FIF' => __( 'Fife', 'easy-digital-downloads' ), 'GB-FLN' => __( 'Flintshire', 'easy-digital-downloads' ), - 'GB-GAT' => __( 'Gateshead', 'easy-digital-downloads' ), - 'GB-GLG' => __( 'Glasgow City', 'easy-digital-downloads' ), 'GB-GLS' => __( 'Gloucestershire', 'easy-digital-downloads' ), - 'GB-GRE' => __( 'Greenwich', 'easy-digital-downloads' ), + 'GB-LND' => __( 'Greater London', 'easy-digital-downloads' ), + 'GB-MAN' => __( 'Greater Manchester', 'easy-digital-downloads' ), 'GB-GWN' => __( 'Gwynedd', 'easy-digital-downloads' ), - 'GB-HCK' => __( 'Hackney', 'easy-digital-downloads' ), - 'GB-HAL' => __( 'Halton', 'easy-digital-downloads' ), - 'GB-HMF' => __( 'Hammersmith and Fulham', 'easy-digital-downloads' ), 'GB-HAM' => __( 'Hampshire', 'easy-digital-downloads' ), - 'GB-HRY' => __( 'Haringey', 'easy-digital-downloads' ), - 'GB-HRW' => __( 'Harrow', 'easy-digital-downloads' ), - 'GB-HPL' => __( 'Hartlepool', 'easy-digital-downloads' ), - 'GB-HAV' => __( 'Havering', 'easy-digital-downloads' ), 'GB-HEF' => __( 'Herefordshire', 'easy-digital-downloads' ), 'GB-HRT' => __( 'Hertfordshire', 'easy-digital-downloads' ), 'GB-HLD' => __( 'Highland', 'easy-digital-downloads' ), - 'GB-HIL' => __( 'Hillingdon', 'easy-digital-downloads' ), - 'GB-HNS' => __( 'Hounslow', 'easy-digital-downloads' ), 'GB-IVC' => __( 'Inverclyde', 'easy-digital-downloads' ), 'GB-AGY' => __( 'Isle of Anglesey', 'easy-digital-downloads' ), 'GB-IOW' => __( 'Isle of Wight', 'easy-digital-downloads' ), - 'GB-IOS' => __( 'Isles of Scilly', 'easy-digital-downloads' ), - 'GB-ISL' => __( 'Islington', 'easy-digital-downloads' ), - 'GB-KEC' => __( 'Kensington and Chelsea', 'easy-digital-downloads' ), 'GB-KEN' => __( 'Kent', 'easy-digital-downloads' ), - 'GB-KHL' => __( 'Kingston upon Hull', 'easy-digital-downloads' ), - 'GB-KTT' => __( 'Kingston upon Thames', 'easy-digital-downloads' ), - 'GB-KIR' => __( 'Kirklees', 'easy-digital-downloads' ), - 'GB-KWL' => __( 'Knowsley', 'easy-digital-downloads' ), - 'GB-LBH' => __( 'Lambeth', 'easy-digital-downloads' ), + 'GB-KIN' => __( 'Kincardineshire', 'easy-digital-downloads' ), 'GB-LAN' => __( 'Lancashire', 'easy-digital-downloads' ), - 'GB-LDS' => __( 'Leeds', 'easy-digital-downloads' ), - 'GB-LCE' => __( 'Leicester', 'easy-digital-downloads' ), 'GB-LEC' => __( 'Leicestershire', 'easy-digital-downloads' ), - 'GB-LEW' => __( 'Lewisham', 'easy-digital-downloads' ), 'GB-LIN' => __( 'Lincolnshire', 'easy-digital-downloads' ), - 'GB-LBC' => __( 'Lisburn and Castlereagh', 'easy-digital-downloads' ), - 'GB-LIV' => __( 'Liverpool', 'easy-digital-downloads' ), - 'GB-LND' => __( 'London, City of', 'easy-digital-downloads' ), - 'GB-LUT' => __( 'Luton', 'easy-digital-downloads' ), - 'GB-MAN' => __( 'Manchester', 'easy-digital-downloads' ), - 'GB-MDW' => __( 'Medway', 'easy-digital-downloads' ), + 'GB-LON' => __( 'Londonderry', 'easy-digital-downloads' ), + 'GB-MER' => __( 'Merseyside', 'easy-digital-downloads' ), 'GB-MTY' => __( 'Merthyr Tydfil', 'easy-digital-downloads' ), - 'GB-MRT' => __( 'Merton', 'easy-digital-downloads' ), - 'GB-MEA' => __( 'Mid and East Antrim', 'easy-digital-downloads' ), - 'GB-MUL' => __( 'Mid Ulster', 'easy-digital-downloads' ), - 'GB-MDB' => __( 'Middlesbrough', 'easy-digital-downloads' ), 'GB-MLN' => __( 'Midlothian', 'easy-digital-downloads' ), - 'GB-MIK' => __( 'Milton Keynes', 'easy-digital-downloads' ), 'GB-MON' => __( 'Monmouthshire', 'easy-digital-downloads' ), 'GB-MRY' => __( 'Moray', 'easy-digital-downloads' ), 'GB-NTL' => __( 'Neath Port Talbot', 'easy-digital-downloads' ), - 'GB-NET' => __( 'Newcastle upon Tyne', 'easy-digital-downloads' ), - 'GB-NWM' => __( 'Newham', 'easy-digital-downloads' ), 'GB-NWP' => __( 'Newport', 'easy-digital-downloads' ), - 'GB-NMD' => __( 'Newry, Mourne and Down', 'easy-digital-downloads' ), 'GB-NFK' => __( 'Norfolk', 'easy-digital-downloads' ), 'GB-NAY' => __( 'North Ayrshire', 'easy-digital-downloads' ), - 'GB-NEL' => __( 'North East Lincolnshire', 'easy-digital-downloads' ), 'GB-NLK' => __( 'North Lanarkshire', 'easy-digital-downloads' ), - 'GB-NLN' => __( 'North Lincolnshire', 'easy-digital-downloads' ), 'GB-NSM' => __( 'North Somerset', 'easy-digital-downloads' ), - 'GB-NTY' => __( 'North Tyneside', 'easy-digital-downloads' ), 'GB-NYK' => __( 'North Yorkshire', 'easy-digital-downloads' ), 'GB-NTH' => __( 'Northamptonshire', 'easy-digital-downloads' ), 'GB-NBL' => __( 'Northumberland', 'easy-digital-downloads' ), - 'GB-NGM' => __( 'Nottingham', 'easy-digital-downloads' ), 'GB-NTT' => __( 'Nottinghamshire', 'easy-digital-downloads' ), - 'GB-OLD' => __( 'Oldham', 'easy-digital-downloads' ), - 'GB-ORK' => __( 'Orkney Islands', 'easy-digital-downloads' ), + 'GB-ORK' => __( 'Orkney', 'easy-digital-downloads' ), 'GB-OXF' => __( 'Oxfordshire', 'easy-digital-downloads' ), 'GB-PEM' => __( 'Pembrokeshire', 'easy-digital-downloads' ), 'GB-PKN' => __( 'Perth and Kinross', 'easy-digital-downloads' ), - 'GB-PTE' => __( 'Peterborough', 'easy-digital-downloads' ), - 'GB-PLY' => __( 'Plymouth', 'easy-digital-downloads' ), - 'GB-POL' => __( 'Poole', 'easy-digital-downloads' ), - 'GB-POR' => __( 'Portsmouth', 'easy-digital-downloads' ), 'GB-POW' => __( 'Powys', 'easy-digital-downloads' ), - 'GB-RDG' => __( 'Reading', 'easy-digital-downloads' ), - 'GB-RDB' => __( 'Redbridge', 'easy-digital-downloads' ), - 'GB-RCC' => __( 'Redcar and Cleveland', 'easy-digital-downloads' ), 'GB-RFW' => __( 'Renfrewshire', 'easy-digital-downloads' ), - 'GB-RCT' => __( 'Rhondda, Cynon, Taff', 'easy-digital-downloads' ), - 'GB-RIC' => __( 'Richmond upon Thames', 'easy-digital-downloads' ), - 'GB-RCH' => __( 'Rochdale', 'easy-digital-downloads' ), - 'GB-ROT' => __( 'Rotherham', 'easy-digital-downloads' ), + 'GB-RCT' => __( 'Rhondda Cynon Taff', 'easy-digital-downloads' ), 'GB-RUT' => __( 'Rutland', 'easy-digital-downloads' ), - 'GB-SLF' => __( 'Salford', 'easy-digital-downloads' ), - 'GB-SAW' => __( 'Sandwell', 'easy-digital-downloads' ), - 'GB-SCB' => __( 'Scottish Borders, The', 'easy-digital-downloads' ), - 'GB-SFT' => __( 'Sefton', 'easy-digital-downloads' ), - 'GB-SHF' => __( 'Sheffield', 'easy-digital-downloads' ), + 'GB-SCB' => __( 'Scottish Borders', 'easy-digital-downloads' ), 'GB-ZET' => __( 'Shetland Islands', 'easy-digital-downloads' ), 'GB-SHR' => __( 'Shropshire', 'easy-digital-downloads' ), - 'GB-SLG' => __( 'Slough', 'easy-digital-downloads' ), - 'GB-SOL' => __( 'Solihull', 'easy-digital-downloads' ), 'GB-SOM' => __( 'Somerset', 'easy-digital-downloads' ), 'GB-SAY' => __( 'South Ayrshire', 'easy-digital-downloads' ), 'GB-SGC' => __( 'South Gloucestershire', 'easy-digital-downloads' ), 'GB-SLK' => __( 'South Lanarkshire', 'easy-digital-downloads' ), - 'GB-STY' => __( 'South Tyneside', 'easy-digital-downloads' ), - 'GB-STH' => __( 'Southampton', 'easy-digital-downloads' ), - 'GB-SOS' => __( 'Southend-on-Sea', 'easy-digital-downloads' ), - 'GB-SWK' => __( 'Southwark', 'easy-digital-downloads' ), - 'GB-SHN' => __( 'St. Helens', 'easy-digital-downloads' ), + 'GB-STY' => __( 'South Yorkshire', 'easy-digital-downloads' ), 'GB-STS' => __( 'Staffordshire', 'easy-digital-downloads' ), - 'GB-STG' => __( 'Stirling', 'easy-digital-downloads' ), - 'GB-SKP' => __( 'Stockport', 'easy-digital-downloads' ), - 'GB-STT' => __( 'Stockton-on-Tees', 'easy-digital-downloads' ), - 'GB-STE' => __( 'Stoke-on-Trent', 'easy-digital-downloads' ), + 'GB-STG' => __( 'Stirlingshire', 'easy-digital-downloads' ), 'GB-SFK' => __( 'Suffolk', 'easy-digital-downloads' ), - 'GB-SND' => __( 'Sunderland', 'easy-digital-downloads' ), 'GB-SRY' => __( 'Surrey', 'easy-digital-downloads' ), - 'GB-STN' => __( 'Sutton', 'easy-digital-downloads' ), 'GB-SWA' => __( 'Swansea', 'easy-digital-downloads' ), - 'GB-SWD' => __( 'Swindon', 'easy-digital-downloads' ), - 'GB-TAM' => __( 'Tameside', 'easy-digital-downloads' ), - 'GB-TFW' => __( 'Telford and Wrekin', 'easy-digital-downloads' ), - 'GB-THR' => __( 'Thurrock', 'easy-digital-downloads' ), - 'GB-TOB' => __( 'Torbay', 'easy-digital-downloads' ), 'GB-TOF' => __( 'Torfaen', 'easy-digital-downloads' ), - 'GB-TWH' => __( 'Tower Hamlets', 'easy-digital-downloads' ), - 'GB-TRF' => __( 'Trafford', 'easy-digital-downloads' ), - 'GB-VGL' => __( 'Vale of Glamorgan, The', 'easy-digital-downloads' ), - 'GB-WKF' => __( 'Wakefield', 'easy-digital-downloads' ), - 'GB-WLL' => __( 'Walsall', 'easy-digital-downloads' ), - 'GB-WFT' => __( 'Waltham Forest', 'easy-digital-downloads' ), - 'GB-WND' => __( 'Wandsworth', 'easy-digital-downloads' ), - 'GB-WRT' => __( 'Warrington', 'easy-digital-downloads' ), + 'GB-TAW' => __( 'Tyne & Wear', 'easy-digital-downloads' ), + 'GB-TYR' => __( 'Tyrone', 'easy-digital-downloads' ), + 'GB-VGL' => __( 'Vale of Glamorgan', 'easy-digital-downloads' ), 'GB-WAR' => __( 'Warwickshire', 'easy-digital-downloads' ), - 'GB-WBK' => __( 'West Berkshire', 'easy-digital-downloads' ), 'GB-WDU' => __( 'West Dunbartonshire', 'easy-digital-downloads' ), 'GB-WLN' => __( 'West Lothian', 'easy-digital-downloads' ), + 'GB-WEM' => __( 'West Midlands', 'easy-digital-downloads' ), 'GB-WSX' => __( 'West Sussex', 'easy-digital-downloads' ), - 'GB-WSM' => __( 'Westminster', 'easy-digital-downloads' ), - 'GB-WGN' => __( 'Wigan', 'easy-digital-downloads' ), + 'GB-WSY' => __( 'West Yorkshire', 'easy-digital-downloads' ), + 'GB-WSI' => __( 'Western Isles', 'easy-digital-downloads' ), 'GB-WIL' => __( 'Wiltshire', 'easy-digital-downloads' ), - 'GB-WNM' => __( 'Windsor and Maidenhead', 'easy-digital-downloads' ), - 'GB-WRL' => __( 'Wirral', 'easy-digital-downloads' ), - 'GB-WOK' => __( 'Wokingham', 'easy-digital-downloads' ), - 'GB-WLV' => __( 'Wolverhampton', 'easy-digital-downloads' ), 'GB-WOR' => __( 'Worcestershire', 'easy-digital-downloads' ), 'GB-WRX' => __( 'Wrexham', 'easy-digital-downloads' ), - 'GB-YOR' => __( 'York', 'easy-digital-downloads' ), ); diff --git a/i18n/states.php b/i18n/states.php index e18531b3c9b..f3cb0e9d239 100644 --- a/i18n/states.php +++ b/i18n/states.php @@ -55,6 +55,7 @@ 'WA' => __( 'Western Australia', 'easy-digital-downloads' ), ), 'BD' => include EDD_PLUGIN_DIR . 'i18n/states-bd.php', + 'BJ' => include EDD_PLUGIN_DIR . 'i18n/states-bj.php', 'BR' => array( '' => '', 'AC' => __( 'Acre', 'easy-digital-downloads' ), diff --git a/includes/EDD_SL_Plugin_Updater.php b/includes/EDD_SL_Plugin_Updater.php index 7ba82b13b7a..1b66129d716 100755 --- a/includes/EDD_SL_Plugin_Updater.php +++ b/includes/EDD_SL_Plugin_Updater.php @@ -9,18 +9,18 @@ * Allows plugins to use their own update API. * * @author Easy Digital Downloads - * @version 1.9.1 + * @version 1.9.3 */ class EDD_SL_Plugin_Updater { - private $api_url = ''; - private $api_data = array(); - private $plugin_file = ''; - private $name = ''; - private $slug = ''; - private $version = ''; - private $wp_override = false; - private $beta = false; + private $api_url = ''; + private $api_data = array(); + private $plugin_file = ''; + private $name = ''; + private $slug = ''; + private $version = ''; + private $wp_override = false; + private $beta = false; private $failed_request_cache_key; /** @@ -29,9 +29,9 @@ class EDD_SL_Plugin_Updater { * @uses plugin_basename() * @uses hook() * - * @param string $_api_url The URL pointing to the custom API endpoint. - * @param string $_plugin_file Path to the plugin file. - * @param array $_api_data Optional data to send with API calls. + * @param string $_api_url The URL pointing to the custom API endpoint. + * @param string $_plugin_file Path to the plugin file. + * @param array $_api_data Optional data to send with API calls. */ public function __construct( $_api_url, $_plugin_file, $_api_data = null ) { @@ -41,7 +41,7 @@ public function __construct( $_api_url, $_plugin_file, $_api_data = null ) { $this->api_data = $_api_data; $this->plugin_file = $_plugin_file; $this->name = plugin_basename( $_plugin_file ); - $this->slug = basename( $_plugin_file, '.php' ); + $this->slug = basename( dirname( $_plugin_file ) ); $this->version = $_api_data['version']; $this->wp_override = isset( $_api_data['wp_override'] ) ? (bool) $_api_data['wp_override'] : false; $this->beta = ! empty( $this->api_data['beta'] ) ? true : false; @@ -60,7 +60,6 @@ public function __construct( $_api_url, $_plugin_file, $_api_data = null ) { // Set up hooks. $this->init(); - } /** @@ -76,7 +75,6 @@ public function init() { add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 ); add_action( 'after_plugin_row', array( $this, 'show_update_notification' ), 10, 2 ); add_action( 'admin_init', array( $this, 'show_changelog' ) ); - } /** @@ -89,13 +87,11 @@ public function init() { * * @uses api_request() * - * @param array $_transient_data Update array build by WordPress. + * @param array $_transient_data Update array build by WordPress. * @return array Modified update array with custom plugin data. */ public function check_update( $_transient_data ) { - global $pagenow; - if ( ! is_object( $_transient_data ) ) { $_transient_data = new stdClass(); } @@ -104,7 +100,7 @@ public function check_update( $_transient_data ) { return $_transient_data; } - $current = $this->get_repo_api_data(); + $current = $this->get_update_transient_data(); if ( false !== $current && is_object( $current ) && isset( $current->new_version ) ) { if ( version_compare( $this->version, $current->new_version, '<' ) ) { $_transient_data->response[ $this->name ] = $current; @@ -143,6 +139,7 @@ public function get_repo_api_data() { // This is required for your plugin to support auto-updates in WordPress 5.5. $version_info->plugin = $this->name; $version_info->id = $this->name; + $version_info->tested = $this->get_tested_version( $version_info ); $this->set_version_info_cache( $version_info ); } @@ -150,11 +147,72 @@ public function get_repo_api_data() { return $version_info; } + /** + * Gets a limited set of data from the API response. + * This is used for the update_plugins transient. + * + * @since 3.8.12 + * @return \stdClass|false + */ + private function get_update_transient_data() { + $version_info = $this->get_repo_api_data(); + + if ( ! $version_info ) { + return false; + } + + $limited_data = new \stdClass(); + $limited_data->slug = $this->slug; + $limited_data->plugin = $this->name; + $limited_data->url = $version_info->url; + $limited_data->package = $version_info->package; + $limited_data->icons = $this->convert_object_to_array( $version_info->icons ); + $limited_data->banners = $this->convert_object_to_array( $version_info->banners ); + $limited_data->new_version = $version_info->new_version; + $limited_data->tested = $version_info->tested; + $limited_data->requires = $version_info->requires; + $limited_data->requires_php = $version_info->requires_php; + + return $limited_data; + } + + /** + * Gets the plugin's tested version. + * + * @since 1.9.2 + * @param object $version_info + * @return null|string + */ + private function get_tested_version( $version_info ) { + + // There is no tested version. + if ( empty( $version_info->tested ) ) { + return null; + } + + // Strip off extra version data so the result is x.y or x.y.z. + list( $current_wp_version ) = explode( '-', get_bloginfo( 'version' ) ); + + // The tested version is greater than or equal to the current WP version, no need to do anything. + if ( version_compare( $version_info->tested, $current_wp_version, '>=' ) ) { + return $version_info->tested; + } + $current_version_parts = explode( '.', $current_wp_version ); + $tested_parts = explode( '.', $version_info->tested ); + + // The current WordPress version is x.y.z, so update the tested version to match it. + if ( isset( $current_version_parts[2] ) && $current_version_parts[0] === $tested_parts[0] && $current_version_parts[1] === $tested_parts[1] ) { + $tested_parts[2] = $current_version_parts[2]; + } + + return implode( '.', $tested_parts ); + } + /** * Show the update notification on multisite subsites. * - * @param string $file - * @param array $plugin + * @param string $file + * @param array $plugin */ public function show_update_notification( $file, $plugin ) { @@ -220,7 +278,7 @@ public function show_update_notification( $file, $plugin ) { ); printf( - /* translators: the plugin name. */ + /* translators: the plugin name. */ esc_html__( 'There is a new version of %1$s available.', 'easy-digital-downloads' ), esc_html( $plugin['Name'] ) ); @@ -231,7 +289,7 @@ public function show_update_notification( $file, $plugin ) { } elseif ( empty( $update_cache->response[ $this->name ]->package ) && ! empty( $changelog_link ) ) { echo ' '; printf( - /* translators: 1. opening anchor tag, do not translate 2. the new plugin version 3. closing anchor tag, do not translate. */ + /* translators: 1: opening anchor tag, do not translate 2. the new plugin version 3. closing anchor tag, do not translate. */ __( '%1$sView version %2$s details%3$s.', 'easy-digital-downloads' ), '', esc_html( $update_cache->response[ $this->name ]->new_version ), @@ -278,9 +336,9 @@ private function get_active_plugins() { * * @uses api_request() * - * @param mixed $_data - * @param string $_action - * @param object $_args + * @param mixed $_data + * @param string $_action + * @param object $_args * @return object $_data */ public function plugins_api_filter( $_data, $_action = '', $_args = null ) { @@ -307,15 +365,15 @@ public function plugins_api_filter( $_data, $_action = '', $_args = null ) { ), ); - // Get the transient where we store the api request for this plugin for 24 hours + // Get the transient where we store the api request for this plugin for 24 hours. $edd_api_request_transient = $this->get_cached_version_info(); - //If we have no transient-saved value, run the API, set a fresh transient with the API value, and return that value too right now. + // If we have no transient-saved value, run the API, set a fresh transient with the API value, and return that value too right now. if ( empty( $edd_api_request_transient ) ) { $api_response = $this->api_request( 'plugin_information', $to_send ); - // Expires in 3 hours + // Expires in 3 hours. $this->set_version_info_cache( $api_response ); if ( false !== $api_response ) { @@ -349,6 +407,10 @@ public function plugins_api_filter( $_data, $_action = '', $_args = null ) { $_data->plugin = $this->name; } + if ( ! isset( $_data->version ) && ! empty( $_data->new_version ) ) { + $_data->version = $_data->new_version; + } + return $_data; } @@ -379,8 +441,8 @@ private function convert_object_to_array( $data ) { /** * Disable SSL verification in order to prevent download update failures * - * @param array $args - * @param string $url + * @param array $args + * @param string $url * @return object $array */ public function http_request_args( $args, $url ) { @@ -389,7 +451,6 @@ public function http_request_args( $args, $url ) { $args['sslverify'] = $this->verify_ssl(); } return $args; - } /** @@ -399,8 +460,8 @@ public function http_request_args( $args, $url ) { * @uses wp_remote_post() * @uses is_wp_error() * - * @param string $_action The requested action. - * @param array $_data Parameters for the API action. + * @param string $_action The requested action. + * @param array $_data Parameters for the API action. * @return false|object|void */ private function api_request( $_action, $_data ) { @@ -410,7 +471,7 @@ private function api_request( $_action, $_data ) { return; } - // Don't allow a plugin to ping itself + // Don't allow a plugin to ping itself. if ( trailingslashit( home_url() ) === $this->api_url ) { return false; } @@ -580,7 +641,7 @@ public function get_cached_version_info( $cache_key = '' ) { $cache = get_option( $cache_key ); - // Cache is expired + // Cache is expired. if ( empty( $cache['timeout'] ) || time() > $cache['timeout'] ) { return false; } @@ -592,7 +653,6 @@ public function get_cached_version_info( $cache_key = '' ) { } return $cache['value']; - } /** @@ -614,7 +674,7 @@ public function set_version_info_cache( $value = '', $cache_key = '' ) { update_option( $cache_key, $data, 'no' ); - // Delete the duplicate option + // Delete the duplicate option. delete_option( 'edd_api_request_' . md5( serialize( $this->slug . $this->api_data['license'] . $this->beta ) ) ); } @@ -639,5 +699,4 @@ private function get_cache_key() { return 'edd_sl_' . md5( serialize( $string ) ); } - } diff --git a/includes/admin/adjustments/adjustment-functions.php b/includes/admin/adjustments/adjustment-functions.php index 508a8e8f10f..18d3519e1e1 100644 --- a/includes/admin/adjustments/adjustment-functions.php +++ b/includes/admin/adjustments/adjustment-functions.php @@ -11,7 +11,7 @@ */ // Exit if accessed directly. -defined( 'ABSPATH' ) || exit; +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore /** * Shows the adjustments page, containing of all registered & visible adjustment @@ -21,67 +21,42 @@ */ function edd_adjustments_page() { - // Get all tabs + // Get all tabs. $all_tabs = edd_get_adjustments_tabs(); - // Current tab + // Current tab. $active_tab = isset( $_GET['tab'] ) ? sanitize_key( $_GET['tab'] ) : 'discount'; - // Add new URL - $add_new_url = edd_get_admin_url( array( - 'page' => 'edd-discounts', - 'edd-action' => 'add_' . sanitize_key( $active_tab ), - ) ); + // Add new URL. + $add_new_url = edd_get_admin_url( + array( + 'page' => 'edd-discounts', + 'edd-action' => 'add_' . sanitize_key( $active_tab ), + ) + ); - // Start the output buffer - ob_start(); ?> + if ( 1 < count( $all_tabs ) ) { + $secondary_nav = new EDD\Admin\Menu\SecondaryNavigation( + $all_tabs, + 'edd-discounts', + array( + 'active_tab' => $active_tab, + ) + ); + $secondary_nav->render(); + } + ?>


    - - - -
    - - -
    - + __( 'Discounts', 'easy-digital-downloads' ), -// 'credit' => __( 'Credits', 'easy-digital-downloads' ), -// 'fee' => __( 'Fees', 'easy-digital-downloads' ) + return apply_filters( + 'edd_adjustments_tabs', + array( + 'discount' => __( 'Discounts', 'easy-digital-downloads' ), + // 'credit' => __( 'Credits', 'easy-digital-downloads' ), + // 'fee' => __( 'Fees', 'easy-digital-downloads' ) + ) ); - - // Filter & return - return apply_filters( 'edd_adjustments_tabs', $tabs ); } diff --git a/includes/admin/admin-actions.php b/includes/admin/admin-actions.php index a94baaba4bb..0ff8d7b0cfd 100755 --- a/includes/admin/admin-actions.php +++ b/includes/admin/admin-actions.php @@ -9,8 +9,8 @@ * @since 1.0 */ -// Exit if accessed directly -defined( 'ABSPATH' ) || exit; +// Exit if accessed directly. +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore /** * Processes all EDD actions sent via POST and GET by looking for the 'edd-action' @@ -30,51 +30,6 @@ function edd_process_actions() { } add_action( 'admin_init', 'edd_process_actions' ); -/** - * When the Download list table loads, call the function to view our tabs. - * - * @since 2.8.9 - * @since 2.11.3 Unhooked this to revert to standard admin H1 tags. - * @since 3.0 Added back as download categories/tags have been removed from the admin menu. - * @param $views - * - * @return mixed - */ -function edd_products_tabs( $views ) { - edd_display_product_tabs(); - - return $views; -} -add_filter( 'views_edit-download', 'edd_products_tabs', 10, 1 ); - -/** - * When the Download list table loads, call the function to view our tabs. - * - * @since 3.0 - * - * @return void - */ -function edd_taxonomies_tabs() { - - // Bail if not viewing a taxonomy - if ( empty( $_GET['taxonomy'] ) ) { - return; - } - - // Get taxonomies - $taxonomy = sanitize_key( $_GET['taxonomy'] ); - $taxonomies = get_object_taxonomies( 'download' ); - - // Bail if current taxonomy is not a download taxonomy - if ( ! in_array( $taxonomy, $taxonomies, true ) ) { - return; - } - - // Output the tabs - edd_display_product_tabs(); -} -add_action( 'admin_notices', 'edd_taxonomies_tabs', 10, 1 ); - /** * Remove the top level taxonomy submenus. * @@ -84,15 +39,15 @@ function edd_taxonomies_tabs() { */ function edd_admin_adjust_submenus() { - // Get taxonomies + // Get taxonomies. $taxonomies = get_object_taxonomies( 'download' ); - // Bail if no taxonomies + // Bail if no taxonomies. if ( empty( $taxonomies ) ) { return; } - // Loop through each taxonomy and remove the menu + // Loop through each taxonomy and remove the menu. foreach ( $taxonomies as $taxonomy ) { remove_submenu_page( 'edit.php?post_type=download', 'edit-tags.php?taxonomy=' . $taxonomy . '&post_type=download' ); } @@ -113,21 +68,21 @@ function edd_admin_adjust_submenus() { function edd_taxonomies_modify_menu_highlight() { global $submenu_file; - // Bail if not viewing a taxonomy + // Bail if not viewing a taxonomy. if ( empty( $_GET['taxonomy'] ) ) { return; } - // Get taxonomies + // Get taxonomies. $taxonomy = sanitize_key( $_GET['taxonomy'] ); $taxonomies = get_object_taxonomies( 'download' ); - // Bail if current taxonomy is not a download taxonomy + // Bail if current taxonomy is not a download taxonomy. if ( ! in_array( $taxonomy, $taxonomies, true ) ) { return; } - // Force the submenu file + // Force the submenu file. $submenu_file = 'edit.php?post_type=download'; } add_filter( 'admin_head', 'edd_taxonomies_modify_menu_highlight', 9999 ); @@ -143,20 +98,20 @@ function edd_taxonomies_modify_menu_highlight() { function edd_add_new_modify_menu_highlight() { global $submenu_file, $pagenow; - // Bail if not viewing the right page or post type + // Bail if not viewing the right page or post type. if ( empty( $_GET['post_type'] ) || ( 'post-new.php' !== $pagenow ) ) { return; } - // Get post_type + // Get post_type. $post_type = sanitize_key( $_GET['post_type'] ); - // Bail if current post type is not download + // Bail if current post type is not download. if ( 'download' !== $post_type ) { return; } - // Force the submenu file + // Force the submenu file. $submenu_file = 'edit.php?post_type=download'; } add_filter( 'admin_head', 'edd_add_new_modify_menu_highlight', 9999 ); @@ -168,7 +123,7 @@ function edd_add_new_modify_menu_highlight() { */ function edd_display_product_tabs() { - // Initial tabs + // Initial tabs. $tabs = array( 'products' => array( 'name' => edd_get_label_plural(), @@ -176,57 +131,32 @@ function edd_display_product_tabs() { ), ); - // Get taxonomies + // Get taxonomies. $taxonomies = get_object_taxonomies( 'download', 'objects' ); foreach ( $taxonomies as $tax => $details ) { $tabs[ $tax ] = array( 'name' => $details->labels->menu_name, - 'url' => add_query_arg( array( - 'taxonomy' => sanitize_key( $tax ), - 'post_type' => 'download' - ), admin_url( 'edit-tags.php' ) ) + 'url' => add_query_arg( + array( + 'taxonomy' => sanitize_key( $tax ), + 'post_type' => 'download', + ), + admin_url( 'edit-tags.php' ) + ), ); } - // Filter the tabs + // Filter the tabs. $tabs = apply_filters( 'edd_add_ons_tabs', $tabs ); - // Taxonomies - if ( isset( $_GET['taxonomy'] ) && in_array( $_GET['taxonomy'], array_keys( $taxonomies ), true ) ) { - $active_tab = $_GET['taxonomy']; - - // Default to Products - } else { - $active_tab = 'products'; - } - - // Start a buffer - ob_start(); - ?> - - -
    - - isset( $_GET['taxonomy'] ) ? $_GET['taxonomy'] : 'products', + ) + ); + $navigation->render(); } /** @@ -237,12 +167,15 @@ function edd_display_product_tabs() { * @return array */ function edd_admin_removable_query_args() { - return apply_filters( 'edd_admin_removable_query_args', array( - 'edd-action', - 'edd-notice', - 'edd-message', - 'edd-redirect' - ) ); + return apply_filters( + 'edd_admin_removable_query_args', + array( + 'edd-action', + 'edd-notice', + 'edd-message', + 'edd-redirect', + ) + ); } /** @@ -254,19 +187,21 @@ function edd_admin_removable_query_args() { */ function edd_admin_print_payment_icons() { - // Bail if not the gateways page + // Bail if not the gateways page. if ( ! edd_is_admin_page( 'settings', 'gateways' ) ) { return; } - // Output the SVG icons - edd_print_payment_icons( array( - 'mastercard', - 'visa', - 'americanexpress', - 'discover', - 'paypal', - 'amazon' - ) ); + // Output the SVG icons. + edd_print_payment_icons( + array( + 'mastercard', + 'visa', + 'americanexpress', + 'discover', + 'paypal', + 'amazon', + ) + ); } add_action( 'admin_footer', 'edd_admin_print_payment_icons', 9999 ); diff --git a/includes/admin/admin-bar.php b/includes/admin/admin-bar.php index ea7edff5e49..9f346f5792b 100644 --- a/includes/admin/admin-bar.php +++ b/includes/admin/admin-bar.php @@ -89,7 +89,7 @@ function edd_maybe_add_store_mode_admin_bar_menu( $wp_admin_bar ) { $wp_admin_bar->add_menu( array( 'parent' => 'edd-store-menu', 'id' => 'edd-store-prodcuts', - /* translators: plural downlaods label */ + /* translators: %s: Downloads plural label */ 'title' => sprintf( __( 'All %1$s', 'easy-digital-downloads' ), edd_get_label_plural() ), 'href' => edd_get_admin_url(), ) ); diff --git a/includes/admin/admin-deprecated-functions.php b/includes/admin/admin-deprecated-functions.php index a92fa2897e7..5c37d242eb5 100644 --- a/includes/admin/admin-deprecated-functions.php +++ b/includes/admin/admin-deprecated-functions.php @@ -901,3 +901,161 @@ function edd_render_dowwn_tax_options( $post_id = 0 ) { _edd_deprecated_function( __FUNCTION__, '3.2.7', 'edd_render_down_tax_options' ); edd_render_down_tax_options( $post_id ); } + +/** + * Email Template Preview + * + * @deprecated 3.3.0 + * @access private + * @since 1.0.8.2 + */ +function edd_email_template_preview( $email ) { + _edd_deprecated_function( __FUNCTION__, '3.3.0' ); + if ( ! current_user_can( 'manage_shop_settings' ) ) { + return; + } + if ( 'purchase_receipt' !== $email->get_id() ) { + return; + } + + ?> +
    + + +
    + post_type || 'edit' !== $screen->base ) { + return; + } + edd_display_product_tabs(); +} + +/** + * When the Download list table loads, call the function to view our tabs. + * + * @since 3.0 + * + * @return void + */ +function edd_taxonomies_tabs() { + _edd_deprecated_function( __FUNCTION__, '3.3.0' ); + + // Bail if not viewing a taxonomy. + if ( empty( $_GET['taxonomy'] ) ) { + return; + } + + // Get taxonomies. + $taxonomy = sanitize_key( $_GET['taxonomy'] ); + $taxonomies = get_object_taxonomies( 'download' ); + + // Bail if current taxonomy is not a download taxonomy. + if ( ! in_array( $taxonomy, $taxonomies, true ) ) { + return; + } + + // Output the tabs. + edd_display_product_tabs(); +} diff --git a/includes/admin/admin-pages.php b/includes/admin/admin-pages.php index 010f7bbe3f4..e4b96ffa70f 100755 --- a/includes/admin/admin-pages.php +++ b/includes/admin/admin-pages.php @@ -15,50 +15,13 @@ /** * Get the admin pages. * - * This largely exists for back-compat in edd_is_admin_page(). Maybe eventually - * we'll move away from globals for all of these, but who knows what add-ons are - * doing, so we're keeping these around until we can formally deprecate them. - * * @since 3.0 - * - * @global $edd_discounts_page $edd_discounts_page - * @global $edd_payments_page $edd_payments_page - * @global $edd_settings_page $edd_settings_page - * @global $edd_reports_page $edd_reports_page - * @global type $edd_system_info_page - * @global $edd_add_ons_page $edd_add_ons_page - * @global $edd_settings_export $edd_settings_export - * @global $edd_upgrades_screen $edd_upgrades_screen - * @global $edd_customers_page $edd_customers_page - * @global $edd_reports_page $edd_reports_page + * @since 3.3.0 Moved to EDD\Admin\Menu\Pages::get_pages(). * * @return array */ function edd_get_admin_pages() { - global $edd_discounts_page, - $edd_payments_page, - $edd_settings_page, - $edd_reports_page, - $edd_system_info_page, - $edd_add_ons_page, - $edd_settings_export, - $edd_upgrades_screen, - $edd_customers_page, - $edd_reports_page; - - // Filter & return - return (array) apply_filters( 'edd_admin_pages', array( - $edd_discounts_page, - $edd_payments_page, - $edd_settings_page, - $edd_reports_page, - $edd_system_info_page, - $edd_add_ons_page, - $edd_settings_export, - $edd_upgrades_screen, - $edd_customers_page, - $edd_reports_page - ) ); + return (array) apply_filters( 'edd_admin_pages', EDD\Admin\Menu\Pages::get_pages() ); } /** @@ -77,28 +40,7 @@ function edd_get_admin_pages() { * @global $edd_upgrades_screen */ function edd_add_options_link() { - global $submenu, $edd_discounts_page, $edd_payments_page, $edd_settings_page, $edd_reports_page, $edd_upgrades_screen, $edd_tools_page, $edd_customers_page; - - // Filter the "View Customers" role - $customer_view_role = apply_filters( 'edd_view_customers_role', 'view_shop_reports' ); - - // Setup pages - $edd_payments_page = add_submenu_page( 'edit.php?post_type=download', __( 'Orders', 'easy-digital-downloads' ), __( 'Orders', 'easy-digital-downloads' ), 'edit_shop_payments', 'edd-payment-history', 'edd_payment_history_page' ); - $edd_customers_page = add_submenu_page( 'edit.php?post_type=download', __( 'Customers', 'easy-digital-downloads' ), __( 'Customers', 'easy-digital-downloads' ), $customer_view_role, 'edd-customers', 'edd_customers_page' ); - $edd_discounts_page = add_submenu_page( 'edit.php?post_type=download', __( 'Discounts', 'easy-digital-downloads' ), __( 'Discounts', 'easy-digital-downloads' ), 'manage_shop_discounts', 'edd-discounts', 'edd_discounts_page' ); - $edd_reports_page = add_submenu_page( 'edit.php?post_type=download', __( 'Reports', 'easy-digital-downloads' ), __( 'Reports', 'easy-digital-downloads' ), 'view_shop_reports', 'edd-reports', 'edd_reports_page' ); - $edd_settings_page = add_submenu_page( 'edit.php?post_type=download', __( 'EDD Settings', 'easy-digital-downloads' ), __( 'Settings', 'easy-digital-downloads' ), 'manage_shop_settings', 'edd-settings', 'edd_options_page' ); - $edd_tools_page = add_submenu_page( 'edit.php?post_type=download', __( 'EDD Tools', 'easy-digital-downloads' ), __( 'Tools', 'easy-digital-downloads' ), 'manage_shop_settings', 'edd-tools', 'edd_tools_page' ); - - // Setup hidden upgrades page - $edd_upgrades_screen = add_submenu_page( '', __( 'EDD Upgrades', 'easy-digital-downloads' ), __( 'EDD Upgrades', 'easy-digital-downloads' ), 'manage_shop_settings', 'edd-upgrades', 'edd_upgrades_screen' ); - - // Add our reports link in the main Dashboard menu. - $submenu['index.php'][] = array( // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited - __( 'Store Reports', 'easy-digital-downloads' ), - 'view_shop_reports', - 'edit.php?post_type=download&page=edd-reports', - ); + EDD\Admin\Menu\Pages::register(); } add_action( 'admin_menu', 'edd_add_options_link', 10 ); @@ -114,18 +56,18 @@ function edd_add_options_link() { function edd_is_insertable_admin_page() { global $pagenow, $typenow; - // Allowed pages + // Allowed pages. $pages = array( 'post.php', 'page.php', 'post-new.php', - 'post-edit.php' + 'post-edit.php', ); - // Allowed post types + // Allowed post types. $types = get_post_types_by_support( 'edd_insert_download' ); - // Return if page and type are allowed + // Return if page and type are allowed. return in_array( $pagenow, $pages, true ) && in_array( $typenow, $types, true ); } @@ -151,13 +93,13 @@ function edd_is_admin_page( $passed_page = '', $passed_view = '', $include_non_e global $pagenow, $typenow; $found = false; - $post_type = isset( $_GET['post_type'] ) ? strtolower( $_GET['post_type'] ) : false; - $action = isset( $_GET['action'] ) ? strtolower( $_GET['action'] ) : false; - $taxonomy = isset( $_GET['taxonomy'] ) ? strtolower( $_GET['taxonomy'] ) : false; - $page = isset( $_GET['page'] ) ? strtolower( $_GET['page'] ) : false; - $view = isset( $_GET['view'] ) ? strtolower( $_GET['view'] ) : false; + $post_type = isset( $_GET['post_type'] ) ? strtolower( $_GET['post_type'] ) : false; + $action = isset( $_GET['action'] ) ? strtolower( $_GET['action'] ) : false; + $taxonomy = isset( $_GET['taxonomy'] ) ? strtolower( $_GET['taxonomy'] ) : false; + $page = isset( $_GET['page'] ) ? strtolower( $_GET['page'] ) : false; + $view = isset( $_GET['view'] ) ? strtolower( $_GET['view'] ) : false; $edd_action = isset( $_GET['edd-action'] ) ? strtolower( $_GET['edd-action'] ) : false; - $tab = isset( $_GET['tab'] ) ? strtolower( $_GET['tab'] ) : false; + $tab = isset( $_GET['tab'] ) ? strtolower( $_GET['tab'] ) : false; switch ( $passed_page ) { case 'download': @@ -227,7 +169,7 @@ function edd_is_admin_page( $passed_page = '', $passed_view = '', $include_non_e case 'payments': switch ( $passed_view ) { case 'list-table': - if ( ( 'download' === $typenow || 'download' === $post_type ) && $pagenow === 'edit.php' && 'edd-payment-history' === $page && false === $view ) { + if ( ( 'download' === $typenow || 'download' === $post_type ) && $pagenow === 'edit.php' && 'edd-payment-history' === $page && false === $view ) { $found = true; } break; @@ -429,11 +371,16 @@ function edd_is_admin_page( $passed_page = '', $passed_view = '', $include_non_e $found = true; } break; - case 'index.php' : + case 'index.php': if ( 'index.php' === $pagenow ) { $found = true; } break; + case 'emails': + if ( 'download' === $post_type && 'edd-emails' === $page ) { + $found = true; + } + break; default: $admin_pages = edd_get_admin_pages(); @@ -442,15 +389,15 @@ function edd_is_admin_page( $passed_page = '', $passed_view = '', $include_non_e if ( ( 'download' === $typenow ) || ( $include_non_exclusive && 'index.php' === $pagenow ) ) { $found = true; - // Registered global pages + // Registered global pages } elseif ( in_array( $pagenow, $admin_pages, true ) ) { $found = true; - // Supported post types + // Supported post types } elseif ( $include_non_exclusive && edd_is_insertable_admin_page() ) { $found = true; - // The EDD settings screen (fallback if mislinked) + // The EDD settings screen (fallback if mislinked) } elseif ( 'edd-settings' === $page ) { $found = true; } diff --git a/includes/admin/class-api-keys-table.php b/includes/admin/class-api-keys-table.php index aa0765d9884..921aadb6118 100644 --- a/includes/admin/class-api-keys-table.php +++ b/includes/admin/class-api-keys-table.php @@ -134,7 +134,7 @@ public function column_last_used( $item ) { // Build the date diff string. $date_diff_string = sprintf( - /* translators: %s: human-readable time difference */ + /* translators: %s: a length of time (e.g. "1 second") */ __( '%s ago', 'easy-digital-downloads' ), $date_diff ); diff --git a/includes/admin/class-edd-heartbeat.php b/includes/admin/class-edd-heartbeat.php index cce6d1bc049..ebc9211d78e 100755 --- a/includes/admin/class-edd-heartbeat.php +++ b/includes/admin/class-edd-heartbeat.php @@ -7,7 +7,7 @@ * @copyright Copyright (c) 2018, Easy Digital Downloads, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 1.8 -*/ + */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; @@ -18,7 +18,7 @@ * Hooks into the WP heartbeat API to update various parts of the dashboard as new sales are made * * Dashboard components that are effect: - * - Dashboard Summary Widget + * - Dashboard Summary Widget * * @since 1.8 */ @@ -44,11 +44,12 @@ public static function init() { */ public static function heartbeat_received( $response, $data ) { + // Only proceed if the current user can view shop reports. if ( ! current_user_can( 'view_shop_reports' ) ) { - return $response; // Only modify heartbeat if current user can view show reports + return $response; } - // Make sure we only run our query if the edd_heartbeat key is present + // Make sure we only run our query if the edd_heartbeat key is present. if ( ( isset( $data['edd_heartbeat'] ) ) && ( 'dashboard_summary' === $data['edd_heartbeat'] ) ) { $stats = edd_get_dashboard_sales_widget_data(); @@ -61,7 +62,6 @@ public static function heartbeat_received( $response, $data ) { } return $response; - } /** @@ -72,8 +72,8 @@ public static function heartbeat_received( $response, $data ) { */ public static function enqueue_scripts() { - if( ! current_user_can( 'view_shop_reports' ) ) { - return; // Only load heartbeat if current user can view show reports + if ( ! self::can_do_heartbeat() ) { + return; } // Make sure the JS part of the Heartbeat API is loaded. @@ -88,17 +88,10 @@ public static function enqueue_scripts() { * @return array */ public static function footer_js() { - global $pagenow; - - // Only proceed if on the dashboard - if( 'index.php' != $pagenow ) { + if ( ! self::can_do_heartbeat() ) { return; } - if( ! current_user_can( 'view_shop_reports' ) ) { - return; // Only load heartbeat if current user can view show reports - } - ?> notices ) ) { $this->notices = array(); } - // Parse args - $r = wp_parse_args( $args, array( - 'id' => '', - 'message' => '', - 'class' => false, - 'is_dismissible' => true, - ) ); + // Parse args. + $r = wp_parse_args( + $args, + array( + 'id' => '', + 'message' => '', + 'class' => false, + 'is_dismissible' => true, + ) + ); // Prevent a notice from being added more than once. if ( ! empty( $r['id'] ) && array_key_exists( $r['id'], $this->notices ) ) { @@ -71,14 +77,14 @@ public function add_notice( $args = array() ) { $default_class = 'updated'; - // One message as string + // One message as string. if ( is_string( $r['message'] ) ) { - $message = '

    ' . $this->esc_notice( $r['message'] ) . '

    '; + $message = '

    ' . $this->esc_notice( $r['message'] ) . '

    '; } elseif ( is_array( $r['message'] ) ) { - $message = '

    ' . implode( '

    ', array_map( array( $this, 'esc_notice' ), $r['message'] ) ) . '

    '; + $message = '

    ' . implode( '

    ', array_map( array( $this, 'esc_notice' ), $r['message'] ) ) . '

    '; - // Messages as objects + // Messages as objects. } elseif ( is_wp_error( $r['message'] ) ) { $default_class = 'is-error'; $errors = $r['message']->get_error_messages(); @@ -97,27 +103,27 @@ public function add_notice( $args = array() ) { break; } - // Message is an unknown format, so bail + // Message is an unknown format, so bail. } else { return false; } - // CSS Classes + // CSS Classes. $classes = array( $default_class ); if ( ! empty( $r['class'] ) ) { $classes = explode( ' ', $r['class'] ); } - // Add dismissible class + // Add dismissible class. if ( ! empty( $r['is_dismissible'] ) ) { array_push( $classes, 'is-dismissible' ); } - // Assemble the message + // Assemble the message. $message = '
    ' . $message . '
    '; $message = str_replace( "'", "\'", $message ); - // Add notice to notices array + // Add notice to notices array. $this->notices[ $r['id'] ] = $message; } @@ -157,25 +163,25 @@ public function add_notices() { */ public function dismiss_notices() { - // Bail if no notices to dismiss + // Bail if no notices to dismiss. if ( empty( $_GET['edd_notice'] ) || empty( $_GET['_wpnonce'] ) ) { return; } - // Construct key we are dismissing + // Construct key we are dismissing. $key = sanitize_key( $_GET['edd_notice'] ); - // Bail if sanitized notice is empty + // Bail if sanitized notice is empty. if ( empty( $key ) ) { return; } - // Bail if nonce does not verify + // Bail if nonce does not verify. if ( ! wp_verify_nonce( $_GET['_wpnonce'], 'edd_notice_nonce' ) ) { return; } - // Dismiss notice + // Dismiss notice. update_user_meta( get_current_user_id(), "_edd_{$key}_dismissed", 1 ); edd_redirect( remove_query_arg( array( 'edd_action', 'edd_notice', '_wpnonce' ) ) ); } @@ -193,30 +199,30 @@ public function display_notices() { $this->show_debugging_notice(); - // Bail if no notices + // Bail if no notices. if ( empty( $this->notices ) || ! is_array( $this->notices ) ) { return; } - // Start an output buffer + // Start an output buffer. ob_start(); - // Loop through notices, and add them to buffer + // Loop through notices, and add them to buffer. foreach ( $this->notices as $notice ) { echo $notice; } - // Output the current buffer + // Output the current buffer. $notices = ob_get_clean(); - // Only echo if not empty + // Only echo if not empty. if ( ! empty( $notices ) ) { echo $notices; } } /** - * Remove unneed admin notices from EDD admin screens. + * Remove unneeded admin notices from EDD admin screens. * * @since 3.1.1 * @return void @@ -266,16 +272,29 @@ public function remove_notices() { */ private function add_page_notices() { - // Checkout page is missing + // Checkout page is missing. $purchase_page = edd_get_option( 'purchase_page', '' ); if ( empty( $purchase_page ) || ( 'trash' === get_post_status( $purchase_page ) ) ) { - $this->add_notice( array( - 'id' => 'edd-no-purchase-page', - /* translators: %s: URL to the settings page */ - 'message' => sprintf( __( 'No checkout page is configured. Set one in Settings.', 'easy-digital-downloads' ), esc_url( edd_get_admin_url( array( 'page' => 'edd-settings', 'tab' => 'general', 'section' => 'pages' ) ) ) ), - 'class' => 'error', - 'is_dismissible' => false, - ) ); + $this->add_notice( + array( + 'id' => 'edd-no-purchase-page', + 'message' => sprintf( + /* translators: %s: URL to the settings page */ + __( 'No checkout page is configured. Set one in Settings.', 'easy-digital-downloads' ), + esc_url( + edd_get_admin_url( + array( + 'page' => 'edd-settings', + 'tab' => 'general', + 'section' => 'pages', + ) + ) + ) + ), + 'class' => 'error', + 'is_dismissible' => false, + ) + ); } } @@ -285,7 +304,6 @@ private function add_page_notices() { * @since 3.0 */ private function add_reports_notices() { - } /** @@ -296,64 +314,91 @@ private function add_reports_notices() { */ private function add_system_notices() { - // Bail if not an EDD admin page + // Bail if not an EDD admin page. if ( ! edd_is_admin_page() || edd_is_dev_environment() || edd_is_admin_page( 'index.php' ) ) { return; } - // Bail if user cannot manage options + // Bail if user cannot manage options. if ( ! current_user_can( 'manage_shop_settings' ) ) { return; } - // Bail if uploads directory is protected + // Bail if uploads directory is protected. if ( edd_is_uploads_url_protected() ) { return; } - // Get the upload directory - $upload_directory = edd_get_upload_dir(); + // Get the upload directory. + $upload_directory = edd_get_upload_dir(); - // Running NGINX + // Running NGINX. $show_nginx_notice = apply_filters( 'edd_show_nginx_redirect_notice', true ); if ( $show_nginx_notice && ! empty( $GLOBALS['is_nginx'] ) && ! get_user_meta( get_current_user_id(), '_edd_nginx_redirect_dismissed', true ) ) { - $dismiss_notice_url = wp_nonce_url( add_query_arg( array( - 'edd_action' => 'dismiss_notices', - 'edd_notice' => 'nginx_redirect' - ) ), 'edd_notice_nonce' ); + $dismiss_notice_url = wp_nonce_url( + add_query_arg( + array( + 'edd_action' => 'dismiss_notices', + 'edd_notice' => 'nginx_redirect', + ) + ), + 'edd_notice_nonce' + ); - $this->add_notice( array( - 'id' => 'edd-nginx', - 'class' => 'error', - 'is_dismissible' => false, - 'message' => array( - /* translators: %s: Uploads directory */ - sprintf( __( 'The files in %s are not currently protected.', 'easy-digital-downloads' ), '' . $upload_directory . '' ), - __( 'To protect them, you must add this NGINX redirect rule.', 'easy-digital-downloads' ), - /* translators: %s: Dismiss notice URL */ - sprintf( __( 'If you have already done this, or it does not apply to your site, you may permenently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ) - ) - ) ); + $this->add_notice( + array( + 'id' => 'edd-nginx', + 'class' => 'error', + 'is_dismissible' => false, + 'message' => array( + /* translators: %s: Uploads directory */ + sprintf( __( 'The files in %s are not currently protected.', 'easy-digital-downloads' ), '' . $upload_directory . '' ), + __( 'To protect them, you must add this NGINX redirect rule.', 'easy-digital-downloads' ), + sprintf( + wp_kses( + /* translators: %s: Dismiss notice URL */ + __( 'If you have already done this, or it does not apply to your site, you may permanently dismiss this notice.', 'easy-digital-downloads' ), + array( + 'a' => array( + 'href' => array(), + ), + ) + ), + $dismiss_notice_url + ), + ), + ), + ); } - // Running Apache + // Running Apache. if ( ! empty( $GLOBALS['is_apache'] ) && ! edd_htaccess_exists() && ! get_user_meta( get_current_user_id(), '_edd_htaccess_missing_dismissed', true ) ) { - $dismiss_notice_url = wp_nonce_url( add_query_arg( array( - 'edd_action' => 'dismiss_notices', - 'edd_notice' => 'htaccess_missing' - ) ), 'edd_notice_nonce' ); + $dismiss_notice_url = wp_nonce_url( + add_query_arg( + array( + 'edd_action' => 'dismiss_notices', + 'edd_notice' => 'htaccess_missing', + ) + ), + 'edd_notice_nonce' + ); - $this->add_notice( array( - 'id' => 'edd-apache', - 'class' => 'error', - 'is_dismissible' => false, - 'message' => array( - sprintf( __( 'The .htaccess file is missing from: %s', 'easy-digital-downloads' ), '' . $upload_directory . '' ), - sprintf( __( 'First, please resave the Misc settings tab a few times. If this warning continues to appear, create a file called ".htaccess" in the %s directory, and copy the following into it:', 'easy-digital-downloads' ), '' . $upload_directory . '' ), - sprintf( __( 'If you have already done this, or it does not apply to your site, you may permenently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ), - '
    ' . edd_get_htaccess_rules() . '
    ' + $this->add_notice( + array( + 'id' => 'edd-apache', + 'class' => 'error', + 'is_dismissible' => false, + 'message' => array( + /* translators: %s: Uploads directory */ + sprintf( __( 'The .htaccess file is missing from: %s', 'easy-digital-downloads' ), '' . $upload_directory . '' ), + /* translators: %s: Uploads directory */ + sprintf( __( 'First, please re-save the Misc settings tab a few times. If this warning continues to appear, create a file called ".htaccess" in the %s directory, and copy the following into it:', 'easy-digital-downloads' ), '' . $upload_directory . '' ), + /* translators: %s: Notice Dismissal URL */ + sprintf( __( 'If you have already done this, or it does not apply to your site, you may permanently %s.', 'easy-digital-downloads' ), '' . __( 'dismiss this notice', 'easy-digital-downloads' ) . '' ), + '
    ' . edd_get_htaccess_rules() . '
    ', + ), ) - ) ); + ); } } @@ -364,19 +409,28 @@ private function add_system_notices() { */ private function add_data_notices() { - // Recount earnings + // Recount earnings. if ( class_exists( 'EDD_Recount_Earnings' ) ) { - $this->add_notice( array( - 'id' => 'edd-recount-earnings', - 'class' => 'error', - 'is_dismissible' => false, - 'message' => sprintf( - /* translators: 1. link to the recount tool; 2. link to the plugins screen. */ - __( 'Easy Digital Downloads 2.5 contains a built in recount tool. Please deactivate the Easy Digital Downloads - Recount Earnings plugin', 'easy-digital-downloads' ), - esc_url( edd_get_admin_url( array( 'page' => 'edd-tools', 'tab' => 'general' ) ) ), - esc_url( admin_url( 'plugins.php' ) ) + $this->add_notice( + array( + 'id' => 'edd-recount-earnings', + 'class' => 'error', + 'is_dismissible' => false, + 'message' => sprintf( + /* translators: 1: link to the recount tool, 2: link to the plugins screen. */ + __( 'Easy Digital Downloads 2.5 contains a built in recount tool. Please deactivate the Easy Digital Downloads - Recount Earnings plugin', 'easy-digital-downloads' ), + esc_url( + edd_get_admin_url( + array( + 'page' => 'edd-tools', + 'tab' => 'general', + ) + ) + ), + esc_url( admin_url( 'plugins.php' ) ) + ), ) - ) ); + ); } } @@ -398,24 +452,27 @@ private function add_tax_rate_notice() { return; } - // URL to fix this - $url = edd_get_admin_url( array( - 'page' => 'edd-settings', - 'tab' => 'taxes', - 'section' => 'rates' - ) ); + // URL to fix this. + $url = edd_get_admin_url( + array( + 'page' => 'edd-settings', + 'tab' => 'taxes', + 'section' => 'rates', + ) + ); - // Link + // Link. $link = '' . __( 'Review Tax Rates', 'easy-digital-downloads' ) . ''; - // Add the notice - $this->add_notice( array( - 'id' => 'edd-default-tax-rate', - 'class' => 'error', - /* translators: Link to review existing tax rates. */ - 'message' => '' . __( 'A default tax rate was detected.', 'easy-digital-downloads' ) . '

    ' . __( 'This setting is no longer used in this version of Easy Digital Downloads. Please confirm your regional tax rates are properly configured and update tax settings to remove this notice.', 'easy-digital-downloads' ) . '

    ' . $link, - 'is_dismissible' => false - ) ); + // Add the notice. + $this->add_notice( + array( + 'id' => 'edd-default-tax-rate', + 'class' => 'error', + 'message' => '' . __( 'A default tax rate was detected.', 'easy-digital-downloads' ) . '

    ' . __( 'This setting is no longer used in this version of Easy Digital Downloads. Please confirm your regional tax rates are properly configured and update tax settings to remove this notice.', 'easy-digital-downloads' ) . '

    ' . $link, + 'is_dismissible' => false, + ) + ); } /** @@ -425,17 +482,18 @@ private function add_tax_rate_notice() { */ private function add_settings_notices() { - // Settings area - if ( empty( $_GET['page'] ) || ( 'edd-settings' !== $_GET['page'] ) ) { + // Settings area. + $page = filter_input( INPUT_GET, 'page', FILTER_SANITIZE_SPECIAL_CHARS ); + if ( ! in_array( $page, array( 'edd-settings', 'edd-emails' ), true ) ) { return; } - // Settings updated + // Settings updated. if ( ! empty( $_GET['settings-updated'] ) ) { $this->add_notice( array( 'id' => 'edd-notices', - 'message' => __( 'Settings updated.', 'easy-digital-downloads' ) + 'message' => __( 'Settings updated.', 'easy-digital-downloads' ), ) ); } @@ -502,7 +560,7 @@ private function add_stripe_notice() { 'id' => 'edd-stripe-outdated', 'class' => 'notice-warning', 'message' => sprintf( - // translators: 1. opening link tag; 2. opening link tag; 3. closing link tag. + /* translators: 1: opening link tag, 2: opening link tag, 3: closing link tag. */ __( 'You are running an outdated version of the Easy Digital Downloads — Stripe Pro Payment Gateway. You may need to log into %1$syour account%3$s to download the latest version and %2$smanually upgrade%3$s it.', 'easy-digital-downloads' ), '', '', @@ -536,7 +594,7 @@ private function add_paypal_sync_notice() { 'id' => 'edd-paypal-webhook-sync', 'class' => 'updated', 'message' => sprintf( - /* translators: %1$s: Opening anchor tag; %2$s: Closing anchor tag. */ + /* translators: 1: Opening anchor tag; %2$s: Closing anchor tag. */ __( 'New webhooks have been registered for PayPal Commerce, but we were unable to update them automatically. Please %1$ssync your webhooks manually%2$s.', 'easy-digital-downloads' ), '', '' @@ -551,196 +609,225 @@ private function add_paypal_sync_notice() { * * @since 3.0 * - * @param string $notice + * @param string $notice The notice key. */ private function add_user_action_notices( $notice = '' ) { - // Sanitize notice key + // Sanitize notice key. $notice = sanitize_key( $notice ); - // Bail if notice is empty + // Bail if notice is empty. if ( empty( $notice ) ) { return; } - // Shop discounts errors + // Shop discounts errors. if ( current_user_can( 'manage_shop_discounts' ) ) { switch ( $notice ) { - case 'discount_added' : - $this->add_notice( array( - 'id' => 'edd-discount-added', - 'message' => __( 'Discount code added.', 'easy-digital-downloads' ) - ) ); - break; - case 'discount_add_failed' : - $this->add_notice( array( - 'id' => 'edd-discount-add-fail', - 'message' => __( 'There was a problem adding that discount code, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); - break; - case 'discount_exists' : - $this->add_notice( array( - 'id' => 'edd-discount-exists', - 'message' => __( 'A discount with that code already exists, please use a different code.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); - break; - case 'discount_updated' : - $this->add_notice( array( - 'id' => 'edd-discount-updated', - 'message' => __( 'Discount code updated.', 'easy-digital-downloads' ) - ) ); - break; - case 'discount_not_changed' : - $this->add_notice( array( - 'id' => 'edd-discount-not-changed', - 'message' => __( 'No changes were made to that discount code.', 'easy-digital-downloads' ) - ) ); - break; - case 'discount_update_failed' : - $this->add_notice( array( - 'id' => 'edd-discount-updated-fail', - 'message' => __( 'There was a problem updating that discount code, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); - break; - case 'discount_validation_failed' : - $this->add_notice( array( - 'id' => 'edd-discount-validation-fail', - 'message' => __( 'The discount code could not be added because one or more of the required fields was empty, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + case 'discount_added': + $this->add_notice( + array( + 'id' => 'edd-discount-added', + 'message' => __( 'Discount code added.', 'easy-digital-downloads' ), + ) + ); + break; + case 'discount_add_failed': + $this->add_notice( + array( + 'id' => 'edd-discount-add-fail', + 'message' => __( 'There was a problem adding that discount code, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); + break; + case 'discount_exists': + $this->add_notice( + array( + 'id' => 'edd-discount-exists', + 'message' => __( 'A discount with that code already exists, please use a different code.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); + break; + case 'discount_updated': + $this->add_notice( + array( + 'id' => 'edd-discount-updated', + 'message' => __( 'Discount code updated.', 'easy-digital-downloads' ), + ) + ); + break; + case 'discount_not_changed': + $this->add_notice( + array( + 'id' => 'edd-discount-not-changed', + 'message' => __( 'No changes were made to that discount code.', 'easy-digital-downloads' ), + ) + ); + break; + case 'discount_update_failed': + $this->add_notice( + array( + 'id' => 'edd-discount-updated-fail', + 'message' => __( 'There was a problem updating that discount code, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); + break; + case 'discount_validation_failed': + $this->add_notice( + array( + 'id' => 'edd-discount-validation-fail', + 'message' => __( 'The discount code could not be added because one or more of the required fields was empty, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; case 'discount_invalid_code': - $this->add_notice( array( - 'id' => 'edd-discount-invalid-code', - 'message' => __( 'The discount code entered is invalid; only alphanumeric characters are allowed, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); - break; - case 'discount_invalid_amount' : - $this->add_notice( array( - 'id' => 'edd-discount-invalid-amount', - 'message' => __( 'The discount amount must be a valid percentage or numeric flat amount. Please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-invalid-code', + 'message' => __( 'The discount code entered is invalid; only alphanumeric characters are allowed, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); + break; + case 'discount_invalid_amount': + $this->add_notice( + array( + 'id' => 'edd-discount-invalid-amount', + 'message' => __( 'The discount amount must be a valid percentage or numeric flat amount. Please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; case 'discount_deleted': - $this->add_notice( array( - 'id' => 'edd-discount-deleted', - 'message' => __( 'Discount code deleted.', 'easy-digital-downloads' ) - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-deleted', + 'message' => __( 'Discount code deleted.', 'easy-digital-downloads' ), + ) + ); break; case 'discount_delete_failed': - $this->add_notice( array( - 'id' => 'edd-discount-delete-fail', - 'message' => __( 'There was a problem deleting that discount code, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-delete-fail', + 'message' => __( 'There was a problem deleting that discount code, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; case 'discount_activated': - $this->add_notice( array( - 'id' => 'edd-discount-activated', - 'message' => __( 'Discount code activated.', 'easy-digital-downloads' ) - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-activated', + 'message' => __( 'Discount code activated.', 'easy-digital-downloads' ), + ) + ); break; case 'discount_activation_failed': - $this->add_notice( array( - 'id' => 'edd-discount-activation-fail', - 'message' => __( 'There was a problem activating that discount code, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-activation-fail', + 'message' => __( 'There was a problem activating that discount code, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; case 'discount_deactivated': - $this->add_notice( array( - 'id' => 'edd-discount-deactivated', - 'message' => __( 'Discount code deactivated.', 'easy-digital-downloads' ) - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-deactivated', + 'message' => __( 'Discount code deactivated.', 'easy-digital-downloads' ), + ) + ); break; case 'discount_deactivation_failed': - $this->add_notice( array( - 'id' => 'edd-discount-deactivation-fail', - 'message' => __( 'There was a problem deactivating that discount code, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-deactivation-fail', + 'message' => __( 'There was a problem deactivating that discount code, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; case 'discount_archived': - $this->add_notice( array( - 'id' => 'edd-discount-archived', - 'message' => __( 'Discount code archived.', 'easy-digital-downloads' ) - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-archived', + 'message' => __( 'Discount code archived.', 'easy-digital-downloads' ), + ) + ); break; case 'discount_archived_failed': - $this->add_notice( array( - 'id' => 'edd-discount-archived-fail', - 'message' => __( 'There was a problem archiving that discount code, please try again.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + $this->add_notice( + array( + 'id' => 'edd-discount-archived-fail', + 'message' => __( 'There was a problem archiving that discount code, please try again.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; } } - // Shop reports errors + // Shop reports errors. if ( current_user_can( 'view_shop_reports' ) ) { - switch( $notice ) { - case 'refreshed-reports' : - $this->add_notice( array( - 'id' => 'edd-refreshed-reports', - 'message' => __( 'The reports have been refreshed.', 'easy-digital-downloads' ) - ) ); + switch ( $notice ) { + case 'refreshed-reports': + $this->add_notice( + array( + 'id' => 'edd-refreshed-reports', + 'message' => __( 'The reports have been refreshed.', 'easy-digital-downloads' ), + ) + ); break; } } - // Shop settings errors + // Shop settings errors. if ( current_user_can( 'manage_shop_settings' ) ) { - switch( $notice ) { - case 'settings-imported' : - $this->add_notice( array( - 'id' => 'edd-settings-imported', - 'message' => __( 'The settings have been imported.', 'easy-digital-downloads' ) - ) ); - break; - case 'api-key-generated' : - $this->add_notice( array( - 'id' => 'edd-api-key-generated', - 'message' => __( 'API keys successfully generated.', 'easy-digital-downloads' ) - ) ); - break; - case 'api-key-exists' : - $this->add_notice( array( - 'id' => 'edd-api-key-exists', - 'message' => __( 'The specified user already has API keys.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + switch ( $notice ) { + case 'settings-imported': + $this->add_notice( + array( + 'id' => 'edd-settings-imported', + 'message' => __( 'The settings have been imported.', 'easy-digital-downloads' ), + ) + ); break; - case 'api-key-regenerated' : - $this->add_notice( array( - 'id' => 'edd-api-key-regenerated', - 'message' => __( 'API keys successfully regenerated.', 'easy-digital-downloads' ) - ) ); + case 'api-key-generated': + $this->add_notice( + array( + 'id' => 'edd-api-key-generated', + 'message' => __( 'API keys successfully generated.', 'easy-digital-downloads' ), + ) + ); break; - case 'api-key-revoked' : - $this->add_notice( array( - 'id' => 'edd-api-key-revoked', - 'message' => __( 'API keys successfully revoked.', 'easy-digital-downloads' ) - ) ); + case 'api-key-exists': + $this->add_notice( + array( + 'id' => 'edd-api-key-exists', + 'message' => __( 'The specified user already has API keys.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; - case 'test-purchase-email-sent': + case 'api-key-regenerated': $this->add_notice( array( - 'id' => 'edd-test-purchase-receipt-sent', - 'message' => __( 'The test email was sent successfully.', 'easy-digital-downloads' ) + 'id' => 'edd-api-key-regenerated', + 'message' => __( 'API keys successfully regenerated.', 'easy-digital-downloads' ), ) ); break; - case 'test-purchase-email-failed': + case 'api-key-revoked': $this->add_notice( array( - 'id' => 'edd-test-purchase-receipt-failed', - 'message' => __( 'The test email could not be sent. Please check your email settings and try again.', 'easy-digital-downloads' ), - 'class' => 'error', + 'id' => 'edd-api-key-revoked', + 'message' => __( 'API keys successfully revoked.', 'easy-digital-downloads' ), ) ); break; @@ -748,7 +835,7 @@ private function add_user_action_notices( $notice = '' ) { $this->add_notice( array( 'id' => 'edd-test-summary-email-sent', - 'message' => __( 'The test email summary was sent successfully.', 'easy-digital-downloads' ) + 'message' => __( 'The test email summary was sent successfully.', 'easy-digital-downloads' ), ) ); break; @@ -765,133 +852,171 @@ private function add_user_action_notices( $notice = '' ) { } } - // Shop payments errors + // Shop payments errors. if ( current_user_can( 'edit_shop_payments' ) ) { - switch( $notice ) { - case 'note-added' : - $this->add_notice( array( - 'id' => 'edd-note-added', - 'message' => __( 'The note has been added successfully.', 'easy-digital-downloads' ) - ) ); - break; - case 'payment-updated' : - $this->add_notice( array( - 'id' => 'edd-payment-updated', - 'message' => __( 'The order has been updated successfully.', 'easy-digital-downloads' ) - ) ); - break; - case 'order_added' : - $this->add_notice( array( - 'id' => 'edd-order-added', - 'message' => __( 'Order successfully created.', 'easy-digital-downloads' ) - ) ); - break; - case 'order_trashed' : - $this->add_notice( array( - 'id' => 'edd-order-trashed', - 'message' => __( 'The order has been moved to the trash.', 'easy-digital-downloads' ) - ) ); - break; - case 'order_restored' : - $this->add_notice( array( - 'id' => 'edd-order-restored', - 'message' => __( 'The order has been restored.', 'easy-digital-downloads' ) - ) ); - break; - case 'payment_deleted' : - $this->add_notice( array( - 'id' => 'edd-payment-deleted', - 'message' => __( 'The order has been deleted.', 'easy-digital-downloads' ) - ) ); - break; - case 'email_sent' : - $this->add_notice( array( - 'id' => 'edd-payment-sent', - 'message' => __( 'The purchase receipt has been resent.', 'easy-digital-downloads' ) - ) ); + switch ( $notice ) { + case 'note-added': + $this->add_notice( + array( + 'id' => 'edd-note-added', + 'message' => __( 'The note has been added successfully.', 'easy-digital-downloads' ), + ) + ); + break; + case 'payment-updated': + $this->add_notice( + array( + 'id' => 'edd-payment-updated', + 'message' => __( 'The order has been updated successfully.', 'easy-digital-downloads' ), + ) + ); + break; + case 'order_added': + $this->add_notice( + array( + 'id' => 'edd-order-added', + 'message' => __( 'Order successfully created.', 'easy-digital-downloads' ), + ) + ); + break; + case 'order_trashed': + $this->add_notice( + array( + 'id' => 'edd-order-trashed', + 'message' => __( 'The order has been moved to the trash.', 'easy-digital-downloads' ), + ) + ); + break; + case 'order_restored': + $this->add_notice( + array( + 'id' => 'edd-order-restored', + 'message' => __( 'The order has been restored.', 'easy-digital-downloads' ), + ) + ); + break; + case 'payment_deleted': + $this->add_notice( + array( + 'id' => 'edd-payment-deleted', + 'message' => __( 'The order has been deleted.', 'easy-digital-downloads' ), + ) + ); + break; + case 'email_sent': + $this->add_notice( + array( + 'id' => 'edd-payment-sent', + 'message' => __( 'The purchase receipt has been resent.', 'easy-digital-downloads' ), + ) + ); break; case 'email_send_failed': - $this->add_notice( array( - 'id' => 'edd-payment-not-sent', - 'message' => __( 'The purchase receipt could not be resent.', 'easy-digital-downloads' ), - 'class' => 'error' - ) ); + $this->add_notice( + array( + 'id' => 'edd-payment-not-sent', + 'message' => __( 'The purchase receipt could not be resent.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; case 'email_possibly_not_sent': - $this->add_notice( array( - 'id' => 'edd-order-receipt-maybe-not-sent', - 'message' => __( 'The purchase receipt may not have been sent.', 'easy-digital-downloads' ), - 'class' => 'notice-warning' - ) ); - break; - case 'payment-note-deleted' : - $this->add_notice( array( - 'id' => 'edd-note-deleted', - 'message' => __( 'The order note has been deleted.', 'easy-digital-downloads' ) - ) ); + $this->add_notice( + array( + 'id' => 'edd-order-receipt-maybe-not-sent', + 'message' => __( 'The purchase receipt may not have been sent.', 'easy-digital-downloads' ), + 'class' => 'notice-warning', + ) + ); + break; + case 'payment-note-deleted': + $this->add_notice( + array( + 'id' => 'edd-note-deleted', + 'message' => __( 'The order note has been deleted.', 'easy-digital-downloads' ), + ) + ); break; } } - // Customer Notices + // Customer Notices. if ( current_user_can( 'edit_shop_payments' ) ) { - switch( $notice ) { - case 'customer-deleted' : - $this->add_notice( array( - 'id' => 'edd-customer-deleted', - 'message' => __( 'Customer successfully deleted.', 'easy-digital-downloads' ), - ) ); - break; - case 'user-verified' : - $this->add_notice( array( - 'id' => 'edd-user-verified', - 'message' => __( 'User successfully verified.', 'easy-digital-downloads' ), - ) ); - break; - case 'email-added' : - $this->add_notice( array( - 'id' => 'edd-customer-email-added', - 'message' => __( 'Customer email added.', 'easy-digital-downloads' ), - ) ); - break; - case 'email-removed' : - $this->add_notice( array( - 'id' => 'edd-customer-email-removed', - 'message' => __( 'Customer email deleted.', 'easy-digital-downloads' ), - ) ); - break; - case 'email-remove-failed' : - $this->add_notice( array( - 'id' => 'edd-customer-email-remove-failed', - 'message' => __( 'Failed to delete customer email.', 'easy-digital-downloads' ), - 'class' => 'error', - ) ); - break; - case 'primary-email-updated' : - $this->add_notice( array( - 'id' => 'eddedd-customer-primary-email-updated', - 'message' => __( 'Primary email updated for customer.', 'easy-digital-downloads' ) - ) ); - break; - case 'primary-email-failed' : - $this->add_notice( array( - 'id' => 'edd-customer-primary-email-failed', - 'message' => __( 'Failed to set primary email.', 'easy-digital-downloads' ), - 'class' => 'error', - ) ); - break; - case 'address-removed' : - $this->add_notice( array( - 'id' => 'edd-customer-address-removed', - 'message' => __( 'Customer address deleted.', 'easy-digital-downloads' ) - ) ); - break; - case 'address-remove-failed' : - $this->add_notice( array( - 'id' => 'edd-customer-address-remove-failed', - 'message' => __( 'Failed to delete customer address.', 'easy-digital-downloads' ), - 'class' => 'error', - ) ); + switch ( $notice ) { + case 'customer-deleted': + $this->add_notice( + array( + 'id' => 'edd-customer-deleted', + 'message' => __( 'Customer successfully deleted.', 'easy-digital-downloads' ), + ) + ); + break; + case 'user-verified': + $this->add_notice( + array( + 'id' => 'edd-user-verified', + 'message' => __( 'User successfully verified.', 'easy-digital-downloads' ), + ) + ); + break; + case 'email-added': + $this->add_notice( + array( + 'id' => 'edd-customer-email-added', + 'message' => __( 'Customer email added.', 'easy-digital-downloads' ), + ) + ); + break; + case 'email-removed': + $this->add_notice( + array( + 'id' => 'edd-customer-email-removed', + 'message' => __( 'Customer email deleted.', 'easy-digital-downloads' ), + ) + ); + break; + case 'email-remove-failed': + $this->add_notice( + array( + 'id' => 'edd-customer-email-remove-failed', + 'message' => __( 'Failed to delete customer email.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); + break; + case 'primary-email-updated': + $this->add_notice( + array( + 'id' => 'eddedd-customer-primary-email-updated', + 'message' => __( 'Primary email updated for customer.', 'easy-digital-downloads' ), + ) + ); + break; + case 'primary-email-failed': + $this->add_notice( + array( + 'id' => 'edd-customer-primary-email-failed', + 'message' => __( 'Failed to set primary email.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); + break; + case 'address-removed': + $this->add_notice( + array( + 'id' => 'edd-customer-address-removed', + 'message' => __( 'Customer address deleted.', 'easy-digital-downloads' ), + ) + ); + break; + case 'address-remove-failed': + $this->add_notice( + array( + 'id' => 'edd-customer-address-remove-failed', + 'message' => __( 'Failed to delete customer address.', 'easy-digital-downloads' ), + 'class' => 'error', + ) + ); break; } } @@ -901,7 +1026,7 @@ private function add_user_action_notices( $notice = '' ) { array( 'id' => 'edd-upgraded', 'message' => sprintf( - /* Translators: 1. opening strong tag, do not translate; 2. closing strong tag, do not translate */ + /* translators: 1: opening strong tag, do not translate, 2: closing strong tag, do not translate */ __( 'Congratulations! You are now running %1$sEasy Digital Downloads (Pro)%2$s.', 'easy-digital-downloads' ), '', '' @@ -980,7 +1105,7 @@ public function edd_disable_debugging() { * * @since 2.6.0 bbPress (r6775) * - * @param string $message + * @param string $message Message to escape. * * @return string */ diff --git a/includes/admin/customers/class-customer-addresses-table.php b/includes/admin/customers/class-customer-addresses-table.php index 823bc0ef1ac..d94ae08be4d 100644 --- a/includes/admin/customers/class-customer-addresses-table.php +++ b/includes/admin/customers/class-customer-addresses-table.php @@ -9,7 +9,7 @@ * @since 3.0 */ -// Exit if accessed directly +// Exit if accessed directly. defined( 'ABSPATH' ) || exit; use EDD\Admin\List_Table; @@ -30,11 +30,13 @@ class EDD_Customer_Addresses_Table extends List_Table { * @see WP_List_Table::__construct() */ public function __construct() { - parent::__construct( array( - 'singular' => 'address', - 'plural' => 'addresses', - 'ajax' => false - ) ); + parent::__construct( + array( + 'singular' => 'address', + 'plural' => 'addresses', + 'ajax' => false, + ) + ); $this->process_bulk_action(); $this->get_counts(); @@ -57,22 +59,22 @@ protected function get_primary_column_name() { * * @since 3.0 * - * @param array $item Contains all the data of the customers - * @param string $column_name The name of the column + * @param array $item Contains all the data of the customers. + * @param string $column_name The name of the column. * * @return string Column Name */ public function column_default( $item, $column_name ) { switch ( $column_name ) { - case 'type' : + case 'type': $value = edd_get_address_type_label( $item['type'] ); if ( ! empty( $item['is_primary'] ) ) { $value .= '  ' . esc_html__( 'Primary', 'easy-digital-downloads' ) . ''; } break; - case 'date_created' : + case 'date_created': $value = ''; break; @@ -83,7 +85,7 @@ public function column_default( $item, $column_name ) { break; } - // Filter & return + // Filter & return. return apply_filters( 'edd_customers_column_' . $column_name, $value, $item['id'] ); } @@ -92,53 +94,56 @@ public function column_default( $item, $column_name ) { * * @since 3.0 * - * @param array $item + * @param array $item The current item. * @return string */ public function column_address( $item ) { - $state = $extra = ''; + $state = ''; + $extra = ''; $status = $this->get_status(); - $address = ! empty( $item['address'] ) ? $item['address'] : '—'; - $address2 = ! empty( $item['address2'] ) ? $item['address2'] : ''; - $city = ! empty( $item['city'] ) ? $item['city'] : ''; + $address = ! empty( $item['address'] ) ? $item['address'] : '—'; + $address2 = ! empty( $item['address2'] ) ? $item['address2'] : ''; + $city = ! empty( $item['city'] ) ? $item['city'] : ''; $code = ! empty( $item['postal_code'] ) ? $item['postal_code'] : ''; - // Address2 + // Address2. if ( ! empty( $address2 ) ) { $extra .= '
    ' . $address2; } - // City & Zip + // City & Zip. if ( ! empty( $city ) || ! empty( $code ) ) { $extra .= '
    ' . implode( ' ', array( $city, $code ) ); } - // Get the item status + // Get the item status. $item_status = ! empty( $item['status'] ) ? $item['status'] : 'verified'; - // Get the customer ID + // Get the customer ID. $customer_id = ! empty( $item['customer_id'] ) ? absint( $item['customer_id'] ) : 0; - // Link to customer - $customer_url = edd_get_admin_url( array( - 'page' => 'edd-customers', - 'view' => 'overview', - 'id' => absint( $customer_id ), - ) ); + // Link to customer. + $customer_url = edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'view' => 'overview', + 'id' => absint( $customer_id ), + ) + ); - // State - if ( ( ! empty( $status ) && ( $status !== $item_status ) ) || ( $item_status !== 'active' ) ) { + // State. + if ( ( ! empty( $status ) && ( $status !== $item_status ) ) || ( 'active' !== $item_status ) ) { switch ( $status ) { - case 'pending' : + case 'pending': $value = __( 'Pending', 'easy-digital-downloads' ); break; - case 'verified' : - case '' : - default : + case 'verified': + case '': + default: $value = __( 'Active', 'easy-digital-downloads' ); break; } @@ -146,7 +151,7 @@ public function column_address( $item ) { $state = ' — ' . $value; } - // Concatenate and return + // Concatenate and return. return '' . esc_html( $address ) . '' . esc_html( $state ) . '' . $extra . $this->row_actions( $this->get_row_actions( $item ) ); } @@ -154,11 +159,11 @@ public function column_address( $item ) { * Gets the row actions for the customer address. * * @since 3.0 - * @param array $item + * @param array $item The current item. * @return array */ private function get_row_actions( $item ) { - // Link to customer + // Link to customer. $customer_url = edd_get_admin_url( array( 'page' => 'edd-customers', @@ -167,18 +172,23 @@ private function get_row_actions( $item ) { ) ); - // Actions + // Actions. $actions = array( - 'view' => '' . esc_html__( 'View', 'easy-digital-downloads' ) . '' + 'view' => '' . esc_html__( 'View', 'easy-digital-downloads' ) . '', ); if ( empty( $item['is_primary'] ) ) { - $delete_url = wp_nonce_url( edd_get_admin_url( array( - 'page' => 'edd-customers', - 'view' => 'overview', - 'id' => urlencode( $item['id'] ), - 'edd_action' => 'customer-remove-address' - ) ), 'edd-remove-customer-address' ); + $delete_url = wp_nonce_url( + edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'view' => 'overview', + 'id' => urlencode( $item['id'] ), + 'edd_action' => 'customer-remove-address', + ) + ), + 'edd-remove-customer-address' + ); $actions['delete'] = '' . esc_html__( 'Delete', 'easy-digital-downloads' ) . ''; } @@ -197,37 +207,39 @@ private function get_row_actions( $item ) { * * @since 3.0 * - * @param array $item + * @param array $item The current item. * @return string */ public function column_customer( $item ) { - // Get the customer ID + // Get the customer ID. $customer_id = ! empty( $item['customer_id'] ) ? absint( $item['customer_id'] ) : 0; - // Bail if no customer ID + // Bail if no customer ID. if ( empty( $customer_id ) ) { return '—'; } - // Try to get the customer + // Try to get the customer. $customer = edd_get_customer( $customer_id ); - // Bail if customer no longer exists + // Bail if customer no longer exists. if ( empty( $customer ) ) { return '—'; } - // Link to customer - $customer_url = edd_get_admin_url( array( - 'page' => 'edd-customers', - 'page_type' => 'physical', - 's' => 'c:' . absint( $customer_id ) - ) ); + // Link to customer. + $customer_url = edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'page_type' => 'physical', + 's' => 'c:' . absint( $customer_id ), + ) + ); - // Concatenate and return + // Concatenate and return. return '' . esc_html( $customer->name ) . ''; } @@ -253,10 +265,10 @@ public function column_cb( $item ) { } return sprintf( '', - /*$1%s*/ 'customer', - /*$2%s*/ esc_attr( $item['id'] ), - /* translators: customer name or address id */ - esc_html( sprintf( __( 'Select %s', 'easy-digital-downloads' ), $name ) ) + esc_attr( 'customer' ), + esc_attr( $item['id'] ), + /* translators: %s: the customer name */ + esc_html( sprintf( _x( 'Select %s', 'Noun: The customer name', 'easy-digital-downloads' ), $name ) ) ); } @@ -278,15 +290,18 @@ public function get_counts() { * @return array $columns Array of all the list table columns */ public function get_columns() { - return apply_filters( 'edd_report_customer_columns', array( - 'cb' => '', - 'address' => __( 'Address', 'easy-digital-downloads' ), - 'region' => __( 'Region', 'easy-digital-downloads' ), - 'country' => __( 'Country', 'easy-digital-downloads' ), - 'customer' => __( 'Customer', 'easy-digital-downloads' ), - 'type' => __( 'Type', 'easy-digital-downloads' ), - 'date_created' => __( 'Date', 'easy-digital-downloads' ) - ) ); + return apply_filters( + 'edd_report_customer_columns', + array( + 'cb' => '', + 'address' => __( 'Address', 'easy-digital-downloads' ), + 'region' => __( 'Region', 'easy-digital-downloads' ), + 'country' => __( 'Country', 'easy-digital-downloads' ), + 'customer' => __( 'Customer', 'easy-digital-downloads' ), + 'type' => __( 'Type', 'easy-digital-downloads' ), + 'date_created' => __( 'Date', 'easy-digital-downloads' ), + ) + ); } /** @@ -297,12 +312,12 @@ public function get_columns() { */ public function get_sortable_columns() { return array( - 'date_created' => array( 'date_created', true ), - 'address' => array( 'address', false ), - 'region' => array( 'region', true ), - 'country' => array( 'country', true ), - 'customer' => array( 'customer_id', false ), - 'type' => array( 'type', false ) + 'date_created' => array( 'date_created', true ), + 'address' => array( 'address', false ), + 'region' => array( 'region', true ), + 'country' => array( 'country', true ), + 'customer' => array( 'customer_id', false ), + 'type' => array( 'type', false ), ); } @@ -315,7 +330,7 @@ public function get_sortable_columns() { */ public function get_bulk_actions() { return array( - 'delete' => __( 'Delete', 'easy-digital-downloads' ) + 'delete' => __( 'Delete', 'easy-digital-downloads' ), ); } @@ -344,7 +359,7 @@ public function process_bulk_action() { foreach ( $ids as $id ) { switch ( $this->current_action() ) { - case 'delete' : + case 'delete': edd_delete_customer_address( $id ); break; } @@ -363,44 +378,44 @@ public function get_data() { $search = $this->get_search(); $args = array( 'status' => $this->get_status() ); - // Customer ID + // Customer ID. if ( strpos( $search, 'c:' ) !== false ) { $args['customer_id'] = trim( str_replace( 'c:', '', $search ) ); - // Country + // Country. } elseif ( strpos( $search, 'country:' ) !== false ) { $search = substr( $search, strlen( 'country:' ) ); $args['search'] = $search; $args['search_columns'] = array( 'country' ); - // Zip + // Zip. } elseif ( strpos( $search, 'zip:' ) !== false ) { $search = substr( $search, strlen( 'zip:' ) ); $args['search'] = $search; $args['search_columns'] = array( 'zip' ); - // Region + // Region. } elseif ( strpos( $search, 'region:' ) !== false ) { $search = substr( $search, strlen( 'region:' ) ); $args['search'] = $search; $args['search_columns'] = array( 'region' ); - // City + // City. } elseif ( strpos( $search, 'city:' ) !== false ) { $search = substr( $search, strlen( 'city:' ) ); $args['search'] = $search; $args['search_columns'] = array( 'city' ); - // Any... + // Any... } else { $args['search'] = $search; $args['search_columns'] = array( 'address', 'address2', 'city', 'region', 'country', 'postal_code' ); } - // Parse pagination + // Parse pagination. $this->args = $this->parse_pagination_args( $args ); - // Get the data + // Get the data. $addresses = edd_get_customer_addresses( $this->args ); if ( ! empty( $addresses ) ) { @@ -436,26 +451,28 @@ public function prepare_items() { $this->_column_headers = array( $this->get_columns(), array(), - $this->get_sortable_columns() + $this->get_sortable_columns(), ); $this->items = $this->get_data(); $status = $this->get_status( 'total' ); - // Setup pagination - $this->set_pagination_args( array( - 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), - 'total_items' => $this->counts[ $status ], - 'per_page' => $this->per_page - ) ); + // Setup pagination. + $this->set_pagination_args( + array( + 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), + 'total_items' => $this->counts[ $status ], + 'per_page' => $this->per_page, + ) + ); } /** * Generate the table navigation above or below the table. * We're overriding this to turn off the referer param in `wp_nonce_field()`. * - * @param string $which + * @param string $which If we're rendering the top or bottom nav. * @since 3.1.0.4 */ protected function display_tablenav( $which ) { diff --git a/includes/admin/customers/class-customer-email-addresses-table.php b/includes/admin/customers/class-customer-email-addresses-table.php index b2b7b72e36d..83acda8c634 100644 --- a/includes/admin/customers/class-customer-email-addresses-table.php +++ b/includes/admin/customers/class-customer-email-addresses-table.php @@ -9,7 +9,7 @@ * @since 3.0 */ -// Exit if accessed directly +// Exit if accessed directly. defined( 'ABSPATH' ) || exit; use EDD\Admin\List_Table; @@ -30,11 +30,13 @@ class EDD_Customer_Email_Addresses_Table extends List_Table { * @see WP_List_Table::__construct() */ public function __construct() { - parent::__construct( array( - 'singular' => 'email', - 'plural' => 'emails', - 'ajax' => false - ) ); + parent::__construct( + array( + 'singular' => 'email', + 'plural' => 'emails', + 'ajax' => false, + ) + ); $this->process_bulk_action(); $this->get_counts(); @@ -57,29 +59,29 @@ protected function get_primary_column_name() { * * @since 3.0 * - * @param array $item Contains all the data of the customers - * @param string $column_name The name of the column + * @param array $item Contains all the data of the customers. + * @param string $column_name The name of the column. * * @return string Column Name */ public function column_default( $item, $column_name ) { switch ( $column_name ) { - case 'id' : + case 'id': $value = $item['id']; break; - case 'email' : + case 'email': $value = '' . esc_html( $item['email'] ) . ''; break; - case 'type' : + case 'type': $value = ( 'primary' === $item['type'] ) - ? esc_html__( 'Primary', 'easy-digital-downloads' ) + ? esc_html__( 'Primary', 'easy-digital-downloads' ) : esc_html__( 'Secondary', 'easy-digital-downloads' ); break; - case 'date_created' : + case 'date_created': $value = ''; break; @@ -90,7 +92,7 @@ public function column_default( $item, $column_name ) { break; } - // Filter & return + // Filter & return. return apply_filters( 'edd_customers_column_' . $column_name, $value, $item['id'] ); } @@ -99,40 +101,42 @@ public function column_default( $item, $column_name ) { * * @since 3.0 * - * @param array $item + * @param array $item The current item. * @return string */ public function column_email( $item ) { - $state = ''; - $status = $this->get_status(); - $email = ! empty( $item['email'] ) ? $item['email'] : '—'; + $state = ''; + $status = $this->get_status(); + $email = ! empty( $item['email'] ) ? $item['email'] : '—'; - // Get the item status + // Get the item status. $item_status = ! empty( $item['status'] ) ? $item['status'] : 'verified'; - // Get the customer ID + // Get the customer ID. $customer_id = ! empty( $item['customer_id'] ) ? absint( $item['customer_id'] ) : 0; - // Link to customer - $customer_url = edd_get_admin_url( array( - 'page' => 'edd-customers', - 'view' => 'overview', - 'id' => absint( $customer_id ), - ) ); + // Link to customer. + $customer_url = edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'view' => 'overview', + 'id' => absint( $customer_id ), + ) + ); - // State - if ( ( ! empty( $status ) && ( $status !== $item_status ) ) || ( $item_status !== 'active' ) ) { + // State. + if ( ( ! empty( $status ) && ( $status !== $item_status ) ) || ( 'active' !== $item_status ) ) { switch ( $status ) { - case 'pending' : + case 'pending': $value = __( 'Pending', 'easy-digital-downloads' ); break; - case 'verified' : - case '' : - default : + case 'verified': + case '': + default: $value = __( 'Active', 'easy-digital-downloads' ); break; } @@ -140,7 +144,7 @@ public function column_email( $item ) { $state = ' — ' . $value; } - // Concatenate and return + // Concatenate and return. return '' . esc_html( $email ) . '' . esc_html( $state ) . '' . $this->row_actions( $this->get_row_actions( $item ) ); } @@ -148,11 +152,11 @@ public function column_email( $item ) { * Gets the row actions for the customer email address. * * @since 3.0 - * @param array $item + * @param array $item The current item. * @return array */ private function get_row_actions( $item ) { - // Link to customer + // Link to customer. $customer_url = edd_get_admin_url( array( 'page' => 'edd-customers', @@ -161,20 +165,25 @@ private function get_row_actions( $item ) { ) ); - // Actions + // Actions. $actions = array( 'view' => '' . __( 'View', 'easy-digital-downloads' ) . '', ); - // Non-primary email actions + // Non-primary email actions. if ( ! empty( $item['email'] ) && ( empty( $item['type'] ) || 'primary' !== $item['type'] ) ) { - $delete_url = wp_nonce_url( edd_get_admin_url( array( - 'page' => 'edd-customers', - 'view' => 'overview', - 'id' => urlencode( $item['customer_id'] ), - 'email' => rawurlencode( $item['email'] ), - 'edd_action' => 'customer-remove-email', - ) ), 'edd-remove-customer-email' ); + $delete_url = wp_nonce_url( + edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'view' => 'overview', + 'id' => urlencode( $item['customer_id'] ), + 'email' => rawurlencode( $item['email'] ), + 'edd_action' => 'customer-remove-email', + ) + ), + 'edd-remove-customer-email' + ); $actions['delete'] = '' . esc_html__( 'Delete', 'easy-digital-downloads' ) . ''; } @@ -193,37 +202,39 @@ private function get_row_actions( $item ) { * * @since 3.0 * - * @param array $item + * @param array $item The current item. * @return string */ public function column_customer( $item ) { - // Get the customer ID + // Get the customer ID. $customer_id = ! empty( $item['customer_id'] ) ? absint( $item['customer_id'] ) : 0; - // Bail if no customer ID + // Bail if no customer ID. if ( empty( $customer_id ) ) { return '—'; } - // Try to get the customer + // Try to get the customer. $customer = edd_get_customer( $customer_id ); - // Bail if customer no longer exists + // Bail if customer no longer exists. if ( empty( $customer ) ) { return '—'; } - // Link to customer - $customer_url = edd_get_admin_url( array( - 'page' => 'edd-customers', - 'page_type' => 'emails', - 's' => 'c:' . absint( $customer_id ) - ) ); + // Link to customer. + $customer_url = edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'page_type' => 'emails', + 's' => 'c:' . absint( $customer_id ), + ) + ); - // Concatenate and return + // Concatenate and return. return '' . esc_html( $customer->name ) . ''; } @@ -233,7 +244,7 @@ public function column_customer( $item ) { * @access public * @since 3.0 * - * @param array $item + * @param array $item The current item. * * @return string Displays a checkbox */ @@ -244,12 +255,12 @@ public function column_cb( $item ) { return sprintf( '', - /*$1%s*/ esc_attr( 'customer' ), - /*$2%s*/ esc_attr( $item['id'] ), - /* translators: customer email */ - esc_html( sprintf( __( 'Select %s', 'easy-digital-downloads' ), $item['email'] ) ), - /*$4%s*/ esc_attr( $title ), - /*$5%s*/ $primary_attributes + esc_attr( 'customer' ), + esc_attr( $item['id'] ), + /* translators: %s: the customer email address */ + esc_html( sprintf( _x( 'Select %s', 'Noun: The customer email address', 'easy-digital-downloads' ), $item['email'] ) ), + esc_attr( $title ), + $primary_attributes ); } @@ -271,13 +282,16 @@ public function get_counts() { * @return array $columns Array of all the list table columns */ public function get_columns() { - return apply_filters( 'edd_report_customer_columns', array( - 'cb' => '', - 'email' => __( 'Email', 'easy-digital-downloads' ), - 'customer' => __( 'Customer', 'easy-digital-downloads' ), - 'type' => __( 'Type', 'easy-digital-downloads' ), - 'date_created' => __( 'Date', 'easy-digital-downloads' ) - ) ); + return apply_filters( + 'edd_report_customer_columns', + array( + 'cb' => '', + 'email' => __( 'Email', 'easy-digital-downloads' ), + 'customer' => __( 'Customer', 'easy-digital-downloads' ), + 'type' => __( 'Type', 'easy-digital-downloads' ), + 'date_created' => __( 'Date', 'easy-digital-downloads' ), + ) + ); } /** @@ -288,10 +302,10 @@ public function get_columns() { */ public function get_sortable_columns() { return array( - 'date_created' => array( 'date_created', true ), - 'email' => array( 'email', true ), - 'customer' => array( 'customer_id', false ), - 'type' => array( 'type', false ) + 'date_created' => array( 'date_created', true ), + 'email' => array( 'email', true ), + 'customer' => array( 'customer_id', false ), + 'type' => array( 'type', false ), ); } @@ -304,7 +318,7 @@ public function get_sortable_columns() { */ public function get_bulk_actions() { return array( - 'delete' => __( 'Delete', 'easy-digital-downloads' ) + 'delete' => __( 'Delete', 'easy-digital-downloads' ), ); } @@ -335,16 +349,18 @@ public function process_bulk_action() { * Only non-primary email addresses can be deleted, so we're building up a safelist using the provided * IDs. Each ID will be matched against this prior to deletion. */ - $non_primary_address_ids = edd_get_customer_email_addresses( array( - 'id__in' => $ids, - 'type__not_in' => array( 'primary' ), - 'fields' => 'id' - ) ); + $non_primary_address_ids = edd_get_customer_email_addresses( + array( + 'id__in' => $ids, + 'type__not_in' => array( 'primary' ), + 'fields' => 'id', + ) + ); foreach ( $ids as $id ) { switch ( $this->current_action() ) { - case 'delete' : - if ( in_array( $id, $non_primary_address_ids ) ) { + case 'delete': + if ( in_array( $id, $non_primary_address_ids, true ) ) { edd_delete_customer_email_address( $id ); } break; @@ -362,7 +378,7 @@ public function process_bulk_action() { public function get_data() { $data = array(); $search = $this->get_search(); - $args = array( 'status' => $this->get_status() ); + $args = array( 'status' => $this->get_status() ); // Account for search stripping the "+" from emails. if ( strpos( $search, ' ' ) ) { @@ -377,15 +393,15 @@ public function get_data() { if ( is_email( $search ) ) { $args['email'] = $search; - // Address ID. + // Address ID. } elseif ( is_numeric( $search ) ) { $args['id'] = $search; - // Customer ID. + // Customer ID. } elseif ( strpos( $search, 'c:' ) !== false ) { $args['customer_id'] = trim( str_replace( 'c:', '', $search ) ); - // Any... + // Any... } else { $args['search'] = $search; $args['search_columns'] = array( 'email' ); @@ -423,26 +439,28 @@ public function prepare_items() { $this->_column_headers = array( $this->get_columns(), array(), - $this->get_sortable_columns() + $this->get_sortable_columns(), ); $this->items = $this->get_data(); $status = $this->get_status( 'total' ); - // Setup pagination - $this->set_pagination_args( array( - 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), - 'total_items' => $this->counts[ $status ], - 'per_page' => $this->per_page - ) ); + // Setup pagination. + $this->set_pagination_args( + array( + 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), + 'total_items' => $this->counts[ $status ], + 'per_page' => $this->per_page, + ) + ); } /** * Generate the table navigation above or below the table. * We're overriding this to turn off the referer param in `wp_nonce_field()`. * - * @param string $which + * @param string $which Which table nav we're rendering, top or bottom. * @since 3.1.0.4 */ protected function display_tablenav( $which ) { diff --git a/includes/admin/customers/class-customer-table.php b/includes/admin/customers/class-customer-table.php index b6978596c9b..11c2c19de58 100755 --- a/includes/admin/customers/class-customer-table.php +++ b/includes/admin/customers/class-customer-table.php @@ -9,7 +9,7 @@ * @since 1.5 */ -// Exit if accessed directly +// Exit if accessed directly. defined( 'ABSPATH' ) || exit; use EDD\Admin\List_Table; @@ -30,11 +30,13 @@ class EDD_Customer_Reports_Table extends List_Table { * @see WP_List_Table::__construct() */ public function __construct() { - parent::__construct( array( - 'singular' => 'customer', - 'plural' => 'customers', - 'ajax' => false - ) ); + parent::__construct( + array( + 'singular' => 'customer', + 'plural' => 'customers', + 'ajax' => false, + ) + ); $this->process_bulk_action(); $this->get_counts(); @@ -57,8 +59,8 @@ protected function get_primary_column_name() { * * @since 1.5 * - * @param array $item Contains all the data of the customers - * @param string $column_name The name of the column + * @param array $item Contains all the data of the customers. + * @param string $column_name The name of the column. * * @return string Column Name */ @@ -68,27 +70,29 @@ public function column_default( $item, $column_name ) { switch ( $column_name ) { - case 'id' : + case 'id': $value = esc_html( $item['id'] ); break; - case 'email' : + case 'email': $value = '' . esc_html( $item['email'] ) . ''; break; - case 'order_count' : - $url = edd_get_admin_url( array( - 'page' => 'edd-payment-history', - 'customer' => rawurlencode( $item['id'] ), - ) ); + case 'order_count': + $url = edd_get_admin_url( + array( + 'page' => 'edd-payment-history', + 'customer' => rawurlencode( $item['id'] ), + ) + ); $value = '' . esc_html( number_format_i18n( $item['order_count'] ) ) . ''; break; - case 'spent' : + case 'spent': $value = edd_currency_filter( edd_format_amount( $item[ $column_name ] ) ); break; - case 'date_created' : + case 'date_created': $value = ''; break; @@ -99,7 +103,7 @@ public function column_default( $item, $column_name ) { break; } - // Filter & return + // Filter & return. return apply_filters( 'edd_customers_column_' . esc_attr( $column_name ), $value, $item['id'] ); } @@ -108,7 +112,7 @@ public function column_default( $item, $column_name ) { * * @since 3.0 * - * @param array $item + * @param array $item The current item. * @return string */ public function column_name( $item ) { @@ -162,7 +166,7 @@ public function column_name( $item ) { * Gets the row actions for the customer. * * @since 3.0 - * @param array $item + * @param array $item The current item. * @return array */ private function get_row_actions( $item ) { @@ -217,10 +221,10 @@ public function column_cb( $item ) { return sprintf( '', - /*$1%s*/ 'customer', - /*$2%s*/ esc_attr( $item['id'] ), - /* translators: customer name or email */ - esc_html( sprintf( __( 'Select %s', 'easy-digital-downloads' ), $name ) ) + 'customer', + esc_attr( $item['id'] ), + /* translators: %s: the customer name or email address */ + esc_html( sprintf( _x( 'Select %s', 'Noun: The customer name or Email Address', 'easy-digital-downloads' ), $name ) ) ); } @@ -241,14 +245,17 @@ public function get_counts() { * @return array $columns Array of all the list table columns */ public function get_columns() { - return apply_filters( 'edd_report_customer_columns', array( - 'cb' => '', - 'name' => __( 'Name', 'easy-digital-downloads' ), - 'email' => __( 'Email', 'easy-digital-downloads' ), - 'order_count' => __( 'Orders', 'easy-digital-downloads' ), - 'spent' => __( 'Spent', 'easy-digital-downloads' ), - 'date_created' => __( 'Date', 'easy-digital-downloads' ) - ) ); + return apply_filters( + 'edd_report_customer_columns', + array( + 'cb' => '', + 'name' => __( 'Name', 'easy-digital-downloads' ), + 'email' => __( 'Email', 'easy-digital-downloads' ), + 'order_count' => __( 'Orders', 'easy-digital-downloads' ), + 'spent' => __( 'Spent', 'easy-digital-downloads' ), + 'date_created' => __( 'Date', 'easy-digital-downloads' ), + ) + ); } /** @@ -259,11 +266,11 @@ public function get_columns() { */ public function get_sortable_columns() { return array( - 'date_created' => array( 'date_created', true ), - 'name' => array( 'name', true ), - 'email' => array( 'email', true ), - 'order_count' => array( 'purchase_count', false ), - 'spent' => array( 'purchase_value', false ) + 'date_created' => array( 'date_created', true ), + 'name' => array( 'name', true ), + 'email' => array( 'email', true ), + 'order_count' => array( 'purchase_count', false ), + 'spent' => array( 'purchase_value', false ), ); } @@ -275,7 +282,7 @@ public function get_sortable_columns() { */ public function get_bulk_actions() { return array( - 'delete' => __( 'Delete', 'easy-digital-downloads' ) + 'delete' => __( 'Delete', 'easy-digital-downloads' ), ); } @@ -305,7 +312,7 @@ public function process_bulk_action() { foreach ( $ids as $id ) { switch ( $this->current_action() ) { - case 'delete' : + case 'delete': edd_delete_customer( $id ); break; } @@ -369,7 +376,7 @@ public function get_data() { $args['search_columns'] = array( 'name', 'email' ); } - // Parse pagination + // Parse pagination. $this->args = $this->parse_pagination_args( $args ); if ( is_email( $search ) ) { @@ -387,10 +394,10 @@ public function get_data() { ) ); } else { - $customers = edd_get_customers( $this->args ); + $customers = edd_get_customers( $this->args ); } - // Get the data + // Get the data. if ( ! empty( $customers ) ) { foreach ( $customers as $customer ) { $data[] = array( @@ -419,7 +426,7 @@ public function prepare_items() { $this->_column_headers = array( $this->get_columns(), array(), - $this->get_sortable_columns() + $this->get_sortable_columns(), ); $this->items = $this->get_data(); @@ -430,19 +437,21 @@ public function prepare_items() { // If $this->per_page is 0, then set total pages to 1. $total_pages = $this->per_page ? ceil( (int) $this->counts[ $status ] / (int) $this->per_page ) : 1; - // Setup pagination - $this->set_pagination_args( array( - 'total_pages' => $total_pages, - 'total_items' => $this->counts[ $status ], - 'per_page' => $this->per_page, - ) ); + // Setup pagination. + $this->set_pagination_args( + array( + 'total_pages' => $total_pages, + 'total_items' => $this->counts[ $status ], + 'per_page' => $this->per_page, + ) + ); } /** * Generate the table navigation above or below the table. * We're overriding this to turn off the referer param in `wp_nonce_field()`. * - * @param string $which + * @param string $which Which part of the table nav we're rendering, top or bottom. * @since 3.1.0.4 */ protected function display_tablenav( $which ) { diff --git a/includes/admin/customers/customer-actions.php b/includes/admin/customers/customer-actions.php index 2b3278ce1c9..831341dcf64 100644 --- a/includes/admin/customers/customer-actions.php +++ b/includes/admin/customers/customer-actions.php @@ -262,12 +262,12 @@ function edd_add_customer_email( $args = array() ) { $user = wp_get_current_user(); $user_login = ! empty( $user->user_login ) ? $user->user_login : edd_get_bot_name(); - /* translators: 1. email address; 2. username */ + /* translators: 1: email address, 2: username */ $customer_note = sprintf( __( 'Email address %1$s added by %2$s', 'easy-digital-downloads' ), $email, $user_login ); $customer->add_note( $customer_note ); if ( $primary ) { - /* translators: 1. email address; 2. username */ + /* translators: 1: email address, 2: username */ $customer_note = sprintf( __( 'Email address %1$s set as primary by %2$s', 'easy-digital-downloads' ), $email, $user_login ); $customer->add_note( $customer_note ); } @@ -329,7 +329,7 @@ function edd_remove_customer_email() { ); $user = wp_get_current_user(); $user_login = ! empty( $user->user_login ) ? $user->user_login : edd_get_bot_name(); - /* translators: 1. email address; 2. username */ + /* translators: 1: email address, 2: username */ $customer_note = sprintf( __( 'Email address %1$s removed by %2$s', 'easy-digital-downloads' ), sanitize_email( $_GET['email'] ), $user_login ); $customer->add_note( $customer_note ); @@ -389,7 +389,8 @@ function edd_set_customer_primary_email() { ); $user = wp_get_current_user(); $user_login = ! empty( $user->user_login ) ? $user->user_login : edd_get_bot_name(); - $customer_note = sprintf( __( 'Email address %s set as primary by %s', 'easy-digital-downloads' ), sanitize_email( $_GET['email'] ), $user_login ); + /* translators: 1: email address, 2: username */ + $customer_note = sprintf( __( 'Email address %1$s set as primary by %2$s', 'easy-digital-downloads' ), sanitize_email( $_GET['email'] ), $user_login ); $customer->add_note( $customer_note ); } else { diff --git a/includes/admin/customers/customers.php b/includes/admin/customers/customers.php index 0a58fad120b..5d103cfc10d 100644 --- a/includes/admin/customers/customers.php +++ b/includes/admin/customers/customers.php @@ -10,7 +10,7 @@ */ // Exit if accessed directly. -defined( 'ABSPATH' ) || exit; +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore /** Navigation ****************************************************************/ @@ -21,42 +21,28 @@ * @param string $active_tab The currently active tab. Default is empty string. */ function edd_customers_page_primary_nav( $active_tab = '' ) { - - ob_start();?> - -

    - - $active_tab, + 'show_search' => true, + ) + ); + $navigation->render(); } /** @@ -250,27 +236,24 @@ function edd_customers_list( $active_tab = 'customers' ) { // Initialize the list table. $customers_table = new $list_table_class(); $customers_table->prepare_items(); + edd_customers_page_primary_nav( $active_tab ); ?>


    - -
    -
    views(); /* translators: the active screen, eg "Search Customers" or "Search Customer Email Addresses" */ - $customers_table->search_box( sprintf( __( 'Search %s', 'easy-digital-downloads' ), $name ), 'edd-customers' ); + $customers_table->search_box( sprintf( _x( 'Search %s', 'Noun: Customers or Customer Email Addresses placeholder for a search box', 'easy-digital-downloads' ), $name ), 'edd-customers' ); $customers_table->display(); ?> -
    @@ -572,7 +555,7 @@ function edd_customers_view( $customer = null ) { date_created ) ) ); diff --git a/includes/admin/dashboard-widgets.php b/includes/admin/dashboard-widgets.php index 60067e91fe6..b4472bee6ac 100755 --- a/includes/admin/dashboard-widgets.php +++ b/includes/admin/dashboard-widgets.php @@ -242,7 +242,7 @@ function edd_load_dashboard_sales_widget( ) { $item_count = edd_count_order_items( array( 'order_id' => $order->id ) ); echo wp_kses_post( sprintf( - /* translators: 1. customer name; 2. number of items purchased; 3. order total */ + /* translators: 1: customer name, 2: number of items purchased, 3: order total */ _n( '%1$s purchased %2$s item for %3$s', '%1$s purchased %2$s items for %3$s', @@ -291,7 +291,6 @@ function edd_load_dashboard_sales_widget( ) { /** * Add download count to At a glance widget * - * @author Daniel J Griffiths * @since 2.1 * @return void */ @@ -299,14 +298,25 @@ function edd_dashboard_at_a_glance_widget( $items ) { $num_posts = wp_count_posts( 'download' ); if ( $num_posts && $num_posts->publish ) { - $text = _n( '%s ' . edd_get_label_singular(), '%s ' . edd_get_label_plural(), $num_posts->publish, 'easy-digital-downloads' ); - - $text = sprintf( $text, number_format_i18n( $num_posts->publish ) ); + if ( 1 === $num_posts->publish ) { + $text = sprintf( + /* translators: %s: Download label singular */ + __( '1 %s', 'easy-digital-downloads' ), + edd_get_label_singular() + ); + } else { + $text = sprintf( + /* translators: 1: Number of downloads, 2: Download label plural */ + __( '%1$d %2$s', 'easy-digital-downloads' ), + number_format_i18n( $num_posts->publish ), + edd_get_label_plural() + ); + } if ( current_user_can( 'edit_products' ) ) { - $text = sprintf( '%1$s', $text ); + $text = '' . $text . ''; } else { - $text = sprintf( '%1$s', $text ); + $text = '' . $text . ''; } $items[] = $text; diff --git a/includes/admin/discounts/add-discount.php b/includes/admin/discounts/add-discount.php index 6c699912e1d..34d5884cbbb 100755 --- a/includes/admin/discounts/add-discount.php +++ b/includes/admin/discounts/add-discount.php @@ -77,6 +77,7 @@ + @@ -88,7 +89,8 @@ 'selected' => array(), 'multiple' => true, 'chosen' => true, - 'placeholder' => sprintf( esc_html__( 'Select %s', 'easy-digital-downloads' ), esc_html( edd_get_label_plural() ) ), + /* translators: %s: Downloads plural label */ + 'placeholder' => sprintf( esc_html_x( 'Select %s', 'Noun: The plural label for the download post type as a placeholder for a dropdown', 'easy-digital-downloads' ), esc_html( edd_get_label_plural() ) ), 'variations' => true, ) ); // WPCS: XSS ok. @@ -96,7 +98,9 @@ +

    @@ -119,7 +125,8 @@ - + + array(), 'multiple' => true, 'chosen' => true, - 'placeholder' => sprintf( esc_html__( 'Select %s', 'easy-digital-downloads' ), esc_html( edd_get_label_plural() ) ), + /* translators: %s: Downloads plural label */ + 'placeholder' => sprintf( esc_html_x( 'Select %s', 'Noun: The plural label for the download post type as a placeholder for a dropdown', 'easy-digital-downloads' ), esc_html( edd_get_label_plural() ) ), ) ); // WPCS: XSS ok. ?> +

    diff --git a/includes/admin/discounts/class-discount-codes-table.php b/includes/admin/discounts/class-discount-codes-table.php index 566dcede9c8..a045f4b9421 100755 --- a/includes/admin/discounts/class-discount-codes-table.php +++ b/includes/admin/discounts/class-discount-codes-table.php @@ -9,7 +9,7 @@ * @since 1.4 */ -// Exit if accessed directly +// Exit if accessed directly. defined( 'ABSPATH' ) || exit; use EDD\Admin\List_Table; @@ -31,11 +31,13 @@ class EDD_Discount_Codes_Table extends List_Table { * @see WP_List_Table::__construct() */ public function __construct() { - parent::__construct( array( - 'singular' => 'discount', - 'plural' => 'discounts', - 'ajax' => false, - ) ); + parent::__construct( + array( + 'singular' => 'discount', + 'plural' => 'discounts', + 'ajax' => false, + ) + ); $this->process_bulk_action(); $this->get_counts(); @@ -50,13 +52,16 @@ public function __construct() { */ public function get_base_url() { - // Remove some query arguments + // Remove some query arguments. $base = remove_query_arg( edd_admin_removable_query_args(), edd_get_admin_base_url() ); - // Add base query args - return add_query_arg( array( - 'page' => 'edd-discounts', - ), $base ); + // Add base query args. + return add_query_arg( + array( + 'page' => 'edd-discounts', + ), + $base + ); } /** @@ -67,16 +72,19 @@ public function get_base_url() { * @return array $columns Array of all the list table columns */ public function get_columns() { - return apply_filters( 'edd_discounts_table_columns', array( - 'cb' => '', - 'name' => __( 'Name', 'easy-digital-downloads' ), - 'status' => __( 'Status', 'easy-digital-downloads' ), - 'code' => __( 'Code', 'easy-digital-downloads' ), - 'amount' => __( 'Amount', 'easy-digital-downloads' ), - 'use_count' => __( 'Uses', 'easy-digital-downloads' ), - 'start_date' => __( 'Start Date', 'easy-digital-downloads' ), - 'end_date' => __( 'End Date', 'easy-digital-downloads' ), - ) ); + return apply_filters( + 'edd_discounts_table_columns', + array( + 'cb' => '', + 'name' => __( 'Name', 'easy-digital-downloads' ), + 'status' => __( 'Status', 'easy-digital-downloads' ), + 'code' => __( 'Code', 'easy-digital-downloads' ), + 'amount' => __( 'Amount', 'easy-digital-downloads' ), + 'use_count' => __( 'Uses', 'easy-digital-downloads' ), + 'start_date' => __( 'Start Date', 'easy-digital-downloads' ), + 'end_date' => __( 'End Date', 'easy-digital-downloads' ), + ) + ); } /** @@ -87,14 +95,17 @@ public function get_columns() { * @return array Array of all the sortable columns */ public function get_sortable_columns() { - return apply_filters( 'edd_discounts_table_sortable_columns', array( - 'name' => array( 'name', false ), - 'code' => array( 'code', false ), - 'use_count' => array( 'use_count', false ), - 'start_date' => array( 'start_date', false ), - 'end_date' => array( 'end_date', false ), - 'status' => array( 'status', false ), - ) ); + return apply_filters( + 'edd_discounts_table_sortable_columns', + array( + 'name' => array( 'name', false ), + 'code' => array( 'code', false ), + 'use_count' => array( 'use_count', false ), + 'start_date' => array( 'start_date', false ), + 'end_date' => array( 'end_date', false ), + 'status' => array( 'status', false ), + ) + ); } /** @@ -115,7 +126,7 @@ protected function get_primary_column_name() { * @since 1.4 * * @param EDD_Discount $discount Discount object. - * @param string $column_name The name of the column + * @param string $column_name The name of the column. * * @return string Column Name */ @@ -192,46 +203,83 @@ public function column_name( $discount ) { $row_actions = array(); $status = $this->get_status(); - // Bail if current user cannot manage discounts + // Bail if current user cannot manage discounts. if ( ! current_user_can( 'manage_shop_discounts' ) ) { return; } - // Edit - $row_actions['edit'] = '' . __( 'Edit', 'easy-digital-downloads' ) . ''; + // Edit. + $row_actions['edit'] = '' . __( 'Edit', 'easy-digital-downloads' ) . ''; - // Active, so add "deactivate" action + // Active, so add "deactivate" action. if ( 'active' === strtolower( $discount->status ) ) { - $row_actions['cancel'] = '' . __( 'Deactivate', 'easy-digital-downloads' ) . ''; + $row_actions['cancel'] = '' . __( 'Deactivate', 'easy-digital-downloads' ) . ''; - // Inactive, so add "activate" action. + // Inactive, so add "activate" action. } elseif ( 'inactive' === strtolower( $discount->status ) ) { - $row_actions['activate'] = '' . __( 'Activate', 'easy-digital-downloads' ) . ''; + $row_actions['activate'] = '' . __( 'Activate', 'easy-digital-downloads' ) . ''; } // Archive. if ( 'archived' !== strtolower( $discount->status ) ) { - $row_actions['archive'] = '' . __( 'Archive', 'easy-digital-downloads' ) . ''; + $row_actions['archive'] = '' . __( 'Archive', 'easy-digital-downloads' ) . ''; } - // Delete + // Delete. if ( 0 === (int) $discount->use_count ) { - $row_actions['delete'] = '' . __( 'Delete', 'easy-digital-downloads' ) . ''; + $row_actions['delete'] = '' . __( 'Delete', 'easy-digital-downloads' ) . ''; } else { $row_actions['orders'] = '' . __( 'View Orders', 'easy-digital-downloads' ) . ''; } - // Filter all discount row actions + // Filter all discount row actions. $row_actions = apply_filters( 'edd_discount_row_actions', $row_actions, $discount ); - $discount_title = '' . stripslashes( $discount->name ) . ''; + $discount_title = '' . stripslashes( $discount->name ) . ''; /** * Filter to allow additional content to be appended to the discount title. @@ -263,7 +316,7 @@ public function column_name( $discount ) { */ $additional_content = apply_filters( 'edd_discount_row_after_title', '', $discount, $base, $status ); - // Return discount title & row actions + // Return discount title & row actions. return $discount_title . $additional_content . $this->row_actions( $row_actions ); } @@ -278,10 +331,10 @@ public function column_name( $discount ) { public function column_cb( $discount ) { return sprintf( '', - /*$1%s*/ 'discount', - /*$2%s*/ absint( $discount->id ), - /* translators: discount name */ - esc_html( sprintf( __( 'Select %s', 'easy-digital-downloads' ), $discount->name ) ) + 'discount', + absint( $discount->id ), + /* translators: %s: Discount code title (name) */ + esc_html( sprintf( _x( 'Select %s', 'Noun: The discount code title (name)', 'easy-digital-downloads' ), $discount->name ) ) ); } @@ -392,10 +445,10 @@ public function no_items() { */ public function get_bulk_actions() { $bulk_actions = array( - 'activate' => __( 'Activate', 'easy-digital-downloads' ), + 'activate' => __( 'Activate', 'easy-digital-downloads' ), 'deactivate' => __( 'Deactivate', 'easy-digital-downloads' ), - 'archive' => __( 'Archive', 'easy-digital-downloads' ), - 'delete' => __( 'Delete', 'easy-digital-downloads' ) + 'archive' => __( 'Archive', 'easy-digital-downloads' ), + 'delete' => __( 'Delete', 'easy-digital-downloads' ), ); $status_actions = array( @@ -432,7 +485,7 @@ public function process_bulk_action() { $ids = wp_parse_id_list( (array) $this->get_request_var( 'discount', false ) ); - // Bail if no IDs + // Bail if no IDs. if ( empty( $ids ) ) { return; } @@ -466,7 +519,7 @@ public function process_bulk_action() { public function get_counts() { $this->counts = edd_get_discount_counts(); - // Ensure that 'Archved' is the last status in the status links. + // Ensure that 'Archived' is the last status in the status links. if ( isset( $this->counts['archived'] ) ) { $archived_counts = $this->counts['archived']; unset( $this->counts['archived'] ); @@ -497,7 +550,7 @@ public function discount_codes_data() { */ public function get_data() { - // Parse pagination + // Parse pagination. $args = array( 'search' => $this->get_search(), ); @@ -513,7 +566,7 @@ public function get_data() { $this->args = $this->parse_pagination_args( $args ); - // Return data + // Return data. return edd_get_discounts( $this->args ); } @@ -532,19 +585,21 @@ public function prepare_items() { $status = $this->get_status( 'total' ); - // Setup pagination - $this->set_pagination_args( array( - 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), - 'total_items' => $this->counts[ $status ], - 'per_page' => $this->per_page, - ) ); + // Setup pagination. + $this->set_pagination_args( + array( + 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), + 'total_items' => $this->counts[ $status ], + 'per_page' => $this->per_page, + ) + ); } /** * Generate the table navigation above or below the table. * We're overriding this to turn off the referer param in `wp_nonce_field()`. * - * @param string $which + * @param string $which Which side of the table we're rendering, top or bottom. * @since 3.1.0.4 */ protected function display_tablenav( $which ) { diff --git a/includes/admin/discounts/contextual-help.php b/includes/admin/discounts/contextual-help.php index 54a41d00b3a..cca31ab01a2 100755 --- a/includes/admin/discounts/contextual-help.php +++ b/includes/admin/discounts/contextual-help.php @@ -11,7 +11,7 @@ use EDD\Admin\Pass_Manager; -// Exit if accessed directly +// Exit if accessed directly. defined( 'ABSPATH' ) || exit; /** @@ -42,44 +42,50 @@ function edd_discounts_contextual_help() { ); $screen->set_help_sidebar( '

    ' . __( 'For more information:', 'easy-digital-downloads' ) . '

    ' . + /* translators: %s: Documentation URL */ '

    ' . sprintf( __( 'Visit the documentation on the Easy Digital Downloads website.', 'easy-digital-downloads' ), $docs_url ) . '

    ' . '

    ' . sprintf( + /* translators: %s: Upgrade URL */ __( 'Need more from your Easy Digital Downloads store? Upgrade Now!', 'easy-digital-downloads' ), $upgrade_url ) . '

    ' ); } - $screen->add_help_tab( array( - 'id' => 'edd-discount-general', - 'title' => __( 'General', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'Discount codes allow you to offer buyers special discounts by having them enter predefined codes during checkout.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Discount codes that are set to "inactive" cannot be redeemed.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Discount codes can be setup to only be used only one time by each customer. If a customer attempts to use a code a second time, they will be given an error.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Discount codes that have already been used cannot be deleted for data integrity and reporting purposes.', 'easy-digital-downloads' ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-discount-general', + 'title' => __( 'General', 'easy-digital-downloads' ), + 'content' => + '

    ' . __( 'Discount codes allow you to offer buyers special discounts by having them enter predefined codes during checkout.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Discount codes that are set to "inactive" cannot be redeemed.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Discount codes can be setup to only be used only one time by each customer. If a customer attempts to use a code a second time, they will be given an error.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Discount codes that have already been used cannot be deleted for data integrity and reporting purposes.', 'easy-digital-downloads' ) . '

    ', + ) + ); - $screen->add_help_tab( array( - 'id' => 'edd-discount-add', - 'title' => __( 'Adding Discounts', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'You can create any number of discount codes easily from this page.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Discount codes have several options:', 'easy-digital-downloads' ) . '

    ' . - '
      '. - '
    • ' . __( 'Name - this is the name given to the discount. Used primarily for administrative purposes.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Code - this is the unique code that customers will enter during checkout to redeem the code.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Type - this is the type of discount this code awards.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Amount - this is the discount amount provided by this code. For percentage based discounts, enter a number such as 70 for 70%. Do not enter a percent sign.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Requirements - this allows you to select the product(s) that are required to be purchased in order for a discount to be applied.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Condition - this lets you set whether all selected products must be in the cart, or just a minimum of one.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Apply discount only to selected Downloads? - If this box is checked, only the prices of the required products will be discounted. If left unchecked, the discount will apply to all products in the cart.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Start Date - this is the date that this code becomes available. If a customer attempts to redeem the code prior to this date, they will be given an error. This is optional.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Expiration Date - this is the end date for the discount. After this date, the code will no longer be able to be used. This is optional.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Minimum Amount - this is the minimum purchase amount required to use this code. If a customer has less than this amount in their cart, they will be given an error. This is optional.', 'easy-digital-downloads' ) . '
    • ' . - '
    • ' . __( 'Max Uses - this is the maximum number of times this discount can be redeemed. Once this number is reached, no more customers will be allowed to use it.', 'easy-digital-downloads' ) . '
    • ' . - '
    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-discount-add', + 'title' => __( 'Adding Discounts', 'easy-digital-downloads' ), + 'content' => + '

    ' . __( 'You can create any number of discount codes easily from this page.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Discount codes have several options:', 'easy-digital-downloads' ) . '

    ' . + '
      ' . + '
    • ' . __( 'Name - this is the name given to the discount. Used primarily for administrative purposes.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Code - this is the unique code that customers will enter during checkout to redeem the code.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Type - this is the type of discount this code awards.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Amount - this is the discount amount provided by this code. For percentage based discounts, enter a number such as 70 for 70%. Do not enter a percent sign.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Requirements - this allows you to select the product(s) that are required to be purchased in order for a discount to be applied.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Condition - this lets you set whether all selected products must be in the cart, or just a minimum of one.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Apply discount only to selected Downloads? - If this box is checked, only the prices of the required products will be discounted. If left unchecked, the discount will apply to all products in the cart.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Start Date - this is the date that this code becomes available. If a customer attempts to redeem the code prior to this date, they will be given an error. This is optional.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Expiration Date - this is the end date for the discount. After this date, the code will no longer be able to be used. This is optional.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Minimum Amount - this is the minimum purchase amount required to use this code. If a customer has less than this amount in their cart, they will be given an error. This is optional.', 'easy-digital-downloads' ) . '
    • ' . + '
    • ' . __( 'Max Uses - this is the maximum number of times this discount can be redeemed. Once this number is reached, no more customers will be allowed to use it.', 'easy-digital-downloads' ) . '
    • ' . + '
    ', + ) + ); do_action( 'edd_discounts_contextual_help', $screen ); } diff --git a/includes/admin/discounts/edit-discount.php b/includes/admin/discounts/edit-discount.php index 9bf8747eab0..fb12f375da0 100755 --- a/includes/admin/discounts/edit-discount.php +++ b/includes/admin/discounts/edit-discount.php @@ -125,7 +125,8 @@ 'selected' => $product_requirements, 'multiple' => true, 'chosen' => true, - 'placeholder' => sprintf( __( 'Select %s', 'easy-digital-downloads' ), edd_get_label_plural() ), + /* translators: %s: Downloads plural label */ + 'placeholder' => sprintf( _x( 'Select %s', 'Noun: The plural label for the download post type as a placeholder for a dropdown', 'easy-digital-downloads' ), edd_get_label_plural() ), 'variations' => true, ) ); @@ -156,7 +157,12 @@ - + $excluded_products, 'multiple' => true, 'chosen' => true, - 'placeholder' => sprintf( __( 'Select %s', 'easy-digital-downloads' ), edd_get_label_plural() ), + /* translators: %s: Downloads plural label */ + 'placeholder' => sprintf( _x( 'Select %s', 'Noun: The plural label for the download post type as a placeholder for a dropdown', 'easy-digital-downloads' ), edd_get_label_plural() ), ) ); ?> -

    +

    + +

    diff --git a/includes/admin/downloads/contextual-help.php b/includes/admin/downloads/contextual-help.php index ca5f8b60679..656a52b145c 100755 --- a/includes/admin/downloads/contextual-help.php +++ b/includes/admin/downloads/contextual-help.php @@ -23,7 +23,7 @@ function edd_downloads_contextual_help() { $screen = get_current_screen(); - if ( $screen->id != 'download' ) { + if ( 'download' !== $screen->id ) { return; } @@ -47,74 +47,96 @@ function edd_downloads_contextual_help() { $screen->set_help_sidebar( '

    ' . __( 'For more information:', 'easy-digital-downloads' ) . '

    ' . + /* translators: %s: Documentation URL */ '

    ' . sprintf( __( 'Visit the documentation on the Easy Digital Downloads website.', 'easy-digital-downloads' ), $docs_url ) . '

    ' . '

    ' . sprintf( + /* translators: %s: Upgrade URL */ __( 'Need more from your Easy Digital Downloads store? Upgrade Now!', 'easy-digital-downloads' ), $upgrade_url ) . '

    ' ); } - $screen->add_help_tab( array( - 'id' => 'edd-download-configuration', - 'title' => sprintf( __( '%s Settings', 'easy-digital-downloads' ), edd_get_label_singular() ), - 'content' => - '

    ' . __( 'File Download Limit - Define how many times customers are allowed to download their purchased files. Leave at 0 for unlimited. Resending the purchase receipt will permit the customer one additional download if their limit has already been reached.', 'easy-digital-downloads' ) . '

    ' . - - '

    ' . __( 'Accounting Options - If enabled, define an individual SKU or product number for this download.', 'easy-digital-downloads' ) . '

    ' . - - '

    ' . __( 'Button Options - Disable the automatic output of the purchase button. If disabled, no button will be added to the download page unless the [purchase_link] shortcode is used.', 'easy-digital-downloads' ) . '

    ' - ) ); - - $screen->add_help_tab( array( - 'id' => 'edd-download-prices', - 'title' => sprintf( __( '%s Prices', 'easy-digital-downloads' ), edd_get_label_singular() ), - 'content' => - '

    ' . __( 'Enable variable pricing - By enabling variable pricing, multiple download options and prices can be configured.', 'easy-digital-downloads' ) . '

    ' . - - '

    ' . __( 'Enable multi-option purchases - By enabling multi-option purchases customers can add multiple variable price items to their cart at once.', 'easy-digital-downloads' ) . '

    ' - ) ); - - $screen->add_help_tab( array( - 'id' => 'edd-download-files', - 'title' => sprintf( __( '%s Files', 'easy-digital-downloads' ), edd_get_label_singular() ), - 'content' => - '

    ' . __( 'Product Type Options - Choose a default product type or a bundle. Bundled products automatically include access to other download's files when purchased.', 'easy-digital-downloads' ) . '

    ' . + $screen->add_help_tab( + array( + 'id' => 'edd-download-configuration', + /* translators: %s: Download singular label */ + 'title' => sprintf( __( '%s Settings', 'easy-digital-downloads' ), edd_get_label_singular() ), + 'content' => + '

    ' . __( 'File Download Limit - Define how many times customers are allowed to download their purchased files. Leave at 0 for unlimited. Resending the purchase receipt will permit the customer one additional download if their limit has already been reached.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Accounting Options - If enabled, define an individual SKU or product number for this download.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Button Options - Disable the automatic output of the purchase button. If disabled, no button will be added to the download page unless the [purchase_link] shortcode is used.', 'easy-digital-downloads' ) . '

    ', + ) + ); - '

    ' . __( 'File Downloads - Define download file names and their respective file URL. Multiple files can be assigned to a single price, or variable prices.', 'easy-digital-downloads' ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-download-prices', + /* translators: %s: Download singular label */ + 'title' => sprintf( __( '%s Prices', 'easy-digital-downloads' ), edd_get_label_singular() ), + 'content' => + '

    ' . __( 'Enable variable pricing - By enabling variable pricing, multiple download options and prices can be configured.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Enable multi-option purchases - By enabling multi-option purchases customers can add multiple variable price items to their cart at once.', 'easy-digital-downloads' ) . '

    ', + ) + ); + $screen->add_help_tab( + array( + 'id' => 'edd-download-files', + /* translators: %s: Download singular label */ + 'title' => sprintf( __( '%s Files', 'easy-digital-downloads' ), edd_get_label_singular() ), + 'content' => + '

    ' . __( 'Product Type Options - Choose a default product type or a bundle. Bundled products automatically include access to other download's files when purchased.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'File Downloads - Define download file names and their respective file URL. Multiple files can be assigned to a single price, or variable prices.', 'easy-digital-downloads' ) . '

    ', + ) + ); - $screen->add_help_tab( array( - 'id' => 'edd-product-notes', - 'title' => sprintf( __( '%s Instructions', 'easy-digital-downloads' ), edd_get_label_singular() ), - 'content' => '

    ' . sprintf( __( 'Special instructions for this %s. These will be added to the sales receipt, and may be used by some extensions or themes.', 'easy-digital-downloads' ), strtolower( edd_get_label_singular() ) ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-product-notes', + /* translators: %s: Download singular label */ + 'title' => sprintf( __( '%s Instructions', 'easy-digital-downloads' ), edd_get_label_singular() ), + /* translators: %s: Download singular label */ + 'content' => '

    ' . sprintf( __( 'Special instructions for this %s. These will be added to the sales receipt, and may be used by some extensions or themes.', 'easy-digital-downloads' ), strtolower( edd_get_label_singular() ) ) . '

    ', + ) + ); $colors = array( - 'gray', 'pink', 'blue', 'green', 'teal', 'black', 'dark gray', 'orange', 'purple', 'slate' + 'gray', + 'pink', + 'blue', + 'green', + 'teal', + 'black', + 'dark gray', + 'orange', + 'purple', + 'slate', ); - $screen->add_help_tab( array( - 'id' => 'edd-purchase-shortcode', - 'title' => __( 'Purchase Shortcode', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'Purchase Shortcode - If the automatic output of the purchase button has been disabled via the Download Configuration box, a shortcode can be used to output the button or link.', 'easy-digital-downloads' ) . '

    ' . - '

    [purchase_link id="#" price="1" text="Add to Cart" color="blue"]

    ' . - '
      -
    • id - ' . __( 'The ID of a specific download to purchase.', 'easy-digital-downloads' ) . '
    • -
    • price - ' . __( 'Whether to show the price on the purchase button. 1 to show the price, 0 to disable it.', 'easy-digital-downloads' ) . '
    • -
    • text - ' . __( 'The text to be displayed on the button or link.', 'easy-digital-downloads' ) . '
    • -
    • style - ' . __( 'button | text - The style of the purchase link.', 'easy-digital-downloads' ) . '
    • -
    • color - ' . implode( ' | ', $colors ) . '
    • -
    • class - ' . __( 'One or more custom CSS classes you want applied to the button.', 'easy-digital-downloads' ) . '
    • -
    ' . - '

    ' . sprintf( - __( 'For more information, see using Shortcodes on the WordPress.org Codex or Easy Digital Downloads Documentation', 'easy-digital-downloads' ), - 'https://codex.wordpress.org/Shortcode', - 'https://easydigitaldownloads.com/docs/purchase_link-shortcode/' - ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-purchase-shortcode', + 'title' => __( 'Purchase Shortcode', 'easy-digital-downloads' ), + 'content' => + '

    ' . __( 'Purchase Shortcode - If the automatic output of the purchase button has been disabled via the Download Configuration box, a shortcode can be used to output the button or link.', 'easy-digital-downloads' ) . '

    ' . + '

    [purchase_link id="#" price="1" text="Add to Cart" color="blue"]

    ' . + '
      +
    • id - ' . __( 'The ID of a specific download to purchase.', 'easy-digital-downloads' ) . '
    • +
    • price - ' . __( 'Whether to show the price on the purchase button. 1 to show the price, 0 to disable it.', 'easy-digital-downloads' ) . '
    • +
    • text - ' . __( 'The text to be displayed on the button or link.', 'easy-digital-downloads' ) . '
    • +
    • style - ' . __( 'button | text - The style of the purchase link.', 'easy-digital-downloads' ) . '
    • +
    • color - ' . implode( ' | ', $colors ) . '
    • +
    • class - ' . __( 'One or more custom CSS classes you want applied to the button.', 'easy-digital-downloads' ) . '
    • +
    ' . + '

    ' . sprintf( + /* translators: 1: Shortcodes Codex URL, 2: EDD Documentation URL */ + __( 'For more information, see using Shortcodes on the WordPress.org Codex or Easy Digital Downloads Documentation', 'easy-digital-downloads' ), + 'https://codex.wordpress.org/Shortcode', + 'https://easydigitaldownloads.com/docs/purchase_link-shortcode/' + ) . '

    ', + ) + ); /** * Fires off in the EDD Downloads Contextual Help Screen diff --git a/includes/admin/downloads/dashboard-columns.php b/includes/admin/downloads/dashboard-columns.php index dc045924917..0d58031b2fa 100755 --- a/includes/admin/downloads/dashboard-columns.php +++ b/includes/admin/downloads/dashboard-columns.php @@ -266,8 +266,10 @@ function edd_add_download_filters() { 'options' => $options, 'selected' => $selected, 'data' => array( + /* translators: %s: Download Category taxonomy name */ 'placeholder' => sprintf( _x( 'Search %s', 'plural: Example: "Search Download Categories"', 'easy-digital-downloads' ), $category_labels['name'] ), 'search-type' => 'download_category', + /* translators: %s: Download Category taxonomy name */ 'search-placeholder' => sprintf( _x( 'Search %s', 'plural: Example: "Search Download Categories"', 'easy-digital-downloads' ), $category_labels['name'] ), ), ) @@ -322,6 +324,7 @@ function edd_price_field_quick_edit( $column_name, $post_type ) {
    +

    + // Third party plugin support. + if ( has_action( 'edd_payment_advanced_filters_after_fields' ) ) : + ?>
    @@ -304,7 +342,8 @@ public function filter_bar_items() { - get_status(); - - if ( ! empty( $status ) ) { - $status_label = edd_get_status_label( $status ); - - switch ( $status ) { - case 'trash': - /* Translators: %s is for the status of 'Trash', telling the user no items were found in the trash. */ - $message = sprintf( __( 'No orders found in %s.', 'easy-digital-downloads' ), $status_label ); - break; - default: - /* Translators: %s is for the currently viewed order status filter */ - $message = sprintf( __( 'No %s orders found.', 'easy-digital-downloads' ), $status_label ); - break; - } - - echo esc_html( $message ); - } else { - esc_html_e( 'No orders found.', 'easy-digital-downloads' ); - } + esc_html_e( 'No orders found.', 'easy-digital-downloads' ); } /** @@ -400,11 +420,11 @@ public function no_items() { */ public function get_columns() { $columns = array( - 'cb' => '', // Render a checkbox instead of text - 'number' => __( 'Number', 'easy-digital-downloads' ), - 'customer' => __( 'Customer', 'easy-digital-downloads' ), - 'gateway' => __( 'Gateway', 'easy-digital-downloads' ), - 'amount' => __( 'Total', 'easy-digital-downloads' ), + 'cb' => '', + 'number' => __( 'Number', 'easy-digital-downloads' ), + 'customer' => __( 'Customer', 'easy-digital-downloads' ), + 'gateway' => __( 'Gateway', 'easy-digital-downloads' ), + 'amount' => __( 'Total', 'easy-digital-downloads' ), 'date' => __( 'Date', 'easy-digital-downloads' ), 'status' => __( 'Status', 'easy-digital-downloads' ), ); @@ -433,14 +453,17 @@ public function get_columns() { * @return array Array of all the sortable columns. */ public function get_sortable_columns() { - return apply_filters( 'edd_payments_table_sortable_columns', array( - 'number' => array( 'id', true ), - 'status' => array( 'status', false ), - 'customer' => array( 'customer_id', false ), - 'gateway' => array( 'gateway', false ), - 'amount' => array( 'total', false ), - 'date' => array( 'date_created', false ) - ) ); + return apply_filters( + 'edd_payments_table_sortable_columns', + array( + 'number' => array( 'id', true ), + 'status' => array( 'status', false ), + 'customer' => array( 'customer_id', false ), + 'gateway' => array( 'gateway', false ), + 'amount' => array( 'total', false ), + 'date' => array( 'date_created', false ), + ) + ); } /** @@ -512,8 +535,8 @@ public function column_cb( $order ) { '', 'order', absint( $order->id ), - /* translators: the order number */ - esc_html( sprintf( __( 'Select %s', 'easy-digital-downloads' ), $order_number ) ) + /* translators: %s: the order number */ + esc_html( sprintf( _x( 'Select %s', 'Number: The order ID in alpha numeric representation', 'easy-digital-downloads' ), $order_number ) ) ); } @@ -530,13 +553,15 @@ public function column_number( $order ) { $status = $this->get_status(); // View URL. - $view_url = edd_get_admin_url( array( - 'page' => 'edd-payment-history', - 'view' => 'sale' === $order->type - ? 'view-order-details' - : 'view-refund-details', - 'id' => absint( $order->id ), - ) ); + $view_url = edd_get_admin_url( + array( + 'page' => 'edd-payment-history', + 'view' => 'sale' === $order->type + ? 'view-order-details' + : 'view-refund-details', + 'id' => absint( $order->id ), + ) + ); // Default row actions. $row_actions = array( @@ -553,31 +578,55 @@ public function column_number( $order ) { } // Resend Receipt. - if ( 'sale' === $this->type && 'complete' === $order->status && ! empty( $order->email ) ) { - $row_actions['email_links'] = '' . __( 'Resend Receipt', 'easy-digital-downloads' ) . ''; + if ( 'sale' === $this->type && 'complete' === $order->status && ! empty( $order->email ) && $this->order_receipts_enabled() ) { + $url = esc_url( + add_query_arg( + array( + 'edd-action' => 'email_links', + 'purchase_id' => absint( $order->id ), + ), + $this->base_url + ) + ); + $row_actions['email_links'] = '' . __( 'Resend Receipt', 'easy-digital-downloads' ) . ''; } // Keep Delete at the end. if ( edd_is_order_trashable( $order->id ) ) { - $trash_url = wp_nonce_url( add_query_arg( array( - 'edd-action' => 'trash_order', - 'purchase_id' => absint( $order->id ), - ), $this->base_url ), 'edd_payment_nonce' ); + $trash_url = wp_nonce_url( + add_query_arg( + array( + 'edd-action' => 'trash_order', + 'purchase_id' => absint( $order->id ), + ), + $this->base_url + ), + 'edd_payment_nonce' + ); $row_actions['trash'] = '' . esc_html__( 'Trash', 'easy-digital-downloads' ) . ''; } elseif ( edd_is_order_restorable( $order->id ) ) { - $restore_url = wp_nonce_url( add_query_arg( array( - 'edd-action' => 'restore_order', - 'purchase_id' => absint( $order->id ), - ), $this->base_url ), 'edd_payment_nonce' ); + $restore_url = wp_nonce_url( + add_query_arg( + array( + 'edd-action' => 'restore_order', + 'purchase_id' => absint( $order->id ), + ), + $this->base_url + ), + 'edd_payment_nonce' + ); $row_actions['restore'] = '' . esc_html__( 'Restore', 'easy-digital-downloads' ) . ''; - $delete_url = wp_nonce_url( add_query_arg( array( - 'edd-action' => 'delete_order', - 'purchase_id' => absint( $order->id ), - ), $this->base_url ), 'edd_payment_nonce' ); + $delete_url = wp_nonce_url( + add_query_arg( + array( + 'edd-action' => 'delete_order', + 'purchase_id' => absint( $order->id ), + ), + $this->base_url + ), + 'edd_payment_nonce' + ); $row_actions['delete'] = '' . esc_html__( 'Delete Permanently', 'easy-digital-downloads' ) . ''; unset( $row_actions['view'] ); @@ -607,14 +656,14 @@ public function column_number( $order ) { */ $row_actions = apply_filters( 'edd_order_row_actions', $row_actions, $order ); - // Row actions + // Row actions. $actions = $this->row_actions( $row_actions ); - // Primary link + // Primary link. $order_number = 'sale' === $order->type ? $order->get_number() : $order->order_number; $link = edd_is_order_restorable( $order->id ) ? '' . esc_html( $order_number ) . '' : '' . esc_html( $order_number ) . ''; - // Concatenate & return the results + // Concatenate & return the results. return $link . $actions; } @@ -631,20 +680,22 @@ public function column_customer( $order ) { $customer_id = $order->customer_id; $customer = edd_get_customer( $customer_id ); - // Actions if exists + // Actions if exists. if ( ! empty( $customer ) ) { - // Use customer name, if exists + // Use customer name, if exists. $name = ! empty( $customer->name ) ? $customer->name : $order->email; - // Link to View Customer - $url = edd_get_admin_url( array( - 'page' => 'edd-customers', - 'view' => 'overview', - 'id' => absint( $customer_id ), - ) ); + // Link to View Customer. + $url = edd_get_admin_url( + array( + 'page' => 'edd-customers', + 'view' => 'overview', + 'id' => absint( $customer_id ), + ) + ); $name = '' . esc_html( $name ) . ''; if ( ! empty( $customer->name ) ) { @@ -679,13 +730,13 @@ public function column_customer( $order ) { public function get_bulk_actions() { if ( 'refund' !== $this->type ) { $action = array( - 'set-status-complete' => __( 'Mark Completed', 'easy-digital-downloads' ), - 'set-status-pending' => __( 'Mark Pending', 'easy-digital-downloads' ), - 'set-status-processing' => __( 'Mark Processing', 'easy-digital-downloads' ), - 'set-status-revoked' => __( 'Mark Revoked', 'easy-digital-downloads' ), - 'set-status-failed' => __( 'Mark Failed', 'easy-digital-downloads' ), - 'set-status-abandoned' => __( 'Mark Abandoned', 'easy-digital-downloads' ), - 'resend-receipt' => __( 'Resend Receipts', 'easy-digital-downloads' ), + 'set-status-complete' => __( 'Mark Completed', 'easy-digital-downloads' ), + 'set-status-pending' => __( 'Mark Pending', 'easy-digital-downloads' ), + 'set-status-processing' => __( 'Mark Processing', 'easy-digital-downloads' ), + 'set-status-revoked' => __( 'Mark Revoked', 'easy-digital-downloads' ), + 'set-status-failed' => __( 'Mark Failed', 'easy-digital-downloads' ), + 'set-status-abandoned' => __( 'Mark Abandoned', 'easy-digital-downloads' ), + 'resend-receipt' => __( 'Resend Receipts', 'easy-digital-downloads' ), ); } else { $action = array(); @@ -725,12 +776,12 @@ public function process_bulk_action() { */ public function get_payment_counts() { - // Get the args (without pagination) + // Get the args (without pagination). $args = $this->parse_args( false ); unset( $args['status'], $args['status__not_in'], $args['status__in'] ); - // Get order counts by type + // Get order counts by type. $this->counts = edd_get_order_counts( $args ); } @@ -757,33 +808,34 @@ public function payments_data() { */ public function get_data() { - // Parse args (with pagination) + // Parse args (with pagination). $this->args = $this->parse_args( true ); - // Force EDD\Orders\Order objects to be returned + // Force EDD\Orders\Order objects to be returned. $this->args['output'] = 'orders'; if ( empty( $this->args['status'] ) ) { $this->args['status__not_in'] = array( 'trash' ); } - // Get data + // Get data. $items = edd_get_orders( $this->args ); - // Get customer IDs and count from payments + // Get customer IDs and count from payments. $customer_ids = array_unique( wp_list_pluck( $items, 'customer_id' ) ); $cust_count = count( $customer_ids ); - // Maybe prime customer objects (if more than number of queries) + // Maybe prime customer objects (if more than number of queries). if ( $cust_count > 1 ) { - edd_get_customers( array( - 'id__in' => $customer_ids, - 'no_found_rows' => true, - 'number' => $cust_count - ) ); + edd_get_customers( + array( + 'id__in' => $customer_ids, + 'no_found_rows' => true, + 'number' => $cust_count, + ) + ); } - // Return items return $items; } @@ -804,9 +856,7 @@ public function get_views() { * * @param array $views Payment table's views. */ - $views = apply_filters( 'edd_payments_table_views', $views ); - - return $views; + return apply_filters( 'edd_payments_table_views', $views ); } /** @@ -814,19 +864,19 @@ public function get_views() { * * @since 3.0 * - * @param bool $paginate Whether to add pagination arguments + * @param bool $paginate Whether to add pagination arguments. * * @return array Array of arguments to use for querying orders. */ private function parse_args( $paginate = true ) { $status = $this->get_status(); - $user = isset( $_GET['user'] ) ? absint( $_GET['user'] ) : null; - $customer = isset( $_GET['customer'] ) ? absint( $_GET['customer'] ) : null; - $search = isset( $_GET['s'] ) ? sanitize_text_field( $_GET['s'] ) : null; + $user = isset( $_GET['user'] ) ? absint( $_GET['user'] ) : null; + $customer = isset( $_GET['customer'] ) ? absint( $_GET['customer'] ) : null; + $search = isset( $_GET['s'] ) ? sanitize_text_field( $_GET['s'] ) : null; $start_date = isset( $_GET['start-date'] ) ? sanitize_text_field( $_GET['start-date'] ) : null; - $end_date = isset( $_GET['end-date'] ) ? sanitize_text_field( $_GET['end-date'] ) : $start_date; - $gateway = isset( $_GET['gateway'] ) ? sanitize_text_field( $_GET['gateway'] ) : null; - $mode = isset( $_GET['mode'] ) ? sanitize_text_field( $_GET['mode'] ) : null; + $end_date = isset( $_GET['end-date'] ) ? sanitize_text_field( $_GET['end-date'] ) : $start_date; + $gateway = isset( $_GET['gateway'] ) ? sanitize_text_field( $_GET['gateway'] ) : null; + $mode = isset( $_GET['mode'] ) ? sanitize_text_field( $_GET['mode'] ) : null; $type = isset( $_GET['order_type'] ) ? sanitize_text_field( $_GET['order_type'] ) : 'sale'; /** @@ -839,22 +889,24 @@ private function parse_args( $paginate = true ) { */ $gateway = apply_filters( 'edd_payments_table_search_gateway', $gateway ); - if ( $gateway === 'all' ) { + if ( 'all' === $gateway ) { $gateway = null; } - if ( $mode === 'all' ) { + if ( 'all' === $mode ) { $mode = null; } - $args = array_filter( array( - 'user_id' => $user, - 'customer_id' => $customer, - 'status' => $status, - 'gateway' => $gateway, - 'mode' => $mode, - 'type' => $type, - ) ); + $args = array_filter( + array( + 'user_id' => $user, + 'customer_id' => $customer, + 'status' => $status, + 'gateway' => $gateway, + 'mode' => $mode, + 'type' => $type, + ) + ); // If no specific ordering has been requested, order by `date_created`. if ( empty( $_GET['orderby'] ) ) { @@ -867,15 +919,15 @@ private function parse_args( $paginate = true ) { $args = $this->parse_search( $search, $args ); } - // Date query + // Date query. if ( ! empty( $start_date ) || ! empty( $end_date ) ) { - // start AND end + // start AND end. $args['date_query'] = array( - 'relation' => 'AND' + 'relation' => 'AND', ); - // Start (of day) + // Start (of day). if ( ! empty( $start_date ) ) { $args['date_query'][] = array( 'column' => 'date_created', @@ -883,7 +935,7 @@ private function parse_args( $paginate = true ) { ); } - // End (of day) + // End (of day). if ( ! empty( $end_date ) ) { $end_date_string = EDD()->utils->get_date_string( $end_date, 23, 59, 59 ); $args['date_query'][] = array( @@ -954,7 +1006,7 @@ private function parse_args( $paginate = true ) { */ $args = apply_filters( 'edd_payments_table_parse_args', $args, $paginate ); - // Return args, possibly with pagination + // Return args, possibly with pagination. return ( true === $paginate ) ? $this->parse_pagination_args( $args ) : $args; @@ -964,8 +1016,8 @@ private function parse_args( $paginate = true ) { * Parse the search query. * * @since 3.0.2 - * @param string $search - * @param array $args + * @param string $search Search query. + * @param array $args The array of arguments. * @return array */ private function parse_search( $search, $args ) { @@ -978,28 +1030,28 @@ private function parse_search( $search, $args ) { return $args; } - // Transaction ID + // Transaction ID. if ( is_string( $search ) && ( false !== strpos( $search, 'txn:' ) ) ) { $args['txn'] = trim( str_replace( 'txn:', '', $search ) ); return $args; } - // Email + // Email. if ( is_email( $search ) ) { $args['email'] = $search; return $args; } - // Download ID + // Download ID. if ( is_string( $search ) && ( false !== strpos( $search, '#' ) ) ) { $args['product_id'] = intval( trim( str_replace( '#', '', $search ) ) ); return $args; } - // The customer’s name or ID prefixed by customer: + // The customer’s name or ID prefixed by `customer:`. if ( ! is_array( $search ) && ( false !== strpos( $search, 'customer:' ) ) ) { $search = trim( str_replace( 'customer:', '', $search ) ); @@ -1026,7 +1078,7 @@ private function parse_search( $search, $args ) { return $args; } - // The user ID prefixed by user: + // The user ID prefixed by `user:`. if ( ! is_array( $search ) && ( false !== strpos( $search, 'user:' ) ) ) { $search = trim( str_replace( 'user:', '', $search ) ); if ( is_numeric( $search ) ) { @@ -1036,7 +1088,7 @@ private function parse_search( $search, $args ) { } } - // The Discount Code prefixed by discount: + // The Discount Code prefixed by `discount:`. if ( is_string( $search ) && ( false !== strpos( $search, 'discount:' ) ) ) { $discount = edd_get_discount_by_code( trim( str_replace( 'discount:', '', $search ) ) ); if ( ! empty( $discount->id ) ) { @@ -1049,7 +1101,7 @@ private function parse_search( $search, $args ) { return $args; } - // Default search + // Default search. $args['search'] = $search; return $args; @@ -1063,7 +1115,7 @@ private function parse_search( $search, $args ) { public function prepare_items() { wp_reset_vars( array( 'action', 'order', 'orderby', 'order', 's' ) ); - $hidden = array(); // No hidden columns + $hidden = array(); // No hidden columns. $columns = $this->get_columns(); $sortable = $this->get_sortable_columns(); $status = $this->get_status( 'total' ); @@ -1074,18 +1126,20 @@ public function prepare_items() { return; } - $this->set_pagination_args( array( - 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), - 'total_items' => $this->counts[ $status ], - 'per_page' => $this->per_page, - ) ); + $this->set_pagination_args( + array( + 'total_pages' => ceil( $this->counts[ $status ] / $this->per_page ), + 'total_items' => $this->counts[ $status ], + 'per_page' => $this->per_page, + ) + ); } /** * Generate the table navigation above or below the table. * We're overriding this to turn off the referer param in `wp_nonce_field()`. * - * @param string $which + * @param string $which Which side of the table we're rendering. * @since 3.1.0.4 * @since 3.1.1 Outputs the dialogs for deleting orders. */ @@ -1116,4 +1170,20 @@ protected function display_tablenav( $which ) {
    order_receipts_enabled ) ) { + $email = edd_get_email_by( 'email_id', 'order_receipt' ); + + $this->order_receipts_enabled = $email && $email->status; + } + + return $this->order_receipts_enabled; + } } diff --git a/includes/admin/payments/class-refund-items-table.php b/includes/admin/payments/class-refund-items-table.php index 3260906b5c8..b729c86b741 100644 --- a/includes/admin/payments/class-refund-items-table.php +++ b/includes/admin/payments/class-refund-items-table.php @@ -443,8 +443,8 @@ public function column_cb( $item ) { 'refund_' . esc_attr( $object_type ), /*$2%s*/ esc_attr( $item->id ), - /* translators: product name */ - esc_html( sprintf( __( 'Select %s', 'easy-digital-downloads' ), $this->get_item_display_name( $item ) ) ) + /* translators: %s: The product name */ + esc_html( sprintf( _x( 'Select %s', 'Title: The title of the current download product', 'easy-digital-downloads' ), $this->get_item_display_name( $item ) ) ) ); } diff --git a/includes/admin/payments/contextual-help.php b/includes/admin/payments/contextual-help.php index cf4c47b088f..21d4036d651 100755 --- a/includes/admin/payments/contextual-help.php +++ b/includes/admin/payments/contextual-help.php @@ -54,84 +54,100 @@ function edd_payments_contextual_help() { $screen->set_help_sidebar( '

    ' . __( 'For more information:', 'easy-digital-downloads' ) . '

    ' . + /* translators: %s: Documentation URL */ '

    ' . sprintf( __( 'Visit the documentation on the Easy Digital Downloads website.', 'easy-digital-downloads' ), $docs_url ) . '

    ' . '

    ' . sprintf( + /* translators: %s: Upgrade URL */ __( 'Need more from your Easy Digital Downloads store? Upgrade Now!', 'easy-digital-downloads' ), $upgrade_url ) . '

    ' ); } - $screen->add_help_tab( array( - 'id' => 'edd-payments-overview', - 'title' => __( 'Overview', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'This screen provides access to all of the orders and refunds in your store.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Orders can be searched by email address, user name, or filtered by status, mode, date range, gateway, and more!', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'To maintain accurate reporting and accounting, we strongly advise against deleting any completed order data.', 'easy-digital-downloads' ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-payments-overview', + 'title' => __( 'Overview', 'easy-digital-downloads' ), + 'content' => + '

    ' . __( 'This screen provides access to all of the orders and refunds in your store.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Orders can be searched by email address, user name, or filtered by status, mode, date range, gateway, and more!', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'To maintain accurate reporting and accounting, we strongly advise against deleting any completed order data.', 'easy-digital-downloads' ) . '

    ', + ) + ); - $screen->add_help_tab( array( - 'id' => 'edd-orders', - 'title' => __( '— Orders', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'Orders are placed by customers when they buy things from your store.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Every order contains a snapshot of your store at the time the order was placed, and is made up of many different pieces of information.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Things like products, discounts, taxes, fees, and customer email address, are all examples of information that is saved with each order.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Both full and partial refunds are supported.', 'easy-digital-downloads' ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-orders', + 'title' => __( '— Orders', 'easy-digital-downloads' ), + 'content' => + '

    ' . __( 'Orders are placed by customers when they buy things from your store.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Every order contains a snapshot of your store at the time the order was placed, and is made up of many different pieces of information.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Things like products, discounts, taxes, fees, and customer email address, are all examples of information that is saved with each order.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Both full and partial refunds are supported.', 'easy-digital-downloads' ) . '

    ', + ) + ); - $screen->add_help_tab( array( - 'id' => 'edd-refunds', - 'title' => __( '— Refunds', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'Refunds are created when a customer would like money back from a completed order.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Every refund refers back to the original order, and only contains the items and adjustments that were refunded.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Refunds could be entire orders, or single products.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'Once an item is refunded, it cannot be undone; it can only be repurchased.', 'easy-digital-downloads' ) . '

    ' - ) ); + $screen->add_help_tab( + array( + 'id' => 'edd-refunds', + 'title' => __( '— Refunds', 'easy-digital-downloads' ), + 'content' => + '

    ' . __( 'Refunds are created when a customer would like money back from a completed order.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Every refund refers back to the original order, and only contains the items and adjustments that were refunded.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Refunds could be entire orders, or single products.', 'easy-digital-downloads' ) . '

    ' . + '

    ' . __( 'Once an item is refunded, it cannot be undone; it can only be repurchased.', 'easy-digital-downloads' ) . '

    ', + ) + ); - $screen->add_help_tab( array( - 'id' => 'edd-payments-search', - 'title' => __( 'Search', 'easy-digital-downloads' ), - 'content' => - '

    ' . __( 'The order history can be searched in several different ways.', 'easy-digital-downloads' ) . '

    ' . - '

    ' . __( 'You can enter:', 'easy-digital-downloads' ) . '

    ' . - '
      + $screen->add_help_tab( + array( + 'id' => 'edd-payments-search', + 'title' => __( 'Search', 'easy-digital-downloads' ), + 'content' => + '

      ' . __( 'The order history can be searched in several different ways.', 'easy-digital-downloads' ) . '

      ' . + '

      ' . __( 'You can enter:', 'easy-digital-downloads' ) . '

      ' . + '
      • ' . __( 'The specific order ID', 'easy-digital-downloads' ) . '
      • ' . __( 'The 32-character order key', 'easy-digital-downloads' ) . '
      • ' . __( 'The customer\'s email address', 'easy-digital-downloads' ) . '
      • ' . sprintf( + /* translators: %s: the prefix needed to search by customer - This should remain untranslated `customer:` */ __( 'The customer\'s name or ID prefixed by %s', 'easy-digital-downloads' ), 'customer:' ) . '
      • ' . sprintf( + /* translators: %s: the prefix needed to search by user - This should remain untranslated `user:` */ __( 'A user\'s ID prefixed by %s', 'easy-digital-downloads' ), 'user:' ) . '
      • ' . sprintf( - __( 'The %s ID prefixed by %s', 'easy-digital-downloads' ), + /* translators: %s: the prefix needed to search by Order ID - This should remain untranslated `#` */ + __( 'The %1$s ID prefixed by %2$s', 'easy-digital-downloads' ), edd_get_label_singular(), '#' ) . '
      • ' . sprintf( + /* translators: %s: the prefix needed to search by discount code - This should remain untranslated `discount:` */ __( 'The Discount Code prefixed by %s', 'easy-digital-downloads' ), 'discount:' ) . '
      • ' . sprintf( + /* translators: %s: the prefix needed to search by transaction ID - This should remain untranslated `txn:` */ __( 'A transaction ID prefixed by %s', 'easy-digital-downloads' ), 'txn:' ) . '
      ', - ) ); + ) + ); - $screen->add_help_tab( array( - 'id' => 'edd-payments-details', - 'title' => __( 'Details', 'easy-digital-downloads' ), - 'content' => - '

      ' . __( 'Each order can be further inspected by clicking the corresponding View Order Details link. This will provide more information including:', 'easy-digital-downloads' ) . '

      ' . + $screen->add_help_tab( + array( + 'id' => 'edd-payments-details', + 'title' => __( 'Details', 'easy-digital-downloads' ), + 'content' => + '

      ' . __( 'Each order can be further inspected by clicking the corresponding View Order Details link. This will provide more information including:', 'easy-digital-downloads' ) . '

      ' . - '
        + '
        • Purchased File - ' . __( 'The file associated with the purchase.', 'easy-digital-downloads' ) . '
        • Purchase Date - ' . __( 'The exact date and time the order was completed.', 'easy-digital-downloads' ) . '
        • Discount Used - ' . __( 'If a coupon or discount was used during the checkout process.', 'easy-digital-downloads' ) . '
        • @@ -140,8 +156,9 @@ function edd_payments_contextual_help() {
        • Payment Notes - ' . __( 'Any customer-specific notes related to the order.', 'easy-digital-downloads' ) . '
        • Payment Method - ' . __( 'The name of the order gateway used to complete the order.', 'easy-digital-downloads' ) . '
        • Purchase Key - ' . __( 'A unique key used to identify the order.', 'easy-digital-downloads' ) . '
        • -
        ' - ) ); +
      ', + ) + ); do_action( 'edd_payments_contextual_help', $screen ); } diff --git a/includes/admin/payments/orders.php b/includes/admin/payments/orders.php index bf5f316d19b..6da0b77c21e 100644 --- a/includes/admin/payments/orders.php +++ b/includes/admin/payments/orders.php @@ -27,7 +27,7 @@ function edd_order_details_publish( $order ) { $action_name = edd_is_add_order_page() ? __( 'Create Order', 'easy-digital-downloads' ) : __( 'Save Order', 'easy-digital-downloads' ) -?> + ?>
      @@ -76,7 +76,7 @@ class="button button-primary right"
      -customer_id ); @@ -200,20 +200,27 @@ function edd_order_details_customer( $order ) { $customer_id = ! empty( $customer ) ? $customer->id - : 0; ?> + : 0; + ?>
      +
      +
      + + +
      +
      - +
      html->customer_dropdown( array( 'class' => 'edd-payment-change-customer-input edd-form-group__input', 'selected' => $customer_id, - 'id' => 'customer-id', + 'id' => 'customer_id', 'name' => 'customer-id', 'none_selected' => esc_html__( 'Search for a customer', 'easy-digital-downloads' ), 'placeholder' => esc_html__( 'Search for a customer', 'easy-digital-downloads' ), @@ -237,7 +244,10 @@ function edd_order_details_customer( $order ) { …' ), + /* translators: %s: i18n formatted date that the customer was created */ + __( 'Customer since %s', 'easy-digital-downloads' ), + '' + ), array( 'span' => true, ) @@ -250,17 +260,10 @@ function edd_order_details_customer( $order ) {
      - -

      - or -