diff --git a/assets/css/admin/downloads/_actions.scss b/assets/css/admin/downloads/_actions.scss new file mode 100644 index 00000000000..3fae5c1340d --- /dev/null +++ b/assets/css/admin/downloads/_actions.scss @@ -0,0 +1,14 @@ +.edd__handle-actions-order { + display: flex; + transition: opacity 0.25s ease-in-out; + + button { + padding: 9px; + border: 0; + background: transparent; + + &:disabled .dashicons { + opacity: 0.5; + } + } +} diff --git a/assets/css/admin/downloads/_prices.scss b/assets/css/admin/downloads/_prices.scss index 36f7a090a16..ce1f6055d65 100644 --- a/assets/css/admin/downloads/_prices.scss +++ b/assets/css/admin/downloads/_prices.scss @@ -1,3 +1,7 @@ +.edd-section-content__fields--custom { + display: grid; + gap: 20px; +} .edd-custom-price-option { &-sections-wrap { @@ -11,8 +15,8 @@ &-section { display: block; - padding: 10px 8px; - border-bottom: 1px solid rgba( 222, 222, 222, 0.3 ); + padding: .5em .5em 20px .5em; + border-bottom: 1px solid $wp-border; &-title { display: block; @@ -25,10 +29,6 @@ gap: 12px; margin-bottom: 6px; } - - &:last-child { - border-bottom: none; - } } } @@ -39,3 +39,7 @@ color: $wp-text; } } + +.edd-variable-prices__default input:checked { + opacity: .5; +} diff --git a/assets/css/admin/downloads/_product_settings.scss b/assets/css/admin/downloads/_product_settings.scss deleted file mode 100644 index a9953abb5b3..00000000000 --- a/assets/css/admin/downloads/_product_settings.scss +++ /dev/null @@ -1,30 +0,0 @@ -#edd_product_settings { - - .edd-product-options__title, - .inside strong { - border-top: 1px solid $wp-border; - border-bottom: 1px solid $wp-border; - background-color: $wp-alternate; - display: flex; - font-weight: 600; - margin: 0 -12px 16px; - padding: 8px 12px; - justify-content: space-between; - align-items: center; - } - - .edd-product-options-wrapper:first-of-type .edd-product-options__title, - .inside div:first-child strong { - margin-top: -8px; - } - - .edd-product-options__title .edd-help-tip, - .inside strong .edd-help-tip { - font-size: 20px; - } - - .label--block { - display: block; - margin: 0 0 4px; - } -} diff --git a/assets/css/admin/downloads/_repeatable_row.scss b/assets/css/admin/downloads/_repeatable_row.scss index 2e4ae057f71..4fd60d9a02f 100644 --- a/assets/css/admin/downloads/_repeatable_row.scss +++ b/assets/css/admin/downloads/_repeatable_row.scss @@ -1,3 +1,16 @@ +.edd-repeatables-wrap { + display: flex; + flex-direction: column; + gap: 16px; +} + +.edd_repeatable_row { + border: 1px solid $wp-border; + border-radius: 3px; + margin: 0; + padding: 0; +} + .edd_repeatable_row.ui-sortable-placeholder { line-height: 0; padding: 0; @@ -20,11 +33,6 @@ width: 100%; } -.edd_variable_prices_wrapper:not(:first-child), -.edd_repeatable_upload_wrapper:not(:first-child) { - margin-top: 12px; -} - .edd_repeatable_row.ui-sortable-helper .edd-repeatable-row-actions .edd-remove-row { display: none; } @@ -39,17 +47,14 @@ } } -.edd-repeatable-row-header, -.edd-bundle-products-header { +.edd-repeatable-row-header { clear: both; background: $wp-gray-0; - border: 1px solid $wp-border; + border-bottom: 1px solid $wp-border; display: flex; justify-content: space-between; -} - -.edd-repeatable-row-header { - cursor: move; + align-items: center; + padding: 0 8px; } .edd_repeatable_row:hover .edd-repeatable-row-header, @@ -70,21 +75,21 @@ clear: both; } -.edd-repeatable-row-title, .edd-bundle-products-header { - font-weight: 600; + margin-top: 0; } -.edd-repeatable-row-title, -.edd-repeatable-row-actions, -.edd-bundle-products-header { - padding: 8px; - box-sizing: border-box; +.edd-repeatable-row-title { + font-weight: 600; + padding: 9px 0; + margin-right: auto; } .edd-repeatable-row-actions { - flex-grow: 1; - text-align: right; + display: flex; + margin-left: auto; + align-items: center; + gap: 8px; } .edd-repeatable-row-actions .edd-remove-row, @@ -96,23 +101,18 @@ .edd-repeatable-row-standard-fields, .edd-bundled-product-row { padding: 8px; - border-width: 0 1px 1px; - border-style: solid; - border-color: $wp-border; display: flex; justify-content: space-between; align-items: center; gap: 18px; -} -/* @todo: remove these when .edd-form-row has been fully implemented */ -.edd-repeatable-row-standard-fields .edd-form-group, -.edd-bundled-product-row .edd-form-group { - margin-bottom: 0; - display: inline-flex; - flex-direction: column; - flex-grow: 1; - justify-content: space-between; + .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 { @@ -154,7 +154,6 @@ @media screen and (max-width: $break-mobile) { - .edd-bundle-products-header, .edd-repeatable-row-header, .edd-repeatable-row-standard-fields, .edd-bundled-product-row { diff --git a/assets/css/admin/downloads/_sections.scss b/assets/css/admin/downloads/_sections.scss new file mode 100644 index 00000000000..b449e627fa5 --- /dev/null +++ b/assets/css/admin/downloads/_sections.scss @@ -0,0 +1,86 @@ +.edd-download-editor__sections { + margin-top: 20px; + + .section-content--is-dynamic { + position: relative; + } + + .section-wrap .edd-section-content__fields--standard .edd-form-group { + margin-bottom: 16px; + } + + .section-content .inside { + margin: 0 !important; + padding: 0; + } +} + +.section-title--is-dynamic { + &:hover, + &:focus { + .edd-section-title__handle-actions:not(.edd-hidden) { + opacity: 1; + z-index: 1000; + } + } + + // This CSS is added specifically to help with keyboard navigation accessibility. + .edd-section-title__handle-actions:not(.edd-hidden) { + &:focus-within { + opacity: 1; + z-index: 1000; + } + } +} + +.edd-section-title__handle-actions.edd__handle-actions-order { + position: absolute; + right: -44px; + display: flex; + opacity: 0; + transition: opacity 0.25s ease-in-out; + z-index: -1; + + button { + padding: 9px; + border: 1px solid $gray-200; + background-color: #fcfcfc; + + &:first-of-type { + border-right: 0; + border-left: 0; + } + + &:last-of-type { + border-left: 0; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + } + + &:disabled .dashicons { + opacity: 0.5; + } + + &:focus-visible { + outline: none; + box-shadow: inset 0 0 1px 1px var(--wp-admin-theme-color); + } + } + + @media only screen and (max-width: $break-medium) { + right: 0; + left: 100%; + } +} + +body:not(.block-editor-page) { + #edd_product_details .inside { + margin: 0; + padding: 0; + } + + .edd-download-editor__sections { + border: none; + margin-top: 0; + } +} diff --git a/assets/css/admin/downloads/_settings.scss b/assets/css/admin/downloads/_settings.scss new file mode 100644 index 00000000000..39bfb1033ad --- /dev/null +++ b/assets/css/admin/downloads/_settings.scss @@ -0,0 +1,6 @@ +.edd-buy-buttons { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-bottom: 20px; +} diff --git a/assets/css/admin/downloads/style.scss b/assets/css/admin/downloads/style.scss index 9d744d79289..0791f759d81 100644 --- a/assets/css/admin/downloads/style.scss +++ b/assets/css/admin/downloads/style.scss @@ -1,7 +1,9 @@ @import "../variables/variables"; @import "prices"; -@import "product_settings"; @import "repeatable_row"; @import "upload"; @import "duplicate"; @import "product-files"; +@import "sections"; +@import "settings"; +@import "actions"; diff --git a/assets/css/admin/forms/_form-group.scss b/assets/css/admin/forms/_form-group.scss index 28a4357c4d5..2ddc04e3c41 100644 --- a/assets/css/admin/forms/_form-group.scss +++ b/assets/css/admin/forms/_form-group.scss @@ -79,6 +79,7 @@ +label { display: unset; + font-weight: unset; } } } diff --git a/assets/css/admin/forms/_general.scss b/assets/css/admin/forms/_general.scss new file mode 100644 index 00000000000..101d8f6480e --- /dev/null +++ b/assets/css/admin/forms/_general.scss @@ -0,0 +1,5 @@ +@media screen and (max-width: $break-mobile) { + .regular-text { + width: 100%; + } +} diff --git a/assets/css/admin/forms/style.scss b/assets/css/admin/forms/style.scss index ec17c7f79fc..80057d36693 100644 --- a/assets/css/admin/forms/style.scss +++ b/assets/css/admin/forms/style.scss @@ -1,2 +1,3 @@ @import "form-group"; @import "form-row"; +@import "general"; diff --git a/assets/css/admin/general/_elements.scss b/assets/css/admin/general/_elements.scss index 28f67f92392..406f3b7277f 100644 --- a/assets/css/admin/general/_elements.scss +++ b/assets/css/admin/general/_elements.scss @@ -1,5 +1,9 @@ .edd-hidden { display: none; + + &--required { + display: none !important; + } } .edd-clearfix:after { diff --git a/assets/css/admin/general/_grid.scss b/assets/css/admin/general/_grid.scss new file mode 100644 index 00000000000..58a2f2cc773 --- /dev/null +++ b/assets/css/admin/general/_grid.scss @@ -0,0 +1,46 @@ +.edd-admin--has-grid { + display: grid; + display: -ms-grid; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + grid-gap: 20px; + + .postbox { + margin-bottom: 0; + } + + .edd-from-to-wrapper { + display: flex; + margin-bottom: 16px; + width: 100%; + + input { + width: 100%; + } + + span { + flex-grow: 1; + } + } + + form { + display: flex; + flex-direction: column; + flex-wrap: wrap; + position: relative; + } + + .postbox .edd-select { + max-width: 100%; + margin-right: 0; + } + + .button.updating-message:before, + .button.updated-message:before { + vertical-align: text-bottom; + margin: 0 5px 0 0; + } + + @media screen and (max-width: $break-mobile) { + grid-template-columns: 1fr; + } +} diff --git a/assets/css/admin/general/_item-tab-wrapper.scss b/assets/css/admin/general/_item-tab-wrapper.scss new file mode 100644 index 00000000000..7cab1a387a8 --- /dev/null +++ b/assets/css/admin/general/_item-tab-wrapper.scss @@ -0,0 +1,63 @@ +#edd-item-tab-wrapper { + line-height: 1em; + margin: 0 -1px 0 0; + padding: 0; + background-color: #f5f5f5; + box-sizing: border-box; + + li { + display: block; + margin: 0; + padding: 0; + background-color: #fcfcfc; + + &.edd-hidden { + display: none; + } + + a, + > .edd-item-tab-label-wrap { + display: flex; + margin: 0; + padding: 9px; + text-decoration: none; + border-bottom: 1px solid #e5e5e5; + box-shadow: none; + position: relative; + align-items: center; + gap: 3px; + color: $gray-60; + } + + >.edd-item-tab-label-wrap { + background-color: $white; + } + + a:focus, + a:hover { + box-shadow: inset 5px 0; + outline: 0; + transition: all .25s; + } + } +} + +#edd-item-tab-wrapper-list { + margin: 0; +} + +@media only screen and (max-width: $break-medium) { + + #edd-item-tab-wrapper { + width: 48px; + + .edd-item-tab-label { + overflow: hidden; + position: absolute; + top: -1000em; + left: -1000em; + width: 1px; + height: 1px; + } + } +} diff --git a/assets/css/admin/general/style.scss b/assets/css/admin/general/style.scss index f23749dc714..16d720d379a 100644 --- a/assets/css/admin/general/style.scss +++ b/assets/css/admin/general/style.scss @@ -2,8 +2,10 @@ @import "../../components/admin-nav.scss"; @import "dialog"; @import "item-header"; +@import "item-tab-wrapper"; @import "status-badge"; @import "upgrade"; @import "progress-bar"; @import "help-tip"; @import "elements"; +@import "grid"; diff --git a/assets/css/admin/promos/style.scss b/assets/css/admin/promos/style.scss index 74a48fdc189..cb1d7ad7bde 100644 --- a/assets/css/admin/promos/style.scss +++ b/assets/css/admin/promos/style.scss @@ -58,7 +58,7 @@ /* Five Star Review Request ------------------------------------------------------------- */ -#edd-admin-notice-five-star-review { +#edd-admin-notice-five-star-review:not(.edd-hidden) { display: grid !important; } diff --git a/assets/css/admin/reports/_layout.scss b/assets/css/admin/reports/_layout.scss index 8e11e778391..6645f989771 100644 --- a/assets/css/admin/reports/_layout.scss +++ b/assets/css/admin/reports/_layout.scss @@ -3,6 +3,7 @@ display: grid; grid-template-columns: repeat(2, minmax(200px, 50%)); grid-gap: 2em; + margin: 0 20px; } .edd-reports-chart { @@ -20,24 +21,17 @@ position: relative; max-width: 100%; max-height: 75vh; + width: calc(100% - 2px); + overflow: visible; &.edd-canvas__type-line, &.edd-canvas__type-bar { - @media screen and (min-width: $break-mobile) { - height: 450px; - } - - @media screen and (min-width: $break-medium) { - height: 500px; - } - - @media screen and (min-width: $break-xlarge) { - height: 700px; - } + height: 300px; } } .chart-timezone { font-size: .75rem; color: $wp-gray-10; + grid-column: 1 / span 2; } diff --git a/assets/css/admin/reports/_tooltip.scss b/assets/css/admin/reports/_tooltip.scss index 71b1b49bfac..103ddfa2594 100644 --- a/assets/css/admin/reports/_tooltip.scss +++ b/assets/css/admin/reports/_tooltip.scss @@ -1,14 +1,20 @@ .edd-chartjs-tooltip { position: absolute; - background-color: #fff; - border-radius: 7px; - transition: all .1s ease; - pointer-events: none; + background: $white !important; + border-width: 0px; + border-radius: 12px !important; + box-shadow: $edd-tool-tip-shadow !important; + color: $edd-tooltip-text !important; + width: auto; + min-width: 180px; + max-width: 250px !important; + padding: 16px !important; + text-rendering: optimizeLegibility; + text-shadow: none !important; + font-size: 13px !important; transform: translate(-50%, 0); - 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; + pointer-events: none; + white-space: nowrap; } .edd-chartjs-tooltip-key { diff --git a/assets/css/admin/sections/_dynamic.scss b/assets/css/admin/sections/_dynamic.scss new file mode 100644 index 00000000000..227055f9410 --- /dev/null +++ b/assets/css/admin/sections/_dynamic.scss @@ -0,0 +1,28 @@ +li.section-title--add-new { + border: unset !important; + margin-bottom: 40px; + + button { + border: 0; + border-bottom: 1px solid $gray-200; + background-color: $dark-secondary; + display: flex; + gap: 3px; + width: 100%; + padding: 8px; + justify-content: center; + + &:focus-visible { + outline: none; + box-shadow: inset 0 0 1px 1px var(--wp-admin-theme-color); + } + } +} + +.edd-spacer { + height: 40px; +} + +button.edd-section-content__remove.button.button-secondary.edd-hidden { + display: none; +} diff --git a/assets/css/admin/sections/_id.scss b/assets/css/admin/sections/_id.scss new file mode 100644 index 00000000000..a37b3fcb7d6 --- /dev/null +++ b/assets/css/admin/sections/_id.scss @@ -0,0 +1,14 @@ +.edd-section__id--badge { + 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; +} diff --git a/assets/css/admin/sections/_vertical.scss b/assets/css/admin/sections/_vertical.scss new file mode 100644 index 00000000000..3f38c77fc05 --- /dev/null +++ b/assets/css/admin/sections/_vertical.scss @@ -0,0 +1,169 @@ +.edd-vertical-sections { + overflow: visible; + display: grid; + grid-template-columns: 150px 3fr; + + .section-nav { + display: flex; + flex-direction: column; + line-height: 1em; + margin: 0 -1px 0 0; + padding: 0; + background-color: #f5f5f5; + box-sizing: border-box; + + .section-title--is-active { + .dashicons { + color: $gray-60; + } + + a { + font-weight: bold; + color: $gray-60; + background-color: $white; + border-right: none; + margin-right: -1px; + + &:after { + content: ''; + width: 1px; + height: 100%; + background: $white; + position: absolute; + right: 0; + top: 0; + bottom: 0; + z-index: 3; + } + } + } + + li { + display: block; + margin: 0; + padding: 0; + background-color: #fcfcfc; + + &.edd-hidden { + display: none; + } + + > div, + a { + display: flex; + margin: 0; + padding: 9px; + text-decoration: none; + border-bottom: 1px solid #e5e5e5; + box-shadow: none; + position: relative; + align-items: center; + gap: 6px; + color: $gray-60; + outline: 0; + transition: all .25s; + + .dashicons { + line-height: 20px; + color: $gray-60; + } + + &:hover { + box-shadow: inset 5px 0; + } + } + } + + li a:focus, + .section-title--is-active a { + box-shadow: inset 5px 0 var(--wp-admin-theme-color); + } + + .section-title__indicator { + visibility: hidden; + flex-basis: 20px; + flex-shrink: 0; + height: 20px; + + + .label { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + padding-bottom: .3em; + margin: 0 auto -.3em 0; + } + } + } + + .section-title { + &:last-of-type { + margin-bottom: 24px; + } + + &.ajax--loading { + position: relative; + + &:before { + content: ' '; + position: absolute; + width: 100%; + height: 100%; + background: rgba($white,.4); + z-index: 50; + } + } + } + + @media only screen and (max-width: $break-medium) { + grid-template-columns: 48px 1fr; + } +} + +.no-js .edd-vertical-sections.use-js { + .section-nav, + &.edd-item-header-small { + display: none; + } + + .section-content { + display: block; + } +} + +@media only screen and (max-width: $break-medium) { + + .edd-vertical-sections .section-nav { + width: 48px; + + .section-title__static, + li a, + li > button { + justify-content: center; + + .dashicons { + width: 24px; + height: 24px; + font-size: 24px; + line-height: 1; + margin: 0; + } + } + + .section-title__indicator { + visibility: visible; + display: flex; + justify-content: center; + align-items: center; + width: 24px; + height: 24px; + flex-basis: 24px; + font-weight: bold; + background-color: #e5e5e5; + border-radius: 50%; + } + } + + .section-nav li .label { + @include screen-reader-text; + } +} diff --git a/assets/css/admin/sections/style.scss b/assets/css/admin/sections/style.scss new file mode 100644 index 00000000000..b2fd832dbae --- /dev/null +++ b/assets/css/admin/sections/style.scss @@ -0,0 +1,211 @@ +@import "vertical"; +@import "dynamic"; +@import "id"; + +.edd-sections-wrap { + clear: both; + width: 100%; + border: 1px solid $wp-border; + + .section-wrap { + background-color: $white; + border-left: 1px solid #e5e5e5; + + .row-title { + width: 30%; + } + + .editable { + display: block; + padding: 3px; + } + + div.edit-item { + margin-left: -4px; + margin-top: -20px; + } + + .customer-address.edit-item { + margin-top: 3px; + } + + span.edit-item { + display: none; + } + + .edit-item input { + font-size: 13px; + } + + .customer-name.edit-item input { + margin-top: -5px; + } + + .edd_user_search_results { + left: -2px; + top: 18px; + } + + .edd_user_search_results ul { + width: 198px; + } + + .customer-section:not(:last-child) { + border-bottom: 1px solid #eee; + } + + .customer-section table { + margin-bottom: 20px; + } + + .section-content { + border: none; + display: grid; + gap: 20px; + padding: 20px; + + h2, + > p { + margin: 0; + } + } + + .avatar-wrap { + float: left; + padding-right: 10px; + text-align: center; + } + + img.avatar { + border-radius: 5px; + } + + .customer-main-wrapper { + float: left; + } + + .customer-main-wrapper input[name="customerinfo[name]"] { + font-size: 24px; + } + + .customer-address-wrapper { + float: right; + margin-top: -3px; + margin-right: 50px; + width: 202px; + } + + .info-wrapper { + min-height: 125px; + overflow: visible; + } + + .customer-address span[data-key="address"], + .customer-address span[data-key="address2"], + .customer-address span[data-key="country"] { + display: block; + } + + a.delete { + color: #ff0000; + margin-right: 5px; + text-decoration: none; + } + + .notice-container { + padding-left: 20px; + padding-right: 20px; + margin-left: -20px; + margin-right: -20px; + } + + .edd-repeatable-row-standard-fields { + border: none; + } + } +} + +@media screen and (max-width: 810px) and (min-width: 656px) { + .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, + /** [1] */ + .edd-sections-wrap .section-wrap { + margin: 0; + } + + #edd-item-tab-wrapper-list .dashicons { + /** [1] */ + 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-sections-wrap .section-wrap { + .customer-address-wrapper { + float: none; + position: absolute; + top: 84px; + left: 165px; + max-width: 200px; + } + + .customer-main-wrapper { + float: none; + position: absolute; + left: 165px; + } + + #edd-item-stats-wrapper { + padding-left: 0; + padding-right: 0; + } + + .customer-section { + margin-bottom: 0; + } + + .widefat td.no-items, + .widefat td.column-primary, + .widefat th.column-primary { + width: 100px !important; + display: table-cell; + overflow: hidden; + text-align: left; + } + + .customer-id { + display: none; + } + } +} + +.edd-section-content__actions { + display: flex; + gap: 12px; + justify-content: flex-end; + align-items: center; + flex-wrap: wrap; + + .edd-form-group { + margin-bottom: 0 !important; + margin-right: auto; + } +} + +.section-content--is-dynamic:first-of-type .edd-section-content__remove { + display: none; +} diff --git a/assets/css/admin/style.scss b/assets/css/admin/style.scss index dbd8c301f8a..a296b55400a 100644 --- a/assets/css/admin/style.scss +++ b/assets/css/admin/style.scss @@ -9,6 +9,7 @@ @import "../variables/variables"; @import "general/style"; +@import "sections/style"; @import "downloads/style"; @import "discounts/style"; @@ -50,12 +51,13 @@ */ .wp-core-ui .edd-delete, a.edd-delete { + border-color: #a00; color: #a00; -} -.wp-core-ui .edd-delete:hover, -a.edd-delete:hover { - color: #f00; + &:hover { + border-color: #f00; + color: #f00; + } } /* General Settings Styles @@ -1103,7 +1105,6 @@ input[class*="edd-price-field"] { #edd_product_notes_field { display: block; margin: 12px 0 0; - height: 4em; width: 100%; } @@ -1640,38 +1641,6 @@ body.download_page_edd-reports { 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; @@ -1687,17 +1656,6 @@ span.edd-to-and-from--separator { margin-bottom: 16px; } -.edd-admin--has-grid .postbox .edd-select { - max-width: 100%; - margin-right: 0; -} - -.edd-admin--has-grid .button.updating-message:before, -.edd-admin--has-grid .button.updated-message:before { - vertical-align: text-bottom; - margin: 0 5px 0 0; -} - .edd-import-export-form .edd-progress { background: #ddd; border-radius: 15px; @@ -2088,84 +2046,26 @@ h3 + .notice-wrap .notice { box-shadow: 0 1px 1px rgba(0, 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; -} + display: grid; + grid-template-columns: 150px 1fr; -.edd-sections-wrap .section-wrap .section-content { - >* { - padding: 20px; + &.full-width { + max-width: 100%; + grid-template-columns: unset; } - h2 { - margin: 0; - padding-bottom: 0; + &:after { + content: ""; + display: block; + clear: both; + visibility: hidden; + font-size: 0; + height: 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: 1px solid #eee; - border-bottom-left-radius: 20%; - border-top: none; - border-right: none; - font-family: monospace; - font-size: 18px; - font-weight: 600; + .edd-sections-wrap { + border: none; + } } .edd-item-info.customer-info input[type="text"], @@ -2181,38 +2081,6 @@ h3 + .notice-wrap .notice { 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="address"], -.edd-sections-wrap .section-wrap .customer-address span[data-key="address2"], -.edd-sections-wrap .section-wrap .customer-address span[data-key="country"] { - display: block; -} - -.edd-sections-wrap .section-wrap a.delete { - color: #ff0000; - margin-right: 5px; - text-decoration: none; -} - .customer-info { min-height: 185px; } @@ -2250,45 +2118,6 @@ h3 + .notice-wrap .notice { 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; @@ -2376,91 +2205,26 @@ h3 + .notice-wrap .notice { 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, - /** [1] */ - .edd-sections-wrap .section-wrap { - margin: 0; - width: 100%; - } - - #edd-item-tab-wrapper-list .dashicons { - /** [1] */ - 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.no-items, - .edd-sections-wrap .section-wrap .widefat td.column-primary, - .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; @@ -2573,240 +2337,8 @@ h3 + .notice-wrap .notice { /* Tools Styles -------------------------------------------------------------- */ -.edd-vertical-sections { - overflow: visible; - display: block; - display: flex; -} - -#edd-item-tab-wrapper, -/** [1] */ -.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 { - /** [1] */ - margin: 0; -} - -#edd-item-tab-wrapper li, -/** [1] */ -.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 a, -/** [1] */ -#edd-item-tab-wrapper li>.edd-item-tab-label-wrap, -/** [1] */ -.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:hover, -.edd-vertical-sections .section-nav li a:focus { - 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 { - /** [1] */ - 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: bold; - 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 .section-nav, -.no-js .edd-vertical-sections.use-js.edd-item-header-small { - display: none; -} - -.no-js .edd-vertical-sections.use-js .section-content { - display: block; -} - -/* Fresh */ -.admin-color-fresh .edd-vertical-sections .section-nav li a:hover, -.admin-color-fresh .edd-vertical-sections .section-nav li a:focus, -.admin-color-fresh .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #0073aa; -} - -/* Blue */ -.admin-color-blue .edd-vertical-sections .section-nav li a:hover, -.admin-color-blue .edd-vertical-sections .section-nav li a:focus, -.admin-color-blue .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #096484; -} - -/* Coffee */ -.admin-color-coffee .edd-vertical-sections .section-nav li a:hover, -.admin-color-coffee .edd-vertical-sections .section-nav li a:focus, -.admin-color-coffee .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #c7a589; -} - -/* Ectoplasm */ -.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:hover, -.admin-color-ectoplasm .edd-vertical-sections .section-nav li a:focus, -.admin-color-ectoplasm .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #a3b745; -} - -/* Midnight */ -.admin-color-midnight .edd-vertical-sections .section-nav li a:hover, -.admin-color-midnight .edd-vertical-sections .section-nav li a:focus, -.admin-color-midnight .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #e14d43; -} - -/* Ocean */ -.admin-color-ocean .edd-vertical-sections .section-nav li a:hover, -.admin-color-ocean .edd-vertical-sections .section-nav li a:focus, -.admin-color-ocean .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #627c83; -} - -/* Sunrise */ -.admin-color-sunrise .edd-vertical-sections .section-nav li a:hover, -.admin-color-sunrise .edd-vertical-sections .section-nav li a:focus, -.admin-color-sunrise .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #be3631; -} - -/* Light */ -.admin-color-light .edd-vertical-sections .section-nav li a:hover, -.admin-color-light .edd-vertical-sections .section-nav li a:focus, -.admin-color-light .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #888; -} - -/* bbPress Color Schemes */ - -/* Evergreen */ -.admin-color-evergreen .edd-vertical-sections .section-nav li a:hover, -.admin-color-evergreen .edd-vertical-sections .section-nav li a:focus, -.admin-color-evergreen .edd-vertical-sections .section-nav .section-title--is-active a { - box-shadow: inset 5px 0 #36533f; -} - -/* Mint */ -.admin-color-mint .edd-vertical-sections .section-nav li a:hover, -.admin-color-mint .edd-vertical-sections .section-nav li a:focus, -.admin-color-mint .edd-vertical-sections .section-nav .section-title--is-active a { - 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, - /** [1] */ - .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, - /** [1] */ - .section-nav li .label { - overflow: hidden; - position: absolute; - top: -1000em; - left: -1000em; - width: 1px; - height: 1px; - } -} - /* Content wrapper */ -#edd-item-card-wrapper, -/** [1] */ -.edd-vertical-sections .section-wrap { - width: 80%; -} - #edd-item-card-wrapper .item-section { /** [1] */ background: #fff; @@ -2829,26 +2361,6 @@ h3 + .notice-wrap .notice { box-sizing: border-box; } -@media only screen and (min-width: 1200px) { - - #edd-item-card-wrapper, - /** [1] */ - #edd-graphs-filter, - .edd-vertical-sections:not(.meta-box) .section-wrap { - width: calc(100% - 200px); - } -} - -@media only screen and (max-width: 782px) { - - #edd-item-card-wrapper, - /** [1] */ - #edd-graphs-filter, - .edd-vertical-sections .section-wrap { - width: calc(100% - 48px); - } -} - #edd-debug-log .edd-inline-button { margin-left: 5px; } diff --git a/assets/css/components/toggle-checkbox.scss b/assets/css/components/toggle-checkbox.scss index b487c8a3d42..714e2daee29 100644 --- a/assets/css/components/toggle-checkbox.scss +++ b/assets/css/components/toggle-checkbox.scss @@ -5,7 +5,7 @@ overflow: visible; align-items: center; - input[type="checkbox"] { + input { position: relative; margin: 0; padding: 0; @@ -19,51 +19,62 @@ border: none; } - input[type="checkbox"]:before { + label, + .label { + margin-bottom: 0 !important; + } + + input:before { position: absolute; - content: ""; - height: 18px; - width: 18px; + content: "" !important; + height: 18px !important; + width: 18px !important; left: 3px; bottom: 3px; - background-color: white; + background-color: white !important; transition: 0.1s transform ease; border-radius: 50%; + z-index: 999; } @media only screen and (max-width: $break-medium) { - input[type="checkbox"]:checked:before { + input:checked:before { margin: -.1875rem 0 0 -.25rem; } } - input[type="checkbox"]:checked { + input:checked { background-color: #007cba; background-color: var( --wp-admin-theme-color ); } - input[type="checkbox"]:active, - input[type="checkbox"]:focus { + input:active, + input: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 { + input:checked:active, + input: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 { + input:checked:before { transform: translateX(22px); } - input[type="checkbox"]:disabled { + input[type="radio"]:checked:before { + margin: 0; + transform: translateX(18px); + } + + input:disabled { opacity: 0.5; } &.inverse { - & input[type="checkbox"] { + & input { background-color: #007cba; background-color: var( --wp-admin-theme-color ); transform: scaleX(-1); diff --git a/assets/css/edd-admin-rtl.min.css b/assets/css/edd-admin-rtl.min.css index c8fdaee0142..3d40ed9cc82 100644 --- a/assets/css/edd-admin-rtl.min.css +++ b/assets/css/edd-admin-rtl.min.css @@ -1 +1 @@ -@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:auto;position:relative;justify-content:center;flex-wrap:wrap}.edd-nav__wrapper .subtitle{padding:18px 12px}}.edd-nav__tabs{display:flex;flex-direction:row;justify-content:left;flex-wrap:wrap;margin:0;gap:8px}@media screen and (max-width:782px){.edd-nav__tabs{justify-content:center}}.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;white-space:nowrap}.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 legend{margin-bottom:8px}.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__control--row{display:flex;align-items:center;gap:8px}.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;flex-wrap:wrap}@media screen and (max-width:782px){.edd-sub-nav{justify-content:center}}.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;white-space:nowrap}.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 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 +@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:auto;position:relative;justify-content:center;flex-wrap:wrap}.edd-nav__wrapper .subtitle{padding:18px 12px}}.edd-nav__tabs{display:flex;flex-direction:row;justify-content:left;flex-wrap:wrap;margin:0;gap:8px}@media screen and (max-width:782px){.edd-nav__tabs{justify-content:center}}.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;white-space:nowrap}.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-item-tab-wrapper{line-height:1em;margin:0 0 0 -1px;padding:0;background-color:#f5f5f5;box-sizing:border-box}#edd-item-tab-wrapper li{display:block;margin:0;padding:0;background-color:#fcfcfc}#edd-item-tab-wrapper li.edd-hidden{display:none}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap,#edd-item-tab-wrapper li a{display:flex;margin:0;padding:9px;text-decoration:none;border-bottom:1px solid #e5e5e5;box-shadow:none;position:relative;align-items:center;gap:3px;color:#50575e}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap{background-color:#fff}#edd-item-tab-wrapper li a:focus,#edd-item-tab-wrapper li a:hover{box-shadow:inset -5px 0;outline:0;transition:all .25s}#edd-item-tab-wrapper-list{margin:0}@media only screen and (max-width:782px){#edd-item-tab-wrapper{width:48px}#edd-item-tab-wrapper .edd-item-tab-label{overflow:hidden;position:absolute;top:-1000em;right:-1000em;width:1px;height:1px}}.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-hidden--required{display:none!important}.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-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}.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}@media screen and (max-width:480px){.edd-admin--has-grid{-ms-grid-columns:1fr;grid-template-columns:1fr}}.edd-vertical-sections{overflow:visible;display:-ms-grid;display:grid;-ms-grid-columns:150px 3fr;grid-template-columns:150px 3fr}.edd-vertical-sections .section-nav{display:flex;flex-direction:column;line-height:1em;margin:0 0 0 -1px;padding:0;background-color:#f5f5f5;box-sizing:border-box}.edd-vertical-sections .section-nav .section-title--is-active .dashicons{color:#50575e}.edd-vertical-sections .section-nav .section-title--is-active a{font-weight:700;color:#50575e;background-color:#fff;border-left:none;margin-left:-1px}.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-vertical-sections .section-nav li{display:block;margin:0;padding:0;background-color:#fcfcfc}.edd-vertical-sections .section-nav li.edd-hidden{display:none}.edd-vertical-sections .section-nav li>div,.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;gap:6px;color:#50575e;outline:0;transition:all .25s}.edd-vertical-sections .section-nav li>div .dashicons,.edd-vertical-sections .section-nav li a .dashicons{line-height:20px;color:#50575e}.edd-vertical-sections .section-nav li>div:hover,.edd-vertical-sections .section-nav li a:hover{box-shadow:inset -5px 0}.edd-vertical-sections .section-nav .section-title--is-active a,.edd-vertical-sections .section-nav li a:focus{box-shadow:inset -5px 0 var(--wp-admin-theme-color)}.edd-vertical-sections .section-nav .section-title__indicator{visibility:hidden;flex-basis:20px;flex-shrink:0;height:20px}.edd-vertical-sections .section-nav .section-title__indicator+.label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-bottom:.3em;margin:0 0 -.3em auto}.edd-vertical-sections .section-title:last-of-type{margin-bottom:24px}.edd-vertical-sections .section-title.ajax--loading{position:relative}.edd-vertical-sections .section-title.ajax--loading:before{content:" ";position:absolute;width:100%;height:100%;background:hsla(0,0%,100%,.4);z-index:50}@media only screen and (max-width:782px){.edd-vertical-sections{-ms-grid-columns:48px 1fr;grid-template-columns:48px 1fr}}.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}@media only screen and (max-width:782px){.edd-vertical-sections .section-nav{width:48px}.edd-vertical-sections .section-nav .section-title__static,.edd-vertical-sections .section-nav li>button,.edd-vertical-sections .section-nav li a{justify-content:center}.edd-vertical-sections .section-nav .section-title__static .dashicons,.edd-vertical-sections .section-nav li>button .dashicons,.edd-vertical-sections .section-nav li a .dashicons{width:24px;height:24px;font-size:24px;line-height:1;margin:0}.edd-vertical-sections .section-nav .section-title__indicator{visibility:visible;display:flex;justify-content:center;align-items:center;width:24px;height:24px;flex-basis:24px;font-weight:700;background-color:#e5e5e5;border-radius:50%}.section-nav li .label{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}}li.section-title--add-new{border:unset!important;margin-bottom:40px}li.section-title--add-new button{border:0;border-bottom:1px solid #e0e0e0;background-color:hsla(0,0%,100%,.6);display:flex;gap:3px;width:100%;padding:8px;justify-content:center}li.section-title--add-new button:focus-visible{outline:none;box-shadow:inset 0 0 1px 1px var(--wp-admin-theme-color)}.edd-spacer{height:40px}button.edd-section-content__remove.button.button-secondary.edd-hidden{display:none}.edd-section__id--badge{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-sections-wrap{clear:both;width:100%;border:1px solid #c3c4c7}.edd-sections-wrap .section-wrap{background-color:#fff;border-right:1px solid #e5e5e5}.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-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 .section-content{border:none;display:-ms-grid;display:grid;gap:20px;padding:20px}.edd-sections-wrap .section-wrap .section-content>p,.edd-sections-wrap .section-wrap .section-content h2{margin: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-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}.edd-sections-wrap .section-wrap .notice-container{padding-right:20px;padding-left:20px;margin-right:-20px;margin-left:-20px}.edd-sections-wrap .section-wrap .edd-repeatable-row-standard-fields{border:none}@media screen and (max-width:810px)and (min-width:656px){.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}#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-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}.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-section-content__actions{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.edd-section-content__actions .edd-form-group{margin-bottom:0!important;margin-left:auto}.section-content--is-dynamic:first-of-type .edd-section-content__remove{display:none}.edd-section-content__fields--custom{display:-ms-grid;display:grid;gap:20px}.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:.5em .5em 20px;border-bottom:1px solid #c3c4c7}.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}.toggle-custom-price-option-section{color:#787c82}.toggle-custom-price-option-section:hover{color:#537994}.edd-variable-prices__default input:checked{opacity:.5}.edd-repeatables-wrap{display:flex;flex-direction:column;gap:16px}.edd_repeatable_row{border:1px solid #c3c4c7;border-radius:3px;margin:0;padding:0}.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_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-repeatable-row-header{clear:both;background:#f6f7f7;border-bottom:1px solid #c3c4c7;display:flex;justify-content:space-between;align-items:center;padding:0 8px}.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{margin-top:0}.edd-repeatable-row-title{font-weight:600;padding:9px 0;margin-left:auto}.edd-repeatable-row-actions{display:flex;margin-right:auto;align-items:center;gap:8px}.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;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-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-download-editor__sections{margin-top:20px}.edd-download-editor__sections .section-content--is-dynamic{position:relative}.edd-download-editor__sections .section-wrap .edd-section-content__fields--standard .edd-form-group{margin-bottom:16px}.edd-download-editor__sections .section-content .inside{margin:0!important;padding:0}.section-title--is-dynamic:focus .edd-section-title__handle-actions:not(.edd-hidden),.section-title--is-dynamic:hover .edd-section-title__handle-actions:not(.edd-hidden){opacity:1;z-index:1000}.section-title--is-dynamic .edd-section-title__handle-actions:not(.edd-hidden):focus-within{opacity:1;z-index:1000}.edd-section-title__handle-actions.edd__handle-actions-order{position:absolute;left:-44px;display:flex;opacity:0;transition:opacity .25s ease-in-out;z-index:-1}.edd-section-title__handle-actions.edd__handle-actions-order button{padding:9px;border:1px solid #e0e0e0;background-color:#fcfcfc}.edd-section-title__handle-actions.edd__handle-actions-order button:first-of-type{border-left:0;border-right:0}.edd-section-title__handle-actions.edd__handle-actions-order button:last-of-type{border-right:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.edd-section-title__handle-actions.edd__handle-actions-order button:disabled .dashicons{opacity:.5}.edd-section-title__handle-actions.edd__handle-actions-order button:focus-visible{outline:none;box-shadow:inset 0 0 1px 1px var(--wp-admin-theme-color)}@media only screen and (max-width:782px){.edd-section-title__handle-actions.edd__handle-actions-order{left:0;right:100%}}body:not(.block-editor-page) #edd_product_details .inside{margin:0;padding:0}body:not(.block-editor-page) .edd-download-editor__sections{border:none;margin-top:0}.edd-buy-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.edd__handle-actions-order{display:flex;transition:opacity .25s ease-in-out}.edd__handle-actions-order button{padding:9px;border:0;background:transparent}.edd__handle-actions-order button:disabled .dashicons{opacity:.5}.edd-form-group{margin-bottom:16px}.edd-form-group:last-of-type{margin-bottom:0}.edd-form-group legend{margin-bottom:8px}.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__control--row{display:flex;align-items:center;gap:8px}.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;font-weight: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}@media screen and (max-width:480px){.regular-text{width:100%}}#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;margin:0 20px}.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;width:calc(100% - 2px);overflow:visible}.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:300px}.chart-timezone{font-size:.75rem;color:#c3c4c7;-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2}.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:#fff!important;border-width:0;border-radius:12px!important;box-shadow:0 8px 36px 0 rgba(29,36,40,.15)!important;color:#23282d!important;width:auto;min-width:180px;max-width:250px!important;padding:16px!important;text-rendering:optimizeLegibility;text-shadow:none!important;font-size:13px!important;transform:translate(50%);pointer-events:none;white-space:nowrap}.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:not(.edd-hidden){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;flex-wrap:wrap}@media screen and (max-width:782px){.edd-sub-nav{justify-content:center}}.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;white-space:nowrap}.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{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,.edd-toggle label{margin-bottom:0!important}.edd-toggle input:before{position:absolute;content:""!important;height:18px!important;width:18px!important;right:3px;bottom:3px;background-color:#fff!important;transition:transform .1s ease;border-radius:50%;z-index:999}@media only screen and (max-width:782px){.edd-toggle input:checked:before{margin:-.1875rem -.25rem 0 0}}.edd-toggle input:checked{background-color:#007cba;background-color:var(--wp-admin-theme-color)}.edd-toggle input:active,.edd-toggle input:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-toggle input:checked:active,.edd-toggle input: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:checked:before{transform:translateX(-22px)}.edd-toggle input[type=radio]:checked:before{margin:0;transform:translateX(-18px)}.edd-toggle input:disabled{opacity:.5}.edd-toggle.inverse input{background-color:#007cba;background-color:var(--wp-admin-theme-color);transform:scaleX(-1)}.edd-toggle.inverse input:checked{background-color:#ccc}.edd-notice .notice-dismiss,.edd-wrap a{text-decoration:none}.wp-core-ui .edd-delete,a.edd-delete{border-color:#a00;color:#a00}.wp-core-ui .edd-delete:hover,a.edd-delete:hover{border-color:red;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;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}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-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:-ms-grid;display:grid;-ms-grid-columns:150px 1fr;grid-template-columns:150px 1fr}#edd-item-wrapper.full-width{max-width:100%;-ms-grid-columns:unset;grid-template-columns:unset}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-wrapper .edd-sections-wrap{border:none}.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}.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-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}@media screen and (max-width:810px)and (min-width:656px){.customer-info .customer-name{font-size:16px}.widefat th{max-width:100%!important;display:table-cell}}@media screen and (max-width:656px){.edd-item-info.customer-info{position:relative}.customer-info .customer-name{font-size:16px}#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-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}#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 252e52a14c5..3e0986a5db0 100644 --- a/assets/css/edd-admin.min.css +++ b/assets/css/edd-admin.min.css @@ -1 +1 @@ -@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:auto;position:relative;justify-content:center;flex-wrap:wrap}.edd-nav__wrapper .subtitle{padding:18px 12px}}.edd-nav__tabs{display:flex;flex-direction:row;justify-content:left;flex-wrap:wrap;margin:0;gap:8px}@media screen and (max-width:782px){.edd-nav__tabs{justify-content:center}}.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;white-space:nowrap}.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 legend{margin-bottom:8px}.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__control--row{display:flex;align-items:center;gap:8px}.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;flex-wrap:wrap}@media screen and (max-width:782px){.edd-sub-nav{justify-content:center}}.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;white-space:nowrap}.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 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 +@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:auto;position:relative;justify-content:center;flex-wrap:wrap}.edd-nav__wrapper .subtitle{padding:18px 12px}}.edd-nav__tabs{display:flex;flex-direction:row;justify-content:left;flex-wrap:wrap;margin:0;gap:8px}@media screen and (max-width:782px){.edd-nav__tabs{justify-content:center}}.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;white-space:nowrap}.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-item-tab-wrapper{line-height:1em;margin:0 -1px 0 0;padding:0;background-color:#f5f5f5;box-sizing:border-box}#edd-item-tab-wrapper li{display:block;margin:0;padding:0;background-color:#fcfcfc}#edd-item-tab-wrapper li.edd-hidden{display:none}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap,#edd-item-tab-wrapper li a{display:flex;margin:0;padding:9px;text-decoration:none;border-bottom:1px solid #e5e5e5;box-shadow:none;position:relative;align-items:center;gap:3px;color:#50575e}#edd-item-tab-wrapper li>.edd-item-tab-label-wrap{background-color:#fff}#edd-item-tab-wrapper li a:focus,#edd-item-tab-wrapper li a:hover{box-shadow:inset 5px 0;outline:0;transition:all .25s}#edd-item-tab-wrapper-list{margin:0}@media only screen and (max-width:782px){#edd-item-tab-wrapper{width:48px}#edd-item-tab-wrapper .edd-item-tab-label{overflow:hidden;position:absolute;top:-1000em;left:-1000em;width:1px;height:1px}}.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-hidden--required{display:none!important}.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-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}.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}@media screen and (max-width:480px){.edd-admin--has-grid{-ms-grid-columns:1fr;grid-template-columns:1fr}}.edd-vertical-sections{overflow:visible;display:-ms-grid;display:grid;-ms-grid-columns:150px 3fr;grid-template-columns:150px 3fr}.edd-vertical-sections .section-nav{display:flex;flex-direction:column;line-height:1em;margin:0 -1px 0 0;padding:0;background-color:#f5f5f5;box-sizing:border-box}.edd-vertical-sections .section-nav .section-title--is-active .dashicons{color:#50575e}.edd-vertical-sections .section-nav .section-title--is-active a{font-weight:700;color:#50575e;background-color:#fff;border-right:none;margin-right:-1px}.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-vertical-sections .section-nav li{display:block;margin:0;padding:0;background-color:#fcfcfc}.edd-vertical-sections .section-nav li.edd-hidden{display:none}.edd-vertical-sections .section-nav li>div,.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;gap:6px;color:#50575e;outline:0;transition:all .25s}.edd-vertical-sections .section-nav li>div .dashicons,.edd-vertical-sections .section-nav li a .dashicons{line-height:20px;color:#50575e}.edd-vertical-sections .section-nav li>div:hover,.edd-vertical-sections .section-nav li a:hover{box-shadow:inset 5px 0}.edd-vertical-sections .section-nav .section-title--is-active a,.edd-vertical-sections .section-nav li a:focus{box-shadow:inset 5px 0 var(--wp-admin-theme-color)}.edd-vertical-sections .section-nav .section-title__indicator{visibility:hidden;flex-basis:20px;flex-shrink:0;height:20px}.edd-vertical-sections .section-nav .section-title__indicator+.label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-bottom:.3em;margin:0 auto -.3em 0}.edd-vertical-sections .section-title:last-of-type{margin-bottom:24px}.edd-vertical-sections .section-title.ajax--loading{position:relative}.edd-vertical-sections .section-title.ajax--loading:before{content:" ";position:absolute;width:100%;height:100%;background:hsla(0,0%,100%,.4);z-index:50}@media only screen and (max-width:782px){.edd-vertical-sections{-ms-grid-columns:48px 1fr;grid-template-columns:48px 1fr}}.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}@media only screen and (max-width:782px){.edd-vertical-sections .section-nav{width:48px}.edd-vertical-sections .section-nav .section-title__static,.edd-vertical-sections .section-nav li>button,.edd-vertical-sections .section-nav li a{justify-content:center}.edd-vertical-sections .section-nav .section-title__static .dashicons,.edd-vertical-sections .section-nav li>button .dashicons,.edd-vertical-sections .section-nav li a .dashicons{width:24px;height:24px;font-size:24px;line-height:1;margin:0}.edd-vertical-sections .section-nav .section-title__indicator{visibility:visible;display:flex;justify-content:center;align-items:center;width:24px;height:24px;flex-basis:24px;font-weight:700;background-color:#e5e5e5;border-radius:50%}.section-nav li .label{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}}li.section-title--add-new{border:unset!important;margin-bottom:40px}li.section-title--add-new button{border:0;border-bottom:1px solid #e0e0e0;background-color:hsla(0,0%,100%,.6);display:flex;gap:3px;width:100%;padding:8px;justify-content:center}li.section-title--add-new button:focus-visible{outline:none;box-shadow:inset 0 0 1px 1px var(--wp-admin-theme-color)}.edd-spacer{height:40px}button.edd-section-content__remove.button.button-secondary.edd-hidden{display:none}.edd-section__id--badge{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-sections-wrap{clear:both;width:100%;border:1px solid #c3c4c7}.edd-sections-wrap .section-wrap{background-color:#fff;border-left:1px solid #e5e5e5}.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-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 .section-content{border:none;display:-ms-grid;display:grid;gap:20px;padding:20px}.edd-sections-wrap .section-wrap .section-content>p,.edd-sections-wrap .section-wrap .section-content h2{margin: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-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}.edd-sections-wrap .section-wrap .notice-container{padding-left:20px;padding-right:20px;margin-left:-20px;margin-right:-20px}.edd-sections-wrap .section-wrap .edd-repeatable-row-standard-fields{border:none}@media screen and (max-width:810px)and (min-width:656px){.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}#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-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}.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-section-content__actions{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.edd-section-content__actions .edd-form-group{margin-bottom:0!important;margin-right:auto}.section-content--is-dynamic:first-of-type .edd-section-content__remove{display:none}.edd-section-content__fields--custom{display:-ms-grid;display:grid;gap:20px}.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:.5em .5em 20px;border-bottom:1px solid #c3c4c7}.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}.toggle-custom-price-option-section{color:#787c82}.toggle-custom-price-option-section:hover{color:#537994}.edd-variable-prices__default input:checked{opacity:.5}.edd-repeatables-wrap{display:flex;flex-direction:column;gap:16px}.edd_repeatable_row{border:1px solid #c3c4c7;border-radius:3px;margin:0;padding:0}.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_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-repeatable-row-header{clear:both;background:#f6f7f7;border-bottom:1px solid #c3c4c7;display:flex;justify-content:space-between;align-items:center;padding:0 8px}.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{margin-top:0}.edd-repeatable-row-title{font-weight:600;padding:9px 0;margin-right:auto}.edd-repeatable-row-actions{display:flex;margin-left:auto;align-items:center;gap:8px}.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;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-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-download-editor__sections{margin-top:20px}.edd-download-editor__sections .section-content--is-dynamic{position:relative}.edd-download-editor__sections .section-wrap .edd-section-content__fields--standard .edd-form-group{margin-bottom:16px}.edd-download-editor__sections .section-content .inside{margin:0!important;padding:0}.section-title--is-dynamic:focus .edd-section-title__handle-actions:not(.edd-hidden),.section-title--is-dynamic:hover .edd-section-title__handle-actions:not(.edd-hidden){opacity:1;z-index:1000}.section-title--is-dynamic .edd-section-title__handle-actions:not(.edd-hidden):focus-within{opacity:1;z-index:1000}.edd-section-title__handle-actions.edd__handle-actions-order{position:absolute;right:-44px;display:flex;opacity:0;transition:opacity .25s ease-in-out;z-index:-1}.edd-section-title__handle-actions.edd__handle-actions-order button{padding:9px;border:1px solid #e0e0e0;background-color:#fcfcfc}.edd-section-title__handle-actions.edd__handle-actions-order button:first-of-type{border-right:0;border-left:0}.edd-section-title__handle-actions.edd__handle-actions-order button:last-of-type{border-left:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.edd-section-title__handle-actions.edd__handle-actions-order button:disabled .dashicons{opacity:.5}.edd-section-title__handle-actions.edd__handle-actions-order button:focus-visible{outline:none;box-shadow:inset 0 0 1px 1px var(--wp-admin-theme-color)}@media only screen and (max-width:782px){.edd-section-title__handle-actions.edd__handle-actions-order{right:0;left:100%}}body:not(.block-editor-page) #edd_product_details .inside{margin:0;padding:0}body:not(.block-editor-page) .edd-download-editor__sections{border:none;margin-top:0}.edd-buy-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.edd__handle-actions-order{display:flex;transition:opacity .25s ease-in-out}.edd__handle-actions-order button{padding:9px;border:0;background:transparent}.edd__handle-actions-order button:disabled .dashicons{opacity:.5}.edd-form-group{margin-bottom:16px}.edd-form-group:last-of-type{margin-bottom:0}.edd-form-group legend{margin-bottom:8px}.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__control--row{display:flex;align-items:center;gap:8px}.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;font-weight: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}@media screen and (max-width:480px){.regular-text{width:100%}}#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;margin:0 20px}.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;width:calc(100% - 2px);overflow:visible}.edd-canvas__container.edd-canvas__type-bar,.edd-canvas__container.edd-canvas__type-line{height:300px}.chart-timezone{font-size:.75rem;color:#c3c4c7;-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2}.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:#fff!important;border-width:0;border-radius:12px!important;box-shadow:0 8px 36px 0 rgba(29,36,40,.15)!important;color:#23282d!important;width:auto;min-width:180px;max-width:250px!important;padding:16px!important;text-rendering:optimizeLegibility;text-shadow:none!important;font-size:13px!important;transform:translate(-50%);pointer-events:none;white-space:nowrap}.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:not(.edd-hidden){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;flex-wrap:wrap}@media screen and (max-width:782px){.edd-sub-nav{justify-content:center}}.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;white-space:nowrap}.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{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,.edd-toggle label{margin-bottom:0!important}.edd-toggle input:before{position:absolute;content:""!important;height:18px!important;width:18px!important;left:3px;bottom:3px;background-color:#fff!important;transition:transform .1s ease;border-radius:50%;z-index:999}@media only screen and (max-width:782px){.edd-toggle input:checked:before{margin:-.1875rem 0 0 -.25rem}}.edd-toggle input:checked{background-color:#007cba;background-color:var(--wp-admin-theme-color)}.edd-toggle input:active,.edd-toggle input:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px #7e8993}.edd-toggle input:checked:active,.edd-toggle input: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:checked:before{transform:translateX(22px)}.edd-toggle input[type=radio]:checked:before{margin:0;transform:translateX(18px)}.edd-toggle input:disabled{opacity:.5}.edd-toggle.inverse input{background-color:#007cba;background-color:var(--wp-admin-theme-color);transform:scaleX(-1)}.edd-toggle.inverse input:checked{background-color:#ccc}.edd-notice .notice-dismiss,.edd-wrap a{text-decoration:none}.wp-core-ui .edd-delete,a.edd-delete{border-color:#a00;color:#a00}.wp-core-ui .edd-delete:hover,a.edd-delete:hover{border-color:red;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;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}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-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:-ms-grid;display:grid;-ms-grid-columns:150px 1fr;grid-template-columns:150px 1fr}#edd-item-wrapper.full-width{max-width:100%;-ms-grid-columns:unset;grid-template-columns:unset}#edd-item-wrapper:after{content:"";display:block;clear:both;visibility:hidden;font-size:0;height:0}#edd-item-wrapper .edd-sections-wrap{border:none}.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}.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-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}@media screen and (max-width:810px)and (min-width:656px){.customer-info .customer-name{font-size:16px}.widefat th{max-width:100%!important;display:table-cell}}@media screen and (max-width:656px){.edd-item-info.customer-info{position:relative}.customer-info .customer-name{font-size:16px}#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-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}#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/_mixins.scss b/assets/css/variables/_mixins.scss index 07f65121504..eab8b1c7e46 100644 --- a/assets/css/variables/_mixins.scss +++ b/assets/css/variables/_mixins.scss @@ -78,3 +78,16 @@ } } } + +@mixin screen-reader-text { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + word-wrap: normal !important; +} diff --git a/assets/js/admin/components/chosen/index.js b/assets/js/admin/components/chosen/index.js index 47162afbffc..4f3b2056c0a 100644 --- a/assets/js/admin/components/chosen/index.js +++ b/assets/js/admin/components/chosen/index.js @@ -43,9 +43,8 @@ jQuery( document ).ready( function( $ ) { // Variables for setting up the typing timer // Time in ms, Slow - 521ms, Moderate - 342ms, Fast - 300ms - let userInteractionInterval = 342, - typingTimerElements = '.edd-select-chosen .chosen-search input, .edd-select-chosen .search-field input', - typingTimer; + let userInteractionInterval = 521, + typingTimerElements = '.edd-select-chosen .chosen-search input, .edd-select-chosen .search-field input'; // Replace options with search results $( document.body ).on( 'keyup', typingTimerElements, _.debounce( function( e ) { @@ -81,16 +80,9 @@ jQuery( document ).ready( function( $ ) { // Don't fire if short or is a modifier key (shift, ctrl, apple command key, or arrow keys) if ( ( val.length <= 3 && 'edd_download_search' === search_type ) || - ( - lastKey === 16 || - lastKey === 13 || - lastKey === 91 || - lastKey === 17 || - lastKey === 37 || - lastKey === 38 || - lastKey === 39 || - lastKey === 40 - ) + [ 16, 13, 91, 17, 37, 38, 39, 40 ].includes( lastKey ) || + e.ctrlKey || + e.metaKey ) { container.children( '.spinner' ).remove(); return; @@ -140,9 +132,7 @@ jQuery( document ).ready( function( $ ) { element.val( val ); }, } ).fail( function( response ) { - if ( window.console && window.console.log ) { - console.log( response ); - } + console.log( response ); } ).done( function( response ) { container.children( '.spinner' ).remove(); } ); diff --git a/assets/js/admin/components/navigation/index.js b/assets/js/admin/components/navigation/index.js index ddcce3370d5..501351c8b65 100644 --- a/assets/js/admin/components/navigation/index.js +++ b/assets/js/admin/components/navigation/index.js @@ -14,6 +14,12 @@ if ( adminPage ) { // Move the notices after the navWrapper. const adminNotices = document.querySelectorAll( '.notice:not(.inline)' ); if ( adminNotices ) { + adminNotices.forEach( notice => { + // If the notice doesn't have the 'hidden' class, display it. + if ( !notice.classList.contains( 'hidden' ) ) { + notice.classList.add( 'edd-hidden' ); + } + } ); setTimeout( () => { if ( navWrapper ) { const subNav = document.querySelector( '.edd-sub-nav__wrapper' ); @@ -28,7 +34,7 @@ if ( adminPage ) { adminNotices.forEach( notice => { // If the notice doesn't have the 'hidden' class, display it. if ( ! notice.classList.contains( 'hidden' ) ) { - notice.style.display = 'block'; + notice.classList.remove( 'edd-hidden' ); } } ); }, 1000 ); diff --git a/assets/js/admin/components/promos/index.js b/assets/js/admin/components/promos/index.js index c94e7ab927b..a0010f8e2d2 100644 --- a/assets/js/admin/components/promos/index.js +++ b/assets/js/admin/components/promos/index.js @@ -101,7 +101,9 @@ jQuery( document ).ready( function( $ ) { el.fadeOut(); $( '.edd-extension-manager__key-notice' ).hide(); } else { - el.slideUp(); + el.slideUp( 400, function () { + $( this ).addClass( 'edd-hidden' ); + } ); } // trigger native custom event as jQuery and Vanilla JS both can listen to it. diff --git a/assets/js/admin/components/vertical-sections/index.js b/assets/js/admin/components/vertical-sections/index.js index 8a27320bd45..4207e3fa811 100644 --- a/assets/js/admin/components/vertical-sections/index.js +++ b/assets/js/admin/components/vertical-sections/index.js @@ -6,26 +6,37 @@ jQuery( document ).ready( function( $ ) { return; } - // Hides the section content. - $( `${ sectionSelector } .section-content` ).hide(); - // Handle the hash existing on page load. const hash = window.location.hash, defaultSectionHash = $( `${ sectionSelector } .section-nav li:first-child a` ).attr( 'href' ); - // When the page loads, make sure a section is selected. - processSectionChange( hash ); + if ( hash.length ) { + // Hides the section content. + $( `${ sectionSelector } .section-content` ).hide(); + // When the page loads, make sure a section is selected. + processSectionChange( hash ); + } // When a section nav item is clicked. - $( `${ sectionSelector } .section-nav li a` ).on( 'click', + $( 'body' ).on( 'click', + `${ sectionSelector } .section-nav li a`, function( e ) { // Prevent the default browser action when a link is clicked. e.preventDefault(); + // Don't do anything if the click is on the actions handle. + if ( e.target.classList.contains( 'edd__handle-actions' ) || e.target.closest( '.edd__handle-actions' ) ) { + return; + } + let href = $( this ).attr( 'href' ); processSectionChange( href ); + // Do not add the hash to the URL if we are in the download editor. + if ( $( '.edd-download-editor__sections' ).length ) { + return; + } // Add the current "link" to the page URL window.history.pushState( 'object or string', '', href ); } diff --git a/assets/js/admin/discounts/generator.js b/assets/js/admin/discounts/generator.js index b5c72049160..f980c59de4c 100644 --- a/assets/js/admin/discounts/generator.js +++ b/assets/js/admin/discounts/generator.js @@ -105,7 +105,7 @@ jQuery( ( $ ) => { hidePopup( $( '.edd-code-generator-popup' ) ); } }) - .keyup( function( e ) { + .on( 'keyup', function( e ) { if ( e.keyCode === 27 ) { hidePopup( $( '.edd-code-generator-popup' ) ); } diff --git a/assets/js/admin/downloads/copy.js b/assets/js/admin/downloads/copy.js new file mode 100644 index 00000000000..afe106c21ae --- /dev/null +++ b/assets/js/admin/downloads/copy.js @@ -0,0 +1,21 @@ +document.addEventListener( 'click', function ( event ) { + if ( !event.target.classList.contains( 'edd-button__copy' ) ) { + return; + } + const target = event.target.getAttribute( 'data-clipboard-target' ); + const element = document.querySelector( target ); + + element.select(); + element.setSelectionRange( 0, 99999 ); + navigator.clipboard.writeText( element.value ); + + const originalText = event.target.innerText; + + event.target.classList.add( 'updated-message' ); + event.target.innerText = edd_vars.copy_success; + + setTimeout( function() { + event.target.classList.remove( 'updated-message' ); + event.target.innerText = originalText; + }, 2000 ); +} ); diff --git a/assets/js/admin/downloads/files.js b/assets/js/admin/downloads/files.js new file mode 100644 index 00000000000..5915c26590f --- /dev/null +++ b/assets/js/admin/downloads/files.js @@ -0,0 +1,56 @@ +document.addEventListener( 'DOMContentLoaded', function () { + const productTypeSelect = document.getElementById( '_edd_product_type' ); + if ( ! productTypeSelect ) { + return; + } + + // Listen for the 'change' event + productTypeSelect.addEventListener( 'change', function ( e ) { + const productType = e.target.value; + const productFiles = document.getElementById( 'edd_product_files' ); + const navItem = document.getElementById( 'edd_download_editor__files-nav-item' ); + + // Add the loading class + navItem.classList.add( 'ajax--loading' ); + + // Prepare the AJAX data + const data = new FormData(); + data.append( 'action', 'edd_swap_download_type' ); + data.append( 'product_type', productType ); + data.append( 'post_id', edd_vars.post_id ); + + // Perform the AJAX POST request + fetch( ajaxurl, { + method: 'POST', + body: data, + } ) + .then( response => response.json() ) + .then( response => { + if ( response.success ) { + productFiles.innerHTML = response.data.html; + + // Assuming this function exists globally + if ( typeof EDD_Download_Configuration !== 'undefined' && + typeof EDD_Download_Configuration.initChosen === 'function' ) { + EDD_Download_Configuration.initChosen( productFiles ); + } + + const label = navItem.querySelector( '.label' ); + if ( label ) { + label.textContent = response.data.label; + } + + document.dispatchEvent( new CustomEvent( 'edd_download_type_changed', { + detail: { + productType: productType, + }, + } ) ); + + } + } ) + .catch( error => console.error( 'Error:', error ) ) + .finally( () => { + navItem.classList.remove( 'ajax--loading' ); + } ); + } ); +} ); diff --git a/assets/js/admin/downloads/index.js b/assets/js/admin/downloads/index.js index 998684f2157..b118f58004b 100644 --- a/assets/js/admin/downloads/index.js +++ b/assets/js/admin/downloads/index.js @@ -4,6 +4,11 @@ import { getChosenVars } from 'utils/chosen.js'; import { edd_attach_tooltips } from 'admin/components/tooltips'; import './bulk-edit.js'; +import './pricing.js'; +import './files.js'; +import './copy.js'; +import './requirements.js'; +import './move.js'; /** * Download Configuration Metabox @@ -13,8 +18,6 @@ var EDD_Download_Configuration = { this.add(); this.move(); this.remove(); - this.type(); - this.prices(); this.files(); this.updatePrices(); this.showAdvanced(); @@ -83,10 +86,6 @@ var EDD_Download_Configuration = { $( this ).text( parseInt( key ) ); } ); - clone.find( '.edd_repeatable_default_input' ).each( function() { - $( this ).val( parseInt( key ) ).removeAttr( 'checked' ); - } ); - clone.find( '.edd_repeatable_condition_field' ).each( function() { $( this ).find( 'option:eq(0)' ).prop( 'selected', 'selected' ); } ); @@ -102,6 +101,7 @@ var EDD_Download_Configuration = { clone.find( '.search-choice' ).remove(); clone.find( '.chosen-container' ).remove(); edd_attach_tooltips( clone.find( '.edd-help-tip' ) ); + EDD_Download_Configuration.triggerRowChange( clone ); return clone; }, @@ -118,6 +118,7 @@ var EDD_Download_Configuration = { // Setup chosen fields again if they exist EDD_Download_Configuration.initChosen( clone ); + EDD_Download_Configuration.triggerRowChange( clone ); } ); }, @@ -141,6 +142,7 @@ var EDD_Download_Configuration = { } ); count++; } ); + EDD_Download_Configuration.triggerRowChange( $( this ) ); }, start: function( e, ui ) { ui.placeholder.height( ui.item.height() - 2 ); @@ -202,72 +204,8 @@ var EDD_Download_Configuration = { $( this ).attr( 'name', name ).attr( 'id', name ); } ); } ); - } ); - }, - type: function() { - const product_files = $( '#edd_product_files' ); - setTimeout( function () { - if ( !edd_vars.download_has_files && 'service' === $( '#_edd_product_type' ).val() ) { - product_files.hide(); - } - }, 100 ); - $( document.body ).on( 'change', '#_edd_product_type', function( e ) { - const product_type = $( this ).val(), - edd_download_limit_wrap = $( '#edd_download_limit_wrap' ); - - product_files.addClass( 'ajax--loading' ); - let data = { - action: 'edd_swap_download_type', - product_type: product_type, - post_id: edd_vars.post_id, - } - $.post( ajaxurl, data, function ( response ) { - if ( response.success ) { - product_files.find( '.inside' ).empty().append( response.data.html ); - EDD_Download_Configuration.initChosen( product_files ); - } - product_files.removeClass( 'ajax--loading' ); - } ); - - if ( 'bundle' === product_type ) { - product_files.show(); - edd_download_limit_wrap.hide(); - } else if ( 'service' === $( this ).val() ) { - const has_files = product_files.find( '.edd_upload_field' ).toArray().some( el => !!el.value ); - if ( !has_files ) { - // Hide the product files after a brief timeout to override All Access. - setTimeout( function () { - product_files.hide(); - }, 100 ); - edd_download_limit_wrap.hide(); - } else { - product_files.show(); - edd_download_limit_wrap.show(); - } - } else { - product_files.show(); - edd_download_limit_wrap.show(); - } - } ); - }, - - prices: function() { - $( document.body ).on( 'change', '#edd_variable_pricing', function( e ) { - const checked = $( this ).is( ':checked' ), - single = $( '#edd_regular_price_field' ), - variable = $( '#edd_variable_price_fields, .edd_repeatable_table .pricing' ), - bundleRow = $( '.edd-bundled-product-row, .edd-repeatable-row-standard-fields' ); - - if ( checked ) { - single.hide(); - variable.show(); - bundleRow.addClass( 'has-variable-pricing' ); - } else { - single.show(); - variable.hide(); - bundleRow.removeClass( 'has-variable-pricing' ); - } + EDD_Download_Configuration.triggerRowChange( focusElement ); } ); }, @@ -436,6 +374,11 @@ var EDD_Download_Configuration = { } ); element.find( '.edd-select-chosen' ).css( 'width', '100%' ); element.find( '.edd-select-chosen .chosen-search input' ).attr( 'placeholder', edd_vars.search_placeholder ); + }, + + triggerRowChange: function ( el ) { + // trigger native custom event as jQuery and Vanilla JS both can listen to it. + document.dispatchEvent( new CustomEvent( 'edd_repeatable_row_change', { detail: { row: el } } ) ); } }; diff --git a/assets/js/admin/downloads/move.js b/assets/js/admin/downloads/move.js new file mode 100644 index 00000000000..19f77973e6c --- /dev/null +++ b/assets/js/admin/downloads/move.js @@ -0,0 +1,65 @@ +const sections = document.querySelector( '.edd-download-editor__sections' ); +if ( sections ) { + addRowListeners(); +} + +const events = [ 'edd_repeatable_row_change', 'edd_download_type_changed' ]; +events.forEach( function ( event ) { + document.addEventListener( event, function () { + addRowListeners(); + } ); +} ); + +function addRowListeners () { + const dynamicRows = sections.querySelectorAll( '.edd-has-handle-actions' ); + if ( ! dynamicRows.length ) { + return; + } + + updateRowButtons(); + + dynamicRows.forEach( function ( section ) { + section.querySelector( '.edd__handle-actions-order--higher' ).addEventListener( 'click', function () { + const thisSectionTitle = this.closest( '.edd-has-handle-actions' ); + const prevSectionTitle = thisSectionTitle.previousElementSibling; + if ( !prevSectionTitle.classList.contains( 'edd-has-handle-actions' ) ) { + return; + } + this.disabled = true; + prevSectionTitle.insertAdjacentElement( 'beforebegin', thisSectionTitle ); + updateRowButtons(); + } ); + + section.querySelector( '.edd__handle-actions-order--lower' ).addEventListener( 'click', function () { + const thisSectionTitle = this.closest( '.edd-has-handle-actions' ); + const nextSectionTitle = thisSectionTitle.nextElementSibling; + if ( !nextSectionTitle.classList.contains( 'edd-has-handle-actions' ) ) { + return; + } + this.disabled = true; + thisSectionTitle.insertAdjacentElement( 'beforebegin', nextSectionTitle ); + updateRowButtons(); + } ); + } ); +} + +function updateRowButtons () { + const rows = document.querySelectorAll( '.edd-has-handle-actions' ); + rows.forEach( function ( section ) { + section.querySelector( '.edd__handle-actions-order--higher' ).disabled = false; + section.querySelector( '.edd__handle-actions-order--lower' ).disabled = false; + } ); + + const firstSection = rows[ 0 ]; + firstSection.querySelector( '.edd__handle-actions-order--higher' ).disabled = true; + + const lastSection = rows[ rows.length - 1 ]; + lastSection.querySelector( '.edd__handle-actions-order--lower' ).disabled = true; + + // if there is only one section, hide some things + if ( rows.length === 1 ) { + firstSection.querySelector( '.edd__handle-actions-order' ).classList.add( 'edd-hidden' ); + } else { + firstSection.querySelector( '.edd__handle-actions-order' ).classList.remove( 'edd-hidden' ); + } +} diff --git a/assets/js/admin/downloads/pricing.js b/assets/js/admin/downloads/pricing.js new file mode 100644 index 00000000000..087452b6260 --- /dev/null +++ b/assets/js/admin/downloads/pricing.js @@ -0,0 +1,226 @@ +// get the .edd-download-editor__sections element +const sections = document.querySelector( '.edd-download-editor__sections' ); +const variablePricing = document.querySelector( '#edd_variable_pricing' ); + +if ( sections ) { + + addOrderListeners(); + + // if the variablePricing checkbox is not checked, hide the variable pricing section + if ( variablePricing ) { + toggleVariablePricing( variablePricing.checked ); + + variablePricing.addEventListener( 'change', function () { + toggleVariablePricing( this.checked ); + } ); + } + + document.addEventListener( 'click', function ( event ) { + if ( event.target.classList.contains( 'edd-add-new-section' ) || event.target.closest( '.edd-add-new-section' ) ) { + cloneSection.call( event.target, event ); + } + if ( event.target.classList.contains( 'edd-section-content__remove' ) ) { + deleteSection.call( event.target, event ); + hideRemoveButton(); + } + } ); + + document.addEventListener( 'change', function( event ) { + // Update the nav item label when changing a variation name. + if ( event.target.classList.contains( 'edd_variable_prices_name' ) ) { + const section = event.target.closest( '.section-content--is-dynamic' ); + const navItem = sections.querySelector( '#' + section.id + '-nav-item' ); + const label = navItem.querySelector( '.label' ); + label.textContent = event.target.value; + } + } ); + + // Ensure only one default price is selected. + document.addEventListener( 'change', function( event ) { + if ( event.target.name !== '_edd_default_price_id' ) { + return; + } + + if ( event.target.checked ) { + const checkboxes = document.querySelectorAll( 'input[name="_edd_default_price_id"]' ); + checkboxes.forEach( function( checkbox ) { + if ( checkbox !== event.target ) { + checkbox.checked = false; + } + } ); + } else { + event.target.checked = true; + } + } ); +} + +function addOrderListeners() { + const dynamicSections = sections.querySelectorAll( '.edd-section-title__handle-actions' ); + if ( ! dynamicSections.length ) { + return; + } + + updateOrderButtons(); + + dynamicSections.forEach( function ( section ) { + section.querySelector( '.edd__handle-actions-order--higher' ).addEventListener( 'click', function () { + const thisSectionTitle = this.closest( '.section-title--is-dynamic' ); + const prevSectionTitle = thisSectionTitle.previousElementSibling; + if ( ! prevSectionTitle.classList.contains( 'section-title--is-dynamic' ) ) { + return; + } + this.disabled = true; + if ( prevSectionTitle ) { + prevSectionTitle.insertAdjacentElement( 'beforebegin', thisSectionTitle ); + } + const thisSectionId = thisSectionTitle.id.replace( '-nav-item', '' ); + const thisSection = sections.querySelector( '#' + thisSectionId ); + const prevSection = thisSection.previousElementSibling; + if ( prevSection ) { + prevSection.insertAdjacentElement( 'beforebegin', thisSection ); + } + updateOrderButtons(); + } ); + + section.querySelector( '.edd__handle-actions-order--lower' ).addEventListener( 'click', function () { + const thisSectionTitle = this.closest( '.section-title--is-dynamic' ); + const nextSectionTitle = thisSectionTitle.nextElementSibling; + if ( ! nextSectionTitle.classList.contains( 'section-title--is-dynamic' ) ) { + return; + } + this.disabled = true; + if ( nextSectionTitle ) { + thisSectionTitle.insertAdjacentElement( 'beforebegin', nextSectionTitle ); + } + const thisSectionId = thisSectionTitle.id.replace( '-nav-item', '' ); + const thisSection = sections.querySelector( '#' + thisSectionId ); + const nextSection = thisSection.nextElementSibling; + if ( nextSection ) { + thisSection.insertAdjacentElement( 'beforebegin', nextSection ); + } + updateOrderButtons(); + } ); + } ); +} + +function toggleVariablePricing ( enabled ) { + // get all .edd-bundled-product-row, .edd-repeatable-row-standard-fields + const rows = document.querySelectorAll( '.edd-bundled-product-row, .edd-repeatable-row-standard-fields' ); + rows.forEach( function ( row ) { + if ( enabled ) { + row.classList.add( 'has-variable-pricing' ); + } else { + row.classList.remove( 'has-variable-pricing' ); + } + } ); + hideRemoveButton(); +} + +function cloneSection ( event ) { + event.preventDefault(); + + const button = document.querySelector( '.edd-add-new-section' ); + button.disabled = true; + + // Get a fresh list of sections. + const updatedSections = document.querySelectorAll( '.section-content--is-dynamic' ); + const data = new FormData(); + data.append( 'action', 'edd_clone_section' ); + data.append( 'timestamp', button.dataset.timestamp ); + data.append( 'token', button.dataset.token ); + data.append( 'download_id', edd_vars.post_id ); + + let lastSectionNumber = 0; + updatedSections.forEach( function ( section ) { + const hiddenInput = section.querySelector( '.edd-section__id' ); + const sectionNumber = parseInt( hiddenInput.value ); + if ( sectionNumber > lastSectionNumber ) { + lastSectionNumber = sectionNumber; + } + } ); + + data.append( 'section', parseInt( lastSectionNumber ) + 1 ); + + fetch( ajaxurl, { + method: 'POST', + body: data, + } ).then( function ( response ) { + return response.json(); + } ).then( function ( data ) { + if ( data.success ) { + const lastSection = updatedSections[ updatedSections.length - 1 ]; + lastSection.insertAdjacentHTML( 'afterend', data.data.section ); + + const sectionTitles = sections.querySelectorAll( '.section-title--is-dynamic' ); + const lastSectionTitle = sectionTitles[ sectionTitles.length - 1 ]; + lastSectionTitle.insertAdjacentHTML( 'afterend', data.data.link ); + + // Go to the new section. + lastSectionTitle.nextElementSibling.querySelector( 'a' ).click(); + + button.disabled = false; + hideRemoveButton(); + updateOrderButtons(); + addOrderListeners(); + } + } ); +} + +function deleteSection ( e ) { + e.preventDefault(); + if ( this.classList.contains( 'edd-promo-notice__trigger' ) ) { + return; + } + + let section = this.closest( '.section-content--is-dynamic' ); + if ( ! section ) { + const dataId = this.getAttribute( 'data-id' ); + if ( dataId ) { + const hiddenInput = sections.querySelector( '.edd-section__id[value="' + dataId + '"]' ); + section = hiddenInput.closest( '.section-content--is-dynamic' ); + } + } + + sections.querySelector( '#' + section.id + '-nav-item' ).remove(); + section.remove(); + const navMenu = sections.querySelector( '.section-nav' ); + const selectedNavItem = navMenu.querySelector( 'li' ); + selectedNavItem.classList.add( 'section-title--is-active' ); + selectedNavItem.setAttribute( 'aria-selected', 'true' ); + selectedNavItem.querySelector( 'a' ).focus(); + sections.querySelector( '#' + selectedNavItem.getAttribute( 'aria-controls' ) ).style.display = 'block'; +} + +// Hide the remove button for the first section. +function hideRemoveButton () { + const dynamicSectionRemoveButtons = sections.querySelectorAll( '.edd-section-content__remove' ); + if ( dynamicSectionRemoveButtons.length === 1 ) { + dynamicSectionRemoveButtons[ 0 ].classList.add( 'edd-hidden' ); + } else { + dynamicSectionRemoveButtons.forEach( function ( el ) { + el.classList.remove( 'edd-hidden' ); + } ); + } +} + +function updateOrderButtons() { + const sections = document.querySelectorAll( '.section-title--is-dynamic' ); + sections.forEach( function ( section ) { + section.querySelector( '.edd__handle-actions-order--higher' ).disabled = false; + section.querySelector( '.edd__handle-actions-order--lower' ).disabled = false; + } ); + + const firstSection = sections[ 0 ]; + firstSection.querySelector( '.edd__handle-actions-order--higher' ).disabled = true; + + const lastSection = sections[ sections.length - 1 ]; + lastSection.querySelector( '.edd__handle-actions-order--lower' ).disabled = true; + + // if there is only one section, hide some things + if ( sections.length === 1 ) { + firstSection.querySelector( '.edd-section-title__handle-actions' ).classList.add( 'edd-hidden' ); + } else { + firstSection.querySelector( '.edd-section-title__handle-actions' ).classList.remove( 'edd-hidden' ); + } +} + diff --git a/assets/js/admin/downloads/requirements.js b/assets/js/admin/downloads/requirements.js new file mode 100644 index 00000000000..6c427c28f45 --- /dev/null +++ b/assets/js/admin/downloads/requirements.js @@ -0,0 +1,75 @@ +/** + * Toggle visibility of elements based on requirements. To use this, + * add the class `edd-requirement` to the element that should be toggled. This must also have a `data-edd-requirement` attribute + * that is the name of the requirement. Then add a `data-edd-requires-` attribute to the elements that should be toggled based on the requirement. + * The values should be `true` or `false` to indicate if the element should be shown when the requirement is met or not met. + */ + +import { updateSupports } from "./supports"; + +// Look for requirments on initial load. +document.querySelectorAll( '.edd-requirement' ).forEach( function ( element ) { + const requires = element.getAttribute( 'data-edd-requirement' ); + if ( !requires ) { + return; + } + + updateRequirements( requires, element.checked ); +} ); + +// Listen for changes to requirements. +document.addEventListener( 'change', function ( event ) { + if ( !event.target.classList.contains( 'edd-requirement' ) ) { + return; + } + const requires = event.target.getAttribute( 'data-edd-requirement' ); + if ( !requires ) { + return; + } + + updateRequirements( requires, event.target.checked ); +} ); + +/** + * Update the visibility of elements based on requirements. + * + * @since 3.3.6 + * @param {string} requires The requirement to check. + * @param {bool} enabled Whether the requirement is met. + */ +function updateRequirements ( requires, enabled ) { + const elements = document.querySelectorAll( '[data-edd-requires-' + requires + ']' ); + elements.forEach( function ( element ) { + element.classList.remove( 'edd-hidden--required' ); + if ( element.getAttribute( 'data-edd-requires-' + requires ) === 'true' ) { + element.classList.toggle( 'edd-hidden', !enabled ); + } else { + element.classList.toggle( 'edd-hidden', enabled ); + } + if ( element.classList.contains( 'edd-hidden' ) ) { + element.classList.add( 'edd-hidden--required' ); + } + } ); +} + +document.querySelectorAll( '.edd-supports' ).forEach( function ( element ) { + const supports = element.getAttribute( 'data-edd-supported' ); + if ( ! supports ) { + return; + } + + updateSupports( supports, element.value ); +} ); + +// Listen for changes to supported values. +document.addEventListener( 'click', function ( event ) { + if ( ! event.target.classList.contains( 'edd-supports' ) ) { + return; + } + const supports = event.target.getAttribute( 'data-edd-supported' ); + if ( ! supports ) { + return; + } + + updateSupports( supports, event.target.value ); +} ); diff --git a/assets/js/admin/downloads/supports.js b/assets/js/admin/downloads/supports.js new file mode 100644 index 00000000000..5b1c5e5ba15 --- /dev/null +++ b/assets/js/admin/downloads/supports.js @@ -0,0 +1,32 @@ +/** + * Toggle visibility of elements based on supported values. To use this, + * add the class `edd-supports` to the element that should be toggled. This must also have a `data-edd-supported` attribute + * that is the name of the requirement. Then add a `data-edd-supports-` attribute to the elements that should be toggled based on the requirement. + * The values should be comma separated strings to indicate if the element should be shown when the requirement is met or not met. + */ + +/** + * Update the visibility of elements based on supported values. + * + * @since 3.3.6 + * @param {string} supports The requirement to check. + * @param {string} selectedValue The selected value. + */ +export function updateSupports ( supports, supportedValue ) { + const elements = document.querySelectorAll( '[data-edd-supports-' + supports + ']' ); + if ( ! supportedValue.length ) { + supportedValue = 'false'; + } + + elements.forEach( function ( element ) { + if ( element.classList.contains( 'edd-hidden--required' ) ) { + return; + } + const elementSupports = element.getAttribute( 'data-edd-supports-' + supports ); + if ( ! elementSupports.split( ',' ).includes( supportedValue ) ) { + element.classList.add( 'edd-hidden' ); + } else { + element.classList.remove( 'edd-hidden' ); + } + } ); +} diff --git a/assets/js/admin/reports/charts/index.js b/assets/js/admin/reports/charts/index.js index 7452b759c77..d37b0694453 100644 --- a/assets/js/admin/reports/charts/index.js +++ b/assets/js/admin/reports/charts/index.js @@ -3,7 +3,6 @@ /** * Internal dependencies. */ -import moment from 'moment'; import { render as lineChartRender } from './line.js'; import { render as pieChartRender } from './pie.js'; import { isPieChart } from './utils.js'; @@ -19,10 +18,6 @@ window.edd = window.edd || {}; * @param {Object} config Chart config. */ window.edd.renderChart = ( config ) => { - const isPie = isPieChart( config ); - - Chart.defaults.global.pointHitDetectionRadius = 5; - if ( isPieChart( config ) ) { pieChartRender( config ); } else { diff --git a/assets/js/admin/reports/charts/line.js b/assets/js/admin/reports/charts/line.js index eec7e77a627..57107f3e04b 100644 --- a/assets/js/admin/reports/charts/line.js +++ b/assets/js/admin/reports/charts/line.js @@ -57,7 +57,7 @@ export const render = ( config ) => { ticks: { maxTicksLimit: 12, autoSkip: true, - maxRotation: 0, + maxRotation: 45, }, time: { ...config.options.scales.xAxes[0].time, diff --git a/assets/js/admin/reports/charts/utils.js b/assets/js/admin/reports/charts/utils.js index fac147de8a9..084e2d3f7f2 100644 --- a/assets/js/admin/reports/charts/utils.js +++ b/assets/js/admin/reports/charts/utils.js @@ -43,8 +43,8 @@ export const getLabelWithTypeCondition = ( label, datasetConfig ) => { */ export const toolTipBaseConfig = { enabled: false, + intersect: false, mode: 'index', - position: 'nearest', /** * Output a a custom tooltip. @@ -70,15 +70,6 @@ export const toolTipBaseConfig = { return; } - // Set caret position. - tooltipEl.classList.remove( 'above', 'below', 'no-transform' ); - - if ( tooltip.yAlign ) { - tooltipEl.classList.add( tooltip.yAlign ); - } else { - tooltipEl.classList.add( 'no-transform' ); - } - function getBody( bodyItem ) { return bodyItem.lines; } @@ -88,9 +79,8 @@ export const toolTipBaseConfig = { const titleLines = tooltip.title || []; const bodyLines = tooltip.body.map( getBody ); - let innerHtml = ''; - - innerHtml += ''; + let innerHtml = '' + titleLines + ''; + innerHtml += ''; bodyLines.forEach( function( body, i ) { const colors = tooltip.labelColors[ i ]; @@ -120,17 +110,31 @@ export const toolTipBaseConfig = { tableRoot.innerHTML = innerHtml; } - const positionY = this._chart.canvas.offsetTop; - const positionX = this._chart.canvas.offsetLeft; + // Position the tooltip. + const chartRect = this._chart.canvas.getBoundingClientRect(); + let elementRect = tooltipEl.getBoundingClientRect(); - // Display, position, and set styles for font - tooltipEl.style.opacity = 1; - tooltipEl.style.left = positionX + tooltip.caretX + 'px'; - tooltipEl.style.top = positionY + tooltip.caretY + 'px'; + const positionX = this._chart.canvas.offsetLeft + tooltip.caretX; + // If the positionX is greater than 1/2 of the chart width, move it to the left. + let elementXPosition = positionX; + if ( positionX >= ( chartRect.width / 2 ) ) { + elementXPosition = positionX - ( elementRect.width / 2 ) - 20; + } else { + elementXPosition = positionX + ( elementRect.width / 2 ) + 20; + } + + tooltipEl.style.left = elementXPosition + 'px'; + + const positionY = this._chart.canvas.offsetTop + Math.round( this._chart.canvas.height / 5 ); + tooltipEl.style.top = positionY + 'px'; + + // Set the font styles. tooltipEl.style.fontFamily = tooltip._bodyFontFamily; tooltipEl.style.fontSize = tooltip.bodyFontSize + 'px'; tooltipEl.style.fontStyle = tooltip._bodyFontStyle; - tooltipEl.style.padding = tooltip.yPadding + 'px ' + tooltip.xPadding + 'px'; + + // Display the tooltip. + tooltipEl.style.opacity = 1; }, }; @@ -149,9 +153,9 @@ export const toolTipBaseConfig = { break; case 'format': value = number.format( value ); - break; + break; default: - } + } return value; } diff --git a/assets/js/admin/settings/index.js b/assets/js/admin/settings/index.js index 8f7cef8f372..1ecbe88e681 100644 --- a/assets/js/admin/settings/index.js +++ b/assets/js/admin/settings/index.js @@ -10,6 +10,7 @@ const EDD_Settings = { this.misc(); this.gateways(); this.emails(); + this.checkout(); }, general: function() { @@ -193,6 +194,27 @@ const EDD_Settings = { } ); + }, + + checkout: function() { + const registration = document.getElementById( 'edd_settings[logged_in_only]' ); + const formSelect = document.getElementById( 'edd_settings[show_register_form]' ); + + if ( ! registration || ! formSelect ) { + return; + } + + const handleRegistrationChange = () => { + formSelect.querySelectorAll( 'option' ).forEach( option => { + option.disabled = 'auto' === registration.value && [ 'registration', 'both' ].includes( option.value ); + if ( option.disabled && option.value === formSelect.value) { + formSelect.value = 'none'; + } + } ); + }; + + handleRegistrationChange(); + registration.addEventListener( 'change', handleRegistrationChange ); } }; diff --git a/assets/js/edd-admin-discounts.js b/assets/js/edd-admin-discounts.js index 6fd7d0021a2..aa273bb9f7b 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)}({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 +!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"))})).on("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 059b3c91114..cc116969e8f 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=353)}({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(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 +!function(e){var t={};function n(i){if(t[i])return t[i].exports;var d=t[i]={i:i,l:!1,exports:{}};return e[i].call(d.exports,d,d.exports,n),d.l=!0,d.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 d in e)n.d(i,d,function(t){return e[t]}.bind(null,d));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=301)}({0:function(e,t){e.exports=jQuery},13:function(e,t,n){var i=n(4).default;e.exports=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var d=n.call(e,t||"default");if("object"!=i(d))return d;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 i=n(3),d=n.n(i);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;ti&&(i=t)})),n=i+=1;var r=t.clone();return r.removeClass("edd_add_blank"),r.attr("data-key",n),r.find("input, select, textarea").val("").each((function(){var t=e(this),i=t.attr("name"),d=t.attr("id");i&&(i=i.replace(/\[(\d+)\]/,"["+parseInt(n)+"]"),t.attr("name",i)),t.attr("data-key",n),void 0!==d&&(d=d.replace(/(\d+)/,parseInt(n)),t.attr("id",d))})),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(n))})),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(n))})),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(n)))})),r.find(".search-choice").remove(),r.find(".chosen-container").remove(),Object(d.a)(r.find(".edd-help-tip")),a.triggerRowChange(r),r},add:function(){e(document.body).on("click",".edd_add_repeatable",(function(t){t.preventDefault();var n=e(this).closest(".edd_repeatable_table").find(".edd_repeatable_row").last(),i=a.clone_repeatable(n);i.insertAfter(n).find("input, textarea, select").filter(":visible").eq(0).focus(),a.initChosen(i),a.triggerRowChange(i)}))},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++})),a.triggerRowChange(e(this))},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 n,i,d=e(this).parents(".edd_repeatable_row"),r=d.parent().find(".edd_repeatable_row").length,o=e(this).data("type"),c="div.edd_repeatable_"+o+"s";if(i=(n=e(this).is(".ui-sortable .edd_repeatable_row:first-child .edd-remove-row, .ui-sortable .edd_repeatable_row:first-child .edd_remove_repeatable")?d.next(".edd_repeatable_row"):d.prev(".edd_repeatable_row")).find("select, input, textarea, button").filter(":visible").eq(0),"price"===o){var s=d.data("key");e('.edd_repeatable_condition_field option[value="'+s+'"]').remove()}if(r>1)e("input, select",d).val(""),d.fadeOut("fast").remove(),i.focus();else switch(o){case"price":alert(edd_vars.one_price_min);break;case"file":e("input, select",d).val("");break;default:alert(edd_vars.one_field_min)}e(c).each((function(t){e(this).find("input, select").each((function(){var n=e(this).attr("name");n=n.replace(/\[(\d+)\]/,"["+t+"]"),e(this).attr("name",n).attr("id",n)}))})),a.triggerRowChange(n)}))},files:function(){var t;window.formfield="",e(document.body).on("click",".edd_upload_file_button",(function(n){n.preventDefault();var i=e(this);window.formfield=i.closest(".edd_repeatable_upload_wrapper"),t||((t=wp.media.frames.file_frame=wp.media({title:i.data("uploader-title"),frame:"post",state:"insert",button:{text:i.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,n){var i="image"===(t=t.toJSON()).type&&e(".attachment-display-settings .size option:selected").val(),d=t.url,r=t.title.length>0?t.title:t.filename;if(i&&void 0!==t.sizes[i]&&(d=t.sizes[i].url),"image"===t.type&&(r=i&&void 0!==t.sizes[i]?r+"-"+t.sizes[i].width+"x"+t.sizes[i].height:r+"-"+t.width+"x"+t.height),0===n)window.formfield.find(".edd_repeatable_attachment_id_field").val(t.id),window.formfield.find(".edd_repeatable_thumbnail_size_field").val(i),window.formfield.find(".edd_repeatable_upload_field").val(d),window.formfield.find(".edd_repeatable_name_field").val(r);else{var o=window.formfield,c=a.clone_repeatable(o);c.find(".edd_repeatable_attachment_id_field").val(t.id),c.find(".edd_repeatable_thumbnail_size_field").val(i),c.find(".edd_repeatable_upload_field").val(d),c.find(".edd_repeatable_name_field").val(r),c.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"),n=e(this).val(),i=e(".edd_repeatable_condition_field option[value="+t+"]");i.length>0?i.text(n):e(".edd_repeatable_condition_field").append(e("").attr("value",t).text(n))}))},showAdvanced:function(){e(document.body).on("click",".toggle-custom-price-option-section",(function(t){t.preventDefault();var n=e(this),i=n.html()===edd_vars.show_advanced_settings;i?n.html(edd_vars.hide_advanced_settings):n.html(edd_vars.show_advanced_settings);var d=n.parents(".edd-repeatable-row-header");d.siblings(".edd-custom-price-option-sections-wrap").slideToggle(),e(":input:not(input[type=button],input[type=submit],button):visible:first",i?d.siblings(".edd-custom-price-option-sections-wrap"):d.siblings(".edd-repeatable-row-standard-fields")).focus()}))},initChosen:function(t){t.find(".edd-select-chosen").each((function(){var t=e(this);t.chosen(Object(i.a)(t))})),t.find(".edd-select-chosen").css("width","100%"),t.find(".edd-select-chosen .chosen-search input").attr("placeholder",edd_vars.search_placeholder)},triggerRowChange:function(e){document.dispatchEvent(new CustomEvent("edd_repeatable_row_change",{detail:{row:e}}))}});t(document).ready((function(e){a.init()}))}.call(this,n(0),n(0))},302:function(e,t,n){(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 n=e("#post-"+t).find(".column-price .downloadprice-"+t).val();n!==e("#post-"+t+".column-price .downloadprice-"+t).val()?e(".regprice","#edd-download-data").val(n).attr("disabled",!1):e(".regprice","#edd-download-data").val(edd_vars.quick_edit_warning).attr("disabled","disabled")}))}))}).call(this,n(0))},303:function(e,t){var n=document.querySelector(".edd-download-editor__sections"),i=document.querySelector("#edd_variable_pricing");function d(){var e=n.querySelectorAll(".edd-section-title__handle-actions");e.length&&(s(),e.forEach((function(e){e.querySelector(".edd__handle-actions-order--higher").addEventListener("click",(function(){var e=this.closest(".section-title--is-dynamic"),t=e.previousElementSibling;if(t.classList.contains("section-title--is-dynamic")){this.disabled=!0,t&&t.insertAdjacentElement("beforebegin",e);var i=e.id.replace("-nav-item",""),d=n.querySelector("#"+i),a=d.previousElementSibling;a&&a.insertAdjacentElement("beforebegin",d),s()}})),e.querySelector(".edd__handle-actions-order--lower").addEventListener("click",(function(){var e=this.closest(".section-title--is-dynamic"),t=e.nextElementSibling;if(t.classList.contains("section-title--is-dynamic")){this.disabled=!0,t&&e.insertAdjacentElement("beforebegin",t);var i=e.id.replace("-nav-item",""),d=n.querySelector("#"+i),a=d.nextElementSibling;a&&d.insertAdjacentElement("beforebegin",a),s()}}))})))}function a(e){document.querySelectorAll(".edd-bundled-product-row, .edd-repeatable-row-standard-fields").forEach((function(t){e?t.classList.add("has-variable-pricing"):t.classList.remove("has-variable-pricing")})),c()}function r(e){e.preventDefault();var t=document.querySelector(".edd-add-new-section");t.disabled=!0;var i=document.querySelectorAll(".section-content--is-dynamic"),a=new FormData;a.append("action","edd_clone_section"),a.append("timestamp",t.dataset.timestamp),a.append("token",t.dataset.token),a.append("download_id",edd_vars.post_id);var r=0;i.forEach((function(e){var t=e.querySelector(".edd-section__id"),n=parseInt(t.value);n>r&&(r=n)})),a.append("section",parseInt(r)+1),fetch(ajaxurl,{method:"POST",body:a}).then((function(e){return e.json()})).then((function(e){if(e.success){i[i.length-1].insertAdjacentHTML("afterend",e.data.section);var a=n.querySelectorAll(".section-title--is-dynamic"),r=a[a.length-1];r.insertAdjacentHTML("afterend",e.data.link),r.nextElementSibling.querySelector("a").click(),t.disabled=!1,c(),s(),d()}}))}function o(e){if(e.preventDefault(),!this.classList.contains("edd-promo-notice__trigger")){var t=this.closest(".section-content--is-dynamic");if(!t){var i=this.getAttribute("data-id");i&&(t=n.querySelector('.edd-section__id[value="'+i+'"]').closest(".section-content--is-dynamic"))}n.querySelector("#"+t.id+"-nav-item").remove(),t.remove();var d=n.querySelector(".section-nav").querySelector("li");d.classList.add("section-title--is-active"),d.setAttribute("aria-selected","true"),d.querySelector("a").focus(),n.querySelector("#"+d.getAttribute("aria-controls")).style.display="block"}}function c(){var e=n.querySelectorAll(".edd-section-content__remove");1===e.length?e[0].classList.add("edd-hidden"):e.forEach((function(e){e.classList.remove("edd-hidden")}))}function s(){var e=document.querySelectorAll(".section-title--is-dynamic");e.forEach((function(e){e.querySelector(".edd__handle-actions-order--higher").disabled=!1,e.querySelector(".edd__handle-actions-order--lower").disabled=!1}));var t=e[0];t.querySelector(".edd__handle-actions-order--higher").disabled=!0,e[e.length-1].querySelector(".edd__handle-actions-order--lower").disabled=!0,1===e.length?t.querySelector(".edd-section-title__handle-actions").classList.add("edd-hidden"):t.querySelector(".edd-section-title__handle-actions").classList.remove("edd-hidden")}n&&(d(),i&&(a(i.checked),i.addEventListener("change",(function(){a(this.checked)}))),document.addEventListener("click",(function(e){(e.target.classList.contains("edd-add-new-section")||e.target.closest(".edd-add-new-section"))&&r.call(e.target,e),e.target.classList.contains("edd-section-content__remove")&&(o.call(e.target,e),c())})),document.addEventListener("change",(function(e){if(e.target.classList.contains("edd_variable_prices_name")){var t=e.target.closest(".section-content--is-dynamic");n.querySelector("#"+t.id+"-nav-item").querySelector(".label").textContent=e.target.value}})),document.addEventListener("change",(function(e){"_edd_default_price_id"===e.target.name&&(e.target.checked?document.querySelectorAll('input[name="_edd_default_price_id"]').forEach((function(t){t!==e.target&&(t.checked=!1)})):e.target.checked=!0)})))},304:function(e,t){document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("_edd_product_type");e&&e.addEventListener("change",(function(e){var t=e.target.value,n=document.getElementById("edd_product_files"),i=document.getElementById("edd_download_editor__files-nav-item");i.classList.add("ajax--loading");var d=new FormData;d.append("action","edd_swap_download_type"),d.append("product_type",t),d.append("post_id",edd_vars.post_id),fetch(ajaxurl,{method:"POST",body:d}).then((function(e){return e.json()})).then((function(e){if(e.success){n.innerHTML=e.data.html,"undefined"!=typeof EDD_Download_Configuration&&"function"==typeof EDD_Download_Configuration.initChosen&&EDD_Download_Configuration.initChosen(n);var d=i.querySelector(".label");d&&(d.textContent=e.data.label),document.dispatchEvent(new CustomEvent("edd_download_type_changed",{detail:{productType:t}}))}})).catch((function(e){return console.error("Error:",e)})).finally((function(){i.classList.remove("ajax--loading")}))}))}))},305:function(e,t){document.addEventListener("click",(function(e){if(e.target.classList.contains("edd-button__copy")){var t=e.target.getAttribute("data-clipboard-target"),n=document.querySelector(t);n.select(),n.setSelectionRange(0,99999),navigator.clipboard.writeText(n.value);var i=e.target.innerText;e.target.classList.add("updated-message"),e.target.innerText=edd_vars.copy_success,setTimeout((function(){e.target.classList.remove("updated-message"),e.target.innerText=i}),2e3)}}))},306:function(e,t){var n=document.querySelector(".edd-download-editor__sections");function i(){var e=n.querySelectorAll(".edd-has-handle-actions");e.length&&(d(),e.forEach((function(e){e.querySelector(".edd__handle-actions-order--higher").addEventListener("click",(function(){var e=this.closest(".edd-has-handle-actions"),t=e.previousElementSibling;t.classList.contains("edd-has-handle-actions")&&(this.disabled=!0,t.insertAdjacentElement("beforebegin",e),d())})),e.querySelector(".edd__handle-actions-order--lower").addEventListener("click",(function(){var e=this.closest(".edd-has-handle-actions"),t=e.nextElementSibling;t.classList.contains("edd-has-handle-actions")&&(this.disabled=!0,e.insertAdjacentElement("beforebegin",t),d())}))})))}function d(){var e=document.querySelectorAll(".edd-has-handle-actions");e.forEach((function(e){e.querySelector(".edd__handle-actions-order--higher").disabled=!1,e.querySelector(".edd__handle-actions-order--lower").disabled=!1}));var t=e[0];t.querySelector(".edd__handle-actions-order--higher").disabled=!0,e[e.length-1].querySelector(".edd__handle-actions-order--lower").disabled=!0,1===e.length?t.querySelector(".edd__handle-actions-order").classList.add("edd-hidden"):t.querySelector(".edd__handle-actions-order").classList.remove("edd-hidden")}n&&i(),["edd_repeatable_row_change","edd_download_type_changed"].forEach((function(e){document.addEventListener(e,(function(){i()}))}))},38:function(e,t,n){"use strict";(function(e,i){n.d(t,"a",(function(){return d}));var d=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}})};i(document).ready((function(e){d(e(".edd-help-tip"))}))}).call(this,n(0),n(0))},391:function(e,t,n){"use strict";function i(e,t){var n=document.querySelectorAll("[data-edd-supports-"+e+"]");t.length||(t="false"),n.forEach((function(n){n.classList.contains("edd-hidden--required")||(n.getAttribute("data-edd-supports-"+e).split(",").includes(t)?n.classList.remove("edd-hidden"):n.classList.add("edd-hidden"))}))}function d(e,t){document.querySelectorAll("[data-edd-requires-"+e+"]").forEach((function(n){n.classList.remove("edd-hidden--required"),"true"===n.getAttribute("data-edd-requires-"+e)?n.classList.toggle("edd-hidden",!t):n.classList.toggle("edd-hidden",t),n.classList.contains("edd-hidden")&&n.classList.add("edd-hidden--required")}))}document.querySelectorAll(".edd-requirement").forEach((function(e){var t=e.getAttribute("data-edd-requirement");t&&d(t,e.checked)})),document.addEventListener("change",(function(e){if(e.target.classList.contains("edd-requirement")){var t=e.target.getAttribute("data-edd-requirement");t&&d(t,e.target.checked)}})),document.querySelectorAll(".edd-supports").forEach((function(e){var t=e.getAttribute("data-edd-supported");t&&i(t,e.value)})),document.addEventListener("click",(function(e){if(e.target.classList.contains("edd-supports")){var t=e.target.getAttribute("data-edd-supported");t&&i(t,e.target.value)}}))},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 i=n(4).default,d=n(13);e.exports=function(e){var t=d(e,"string");return"symbol"==i(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 8ed93f7f7aa..b7aae5df5ee 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=385)}({385: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=389)}({389: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 index 7896488192f..1883fe2d384 100644 --- a/assets/js/edd-admin-emails-editor.js +++ b/assets/js/edd-admin-emails-editor.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=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(0))}}); \ 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=352)}({0:function(e,t){e.exports=jQuery},352: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 842989c4b33..29d69652588 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)}({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 +!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=327)}({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 1ed290529b1..522342d4de0 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=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 +!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=355)}({0:function(e,t){e.exports=jQuery},355: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 a83587dfe49..f0b904cab68 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)}({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 +!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=309)}({0:function(e,n){e.exports=jQuery},309: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 c34f4aab2ff..92362877ecc 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=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 +!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=353)}({0:function(e,t){e.exports=jQuery},353: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-notifications.js b/assets/js/edd-admin-notifications.js index 2f84bddbd69..98716aa6ff3 100644 --- a/assets/js/edd-admin-notifications.js +++ b/assets/js/edd-admin-notifications.js @@ -1 +1 @@ -!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=324)}({324:function(t,e){document.addEventListener("alpine:init",(function(){Alpine.store("eddNotifications",{isPanelOpen:!1,notificationsLoaded:!1,numberActiveNotifications:0,activeNotifications:[],inactiveNotifications:[],init:function(){var t=this,e=document.querySelector("#edd-notification-button .edd-number");e&&e.classList.remove("edd-hidden"),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closePanel()}));var i=new URLSearchParams(window.location.search);i.has("notifications")&&"true"===i.get("notifications")&&t.openPanel()},openPanel:function(){var t=this,e=document.getElementById("edd-notifications-header");if(this.notificationsLoaded)return this.isPanelOpen=!0,void(e&&setTimeout((function(){e.focus()})));this.isPanelOpen=!0,this.apiRequest("/notifications","GET").then((function(i){t.activeNotifications=i.active,t.inactiveNotifications=i.dismissed,t.notificationsLoaded=!0,e&&e.focus()})).catch((function(t){console.log("Notification error",t)}))},closePanel:function(){if(this.isPanelOpen){this.isPanelOpen=!1;var t=document.getElementById("edd-notification-button");t&&t.focus()}},apiRequest:function(t,e){return fetch(edd_vars.restBase+t,{method:e,credentials:"same-origin",headers:{"Content-Type":"application/json","X-WP-Nonce":edd_vars.restNonce}}).then((function(t){return t.ok?t.text():Promise.reject(t)})).then((function(t){return t?JSON.parse(t):null}))},dismiss:function(t,e){var i=this;if(void 0!==this.activeNotifications[e]){t.target.disabled=!0;var n=this.activeNotifications[e];this.apiRequest("/notifications/"+n.id,"DELETE").then((function(t){i.activeNotifications.splice(e,1),i.numberActiveNotifications=i.activeNotifications.length})).catch((function(t){console.log("Dismiss error",t)}))}}})}))}}); \ No newline at end of file +!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=328)}({328:function(t,e){document.addEventListener("alpine:init",(function(){Alpine.store("eddNotifications",{isPanelOpen:!1,notificationsLoaded:!1,numberActiveNotifications:0,activeNotifications:[],inactiveNotifications:[],init:function(){var t=this,e=document.querySelector("#edd-notification-button .edd-number");e&&e.classList.remove("edd-hidden"),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closePanel()}));var i=new URLSearchParams(window.location.search);i.has("notifications")&&"true"===i.get("notifications")&&t.openPanel()},openPanel:function(){var t=this,e=document.getElementById("edd-notifications-header");if(this.notificationsLoaded)return this.isPanelOpen=!0,void(e&&setTimeout((function(){e.focus()})));this.isPanelOpen=!0,this.apiRequest("/notifications","GET").then((function(i){t.activeNotifications=i.active,t.inactiveNotifications=i.dismissed,t.notificationsLoaded=!0,e&&e.focus()})).catch((function(t){console.log("Notification error",t)}))},closePanel:function(){if(this.isPanelOpen){this.isPanelOpen=!1;var t=document.getElementById("edd-notification-button");t&&t.focus()}},apiRequest:function(t,e){return fetch(edd_vars.restBase+t,{method:e,credentials:"same-origin",headers:{"Content-Type":"application/json","X-WP-Nonce":edd_vars.restNonce}}).then((function(t){return t.ok?t.text():Promise.reject(t)})).then((function(t){return t?JSON.parse(t):null}))},dismiss:function(t,e){var i=this;if(void 0!==this.activeNotifications[e]){t.target.disabled=!0;var n=this.activeNotifications[e];this.apiRequest("/notifications/"+n.id,"DELETE").then((function(t){i.activeNotifications.splice(e,1),i.numberActiveNotifications=i.activeNotifications.length})).catch((function(t){console.log("Dismiss error",t)}))}}})}))}}); \ No newline at end of file diff --git a/assets/js/edd-admin-onboarding.js b/assets/js/edd-admin-onboarding.js index bfff7848d2b..101f7ccd2d6 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)}({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 +!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=310)}({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},310: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 607b4ad57b6..a44b50c8a1e 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)}({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 +!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=311)}({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))},314:function(t,e,n){"use strict";n(315),n(316),n(317)},315: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))},316: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))},317: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(312),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 2571581ff7a..822e4349e87 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=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 +!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=354)}({0:function(e,a){e.exports=jQuery},354: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-payments.js b/assets/js/edd-admin-payments.js index ecc5dbc72af..39cd4eeab57 100644 --- a/assets/js/edd-admin-payments.js +++ b/assets/js/edd-admin-payments.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=317)}({317:function(e,t){}}); \ 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=321)}({321:function(e,t){}}); \ No newline at end of file diff --git a/assets/js/edd-admin-pointers.js b/assets/js/edd-admin-pointers.js index 3ddcdece337..68ddf49b31e 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=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 +!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=356)}({0:function(t,e){t.exports=jQuery},356: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 66d336eb8d9..5577ffc4648 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){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(383),"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 +!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=318)}([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(319),a(387),"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=320},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(43),s=a.n(n),r=a(18),i=a.n(r),d=a(3),_=a.n(d),o=a(1),u=a.n(o),m=a(28),l=function(e,t){var a=e;return"currency"===t.type&&(a=(new m.a).format(e,!1)),a},c={enabled:!1,intersect:!1,mode:"index",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(e.body){var a=e.title||[],n=e.body.map((function(e){return e.lines})),s=""+a+"";s+="",n.forEach((function(t,a){var n=e.labelColors[a],r=n.borderColor,i=n.backgroundColor,d=r;"rgb(230, 230, 230)"!==d&&"#fff"!==d||(d=i);var _='';s+=""+_+t+""})),s+="",t.querySelector("table").innerHTML=s}var r,i=this._chart.canvas.getBoundingClientRect(),d=t.getBoundingClientRect(),_=this._chart.canvas.offsetLeft+e.caretX;r=_>=i.width/2?_-d.width/2-20:_+d.width/2+20,t.style.left=r+"px";var o=this._chart.canvas.offsetTop+Math.round(this._chart.canvas.height/5);t.style.top=o+"px",t.style.fontFamily=e._bodyFontFamily,t.style.fontSize=e.bodyFontSize+"px",t.style.fontStyle=e._bodyFontStyle,t.style.opacity=1}else t.style.opacity=0}};function h(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 M(e){for(var t=1;t=0;t--)e.ticksAsNumbers[t]<0&&(e.ticksAsNumbers.splice(t,1),e.ticks.splice(t,1))})}));for(var _=M(M({},e),{},{options:M(M({},e.options),{},{maintainAspectRatio:!1,tooltips:L(e),scales:{yAxes:i()(e.options.scales.yAxes),xAxes:[M(M({},e.options.scales.xAxes[0]),{},{ticks:{maxTicksLimit:12,autoSkip:!0,maxRotation:45},time:M(M({},e.options.scales.xAxes[0].time),{},{parser:function(e){return r||d?u()(e).utcOffset(n):u.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()}}})}),o=document.getElementById(t),l=new Chart(o,_),c=[],h=0,y=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):function(e){var t=e.target;e.options.tooltips=function(e){return Y(Y({},c),{},{callbacks:{label:function(t,a){var n=e.options.datasets,s=a.datasets[t.datasetIndex],r=Object.values(n).find((function(e){return e.label&&e.label.toLowerCase()===s.label.toLowerCase()})),i=s.data.reduce((function(e,t,a,n){return e+t})),d=s.data[t.index],_=l(d,r),o=Math.floor(d/i*100+.5);return"".concat(a.labels[t.index],": ").concat(_," (").concat(o,"%)")}}})}(e),new Chart(document.getElementById(t),e)}(e)}}]); \ No newline at end of file diff --git a/assets/js/edd-admin-settings.js b/assets/js/edd-admin-settings.js index 0fd176aaa65..89d129d2bff 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)}({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 +!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=322)}({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))},322:function(e,t,n){"use strict";n.r(t),function(e,t){var a=n(291),d=(n(323),{init:function(){this.general(),this.misc(),this.gateways(),this.emails(),this.checkout()},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"),c=e("#edd-send-test-summary"),i=e("#edd-send-test-summary-notice");t.on("change",(function(){d.toggleClass("hidden"),c.removeClass("hidden updated-message"),i.empty(),o.empty(),n!==t.val()&&(c.addClass("hidden"),o.html('

'+edd_vars.test_email_save_changes+"

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

'+e.message+"

"):(c.addClass("updated-message"),setTimeout((function(){c.removeClass("updated-message")}),3e3))}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){c.removeClass("updating-message").prop("disabled",!1)}))}))},checkout:function(){var e=document.getElementById("edd_settings[logged_in_only]"),t=document.getElementById("edd_settings[show_register_form]");if(e&&t){var n=function(){t.querySelectorAll("option").forEach((function(n){n.disabled="auto"===e.value&&["registration","both"].includes(n.value),n.disabled&&n.value===t.value&&(t.value="none")}))};n(),e.addEventListener("change",n)}}});t(document).ready((function(e){d.init()}))}.call(this,n(0),n(0))},323: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 c,i=document.getElementById("edd-paypal-commerce-get-help");"success"===a.data.status?(i.classList.add("edd-hidden"),i.classList.remove("button","button-secondary")):(i.classList.remove("edd-hidden"),i.classList.add("button","button-secondary")),(c=document.querySelectorAll(".edd-paypal-connect-action"))&&c.length&&c.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 69fff680a22..0117539e162 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=382)}({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},382: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=386)}({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},386: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 53d0098034a..287aa0da076 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)}({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 +!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=307)}({0:function(e,t){e.exports=jQuery},307: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 ef1e0aa20c4..01df77c9a48 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)}({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 +!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=308)}({0:function(e,t){e.exports=jQuery},308: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 850de49fee6..95129d7b72f 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)}({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 +!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=324)}({0:function(e,t){e.exports=jQuery},324: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 e43768892a2..b5d4525fdca 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)}({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 +!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=325)}({0:function(e,a){e.exports=jQuery},325:function(e,a,d){"use strict";d.r(a),d(326)},326: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 6a3ad60548f..cffcb4e1a80 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 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=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 r=n.call(e,t||"default");if("object"!=o(r))return r;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),r=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 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(),r=n.closest(".edd-select-chosen"),a=r.prev(),i=a.data("search-type"),s=r.hasClass("no-bundles"),c=r.hasClass("variations"),d=r.hasClass("variations-only"),l=r.hasClass("exclude-current")?edd_vars.post_id:0,u=t.which,f="edd_download_search",p=a.data("excluded-products");r.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?r.children(".spinner").remove():(r.children(".spinner").length||r.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(){a.closest("ul.chosen-results").empty()},success:function(t){e("option:not(:selected)",a).remove(),e.each(t,(function(t,n){e('option[value="'+n.id+'"]',a).length||a.append('")}));var o=n.val();a.trigger("chosen:updated"),n.val(o)}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){r.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,o=e("".concat(t," .section-nav li:first-child a")).attr("href");r(n),e("".concat(t," .section-nav li a")).on("click",(function(t){t.preventDefault();var n=e(this).attr("href");r(n),window.history.pushState("object or string","",n)})),e(window).on("hashchange",(function(){r(window.location.hash)}))}function r(n){0!==n.length&&n.includes("edd_")||(n=o);var r=e(t+" "+n+"-nav-item");r.length||(n=o,r=e(t+" "+o+"-nav-item"));var a=e(t+" "+n),i=r.parents(".edd-vertical-sections");i.find(".section-content").hide(),i.find(".section-title").attr("aria-selected","false").removeClass("section-title--is-active").find("a").trigger("blur"),r.attr("aria-selected","true").addClass("section-title--is-active").find("a").trigger("focus"),a.show(),a.find("div.chosen-container").css("width","100%")}}))}).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),r=n(17);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 i(e){for(var t=1;t").attr(i(i({},a),{type:"text",placeholder:edd_vars.enter_region}))):c=e(t).attr(i(i({},a),{"data-placeholder":edd_vars.select_region})).addClass("edd-select-chosen"),n.remove(),s.prepend(c),void e("select.edd_regions_filter").chosen(i({},Object(r.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 r(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){r(n.length?n:t)}})})),e(document).on("keydown",(function(e){n.length&&27===e.keyCode&&r(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,r=t.data("value")||0,a=function(e,n){t.siblings(".edd-range__input").val(n.value)};t.slider({min:n,max:o,value:r,range:"min",animate:!0,slide:a,change:a,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 r=document.querySelector(".subtitle:not(.edd-search-query)");r&&o.appendChild(r)}var a=document.querySelectorAll(".notice:not(.inline)");a&&setTimeout((function(){if(o){var e=document.querySelector(".edd-sub-nav__wrapper");e&&(o=e);var t=o.parentNode;a.forEach((function(e){t.insertBefore(e,o.nextSibling)}))}a.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 r}));var r=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){r(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,r=n(13);e.exports=function(e){var t=r(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=338)}({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))},340: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))},341: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,13,91,17,37,38,39,40].includes(u)||t.ctrlKey||t.metaKey?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){console.log(e)})).done((function(e){a.children(".spinner").remove()}))))}),521))}))}).call(this,n(0))},342:function(e,t,n){(function(e){e(document).ready((function(e){var t=".edd-vertical-sections.use-js";if(0!==e(t).length){var n=window.location.hash,o=e("".concat(t," .section-nav li:first-child a")).attr("href");n.length&&(e("".concat(t," .section-content")).hide(),a(n)),e("body").on("click","".concat(t," .section-nav li a"),(function(t){if(t.preventDefault(),!t.target.classList.contains("edd__handle-actions")&&!t.target.closest(".edd__handle-actions")){var n=e(this).attr("href");a(n),e(".edd-download-editor__sections").length||window.history.pushState("object or string","",n)}})),e(window).on("hashchange",(function(){a(window.location.hash)}))}function a(n){0!==n.length&&n.includes("edd_")||(n=o);var a=e(t+" "+n+"-nav-item");a.length||(n=o,a=e(t+" "+o+"-nav-item"));var r=e(t+" "+n),i=a.parents(".edd-vertical-sections");i.find(".section-content").hide(),i.find(".section-title").attr("aria-selected","false").removeClass("section-title--is-active").find("a").trigger("blur"),a.attr("aria-selected","true").addClass("section-title--is-active").find("a").trigger("focus"),r.show(),r.find("div.chosen-container").css("width","100%")}}))}).call(this,n(0))},343: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))},344: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))},345: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))},346: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))},347: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))},348: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(400,(function(){e(this).addClass("edd-hidden")})),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))},349: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))},350: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&&(r.forEach((function(e){e.classList.contains("hidden")||e.classList.add("edd-hidden")})),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.classList.remove("edd-hidden")}))}),1e3))}},351: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 83330180988..c90afe49575 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=357)}({0:function(e,t){e.exports=jQuery},357: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(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\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"===t.trim()?(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"===t.trim()?'':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"===t.trim()?(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))}}); \ No newline at end of file diff --git a/assets/js/edd-checkout-global.js b/assets/js/edd-checkout-global.js index 4b981f912f0..0cf2de72f9e 100644 --- a/assets/js/edd-checkout-global.js +++ b/assets/js/edd-checkout-global.js @@ -1 +1 @@ -!function(e){var t={};function a(d){if(t[d])return t[d].exports;var n=t[d]={i:d,l:!1,exports:{}};return e[d].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,d){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:d})},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 d=Object.create(null);if(a.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(d,n,function(t){return e[t]}.bind(null,n));return d},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=358)}({0:function(e,t){e.exports=jQuery},12:function(e,t,a){"use strict";(function(e){a.d(t,"a",(function(){return d}));var d=function(t){e(t)}}).call(this,a(0))},358:function(e,t,a){"use strict";a.r(t),a(359),a(360);var d=a(36);window.recalculate_taxes=d.b,window.EDD_Checkout=function(e){var t,a,n;function o(a){a.preventDefault();var o=e("#edd-discount").val(),r=e("#edd-discount-loader"),c=e("#edd_cc_address .edd-input, #edd_cc_address .edd-select").filter("[required]");if(""==o||o==edd_global_vars.enter_discount)return!1;var i={action:"edd_apply_discount",code:o,form:e("#edd_purchase_form").serialize(),current_page:edd_global_vars.current_page};return e("#edd-discount-error-wrap").html("").hide(),r.show(),e.ajax({type:"POST",data:i,dataType:"json",url:edd_global_vars.ajaxurl,xhrFields:{withCredentials:!0},success:function(a){a?"valid"==a.msg?(e(".edd_cart_discount").html(a.html),e(".edd_cart_discount_row").show(),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_plain).attr("data-total",a.total_plain)})),e("#edd-discount",n).val(""),Object(d.b)(),"0.00"==a.total_plain?(e("#edd_cc_fields,#edd_cc_address,#edd_payment_mode_select").slideUp(),c.prop("required",!1),e('input[name="edd-gateway"]').val("manual")):(c.prop("required",!0),e("#edd_cc_fields,#edd_cc_address").slideDown()),e("#edd-purchase-button").val(a.complete_purchase),t.trigger("edd_discount_applied",[a])):(e("#edd-discount-error-wrap").html(''+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(),i=e("#edd_cc_address"),l={action:"edd_update_quantity",quantity:n,download_id:r,options:c,billing_country:i.find("#billing_country").val(),card_state:i.find("#card_state").val(),current_page:edd_global_vars.current_page};return e.ajax({type:"POST",data:l,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)},359: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;c\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(),i=e("#edd_cc_address"),l={action:"edd_update_quantity",quantity:n,download_id:r,options:c,billing_country:i.find("#billing_country").val(),card_state:i.find("#card_state").val(),current_page:edd_global_vars.current_page};return e.ajax({type:"POST",data:l,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)},363: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))},364:function(e,t){document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector('input[name="edd_email"]');e&&e.addEventListener("change",(function(){var t=e.value;if(t){var a=new FormData;a.append("action","edd_check_email"),a.append("email",t),fetch(edd_global_vars.ajaxurl,{method:"POST",body:a}).then((function(e){return e.json()})).then((function(t){var a="";t.success||(a=t.data.message),e.setCustomValidity(a),e.reportValidity()}))}}))}))}}); \ No newline at end of file diff --git a/assets/js/frontend/edd-ajax.js b/assets/js/frontend/edd-ajax.js index 8e4008fde8e..eb0f82ec447 100755 --- a/assets/js/frontend/edd-ajax.js +++ b/assets/js/frontend/edd-ajax.js @@ -328,7 +328,7 @@ jQuery( document ).ready( function( $ ) { }; $.post( edd_global_vars.ajaxurl, data, function( data ) { - if ( $.trim( data ) === 'success' ) { + if ( data.trim() === 'success' ) { $( '.edd_errors' ).remove(); window.location = edd_scripts.checkout_page; } else { @@ -399,7 +399,7 @@ jQuery( document ).ready( function( $ ) { $( this ).after( '' ); $.post( edd_global_vars.ajaxurl, $( '#edd_purchase_form' ).serialize() + '&action=edd_process_checkout&edd_ajax=true', function( data ) { - if ( $.trim( data ) === 'success' ) { + if ( data.trim() === 'success' ) { $( '.edd_errors' ).remove(); $( '.edd-error' ).hide(); $( eddPurchaseform ).submit(); @@ -456,7 +456,7 @@ jQuery( document ).ready( function( $ ) { success: function ( response ) { let newStateField = ''; - if ( 'nostates' === $.trim( response ) ) { + if ( response.trim() === 'nostates' ) { newStateField = ''; } else { newStateField = response; diff --git a/assets/js/paypal-checkout.js b/assets/js/paypal-checkout.js index 6c4e1ac3d3e..436422c6c21 100644 --- a/assets/js/paypal-checkout.js +++ b/assets/js/paypal-checkout.js @@ -1 +1 @@ -!function(e){var t={};function n(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,n),r.l=!0,r.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 r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));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=361)}({0:function(e,t){e.exports=jQuery},361:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"EDDPayPalBuyNowbuttons",(function(){return r}));var a={isMounted:!1,init:function(){document.getElementById("edd-paypal-container")&&this.initButtons("#edd-paypal-container","checkout"),e(document.body).on("edd_discount_applied",this.maybeRefreshPage),e(document.body).on("edd_discount_removed",this.maybeRefreshPage)},isPayPal:function(){var t=!1;return e("select#edd-gateway, input.edd-gateway").length&&(t=e("meta[name='edd-chosen-gateway']").attr("content")),!t&&edd_scripts.default_gateway&&(t=edd_scripts.default_gateway),"paypal_commerce"===t},maybeRefreshPage:function(e,t){(0===t.total_plain&&a.isPayPal()||!a.isMounted&&a.isPayPal()&&t.total_plain>0)&&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,d=e(i),s=r(o,n);!0===u?d.html(s):d.before(s)}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)?d.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")&&(!s.call(e,"callee")||"[object Arguments]"==d.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))},355:function(e,t){var n=document.querySelectorAll(".edd-stripe-payment-method-toggle");n.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),function(e){for(var t,n=document.querySelectorAll(".edd-stripe-payment-method"),r=0;rthis.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=358)}({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 d})),n.d(t,"c",(function(){return s})),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 d(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))}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 s}));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 d(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,d=e(i),s=r(o,n);!0===u?d.html(s):d.before(s)}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)?d.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")&&(!s.call(e,"callee")||"[object Arguments]"==d.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))},359:function(e,t){var n=document.querySelectorAll(".edd-stripe-payment-method-toggle");n.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),function(e){for(var t,n=document.querySelectorAll(".edd-stripe-payment-method"),r=0;rthis.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 94f8cd64512..2de32663038 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=362)}([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 +!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=366)}([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 60d07ad8b7c..76fa58cde3d 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=356)}({0:function(e,n){e.exports=jQuery},356: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 +!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=360)}({0:function(e,n){e.exports=jQuery},360: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 af387ffe498..aecf190cbbf 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=386)}([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 m})),r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return g})),r.d(t,"c",(function(){return E}));var n=r(6),o=r.n(n),i=r(5),a=r.n(i),u=r(66),c=r(2);function s(){if(Object(u.a)(),!1!==window.eddStripe.elementMounted){window.eddStripe.intentFingerprint="",window.eddStripe.intentType="",window.eddStripe.intentId="",v(),e(document).off("click","#edd_purchase_form #edd_purchase_submit [type=submit]");var t=document.getElementById("edd-purchase-button");["click","keydown"].forEach((function(e){t.addEventListener(e,d)}))}}function d(e){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function e(t){var r,n,o,i,c,s,d,l,p,b,h,v,w;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E()){e.next=2;break}return e.abrupt("return");case 2:if(!t.key||"Enter"===t.key){e.next=4;break}return e.abrupt("return");case 4:if(O()){e.next=6;break}return e.abrupt("return",!1);case 6:return m(!1),e.prev=7,r=Object(u.b)(document.getElementById("edd_purchase_form")),e.next=11,S(r);case 11:if(n=e.sent,o=n.paymentMethod){e.next=15;break}return e.abrupt("return",!1);case 15:return e.next=17,y(o);case 17:return i=e.sent,c=i.token,s=i.client_secret,d=i.intent_type,l=i.intent_fingerprint,p=i.intent_id,window.eddStripe.intentType=d,window.eddStripe.intentFingerprint=l,window.eddStripe.intentId=p,document.getElementById("edd-process-checkout-nonce").value=c,b="PaymentIntent"===d?"confirmPayment":"confirmSetup",h={clientSecret:s,confirmParams:{return_url:edd_stripe_vars.successPageUri+"?payment_intent="+p+"&redirect_status=processing",payment_method:o.id},redirect:"if_required"},e.next=32,window.eddStripe[b](h);case 32:if(v=e.sent,!(w=v.error)){e.next=38;break}return _(w),g(),e.abrupt("return",!1);case 38:f(),e.next=46;break;case 41:return e.prev=41,e.t0=e.catch(7),_(e.t0),g(),e.abrupt("return",!1);case 46:case"end":return e.stop()}}),e,null,[[7,41]])})))).apply(this,arguments)}function f(){return p.apply(this,arguments)}function p(){return(p=o()(a.a.mark((function e(){var t,r,n,o,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:t=e.sent,r=t.intent,n=t.status,o=t.order_id,e.t0=r.status,e.next="succeeded"===e.t0?9:"processing"===e.t0?11:13;break;case 9:return i=edd_stripe_vars.successPageUri,e.abrupt("break",16);case 11:return i=edd_stripe_vars.successPageUri+"?payment_intent="+r.id+"&redirect_status="+n,e.abrupt("break",16);case 13:return i=edd_stripe_vars.failurePageUri,o&&(i+="?order_id="+o),e.abrupt("break",16);case 16:window.location.replace(i);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return b.apply(this,arguments)}function b(){return(b=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 h(){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 m(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.eddStripe.paymentElement.update({readOnly:!0}),w();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 v(){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 g(){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 w(){var t=e("#edd-purchase-button").parent();0===t.find(".edd-loading-ajax").length&&t.append('')}function _(e){return x.apply(this,arguments)}function x(){return(x=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 j(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 O(){var e=!0;return document.getElementById("edd_purchase_form").querySelectorAll("[required]").forEach((function(t){!1===t.checkValidity()&&(t.reportValidity(),e=!1)})),e}function S(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?(_(t),g(),!1):{paymentMethod:r}})).catch((function(e){return _(e),g(),!1}))}function j(){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 E(){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 m(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 m})),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),v}},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),v}},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 m}));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),m=n([].join),v=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),v&&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=m(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 m=f("state");p[m]=!0,n=function(e,t){if(d(e,m))throw new y("Object already initialized");return t.facade=e,s(e,m,t),t},o=function(e){return d(e,m)?e[m]:{}},i=function(e){return d(e,m)}}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++]),m=f?y(u(h),f(h)):u(h),v=m.length,g=0;v>g;)b=m[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 m,v,g,w,_,x,O=f(t),S=0;if(!O||this===p&&u(O))for(m=s(t),v=r?new this(m):p(m);m>S;S++)x=h?b(t[S],S):t[S],d(v,S,x);else for(_=(w=l(t,O)).next,v=r?new this:[];!(g=o(_,w)).done;S++)x=h?a(w,b,[g.value,S],!0):g.value,d(v,S,x);return v.length=S,v}},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 +!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=390)}([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 m})),r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return g})),r.d(t,"c",(function(){return E}));var n=r(6),o=r.n(n),i=r(5),a=r.n(i),u=r(66),c=r(2);function s(){if(Object(u.a)(),!1!==window.eddStripe.elementMounted){window.eddStripe.intentFingerprint="",window.eddStripe.intentType="",window.eddStripe.intentId="",v(),e(document).off("click","#edd_purchase_form #edd_purchase_submit [type=submit]");var t=document.getElementById("edd-purchase-button");["click","keydown"].forEach((function(e){t.addEventListener(e,d)}))}}function d(e){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function e(t){var r,n,o,i,c,s,d,l,p,b,h,v,w;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E()){e.next=2;break}return e.abrupt("return");case 2:if(!t.key||"Enter"===t.key){e.next=4;break}return e.abrupt("return");case 4:if(O()){e.next=6;break}return e.abrupt("return",!1);case 6:return m(!1),e.prev=7,r=Object(u.b)(document.getElementById("edd_purchase_form")),e.next=11,S(r);case 11:if(n=e.sent,o=n.paymentMethod){e.next=15;break}return e.abrupt("return",!1);case 15:return e.next=17,y(o);case 17:return i=e.sent,c=i.token,s=i.client_secret,d=i.intent_type,l=i.intent_fingerprint,p=i.intent_id,window.eddStripe.intentType=d,window.eddStripe.intentFingerprint=l,window.eddStripe.intentId=p,document.getElementById("edd-process-checkout-nonce").value=c,b="PaymentIntent"===d?"confirmPayment":"confirmSetup",h={clientSecret:s,confirmParams:{return_url:edd_stripe_vars.successPageUri+"?payment_intent="+p+"&redirect_status=processing",payment_method:o.id},redirect:"if_required"},e.next=32,window.eddStripe[b](h);case 32:if(v=e.sent,!(w=v.error)){e.next=38;break}return _(w),g(),e.abrupt("return",!1);case 38:f(),e.next=46;break;case 41:return e.prev=41,e.t0=e.catch(7),_(e.t0),g(),e.abrupt("return",!1);case 46:case"end":return e.stop()}}),e,null,[[7,41]])})))).apply(this,arguments)}function f(){return p.apply(this,arguments)}function p(){return(p=o()(a.a.mark((function e(){var t,r,n,o,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:t=e.sent,r=t.intent,n=t.status,o=t.order_id,e.t0=r.status,e.next="succeeded"===e.t0?9:"processing"===e.t0?11:13;break;case 9:return i=edd_stripe_vars.successPageUri,e.abrupt("break",16);case 11:return i=edd_stripe_vars.successPageUri+"?payment_intent="+r.id+"&redirect_status="+n,e.abrupt("break",16);case 13:return i=edd_stripe_vars.failurePageUri,o&&(i+="?order_id="+o),e.abrupt("break",16);case 16:window.location.replace(i);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return b.apply(this,arguments)}function b(){return(b=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 h(){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 m(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.eddStripe.paymentElement.update({readOnly:!0}),w();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 v(){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 g(){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 w(){var t=e("#edd-purchase-button").parent();0===t.find(".edd-loading-ajax").length&&t.append('')}function _(e){return x.apply(this,arguments)}function x(){return(x=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 j(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 O(){var e=!0;return document.getElementById("edd_purchase_form").querySelectorAll("[required]").forEach((function(t){!1===t.checkValidity()&&(t.reportValidity(),e=!1)})),e}function S(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?(_(t),g(),!1):{paymentMethod:r}})).catch((function(e){return _(e),g(),!1}))}function j(){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 E(){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 m(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 m})),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),v}},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),v}},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 m}));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),m=n([].join),v=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),v&&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=m(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 m=f("state");p[m]=!0,n=function(e,t){if(d(e,m))throw new y("Object already initialized");return t.facade=e,s(e,m,t),t},o=function(e){return d(e,m)?e[m]:{}},i=function(e){return d(e,m)}}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++]),m=f?y(u(h),f(h)):u(h),v=m.length,g=0;v>g;)b=m[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 m,v,g,w,_,x,O=f(t),S=0;if(!O||this===p&&u(O))for(m=s(t),v=r?new this(m):p(m);m>S;S++)x=h?b(t[S],S):t[S],d(v,S,x);else for(_=(w=l(t,O)).next,v=r?new this:[];!(g=o(_,w)).done;S++)x=h?a(w,b,[g.value,S],!0):g.value,d(v,S,x);return v.length=S,v}},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/docker-compose-phpcs.yml b/docker-compose-phpcs.yml deleted file mode 100644 index f45325c02bb..00000000000 --- a/docker-compose-phpcs.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -version: "3.7" -services: - phpcs: - image: public.ecr.aws/q7y6e9n2/unit-test-images/php:8.2 - volumes: - - .:/app - - /tmp/artifacts:/tmp/artifacts - working_dir: /app - command: ["bin/run-phpcs.sh"] diff --git a/docker-compose-phpstan.yml b/docker-compose-phpstan.yml deleted file mode 100644 index 35c059693ec..00000000000 --- a/docker-compose-phpstan.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -version: "3.7" -services: - phpstan: - image: public.ecr.aws/q7y6e9n2/unit-test-images/php:8.2 - volumes: - - .:/app - - /tmp/artifacts:/tmp/artifacts - working_dir: /app - command: ["bin/run-phpstan.sh"] diff --git a/easy-digital-downloads.php b/easy-digital-downloads.php index d45d7bce3a1..7d38e6f0c71 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.3.5.2 + * Version: 3.3.6.1 * Text Domain: easy-digital-downloads * Domain Path: /languages - * Requires at least: 6.0 + * Requires at least: 6.2 * 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.3.5.2 + * @version 3.3.6.1 */ // Exit if accessed directly. diff --git a/includes/admin/admin-deprecated-functions.php b/includes/admin/admin-deprecated-functions.php index 332599dcd4d..a4c0143835d 100644 --- a/includes/admin/admin-deprecated-functions.php +++ b/includes/admin/admin-deprecated-functions.php @@ -31,7 +31,18 @@ function edd_tools_banned_emails_display() {

    + action=" + 'edd-tools', + 'tab' => 'general', + ) + ) + ); + ?> + ">

    @@ -88,11 +99,14 @@ function edd_add_ons_page() { _edd_deprecated_function( __FUNCTION__, '3.1.1' ); // Filter the add-ons tabs. - $add_ons_tabs = apply_filters( 'edd_add_ons_tabs', array( - 'popular' => __( 'Popular', 'easy-digital-downloads' ), - 'new' => __( 'New', 'easy-digital-downloads' ), - 'all' => __( 'All', 'easy-digital-downloads' ) - ) ); + $add_ons_tabs = apply_filters( + 'edd_add_ons_tabs', + array( + 'popular' => __( 'Popular', 'easy-digital-downloads' ), + 'new' => __( 'New', 'easy-digital-downloads' ), + 'all' => __( 'All', 'easy-digital-downloads' ), + ) + ); // Active tab. $active_tab = isset( $_GET['tab'] ) && array_key_exists( $_GET['tab'], $add_ons_tabs ) @@ -115,12 +129,14 @@ function edd_add_ons_page() { ) ); - // All other tabs besides "All". + // All other tabs besides "All". } else { - $tab_url = add_query_arg( array( - 'settings-updated' => false, - 'tab' => sanitize_key( $tab_id ), - ) ); + $tab_url = add_query_arg( + array( + 'settings-updated' => false, + 'tab' => sanitize_key( $tab_id ), + ) + ); } // Active? @@ -155,7 +171,8 @@ function edd_add_ons_page() { } // Start a buffer. - ob_start(); ?> + ob_start(); + ?>

    @@ -237,7 +254,7 @@ function edd_add_ons_get_feed( $tab = 'popular' ) { if ( empty( $feed ) || is_wp_error( $feed ) ) { $cache = '

    ' . __( 'These extensions could not be retrieved from the server. Please try again later.', 'easy-digital-downloads' ) . '

    '; - // Cache the results. + // Cache the results. } elseif ( isset( $feed['body'] ) && strlen( $feed['body'] ) > 0 ) { $cache = wp_remote_retrieve_body( $feed ); set_transient( $trans_key, $cache, HOUR_IN_SECONDS ); @@ -261,9 +278,9 @@ function edd_add_extentions_link() { global $submenu, $edd_add_ons_page; $edd_add_ons_page = add_submenu_page( 'edit.php?post_type=download', __( 'EDD Extensions', 'easy-digital-downloads' ), __( 'Extensions', 'easy-digital-downloads' ), 'manage_shop_settings', 'edd-addons', 'edd_add_ons_page' ); - $pass_manager = new \EDD\Admin\Pass_Manager(); + $pass_manager = new \EDD\Admin\Pass_Manager(); if ( ! $pass_manager->has_pass() ) { - $submenu[ 'edit.php?post_type=download' ][] = array( + $submenu['edit.php?post_type=download'][] = array( '' . esc_html__( 'Upgrade to Pro', 'easy-digital-downloads' ) . '', 'manage_shop_settings', edd_link_helper( @@ -272,14 +289,17 @@ function edd_add_extentions_link() { 'utm_medium' => 'admin-menu', 'utm_content' => 'upgrade-to-pro', ) - ) + ), ); - add_action( 'admin_print_styles', function() { - ?> + add_action( + 'admin_print_styles', + function () { + ?> - "this.form['edd-sysinfo'].focus();this.form['edd-sysinfo'].select();document.execCommand('copy');return false;" ) ); + submit_button( __( 'Copy to Clipboard', 'easy-digital-downloads' ), 'secondary edd-inline-button', 'edd-copy-system-info', false, array( 'onclick' => "this.form['edd-sysinfo'].focus();this.form['edd-sysinfo'].select();document.execCommand('copy');return false;" ) ); ?>

    @@ -355,7 +375,7 @@ function edd_tools_sysinfo_get() { // Try to identify the hosting provider $host = edd_get_host(); - $return = '### Begin System Info (Generated ' . date( 'Y-m-d H:i:s' ) . ') ###' . "\n\n"; + $return = '### Begin System Info (Generated ' . date( 'Y-m-d H:i:s' ) . ') ###' . "\n\n"; // Start with the basics... $return .= '-- Site Info' . "\n\n"; @@ -394,7 +414,7 @@ function edd_tools_sysinfo_get() { } $customized_template_files = edd_get_theme_edd_templates(); - $return .= "\n" . '-- Customized Templates' . "\n\n"; + $return .= "\n" . '-- Customized Templates' . "\n\n"; if ( empty( $customized_template_files ) ) { $return .= 'No custom templates found.' . "\n\n"; } else { @@ -441,7 +461,7 @@ function edd_tools_sysinfo_get() { $return .= 'Remote Post: ' . $WP_REMOTE_POST . "\n"; $return .= 'Table Prefix: ' . 'Length: ' . strlen( $wpdb->prefix ) . ' Status: ' . ( strlen( $wpdb->prefix ) > 16 ? 'ERROR: Too long' : 'Acceptable' ) . "\n"; // Commented out per https://github.com/easydigitaldownloads/Easy-Digital-Downloads/issues/3475 - //$return .= 'Admin AJAX: ' . ( edd_test_ajax_works() ? 'Accessible' : 'Inaccessible' ) . "\n"; + // $return .= 'Admin AJAX: ' . ( edd_test_ajax_works() ? 'Accessible' : 'Inaccessible' ) . "\n"; $return .= 'WP_DEBUG: ' . ( defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' : 'Disabled' : 'Not set' ) . "\n"; $return .= 'Memory Limit: ' . WP_MEMORY_LIMIT . "\n"; $return .= 'Registered Post Stati: ' . implode( ', ', get_post_stati() ) . "\n"; @@ -549,7 +569,6 @@ function edd_tools_sysinfo_get() { $return = apply_filters( 'edd_sysinfo_after_edd_gateways', $return ); - // EDD Taxes $return .= "\n" . '-- EDD Tax Configuration' . "\n\n"; $return .= 'Taxes: ' . ( edd_use_taxes() ? "Enabled\n" : "Disabled\n" ); @@ -618,7 +637,7 @@ function edd_tools_sysinfo_get() { continue; } - $update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : ''; + $update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : ''; $plugin_url = ''; if ( ! empty( $plugin['PluginURI'] ) ) { $plugin_url = $plugin['PluginURI']; @@ -643,7 +662,7 @@ function edd_tools_sysinfo_get() { continue; } - $update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : ''; + $update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : ''; $plugin_url = ''; if ( ! empty( $plugin['PluginURI'] ) ) { $plugin_url = $plugin['PluginURI']; @@ -674,8 +693,8 @@ function edd_tools_sysinfo_get() { continue; } - $update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : ''; - $plugin = get_plugin_data( $plugin_path ); + $update = ( array_key_exists( $plugin_path, $updates ) ) ? ' (needs update - ' . $updates[ $plugin_path ]->update->new_version . ')' : ''; + $plugin = get_plugin_data( $plugin_path ); $plugin_url = ''; if ( ! empty( $plugin['PluginURI'] ) ) { $plugin_url = $plugin['PluginURI']; @@ -818,14 +837,16 @@ function edd_remove_refunded_sale_logs() { edd_set_time_limit(); - $step = isset( $_GET['step'] ) ? absint( $_GET['step'] ) : 1; - $total = isset( $_GET['total'] ) ? absint( $_GET['total'] ) : edd_count_payments()->refunded; + $step = isset( $_GET['step'] ) ? absint( $_GET['step'] ) : 1; + $total = isset( $_GET['total'] ) ? absint( $_GET['total'] ) : edd_count_payments()->refunded; - $refunds = edd_get_payments( array( - 'status' => 'refunded', - 'number' => 20, - 'page' => $step - ) ); + $refunds = edd_get_payments( + array( + 'status' => 'refunded', + 'number' => 20, + 'page' => $step, + ) + ); if ( ! empty( $refunds ) ) { $edd_logs = EDD()->debug_log; @@ -839,24 +860,27 @@ function edd_remove_refunded_sale_logs() { array( array( 'key' => '_edd_log_payment_id', - 'value' => $refund->ID - ) + 'value' => $refund->ID, + ), ) ); } - $step++; - $redirect = add_query_arg( array( - 'page' => 'edd-upgrades', - 'edd-upgrade' => 'remove_refunded_sale_logs', - 'step' => urlencode( $step ), - 'total' => urlencode( $total ), - '_wpnonce' => wp_create_nonce( 'edd-upgrade' ), - ), admin_url( 'index.php' ) ); + ++$step; + $redirect = add_query_arg( + array( + 'page' => 'edd-upgrades', + 'edd-upgrade' => 'remove_refunded_sale_logs', + 'step' => urlencode( $step ), + 'total' => urlencode( $total ), + '_wpnonce' => wp_create_nonce( 'edd-upgrade' ), + ), + admin_url( 'index.php' ) + ); edd_redirect( $redirect ); - // No more refunded payments found, finish up + // No more refunded payments found, finish up } else { edd_set_upgrade_complete( 'remove_refunded_sale_logs' ); delete_option( 'edd_doing_upgrade' ); @@ -921,7 +945,21 @@ function edd_email_template_preview( $email ) { ?>
    - +
    render_price_fields( $post_id ); +} + +/** + * Register all the meta boxes for the Download custom post type + * + * @since 1.0 + * @return void + */ +function edd_add_download_meta_box( $post_type = '', $post = null ) { + $metaboxes = new EDD\Admin\Downloads\Metaboxes(); + $metaboxes->add_meta_boxes( $post_type, $post ); +} + +/** + * Download Metabox + * + * Extensions (as well as the core plugin) can add items to the main download + * configuration metabox via the `edd_meta_box_fields` action. + * + * @since 1.0 + * @return void + */ +function edd_render_download_meta_box() { + $post_id = get_the_ID(); + + /* + * Output the price fields + * @since 1.9 + */ + do_action( 'edd_meta_box_price_fields', $post_id ); + + /* + * Output the price fields + * + * Left for backwards compatibility + * + */ + do_action( 'edd_meta_box_fields', $post_id ); + + wp_nonce_field( basename( __FILE__ ), 'edd_download_meta_box_nonce' ); +} + +/** + * Download Files Metabox + * + * @since 1.9 + * @return void + */ +function edd_render_files_meta_box() { + /* + * Output the files fields + * @since 1.9 + */ + do_action( 'edd_meta_box_files_fields', get_the_ID(), '' ); +} + +/** + * Download Settings Metabox + * + * @since 1.9 + * @return void + */ +function edd_render_settings_meta_box() { + /* + * Output the files fields + * @since 1.9 + */ + do_action( 'edd_meta_box_settings_fields', get_the_ID() ); +} + +/** + * Product Notes Meta Box + * + * Renders the Product Notes meta box + * + * @since 1.2.1 + * + * @return void + */ +function edd_render_product_notes_meta_box() { + do_action( 'edd_product_notes_meta_box_fields', get_the_ID() ); +} + +/** + * Render Stats Meta Box + * + * @since 1.0 + * @return void + */ +function edd_render_stats_meta_box() { + $post_id = get_the_ID(); + + if ( ! current_user_can( 'view_product_stats', $post_id ) ) { + return; + } + + $earnings = edd_get_download_earnings_stats( $post_id ); + $sales = edd_get_download_sales_stats( $post_id ); + + $sales_url = add_query_arg( + array( + 'page' => 'edd-payment-history', + 'product-id' => urlencode( $post_id ), + ), + edd_get_admin_base_url() + ); + + $earnings_report_url = edd_get_admin_url( + array( + 'page' => 'edd-reports', + 'view' => 'downloads', + 'products' => absint( $post_id ), + ) + ); + ?> + +

    + + +

    + +

    + + + + + + +

    + +
    + +

    + 'edd-tools', + 'view' => 'file_downloads', + 'tab' => 'logs', + 'download' => absint( $post_id ), + ) + ); + ?> + + + + + +
    +

    + type : false; + ksort( $types ); + ?> +
    + +
    + html->select( + array( + 'options' => $types, + 'name' => '_edd_product_type', + 'id' => '_edd_product_type', + 'selected' => $type, + 'show_option_all' => false, + 'show_option_none' => false, + 'class' => 'edd-form-group__input', + ) + ); + ?> +
    +

    + +

    +
    + null, + 'amount' => null, + ); + + $args = wp_parse_args( $args, $defaults ); + + $default_price_id = edd_get_default_variable_price( $post_id ); + $currency_position = edd_get_option( 'currency_position', 'before' ); + $custom_price_options = isset( $wp_filter['edd_download_price_option_row'] ) ? true : false; + ?> +
    + + ' . esc_html( $key ) . '' + ); + ?> + + + %s', + __( 'Show advanced settings', 'easy-digital-downloads' ) + ); + } + + $actions['remove'] = sprintf( + /* translators: %1$s is the remove link, %2$s is the screen reader text. */ + '%1$s%2$s', + __( 'Remove', 'easy-digital-downloads' ), + sprintf( + /* translators: %s: price ID. */ + __( 'Remove price option %s', 'easy-digital-downloads' ), + esc_html( $key ) + ) + ); + ?> + + + +
    + +
    + +
    + +
    + html->text( + array( + 'name' => 'edd_variable_prices[' . $key . '][name]', + 'id' => 'edd_variable_prices-' . $key . '-name', + 'value' => esc_attr( $args['name'] ), + 'placeholder' => __( 'Option Name', 'easy-digital-downloads' ), + 'class' => 'edd_variable_prices_name large-text', + ) + ); + ?> +
    +
    + +
    + + 'edd_variable_prices[' . $key . '][amount]', + 'id' => 'edd_variable_prices-' . $key . '-amount', + 'value' => $args['amount'], + 'placeholder' => edd_format_amount( 9.99 ), + 'class' => 'edd-form-group__input edd-price-field', + ); + ?> + +
    + + + html->text( $price_args ); + } else { + echo EDD()->html->text( $price_args ); + ?> + + +
    +
    + +
    +
    + + ', + checked( $default_price_id, $key, false ), + 'edd_default_price_id_' . esc_attr( $key ), + esc_attr( $key ) + ); + ?> + + + +
    +
    + +
    + + + +
    +
    + +
    +
    + + -
    +
    @@ -482,7 +482,7 @@ function edd_customers_view( $customer = null ) {
    -
    +
    #id ); ?>
    diff --git a/includes/admin/discounts/discount-actions.php b/includes/admin/discounts/discount-actions.php index 1fa380a4eb4..f713be57e62 100755 --- a/includes/admin/discounts/discount-actions.php +++ b/includes/admin/discounts/discount-actions.php @@ -9,8 +9,8 @@ * @since 1.0.8.1 */ -// Exit if accessed directly -defined( 'ABSPATH' ) || exit; +// Exit if accessed directly. +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore /** * Sets up and stores a new discount code. @@ -32,7 +32,7 @@ function edd_admin_add_discount( $data = array() ) { wp_die( __( 'You do not have permission to create discount codes', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if discount does not exist. + // Bail if discount code exists already. if ( edd_get_discount_by( 'code', $data['code'] ) ) { edd_redirect( add_query_arg( 'edd-message', 'discount_exists', $data['edd-redirect'] ) ); } @@ -54,11 +54,15 @@ function edd_admin_add_discount( $data = array() ) { } // Setup default discount values. - $to_add = array(); - $to_add['status'] = 'active'; - $current_timestamp = current_time( 'timestamp' ); + $to_add = array( + 'status' => 'active', + 'once_per_customer' => 0, + 'min_charge_amount' => 0, + 'max_uses' => 0, + ); $data = array_filter( $data ); + $data = wp_parse_args( $data, $to_add ); foreach ( $data as $column => $value ) { switch ( $column ) { @@ -79,7 +83,12 @@ function edd_admin_add_discount( $data = array() ) { break; case 'amount': - $to_add['amount'] = edd_sanitize_amount( $value ); + case 'min_charge_amount': + $to_add[ $column ] = edd_sanitize_amount( $value ); + break; + + case 'once_per_customer': + $to_add['once_per_customer'] = (int) (bool) $value; break; default: @@ -129,7 +138,7 @@ function edd_admin_add_discount( $data = array() ) { } // Meta values. - $to_add['product_reqs'] = isset( $data['product_reqs'] ) ? preg_filter( '/\d|\d_\d/', '$0', (array) $data['product_reqs'] ) : ''; // only accepts patterns like 123 or 123_4 + $to_add['product_reqs'] = isset( $data['product_reqs'] ) ? preg_filter( '/\d|\d_\d/', '$0', (array) $data['product_reqs'] ) : ''; // only accepts patterns like 123 or 123_4. $to_add['excluded_products'] = isset( $data['excluded_products'] ) ? wp_parse_id_list( $data['excluded_products'] ) : ''; $to_add['categories'] = isset( $data['categories'] ) ? wp_parse_id_list( $data['categories'] ) : array(); $to_add['term_condition'] = isset( $data['term_condition'] ) ? $data['term_condition'] : ''; @@ -158,40 +167,39 @@ function edd_admin_add_discount( $data = array() ) { ? 'discount_added' : 'discount_add_failed'; - // Redirect. edd_redirect( add_query_arg( 'edd-message', sanitize_key( $arg ), $data['edd-redirect'] ) ); } add_action( 'edd_add_discount', 'edd_admin_add_discount' ); /** - * Saves an edited discount + * Saves an edited discount. * * @since 3.0 - * @param array $data Discount code data + * @param array $data Discount code data. * @return void */ function edd_admin_edit_discount( $data = array() ) { - // Bail if no nonce or nonce fails + // Bail if no nonce or nonce fails. if ( ! isset( $data['edd-discount-nonce'] ) || ! wp_verify_nonce( $data['edd-discount-nonce'], 'edd_discount_nonce' ) ) { return; } - // Bail if current user cannot manage shop discounts + // Bail if current user cannot manage shop discounts. if ( ! current_user_can( 'manage_shop_discounts' ) ) { wp_die( __( 'You do not have permission to edit discount codes', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if discount does not exist + // Bail if discount does not exist. if ( empty( $data['discount-id'] ) ) { wp_die( __( 'No discount ID supplied', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Setup default discount values + // Setup default discount values. $discount_id = absint( $data['discount-id'] ); $discount = edd_get_discount( $discount_id ); - // Bail if no discount + // Bail if no discount. if ( empty( $discount ) || ( $discount->id <= 0 ) ) { wp_die( __( 'Invalid discount', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } @@ -201,11 +209,15 @@ function edd_admin_edit_discount( $data = array() ) { edd_redirect( add_query_arg( 'edd-message', 'discount_invalid_amount' ) ); } - // Prepare update - $to_update = array(); - $current_time = current_time( 'timestamp' ); + // Set the update defaults. + $to_update = array( + 'min_charge_amount' => 0, + 'max_uses' => 0, + 'once_per_customer' => 0, + ); $data = array_filter( $data ); + $data = wp_parse_args( $data, $to_update ); foreach ( $data as $column => $value ) { switch ( $column ) { @@ -220,12 +232,13 @@ function edd_admin_edit_discount( $data = array() ) { case '_wp_http_referer': break; - case 'discount-id': - $to_update['id'] = $value; + case 'amount': + case 'min_charge_amount': + $to_update[ $column ] = edd_sanitize_amount( $value ); break; - case 'amount': - $to_update['amount'] = edd_sanitize_amount( $value ); + case 'once_per_customer': + $to_update['once_per_customer'] = (int) (bool) $value; break; default: @@ -281,43 +294,37 @@ function edd_admin_edit_discount( $data = array() ) { } // Known & accepted core discount meta. - $to_update['product_reqs'] = isset( $data['product_reqs'] ) ? preg_filter( '/\d|\d_\d/', '$0', (array) $data['product_reqs'] ) : ''; // only accepts patterns like 123 or 123_4 + $to_update['product_reqs'] = isset( $data['product_reqs'] ) ? preg_filter( '/\d|\d_\d/', '$0', (array) $data['product_reqs'] ) : ''; // only accepts patterns like 123 or 123_4. $to_update['excluded_products'] = isset( $data['excluded_products'] ) ? wp_parse_id_list( $data['excluded_products'] ) : ''; $to_update['categories'] = ! empty( $data['categories'] ) ? wp_parse_id_list( $data['categories'] ) : array(); $to_update['term_condition'] = isset( $data['term_condition'] ) ? $data['term_condition'] : ''; - // "Once per customer" checkbox. - $to_update['once_per_customer'] = isset( $data['once_per_customer'] ) - ? 1 - : 0; - - // Strip out known non-columns + // Strip out known non-columns. $to_strip = array( - // Legacy + // Legacy. 'discount-id', - // Time + // Time. 'start_date_minute', 'start_date_hour', 'end_date_minute', - 'end_date_hour' + 'end_date_hour', ); - // Loop through fields to update, and unset known bad keys + // Loop through fields to update, and unset known bad keys. foreach ( $to_update as $key => $value ) { if ( in_array( $key, $to_strip, true ) ) { unset( $to_update[ $key ] ); } } - // Attempt to update + // Attempt to update. $updated = edd_update_discount( $discount_id, $to_update ); $arg = ! empty( $updated ) ? 'discount_updated' : 'discount_not_changed'; - // Redirect edd_redirect( add_query_arg( 'edd-message', sanitize_key( $arg ), $data['edd-redirect'] ) ); } add_action( 'edd_edit_discount', 'edd_admin_edit_discount' ); @@ -327,35 +334,34 @@ function edd_admin_edit_discount( $data = array() ) { * discount code * * @since 3.0 - * @param array $data Discount code data + * @param array $data Discount code data. * @uses edd_delete_discount() * @return void */ function edd_admin_delete_discount( $data = array() ) { - // Bail if no nonce or nonce fails + // Bail if no nonce or nonce fails. if ( ! isset( $data['_wpnonce'] ) || ! wp_verify_nonce( $data['_wpnonce'], 'edd_discount_nonce' ) ) { wp_die( __( 'Nonce verification failed.', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if current user cannot manage shop + // Bail if current user cannot manage shop. if ( ! current_user_can( 'manage_shop_discounts' ) ) { wp_die( __( 'You do not have permission to delete discount codes', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if discount does not exist + // Bail if discount does not exist. if ( empty( $data['discount'] ) ) { wp_die( __( 'No discount ID supplied', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Setup default discount values + // Setup default discount values. $discount_id = absint( $data['discount'] ); $deleted = edd_delete_discount( $discount_id ); $arg = ! empty( $deleted ) ? 'discount_deleted' : 'discount_deleted_failed'; - // Redirect edd_redirect( remove_query_arg( 'edd-action', add_query_arg( 'edd-message', sanitize_key( $arg ), $_SERVER['REQUEST_URI'] ) ) ); } add_action( 'edd_delete_discount', 'edd_admin_delete_discount' ); @@ -366,19 +372,19 @@ function edd_admin_delete_discount( $data = array() ) { * Sets a discount status to active * * @since 1.0 - * @param array $data Discount code data + * @param array $data Discount code data. * @uses edd_update_discount_status() * @return void */ function edd_activate_discount( $data = array() ) { - // Bail if no nonce or nonce fails + // Bail if no nonce or nonce fails. if ( ! isset( $data['_wpnonce'] ) || ! wp_verify_nonce( $data['_wpnonce'], 'edd_discount_nonce' ) ) { wp_die( __( 'Nonce verification failed.', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if current user cannot manage shop - if( ! current_user_can( 'manage_shop_discounts' ) ) { + // Bail if current user cannot manage shop. + if ( ! current_user_can( 'manage_shop_discounts' ) ) { wp_die( __( 'You do not have permission to edit discount codes', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } @@ -388,7 +394,6 @@ function edd_activate_discount( $data = array() ) { ? 'discount_activated' : 'discount_activation_failed'; - // Redirect edd_redirect( remove_query_arg( 'edd-action', add_query_arg( 'edd-message', sanitize_key( $arg ), $_SERVER['REQUEST_URI'] ) ) ); } add_action( 'edd_activate_discount', 'edd_activate_discount' ); @@ -399,18 +404,18 @@ function edd_activate_discount( $data = array() ) { * Sets a discount status to deactivate * * @since 1.0 - * @param array $data Discount code data + * @param array $data Discount code data. * @uses edd_update_discount_status() * @return void */ function edd_deactivate_discount( $data = array() ) { - // Bail if no nonce or nonce fails + // Bail if no nonce or nonce fails. if ( ! isset( $data['_wpnonce'] ) || ! wp_verify_nonce( $data['_wpnonce'], 'edd_discount_nonce' ) ) { wp_die( __( 'Nonce verification failed.', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if current user cannot manage shop + // Bail if current user cannot manage shop. if ( ! current_user_can( 'manage_shop_discounts' ) ) { wp_die( __( 'You do not have permission to create discount codes', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } @@ -421,7 +426,6 @@ function edd_deactivate_discount( $data = array() ) { ? 'discount_deactivated' : 'discount_deactivation_failed'; - // Redirect edd_redirect( remove_query_arg( 'edd-action', add_query_arg( 'edd-message', sanitize_key( $arg ), $_SERVER['REQUEST_URI'] ) ) ); } add_action( 'edd_deactivate_discount', 'edd_deactivate_discount' ); @@ -432,17 +436,17 @@ function edd_deactivate_discount( $data = array() ) { * Sets a discount status to archived * * @since 3.2.0 - * @param array $data Discount code data + * @param array $data Discount code data. * * @uses edd_update_discount_status() */ function edd_archive_discount( $data = array() ) { - // Bail if no nonce or nonce fails + // Bail if no nonce or nonce fails. if ( ! isset( $data['_wpnonce'] ) || ! wp_verify_nonce( $data['_wpnonce'], 'edd_discount_nonce' ) ) { wp_die( __( 'Nonce verification failed.', 'easy-digital-downloads' ), __( 'Error', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } - // Bail if current user cannot manage shop + // Bail if current user cannot manage shop. if ( ! current_user_can( 'manage_shop_discounts' ) ) { wp_die( __( 'You do not have permission to create discount codes', 'easy-digital-downloads' ), array( 'response' => 403 ) ); } @@ -453,7 +457,6 @@ function edd_archive_discount( $data = array() ) { ? 'discount_archived' : 'discount_archived_failed'; - // Redirect edd_redirect( remove_query_arg( 'edd-action', add_query_arg( 'edd-message', sanitize_key( $arg ), $_SERVER['REQUEST_URI'] ) ) ); } add_action( 'edd_archive_discount', 'edd_archive_discount' ); diff --git a/includes/admin/downloads/metabox.php b/includes/admin/downloads/metabox.php index 98ebf76f390..da9d36b7a3e 100755 --- a/includes/admin/downloads/metabox.php +++ b/includes/admin/downloads/metabox.php @@ -14,92 +14,6 @@ /** All Downloads *************************************************************/ -/** - * Register all the meta boxes for the Download custom post type - * - * @since 1.0 - * @return void - */ -function edd_add_download_meta_box() { - $post_types = apply_filters( 'edd_download_metabox_post_types', array( 'download' ) ); - - foreach ( $post_types as $post_type ) { - - /** Product Prices */ - add_meta_box( - 'edd_product_prices', - sprintf( - /* translators: %s: Download singular label */ - __( '%s Details', 'easy-digital-downloads' ), - edd_get_label_singular(), - ), - 'edd_render_download_meta_box', - $post_type, - 'normal', - 'high' - ); - - /** Product Files (and bundled products) */ - add_meta_box( - 'edd_product_files', - sprintf( - /* translators: %s: Download singular label */ - __( '%s Files', 'easy-digital-downloads' ), - edd_get_label_singular(), - ), - 'edd_render_files_meta_box', - $post_type, - 'normal', - 'high' - ); - - /** Product Settings */ - add_meta_box( - 'edd_product_settings', - sprintf( - /* translators: %s: Download singular label */ - __( '%s Settings', 'easy-digital-downloads' ), - edd_get_label_singular(), - ), - 'edd_render_settings_meta_box', - $post_type, - 'side', - 'default' - ); - - /** Product Notes */ - add_meta_box( - 'edd_product_notes', - sprintf( - /* translators: %s: Download singular label */ - __( '%s Instructions', 'easy-digital-downloads' ), - edd_get_label_singular(), - ), - 'edd_render_product_notes_meta_box', - $post_type, - 'normal', - 'high' - ); - - if ( current_user_can( 'view_product_stats', get_the_ID() ) ) { - /** Product Stats */ - add_meta_box( - 'edd_product_stats', - sprintf( - /* translators: %s: Download singular label */ - __( '%s Stats', 'easy-digital-downloads' ), - edd_get_label_singular(), - ), - 'edd_render_stats_meta_box', - $post_type, - 'side', - 'high' - ); - } - } -} -add_action( 'add_meta_boxes', 'edd_add_download_meta_box', 9 ); - /** * Returns default EDD Download meta fields. * @@ -150,10 +64,8 @@ function edd_download_metabox_fields() { * @return void */ function edd_download_meta_box_save( $post_id, $post ) { - if ( - ! isset( $_POST['edd_download_meta_box_nonce'] ) || - ! wp_verify_nonce( $_POST['edd_download_meta_box_nonce'], basename( __FILE__ ) ) - ) { + $nonce = filter_input( INPUT_POST, 'edd_download_meta_box_nonce', FILTER_SANITIZE_SPECIAL_CHARS ); + if ( ! wp_verify_nonce( $nonce, 'edd_metabox_download_details' ) ) { return; } @@ -327,418 +239,6 @@ function edd_metabox_save_check_blank_rows( $updated_meta ) { /** Download Configuration ****************************************************/ -/** - * Download Metabox - * - * Extensions (as well as the core plugin) can add items to the main download - * configuration metabox via the `edd_meta_box_fields` action. - * - * @since 1.0 - * @return void - */ -function edd_render_download_meta_box() { - $post_id = get_the_ID(); - - /* - * Output the price fields - * @since 1.9 - */ - do_action( 'edd_meta_box_price_fields', $post_id ); - - /* - * Output the price fields - * - * Left for backwards compatibility - * - */ - do_action( 'edd_meta_box_fields', $post_id ); - - wp_nonce_field( basename( __FILE__ ), 'edd_download_meta_box_nonce' ); -} - -/** - * Download Files Metabox - * - * @since 1.9 - * @return void - */ -function edd_render_files_meta_box() { - /* - * Output the files fields - * @since 1.9 - */ - do_action( 'edd_meta_box_files_fields', get_the_ID(), '' ); -} - -/** - * Download Settings Metabox - * - * @since 1.9 - * @return void - */ -function edd_render_settings_meta_box() { - /* - * Output the files fields - * @since 1.9 - */ - do_action( 'edd_meta_box_settings_fields', get_the_ID() ); -} - -/** - * Price Section - * - * If variable pricing is not enabled, simply output a single input box. - * - * If variable pricing is enabled, outputs a table of all current prices. - * Extensions can add column heads to the table via the `edd_download_file_table_head` - * hook, and actual columns via `edd_download_file_table_row` - * - * @since 1.0 - * - * @see edd_render_price_row() - * - * @param int $post_id Download (Post) ID. - */ -function edd_render_price_field( $post_id ) { - if ( is_numeric( $post_id ) && ! current_user_can( 'edit_product', $post_id ) ) { - return; - } - - if ( is_null( $post_id ) && ! current_user_can( 'edit_products' ) ) { - return; - } - - $price = edd_get_download_price( $post_id ); - $variable_pricing = edd_has_variable_prices( $post_id ); - $prices = edd_get_variable_prices( $post_id ); - $single_option_mode = edd_single_price_option_mode( $post_id ); - - $price_display = $variable_pricing ? ' style="display:none;"' : ''; - $variable_display = $variable_pricing ? '' : ' style="display:none;"'; - $currency_position = edd_get_option( 'currency_position', 'before' ); - ?> -

    - -

    - -
    -
    - /> - -
    -
    - -
    > - -
    - 'edd_price', - 'id' => 'edd_price', - 'value' => isset( $price ) ? esc_attr( edd_format_amount( $price ) ) : '', - 'class' => 'edd-form-group__input edd-price-field', - ); - if ( 'before' === $currency_position ) { - ?> - - html->text( $price_args ); - } else { - echo EDD()->html->text( $price_args ); - ?> - - -
    -
    - - - -
    > - -
    -
    - html->checkbox( - array( - 'name' => '_edd_price_options_mode', - 'current' => $single_option_mode, - 'class' => 'edd-form-group__input', - ) - ); - ?> - -
    -
    -
    -
    - -
    - $value ) : - $name = ( isset( $value['name'] ) && ! empty( $value['name'] ) ) ? $value['name'] : ''; - $index = ( isset( $value['index'] ) && '' !== $value['index'] ) ? $value['index'] : $key; - $amount = isset( $value['amount'] ) ? $value['amount'] : ''; - $args = apply_filters( 'edd_price_row_args', compact( 'name', 'amount' ), $value ); - ?> -
    - -
    - -
    - -
    - - -
    - -
    - -
    -
    -
    -
    - null, - 'amount' => null, - ); - - $args = wp_parse_args( $args, $defaults ); - - $default_price_id = edd_get_default_variable_price( $post_id ); - $currency_position = edd_get_option( 'currency_position', 'before' ); - $custom_price_options = isset( $wp_filter['edd_download_price_option_row'] ) ? true : false; - ?> -
    - - ' . esc_html( $key ) . '' - ); - ?> - - - %s', - __( 'Show advanced settings', 'easy-digital-downloads' ) - ); - } - - $actions['remove'] = sprintf( - /* translators: %1$s is the remove link, %2$s is the screen reader text. */ - '%1$s%2$s', - __( 'Remove', 'easy-digital-downloads' ), - sprintf( - /* translators: %s: price ID. */ - __( 'Remove price option %s', 'easy-digital-downloads' ), - esc_html( $key ) - ) - ); - ?> - - - -
    - -
    - -
    - -
    - html->text( - array( - 'name' => 'edd_variable_prices[' . $key . '][name]', - 'id' => 'edd_variable_prices-' . $key . '-name', - 'value' => esc_attr( $args['name'] ), - 'placeholder' => __( 'Option Name', 'easy-digital-downloads' ), - 'class' => 'edd_variable_prices_name large-text', - ) - ); - ?> -
    -
    - -
    - - 'edd_variable_prices[' . $key . '][amount]', - 'id' => 'edd_variable_prices-' . $key . '-amount', - 'value' => $args['amount'], - 'placeholder' => edd_format_amount( 9.99 ), - 'class' => 'edd-form-group__input edd-price-field', - ); - ?> - -
    - - - html->text( $price_args ); - } else { - echo EDD()->html->text( $price_args ); - ?> - - -
    -
    - -
    -
    - - ', - checked( $default_price_id, $key, false ), - 'edd_default_price_id_' . esc_attr( $key ), - esc_attr( $key ) - ); - ?> - - - -
    -
    - -
    - - - -
    -
    - -
    -
    - - -
    - -
    - html->select( - array( - 'options' => $types, - 'name' => '_edd_product_type', - 'id' => '_edd_product_type', - 'selected' => $type, - 'show_option_all' => false, - 'show_option_none' => false, - 'class' => 'edd-form-group__input', - ) - ); - ?> -
    -

    - -

    -
    - -
    - + -
    +
    -
    > + +
    - $price ) { - $options[ $price_key ] = $prices[ $price_key ]['name']; + if ( ! empty( $prices ) ) { + foreach ( $prices as $price_key => $price ) { + $options[ $price_key ] = $prices[ $price_key ]['name']; + } } - } - echo EDD()->html->select( + $select = new \EDD\HTML\Select( array( 'name' => 'edd_download_files[' . $key . '][condition]', 'id' => 'edd_download_files-' . $key . '-condition', @@ -937,7 +472,8 @@ function edd_render_file_row( $key, $args, $post_id, $index ) { 'show_option_none' => false, ) ); - ?> + $select->output(); + ?>
    @@ -982,7 +518,7 @@ function edd_download_media_strings( $strings ) { * @param int $post_id Download (Post) ID. * @return void */ -function edd_render_refund_row( $post_id ) { +function edd_render_refund_row( $post_id, $download = null ) { // Bail if user cannot manage shop settings. if ( ! current_user_can( 'manage_shop_settings' ) ) { @@ -992,13 +528,13 @@ function edd_render_refund_row( $post_id ) { $types = edd_get_refundability_types(); $global_ability = edd_get_option( 'refundability', 'refundable' ); $global_window = edd_get_option( 'refund_window', 30 ); - $edd_refund_window = edd_get_download_refund_window( $post_id ); + $edd_refund_window = $download ? $download->get_refund_window() : false; ?> -
    -
    +
    +
    - +
    - html->select( array( @@ -1038,11 +570,13 @@ function edd_render_refund_row( $post_id ) { ); ?>
    +
    +
    +
    -
    @@ -1052,7 +586,7 @@ function edd_render_refund_row( $post_id ) {
    -
    > +
    get_files() ) ) { + echo 'data-edd-supports-product-type="false"'; + } + ?> + > +
    -

    @@ -1099,7 +637,7 @@ function edd_render_download_limit_row( $post_id ) {

    -
    -
    - __( 'Taxability', 'easy-digital-downloads' ), - 'content' => __( 'When taxes are enabled, all products are taxable by default. Check this box to mark this product as non-taxable.', 'easy-digital-downloads' ), - ) - ); - $tooltip->output(); - ?> -
    +
    html->checkbox( + $checkbox = new EDD\HTML\CheckboxToggle( array( 'name' => '_edd_download_tax_exclusive', 'id' => '_edd_download_tax_exclusive', 'current' => $exclusive, 'class' => 'edd-form-group__input', + 'label' => __( 'This product is non-taxable', 'easy-digital-downloads' ), ) ); + $checkbox->output(); ?> -
    +

    + +

    quantities_disabled() : false; ?> -
    -
    - __( 'Item Quantities', 'easy-digital-downloads' ), - 'content' => __( 'If disabled, customers will not be provided an option to change the number they wish to purchase.', 'easy-digital-downloads' ), - ) - ); - $tooltip->output(); - ?> -
    +
    html->checkbox( + $checkbox = new EDD\HTML\CheckboxToggle( array( 'name' => '_edd_quantities_disabled', 'id' => '_edd_quantities_disabled', 'current' => $disabled, 'class' => 'edd-form-group__input', + 'label' => __( 'Disable quantity input for this product', 'easy-digital-downloads' ), ) ); + $checkbox->output(); ?> -
    +

    +

    - -
    -
    - - -
    -
    - -
    -
    +
    +
    +
    - html->text( array( @@ -1313,100 +776,122 @@ function edd_render_accounting_options( $post_id ) { * Render Disable Button * * @since 1.0 - * @param int $post_id Download (Post) ID. + * @param int $download_id Download (Post) ID. * @return void */ -function edd_render_disable_button( $post_id ) { - if ( ! current_user_can( 'edit_product', $post_id ) ) { +function edd_render_disable_button( $download_id ) { + if ( ! current_user_can( 'edit_product', $download_id ) ) { return; } + $shortcode = sprintf( + '[purchase_link id="%1$d"]', + absint( $download_id ) + ); + $buy_button = sprintf( '', $download_id ); + $add_to_cart_link = add_query_arg( + array( + 'edd_action' => 'add_to_cart', + 'download_id' => (int) $download_id, + ), + edd_get_checkout_uri() + ); $supports_buy_now = edd_shop_supports_buy_now(); - $hide_button = get_post_meta( $post_id, '_edd_hide_purchase_link', true ) ? 1 : 0; - $behavior = get_post_meta( $post_id, '_edd_button_behavior', true ); - $content = __( 'By default, the purchase buttons will be displayed at the bottom of the download, when disabled you will need to use the Purchase link shortcode below to output the ability to buy the product where you prefer.', 'easy-digital-downloads' ); - $content .= '

    '; + $content = __( 'By default, the buy button will be displayed at the bottom of the download. Disable the default buy button and use the EDD Buy Button block to place the button where you prefer.', 'easy-digital-downloads' ); if ( $supports_buy_now ) { + $content .= '

    '; $content .= __( 'Purchase button behavior: Add to Cart buttons follow a traditional eCommerce flow. A Buy Now button bypasses most of the process, taking the customer directly from button click to payment, greatly speeding up the process of buying the product.', 'easy-digital-downloads' ); - } else { - $content .= __( 'Purchase button behavior: Add to Cart buttons follow a traditional eCommerce flow. Buy Now buttons are only available for stores that have a single supported gateway active and that do not use taxes.', 'easy-digital-downloads' ); } ?> -
    -
    +
    +

    __( 'Hide purchase buttons', 'easy-digital-downloads' ), + 'title' => __( 'Buy Buttons', 'easy-digital-downloads' ), 'content' => $content, ) ); $tooltip->output(); ?> +

    +
    +
    + + +
    +
    + + +
    +
    + + +
    -
    - html->checkbox( - array( + +
    +
    + '_edd_hide_purchase_link', 'id' => '_edd_hide_purchase_link', - 'current' => $hide_button, + 'current' => $is_disabled, 'class' => 'edd-form-group__input', - ) - ); - ?> - + 'label' => __( 'Hide default purchase button.', 'easy-digital-downloads' ), + ); + if ( ! $is_disabled ) { + $post_content = get_post_field( 'post_content', $download_id ); + if ( ! empty( $post_content ) && false !== strpos( $post_content, $buy_button ) ) { + $checkbox_args['tooltip'] = array( + 'title' => __( 'Buy Button Block Detected', 'easy-digital-downloads' ), + 'content' => __( 'The Buy Button block is in the post content, so we recommend disabling the default purchase button.', 'easy-digital-downloads' ), + 'dashicon' => 'dashicons-warning', + ); + } + } + $checkbox = new EDD\HTML\CheckboxToggle( $checkbox_args ); + $checkbox->output(); + ?> +
    -
    +
    - '_edd_button_behavior', - 'id' => 'edd_button_behavior', - 'selected' => $behavior, - 'options' => array( - 'add_to_cart' => __( 'Add to Cart', 'easy-digital-downloads' ), - 'direct' => __( 'Buy Now', 'easy-digital-downloads' ), - ), - 'show_option_all' => null, - 'show_option_none' => null, - 'class' => 'edd-form-group__input', - ); - echo EDD()->html->select( $args ); - ?> +
    + '_edd_button_behavior', + 'id' => 'edd_button_behavior', + 'selected' => get_post_meta( $download_id, '_edd_button_behavior', true ), + 'options' => array( + 'add_to_cart' => __( 'Add to Cart', 'easy-digital-downloads' ), + 'direct' => __( 'Buy Now', 'easy-digital-downloads' ), + ), + 'show_option_all' => null, + 'show_option_none' => null, + 'class' => 'edd-form-group__input', + ) + ); + $select->output(); + ?> +
    - +
    - notes : false; ?>
    @@ -1441,78 +926,4 @@ function edd_render_product_notes_field( $post_id ) {
    'edd-payment-history', - 'product-id' => urlencode( $post_id ), - ), - edd_get_admin_base_url() - ); - - $earnings_report_url = edd_get_admin_url( - array( - 'page' => 'edd-reports', - 'view' => 'downloads', - 'products' => absint( $post_id ), - ) - ); - ?> - -

    - - -

    - -

    - - - - - - -

    - -
    - -

    - 'edd-tools', - 'view' => 'file_downloads', - 'tab' => 'logs', - 'download' => absint( $post_id ), - ) - ); - ?> - - - - - -
    -

    - get_bundled_downloads(); +$products = $download->get_bundled_downloads(); +if ( ! $products ) { + $products = array( + 0 => '', + ); +} $variable_pricing = $download->has_variable_prices(); -$variable_display = $variable_pricing ? '' : 'display:none;'; -$variable_class = $variable_pricing ? ' has-variable-pricing' : ''; -$prices = $download->get_prices(); -$bundle_options = EDD()->html->get_products( +$row_classes = array( + 'edd-bundled-product-row', +); +if ( $variable_pricing ) { + $row_classes[] = 'has-variable-pricing'; +} +$prices = $download->get_prices(); +$bundle_options = EDD()->html->get_products( array( 'bundles' => false, ) @@ -25,123 +35,72 @@
    - - - -
    - - -
    - - - $product ) : ?> -
    -
    -
    - - - -
    -
    - - -
    - html->product_dropdown( - array( - 'name' => '_edd_bundled_products[' . $index . ']', - 'id' => 'edd_bundled_products_' . esc_attr( $index ), - 'selected' => $product, - 'multiple' => false, - 'chosen' => true, - 'products' => $bundle_options, - 'variations' => true, - 'show_variations_only' => false, - 'class' => 'edd-form-group__input', - 'bundles' => false, - 'exclude_current' => true, - ) - ); - ?> -
    -
    -
    - -
    - $price ) { - $options[ $price_key ] = $prices[ $price_key ]['name']; - } - } - - $price_assignments = edd_get_bundle_pricing_variations( $post_id ); - if ( ! empty( $price_assignments[0] ) ) { - $price_assignments = $price_assignments[0]; - } - - $selected = isset( $price_assignments[ $index ] ) ? $price_assignments[ $index ] : null; - - echo EDD()->html->select( - array( - 'name' => '_edd_bundled_products_conditions[' . $index . ']', - 'id' => 'edd_bundled_products_conditions_'. esc_attr( $index ), - 'class' => 'edd_repeatable_condition_field', - 'options' => $options, - 'show_option_none' => false, - 'selected' => $selected, - ) - ); - ?> -
    -
    -
    - - -
    - -
    -
    - - - - - -
    - - -
    -
    -
    - -
    - - - + '_edd_bundled_products[' . $index . ']', + 'id' => 'edd_bundled_products_' . esc_attr( $index ), + 'selected' => $product, + 'multiple' => false, + 'chosen' => true, + 'products' => $bundle_options, + 'variations' => true, + 'show_variations_only' => false, + 'class' => 'edd-form-group__input', + 'bundles' => false, + 'exclude_current' => true, + 'show_option_empty' => __( 'Select a product', 'easy-digital-downloads' ), + 'show_option_all' => false, + ); + ?> +
    +
    +
    + + + +
    - +
    - html->product_dropdown( array( - 'name' => '_edd_bundled_products[1]', - 'id' => 'edd_bundled_products_1', - 'multiple' => false, - 'chosen' => true, - 'products' => $bundle_options, - 'variations' => true, - 'show_variations_only' => false, - 'bundles' => false, - 'exclude_current' => true, - ) ); - ?> + output(); + ?>
    -
    - + +
    +
    html->select( + $select = new EDD\HTML\Select( array( - 'name' => '_edd_bundled_products_conditions[1]', - 'id' => 'edd_bundled_products_conditions_1', - 'class' => 'edd-form-group__input edd_repeatable_condition_field', + 'name' => '_edd_bundled_products_conditions[' . $index . ']', + 'id' => 'edd_bundled_products_conditions_' . esc_attr( $index ), + 'class' => 'edd_repeatable_condition_field', 'options' => $options, 'show_option_none' => false, - 'selected' => null, + 'selected' => $selected, ) ); + $select->output(); ?>
    - + +
    - - - + +
    - +
    diff --git a/includes/admin/downloads/views/metabox-files.php b/includes/admin/downloads/views/metabox-files.php index 9deabbb019d..c83299c8483 100644 --- a/includes/admin/downloads/views/metabox-files.php +++ b/includes/admin/downloads/views/metabox-files.php @@ -23,17 +23,19 @@ $thumbnail_size = isset( $value['thumbnail_size'] ) ? $value['thumbnail_size'] : ''; $attachment_id = isset( $value['attachment_id'] ) ? absint( $value['attachment_id'] ) : false; - $args = apply_filters( 'edd_file_row_args', compact( 'name', 'file', 'condition', 'attachment_id', 'thumbnail_size' ), $value ); ?> + $args = apply_filters( 'edd_file_row_args', compact( 'name', 'file', 'condition', 'attachment_id', 'thumbnail_size' ), $value ); + ?> -
    +
    + else : + ?> -
    +
    diff --git a/includes/admin/payments/orders.php b/includes/admin/payments/orders.php index b2937362b81..6f33cd5f08f 100644 --- a/includes/admin/payments/orders.php +++ b/includes/admin/payments/orders.php @@ -188,12 +188,7 @@ function edd_get_order_details_sections( $order ) { * @param EDD\Orders\Order $order The order object. */ function edd_order_details_customer( $order ) { - $customer = edd_get_customer( $order->customer_id ); - $payment = edd_get_payment( $order->id ); - $user_info = $payment - ? $payment->user_info - : array(); - + $customer = edd_get_customer( $order->customer_id ); $change_text = edd_is_add_order_page() ? esc_html__( 'Assign', 'easy-digital-downloads' ) : esc_html__( 'Switch Customer', 'easy-digital-downloads' ); @@ -299,8 +294,11 @@ function edd_order_details_customer( $order ) { id ); + $user_info = $payment ? $payment->user_info : array(); do_action( 'edd_payment_personal_details_list', $payment->get_meta(), $user_info ); } do_action( 'edd_payment_view_details', $order->id ); @@ -1093,13 +1091,14 @@ function edd_order_details_extras( $order = false ) { * * @since 3.0 * - * @param object $order + * @param EDD\Orders\Order $order Order object. */ function edd_order_details_attributes( $order ) { - $recovery_url = edd_is_add_order_page() - ? '' - : edd_get_payment( $order->id )->get_recovery_url(); + $recovery_url = ''; + if ( ! edd_is_add_order_page() ) { + $recovery_url = $order->get_recovery_url(); + } $order_date = edd_get_edd_timezone_equivalent_date_from_utc( EDD()->utils->date( $order->date_created, 'utc', true ) ); diff --git a/includes/admin/reporting/class-api-requests-logs-list-table.php b/includes/admin/reporting/class-api-requests-logs-list-table.php index 7c2b3ae37f5..ee02a4c7dd9 100755 --- a/includes/admin/reporting/class-api-requests-logs-list-table.php +++ b/includes/admin/reporting/class-api-requests-logs-list-table.php @@ -9,7 +9,7 @@ * @since 1.5 */ -// Exit if accessed directly +// Exit if accessed directly. defined( 'ABSPATH' ) || exit; /** @@ -27,16 +27,6 @@ class EDD_API_Request_Log_Table extends EDD_Base_Log_List_Table { */ protected $log_type = 'api_requests'; - /** - * Get things started - * - * @since 1.5 - * @see WP_List_Table::__construct() - */ - public function __construct() { - parent::__construct(); - } - /** * Retrieve the table columns * @@ -45,12 +35,12 @@ public function __construct() { */ public function get_columns() { return array( - 'ID' => __( 'Log ID', 'easy-digital-downloads' ), + 'ID' => __( 'Log ID', 'easy-digital-downloads' ), 'details' => __( 'Request Details', 'easy-digital-downloads' ), - 'version' => __( 'API Version', 'easy-digital-downloads' ), - 'ip' => __( 'Request IP', 'easy-digital-downloads' ), - 'speed' => __( 'Request Speed', 'easy-digital-downloads' ), - 'date' => __( 'Date', 'easy-digital-downloads' ) + 'version' => __( 'API Version', 'easy-digital-downloads' ), + 'ip' => __( 'Request IP', 'easy-digital-downloads' ), + 'speed' => __( 'Request Speed', 'easy-digital-downloads' ), + 'date' => __( 'Date', 'easy-digital-downloads' ), ); } @@ -66,55 +56,35 @@ protected function get_primary_column_name() { return 'ID'; } - /** - * This function renders most of the columns in the list table. - * - * @since 1.5 - * - * @param array $item Contains all the data of the api request - * @param string $column_name The name of the column - * - * @return string Column Name - */ - public function column_default( $item, $column_name ) { - switch ( $column_name ) { - case 'ip': - return '' . esc_html( $item['ip'] ) . ''; - default: - return $item[ $column_name ]; - } - } - /** * Output Error Message column * * @since 1.5 - * @param array $item Contains all the data of the log + * @param array $item Contains all the data of the log. * @return void */ public function column_details( $item ) { - ?> + ?> - 'log', - 'plural' => 'logs', - 'ajax' => false - ) ); + parent::__construct( + array( + 'singular' => 'log', + 'plural' => 'logs', + 'ajax' => false, + ) + ); $this->filter_bar_hooks(); } @@ -51,22 +53,25 @@ public function __construct() { * Removes the referrer nonce from parent class. * * @since 3.0.0 - * @param string $which + * @param string $which Position of the tablenav: 'top' or 'bottom'. */ protected function display_tablenav( $which ) { - ?> + ?>
    has_items() ) : ?>
    bulk_actions( $which ); ?>
    - extra_tablenav( $which ); - $this->pagination( $which ); ?> + $this->pagination( $which ); + ?>
    -
    + get_filtered_view(); ?> + $current_view = $this->get_filtered_view(); + ?> '; - $html .= '
    '; - $html .= EDD()->html->checkbox( $args ); - $html .= '
    '; + $html = ''; + $html .= '
    '; + $html .= EDD()->html->checkbox( $args ); + $html .= '
    '; echo apply_filters( 'edd_after_setting_output', $html, $args ); } @@ -722,7 +755,7 @@ function edd_multicheck_callback( $args ) { if ( ! empty( $args['options'] ) ) { $html .= ''; - foreach ( $args['options'] as $key => $option ): + foreach ( $args['options'] as $key => $option ) : if ( isset( $edd_option[ $key ] ) ) { $enabled = $option; } else { @@ -768,12 +801,15 @@ function edd_payment_icons_callback( $args = array() ) { $class = edd_sanitize_html_class( $args['field_class'] ); // Everything is wrapped in a sortable UL - ?>
      + ?> +
        - $option ) : + $option ) : $enabled = isset( $edd_option[ $key ] ) ? $option - : null; ?> + : null; + ?>
      • '; } @@ -1067,7 +1107,7 @@ function edd_text_callback( $args ) { : ''; $disabled = ! empty( $args['disabled'] ) ? ' disabled="disabled"' : ''; - $readonly = $args['readonly'] === true ? ' readonly="readonly"' : ''; + $readonly = $args['readonly'] === true ? ' readonly="readonly"' : ''; $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular'; $html = ''; $html .= '

        ' . wp_kses_post( $args['desc'] ) . '

        '; @@ -1126,42 +1166,44 @@ function edd_email_callback( $args ) { * Renders number fields. * * @since 1.9 - * - * @param array $args Arguments passed by the setting - * + * @param array $args Arguments passed by the setting. * @return void */ function edd_number_callback( $args ) { - $edd_option = edd_get_option( $args['id'] ); - - if ( is_numeric( $edd_option ) ) { - $value = $edd_option; - } else { - $value = isset( $args['std'] ) ? $args['std'] : ''; + $class = isset( $args['size'] ) ? $args['size'] : 'regular'; + $class .= '-text'; + if ( ! empty( $args['field_class'] ) ) { + $class .= ' ' . $args['field_class']; } - + $number_args = array( + 'value' => edd_get_option( $args['id'], $args['std'] ), + 'desc' => $args['desc'], + 'id' => 'edd_settings[' . esc_attr( $args['id'] ) . ']', + 'name' => 'edd_settings[' . esc_attr( $args['id'] ) . ']', + 'class' => $class, + 'readonly' => ! empty( $args['readonly'] ), + 'disabled' => ! empty( $args['disabled'] ), + 'placeholder' => ! empty( $args['placeholder'] ) ? $args['placeholder'] : '', + ); if ( isset( $args['faux'] ) && true === $args['faux'] ) { - $args['readonly'] = true; - $value = isset( $args['std'] ) ? $args['std'] : ''; - $name = ''; - } else { - $name = 'name="edd_settings[' . esc_attr( $args['id'] ) . ']"'; + $number_args['readonly'] = true; + $number_args['name'] = ''; } + if ( isset( $args['min'] ) ) { + $number_args['min'] = $args['min']; + } + if ( isset( $args['max'] ) ) { + $number_args['max'] = $args['max']; + } + if ( isset( $args['step'] ) ) { + $number_args['step'] = $args['step']; + } + if ( isset( $args['datalist'] ) ) { + $number_args['datalist'] = $args['datalist']; + } + $number = new EDD\HTML\Number( $number_args ); - $class = edd_sanitize_html_class( $args['field_class'] ); - - $max = isset( $args['max'] ) ? $args['max'] : 999999; - $min = isset( $args['min'] ) ? $args['min'] : 0; - $step = isset( $args['step'] ) ? $args['step'] : 1; - - $readonly = ! empty( $args['readonly'] ) ? ' readonly' : ''; - $disabled = ! empty( $args['disabled'] ) ? ' disabled="disabled"' : ''; - - $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular'; - $html = ''; - $html .= '

        ' . wp_kses_post( $args['desc'] ) . '

        '; - - echo apply_filters( 'edd_after_setting_output', $html, $args ); + echo apply_filters( 'edd_after_setting_output', $number->get(), $args ); } /** @@ -1331,7 +1373,7 @@ function edd_color_select_callback( $args ) { foreach ( $args['options'] as $option => $color ) { $selected = selected( $option, $value, false ); - $html .= ''; + $html .= ''; } $html .= ''; @@ -1368,11 +1410,15 @@ function edd_rich_editor_callback( $args ) { ob_start(); - wp_editor( stripslashes( $value ), 'edd_settings_' . esc_attr( $args['id'] ), array( - 'textarea_name' => 'edd_settings[' . esc_attr( $args['id'] ) . ']', - 'textarea_rows' => absint( $rows ), - 'editor_class' => $class, - ) ); + wp_editor( + stripslashes( $value ), + 'edd_settings_' . esc_attr( $args['id'] ), + array( + 'textarea_name' => 'edd_settings[' . esc_attr( $args['id'] ) . ']', + 'textarea_rows' => absint( $rows ), + 'editor_class' => $class, + ) + ); if ( ! empty( $args['desc'] ) ) { echo '

        ' . wp_kses_post( $args['desc'] ) . '

        '; @@ -1504,7 +1550,7 @@ function edd_tax_rate_callback( $args ) { * @param array $args Arguments passed by the setting * @return void */ -function edd_recapture_callback($args) { +function edd_recapture_callback( $args ) { $client_connected = false; if ( class_exists( 'RecaptureEDD' ) ) { @@ -1553,7 +1599,7 @@ function edd_recapture_callback($args) {

    -

    @@ -1579,7 +1625,7 @@ function edd_recapture_callback($args) {

    - $rates, - 'nonce' => wp_create_nonce( 'edd-country-field-nonce' ), - 'i18n' => array( - /* translators: Tax rate country code */ - 'duplicateRate' => esc_html__( 'Duplicate tax rates are not allowed. Please deactivate the existing %s tax rate before adding or activating another.', 'easy-digital-downloads' ), - 'emptyCountry' => esc_html__( 'Please select a country.', 'easy-digital-downloads' ), - 'negativeTax' => esc_html__( 'Please enter a tax rate greater than 0.', 'easy-digital-downloads' ), - 'emptyTax' => esc_html__( 'Are you sure you want to add a 0% tax rate?', 'easy-digital-downloads' ), - ), - ) ); + wp_localize_script( + 'edd-admin-tax-rates', + 'eddTaxRates', + array( + 'rates' => $rates, + 'nonce' => wp_create_nonce( 'edd-country-field-nonce' ), + 'i18n' => array( + /* translators: Tax rate country code */ + 'duplicateRate' => esc_html__( 'Duplicate tax rates are not allowed. Please deactivate the existing %s tax rate before adding or activating another.', 'easy-digital-downloads' ), + 'emptyCountry' => esc_html__( 'Please select a country.', 'easy-digital-downloads' ), + 'negativeTax' => esc_html__( 'Please enter a tax rate greater than 0.', 'easy-digital-downloads' ), + 'emptyTax' => esc_html__( 'Are you sure you want to add a 0% tax rate?', 'easy-digital-downloads' ), + ), + ) + ); $templates = array( 'meta', 'row', 'row-empty', 'add', - 'bulk-actions' + 'bulk-actions', ); echo '

    ' . $args['desc'] . '

    '; @@ -1627,15 +1677,14 @@ function edd_tax_rates_callback( $args ) { echo '
    '; foreach ( $templates as $tmpl ) { -?> + ?> -get(); @@ -1742,7 +1791,7 @@ function edd_set_settings_cap() { * * @since 1.9 * @param string $html - * @param type $args + * @param type $args * @return string */ function edd_add_setting_tooltip( $html = '', $args = array() ) { @@ -1833,17 +1882,22 @@ function edd_is_test_mode_forced() { * Checks for an incorrect setting for the privacy policy. * Required in updating from EDD 2.9.2 to 2.9.3. */ -add_filter( 'edd_get_option_show_privacy_policy_on_checkout', function( $value ) { - if ( ! empty( $value ) ) { - return $value; - } - $fix_show_privacy_policy_setting = edd_get_option( 'show_agree_to_privacy_policy_on_checkout', false ); - if ( ! empty( $fix_show_privacy_policy_setting ) ) { - edd_update_option( 'show_privacy_policy_on_checkout', $fix_show_privacy_policy_setting ); - edd_delete_option( 'show_agree_to_privacy_policy_on_checkout' ); +add_filter( + 'edd_get_option_show_privacy_policy_on_checkout', + function ( $value ) { + if ( ! empty( $value ) ) { + return $value; + } + $fix_show_privacy_policy_setting = edd_get_option( 'show_agree_to_privacy_policy_on_checkout', false ); + if ( ! empty( $fix_show_privacy_policy_setting ) ) { + edd_update_option( 'show_privacy_policy_on_checkout', $fix_show_privacy_policy_setting ); + edd_delete_option( 'show_agree_to_privacy_policy_on_checkout' ); - return $fix_show_privacy_policy_setting; - } + return $fix_show_privacy_policy_setting; + } - return $value; -}, 10, 3 ); + return $value; + }, + 10, + 3 +); diff --git a/includes/admin/tools/class-edd-tools-recount-single-customer-stats.php b/includes/admin/tools/class-edd-tools-recount-single-customer-stats.php index a508853b8a5..175c5dab432 100644 --- a/includes/admin/tools/class-edd-tools-recount-single-customer-stats.php +++ b/includes/admin/tools/class-edd-tools-recount-single-customer-stats.php @@ -4,14 +4,14 @@ * * This class handles batch processing of recounting a single customer's stats * - * @subpackage Admin/Tools/EDD_Tools_Recount_Customer_Stats - * @copyright Copyright (c) 2015, Chris Klosowski - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License - * @since 2.5 + * @package EDD\Admin\Tools\EDD_Tools_Recount_Customer_Stats + * @copyright Copyright (c) 2015, Sandhills Development, LLC + * @license https://opensource.org/licenses/gpl-2.0.php GNU Public License + * @since 2.5 */ -// Exit if accessed directly -defined( 'ABSPATH' ) || exit; +// Exit if accessed directly. +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore /** * EDD_Tools_Recount_Stats Class @@ -22,6 +22,7 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export { /** * Our export type. Used for export-type specific filters/actions + * * @var string * @since 2.5 */ @@ -29,6 +30,7 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export { /** * Allows for a non-download batch processing to be run. + * * @since 2.5 * @var boolean */ @@ -36,11 +38,19 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export { /** * Sets the number of items to pull on each step + * * @since 2.5 * @var integer */ public $per_step = 10; + /** + * The customer ID to recount stats for. + * + * @var int + */ + private $customer_id; + /** * Get the Export Data * @@ -51,7 +61,7 @@ class EDD_Tools_Recount_Single_Customer_Stats extends EDD_Batch_Export { */ public function get_data() { - $customer = new EDD_Customer( $this->customer_id ); + $customer = edd_get_customer( $this->customer_id ); if ( $customer ) { $customer->recalculate_stats(); $this->result_data = array( @@ -62,7 +72,6 @@ public function get_data() { } return false; - } /** @@ -96,7 +105,7 @@ public function get_percentage_complete() { * Set the properties specific to the payments export * * @since 2.5 - * @param array $request The Form Data passed into the batch processing + * @param array $request The Form Data passed into the batch processing. */ public function set_properties( $request ) { $this->customer_id = isset( $request['customer_id'] ) ? sanitize_text_field( $request['customer_id'] ) : false; @@ -126,6 +135,11 @@ public function process_step() { return false; } + /** + * Set the headers for the export. + * + * @return void + */ public function headers() { edd_set_time_limit(); } @@ -137,8 +151,6 @@ public function headers() { * @return void */ public function export() { - - // Set headers $this->headers(); edd_die(); diff --git a/includes/ajax-functions.php b/includes/ajax-functions.php index c0a4a644ea0..426448e9d56 100755 --- a/includes/ajax-functions.php +++ b/includes/ajax-functions.php @@ -11,8 +11,8 @@ * @since 1.0 */ -// Exit if accessed directly -defined( 'ABSPATH' ) || exit; +// Exit if accessed directly. +defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore /** * Checks whether AJAX is enabled. @@ -46,7 +46,7 @@ function edd_is_ajax_disabled() { */ function edd_test_ajax_works() { - // Check if the Airplane Mode plugin is installed + // Check if the Airplane Mode plugin is installed. if ( class_exists( 'Airplane_Mode_Core' ) ) { $airplane = Airplane_Mode_Core::getInstance(); @@ -54,7 +54,6 @@ function edd_test_ajax_works() { if ( $airplane->enabled() ) { return true; } - } else { if ( $airplane->check_status() == 'on' ) { return true; @@ -69,13 +68,16 @@ function edd_test_ajax_works() { } $works = true; - $ajax = wp_safe_remote_post( esc_url_raw( edd_get_ajax_url() ), array( - 'sslverify' => false, - 'timeout' => 30, - 'body' => array( - 'action' => 'edd_test_ajax' + $ajax = wp_safe_remote_post( + esc_url_raw( edd_get_ajax_url() ), + array( + 'sslverify' => false, + 'timeout' => 30, + 'body' => array( + 'action' => 'edd_test_ajax', + ), ) - ) ); + ); if ( is_wp_error( $ajax ) ) { $works = false; @@ -111,7 +113,7 @@ function edd_test_ajax_works() { * * @since 1.3 * @return string URL to the AJAX file to call during AJAX requests. -*/ + */ function edd_get_ajax_url() { $scheme = defined( 'FORCE_SSL_ADMIN' ) && FORCE_SSL_ADMIN ? 'https' : 'admin'; @@ -138,7 +140,6 @@ function edd_ajax_remove_from_cart() { if ( isset( $_POST['cart_item'] ) && isset( $_POST['nonce'] ) ) { - $cart_item = absint( $_POST['cart_item'] ); $nonce = sanitize_text_field( $_POST['nonce'] ); @@ -169,7 +170,7 @@ function edd_ajax_remove_from_cart() { } edd_die(); } -add_action( 'wp_ajax_edd_remove_from_cart', 'edd_ajax_remove_from_cart' ); +add_action( 'wp_ajax_edd_remove_from_cart', 'edd_ajax_remove_from_cart' ); add_action( 'wp_ajax_nopriv_edd_remove_from_cart', 'edd_ajax_remove_from_cart' ); /** @@ -183,7 +184,7 @@ function edd_ajax_add_to_cart() { edd_die(); } - $download_id = absint( $_POST['download_id'] ); + $download_id = absint( $_POST['download_id'] ); $request_validated = false; if ( isset( $_POST['timestamp'] ) && isset( $_POST['token'] ) && EDD\Utils\Tokenizer::is_token_valid( $_POST['token'], $_POST['timestamp'] ) ) { $request_validated = true; @@ -218,9 +219,9 @@ function edd_ajax_add_to_cart() { $options = array(); } - if ( isset( $options['price_id'] ) && isset( $post_data['edd_download_quantity_' . $options['price_id'] ] ) ) { + if ( isset( $options['price_id'] ) && isset( $post_data[ 'edd_download_quantity_' . $options['price_id'] ] ) ) { - $options['quantity'] = absint( $post_data['edd_download_quantity_' . $options['price_id'] ] ); + $options['quantity'] = absint( $post_data[ 'edd_download_quantity_' . $options['price_id'] ] ); } else { @@ -243,7 +244,7 @@ function edd_ajax_add_to_cart() { 'subtotal' => html_entity_decode( edd_currency_filter( edd_format_amount( edd_get_cart_subtotal() ) ), ENT_COMPAT, 'UTF-8' ), 'total' => html_entity_decode( edd_currency_filter( edd_format_amount( edd_get_cart_total() ) ), ENT_COMPAT, 'UTF-8' ), 'cart_item' => $items, - 'cart_quantity' => html_entity_decode( edd_get_cart_quantity() ) + 'cart_quantity' => html_entity_decode( edd_get_cart_quantity() ), ); if ( edd_use_taxes() ) { @@ -256,7 +257,7 @@ function edd_ajax_add_to_cart() { echo json_encode( $return ); edd_die(); } -add_action( 'wp_ajax_edd_add_to_cart', 'edd_ajax_add_to_cart' ); +add_action( 'wp_ajax_edd_add_to_cart', 'edd_ajax_add_to_cart' ); add_action( 'wp_ajax_nopriv_edd_add_to_cart', 'edd_ajax_add_to_cart' ); /** @@ -269,7 +270,7 @@ function edd_ajax_get_subtotal() { echo edd_currency_filter( edd_get_cart_subtotal() ); edd_die(); } -add_action( 'wp_ajax_edd_get_subtotal', 'edd_ajax_get_subtotal' ); +add_action( 'wp_ajax_edd_get_subtotal', 'edd_ajax_get_subtotal' ); add_action( 'wp_ajax_nopriv_edd_get_subtotal', 'edd_ajax_get_subtotal' ); /** @@ -307,7 +308,7 @@ function edd_ajax_apply_discount() { $return = array( 'msg' => 'valid', 'amount' => $amount, - 'total_plain' => $total, + 'total_plain' => edd_format_amount( $total, true, '', 'data' ), 'total' => html_entity_decode( edd_currency_filter( edd_format_amount( $total ) ), ENT_COMPAT, 'UTF-8' ), 'code' => $discount_code, 'html' => edd_get_cart_discounts_html( $discounts ), @@ -319,7 +320,7 @@ function edd_ajax_apply_discount() { edd_unset_error( 'edd-discount-error' ); } - // Allow for custom discount code handling + // Allow for custom discount code handling. $return = apply_filters( 'edd_ajax_discount_response', $return ); echo wp_json_encode( $return ); @@ -327,7 +328,7 @@ function edd_ajax_apply_discount() { edd_die(); } -add_action( 'wp_ajax_edd_apply_discount', 'edd_ajax_apply_discount' ); +add_action( 'wp_ajax_edd_apply_discount', 'edd_ajax_apply_discount' ); add_action( 'wp_ajax_nopriv_edd_apply_discount', 'edd_ajax_apply_discount' ); /** @@ -362,14 +363,14 @@ function edd_ajax_update_cart_item_quantity() { 'complete_purchase' => edd_get_checkout_button_purchase_label(), ); - // Allow for custom cart item quantity handling + // Allow for custom cart item quantity handling. $return = apply_filters( 'edd_ajax_cart_item_quantity_response', $return ); - echo json_encode($return); + echo json_encode( $return ); } edd_die(); } -add_action( 'wp_ajax_edd_update_quantity', 'edd_ajax_update_cart_item_quantity' ); +add_action( 'wp_ajax_edd_update_quantity', 'edd_ajax_update_cart_item_quantity' ); add_action( 'wp_ajax_nopriv_edd_update_quantity', 'edd_ajax_update_cart_item_quantity' ); /** @@ -386,7 +387,7 @@ function edd_ajax_remove_discount() { $total = edd_get_cart_total(); $return = array( - 'total_plain' => $total, + 'total_plain' => edd_format_amount( $total, true, '', 'data' ), 'total' => html_entity_decode( edd_currency_filter( edd_format_amount( $total ) ), ENT_COMPAT, 'UTF-8' ), 'code' => sanitize_text_field( $_POST['code'] ), 'discounts' => edd_get_cart_discounts(), @@ -405,7 +406,7 @@ function edd_ajax_remove_discount() { } edd_die(); } -add_action( 'wp_ajax_edd_remove_discount', 'edd_ajax_remove_discount' ); +add_action( 'wp_ajax_edd_remove_discount', 'edd_ajax_remove_discount' ); add_action( 'wp_ajax_nopriv_edd_remove_discount', 'edd_ajax_remove_discount' ); /** @@ -426,14 +427,14 @@ function edd_load_checkout_login_fields() { edd_die(); } -add_action('wp_ajax_nopriv_checkout_login', 'edd_load_checkout_login_fields'); +add_action( 'wp_ajax_nopriv_checkout_login', 'edd_load_checkout_login_fields' ); /** * Load Checkout Register Fields via AJAX * * @since 1.0 * @return void -*/ + */ function edd_load_checkout_register_fields() { $action = sanitize_text_field( $_POST['action'] ); $nonce = sanitize_text_field( $_POST['nonce'] ); @@ -446,7 +447,7 @@ function edd_load_checkout_register_fields() { edd_die(); } -add_action('wp_ajax_nopriv_checkout_register', 'edd_load_checkout_register_fields'); +add_action( 'wp_ajax_nopriv_checkout_register', 'edd_load_checkout_register_fields' ); /** * Get Download Title via AJAX @@ -472,7 +473,7 @@ function edd_ajax_get_download_title() { } edd_die(); } -add_action( 'wp_ajax_edd_get_download_title', 'edd_ajax_get_download_title' ); +add_action( 'wp_ajax_edd_get_download_title', 'edd_ajax_get_download_title' ); add_action( 'wp_ajax_nopriv_edd_get_download_title', 'edd_ajax_get_download_title' ); /** @@ -486,7 +487,7 @@ function edd_ajax_recalculate_taxes() { edd_debug_log( __( 'Missing nonce when recalculating taxes. Please read the following for more information: https://easydigitaldownloads.com/development/2018/07/05/important-update-to-ajax-requests-in-easy-digital-downloads-2-9-4', 'easy-digital-downloads' ), true ); } - $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( $_POST['nonce'] ) : ''; + $nonce = isset( $_POST['nonce'] ) ? sanitize_text_field( $_POST['nonce'] ) : ''; $nonce_verified = wp_verify_nonce( $nonce, 'edd-checkout-address-fields' ); if ( false === $nonce_verified ) { @@ -505,6 +506,7 @@ function edd_ajax_recalculate_taxes() { edd_checkout_cart(); /** * Allows the cart content to be filtered. + * * @since 3.1 */ $cart = apply_filters( 'edd_get_checkout_cart', ob_get_clean() ); @@ -522,7 +524,7 @@ function edd_ajax_recalculate_taxes() { edd_die(); } -add_action( 'wp_ajax_edd_recalculate_taxes', 'edd_ajax_recalculate_taxes' ); +add_action( 'wp_ajax_edd_recalculate_taxes', 'edd_ajax_recalculate_taxes' ); add_action( 'wp_ajax_nopriv_edd_recalculate_taxes', 'edd_ajax_recalculate_taxes' ); /** @@ -552,13 +554,13 @@ function edd_ajax_get_states_field() { // Get country. $country = ! empty( $_POST['country'] ) - ? sanitize_text_field( $_POST['country'] ) // Exactly matched + ? sanitize_text_field( $_POST['country'] ) // Exactly matched. : edd_get_shop_country(); // Get states for country. $states = edd_get_shop_states( $country ); - // Chosen + // Chosen. $chosen = ! isset( $_POST['chosen'] ) || ( 'true' === $_POST['chosen'] ) ? true : false; @@ -591,7 +593,7 @@ function edd_ajax_get_states_field() { edd_die(); } -add_action( 'wp_ajax_edd_get_shop_states', 'edd_ajax_get_states_field' ); +add_action( 'wp_ajax_edd_get_shop_states', 'edd_ajax_get_states_field' ); add_action( 'wp_ajax_nopriv_edd_get_shop_states', 'edd_ajax_get_states_field' ); /** @@ -620,8 +622,8 @@ function edd_ajax_download_search() { function edd_ajax_customer_search() { global $wpdb; - $search = esc_sql( sanitize_text_field( $_GET['s'] ) ); - $results = array(); + $search = esc_sql( sanitize_text_field( $_GET['s'] ) ); + $results = array(); $customer_view_role = apply_filters( 'edd_view_customers_role', 'view_shop_reports' ); if ( ! current_user_can( $customer_view_role ) ) { $customers = array(); @@ -632,26 +634,25 @@ function edd_ajax_customer_search() { } else { $where = "WHERE `name` LIKE '%$search%' OR `email` LIKE '%$search%' "; } - $limit = "LIMIT 50"; + $limit = 'LIMIT 50'; $customers = $wpdb->get_results( $select . $where . $limit ); } if ( $customers ) { - foreach( $customers as $customer ) { + foreach ( $customers as $customer ) { $results[] = array( 'id' => $customer->id, - 'name' => $customer->name . '(' . $customer->email . ')' + 'name' => $customer->name . '(' . $customer->email . ')', ); } - } else { $customers[] = array( 'id' => 0, - 'name' => __( 'No results found', 'easy-digital-downloads' ) + 'name' => __( 'No results found', 'easy-digital-downloads' ), ); } @@ -709,33 +710,35 @@ function edd_ajax_download_category_search() { */ function edd_ajax_user_search() { - // Default results + // Default results. $results = array( 'id' => 0, - 'name' => __( 'No users found', 'easy-digital-downloads' ) + 'name' => __( 'No users found', 'easy-digital-downloads' ), ); - // Default user role + // Default user role. $user_view_role = apply_filters( 'edd_view_users_role', 'view_shop_reports' ); - // User can view users + // User can view users. if ( current_user_can( $user_view_role ) ) { $search = esc_sql( sanitize_text_field( $_GET['s'] ) ); $users = array(); - // Searching + // Searching. if ( ! empty( $search ) ) { - $users = get_users( array( - 'search' => '*' . $search . '*', - 'number' => 50 - ) ); + $users = get_users( + array( + 'search' => '*' . $search . '*', + 'number' => 50, + ) + ); } - // Setup results based on users + // Setup results based on users. if ( ! empty( $users ) ) { $results = array(); - foreach( $users as $user ) { + foreach ( $users as $user ) { $results[] = array( 'id' => $user->ID, 'name' => $user->display_name, @@ -770,7 +773,7 @@ function edd_check_for_download_price_variations() { $download_id = intval( $_POST['download_id'] ); $download = get_post( $download_id ); - if ( 'download' != $download->post_type ) { + if ( 'download' !== $download->post_type ) { die( '-2' ); } @@ -780,13 +783,13 @@ function edd_check_for_download_price_variations() { if ( ! empty( $variable_prices ) ) { $ajax_response = ''; echo $ajax_response; @@ -805,48 +808,48 @@ function edd_check_for_download_price_variations() { */ function edd_ajax_search_users() { - // Bail if user cannot manage shop settings + // Bail if user cannot manage shop settings. if ( ! current_user_can( 'manage_shop_settings' ) ) { die(); } - // To search for + // To search for. $search_query = ! empty( $_POST['user_name'] ) ? trim( $_POST['user_name'] ) : ''; - // To exclude + // To exclude. $exclude = ! empty( $_POST['exclude'] ) ? trim( $_POST['exclude'] ) : ''; - // Default args + // Default args. $defaults = array( 'number' => 50, - 'search' => $search_query . '*' + 'search' => $search_query . '*', ); - // Maybe exclude users + // Maybe exclude users. if ( ! empty( $exclude ) ) { - $exclude_array = explode( ',', $exclude ); + $exclude_array = explode( ',', $exclude ); $defaults['exclude'] = $exclude_array; } - // Filter query args + // Filter query args. $get_users_args = apply_filters( 'edd_search_users_args', $defaults ); - // Maybe get users + // Maybe get users. $users = ! empty( $get_users_args ) && ! empty( $search_query ) ? get_users( $get_users_args ) : array(); - // Filter users + // Filter users. $found_users = apply_filters( 'edd_ajax_found_users', $users, $search_query ); - // Put together the results string + // Put together the results string. $user_list = '
    '', 'value' => 1, + 'tooltip' => false, ); } @@ -94,4 +101,18 @@ protected function get_base_classes(): array { return $classes; } + + /** + * Renders the tooltip if one is set. + * + * @since 3.3.6 + * @return void + */ + private function maybe_do_tooltip() { + if ( empty( $this->args['tooltip'] ) ) { + return; + } + $tooltip = new Tooltip( $this->args['tooltip'] ); + $tooltip->output(); + } } diff --git a/src/HTML/Number.php b/src/HTML/Number.php new file mode 100644 index 00000000000..54eb2c03efe --- /dev/null +++ b/src/HTML/Number.php @@ -0,0 +1,134 @@ +args['label'] ) ) { + ?> + + + get_data_elements(); + if ( $this->args['disabled'] ) : + ?> + disabled + args['readonly'] ) : + ?> + readonly + args['required'] ) : + ?> + required + args['min'] ) ) : + ?> + min="args['min'] ); ?>" + args['max'] ) ) : + ?> + max="args['max'] ); ?>" + args['step'] ) ) : + ?> + step="args['step'] ); ?>" + args['datalist'] ) ) : + ?> + list="args['name'] ); ?>-datalist" + + /> + args['datalist'] ) ) { + ?> + + args['datalist'] as $option ) { + ?> + + + + args['desc'] ) ) { + ?> + args['desc'] ) ); ?> + '', + 'name' => 'number', + 'value' => '', + 'label' => '', + 'desc' => '', + 'placeholder' => '', + 'class' => '', + 'disabled' => false, + 'data' => false, + 'required' => false, + 'min' => '', + 'max' => '', + 'step' => '', + 'datalist' => array(), + 'readonly' => false, + ); + } +} diff --git a/src/HTML/Select.php b/src/HTML/Select.php index 5f3afb26fc9..3ca438dd7cd 100644 --- a/src/HTML/Select.php +++ b/src/HTML/Select.php @@ -155,7 +155,8 @@ private function is_selected( $value ) { if ( $this->args['multiple'] ) { return selected( true, in_array( (string) $value, $this->args['selected'], true ), false ); } - if ( ! empty( $this->args['selected'] ) && ! is_array( $this->args['selected'] ) ) { + + if ( ( ! empty( $this->args['selected'] ) || is_numeric( $this->args['selected'] ) ) && ! is_array( $this->args['selected'] ) ) { return selected( $this->args['selected'], $value, false ); } diff --git a/src/HTML/Textarea.php b/src/HTML/Textarea.php index 87d8d215726..fb340588eab 100644 --- a/src/HTML/Textarea.php +++ b/src/HTML/Textarea.php @@ -45,6 +45,7 @@ class="get_css_class_string() ); ?>" args['disabled'] ) : ?> disabled + get_data_elements(); ?> >args['value'] ); ?> get_id() ); ?>" name="args['name'] ); ?>" value="args['value'] ); ?>" + get_data_elements(); ?> >