diff --git a/README.txt b/README.txt index 441dceb8..a5d71e3b 100755 --- a/README.txt +++ b/README.txt @@ -5,7 +5,7 @@ Tags: sales notification, fomo, social proof, woocommerce notification, notifica Requires at least: 5.0 Tested up to: 6.1 Requires PHP: 5.6 -Stable tag: 2.5.6 +Stable tag: 2.5.7 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -219,13 +219,16 @@ Yes. Your data is legally safe and we guarantee to not make use of your data und == Changelog == += 2.5.7 - 02/11/2022 = +- Fixed: Clicking on Date picker causes page blank issues. +- Few minor bug fixes and improvements + = 2.5.6 - 28/09/2022 = - Fixed: Language file conflict with Caching plugin. - Fixed: Fatal error when Elementor old version is enabled. - Fixed: Notices wasn’t appearing when Loco Translate plugin enabled. - Few minor bug fixes and improvements -- Few minor bug fixes and improvements = 2.5.5 - 13/09/2022 = - Added: New setting anonymous REST API for NotificationX. - Fixed: NotificationX Bar button text clicking issue diff --git a/assets/admin/css/admin.css b/assets/admin/css/admin.css index a894ef09..f8049723 100644 --- a/assets/admin/css/admin.css +++ b/assets/admin/css/admin.css @@ -1,7 +1,7 @@ @import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css); @import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap); -.nx-settings-header{align-items:center;background:#fff;border:1px solid rgba(0,0,0,.1);-webkit-display:flex;display:flex;height:auto;justify-content:flex-end;margin-bottom:20px}.nx-settings-header .nx-admin-header{align-items:center;display:flex;padding:20px}.nx-settings-header .nx-admin-header>img{width:200px}.nx-settings-header .nx-admin-header a.nx-add-new-btn{background-color:#fff;border:1px solid;color:#5614d5;cursor:pointer;font-size:12px;margin-left:40px;padding:10px 20px;text-decoration:none;transition:all .3s ease-in-out 0s}.nx-settings-header .nx-admin-header a.nx-add-new-btn:hover{background-color:#5614d5;color:#fff}.nx-settings-header .nx-admin-header a.nx-add-new-btn:focus,.nx-settings-header .nx-admin-header a.nx-add-new-btn:visited .nx-settings-header .nx-admin-header a.nx-add-new-btn:active{outline:none}.nx-settings-header .nx-header-left{align-content:center;align-items:center;display:flex}.nx-settings-header .nx-header-left .title{color:#444;font-size:22px;font-weight:600;line-height:1;margin:0;padding-left:10px}.nx-settings-header .nx-admin-logo-inline{box-shadow:1px 0 0 0 rgba(0,0,0,.1);margin-right:10px;padding:25px 20px 20px 23px}.nx-settings-header .nx-admin-logo-inline>svg{height:32px;width:31.5px}.nx-settings-header .nx-header-left,.nx-settings-header .nx-header-right{flex:1 1 auto}.nx-settings-header .nx-header-right{text-align:right}.nx-settings-header .nx-header-right>span{display:block;padding-right:0}@keyframes nxloadunload{10%{opacity:.7}50%{opacity:.5}to{opacity:1}}.nx-preloader{align-items:center;display:flex;height:100%;justify-content:center;padding:40px 50px 50px;text-align:center;width:100%}.nx-preloader img{animation-duration:1s;-webkit-animation-duration:1s;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-name:nxloadunload;-webkit-animation-name:nxloadunload;width:200px}.nx-analytics-counter-wrapper{display:flex;justify-content:space-between;margin-bottom:20px;margin-left:-15px;margin-right:-15px}.nx-analytics-counter-wrapper>div{flex:1;flex-basis:33.3333%;padding-left:15px;padding-right:15px}.nx-analytics-counter-wrapper>div:not(:last-child){border-bottom:1px solid #f2f2f2}.nx-analytics-counter-wrapper .nx-analytics-counter{background-color:#fff;border-radius:5px;color:#fff}.nx-analytics-counter-wrapper .nx-analytics-counter>a{align-items:center;color:#4c4d57;display:block;display:flex;padding:45px;text-decoration:none}.nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{margin-right:20px}.nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-number{display:block;font-size:50px;letter-spacing:2px;line-height:1}.analytics-display-area.nx-stats-tease{align-items:center;display:flex;justify-content:center;position:relative}.analytics-display-area.nx-stats-tease img{width:100%}.analytics-display-area.nx-stats-tease:before{background:rgba(105,74,233,.19);content:"";height:100%;left:0;position:absolute;top:0;width:100%}.analytics-display-area.nx-stats-tease .nx-stats-pro-tease{align-items:center;background-color:#6a4bff;border:none;border-radius:10px;box-sizing:border-box;color:#fff;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;min-height:50px;padding:2px 30px;position:absolute;transition:.3s ease-in-out;z-index:99}.analytics-display-area.nx-stats-tease .nx-stats-pro-tease a{color:#fff;text-decoration:none}.analytics-display-area.nx-stats-tease .nx-stats-pro-tease:hover{background-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}.notificationx-items{padding:0 20px}.notificationx-items .nx-admin-menu>ul li.active a{color:#5614d5}.notificationx-items .nx-admin-menu>ul li a{color:#313236;margin-right:25px;text-decoration:none}.notificationx-items .nx-admin-menu>ul li.nx-empty-trash-btn a{background-color:#fafafa;color:#dd7474;padding:5px 10px}.notificationx-items .nx-admin-items table{background:none;border:0;border-spacing:0 20px;box-shadow:none}.notificationx-items .nx-admin-items table td{font-size:15px;padding:15px 25px}.notificationx-items .nx-admin-items table thead{background-color:#fafafa}.notificationx-items .nx-admin-items table thead tr>td:first-child{width:2%}.notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:30%}.notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:25%}.notificationx-items .nx-admin-items table tbody{transform:translateY(-20px)}.notificationx-items .nx-admin-items table tbody tr{border-spacing:0 30px;box-shadow:0 10px 22px 0 rgba(0,4,32,.05);vertical-align:middle}.notificationx-items .nx-admin-items table tbody tr>td{background-color:#fff;color:#313236;margin-bottom:20px;vertical-align:middle}.notificationx-items .nx-admin-items .nx-admin-title>strong{font-size:16px}@media only screen and (max-width:1399px){.notificationx-items .nx-admin-items .nx-admin-title>strong{font-size:14px}}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions{margin-top:15px}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions>a,.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions>button{background-color:#fff;background-repeat:no-repeat;background-size:13px 15px;border:0;color:#555;cursor:pointer;font-size:14px;margin-right:10px;padding-left:20px}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-translate{background-image:url(../../images/translate.1e11f947.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-edit{background-image:url(../../images/edit.a7628030.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-regenerate{background-image:url(../../images/regenerate.d38874c3.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-duplicate{background-image:url(../../images/duplicate.1e248492.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-restore{background-image:url(../../images/restore.dacd34dd.png);background-size:16px 16px;padding-left:22px}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-trash{background-image:url(../../images/trash.907a917a.png);color:#c4434e}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-shortcode{background-image:url(../../images/shortcode.8c1d72df.png);color:#844dee}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-xss{background-image:url(../../images/xss.cec3f34d.png);background-size:16px;color:#844dee}.nx-admin-wrapper{display:flex}.nx-admin-wrapper .nx-admin-sidebar{box-sizing:border-box;flex-basis:20%;margin-left:30px;width:20%}.nx-admin-wrapper .nx-admin-sidebar .sidebar-widget{background-color:#fff;padding:20px}.nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:not(.nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:last-of-type){margin-bottom:30px}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction{padding:0}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction>h4{border-bottom:1px solid #f2f2f2;margin:0;padding:20px}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction>div{padding:5px 20px}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction>div p{margin:15px 0}.nx-admin-wrapper .nx-admin-content{flex-basis:80%;max-width:80%;width:80%}.nx-admin-wrapper .nx-admin-content #nx-title{border:none;padding:10px}.nx-admin-wrapper .nx-admin-content .wp-react-form.wprf-tabs-wrapper{margin-bottom:0}.pro-video-popup .swal2-popup{padding:20px}.pro-video-popup .swal2-icon{margin:20px auto!important}.pro-video-popup .pro-video-close-button{box-shadow:none!important;font-size:1.75rem!important}.pro-video-popup .pro-video-icon{font-size:10px;margin-bottom:12px}.pro-video-popup .pro-video-title{font-size:24px;margin-top:0;padding-top:0}.pro-video-popup .pro-video-content,.pro-video-popup .swal2-html-container{color:#25396f;font-size:16px;line-height:1.4;margin-left:0;margin-right:0;margin-top:10px}.pro-video-popup .pro-video-content span,.pro-video-popup .swal2-html-container span{display:block;text-align:justify}.pro-video-popup .pro-video-content iframe,.pro-video-popup .swal2-html-container iframe{margin-top:20px;width:100%}.pro-video-popup .nx-pro-alert-actions{display:flex!important;flex-direction:row-reverse!important;justify-content:center!important;width:100%}.pro-video-popup .pro-video-confirm-button{background:#5614d5!important;border:none!important;box-shadow:none!important;color:#fff!important;margin-left:auto!important;padding:0!important}.pro-video-popup .pro-video-confirm-button a{color:#fff!important;display:block;padding:10px 15px;text-decoration:none!important}.pro-video-popup .pro-video-confirm-button:hover{background-color:#4d12be!important;border-color:#4d12be!important;box-shadow:0 15px 25px -5px rgba(86,20,213,.3)!important;color:#fff!important}.pro-video-popup .pro-video-deny-button{background:#45c9b1!important;border:#41c8af!important;color:#fff!important;padding:0!important}.pro-video-popup .pro-video-deny-button a{color:#fff!important;display:block;padding:10px 20px;text-decoration:none!important}.pro-video-popup .pro-video-deny-button:hover{background-color:#41c8af!important;border-color:#41c8af!important;box-shadow:0 15px 25px -5px rgba(69,201,177,.3)!important;color:#fff!important}.nx-settings-documentation{background:#fff;margin-top:10px;padding:30px}.nx-settings-row{display:flex;margin-left:-15px;margin-right:-15px}.nx-admin-block{border-radius:10px;box-shadow:0 0 20px 0 #f2f2f2;display:flex;flex-basis:25%;flex-direction:column;margin-left:15px;margin-right:15px;padding:25px}header.nx-admin-block-header{align-items:center;display:flex}.nx-admin-block-header-icon{width:35px}h4.nx-admin-title{font-size:17px;margin:0 15px}.nx-admin-block-content{flex:1}.nx-admin-block-content>a{background-image:-webkit-linear-gradient(-169deg,#9271ff,#5725ff);border-radius:5px;color:#fff;display:inline-block;margin-top:20px;padding:12px 25px;text-decoration:none}.nx-settings .nx-settings-content{display:flex}.nx-settings .nx-settings-content .nx-settings-form-wrapper{flex:6}.nx-settings .nx-settings-right{align-items:center;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.07);display:flex;flex:3;justify-content:center;margin:75px 0 20px 10px;padding:20px}@media only screen and (max-width:767px){.nx-settings .nx-settings-right{padding:0}}.nx-settings .nx-settings-right .nx-sidebar{align-items:center;background-color:#fff;display:flex;flex-direction:column;justify-content:center;margin-top:34px;padding:0 20px;width:100%}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block{margin:1em auto}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo{display:block;margin:0 auto 25px!important;max-width:200px}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo img,.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo svg{display:block;margin:10px auto;width:100%}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{border:1px solid rgba(35,40,45,.185);border-radius:4px;box-shadow:none;color:rgba(35,40,45,.45);display:block;font-size:1em;letter-spacing:.065em;margin:0 auto!important;outline:none;padding:15px;text-align:center;text-decoration:none;text-transform:uppercase;transition:all .3s;width:200px}marg .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a:hover{box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.715);color:#23282d}body{background-color:#f6f7fe}.swal2-title{line-height:1}.swal2-radio{align-items:flex-start;flex-direction:column;margin-bottom:5px!important;padding:0 10px}.swal2-radio,.swal2-radio label{display:flex;justify-content:flex-start}.swal2-radio label{width:100%}.swal2-radio label input{margin-left:0;margin-top:2px}.swal2-radio label .swal2-label{font-size:15px}.swal2-radio label .swal2-label span{color:#7e7e7e;display:block;font-size:12px;font-style:italic;font-weight:700;line-height:1.1;margin-top:5px}.swal2-radio label:not(:last-child){margin-bottom:15px!important}.swal2-html-container{overflow:visible!important}.swal-shortcode-wrapper label{cursor:auto;display:block;font-size:15px}.swal-shortcode-wrapper label img{margin-right:5px;width:14px}.swal-shortcode-wrapper label code{background:rgba(106,75,255,.15);border:1px solid rgba(106,75,255,.3);color:#6a4bff;cursor:pointer;font-size:10px;white-space:nowrap}.swal-shortcode-wrapper label code:hover{background:#6a4bff;color:#fff}.swal-shortcode-wrapper label span{color:#7e7e7e;display:block;font-size:12px;font-style:italic;font-weight:700;line-height:1.1;margin-top:5px}.swal-shortcode-wrapper label:not(:last-child){margin-bottom:10px!important}.swal2-actions.nx-pro-alert-actions{justify-content:flex-end}.swal2-actions.nx-delete-actions button.swal2-cancel{background-color:#d14529;color:#fff}.swal2-actions.nx-delete-actions button.swal2-confirm{background-color:#6a4bff;color:#fff}#notificationx{@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap";font-family:DM Sans,sans-serif}@media only screen and (min-width:1399.98px){#notificationx{padding:0 10px}}#notificationx .nx-settings-header{background:transparent;border-color:transparent;margin-bottom:30px;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .nx-settings-header{margin-bottom:20px;margin-top:20px}}#notificationx .nx-settings-header .nx-admin-header{align-items:center;display:flex;padding:10px 0}#notificationx .nx-settings-header .nx-admin-header>img,#notificationx .nx-settings-header .nx-admin-header>svg{width:200px}#notificationx .nx-settings-header .nx-admin-header a.nx-add-new-btn{align-items:center;background-color:#6a4bff;border:none;border-radius:10px;box-sizing:border-box;color:#fff;display:flex;font-size:16px;font-weight:500;justify-content:center;margin-left:50px;min-height:50px;padding:2px 30px;text-align:center;transition:.3s ease-in-out}#notificationx .nx-settings-header .nx-admin-header a.nx-add-new-btn:focus,#notificationx .nx-settings-header .nx-admin-header a.nx-add-new-btn:hover{background-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .nx-admin-notice{border-radius:10px;padding:15px 25px}#notificationx .nx-admin-notice.success-notice{background:#d4edda;border:2px solid #c3e6cb;color:#155724}#notificationx .nx-admin-notice.success-notice p{margin-bottom:0;margin-top:0}#notificationx .nx-admin-notice:not(:last-child){margin-bottom:30px}#notificationx .nx-analytics-counter-wrapper{margin-bottom:30px;margin-left:-15px;margin-right:-15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-counter-wrapper{margin-bottom:20px;margin-left:-10px;margin-right:-10px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper{flex-wrap:wrap;margin-bottom:0}}#notificationx .nx-analytics-counter-wrapper>div{padding-left:15px;padding-right:15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-counter-wrapper>div{padding-left:10px;padding-right:10px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper>div{flex-basis:calc(50% - 20px);margin-bottom:20px}}#notificationx .nx-analytics-counter-wrapper>div:not(:last-child){border-bottom:none}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter{align-items:center;border-radius:10px;display:flex;height:100%}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a{color:#7c8db5;padding:35px 45px 45px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a{padding:25px 20px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a{padding:20px 15px}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a:focus,#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a:hover{box-shadow:none}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{display:flex;margin-right:30px;padding-top:10px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{margin-right:20px;padding-top:5px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{padding-top:0}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon img,#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon svg{height:70px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon img,#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon svg{height:55px}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-number{color:#25396f;font-size:50px;font-weight:700;letter-spacing:0;margin-bottom:15px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-number{font-size:40px;margin-bottom:10px}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-label{color:#7c8db5;font-size:20px;font-weight:500}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-label{font-size:18px}}#notificationx .nx-analytics-filter-wrapper{margin-bottom:30px;margin-left:0;margin-right:0}@media only screen and (max-width:1399px){#notificationx .nx-analytics-filter-wrapper{margin-bottom:20px}}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter{display:flex;flex-wrap:wrap;margin-bottom:-10px;margin-left:-15px;margin-right:-15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter{margin-left:-5px;margin-right:-5px}}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter>*{margin-bottom:10px;margin-left:15px;margin-right:15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter>*{margin-left:5px;margin-right:5px}}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper{max-width:320px;min-width:320px;width:100%}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;min-height:50px;padding:2px 0 2px 15px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__input input{box-shadow:none}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container{padding-left:0}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__single-value{color:#25396f;margin-left:0}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value{background:rgba(106,75,255,.1);border:1px solid rgba(106,75,255,.02);border-radius:30px;padding-left:3px;padding-right:2px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__label{color:#6a4bff}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__remove svg{fill:#6a4bff}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__remove:hover{background:transparent;cursor:pointer}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__remove:hover svg{fill:red}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container.analytics-select__value-container--is-multi{margin-left:-4px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator-separator{display:none}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator{padding-bottom:2px;padding-top:2px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator svg{color:#9ca6bc}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator.analytics-select__clear-indicator{padding-left:0;padding-right:0}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control:focus-within{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .wprf-control-datetime>.components-button{background:#fff;border:1.5px solid #e6effb;border-radius:5px;box-sizing:border-box;color:#6a4bff;cursor:pointer;font-size:15px;font-weight:700;min-height:50px;padding:2px 25px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .wprf-control-datetime:focus-within>.components-button{border-color:#7c8db5}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .wprf-control-datetime .components-datetime__time fieldset:last-child{display:none}#notificationx .nx-analytics-graph-wrapper{background-color:#fff;border-radius:10px;margin:0;padding:30px 30px 20px}#notificationx .notificationx-items{padding:0}#notificationx .notificationx-items .nx-admin-menu{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .notificationx-items .nx-admin-menu{margin-top:20px}}@media only screen and (max-width:960px){#notificationx .notificationx-items .nx-admin-menu{margin-top:0}}#notificationx .notificationx-items .nx-admin-menu>ul{margin-bottom:0;margin-top:0}#notificationx .notificationx-items .nx-admin-menu>ul:not(:last-child){margin-right:10px}#notificationx .notificationx-items .nx-admin-menu>ul li{display:inline-block}#notificationx .notificationx-items .nx-admin-menu>ul li a{align-items:center;background:rgba(106,75,255,.05);border:2px solid rgba(106,75,255,.05);border-radius:10px;box-shadow:none;box-sizing:border-box;color:#25396f;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;margin-right:20px;min-height:50px;outline:none;padding:2px 25px;text-decoration:none;text-transform:uppercase;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-menu>ul li a{border-radius:10px;font-size:12px;min-height:42px;padding:3px 15px}}@media only screen and (max-width:1399px){#notificationx .notificationx-items .nx-admin-menu>ul li a{border-radius:8px;font-size:12px;min-height:40px;padding:3px 15px}}#notificationx .notificationx-items .nx-admin-menu>ul li.nx-active a{background:#6a4bff;border-color:#6a4bff;color:#fff}#notificationx .notificationx-items .nx-admin-menu>ul li.nx-empty-trash-btn a{background-color:#fafafa;color:#dd7474;padding:5px 10px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper{display:flex;flex-wrap:wrap}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select{height:40px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-select-control__input{background:#fff;border:2px solid #e8e7fe;border-radius:5px;box-shadow:none;color:#555;font-size:14px;font-weight:500;height:40px;min-width:150px;outline:none;padding-left:12px;padding-right:30px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-input-control__suffix>div{right:5px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-input-control__suffix>div svg{fill:#7c8db5}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-input-control__backdrop{display:none}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control{background:#fff;border:2px solid #e8e7fe;border-radius:5px;height:40px;min-width:175px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__value-container{height:37px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__value-container .bulk-action-select__input input{box-shadow:none;min-height:18px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__indicators{height:37px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__indicators .bulk-action-select__indicator-separator{display:none}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .nx-bulk-action-button{align-items:center;background-color:#6a4bff;border:none;border-radius:7px;box-sizing:border-box;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;padding:2px 30px;transition:.3s ease-in-out}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .nx-bulk-action-button:hover{background-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .nx-bulk-action-button:not(:first-child){margin-left:10px}#notificationx .notificationx-items .nx-admin-not-found,#notificationx .notificationx-items .nx-admin-not-found p{color:#c4434e;margin:0}#notificationx .notificationx-items .nx-admin-items .nx-list-table-wrapper{display:block;margin-top:20px;overflow-x:auto;width:100%}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-list-table-wrapper{margin-top:10px}}#notificationx .notificationx-items .nx-admin-items table{border-spacing:0 5px}#notificationx .notificationx-items .nx-admin-items table td{font-size:18px;padding:10px 25px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table td{font-size:14px}}#notificationx .notificationx-items .nx-admin-items table thead{background-color:transparent}#notificationx .notificationx-items .nx-admin-items table thead tr td{background-color:#fff;border-bottom:none;color:#7c8db5;height:60px;padding:10px 20px;vertical-align:middle}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr td{height:50px;padding:5px 10px}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child{border-top-left-radius:10px;padding-right:0;width:20px}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child{width:20px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector{align-items:center;align-self:center;display:flex}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector input[type=checkbox]{border-color:#e6effb;height:20px;margin-left:0;min-width:20px;width:20px}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector input[type=checkbox]:before{margin:1px 0 0;width:17px}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector input[type=checkbox]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:300px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:250px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:150px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:190px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:170px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:170px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(4){width:50px}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(4){width:50px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(5){width:120px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(5){width:100px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(5){width:120px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(6){width:60px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(6){width:50px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(6){width:70px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(7){width:130px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(7){width:110px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(7){width:130px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:last-child{border-top-right-radius:10px;width:175px}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:last-child{width:175px!important}}#notificationx .notificationx-items .nx-admin-items table tbody{transform:translateY(0)}#notificationx .notificationx-items .nx-admin-items table tbody tr{border-spacing:0 30px;box-shadow:none;vertical-align:middle}#notificationx .notificationx-items .nx-admin-items table tbody tr>td{background-color:#fff;color:#25396f;font-size:18px;margin-bottom:20px;padding:10px 20px;vertical-align:middle}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table tbody tr>td{font-size:14px;padding:5px 10px}}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child{padding-right:0;width:20px}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector{align-items:center;align-self:center;display:flex;height:20px;transform:translateY(3px)}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector input[type=checkbox]{border-color:#e6effb;height:20px;margin-left:0;min-width:20px;width:20px}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector input[type=checkbox]:before{margin:1px 0 0;width:17px}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector input[type=checkbox]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .notificationx-items .nx-admin-items .nx-admin-title a{color:#25396f;display:inline-flex;font-size:18px;font-weight:500;line-height:1.1}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-title a{font-size:14px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-title a:focus,#notificationx .notificationx-items .nx-admin-items .nx-admin-title a:hover{box-shadow:none;color:#24376b;outline:none}#notificationx .notificationx-items .nx-admin-items .nx-admin-preview{align-items:center;background-color:#f6f7fe;border:2px solid rgba(12,207,194,.05);border-radius:10px;box-sizing:border-box;display:inline-flex;height:90px;justify-content:center;padding:12px;width:200px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-preview{height:70px;padding:5px;width:170px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-preview img{background-color:transparent;box-shadow:none;box-sizing:border-box;display:block;max-height:100%;max-width:100%;padding:0}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions{display:flex;margin-top:15px}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button{background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:13px 15px;border:0;box-shadow:none;color:#555;cursor:pointer;font-size:14px;height:20px;margin-right:10px;padding-left:0;position:relative;width:20px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button{font-size:12px;height:15px;width:15px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a span,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button span{display:none}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a.nx-admin-title-xss:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button.nx-admin-title-xss:before{width:95px}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:before{background:#6a4bff;border-radius:3px;bottom:calc(100% + 5px);color:#fff;content:attr(title);display:inline-flex;font-size:12px;font-weight:500;justify-content:center;left:50%;line-height:1.2;opacity:0;padding:5px 10px;position:absolute;text-align:center;text-transform:uppercase;transform:translateX(-50%);visibility:hidden}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:before{font-size:10px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:after,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:after{border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #6a4bff;bottom:calc(100% + 1px);content:"";left:50%;opacity:0;position:absolute;transform:translateX(-50%);visibility:hidden}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:hover:after,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:hover:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:hover:after,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:hover:before{opacity:1;visibility:visible}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-translate{background-image:url(../../images/translate.1e11f947.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-edit{background-image:url(../../images/edit.a7628030.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-regenerate{background-image:url(../../images/regenerate.d38874c3.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-duplicate{background-image:url(../../images/duplicate.1e248492.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-restore{background-image:url(../../images/restore.dacd34dd.png);background-size:16px 16px;padding-left:22px}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-trash{background-image:url(../../images/trash.907a917a.png);color:#c4434e}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-shortcode{background-image:url(../../images/shortcode.8c1d72df.png);color:#844dee}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-xss{background-image:url(../../images/xss.cec3f34d.png);background-size:16px;color:#844dee}#notificationx .notificationx-items .nx-admin-items-footer{align-items:center;display:flex;margin-top:20px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control{align-items:center;display:flex;margin-right:10px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-base-control__field{margin-bottom:0}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-base-control__field .components-input-control__label{margin-right:5px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex{align-items:center;flex-direction:row}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex .components-input-control__container{border-radius:5px;min-height:36px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex .components-input-control__container select{border-radius:5px;min-height:34px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex .components-input-control__container .components-input-control__backdrop{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;min-height:36px;padding:2px 0 2px 15px}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination{align-items:center;display:flex;margin-bottom:0;margin-left:auto;margin-top:0}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination>:not(:last-child){margin-right:5px}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination:after{clear:both;content:" ";display:block;height:0;overflow:hidden;visibility:hidden}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-total-text{align-items:center;display:flex;height:36px;justify-content:center}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item{background-color:rgba(106,75,255,.15);border-radius:10px;cursor:pointer;display:flex;height:36px;margin-bottom:0;min-width:36px;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item button{align-items:center;box-shadow:none;color:#6a4bff;cursor:pointer;display:flex;justify-content:center;text-decoration:none;transition:none;width:100%}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:focus,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:hover{background:#6a4bff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:hover a{color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active{background:#6a4bff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active:hover a{color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev{background:rgba(106,75,255,.15);border-radius:10px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev button{align-items:center;border-radius:10px;box-shadow:none;color:transparent;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev button:after{align-items:center;border-radius:10px;bottom:0;box-shadow:none;color:#6a4bff;content:"•••";cursor:pointer;display:flex;font-size:.75rem;justify-content:center;left:0;position:absolute!important;position:relative;right:0;text-decoration:none;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover{background:#6a4bff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover button{text-decoration:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover button:after{color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev{align-items:center;border-radius:10px;color:#6a4bff;cursor:pointer;display:flex;font-size:.75rem;height:36px;justify-content:center;margin-bottom:0;min-width:36px}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button{align-items:center;background-color:rgba(106,75,255,.15);border-radius:10px;box-shadow:none;color:transparent;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button:after{align-items:center;background-color:rgba(106,75,255,.15);border-radius:10px;bottom:0;box-shadow:none;color:#6a4bff;cursor:pointer;display:flex;font-size:.75rem;justify-content:center;left:0;position:absolute!important;position:relative;right:0;text-decoration:none;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover button{background:#6a4bff;color:transparent!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover button:after{background:#6a4bff;color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button:after{content:"<"}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button:after{content:">"}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled button{background:hsla(0,0%,80%,.15)!important;color:transparent!important;cursor:not-allowed!important;text-decoration:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled button:after{background:hsla(0,0%,80%,.15)!important;color:#a3a3a3!important;cursor:not-allowed!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover button{background:hsla(0,0%,80%,.15)!important;color:transparent!important;cursor:not-allowed!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover button:after{background:hsla(0,0%,80%,.15)!important;color:#a3a3a3!important;cursor:not-allowed!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev{align-items:center;display:flex;height:36px;justify-content:center}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button{height:36px;text-decoration:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button:after{height:36px}#notificationx .notificationx-items .nx-admin-status label{cursor:pointer;display:flex;font-size:24px;height:20px;min-height:20px;position:relative;width:40px}#notificationx .notificationx-items .nx-admin-status label:after,#notificationx .notificationx-items .nx-admin-status label:before{content:"";position:absolute}#notificationx .notificationx-items .nx-admin-status label:before{background:#7c8db5;border:1px solid #7c8db5;border-radius:50px;box-sizing:border-box;height:20px;left:0;margin:0;transition:background .1s ease .1s;width:40px}#notificationx .notificationx-items .nx-admin-status label:after{animation:switch-off .3s ease-out;background:#fff;border-radius:50px;box-shadow:inset 0 0 0 5px #fcfff4;height:18px;left:1px;top:1px;transition:all .2s ease;width:18px;z-index:2}#notificationx .notificationx-items .nx-admin-status input[type=checkbox]{display:none;visibility:hidden}#notificationx .notificationx-items .nx-admin-status input[type=checkbox]:checked+label:before{background:#6a4bff;border:1px solid #6a4bff}#notificationx .notificationx-items .nx-admin-status input[type=checkbox]:checked+label:after{animation:switch-on .3s ease-out;background:#fff;left:21px}#notificationx .notificationx-items .nx-admin-stats{color:#6a4bff}#notificationx .notificationx-items .nx-admin-date span{color:#7c8db5;font-size:14px}#notificationx .nx-admin-wrapper{margin-left:0;margin-right:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar{margin-left:30px;min-width:240px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-sidebar{margin-left:20px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget{background-color:#fff;border-radius:10px;padding:20px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:not(#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:last-of-type){margin-bottom:30px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:not(#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:last-of-type){margin-bottom:20px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget{padding:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-title{align-items:center;border-bottom:1px solid #f2f2f2;color:#7c8db5;display:flex;min-height:54px;padding:0 20px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-title h4{font-size:18px;font-weight:500;letter-spacing:.3px;line-height:1.3;margin:0;padding:0}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-title h4{font-size:15px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content{padding:20px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget{align-items:center;display:flex;margin-bottom:15px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget label{color:#7c8db5;font-size:16px;font-weight:500;line-height:1.4;line-height:1.1;margin-right:10px;white-space:nowrap}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget label{font-size:13px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime{margin-left:auto}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime>.components-button{background:#fff;border:1.5px solid #e6effb;border-radius:5px;box-sizing:border-box;color:#6a4bff;cursor:pointer;font-size:13px;font-weight:700;line-height:1;min-height:38px;padding:2px 10px}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime>.components-button{font-size:11px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime:focus-within>.components-button{border-color:#7c8db5}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime .components-popover__content{right:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group{display:flex;justify-content:space-between;margin-bottom:-5px;margin-left:-5px;margin-right:-5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button{align-items:center;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;margin-bottom:5px;margin-left:5px;margin-right:5px;min-height:36px;outline:none;padding:2px 20px;text-decoration:none;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button{font-size:14px;min-height:32px;padding:2px 15px}}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button{font-size:12px;min-height:30px;padding:2px 15px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:focus,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button.is-danger{background:transparent;border:1.5px solid #f85175;color:#f85679}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button.is-danger:focus,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button.is-danger:hover{background-color:#f85175;border-color:#f85175;box-shadow:0 15px 25px -5px rgba(248,86,121,.3);color:#fff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:disabled,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:disabled:focus,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:disabled:hover{background-color:#a7b6d8;border-color:#a7b6d8;box-shadow:none;color:#000;cursor:not-allowed}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .instructions-header{align-items:center;display:flex;margin-bottom:5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .instructions-header .title{color:#3c434a;font-size:16px;font-weight:600}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .instructions-header .title:not(:first-child){margin-left:5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p{color:#7c8db5;font-size:14px;font-weight:500}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p{font-size:13px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p a{color:#6a4bff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p:first-child{margin-top:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p:last-child{margin-bottom:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .nx-template-keys-wrapper h3{color:#3c434a;font-size:16px;font-weight:600;margin-bottom:5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul{margin-top:10px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul li{color:#7c8db5;font-size:14px;font-weight:500;line-height:1.15}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul li{font-size:13px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul li a{color:#6a4bff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction{padding:0}#notificationx .nx-admin-wrapper .nx-admin-content{flex-grow:1;max-width:none;width:auto}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title{align-items:center;background:transparent;border:2px dashed #cbd6e5;border-radius:10px;color:#25396f;font-size:20px;font-weight:500;height:60px;padding:2px 25px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-content #nx-title{font-size:18px;height:50px;padding:2px 20px}}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title::-moz-placeholder{color:#a7b6d8}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title::placeholder{color:#a7b6d8}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title:focus{border-color:#7c8db5;box-shadow:none}#notificationx .nx-admin-wrapper .nx-admin-content .wp-react-form.wprf-tabs-wrapper{margin-top:30px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-content .wp-react-form.wprf-tabs-wrapper{margin-top:20px}}#notificationx .nx-no-items{align-items:center;display:flex;flex-direction:column;margin-left:auto;margin-right:auto;text-align:center}#notificationx .nx-no-items img,#notificationx .nx-no-items svg{height:70px;width:auto}#notificationx .nx-no-items h4{font-size:18px;font-weight:700;margin-bottom:0;margin-top:20px;text-transform:uppercase}#notificationx .nx-no-items p{color:#7c8db5;font-size:14px;line-height:1.7;max-width:400px}#notificationx .nx-no-items p b{color:#25396f}#notificationx .nx-no-items:not(:first-child){margin-top:15px}#notificationx .Toastify__toast--info{background:#6a4bff}#notificationx .Toastify__toast--error{background:#e93e41}#notificationx .Toastify__toast--warning{background:#fc9714}#notificationx .Toastify__close-button{color:#fff;opacity:.5}#notificationx .nx-toast-wrapper{align-items:center;display:flex}#notificationx .nx-toast-wrapper img,#notificationx .nx-toast-wrapper object,#notificationx .nx-toast-wrapper svg{fill:#fff;color:#fff;display:inline-flex;height:45px;width:45px}#notificationx .nx-toast-wrapper p{color:#fff;margin-left:10px}#notificationx .wp-react-form.wprf-tabs-wrapper{background:transparent;border:none;margin:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper{background-color:transparent;flex-basis:auto;margin-bottom:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item{align-items:center;background:rgba(106,75,255,.05);border:2px solid #e8e7fe;border-radius:25px;box-sizing:border-box;color:#6a4bff;display:flex;flex-direction:column;height:120px;justify-content:center;margin-bottom:30px;min-width:130px;padding:5px;width:130px}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item{border-radius:15px;height:100px;min-width:100px;width:100px}}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item{border-radius:10px;height:50px;margin-bottom:20px;min-width:50px;width:50px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item svg{fill:#6a4bff;display:flex;margin-top:5px;width:35px}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item svg{margin-top:0;width:30px}}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item svg{width:22px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item span{color:#6a4bff;font-size:16px;font-weight:500;letter-spacing:0;line-height:1.4;margin-top:15px;text-transform:uppercase}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item span{font-size:13px;margin-top:7px}}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item span{display:none}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item:not(:last-child){position:relative}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item:not(:last-child):after{background:#e8e7fe;content:"";height:30px;left:50%;position:absolute;top:calc(100% + 2px);transform:translateX(-50%);width:2px}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item:not(:last-child):after{height:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete{background-color:#6a4bff;border-color:#6a4bff;color:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav svg,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete svg{fill:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav span,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete span{color:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav:not(:last-child),#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete:not(:last-child){position:relative}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav:not(:last-child):after,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete:not(:last-child):after{background:#6a4bff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav{flex-wrap:wrap;margin-bottom:-10px;margin-left:-10px;margin-right:-10px}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item{align-items:center;background:rgba(106,75,255,.05);border:2px solid rgba(106,75,255,.05);border-radius:15px;box-shadow:none;box-sizing:border-box;color:#25396f;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;margin-bottom:10px;margin-left:10px;margin-right:10px;min-height:50px;padding:5px 25px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item{border-radius:10px;font-size:12px;margin-bottom:10px;margin-right:10px;min-height:42px;padding:3px 15px}}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item{border-radius:10px;font-size:12px;margin-bottom:10px;margin-right:10px;min-height:40px;padding:3px 15px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav{background:#6a4bff;border-color:#6a4bff;color:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper{background:transparent;padding:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content>h4{background:transparent;color:#25396f;font-size:30px;font-weight:700;letter-spacing:0;line-height:1.3;margin-bottom:30px;margin-top:0;padding:0;text-transform:none}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content>h4{margin-bottom:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg){border:none;margin-bottom:0;padding:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-title{align-items:center;background:#fff;border-top-left-radius:10px;border-top-right-radius:10px;box-sizing:border-box;display:flex;flex:0 0 100%;margin-bottom:2px;min-height:60px;padding:5px 30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-title{min-height:50px;padding:5px 20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-title h4{background:transparent;color:#25396f;font-size:18px;font-weight:700;letter-spacing:0;line-height:1.3;margin:0;padding:0;text-transform:uppercase}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields{background:#fff;box-sizing:border-box;flex:0 0 100%;padding:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields{padding:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields:first-child{border-top-left-radius:10px;border-top-right-radius:10px}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields:last-child{border-bottom-left-radius:10px;border-bottom-right-radius:10px}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg):not(:last-child){margin-bottom:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg):not(:last-child){margin-bottom:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg{margin-top:30px;padding-bottom:0}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg{margin-top:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg>.wprf-section-title>h4{background:transparent;color:#25396f;font-size:30px;font-weight:700;letter-spacing:0;line-height:1.3;margin-bottom:30px;margin-top:0;padding:0;text-transform:none}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg>.wprf-section-title>h4{margin-bottom:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg>.wprf-section-fields{padding:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button{display:flex;justify-content:space-between;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button{margin-top:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button .wprf-btn{align-items:center;background:transparent;border:1.5px solid #6a4bff;border-radius:10px;color:#6a4bff;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:50px;outline:none;padding:2px 35px;text-decoration:none;transition:.3s ease-in-out}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button .wprf-btn:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button .wprf-btn.wprf-step-btn-next{margin-left:auto}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit{display:flex;justify-content:space-between;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit{margin-top:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button{align-items:center;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:50px;outline:none;padding:2px 35px;text-decoration:none;transition:.3s ease-in-out}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button{border-radius:5px;font-size:14px;min-height:40px;padding:2px 20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button:focus,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar .wprf-tab-content-wrapper{margin-left:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar .wprf-tab-content-wrapper{margin-left:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper:not(.wprf-tab-menu-as-sidebar) .wprf-tab-content-wrapper{margin-top:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper:not(.wprf-tab-menu-as-sidebar) .wprf-tab-content-wrapper{margin-top:20px}}#notificationx .wprf-control .wprf-row{margin:-15px}@media only screen and (max-width:1399px){#notificationx .wprf-control .wprf-row{margin:-10px}}#notificationx .wprf-control .wprf-row .wprf-column{padding:15px}@media only screen and (max-width:1399px){#notificationx .wprf-control .wprf-row .wprf-column{padding:10px}}#notificationx .wprf-control .wprf-row .wprf-column-3{width:33.333333%}@media only screen and (max-width:1279px){#notificationx .wprf-control .wprf-row .wprf-column-3{width:50%}}@media only screen and (max-width:575px){#notificationx .wprf-control .wprf-row .wprf-column-3{width:100%}}@media only screen and (max-width:1279px){#notificationx .wprf-control .wprf-row .wprf-column-4{width:50%}}@media only screen and (max-width:575px){#notificationx .wprf-control .wprf-row .wprf-column-4{width:100%}}#notificationx .wprf-button{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:40px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-button:focus,#notificationx .wprf-button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option{border-radius:10px;box-shadow:none;display:flex;flex-direction:column;height:100%;margin-top:0;min-height:84px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label{background-color:#f6f7fe;border:2px solid rgba(12,207,194,.05);border-radius:10px;color:#25396f;flex-grow:1;font-size:18px;font-weight:500;line-height:1.3;padding:5px;text-align:center}@media only screen and (max-width:1599px){#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label{font-size:14px}}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label .wprf-label-image{max-height:85px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label .wprf-badge .wprf-badge-item{align-items:center;background:#6a4bff;box-shadow:none;color:#fff;display:flex;height:24px;justify-content:center;left:-32px;line-height:1;top:5px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-label-has-image{padding:15px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label:not(.wprf-label-has-image){background-color:#6a4bff;color:#fff}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label:not(.wprf-label-has-image) .wprf-badge .wprf-badge-item{background:#f6f7fe;color:#6a4bff}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:before{background:#fff;right:10px;top:10px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:after{border-bottom:2px solid #6a4bff;border-right:2px solid #6a4bff;height:8px;right:17.5px;top:13.5px;width:3px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected.wprf-option-has-image:before{background:#45c9b1}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected.wprf-option-has-image:after{border-bottom:2px solid #fff;border-right:2px solid #fff}#notificationx .wprf-image-uploader{margin-bottom:-5px}#notificationx .wprf-image-uploader>*{margin-bottom:5px}#notificationx .wprf-control-wrapper{align-items:flex-start}@media only screen and (max-width:700px){#notificationx .wprf-control-wrapper{flex-direction:column}}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper{display:flex}@media only screen and (max-width:700px){#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper{align-items:flex-start;flex-direction:column}}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper .wprf-control-label{align-items:flex-start;display:inline-flex}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated .wprf-control-field{filter:blur(.5px);opacity:.6}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated .wprf-description{display:none}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated .wprf-toggle-wrap{opacity:.6}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated input[type=checkbox]{background:#7c8db5;border-color:transparent;box-shadow:none;opacity:.6}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper .wprf-badge{align-items:center;background:#5614d5;border-radius:2px;color:#fff;display:inline-flex;height:13px;justify-content:center;margin-left:5px;min-width:25px;width:25px}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper .wprf-badge .wprf-badge-item{display:inline-flex;font-size:9px;line-height:1;text-transform:uppercase}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label{box-sizing:border-box;flex:30%;margin-bottom:10px;margin-top:10px;min-height:20px;padding-right:10px}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label{flex:20%}}@media only screen and (max-width:700px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label{flex:100%;margin-top:0}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label label{color:#7c8db5;font-size:15px;font-weight:500;letter-spacing:-.03px;line-height:1.2;margin-bottom:5px;margin-top:5px}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label label{font-size:13px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field{flex:70%;min-height:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;margin-right:10px;max-width:400px;padding:10px 15px;width:100%}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea{padding:8px 10px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea::placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea.readonly,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea[readonly]{background:rgba(106,75,255,.1)}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number],#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;margin-right:10px;max-width:400px;min-height:40px;padding:2px 15px;width:100%}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number],#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]{padding:2px 10px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]::-moz-placeholder,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]::placeholder,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]::placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]:focus,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]{max-width:150px;padding-right:5px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input.readonly,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[readonly]{background:rgba(106,75,255,.1)}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-picker-display{box-shadow:0 0 2px rgba(0,0,0,.3);margin-bottom:0;margin-top:3px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-colorpicker-reset{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;bottom:8px;box-sizing:border-box;color:#fff;display:inline-flex;font-size:13px;font-weight:500;justify-content:center;line-height:1.15;min-height:25px;outline:none;padding:2px 15px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-colorpicker-reset:focus,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-colorpicker-reset:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .components-color-picker__inputs-toggle-wrapper .components-button{cursor:pointer;min-height:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper{margin-right:10px;max-width:400px;min-width:170px;width:100%}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;min-height:40px;padding:2px 0 2px 15px}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control{padding:2px 0 2px 10px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container{padding-left:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__single-value{color:#25396f;margin-left:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value{background:rgba(106,75,255,.1);border:1px solid rgba(106,75,255,.02);border-radius:30px;padding-left:3px;padding-right:2px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__label{color:#6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__remove svg{fill:#6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__remove:hover{background:transparent;cursor:pointer}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__remove:hover svg{fill:red}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container.wprf-select__value-container--is-multi{margin-left:-4px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator-separator{display:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator{padding-bottom:2px;padding-top:2px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator svg{color:#9ca6bc}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator.wprf-select__clear-indicator{padding-left:0;padding-right:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control:focus-within{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__menu{z-index:10}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=checkbox]{border-color:#e6effb;border-radius:5px;border-width:2px;height:30px;margin-left:0;margin-right:10px;min-width:30px;width:30px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=checkbox]:before{height:27px;margin:1px 0 0;width:24px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=checkbox]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field>input[type=checkbox]{margin-bottom:5px;margin-top:5px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap{height:20px;margin-right:10px;width:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label{cursor:pointer;display:flex;font-size:24px;height:20px;min-height:20px;position:relative;width:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:after,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:before{content:"";position:absolute}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:before{background:#7c8db5;border:1px solid #7c8db5;border-radius:50px;box-sizing:border-box;height:20px;left:0;margin:0;transition:background .1s ease .1s;width:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:after{animation:switch-off .3s ease-out;background:#fff;border-radius:50px;box-shadow:inset 0 0 0 5px #fcfff4;height:18px;left:1px;top:1px;transition:all .2s ease;width:18px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap input[type=checkbox]{display:none;visibility:hidden}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap input[type=checkbox]:checked+label:before{background:#6a4bff;border:1px solid #6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap input[type=checkbox]:checked+label:after{animation:switch-on .3s ease-out;background:#fff;left:21px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap.wprf-checked label:before{background:#6a4bff;border:1px solid #6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap.wprf-checked label:after{animation:switch-on .3s ease-out;background:#fff;left:21px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-description,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-help{color:#7c8db5;font-size:14px;font-weight:400;line-height:24px;margin:8px 10px 8px 0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-description mark,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-help mark{background-color:transparent;color:#6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-description a,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-help a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner{display:flex;flex-wrap:wrap;width:100%}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner.wprf-display-inline{margin-bottom:-10px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner.wprf-display-inline>*{margin-bottom:10px;max-width:180px;min-width:180px;width:180px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner .wprf-control-wrapper.wprf-type-number.wprf-inline-label{align-items:center;flex:1;margin-bottom:5px!important}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner .wprf-control-wrapper.wprf-type-number.wprf-inline-label .wprf-control-label{flex:0 0 100%;margin-bottom:5px;margin-top:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-preview img{border-radius:5px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-remove-btn{background:#f85656;border-radius:3px;box-sizing:border-box;min-height:36px;transition:.3s ease-in-out}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-remove-btn:hover{background:#f74747;box-shadow:0 15px 25px -5px rgba(248,86,86,.3)}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-upload-btn{background:transparent;border:1px solid #6a4bff;border-radius:3px;box-sizing:border-box;color:#6a4bff;min-height:36px;transition:.3s ease-in-out}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-upload-btn:hover{background:#6a4bff;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .wprf-control-wrapper.wprf-style-card{align-items:center;background-color:#f6f7fe;border:2px solid rgba(12,207,194,.05);border-radius:10px;box-sizing:border-box;color:#25396f;display:flex;flex-direction:row!important;flex-grow:1;font-size:18px;font-weight:500;height:100%;justify-content:space-between;min-height:80px;padding:5px 20px!important;position:relative}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-style-card{padding:5px 15px}}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-badge-wrapper{align-items:center;flex-wrap:wrap;height:100%;justify-content:space-between;z-index:1}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-badge{height:100%;left:-2px;overflow:hidden;position:absolute;top:-2px;width:100%;z-index:-1}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-badge .wprf-badge-item{align-items:center;background:#6a4bff;box-shadow:none;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;left:-32px;line-height:1;position:absolute;text-align:center;text-transform:uppercase;top:5px;transform:rotate(-45deg);width:100px;z-index:9}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label{flex:1;margin-bottom:5px;margin-right:10px;margin-top:5px}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label label{color:#25396f;font-size:16px;font-weight:600;line-height:1}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label label{font-size:16px}}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label>a{align-items:center;border:1px solid #000;border-radius:50%;display:inline-block;display:inline-flex;height:10px;justify-content:center;line-height:10px;margin-left:10px;opacity:.3;text-align:center;transition:opacity .3s ease 0s;width:10px}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label>a svg{height:6px;width:6px}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-field{flex:0;margin-right:auto}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-field .wprf-toggle-wrap{margin-right:0}#notificationx .wprf-code-viewer{max-width:700px;width:100%}#notificationx .wprf-reporting_monthly_help_text-message{color:#7c8db5;font-size:14px;font-weight:400;line-height:24px;margin-right:10px;margin-top:-15px;padding-left:30%}@media only screen and (max-width:1399px){#notificationx .wprf-reporting_monthly_help_text-message{padding-left:25%}}@media only screen and (max-width:700px){#notificationx .wprf-reporting_monthly_help_text-message{padding-left:0}}#notificationx .wprf-reporting_monthly_help_text-message p{font-size:14px;margin-bottom:0;margin-top:0}#notificationx .wprf-reporting_monthly_help_text-message mark{background-color:transparent;color:#6a4bff}#notificationx .wprf-reporting_monthly_help_text-message a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-repeater-label .wprf-repeater-button{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;margin-top:15px;min-height:40px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-repeater-label .wprf-repeater-button:focus,#notificationx .wprf-repeater-label .wprf-repeater-button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-message{box-sizing:border-box}#notificationx .wprf-message p{font-size:16px}#notificationx .wprf-message p a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-message p .nx-on-click-install{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:36px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-message p .nx-on-click-install:focus,#notificationx .wprf-message p .nx-on-click-install:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 5px 10px -5px rgba(86,20,213,.2);color:#fff;outline:none}#notificationx .wprf-message.wprf-error-message{background:#fff3cd;border:2px solid #ffeeba;border-radius:10px;color:#856404;padding:15px 25px}#notificationx .wprf-message.wprf-error-message p{margin-bottom:0;margin-top:0}#notificationx .wprf-name-nx-bar_with_elementor_install .wprf-description{margin-left:0}#notificationx .wprf-name-nx-bar_with_elementor_install p{font-size:16px}#notificationx .wprf-name-nx-bar_with_elementor_install p a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-name-nx-bar_with_elementor_install p .nx-on-click-install{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:36px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-name-nx-bar_with_elementor_install p .nx-on-click-install:focus,#notificationx .wprf-name-nx-bar_with_elementor_install p .nx-on-click-install:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .template-options{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:20px;margin-left:-3px;margin-right:-3px}#notificationx .template-options>*{margin-bottom:5px;margin-left:3px;margin-right:3px}#notificationx .wprf-editor{display:flex;flex-direction:column}#notificationx .wprf-editor .wprf-editor-main{flex-grow:1;padding-bottom:5px;padding-top:5px}#notificationx .wprf-editor .wprf-editor-main .public-DraftStyleDefault-block{margin-bottom:5px;margin-top:5px}#notificationx .advance-template-doc,#notificationx .advance-template-label{color:#7c8db5;font-size:14px;font-weight:400;line-height:24px;margin-left:0}#notificationx .advance-template-doc mark,#notificationx .advance-template-label mark{background-color:transparent;color:#6a4bff}#notificationx .advance-template-doc a,#notificationx .advance-template-label a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-slider-wrap{align-items:flex-start;display:flex}#notificationx .wprf-slider-wrap .wprf-slider-control-head{flex:30%;margin-bottom:10px;margin-top:10px;min-height:20px}#notificationx .wprf-slider-wrap .wprf-slider-control-head label{color:#7c8db5;font-size:16px;font-weight:500;line-height:1.2;margin-bottom:5px;margin-top:5px}#notificationx .wprf-slider-wrap .wprf-slider-control{flex:70%;min-height:40px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper{height:40px;margin:0 10px;max-width:380px;width:calc(100% - 20px)}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .components-range-control__slider{border-radius:10px;height:10px;margin:15px 10px 0 -10px;width:100%}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .exqw8y24{background:#e6effb;border-radius:10px;height:10px;margin-left:-10px;margin-right:-10px;margin-top:15px;padding:2px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .components-range-control__track{background-color:#6a4bff;border-radius:10px;height:6px;margin:0 0 0 -8px;top:17px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .exqw8y29 span{border:2px solid #6a4bff;margin-top:10px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control{width:100px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;margin-right:0;min-height:36px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]::placeholder{color:#a7b6d8}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control .components-input-control__backdrop{display:none}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__reset{align-items:center;background:transparent;border:1px solid #6a4bff;border-radius:3px;box-sizing:border-box;color:#6a4bff;display:inline-flex;font-size:15px;justify-content:center;min-height:36px;padding:2px 20px;transition:.3s ease-in-out}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__reset:hover{background:#6a4bff;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image{transform:scale(1);transition:transform .1s ease-in-out}#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg{max-height:120px}#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover{transform:scale(2.75);z-index:100}#notificationx .nx-settings .nx-settings-content{display:flex;margin-top:30px;padding-left:0;padding-right:0}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-content{margin-top:20px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-content{flex-direction:column-reverse}}#notificationx .nx-settings .nx-settings-content .wprf-tab-flex{display:flex}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-content .wprf-tab-flex{flex-direction:column-reverse}}#notificationx .nx-settings .nx-settings-content .wprf-tab-flex .wprf-tab-contents{flex:6}#notificationx .nx-settings .nx-settings-right{border-radius:10px;box-shadow:none;flex:2;margin-bottom:0;margin-top:0;padding:20px}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right{margin-bottom:20px;margin-left:0}}#notificationx .nx-settings .nx-settings-right .nx-sidebar{margin-top:0}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right .nx-sidebar{padding:0}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin:0;width:100%}}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo{margin-bottom:50px;max-width:300px}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo{margin-bottom:30px;max-width:250px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo,#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo img{margin:0}}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta{display:flex}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{align-items:center;background:rgba(106,75,255,.05);border:2px solid rgba(106,75,255,.05);border-radius:10px;box-sizing:border-box;color:#25396f;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;letter-spacing:0;min-height:46px;outline:none;padding:2px 40px;transition:all .3s ease-in-out;width:auto}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{margin-top:0;padding:2px 25px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{margin:0}}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a:hover{background:#6a4bff;border-color:#6a4bff;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .nx-settings .nx-settings-documentation{background-color:transparent;margin:30px 0 0;padding:0}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-documentation{margin-top:20px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row{margin-left:-10px;margin-right:-10px}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row{flex-wrap:wrap}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block{background:#fff;border:none;border-radius:10px;box-shadow:none;margin-left:10px;margin-right:10px;outline:none;padding:30px}@media only screen and (max-width:1599px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block{padding:20px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block{flex-basis:calc(50% - 60px);margin-bottom:20px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-header{align-items:flex-start;display:flex;flex-direction:column}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-header .nx-admin-block-header-icon{height:40px;width:40px}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-header .nx-admin-title{color:#25396f;font-size:20px;font-weight:700;line-height:1.3;margin-left:0;margin-top:20px}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content{align-items:flex-start;display:flex;flex-direction:column}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content p{color:#7c8db5;font-size:15px;font-weight:400;line-height:1.8;margin-bottom:26px}@media only screen and (max-width:1599px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content p{font-size:14px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content p a{color:#6a4bff;text-decoration:underline}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button{align-items:center;background:#fff;border:1.5px solid #6a4bff;border-radius:10px;box-sizing:border-box;color:#fff;color:#6a4bff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;margin-top:auto;min-height:50px;outline:none;padding:2px 35px;text-decoration:none;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button{border-radius:5px;font-size:14px;min-height:40px;padding:2px 20px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button:focus,#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button:hover{background-color:#5614d5;border-color:#5614d5;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number],#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:12px;font-weight:500;margin-right:5px;max-width:400px;min-height:32px;padding:2px 8px;width:auto}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select::-moz-placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]::-moz-placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select::placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]::placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]::placeholder{color:#a7b6d8}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select:focus,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]:focus,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]{max-width:50px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input.readonly,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[readonly],#notificationx .wprf-control-datetime .components-datetime .components-datetime__time textarea.readonly,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time textarea[readonly]{background:rgba(106,75,255,.1)}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select{width:100px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time{display:flex}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time .components-datetime__time-separator{align-self:center}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-am-pm{display:flex}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-button-group .components-button{border-radius:5px;font-size:12px;font-weight:500;margin-right:5px;min-height:32px;padding:2px 6px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-button-group .components-button.is-secondary{background:#7c8db5;border:1.5px solid #7c8db5;color:#fff}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-button-group .components-button.is-primary{background:#6a4bff;border:1.5px solid #6a4bff;color:#fff}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__timezone{align-items:center;display:flex}#notificationx .wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected:hover{background:rgba(102,72,254,.7)!important}#notificationx .wprf-control-datetime .components-datetime .components-datetime__buttons{display:none}#notificationx .nx-quick-builder-wrapper{background:#fff;border:.5 solid #6a4bff;border-radius:20px;box-sizing:border-box;margin-left:auto;margin-right:auto;max-width:1024px;padding:30px;width:100%}#notificationx .nx-quick-builder-wrapper .nx-admin-content>.wprf-tabs-wrapper{margin-top:0!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper{display:flex;justify-content:center}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav{margin-left:-5px!important;margin-right:-5px!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item{margin-left:5px!important;margin-right:5px!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item:not(:last-child){position:relative}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item:not(:last-child):after{background:#e8e7fe;content:"";height:2px;left:calc(100% + 2px);position:absolute;top:calc(50% - 1px);width:10px}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete{background:#6a4bff!important;border-color:#6a4bff!important;color:#fff!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete:after{background:#6a4bff}#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.custom_notification #source_tab .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.custom_notification_conversions #source_tab .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd.conversions_conv-theme-eight .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd.conversions_conv-theme-nine .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd.conversions_conv-theme-seven .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.envato .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.give .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.google .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.learndash .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.learndash_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.reviewx .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.tutor .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.tutor_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woo_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woo_reviews .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woocommerce.conversions_conv-theme-eight .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woocommerce.conversions_conv-theme-nine .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woocommerce.conversions_conv-theme-seven .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.wp_comments .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.zapier_conversions .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.zapier_email_subscription .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.zapier_reviews .wprf-control-section.content{display:none}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper:not(.custom_notification_conversions,.custom_notification) .wprf-tab-nav-item.content_tab{display:none!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-content{background:#f6f7fe;border:.5 solid #6a4bff;border-radius:20px;padding:30px}#notificationx .nx-quick-builder-wrapper .wprf-tab-content>h4{line-height:1;margin-bottom:20px!important;text-align:center}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message{box-sizing:border-box;font-size:16px;line-height:1.4;text-align:center}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message a{color:#6a4bff;text-decoration:underline}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message .nx-on-click-install{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:36px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message .nx-on-click-install:focus,#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message .nx-on-click-install:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 5px 10px -5px rgba(86,20,213,.2);color:#fff;outline:none} -.toplevel_page_wp-react-form #wpcontent{padding-left:0}.wp-react-form.wprf-tabs-wrapper{display:flex;flex-direction:column;margin:20px 0}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper{margin-bottom:5px}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav{display:flex;margin:0;padding:0}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item{background-color:#f8fafb;border-top:2px solid #f8fafb;color:#516378;cursor:pointer;font-size:15px;font-weight:500;margin-bottom:0;padding:15px 25px}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav{background-color:#fff;border-color:#6648fe;color:#516378}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar{background-color:#f8fafb;flex-basis:15%}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav{display:block}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav{border-right:2px solid #6648fe;border-top-width:0}.wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar{background-color:#fff;border:1px solid #f2f2f2;flex-direction:row;padding:0}.wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar .wprf-tab-menu-wrapper{margin-bottom:0}.wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper{background:#fff;flex:1;flex-basis:85%;padding:30px}.wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content{display:none}.wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content.wprf-active{display:block}.wprf-control-section:not(:last-child){margin-bottom:15px}.wprf-control-wrapper{align-items:center;display:flex;flex-wrap:wrap}.wprf-control-wrapper:not(:last-child){margin-bottom:20px}.wprf-control-wrapper.hidden{display:none}.wprf-control-wrapper .wprf-control-label{flex-basis:20%;font-weight:700}.wprf-control-wrapper .wprf-control-field{align-items:center;display:flex;flex-basis:80%;flex-wrap:wrap}.wprf-control-wrapper .wprf-control-field .wprf-description{font-size:12px;margin-bottom:0;margin-left:10px;margin-top:0}.wprf-control-wrapper .wprf-control-field>.wprf-radio-card+.wprf-description{display:block;flex-basis:100%;margin-left:0;margin-top:20px}.wprf-control-wrapper .wprf-control-field .wprf-help{display:block;flex-basis:100%;font-size:12px;margin:5px 0 0}.wprf-control-wrapper.wprf-label-none .wprf-control-field{flex-basis:100%}.wprf-control-wrapper.wprf-top-label,.wprf-control-wrapper.wprf-top-label div.wprf-control-field{display:block}.wprf-control-wrapper .wprf-badge-wrapper{display:flex;width:100%}.wprf-control{margin-bottom:20px;width:100%}.wprf-control:last-of-type{margin-bottom:0}.wprf-control .wprf-control-label{margin-bottom:0;margin-top:0}.wprf-control .wprf-input-field{border:1px solid #f2f2f2;box-shadow:none;font-size:14px;line-height:1;margin:0;padding:8px;transition:border .2s linear,box-shadow .2s linear}.wprf-control .wprf-input-field.wprf-large{width:100%}.wprf-control .wprf-input-field:focus{box-shadow:none;outline:none}.wprf-control .clearfix:after,.wprf-control .clearfix:before{content:"";display:table}.wprf-control .clearfix:after{clear:both}.wprf-control .wprf-input-label{display:block;margin-bottom:10px}.wprf-control .wprf-input-label .wprf-label-image{max-width:100%}.wprf-control .wprf-input-label .wprf-badge{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.wprf-control .wprf-input-label .wprf-badge .wprf-badge-item{background-image:linear-gradient(-122deg,#9271ff,#5725ff);box-shadow:0 3px 7px 0 rgba(0,5,41,.1);color:#fff;font-size:14px;height:30px;left:-20px;left:-29px;line-height:30px;position:absolute;text-align:center;text-transform:uppercase;top:8px;transform:rotate(-45deg);width:80px;width:100px;z-index:9}.wprf-control .wprf-input-label .wprf-badge .wprf-badge-item.wprf-badge-active{background-color:#0ccf9f;background-image:none}.wprf-control .wprf-row{margin-left:-10px;margin-right:-10px}.wprf-control .wprf-row .wprf-column{box-sizing:border-box;padding-left:10px;padding-right:10px;width:20%}.wprf-control .wprf-row .wprf-column.wprf-column-1{width:8.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-2{width:16.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-3{width:25%}.wprf-control .wprf-row .wprf-column.wprf-column-4{width:33.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-5{width:41.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-6{width:50%}.wprf-control .wprf-row .wprf-column.wprf-column-7{width:58.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-8{width:66.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-9{width:75%}.wprf-control .wprf-row .wprf-column.wprf-column-10{width:83.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-11{width:91.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-12{width:100%}.wprf-control .wprf-flex{display:flex;flex-wrap:wrap}.wprf-control .wprf-error-message{color:red}.wprf-control.wprf-submit{margin-top:30px}.wprf-control.wprf-submit button.wprf-submit-button{border:none;padding:10px 20px}.wprf-control-section{border:1px solid #f7f7f7;margin-bottom:20px;padding-bottom:20px;position:relative}.wprf-control-section>div.wprf-section-title h4{background:#f8fafb;color:#516378;display:block;font-weight:700;letter-spacing:2px;margin-bottom:20px;margin-top:0;padding:14px;text-transform:uppercase}.wprf-control-section>div.wprf-section-fields{padding-left:20px;padding-right:20px}button.wprf-btn{border:0;cursor:pointer;padding:10px 20px}.wprf-control .wprf-input-field.wprf-input-text{padding:10px}.wprf-input-radio-set-wrap.wprf-radio-card input{display:none}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option{align-items:center;box-shadow:0 0 25px 0 rgba(0,9,78,.08);display:flex;line-height:60px;margin-top:20px;min-height:80px;position:relative}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:after,.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:before{content:"";position:absolute}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:after{border-bottom:3.5px solid #fff;border-right:3.5px solid #fff;display:inline-block;height:6px;right:-3px;top:-6px;transform:rotate(45deg);width:3px}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:before{background:#09dca8;border-radius:50%;box-sizing:border-box;height:20px;left:auto;right:-10px;top:-10px;transition:all .3s ease 0s;width:20px}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label{background-color:#0ccf9f;color:#fff}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label.wprf-label-has-image{background-color:#fff}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option input.wprf-input-field{display:none}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label{align-items:center;background:#fff;border-radius:5px;box-sizing:border-box;display:flex;font-size:14px;height:100%;justify-content:center;margin-bottom:0;padding:10px;transition:background .3s ease 0s;width:100%}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label.wprf-label-has-image{padding:0}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label.wprf-label-has-image.wprf-size-medium{box-sizing:border-box;padding:10px}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label.wprf-label-has-image.wprf-size-medium>img{height:50px;width:50px}.wprf-control-section .wprf-section-title{align-items:center;display:flex}.wprf-control-section .wprf-section-title>h4{flex:1}.wprf-control-section .wprf-section-fields{height:auto;transition:all .3s ease 0s}.wprf-control-section.wprf-section-collapsed .wprf-section-fields{height:0;overflow:hidden}.components-visually-hidden{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wprf-control-datetime{position:relative}.wprf-control-datetime .components-button.is-tertiary{background-color:#f2f2f2;border:none;color:#6648fe;cursor:pointer;padding:10px}.wprf-control-datetime .components-button.is-tertiary:focus{border:none;outline:none}.wprf-control-datetime .components-datetime .PresetDateRangePicker_panel{padding:0 22px 11px}.wprf-control-datetime .components-datetime .PresetDateRangePicker_button{background:0 0;border:2px solid #00a699;box-sizing:border-box;color:#00a699;cursor:pointer;font:inherit;font-weight:700;height:100%;line-height:normal;margin-right:8px;overflow:visible;padding:4px 12px;position:relative;text-align:center}.wprf-control-datetime .components-datetime .PresetDateRangePicker_button:active{outline:0}.wprf-control-datetime .components-datetime .PresetDateRangePicker_button__selected{background:#00a699;color:#fff}.wprf-control-datetime .components-datetime .SingleDatePickerInput{background-color:#fff;display:inline-block}.wprf-control-datetime .components-datetime .SingleDatePickerInput__withBorder{border:1px solid #dbdbdb;border-radius:2px}.wprf-control-datetime .components-datetime .SingleDatePickerInput__rtl{direction:rtl}.wprf-control-datetime .components-datetime .SingleDatePickerInput__disabled{background-color:#f2f2f2}.wprf-control-datetime .components-datetime .SingleDatePickerInput__block{display:block}.wprf-control-datetime .components-datetime .SingleDatePickerInput__showClearDate{padding-right:30px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;margin:0 10px 0 5px;overflow:visible;padding:10px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__default:focus,.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__small{padding:6px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__hide{visibility:hidden}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;vertical-align:middle;width:15px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate_svg__small{height:9px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;line-height:normal;margin:0 5px 0 10px;overflow:visible;padding:10px;vertical-align:middle}.wprf-control-datetime .components-datetime .SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;vertical-align:middle;width:14px}.wprf-control-datetime .components-datetime .SingleDatePicker{display:inline-block;position:relative}.wprf-control-datetime .components-datetime .SingleDatePicker__block{display:block}.wprf-control-datetime .components-datetime .SingleDatePicker_picker{background-color:#fff;position:absolute;z-index:1}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__rtl{direction:rtl}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__directionLeft{left:0}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__directionRight{right:0}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);height:100%;left:0;position:fixed;top:0;width:100%}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;overflow:visible;padding:15px;position:absolute;right:0;top:0;z-index:2}.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton:focus,.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton_svg{fill:#cacccd;height:15px;width:15px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;cursor:pointer;font:inherit;font-size:14px;line-height:normal;overflow:visible;padding:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show{position:absolute;width:22px;z-index:2}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__bottomRight{border-right:33px solid #00a699;border-top:26px solid transparent;bottom:0;right:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;right:0;top:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;left:0;top:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan__topRight{right:-28px;top:1px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan__topLeft{left:-28px;top:1px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_panel{background:#fff;border:1px solid #dbdbdb;border-radius:2px;bottom:0;left:0;margin:33px;overflow:auto;padding:22px;position:absolute;right:0;top:0;z-index:2}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_list{font-size:14px;list-style:none;padding:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_close:active{outline:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_closeSvg{fill:#cacccd;height:15px;width:15px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_closeSvg:focus,.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.wprf-control-datetime .components-datetime .CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.wprf-control-datetime .components-datetime .CalendarDay:active{outline:0}.wprf-control-datetime .components-datetime .CalendarDay__defaultCursor{cursor:default}.wprf-control-datetime .components-datetime .CalendarDay__default{background:#fff;border:1px solid #e4e7e7;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.wprf-control-datetime .components-datetime .CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.wprf-control-datetime .components-datetime .CalendarDay__outside{background:#fff;border:0;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__outside:hover{border:0}.wprf-control-datetime .components-datetime .CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.wprf-control-datetime .components-datetime .CalendarDay__blocked_minimum_nights:active,.wprf-control-datetime .components-datetime .CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.wprf-control-datetime .components-datetime .CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__highlighted_calendar:active,.wprf-control-datetime .components-datetime .CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.wprf-control-datetime .components-datetime .CalendarDay__selected_span:active,.wprf-control-datetime .components-datetime .CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.wprf-control-datetime .components-datetime .CalendarDay__last_in_range{border-right:#00a699}.wprf-control-datetime .components-datetime .CalendarDay__selected,.wprf-control-datetime .components-datetime .CalendarDay__selected:active,.wprf-control-datetime .components-datetime .CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.wprf-control-datetime .components-datetime .CalendarDay__hovered_span,.wprf-control-datetime .components-datetime .CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.wprf-control-datetime .components-datetime .CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.wprf-control-datetime .components-datetime .CalendarDay__blocked_calendar,.wprf-control-datetime .components-datetime .CalendarDay__blocked_calendar:active,.wprf-control-datetime .components-datetime .CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.wprf-control-datetime .components-datetime .CalendarDay__blocked_out_of_range,.wprf-control-datetime .components-datetime .CalendarDay__blocked_out_of_range:active,.wprf-control-datetime .components-datetime .CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.wprf-control-datetime .components-datetime .CalendarMonth{background:#fff;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top}.wprf-control-datetime .components-datetime .CalendarMonth_table{border-collapse:collapse;border-spacing:0}.wprf-control-datetime .components-datetime .CalendarMonth_verticalSpacing{border-collapse:separate}.wprf-control-datetime .components-datetime .CalendarMonth_caption{caption-side:top;color:#484848;font-size:18px;padding-bottom:37px;padding-top:22px;text-align:center}.wprf-control-datetime .components-datetime .CalendarMonth_caption__verticalScrollable{padding-bottom:7px;padding-top:12px}.wprf-control-datetime .components-datetime .CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.wprf-control-datetime .components-datetime .CalendarMonthGrid__animating{z-index:1}.wprf-control-datetime .components-datetime .CalendarMonthGrid__vertical{margin:0 auto}.wprf-control-datetime .components-datetime .CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.wprf-control-datetime .components-datetime .CalendarMonthGrid_month__horizontal{display:inline-block;min-height:100%;vertical-align:top}.wprf-control-datetime .components-datetime .CalendarMonthGrid_month__hideForAnimation{opacity:0;pointer-events:none;position:absolute;z-index:-1}.wprf-control-datetime .components-datetime .CalendarMonthGrid_month__hidden{visibility:hidden}.wprf-control-datetime .components-datetime .DayPickerNavigation{position:relative;z-index:2}.wprf-control-datetime .components-datetime .DayPickerNavigation__horizontal{height:0}.wprf-control-datetime .components-datetime .DayPickerNavigation__verticalDefault{bottom:0;height:52px;left:0;position:absolute;width:100%}.wprf-control-datetime .components-datetime .DayPickerNavigation__verticalScrollableDefault{position:relative}.wprf-control-datetime .components-datetime .DayPickerNavigation_button{border:0;cursor:pointer;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default{background-color:#fff;border:1px solid #e4e7e7;color:#757575}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default:focus,.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default:active{background:#f2f2f2}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__horizontalDefault{border-radius:3px;line-height:.78;padding:6px 9px;position:absolute;top:18px}.wprf-control-datetime .components-datetime .DayPickerNavigation_leftButton__horizontalDefault{left:22px}.wprf-control-datetime .components-datetime .DayPickerNavigation_rightButton__horizontalDefault{right:22px}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__verticalDefault{background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);display:inline-block;height:100%;padding:5px;position:relative;width:50%}.wprf-control-datetime .components-datetime .DayPickerNavigation_nextButton__verticalDefault{border-left:0}.wprf-control-datetime .components-datetime .DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.wprf-control-datetime .components-datetime .DayPickerNavigation_svg__horizontal{fill:#82888a;display:block;height:19px;width:19px}.wprf-control-datetime .components-datetime .DayPickerNavigation_svg__vertical{fill:#484848;display:block;height:42px;width:42px}.wprf-control-datetime .components-datetime .DayPicker{background:#fff;position:relative;text-align:left}.wprf-control-datetime .components-datetime .DayPicker__horizontal{background:#fff}.wprf-control-datetime .components-datetime .DayPicker__verticalScrollable{height:100%}.wprf-control-datetime .components-datetime .DayPicker__hidden{visibility:hidden}.wprf-control-datetime .components-datetime .DayPicker__withBorder{border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07)}.wprf-control-datetime .components-datetime .DayPicker_portal__horizontal{box-shadow:none;left:50%;position:absolute;top:50%}.wprf-control-datetime .components-datetime .DayPicker_portal__vertical{position:static}.wprf-control-datetime .components-datetime .DayPicker_focusRegion{outline:0}.wprf-control-datetime .components-datetime .DayPicker_calendarInfo__horizontal,.wprf-control-datetime .components-datetime .DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.wprf-control-datetime .components-datetime .DayPicker_weekHeaders{position:relative}.wprf-control-datetime .components-datetime .DayPicker_weekHeaders__horizontal{margin-left:9px}.wprf-control-datetime .components-datetime .DayPicker_weekHeader{color:#757575;position:absolute;text-align:left;top:62px;z-index:2}.wprf-control-datetime .components-datetime .DayPicker_weekHeader__vertical{left:50%}.wprf-control-datetime .components-datetime .DayPicker_weekHeader__verticalScrollable{background:#fff;border-bottom:1px solid #dbdbdb;display:table-row;left:0;margin-left:0;text-align:center;top:0;width:100%}.wprf-control-datetime .components-datetime .DayPicker_weekHeader_ul{font-size:14px;list-style:none;margin:1px 0;padding-left:0;padding-right:0}.wprf-control-datetime .components-datetime .DayPicker_weekHeader_li{display:inline-block;text-align:center}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer{border-radius:3px;overflow:hidden;position:relative}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer__vertical{width:100%}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer__verticalScrollable{bottom:0;height:100%;left:0;overflow-y:scroll;padding-top:20px;position:absolute;right:0;top:0}.wprf-control-datetime .components-datetime .DateInput{background:#fff;display:inline-block;margin:0;padding:0;position:relative;vertical-align:middle;width:130px}.wprf-control-datetime .components-datetime .DateInput__small{width:97px}.wprf-control-datetime .components-datetime .DateInput__block{width:100%}.wprf-control-datetime .components-datetime .DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.wprf-control-datetime .components-datetime .DateInput_input{background-color:#fff;border:0;border-bottom:2px solid transparent;border-radius:0;color:#484848;font-size:19px;font-weight:200;line-height:24px;padding:11px 11px 9px;width:100%}.wprf-control-datetime .components-datetime .DateInput_input__small{font-size:15px;letter-spacing:.2px;line-height:18px;padding:7px 7px 5px}.wprf-control-datetime .components-datetime .DateInput_input__regular{font-weight:auto}.wprf-control-datetime .components-datetime .DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;user-select:none}.wprf-control-datetime .components-datetime .DateInput_input__focused{background:#fff;border:0;border-bottom:2px solid #008489;outline:0}.wprf-control-datetime .components-datetime .DateInput_input__disabled{background:#f2f2f2;font-style:italic}.wprf-control-datetime .components-datetime .DateInput_screenReaderMessage{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wprf-control-datetime .components-datetime .DateInput_fang{height:10px;left:22px;position:absolute;width:20px;z-index:2}.wprf-control-datetime .components-datetime .DateInput_fangShape{fill:#fff}.wprf-control-datetime .components-datetime .DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.wprf-control-datetime .components-datetime .DateRangePickerInput{background-color:#fff;display:inline-block}.wprf-control-datetime .components-datetime .DateRangePickerInput__disabled{background:#f2f2f2}.wprf-control-datetime .components-datetime .DateRangePickerInput__withBorder{border:1px solid #dbdbdb;border-radius:2px}.wprf-control-datetime .components-datetime .DateRangePickerInput__rtl{direction:rtl}.wprf-control-datetime .components-datetime .DateRangePickerInput__block{display:block}.wprf-control-datetime .components-datetime .DateRangePickerInput__showClearDates{padding-right:30px}.wprf-control-datetime .components-datetime .DateRangePickerInput_arrow{color:#484848;display:inline-block;vertical-align:middle}.wprf-control-datetime .components-datetime .DateRangePickerInput_arrow_svg{fill:#484848;height:24px;vertical-align:middle;width:24px}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;margin:0 10px 0 5px;overflow:visible;padding:10px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates__small{padding:6px}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_default:focus,.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates__hide{visibility:hidden}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;vertical-align:middle;width:15px}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_svg__small{height:9px}.wprf-control-datetime .components-datetime .DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;line-height:normal;margin:0 5px 0 10px;overflow:visible;padding:10px;vertical-align:middle}.wprf-control-datetime .components-datetime .DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;vertical-align:middle;width:14px}.wprf-control-datetime .components-datetime .DateRangePicker{display:inline-block;position:relative}.wprf-control-datetime .components-datetime .DateRangePicker__block{display:block}.wprf-control-datetime .components-datetime .DateRangePicker_picker{background-color:#fff;position:absolute;z-index:1}.wprf-control-datetime .components-datetime .DateRangePicker_picker__rtl{direction:rtl}.wprf-control-datetime .components-datetime .DateRangePicker_picker__directionLeft{left:0}.wprf-control-datetime .components-datetime .DateRangePicker_picker__directionRight{right:0}.wprf-control-datetime .components-datetime .DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);height:100%;left:0;position:fixed;top:0;width:100%}.wprf-control-datetime .components-datetime .DateRangePicker_picker__fullScreenPortal{background-color:#fff}.wprf-control-datetime .components-datetime .DateRangePicker_closeButton{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;overflow:visible;padding:15px;position:absolute;right:0;top:0;z-index:2}.wprf-control-datetime .components-datetime .DateRangePicker_closeButton:focus,.wprf-control-datetime .components-datetime .DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.wprf-control-datetime .components-datetime .DateRangePicker_closeButton_svg{fill:#cacccd;height:15px;width:15px}.wprf-control-datetime .components-datetime .components-datetime{padding:0}.wprf-control-datetime .components-datetime .components-datetime .components-datetime__calendar-help{padding:16px}.wprf-control-datetime .components-datetime .components-datetime .components-datetime__calendar-help h4{margin:0}.wprf-control-datetime .components-datetime .components-datetime .components-datetime__buttons{display:flex;justify-content:space-between}.wprf-control-datetime .components-datetime .components-datetime fieldset{border:0;margin:0;padding:0}.wprf-control-datetime .components-datetime .components-datetime input,.wprf-control-datetime .components-datetime .components-datetime select{border:1px solid #757575;border-radius:2px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.wprf-control-datetime .components-datetime .components-datetime input,.wprf-control-datetime .components-datetime .components-datetime select{transition-duration:0s}}.wprf-control-datetime .components-datetime .components-datetime .components-button,.wprf-control-datetime .components-datetime .components-datetime input[type=number],.wprf-control-datetime .components-datetime .components-datetime select{height:30px;margin-bottom:0;margin-top:0}.wprf-control-datetime .components-datetime .components-datetime__date{border-top:1px solid #ddd;min-height:236px}.wprf-control-datetime .components-datetime .components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:0}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarMonth_caption{font-size:13px}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarMonth_table{border-collapse:separate;border-spacing:2px}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay{border:none;border-radius:50%;font-size:13px;text-align:center}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff;outline:2px solid transparent}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected{background:#6648fe;border:2px solid transparent}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected:hover{background:var(--wp-admin-theme-color-darker-20)}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected:focus{box-shadow:inset 0 0 0 1px #fff}.wprf-control-datetime .components-datetime .components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.wprf-control-datetime .components-datetime .components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.wprf-control-datetime .components-datetime .components-datetime__date .DayPicker_weekHeader{top:50px}.wprf-control-datetime .components-datetime .components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-left:0;padding-right:0}.wprf-control-datetime .components-datetime .components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.wprf-control-datetime .components-datetime .components-datetime__time{padding-bottom:16px}.wprf-control-datetime .components-datetime .components-datetime__time fieldset{margin-bottom:.5em;position:relative}.wprf-control-datetime .components-datetime .components-datetime__time fieldset button,.wprf-control-datetime .components-datetime .components-datetime__time fieldset input,.wprf-control-datetime .components-datetime .components-datetime__time fieldset select{height:30px}.wprf-control-datetime .components-datetime .components-datetime__time fieldset+fieldset{margin-bottom:0}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper{display:flex}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-right:4px}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{-moz-appearance:textfield;margin-right:4px;padding:2px;text-align:center}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.wprf-control-datetime .components-datetime .components-datetime__time.is-12-hour .components-datetime__time-field-day input{border-radius:2px 0 0 2px!important;margin:-4px 0 0!important}.wprf-control-datetime .components-datetime .components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 2px 2px 0!important}.wprf-control-datetime .components-datetime .components-datetime__timezone{line-height:30px;margin-left:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wprf-control-datetime .components-datetime .components-datetime__time-legend{font-weight:600;margin-top:.5em}.wprf-control-datetime .components-datetime .components-datetime__time-legend.invisible{left:-999em;position:absolute;top:-999em}.wprf-control-datetime .components-datetime .components-datetime__time-field-day-input,.wprf-control-datetime .components-datetime .components-datetime__time-field-hours-input,.wprf-control-datetime .components-datetime .components-datetime__time-field-minutes-input{width:35px}.wprf-control-datetime .components-datetime .components-datetime__time-field-year-input{width:55px}.wprf-control-datetime .components-datetime .components-datetime__time-field-month-select{max-width:145px}.wprf-control-datetime .components-popover .components-datetime__date{padding-left:4px}.wprf-control-datetime .components-popover .components-popover__content{background:#fff;border:1px solid #f2f2f2;border-radius:5px;padding:15px;position:absolute;z-index:9999999}.wprf-control-datetime .components-popover .components-datetime__date-help-toggle{display:none;margin-left:auto}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field{margin-top:20px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title{align-items:center;background-color:#f8fafb;cursor:pointer;display:flex;font-size:12px;padding:15px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4{color:#3d4f7f;cursor:grab;flex-basis:100%;line-height:18px;margin:0}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4 .dashicon,.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4 .icon,.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4 svg{align-items:center;display:inline-flex;font-size:18px;height:18px;justify-content:center;line-height:18px;margin-right:5px;width:18px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls{align-self:flex-end;display:flex}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls span{margin-left:10px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls .dashicon.dashicons-admin-page{color:#5f7eff}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls .dashicon.dashicons-trash{color:#dc4f4b}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-inner-field{background-color:#fff;border:1px solid #f2f2f2;padding:20px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field.sortable-chosen .wprf-repeater-field-title h4{cursor:grabbing}.wprf-toggle-wrap{align-items:center;display:flex}.wprf-toggle-wrap.wprf-card{border:1px solid #f2f2f2;margin-bottom:20px;padding:15px}.wprf-toggle-wrap.wprf-label-position-left .wprf-input-label{margin-left:15px}.wprf-toggle-wrap.wprf-label-position-right .wprf-input-label{margin-right:15px}.wprf-toggle-wrap .wprf-input-field,.wprf-toggle-wrap input{display:none}.wprf-toggle-wrap label.wprf-input-label{cursor:pointer;display:inline-block;height:30px;margin-bottom:0;max-height:30px;min-height:30px;position:relative;width:55px}.wprf-toggle-wrap label.wprf-input-label:after,.wprf-toggle-wrap label.wprf-input-label:before{content:"";position:absolute}.wprf-toggle-wrap label.wprf-input-label:before{background:#f0f0f0;border:1px solid #e8eae9;border-radius:20px;height:28px;left:0;top:0;transition:all .4s ease;width:55px}.wprf-toggle-wrap label.wprf-input-label:after{background:#fbfbfb;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 0 rgba(0,0,0,.08);height:24px;left:3px;top:3px;transition:left .3s cubic-bezier(.175,.885,.32,1.275),padding .3s ease,margin .3s ease;width:24px}.wprf-toggle-wrap input:checked+label:before,.wprf-toggle-wrap.wprf-checked:before{background:#2df16e}.wprf-toggle-wrap input:checked+label:after,.wprf-toggle-wrap.wprf-checked:after{left:auto;right:0}.wprf-toggle-wrapper>h4{margin-bottom:10px;margin-top:0}.wprf-toggle-wrapper .wprf-toggle-options .wprf-toggle-wrap{background-color:#fff;border-radius:5px;box-sizing:border-box;display:flex;margin-bottom:15px;margin-top:0;padding:15px}.wprf-toggle-wrapper .wprf-toggle-options .wprf-toggle-wrap.wprf-label-position-right>span{text-align:right}.wprf-toggle-wrapper .wprf-toggle-options .wprf-toggle-wrap>span{flex:1}.wprf-colorpicker-wrap .components-color-picker{width:100%}.wprf-colorpicker-wrap .components-color-picker *{box-sizing:border-box}.wprf-colorpicker-wrap .components-color-picker__saturation{padding-bottom:55%;position:relative;width:100%}.wprf-colorpicker-wrap .components-color-picker__body{padding:16px 16px 12px}.wprf-colorpicker-wrap .components-color-picker__controls{display:flex}.wprf-colorpicker-wrap .components-color-picker__alpha-pointer,.wprf-colorpicker-wrap .components-color-picker__hue-pointer,.wprf-colorpicker-wrap .components-color-picker__saturation-pointer{border:none;box-shadow:none;cursor:pointer;padding:0;position:absolute}.wprf-colorpicker-wrap .components-color-picker__swatch{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px;border-radius:50%;height:32px;margin-right:8px;overflow:hidden;position:relative;width:32px}.is-alpha-disabled .wprf-colorpicker-wrap .components-color-picker__swatch{height:12px;margin-top:0;width:12px}.wprf-colorpicker-wrap .components-color-picker__active{border-radius:50%;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);left:0;position:absolute;right:0;top:0;z-index:2}.wprf-colorpicker-wrap .components-color-picker__saturation-black,.wprf-colorpicker-wrap .components-color-picker__saturation-color,.wprf-colorpicker-wrap .components-color-picker__saturation-white{bottom:0;left:0;position:absolute;right:0;top:0}.wprf-colorpicker-wrap .components-color-picker__saturation-color{overflow:visible}.wprf-colorpicker-wrap .components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.wprf-colorpicker-wrap .components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.wprf-colorpicker-wrap .components-button.components-color-picker__saturation-pointer{background-color:transparent;border-radius:50%;box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #000,0 0 0 2px #000;height:14px;padding:0;transform:translate(-50%,-50%);width:14px}.wprf-colorpicker-wrap .components-button.components-color-picker__saturation-pointer:focus:not(:disabled){box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #000,0 0 0 3px #000}.wprf-colorpicker-wrap .components-color-picker__toggles{flex:1}.wprf-colorpicker-wrap .components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.wprf-colorpicker-wrap .components-color-picker__alpha-gradient,.wprf-colorpicker-wrap .components-color-picker__hue-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.wprf-colorpicker-wrap .components-color-picker__alpha,.wprf-colorpicker-wrap .components-color-picker__hue{height:12px;position:relative}.wprf-colorpicker-wrap .is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.wprf-colorpicker-wrap .components-color-picker__alpha-bar,.wprf-colorpicker-wrap .components-color-picker__hue-bar{height:100%;margin:0 3px;padding:0 2px;position:relative}.wprf-colorpicker-wrap .components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.wprf-colorpicker-wrap .components-color-picker__alpha-pointer,.wprf-colorpicker-wrap .components-color-picker__hue-pointer{background:#fff;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:14px;left:0;transform:translate(-7px,-1px);width:14px}.wprf-colorpicker-wrap .components-color-picker__hue-pointer,.wprf-colorpicker-wrap .components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.wprf-colorpicker-wrap .components-color-picker__hue-pointer,.wprf-colorpicker-wrap .components-color-picker__saturation-pointer{transition-duration:0s}}.wprf-colorpicker-wrap .components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color),0 0 5px 0 var(--wp-admin-theme-color),inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.wprf-colorpicker-wrap .components-color-picker__alpha-pointer:focus,.wprf-colorpicker-wrap .components-color-picker__hue-pointer:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 2px var(--wp-admin-theme-color),0 0 3px 0 var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper{align-items:flex-end;display:flex;margin:0 -4px;min-width:255px;padding-top:16px}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper fieldset{border:none;flex:1;margin:0;padding:0}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{margin:0;padding:6px 3px}.wprf-colorpicker-wrap .components-color-picker__inputs-field{width:100%}.wprf-colorpicker-wrap .components-color-picker__inputs-fields{direction:ltr;display:flex;flex-grow:1;margin-right:4px}.wprf-colorpicker-wrap .components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-top:0}.wprf-colorpicker-wrap .components-color-picker__inputs-fields .components-base-control__field{margin:0 2px}.wprf-colorpicker-wrap .components-color-picker__inputs-toggle{height:30px;padding:0 5px}.wprf-colorpicker-wrap{max-width:300px;min-width:300px;position:relative}.wprf-colorpicker-wrap .wprf-colorpicker-reset{bottom:25px;position:absolute}.wprf-colorpicker-wrap .wprf-picker-display{border:1px solid #ddd;border-radius:50%;cursor:pointer;display:inline-block;height:30px;margin-bottom:15px;margin-right:15px;margin-top:10px;outline:none;width:30px}.wprf-colorpicker-wrap>.components-color-picker{background-color:#fff;border-radius:5px;left:0;padding:10px;position:absolute;top:45px;z-index:11}.wprf-colorpicker-wrap .chrome-picker{position:absolute;top:30px}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper +.nx-settings-header{align-items:center;background:#fff;border:1px solid rgba(0,0,0,.1);-webkit-display:flex;display:flex;height:auto;justify-content:flex-end;margin-bottom:20px}.nx-settings-header .nx-admin-header{align-items:center;display:flex;padding:20px}.nx-settings-header .nx-admin-header>img{width:200px}.nx-settings-header .nx-admin-header a.nx-add-new-btn{background-color:#fff;border:1px solid;color:#5614d5;cursor:pointer;font-size:12px;margin-left:40px;padding:10px 20px;text-decoration:none;transition:all .3s ease-in-out 0s}.nx-settings-header .nx-admin-header a.nx-add-new-btn:hover{background-color:#5614d5;color:#fff}.nx-settings-header .nx-admin-header a.nx-add-new-btn:focus,.nx-settings-header .nx-admin-header a.nx-add-new-btn:visited .nx-settings-header .nx-admin-header a.nx-add-new-btn:active{outline:none}.nx-settings-header .nx-header-left{align-content:center;align-items:center;display:flex}.nx-settings-header .nx-header-left .title{color:#444;font-size:22px;font-weight:600;line-height:1;margin:0;padding-left:10px}.nx-settings-header .nx-admin-logo-inline{box-shadow:1px 0 0 0 rgba(0,0,0,.1);margin-right:10px;padding:25px 20px 20px 23px}.nx-settings-header .nx-admin-logo-inline>svg{height:32px;width:31.5px}.nx-settings-header .nx-header-left,.nx-settings-header .nx-header-right{flex:1 1 auto}.nx-settings-header .nx-header-right{text-align:right}.nx-settings-header .nx-header-right>span{display:block;padding-right:0}@keyframes nxloadunload{10%{opacity:.7}50%{opacity:.5}to{opacity:1}}.nx-preloader{align-items:center;display:flex;height:100%;justify-content:center;padding:40px 50px 50px;text-align:center;width:100%}.nx-preloader img{animation-duration:1s;-webkit-animation-duration:1s;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-name:nxloadunload;-webkit-animation-name:nxloadunload;width:200px}.nx-analytics-counter-wrapper{display:flex;justify-content:space-between;margin-bottom:20px;margin-left:-15px;margin-right:-15px}.nx-analytics-counter-wrapper>div{flex:1;flex-basis:33.3333%;padding-left:15px;padding-right:15px}.nx-analytics-counter-wrapper>div:not(:last-child){border-bottom:1px solid #f2f2f2}.nx-analytics-counter-wrapper .nx-analytics-counter{background-color:#fff;border-radius:5px;color:#fff}.nx-analytics-counter-wrapper .nx-analytics-counter>a{align-items:center;color:#4c4d57;display:block;display:flex;padding:45px;text-decoration:none}.nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{margin-right:20px}.nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-number{display:block;font-size:50px;letter-spacing:2px;line-height:1}.analytics-display-area.nx-stats-tease{align-items:center;display:flex;justify-content:center;position:relative}.analytics-display-area.nx-stats-tease img{width:100%}.analytics-display-area.nx-stats-tease:before{background:rgba(105,74,233,.19);content:"";height:100%;left:0;position:absolute;top:0;width:100%}.analytics-display-area.nx-stats-tease .nx-stats-pro-tease{align-items:center;background-color:#6a4bff;border:none;border-radius:10px;box-sizing:border-box;color:#fff;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;min-height:50px;padding:2px 30px;position:absolute;transition:.3s ease-in-out;z-index:99}.analytics-display-area.nx-stats-tease .nx-stats-pro-tease a{color:#fff;text-decoration:none}.analytics-display-area.nx-stats-tease .nx-stats-pro-tease:hover{background-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}.notificationx-items{padding:0 20px}.notificationx-items .nx-admin-menu>ul li.active a{color:#5614d5}.notificationx-items .nx-admin-menu>ul li a{color:#313236;margin-right:25px;text-decoration:none}.notificationx-items .nx-admin-menu>ul li.nx-empty-trash-btn a{background-color:#fafafa;color:#dd7474;padding:5px 10px}.notificationx-items .nx-admin-items table{background:none;border:0;border-spacing:0 20px;box-shadow:none}.notificationx-items .nx-admin-items table td{font-size:15px;padding:15px 25px}.notificationx-items .nx-admin-items table thead{background-color:#fafafa}.notificationx-items .nx-admin-items table thead tr>td:first-child{width:2%}.notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:30%}.notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:25%}.notificationx-items .nx-admin-items table tbody{transform:translateY(-20px)}.notificationx-items .nx-admin-items table tbody tr{border-spacing:0 30px;box-shadow:0 10px 22px 0 rgba(0,4,32,.05);vertical-align:middle}.notificationx-items .nx-admin-items table tbody tr>td{background-color:#fff;color:#313236;margin-bottom:20px;vertical-align:middle}.notificationx-items .nx-admin-items .nx-admin-title>strong{font-size:16px}@media only screen and (max-width:1399px){.notificationx-items .nx-admin-items .nx-admin-title>strong{font-size:14px}}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions{margin-top:15px}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions>a,.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions>button{background-color:#fff;background-repeat:no-repeat;background-size:13px 15px;border:0;color:#555;cursor:pointer;font-size:14px;margin-right:10px;padding-left:20px}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-translate{background-image:url(../../images/translate.1e11f947.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-edit{background-image:url(../../images/edit.a7628030.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-regenerate{background-image:url(../../images/regenerate.d38874c3.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-duplicate{background-image:url(../../images/duplicate.1e248492.png)}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-restore{background-image:url(../../images/restore.dacd34dd.png);background-size:16px 16px;padding-left:22px}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-trash{background-image:url(../../images/trash.907a917a.png);color:#c4434e}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-shortcode{background-image:url(../../images/shortcode.8c1d72df.png);color:#844dee}.notificationx-items .nx-admin-items .nx-admin-title .nx-admin-title-actions .nx-admin-title-xss{background-image:url(../../images/xss.cec3f34d.png);background-size:16px;color:#844dee}.nx-admin-wrapper{display:flex}.nx-admin-wrapper .nx-admin-sidebar{box-sizing:border-box;flex-basis:20%;margin-left:30px;width:20%}.nx-admin-wrapper .nx-admin-sidebar .sidebar-widget{background-color:#fff;padding:20px}.nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:not(.nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:last-of-type){margin-bottom:30px}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction{padding:0}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction>h4{border-bottom:1px solid #f2f2f2;margin:0;padding:20px}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction>div{padding:5px 20px}.nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction>div p{margin:15px 0}.nx-admin-wrapper .nx-admin-content{flex-basis:80%;max-width:80%;width:80%}.nx-admin-wrapper .nx-admin-content #nx-title{border:none;padding:10px}.nx-admin-wrapper .nx-admin-content .wp-react-form.wprf-tabs-wrapper{margin-bottom:0}.pro-video-popup .swal2-popup{padding:20px}.pro-video-popup .swal2-icon{margin:20px auto!important}.pro-video-popup .pro-video-close-button{box-shadow:none!important;font-size:1.75rem!important}.pro-video-popup .pro-video-icon{font-size:10px;margin-bottom:12px}.pro-video-popup .pro-video-title{font-size:24px;margin-top:0;padding-top:0}.pro-video-popup .pro-video-content,.pro-video-popup .swal2-html-container{color:#25396f;font-size:16px;line-height:1.4;margin-left:0;margin-right:0;margin-top:10px}.pro-video-popup .pro-video-content span,.pro-video-popup .swal2-html-container span{display:block;text-align:justify}.pro-video-popup .pro-video-content iframe,.pro-video-popup .swal2-html-container iframe{margin-top:20px;width:100%}.pro-video-popup .nx-pro-alert-actions{display:flex!important;flex-direction:row-reverse!important;justify-content:center!important;width:100%}.pro-video-popup .pro-video-confirm-button{background:#5614d5!important;border:none!important;box-shadow:none!important;color:#fff!important;margin-left:auto!important;padding:0!important}.pro-video-popup .pro-video-confirm-button a{color:#fff!important;display:block;padding:10px 15px;text-decoration:none!important}.pro-video-popup .pro-video-confirm-button:hover{background-color:#4d12be!important;border-color:#4d12be!important;box-shadow:0 15px 25px -5px rgba(86,20,213,.3)!important;color:#fff!important}.pro-video-popup .pro-video-deny-button{background:#45c9b1!important;border:#41c8af!important;color:#fff!important;padding:0!important}.pro-video-popup .pro-video-deny-button a{color:#fff!important;display:block;padding:10px 20px;text-decoration:none!important}.pro-video-popup .pro-video-deny-button:hover{background-color:#41c8af!important;border-color:#41c8af!important;box-shadow:0 15px 25px -5px rgba(69,201,177,.3)!important;color:#fff!important}.nx-settings-documentation{background:#fff;margin-top:10px;padding:30px}.nx-settings-row{display:flex;margin-left:-15px;margin-right:-15px}.nx-admin-block{border-radius:10px;box-shadow:0 0 20px 0 #f2f2f2;display:flex;flex-basis:25%;flex-direction:column;margin-left:15px;margin-right:15px;padding:25px}header.nx-admin-block-header{align-items:center;display:flex}.nx-admin-block-header-icon{width:35px}h4.nx-admin-title{font-size:17px;margin:0 15px}.nx-admin-block-content{flex:1}.nx-admin-block-content>a{background-image:-webkit-linear-gradient(-169deg,#9271ff,#5725ff);border-radius:5px;color:#fff;display:inline-block;margin-top:20px;padding:12px 25px;text-decoration:none}.nx-settings .nx-settings-content{display:flex}.nx-settings .nx-settings-content .nx-settings-form-wrapper{flex:6}.nx-settings .nx-settings-right{align-items:center;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.07);display:flex;flex:3;justify-content:center;margin:75px 0 20px 10px;padding:20px}@media only screen and (max-width:767px){.nx-settings .nx-settings-right{padding:0}}.nx-settings .nx-settings-right .nx-sidebar{align-items:center;background-color:#fff;display:flex;flex-direction:column;justify-content:center;margin-top:34px;padding:0 20px;width:100%}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block{margin:1em auto}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo{display:block;margin:0 auto 25px!important;max-width:200px}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo img,.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo svg{display:block;margin:10px auto;width:100%}.nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{border:1px solid rgba(35,40,45,.185);border-radius:4px;box-shadow:none;color:rgba(35,40,45,.45);display:block;font-size:1em;letter-spacing:.065em;margin:0 auto!important;outline:none;padding:15px;text-align:center;text-decoration:none;text-transform:uppercase;transition:all .3s;width:200px}marg .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a:hover{box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.715);color:#23282d}body{background-color:#f6f7fe}.swal2-title{line-height:1}.swal2-radio{align-items:flex-start;flex-direction:column;margin-bottom:5px!important;padding:0 10px}.swal2-radio,.swal2-radio label{display:flex;justify-content:flex-start}.swal2-radio label{width:100%}.swal2-radio label input{margin-left:0;margin-top:2px}.swal2-radio label .swal2-label{font-size:15px}.swal2-radio label .swal2-label span{color:#7e7e7e;display:block;font-size:12px;font-style:italic;font-weight:700;line-height:1.1;margin-top:5px}.swal2-radio label:not(:last-child){margin-bottom:15px!important}.swal2-html-container{overflow:visible!important}.swal-shortcode-wrapper label{cursor:auto;display:block;font-size:15px}.swal-shortcode-wrapper label img{margin-right:5px;width:14px}.swal-shortcode-wrapper label code{background:rgba(106,75,255,.15);border:1px solid rgba(106,75,255,.3);color:#6a4bff;cursor:pointer;font-size:10px;white-space:nowrap}.swal-shortcode-wrapper label code:hover{background:#6a4bff;color:#fff}.swal-shortcode-wrapper label span{color:#7e7e7e;display:block;font-size:12px;font-style:italic;font-weight:700;line-height:1.1;margin-top:5px}.swal-shortcode-wrapper label:not(:last-child){margin-bottom:10px!important}.swal2-actions.nx-pro-alert-actions{justify-content:flex-end}.swal2-actions.nx-delete-actions button.swal2-cancel{background-color:#d14529;color:#fff}.swal2-actions.nx-delete-actions button.swal2-confirm{background-color:#6a4bff;color:#fff}#notificationx{@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap";font-family:DM Sans,sans-serif}@media only screen and (min-width:1399.98px){#notificationx{padding:0 10px}}#notificationx .nx-settings-header{background:transparent;border-color:transparent;margin-bottom:30px;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .nx-settings-header{margin-bottom:20px;margin-top:20px}}#notificationx .nx-settings-header .nx-admin-header{align-items:center;display:flex;padding:10px 0}#notificationx .nx-settings-header .nx-admin-header>img,#notificationx .nx-settings-header .nx-admin-header>svg{width:200px}#notificationx .nx-settings-header .nx-admin-header a.nx-add-new-btn{align-items:center;background-color:#6a4bff;border:none;border-radius:10px;box-sizing:border-box;color:#fff;display:flex;font-size:16px;font-weight:500;justify-content:center;margin-left:50px;min-height:50px;padding:2px 30px;text-align:center;transition:.3s ease-in-out}#notificationx .nx-settings-header .nx-admin-header a.nx-add-new-btn:focus,#notificationx .nx-settings-header .nx-admin-header a.nx-add-new-btn:hover{background-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .nx-admin-notice{border-radius:10px;padding:15px 25px}#notificationx .nx-admin-notice.success-notice{background:#d4edda;border:2px solid #c3e6cb;color:#155724}#notificationx .nx-admin-notice.success-notice p{margin-bottom:0;margin-top:0}#notificationx .nx-admin-notice:not(:last-child){margin-bottom:30px}#notificationx .nx-analytics-counter-wrapper{margin-bottom:30px;margin-left:-15px;margin-right:-15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-counter-wrapper{margin-bottom:20px;margin-left:-10px;margin-right:-10px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper{flex-wrap:wrap;margin-bottom:0}}#notificationx .nx-analytics-counter-wrapper>div{padding-left:15px;padding-right:15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-counter-wrapper>div{padding-left:10px;padding-right:10px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper>div{flex-basis:calc(50% - 20px);margin-bottom:20px}}#notificationx .nx-analytics-counter-wrapper>div:not(:last-child){border-bottom:none}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter{align-items:center;border-radius:10px;display:flex;height:100%}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a{color:#7c8db5;padding:35px 45px 45px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a{padding:25px 20px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a{padding:20px 15px}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a:focus,#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a:hover{box-shadow:none}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{display:flex;margin-right:30px;padding-top:10px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{margin-right:20px;padding-top:5px}}@media only screen and (max-width:960px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon{padding-top:0}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon img,#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon svg{height:70px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon img,#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-icon svg{height:55px}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-number{color:#25396f;font-size:50px;font-weight:700;letter-spacing:0;margin-bottom:15px}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-number{font-size:40px;margin-bottom:10px}}#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-label{color:#7c8db5;font-size:20px;font-weight:500}@media only screen and (max-width:1599px){#notificationx .nx-analytics-counter-wrapper .nx-analytics-counter>a span.nx-counter-label{font-size:18px}}#notificationx .nx-analytics-filter-wrapper{margin-bottom:30px;margin-left:0;margin-right:0}@media only screen and (max-width:1399px){#notificationx .nx-analytics-filter-wrapper{margin-bottom:20px}}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter{display:flex;flex-wrap:wrap;margin-bottom:-10px;margin-left:-15px;margin-right:-15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter{margin-left:-5px;margin-right:-5px}}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter>*{margin-bottom:10px;margin-left:15px;margin-right:15px}@media only screen and (max-width:1399px){#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter>*{margin-left:5px;margin-right:5px}}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper{max-width:320px;min-width:320px;width:100%}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;min-height:50px;padding:2px 0 2px 15px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__input input{box-shadow:none}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container{padding-left:0}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__single-value{color:#25396f;margin-left:0}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value{background:rgba(106,75,255,.1);border:1px solid rgba(106,75,255,.02);border-radius:30px;padding-left:3px;padding-right:2px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__label{color:#6a4bff}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__remove svg{fill:#6a4bff}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__remove:hover{background:transparent;cursor:pointer}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container .analytics-select__multi-value .analytics-select__multi-value__remove:hover svg{fill:red}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__value-container.analytics-select__value-container--is-multi{margin-left:-4px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator-separator{display:none}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator{padding-bottom:2px;padding-top:2px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator svg{color:#9ca6bc}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control .analytics-select__indicators .analytics-select__indicator.analytics-select__clear-indicator{padding-left:0;padding-right:0}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .nx-analytic-select-wrapper .analytics-select__control:focus-within{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .wprf-control-datetime>.components-button{background:#fff;border:1.5px solid #e6effb;border-radius:5px;box-sizing:border-box;color:#6a4bff;cursor:pointer;font-size:15px;font-weight:700;min-height:50px;padding:2px 25px}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .wprf-control-datetime:focus-within>.components-button{border-color:#7c8db5}#notificationx .nx-analytics-filter-wrapper .nx-analytics-filter .wprf-control-datetime .components-datetime__time fieldset:last-child{display:none}#notificationx .nx-analytics-graph-wrapper{background-color:#fff;border-radius:10px;margin:0;padding:30px 30px 20px}#notificationx .notificationx-items{padding:0}#notificationx .notificationx-items .nx-admin-menu{display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:0;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .notificationx-items .nx-admin-menu{margin-top:20px}}@media only screen and (max-width:960px){#notificationx .notificationx-items .nx-admin-menu{margin-top:0}}#notificationx .notificationx-items .nx-admin-menu>ul{margin-bottom:0;margin-top:0}#notificationx .notificationx-items .nx-admin-menu>ul:not(:last-child){margin-right:10px}#notificationx .notificationx-items .nx-admin-menu>ul li{display:inline-block}#notificationx .notificationx-items .nx-admin-menu>ul li a{align-items:center;background:rgba(106,75,255,.05);border:2px solid rgba(106,75,255,.05);border-radius:10px;box-shadow:none;box-sizing:border-box;color:#25396f;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;margin-right:20px;min-height:50px;outline:none;padding:2px 25px;text-decoration:none;text-transform:uppercase;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-menu>ul li a{border-radius:10px;font-size:12px;min-height:42px;padding:3px 15px}}@media only screen and (max-width:1399px){#notificationx .notificationx-items .nx-admin-menu>ul li a{border-radius:8px;font-size:12px;min-height:40px;padding:3px 15px}}#notificationx .notificationx-items .nx-admin-menu>ul li.nx-active a{background:#6a4bff;border-color:#6a4bff;color:#fff}#notificationx .notificationx-items .nx-admin-menu>ul li.nx-empty-trash-btn a{background-color:#fafafa;color:#dd7474;padding:5px 10px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper{display:flex;flex-wrap:wrap}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select{height:40px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-select-control__input{background:#fff;border:2px solid #e8e7fe;border-radius:5px;box-shadow:none;color:#555;font-size:14px;font-weight:500;height:40px;min-width:150px;outline:none;padding-left:12px;padding-right:30px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-input-control__suffix>div{right:5px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-input-control__suffix>div svg{fill:#7c8db5}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .components-input-control__container .components-input-control__backdrop{display:none}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control{background:#fff;border:2px solid #e8e7fe;border-radius:5px;height:40px;min-width:175px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__value-container{height:37px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__value-container .bulk-action-select__input input{box-shadow:none;min-height:18px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__indicators{height:37px}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .bulk-action-select .bulk-action-select__control .bulk-action-select__indicators .bulk-action-select__indicator-separator{display:none}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .nx-bulk-action-button{align-items:center;background-color:#6a4bff;border:none;border-radius:7px;box-sizing:border-box;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;height:40px;justify-content:center;padding:2px 30px;transition:.3s ease-in-out}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .nx-bulk-action-button:hover{background-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .notificationx-items .nx-admin-menu .nx-bulk-action-wrapper .nx-bulk-action-button:not(:first-child){margin-left:10px}#notificationx .notificationx-items .nx-admin-not-found,#notificationx .notificationx-items .nx-admin-not-found p{color:#c4434e;margin:0}#notificationx .notificationx-items .nx-admin-items .nx-list-table-wrapper{display:block;margin-top:20px;overflow-x:auto;width:100%}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-list-table-wrapper{margin-top:10px}}#notificationx .notificationx-items .nx-admin-items table{border-spacing:0 5px}#notificationx .notificationx-items .nx-admin-items table td{font-size:18px;padding:10px 25px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table td{font-size:14px}}#notificationx .notificationx-items .nx-admin-items table thead{background-color:transparent}#notificationx .notificationx-items .nx-admin-items table thead tr td{background-color:#fff;border-bottom:none;color:#7c8db5;height:60px;padding:10px 20px;vertical-align:middle}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr td{height:50px;padding:5px 10px}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child{border-top-left-radius:10px;padding-right:0;width:20px}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child{width:20px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector{align-items:center;align-self:center;display:flex}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector input[type=checkbox]{border-color:#e6effb;height:20px;margin-left:0;min-width:20px;width:20px}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector input[type=checkbox]:before{margin:1px 0 0;width:17px}#notificationx .notificationx-items .nx-admin-items table thead tr>td:first-child .nx-all-selector input[type=checkbox]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:300px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:250px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(2){width:150px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:190px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:170px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(3){width:170px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(4){width:50px}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(4){width:50px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(5){width:120px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(5){width:100px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(5){width:120px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(6){width:60px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(6){width:50px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(6){width:70px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(7){width:130px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(7){width:110px}}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:nth-child(7){width:130px!important}}#notificationx .notificationx-items .nx-admin-items table thead tr>td:last-child{border-top-right-radius:10px;width:175px}@media only screen and (max-width:782px){#notificationx .notificationx-items .nx-admin-items table thead tr>td:last-child{width:175px!important}}#notificationx .notificationx-items .nx-admin-items table tbody{transform:translateY(0)}#notificationx .notificationx-items .nx-admin-items table tbody tr{border-spacing:0 30px;box-shadow:none;vertical-align:middle}#notificationx .notificationx-items .nx-admin-items table tbody tr>td{background-color:#fff;color:#25396f;font-size:18px;margin-bottom:20px;padding:10px 20px;vertical-align:middle}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items table tbody tr>td{font-size:14px;padding:5px 10px}}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child{padding-right:0;width:20px}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector{align-items:center;align-self:center;display:flex;height:20px;transform:translateY(3px)}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector input[type=checkbox]{border-color:#e6effb;height:20px;margin-left:0;min-width:20px;width:20px}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector input[type=checkbox]:before{margin:1px 0 0;width:17px}#notificationx .notificationx-items .nx-admin-items table tbody tr>td:first-child .nx-item-selector input[type=checkbox]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .notificationx-items .nx-admin-items .nx-admin-title a{color:#25396f;display:inline-flex;font-size:18px;font-weight:500;line-height:1.1}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-title a{font-size:14px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-title a:focus,#notificationx .notificationx-items .nx-admin-items .nx-admin-title a:hover{box-shadow:none;color:#24376b;outline:none}#notificationx .notificationx-items .nx-admin-items .nx-admin-preview{align-items:center;background-color:#f6f7fe;border:2px solid rgba(12,207,194,.05);border-radius:10px;box-sizing:border-box;display:inline-flex;height:90px;justify-content:center;padding:12px;width:200px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-preview{height:70px;padding:5px;width:170px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-preview img{background-color:transparent;box-shadow:none;box-sizing:border-box;display:block;max-height:100%;max-width:100%;padding:0}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions{display:flex;margin-top:15px}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button{background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:13px 15px;border:0;box-shadow:none;color:#555;cursor:pointer;font-size:14px;height:20px;margin-right:10px;padding-left:0;position:relative;width:20px}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button{font-size:12px;height:15px;width:15px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a span,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button span{display:none}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a.nx-admin-title-xss:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button.nx-admin-title-xss:before{width:95px}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:before{background:#6a4bff;border-radius:3px;bottom:calc(100% + 5px);color:#fff;content:attr(title);display:inline-flex;font-size:12px;font-weight:500;justify-content:center;left:50%;line-height:1.2;opacity:0;padding:5px 10px;position:absolute;text-align:center;text-transform:uppercase;transform:translateX(-50%);visibility:hidden}@media only screen and (max-width:1599px){#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:before{font-size:10px}}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:after,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:after{border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #6a4bff;bottom:calc(100% + 1px);content:"";left:50%;opacity:0;position:absolute;transform:translateX(-50%);visibility:hidden}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:hover:after,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>a:hover:before,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:hover:after,#notificationx .notificationx-items .nx-admin-items .nx-admin-actions>button:hover:before{opacity:1;visibility:visible}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-translate{background-image:url(../../images/translate.1e11f947.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-edit{background-image:url(../../images/edit.a7628030.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-regenerate{background-image:url(../../images/regenerate.d38874c3.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-duplicate{background-image:url(../../images/duplicate.1e248492.png)}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-restore{background-image:url(../../images/restore.dacd34dd.png);background-size:16px 16px;padding-left:22px}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-trash{background-image:url(../../images/trash.907a917a.png);color:#c4434e}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-shortcode{background-image:url(../../images/shortcode.8c1d72df.png);color:#844dee}#notificationx .notificationx-items .nx-admin-items .nx-admin-actions .nx-admin-title-xss{background-image:url(../../images/xss.cec3f34d.png);background-size:16px;color:#844dee}#notificationx .notificationx-items .nx-admin-items-footer{align-items:center;display:flex;margin-top:20px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control{align-items:center;display:flex;margin-right:10px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-base-control__field{margin-bottom:0}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-base-control__field .components-input-control__label{margin-right:5px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex{align-items:center;flex-direction:row}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex .components-input-control__container{border-radius:5px;min-height:36px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex .components-input-control__container select{border-radius:5px;min-height:34px}#notificationx .notificationx-items .nx-admin-items-footer>.components-base-control .components-flex .components-input-control__container .components-input-control__backdrop{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;min-height:36px;padding:2px 0 2px 15px}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination{align-items:center;display:flex;margin-bottom:0;margin-left:auto;margin-top:0}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination>:not(:last-child){margin-right:5px}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination:after{clear:both;content:" ";display:block;height:0;overflow:hidden;visibility:hidden}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-total-text{align-items:center;display:flex;height:36px;justify-content:center}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item{background-color:rgba(106,75,255,.15);border-radius:10px;cursor:pointer;display:flex;height:36px;margin-bottom:0;min-width:36px;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item button{align-items:center;box-shadow:none;color:#6a4bff;cursor:pointer;display:flex;justify-content:center;text-decoration:none;transition:none;width:100%}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:focus,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:hover{background:#6a4bff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item:hover a{color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active{background:#6a4bff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-item-active:hover a{color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev{background:rgba(106,75,255,.15);border-radius:10px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev button{align-items:center;border-radius:10px;box-shadow:none;color:transparent;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev button:after{align-items:center;border-radius:10px;bottom:0;box-shadow:none;color:#6a4bff;content:"•••";cursor:pointer;display:flex;font-size:.75rem;justify-content:center;left:0;position:absolute!important;position:relative;right:0;text-decoration:none;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover{background:#6a4bff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover button{text-decoration:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next:hover button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev:hover button:after{color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-jump-prev,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev{align-items:center;border-radius:10px;color:#6a4bff;cursor:pointer;display:flex;font-size:.75rem;height:36px;justify-content:center;margin-bottom:0;min-width:36px}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button{align-items:center;background-color:rgba(106,75,255,.15);border-radius:10px;box-shadow:none;color:transparent;cursor:pointer;display:flex;height:100%;justify-content:center;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button:after{align-items:center;background-color:rgba(106,75,255,.15);border-radius:10px;bottom:0;box-shadow:none;color:#6a4bff;cursor:pointer;display:flex;font-size:.75rem;justify-content:center;left:0;position:absolute!important;position:relative;right:0;text-decoration:none;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover button{background:#6a4bff;color:transparent!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next:hover button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev:hover button:after{background:#6a4bff;color:#fff}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button:after{content:"<"}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button:after{content:">"}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled button{background:hsla(0,0%,80%,.15)!important;color:transparent!important;cursor:not-allowed!important;text-decoration:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled button:after{background:hsla(0,0%,80%,.15)!important;color:#a3a3a3!important;cursor:not-allowed!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover button{background:hsla(0,0%,80%,.15)!important;color:transparent!important;cursor:not-allowed!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:focus button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-disabled:hover button:after{background:hsla(0,0%,80%,.15)!important;color:#a3a3a3!important;cursor:not-allowed!important}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev{align-items:center;display:flex;height:36px;justify-content:center}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button{height:36px;text-decoration:none}#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-next button:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev a:after,#notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-simple #notificationx .notificationx-items .nx-admin-items-footer .rc-pagination-prev button:after{height:36px}#notificationx .notificationx-items .nx-admin-status label{cursor:pointer;display:flex;font-size:24px;height:20px;min-height:20px;position:relative;width:40px}#notificationx .notificationx-items .nx-admin-status label:after,#notificationx .notificationx-items .nx-admin-status label:before{content:"";position:absolute}#notificationx .notificationx-items .nx-admin-status label:before{background:#7c8db5;border:1px solid #7c8db5;border-radius:50px;box-sizing:border-box;height:20px;left:0;margin:0;transition:background .1s ease .1s;width:40px}#notificationx .notificationx-items .nx-admin-status label:after{animation:switch-off .3s ease-out;background:#fff;border-radius:50px;box-shadow:inset 0 0 0 5px #fcfff4;height:18px;left:1px;top:1px;transition:all .2s ease;width:18px;z-index:2}#notificationx .notificationx-items .nx-admin-status input[type=checkbox]{display:none;visibility:hidden}#notificationx .notificationx-items .nx-admin-status input[type=checkbox]:checked+label:before{background:#6a4bff;border:1px solid #6a4bff}#notificationx .notificationx-items .nx-admin-status input[type=checkbox]:checked+label:after{animation:switch-on .3s ease-out;background:#fff;left:21px}#notificationx .notificationx-items .nx-admin-stats{color:#6a4bff}#notificationx .notificationx-items .nx-admin-date span{color:#7c8db5;font-size:14px}#notificationx .nx-admin-wrapper{margin-left:0;margin-right:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar{margin-left:30px;min-width:240px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-sidebar{margin-left:20px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget{background-color:#fff;border-radius:10px;padding:20px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:not(#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:last-of-type){margin-bottom:30px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:not(#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget:last-of-type){margin-bottom:20px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget{padding:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-title{align-items:center;border-bottom:1px solid #f2f2f2;color:#7c8db5;display:flex;min-height:54px;padding:0 20px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-title h4{font-size:18px;font-weight:500;letter-spacing:.3px;line-height:1.3;margin:0;padding:0}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-title h4{font-size:15px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content{padding:20px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget{align-items:center;display:flex;margin-bottom:15px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget label{color:#7c8db5;font-size:16px;font-weight:500;line-height:1.4;line-height:1.1;margin-right:10px;white-space:nowrap}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget label{font-size:13px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime{margin-left:auto}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime>.components-button{background:#fff;border:1.5px solid #e6effb;border-radius:5px;box-sizing:border-box;color:#6a4bff;cursor:pointer;font-size:13px;font-weight:700;line-height:1;min-height:38px;padding:2px 10px}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime>.components-button{font-size:11px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime:focus-within>.components-button{border-color:#7c8db5}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nx-publish-date-widget .wprf-control-datetime .components-popover__content{right:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group{display:flex;justify-content:space-between;margin-bottom:-5px;margin-left:-5px;margin-right:-5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button{align-items:center;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;margin-bottom:5px;margin-left:5px;margin-right:5px;min-height:36px;outline:none;padding:2px 20px;text-decoration:none;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button{font-size:14px;min-height:32px;padding:2px 15px}}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button{font-size:12px;min-height:30px;padding:2px 15px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:focus,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button.is-danger{background:transparent;border:1.5px solid #f85175;color:#f85679}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button.is-danger:focus,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button.is-danger:hover{background-color:#f85175;border-color:#f85175;box-shadow:0 15px 25px -5px rgba(248,86,121,.3);color:#fff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:disabled,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:disabled:focus,#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content>.components-button-group button:disabled:hover{background-color:#a7b6d8;border-color:#a7b6d8;box-shadow:none;color:#000;cursor:not-allowed}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .instructions-header{align-items:center;display:flex;margin-bottom:5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .instructions-header .title{color:#3c434a;font-size:16px;font-weight:600}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .instructions-header .title:not(:first-child){margin-left:5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p{color:#7c8db5;font-size:14px;font-weight:500}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p{font-size:13px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p a{color:#6a4bff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p:first-child{margin-top:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type p:last-child{margin-bottom:0}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type .nx-template-keys-wrapper h3{color:#3c434a;font-size:16px;font-weight:600;margin-bottom:5px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul{margin-top:10px}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul li{color:#7c8db5;font-size:14px;font-weight:500;line-height:1.15}@media only screen and (max-width:1599px){#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul li{font-size:13px}}#notificationx .nx-admin-wrapper .nx-admin-sidebar .sidebar-widget.nx-widget .nx-widget-content .nxins-type ul li a{color:#6a4bff}#notificationx .nx-admin-wrapper .nx-admin-sidebar .notificationx-instruction{padding:0}#notificationx .nx-admin-wrapper .nx-admin-content{flex-grow:1;max-width:none;width:auto}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title{align-items:center;background:transparent;border:2px dashed #cbd6e5;border-radius:10px;color:#25396f;font-size:20px;font-weight:500;height:60px;padding:2px 25px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-content #nx-title{font-size:18px;height:50px;padding:2px 20px}}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title::-moz-placeholder{color:#a7b6d8}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title::placeholder{color:#a7b6d8}#notificationx .nx-admin-wrapper .nx-admin-content #nx-title:focus{border-color:#7c8db5;box-shadow:none}#notificationx .nx-admin-wrapper .nx-admin-content .wp-react-form.wprf-tabs-wrapper{margin-top:30px}@media only screen and (max-width:1399px){#notificationx .nx-admin-wrapper .nx-admin-content .wp-react-form.wprf-tabs-wrapper{margin-top:20px}}#notificationx .nx-no-items{align-items:center;display:flex;flex-direction:column;margin-left:auto;margin-right:auto;text-align:center}#notificationx .nx-no-items img,#notificationx .nx-no-items svg{height:70px;width:auto}#notificationx .nx-no-items h4{font-size:18px;font-weight:700;margin-bottom:0;margin-top:20px;text-transform:uppercase}#notificationx .nx-no-items p{color:#7c8db5;font-size:14px;line-height:1.7;max-width:400px}#notificationx .nx-no-items p b{color:#25396f}#notificationx .nx-no-items:not(:first-child){margin-top:15px}#notificationx .Toastify__toast--info{background:#6a4bff}#notificationx .Toastify__toast--error{background:#e93e41}#notificationx .Toastify__toast--warning{background:#fc9714}#notificationx .Toastify__close-button{color:#fff;opacity:.5}#notificationx .nx-toast-wrapper{align-items:center;display:flex}#notificationx .nx-toast-wrapper img,#notificationx .nx-toast-wrapper object,#notificationx .nx-toast-wrapper svg{fill:#fff;color:#fff;display:inline-flex;height:45px;width:45px}#notificationx .nx-toast-wrapper p{color:#fff;margin-left:10px}#notificationx .wp-react-form.wprf-tabs-wrapper{background:transparent;border:none;margin:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper{background-color:transparent;flex-basis:auto;margin-bottom:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item{align-items:center;background:rgba(106,75,255,.05);border:2px solid #e8e7fe;border-radius:25px;box-sizing:border-box;color:#6a4bff;display:flex;flex-direction:column;height:120px;justify-content:center;margin-bottom:30px;min-width:130px;padding:5px;width:130px}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item{border-radius:15px;height:100px;min-width:100px;width:100px}}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item{border-radius:10px;height:50px;margin-bottom:20px;min-width:50px;width:50px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item svg{fill:#6a4bff;display:flex;margin-top:5px;width:35px}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item svg{margin-top:0;width:30px}}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item svg{width:22px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item span{color:#6a4bff;font-size:16px;font-weight:500;letter-spacing:0;line-height:1.4;margin-top:15px;text-transform:uppercase}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item span{font-size:13px;margin-top:7px}}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item span{display:none}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item:not(:last-child){position:relative}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item:not(:last-child):after{background:#e8e7fe;content:"";height:30px;left:50%;position:absolute;top:calc(100% + 2px);transform:translateX(-50%);width:2px}@media only screen and (max-width:782px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item:not(:last-child):after{height:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete{background-color:#6a4bff;border-color:#6a4bff;color:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav svg,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete img,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete svg{fill:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav span,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete span{color:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav:not(:last-child),#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete:not(:last-child){position:relative}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav:not(:last-child):after,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete:not(:last-child):after{background:#6a4bff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav{flex-wrap:wrap;margin-bottom:-10px;margin-left:-10px;margin-right:-10px}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item{align-items:center;background:rgba(106,75,255,.05);border:2px solid rgba(106,75,255,.05);border-radius:15px;box-shadow:none;box-sizing:border-box;color:#25396f;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;margin-bottom:10px;margin-left:10px;margin-right:10px;min-height:50px;padding:5px 25px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item{border-radius:10px;font-size:12px;margin-bottom:10px;margin-right:10px;min-height:42px;padding:3px 15px}}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item{border-radius:10px;font-size:12px;margin-bottom:10px;margin-right:10px;min-height:40px;padding:3px 15px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper:not(.wprf-tab-menu-sidebar) .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav{background:#6a4bff;border-color:#6a4bff;color:#fff}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper{background:transparent;padding:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content>h4{background:transparent;color:#25396f;font-size:30px;font-weight:700;letter-spacing:0;line-height:1.3;margin-bottom:30px;margin-top:0;padding:0;text-transform:none}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content>h4{margin-bottom:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg){border:none;margin-bottom:0;padding:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-title{align-items:center;background:#fff;border-top-left-radius:10px;border-top-right-radius:10px;box-sizing:border-box;display:flex;flex:0 0 100%;margin-bottom:2px;min-height:60px;padding:5px 30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-title{min-height:50px;padding:5px 20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-title h4{background:transparent;color:#25396f;font-size:18px;font-weight:700;letter-spacing:0;line-height:1.3;margin:0;padding:0;text-transform:uppercase}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields{background:#fff;box-sizing:border-box;flex:0 0 100%;padding:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields{padding:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields:first-child{border-top-left-radius:10px;border-top-right-radius:10px}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg)>.wprf-section-fields:last-child{border-bottom-left-radius:10px;border-bottom-right-radius:10px}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg):not(:last-child){margin-bottom:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section:not(.wprf-no-bg):not(:last-child){margin-bottom:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg{margin-top:30px;padding-bottom:0}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg{margin-top:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg>.wprf-section-title>h4{background:transparent;color:#25396f;font-size:30px;font-weight:700;letter-spacing:0;line-height:1.3;margin-bottom:30px;margin-top:0;padding:0;text-transform:none}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg>.wprf-section-title>h4{margin-bottom:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content .wprf-control-section.wprf-no-bg>.wprf-section-fields{padding:0}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button{display:flex;justify-content:space-between;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button{margin-top:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button .wprf-btn{align-items:center;background:transparent;border:1.5px solid #6a4bff;border-radius:10px;color:#6a4bff;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:50px;outline:none;padding:2px 35px;text-decoration:none;transition:.3s ease-in-out}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button .wprf-btn:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-stepped-button .wprf-btn.wprf-step-btn-next{margin-left:auto}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit{display:flex;justify-content:space-between;margin-top:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit{margin-top:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button{align-items:center;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:50px;outline:none;padding:2px 35px;text-decoration:none;transition:.3s ease-in-out}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button{border-radius:5px;font-size:14px;min-height:40px;padding:2px 20px}}#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button:focus,#notificationx .wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-submit .wprf-submit-button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar .wprf-tab-content-wrapper{margin-left:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar .wprf-tab-content-wrapper{margin-left:20px}}#notificationx .wp-react-form.wprf-tabs-wrapper:not(.wprf-tab-menu-as-sidebar) .wprf-tab-content-wrapper{margin-top:30px}@media only screen and (max-width:1399px){#notificationx .wp-react-form.wprf-tabs-wrapper:not(.wprf-tab-menu-as-sidebar) .wprf-tab-content-wrapper{margin-top:20px}}#notificationx .wprf-control .wprf-row{margin:-15px}@media only screen and (max-width:1399px){#notificationx .wprf-control .wprf-row{margin:-10px}}#notificationx .wprf-control .wprf-row .wprf-column{padding:15px}@media only screen and (max-width:1399px){#notificationx .wprf-control .wprf-row .wprf-column{padding:10px}}#notificationx .wprf-control .wprf-row .wprf-column-3{width:33.333333%}@media only screen and (max-width:1279px){#notificationx .wprf-control .wprf-row .wprf-column-3{width:50%}}@media only screen and (max-width:575px){#notificationx .wprf-control .wprf-row .wprf-column-3{width:100%}}@media only screen and (max-width:1279px){#notificationx .wprf-control .wprf-row .wprf-column-4{width:50%}}@media only screen and (max-width:575px){#notificationx .wprf-control .wprf-row .wprf-column-4{width:100%}}#notificationx .wprf-button{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:40px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-button:focus,#notificationx .wprf-button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option{border-radius:10px;box-shadow:none;display:flex;flex-direction:column;height:100%;margin-top:0;min-height:84px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label{background-color:#f6f7fe;border:2px solid rgba(12,207,194,.05);border-radius:10px;color:#25396f;flex-grow:1;font-size:18px;font-weight:500;line-height:1.3;padding:5px;text-align:center}@media only screen and (max-width:1599px){#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label{font-size:14px}}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label .wprf-label-image{max-height:85px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option .wprf-input-label .wprf-badge .wprf-badge-item{align-items:center;background:#6a4bff;box-shadow:none;color:#fff;display:flex;height:24px;justify-content:center;left:-32px;line-height:1;top:5px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-label-has-image{padding:15px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label:not(.wprf-label-has-image){background-color:#6a4bff;color:#fff}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label:not(.wprf-label-has-image) .wprf-badge .wprf-badge-item{background:#f6f7fe;color:#6a4bff}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:before{background:#fff;right:10px;top:10px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:after{border-bottom:2px solid #6a4bff;border-right:2px solid #6a4bff;height:8px;right:17.5px;top:13.5px;width:3px}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected.wprf-option-has-image:before{background:#45c9b1}#notificationx .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-selected.wprf-option-has-image:after{border-bottom:2px solid #fff;border-right:2px solid #fff}#notificationx .wprf-image-uploader{margin-bottom:-5px}#notificationx .wprf-image-uploader>*{margin-bottom:5px}#notificationx .wprf-control-wrapper{align-items:flex-start}@media only screen and (max-width:700px){#notificationx .wprf-control-wrapper{flex-direction:column}}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper{display:flex}@media only screen and (max-width:700px){#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper{align-items:flex-start;flex-direction:column}}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper .wprf-control-label{align-items:flex-start;display:inline-flex}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated .wprf-control-field{filter:blur(.5px);opacity:.6}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated .wprf-description{display:none}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated .wprf-toggle-wrap{opacity:.6}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper.pro-deactivated input[type=checkbox]{background:#7c8db5;border-color:transparent;box-shadow:none;opacity:.6}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper .wprf-badge{align-items:center;background:#5614d5;border-radius:2px;color:#fff;display:inline-flex;height:13px;justify-content:center;margin-left:5px;min-width:25px;width:25px}#notificationx .wprf-control-wrapper:not(.wprf-style-card)>.wprf-badge-wrapper .wprf-badge .wprf-badge-item{display:inline-flex;font-size:9px;line-height:1;text-transform:uppercase}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label{box-sizing:border-box;flex:30%;margin-bottom:10px;margin-top:10px;min-height:20px;padding-right:10px}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label{flex:20%}}@media only screen and (max-width:700px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label{flex:100%;margin-top:0}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label label{color:#7c8db5;font-size:15px;font-weight:500;letter-spacing:-.03px;line-height:1.2;margin-bottom:5px;margin-top:5px}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-label label{font-size:13px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field{flex:70%;min-height:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;margin-right:10px;max-width:400px;padding:10px 15px;width:100%}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea{padding:8px 10px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea::placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea.readonly,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-type-textarea textarea[readonly]{background:rgba(106,75,255,.1)}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number],#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;margin-right:10px;max-width:400px;min-height:40px;padding:2px 15px;width:100%}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number],#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]{padding:2px 10px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]::-moz-placeholder,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]::placeholder,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]::placeholder{color:#a7b6d8}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]:focus,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=text]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=number]{max-width:150px;padding-right:5px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input.readonly,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[readonly]{background:rgba(106,75,255,.1)}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-picker-display{box-shadow:0 0 2px rgba(0,0,0,.3);margin-bottom:0;margin-top:3px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-colorpicker-reset{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;bottom:8px;box-sizing:border-box;color:#fff;display:inline-flex;font-size:13px;font-weight:500;justify-content:center;line-height:1.15;min-height:25px;outline:none;padding:2px 15px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-colorpicker-reset:focus,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .wprf-colorpicker-reset:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-colorpicker-wrap .components-color-picker__inputs-toggle-wrapper .components-button{cursor:pointer;min-height:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper{margin-right:10px;max-width:400px;min-width:170px;width:100%}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;min-height:40px;padding:2px 0 2px 15px}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control{padding:2px 0 2px 10px}}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container{padding-left:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__single-value{color:#25396f;margin-left:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value{background:rgba(106,75,255,.1);border:1px solid rgba(106,75,255,.02);border-radius:30px;padding-left:3px;padding-right:2px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__label{color:#6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__remove svg{fill:#6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__remove:hover{background:transparent;cursor:pointer}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container .wprf-select__multi-value .wprf-select__multi-value__remove:hover svg{fill:red}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__value-container.wprf-select__value-container--is-multi{margin-left:-4px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator-separator{display:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator{padding-bottom:2px;padding-top:2px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator svg{color:#9ca6bc}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control .wprf-select__indicators .wprf-select__indicator.wprf-select__clear-indicator{padding-left:0;padding-right:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__control:focus-within{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-select-wrapper .wprf-select__menu{z-index:10}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=checkbox]{border-color:#e6effb;border-radius:5px;border-width:2px;height:30px;margin-left:0;margin-right:10px;min-width:30px;width:30px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=checkbox]:before{height:27px;margin:1px 0 0;width:24px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field input[type=checkbox]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field>input[type=checkbox]{margin-bottom:5px;margin-top:5px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap{height:20px;margin-right:10px;width:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label{cursor:pointer;display:flex;font-size:24px;height:20px;min-height:20px;position:relative;width:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:after,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:before{content:"";position:absolute}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:before{background:#7c8db5;border:1px solid #7c8db5;border-radius:50px;box-sizing:border-box;height:20px;left:0;margin:0;transition:background .1s ease .1s;width:40px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap label:after{animation:switch-off .3s ease-out;background:#fff;border-radius:50px;box-shadow:inset 0 0 0 5px #fcfff4;height:18px;left:1px;top:1px;transition:all .2s ease;width:18px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap input[type=checkbox]{display:none;visibility:hidden}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap input[type=checkbox]:checked+label:before{background:#6a4bff;border:1px solid #6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap input[type=checkbox]:checked+label:after{animation:switch-on .3s ease-out;background:#fff;left:21px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap.wprf-checked label:before{background:#6a4bff;border:1px solid #6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-toggle-wrap.wprf-checked label:after{animation:switch-on .3s ease-out;background:#fff;left:21px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-description,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-help{color:#7c8db5;font-size:14px;font-weight:400;line-height:24px;margin:8px 10px 8px 0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-description mark,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-help mark{background-color:transparent;color:#6a4bff}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-description a,#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-help a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner{display:flex;flex-wrap:wrap;width:100%}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner.wprf-display-inline{margin-bottom:-10px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner.wprf-display-inline>*{margin-bottom:10px;max-width:180px;min-width:180px;width:180px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner .wprf-control-wrapper.wprf-type-number.wprf-inline-label{align-items:center;flex:1;margin-bottom:5px!important}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-group-control .wprf-group-control-inner .wprf-control-wrapper.wprf-type-number.wprf-inline-label .wprf-control-label{flex:0 0 100%;margin-bottom:5px;margin-top:0}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-preview img{border-radius:5px}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-remove-btn{background:#f85656;border-radius:3px;box-sizing:border-box;min-height:36px;transition:.3s ease-in-out}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-remove-btn:hover{background:#f74747;box-shadow:0 15px 25px -5px rgba(248,86,86,.3)}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-upload-btn{background:transparent;border:1px solid #6a4bff;border-radius:3px;box-sizing:border-box;color:#6a4bff;min-height:36px;transition:.3s ease-in-out}#notificationx .wprf-control-wrapper.wprf-inline-label .wprf-control-field .wprf-image-uploader .wprf-image-upload-btn:hover{background:#6a4bff;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .wprf-control-wrapper.wprf-style-card{align-items:center;background-color:#f6f7fe;border:2px solid rgba(12,207,194,.05);border-radius:10px;box-sizing:border-box;color:#25396f;display:flex;flex-direction:row!important;flex-grow:1;font-size:18px;font-weight:500;height:100%;justify-content:space-between;min-height:80px;padding:5px 20px!important;position:relative}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-style-card{padding:5px 15px}}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-badge-wrapper{align-items:center;flex-wrap:wrap;height:100%;justify-content:space-between;z-index:1}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-badge{height:100%;left:-2px;overflow:hidden;position:absolute;top:-2px;width:100%;z-index:-1}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-badge .wprf-badge-item{align-items:center;background:#6a4bff;box-shadow:none;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;left:-32px;line-height:1;position:absolute;text-align:center;text-transform:uppercase;top:5px;transform:rotate(-45deg);width:100px;z-index:9}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label{flex:1;margin-bottom:5px;margin-right:10px;margin-top:5px}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label label{color:#25396f;font-size:16px;font-weight:600;line-height:1}@media only screen and (max-width:1599px){#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label label{font-size:16px}}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label>a{align-items:center;border:1px solid #000;border-radius:50%;display:inline-block;display:inline-flex;height:10px;justify-content:center;line-height:10px;margin-left:10px;opacity:.3;text-align:center;transition:opacity .3s ease 0s;width:10px}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-label>a svg{height:6px;width:6px}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-field{flex:0;margin-right:auto}#notificationx .wprf-control-wrapper.wprf-style-card .wprf-control-field .wprf-toggle-wrap{margin-right:0}#notificationx .wprf-code-viewer{max-width:700px;width:100%}#notificationx .wprf-reporting_monthly_help_text-message{color:#7c8db5;font-size:14px;font-weight:400;line-height:24px;margin-right:10px;margin-top:-15px;padding-left:30%}@media only screen and (max-width:1399px){#notificationx .wprf-reporting_monthly_help_text-message{padding-left:25%}}@media only screen and (max-width:700px){#notificationx .wprf-reporting_monthly_help_text-message{padding-left:0}}#notificationx .wprf-reporting_monthly_help_text-message p{font-size:14px;margin-bottom:0;margin-top:0}#notificationx .wprf-reporting_monthly_help_text-message mark{background-color:transparent;color:#6a4bff}#notificationx .wprf-reporting_monthly_help_text-message a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-repeater-label .wprf-repeater-button{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;margin-top:15px;min-height:40px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-repeater-label .wprf-repeater-button:focus,#notificationx .wprf-repeater-label .wprf-repeater-button:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-message{box-sizing:border-box}#notificationx .wprf-message p{font-size:16px}#notificationx .wprf-message p a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-message p .nx-on-click-install{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:36px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-message p .nx-on-click-install:focus,#notificationx .wprf-message p .nx-on-click-install:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 5px 10px -5px rgba(86,20,213,.2);color:#fff;outline:none}#notificationx .wprf-message.wprf-error-message{background:#fff3cd;border:2px solid #ffeeba;border-radius:10px;color:#856404;padding:15px 25px}#notificationx .wprf-message.wprf-error-message p{margin-bottom:0;margin-top:0}#notificationx .wprf-name-nx-bar_with_elementor_install .wprf-description{margin-left:0}#notificationx .wprf-name-nx-bar_with_elementor_install p{font-size:16px}#notificationx .wprf-name-nx-bar_with_elementor_install p a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-name-nx-bar_with_elementor_install p .nx-on-click-install{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:36px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .wprf-name-nx-bar_with_elementor_install p .nx-on-click-install:focus,#notificationx .wprf-name-nx-bar_with_elementor_install p .nx-on-click-install:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .template-options{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:20px;margin-left:-3px;margin-right:-3px}#notificationx .template-options>*{margin-bottom:5px;margin-left:3px;margin-right:3px}#notificationx .wprf-editor{display:flex;flex-direction:column}#notificationx .wprf-editor .wprf-editor-main{flex-grow:1;padding-bottom:5px;padding-top:5px}#notificationx .wprf-editor .wprf-editor-main .public-DraftStyleDefault-block{margin-bottom:5px;margin-top:5px}#notificationx .advance-template-doc,#notificationx .advance-template-label{color:#7c8db5;font-size:14px;font-weight:400;line-height:24px;margin-left:0}#notificationx .advance-template-doc mark,#notificationx .advance-template-label mark{background-color:transparent;color:#6a4bff}#notificationx .advance-template-doc a,#notificationx .advance-template-label a{color:#6a4bff;text-decoration:underline}#notificationx .wprf-slider-wrap{align-items:flex-start;display:flex}#notificationx .wprf-slider-wrap .wprf-slider-control-head{flex:30%;margin-bottom:10px;margin-top:10px;min-height:20px}#notificationx .wprf-slider-wrap .wprf-slider-control-head label{color:#7c8db5;font-size:16px;font-weight:500;line-height:1.2;margin-bottom:5px;margin-top:5px}#notificationx .wprf-slider-wrap .wprf-slider-control{flex:70%;min-height:40px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper{height:40px;margin:0 10px;max-width:380px;width:calc(100% - 20px)}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .components-range-control__slider{border-radius:10px;height:10px;margin:15px 10px 0 -10px;width:100%}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .exqw8y24{background:#e6effb;border-radius:10px;height:10px;margin-left:-10px;margin-right:-10px;margin-top:15px;padding:2px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .components-range-control__track{background-color:#6a4bff;border-radius:10px;height:6px;margin:0 0 0 -8px;top:17px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__wrapper .exqw8y29 span{border:2px solid #6a4bff;margin-top:10px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control{width:100px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:14px;font-weight:500;margin-right:0;min-height:36px}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]::placeholder{color:#a7b6d8}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control input[type=number]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-input-control .components-input-control__backdrop{display:none}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__reset{align-items:center;background:transparent;border:1px solid #6a4bff;border-radius:3px;box-sizing:border-box;color:#6a4bff;display:inline-flex;font-size:15px;justify-content:center;min-height:36px;padding:2px 20px;transition:.3s ease-in-out}#notificationx .wprf-slider-wrap .wprf-slider-control .components-range-control__root .components-range-control__reset:hover{background:#6a4bff;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image{transform:scale(1);transition:transform .1s ease-in-out}#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image img,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image object,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image svg{max-height:120px}#notificationx .edd_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover,#notificationx .learndash_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover,#notificationx .tutor_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover,#notificationx .woo_inline .themes .wprf-control.wprf-radio-card .wprf-input-radio-option.wprf-option-has-image:hover{transform:scale(2.75);z-index:100}#notificationx .nx-settings .nx-settings-content{display:flex;margin-top:30px;padding-left:0;padding-right:0}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-content{margin-top:20px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-content{flex-direction:column-reverse}}#notificationx .nx-settings .nx-settings-content .wprf-tab-flex{display:flex}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-content .wprf-tab-flex{flex-direction:column-reverse}}#notificationx .nx-settings .nx-settings-content .wprf-tab-flex .wprf-tab-contents{flex:6}#notificationx .nx-settings .nx-settings-right{border-radius:10px;box-shadow:none;flex:2;margin-bottom:0;margin-top:0;padding:20px}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right{margin-bottom:20px;margin-left:0}}#notificationx .nx-settings .nx-settings-right .nx-sidebar{margin-top:0}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right .nx-sidebar{padding:0}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin:0;width:100%}}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo{margin-bottom:50px;max-width:300px}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo{margin-bottom:30px;max-width:250px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo,#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-logo img{margin:0}}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta{display:flex}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{align-items:center;background:rgba(106,75,255,.05);border:2px solid rgba(106,75,255,.05);border-radius:10px;box-sizing:border-box;color:#25396f;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;letter-spacing:0;min-height:46px;outline:none;padding:2px 40px;transition:all .3s ease-in-out;width:auto}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{margin-top:0;padding:2px 25px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a{margin:0}}#notificationx .nx-settings .nx-settings-right .nx-sidebar .nx-sidebar-block .nx-admin-sidebar-cta a:hover{background:#6a4bff;border-color:#6a4bff;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff}#notificationx .nx-settings .nx-settings-documentation{background-color:transparent;margin:30px 0 0;padding:0}@media only screen and (max-width:1399px){#notificationx .nx-settings .nx-settings-documentation{margin-top:20px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row{margin-left:-10px;margin-right:-10px}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row{flex-wrap:wrap}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block{background:#fff;border:none;border-radius:10px;box-shadow:none;margin-left:10px;margin-right:10px;outline:none;padding:30px}@media only screen and (max-width:1599px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block{padding:20px}}@media only screen and (max-width:1279px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block{flex-basis:calc(50% - 60px);margin-bottom:20px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-header{align-items:flex-start;display:flex;flex-direction:column}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-header .nx-admin-block-header-icon{height:40px;width:40px}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-header .nx-admin-title{color:#25396f;font-size:20px;font-weight:700;line-height:1.3;margin-left:0;margin-top:20px}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content{align-items:flex-start;display:flex;flex-direction:column}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content p{color:#7c8db5;font-size:15px;font-weight:400;line-height:1.8;margin-bottom:26px}@media only screen and (max-width:1599px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content p{font-size:14px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content p a{color:#6a4bff;text-decoration:underline}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button{align-items:center;background:#fff;border:1.5px solid #6a4bff;border-radius:10px;box-sizing:border-box;color:#fff;color:#6a4bff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;margin-top:auto;min-height:50px;outline:none;padding:2px 35px;text-decoration:none;transition:.3s ease-in-out}@media only screen and (max-width:1599px){#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button{border-radius:5px;font-size:14px;min-height:40px;padding:2px 20px}}#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button:focus,#notificationx .nx-settings .nx-settings-documentation .nx-settings-row .nx-admin-block .nx-admin-block-content .nx-button:hover{background-color:#5614d5;border-color:#5614d5;box-shadow:0 15px 25px -5px rgba(86,20,213,.3);color:#fff;outline:none}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number],#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]{border:1.5px solid #e6effb;border-radius:5px;color:#25396f;font-size:12px;font-weight:500;margin-right:5px;max-width:400px;min-height:32px;padding:2px 8px;width:auto}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select::-moz-placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]::-moz-placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]::-moz-placeholder{color:#a7b6d8}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select::placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]::placeholder,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]::placeholder{color:#a7b6d8}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select:focus,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]:focus,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=text]:focus{border-color:#7c8db5;box-shadow:none;outline:none}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[type=number]{max-width:50px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input.readonly,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time input[readonly],#notificationx .wprf-control-datetime .components-datetime .components-datetime__time textarea.readonly,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time textarea[readonly]{background:rgba(106,75,255,.1)}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-month-select{width:100px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time{display:flex}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time .components-datetime__time-separator{align-self:center;box-sizing:border-box;line-height:30px;min-height:30px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time .components-input-control__input,#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time .components-input-control__input:focus{border:none!important;box-shadow:none!important;outline:none!important}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-time .components-input-control__backdrop{box-shadow:none!important}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-am-pm{display:flex}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-button-group .components-button{border-radius:5px;font-size:12px;font-weight:500;margin-right:5px;min-height:32px;padding:2px 6px}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-button-group .components-button.is-secondary{background:#7c8db5;border:1.5px solid #7c8db5;color:#fff}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-button-group .components-button.is-primary{background:#6a4bff;border:1.5px solid #6a4bff;color:#fff}#notificationx .wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__timezone{align-items:center;display:flex}#notificationx .wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected:hover{background:rgba(102,72,254,.7)!important}#notificationx .wprf-control-datetime .components-datetime .components-datetime__buttons{display:none}#notificationx .nx-quick-builder-wrapper{background:#fff;border:.5 solid #6a4bff;border-radius:20px;box-sizing:border-box;margin-left:auto;margin-right:auto;max-width:1024px;padding:30px;width:100%}#notificationx .nx-quick-builder-wrapper .nx-admin-content>.wprf-tabs-wrapper{margin-top:0!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper{display:flex;justify-content:center}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav{margin-left:-5px!important;margin-right:-5px!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item{margin-left:5px!important;margin-right:5px!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item:not(:last-child){position:relative}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item:not(:last-child):after{background:#e8e7fe;content:"";height:2px;left:calc(100% + 2px);position:absolute;top:calc(50% - 1px);width:10px}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete{background:#6a4bff!important;border-color:#6a4bff!important;color:#fff!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item.wprf-tab-complete:after{background:#6a4bff}#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.custom_notification #source_tab .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.custom_notification_conversions #source_tab .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd.conversions_conv-theme-eight .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd.conversions_conv-theme-nine .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd.conversions_conv-theme-seven .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.edd_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.envato .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.give .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.google .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.learndash .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.learndash_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.reviewx .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.tutor .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.tutor_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woo_inline .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woo_reviews .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woocommerce.conversions_conv-theme-eight .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woocommerce.conversions_conv-theme-nine .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.woocommerce.conversions_conv-theme-seven .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.wp_comments .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.zapier_conversions .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.zapier_email_subscription .wprf-control-section.content,#notificationx .nx-quick-builder-wrapper .wprf-tab-content-wrapper.zapier_reviews .wprf-control-section.content{display:none}#notificationx .nx-quick-builder-wrapper .wprf-tab-menu-wrapper:not(.custom_notification_conversions,.custom_notification) .wprf-tab-nav-item.content_tab{display:none!important}#notificationx .nx-quick-builder-wrapper .wprf-tab-content{background:#f6f7fe;border:.5 solid #6a4bff;border-radius:20px;padding:30px}#notificationx .nx-quick-builder-wrapper .wprf-tab-content>h4{line-height:1;margin-bottom:20px!important;text-align:center}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message{box-sizing:border-box;font-size:16px;line-height:1.4;text-align:center}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message a{color:#6a4bff;text-decoration:underline}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message .nx-on-click-install{align-items:center;background:transparent;background:#6a4bff;border:1.5px solid #6a4bff;border-radius:4px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-size:16px;font-weight:500;justify-content:center;line-height:1.15;min-height:36px;outline:none;padding:2px 25px;text-decoration:none;transition:.3s ease-in-out;width:auto}#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message .nx-on-click-install:focus,#notificationx .nx-quick-builder-wrapper .wprf-tab-content .nx-quick-builder-message .nx-on-click-install:hover{background-color:#5414d0;border-color:#5414d0;box-shadow:0 5px 10px -5px rgba(86,20,213,.2);color:#fff;outline:none} +.toplevel_page_wp-react-form #wpcontent{padding-left:0}.wp-react-form.wprf-tabs-wrapper{display:flex;flex-direction:column;margin:20px 0}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper{margin-bottom:5px}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav{display:flex;margin:0;padding:0}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item{background-color:#f8fafb;border-top:2px solid #f8fafb;color:#516378;cursor:pointer;font-size:15px;font-weight:500;margin-bottom:0;padding:15px 25px}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav{background-color:#fff;border-color:#6648fe;color:#516378}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar{background-color:#f8fafb;flex-basis:15%}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav{display:block}.wp-react-form.wprf-tabs-wrapper .wprf-tab-menu-wrapper.wprf-tab-menu-sidebar .wprf-tab-nav .wprf-tab-nav-item.wprf-active-nav{border-right:2px solid #6648fe;border-top-width:0}.wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar{background-color:#fff;border:1px solid #f2f2f2;flex-direction:row;padding:0}.wp-react-form.wprf-tabs-wrapper.wprf-tab-menu-as-sidebar .wprf-tab-menu-wrapper{margin-bottom:0}.wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper{background:#fff;flex:1;flex-basis:85%;padding:30px}.wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content{display:none}.wp-react-form.wprf-tabs-wrapper .wprf-tab-content-wrapper .wprf-tab-content.wprf-active{display:block}.wprf-control-section:not(:last-child){margin-bottom:15px}.wprf-control-wrapper{align-items:center;display:flex;flex-wrap:wrap}.wprf-control-wrapper:not(:last-child){margin-bottom:20px}.wprf-control-wrapper.hidden{display:none}.wprf-control-wrapper .wprf-control-label{flex-basis:20%;font-weight:700}.wprf-control-wrapper .wprf-control-field{align-items:center;display:flex;flex-basis:80%;flex-wrap:wrap}.wprf-control-wrapper .wprf-control-field .wprf-description{font-size:12px;margin-bottom:0;margin-left:10px;margin-top:0}.wprf-control-wrapper .wprf-control-field>.wprf-radio-card+.wprf-description{display:block;flex-basis:100%;margin-left:0;margin-top:20px}.wprf-control-wrapper .wprf-control-field .wprf-help{display:block;flex-basis:100%;font-size:12px;margin:5px 0 0}.wprf-control-wrapper.wprf-label-none .wprf-control-field{flex-basis:100%}.wprf-control-wrapper.wprf-top-label,.wprf-control-wrapper.wprf-top-label div.wprf-control-field{display:block}.wprf-control-wrapper .wprf-badge-wrapper{display:flex;width:100%}.wprf-control{margin-bottom:20px;width:100%}.wprf-control:last-of-type{margin-bottom:0}.wprf-control .wprf-control-label{margin-bottom:0;margin-top:0}.wprf-control .wprf-input-field{border:1px solid #f2f2f2;box-shadow:none;font-size:14px;line-height:1;margin:0;padding:8px;transition:border .2s linear,box-shadow .2s linear}.wprf-control .wprf-input-field.wprf-large{width:100%}.wprf-control .wprf-input-field:focus{box-shadow:none;outline:none}.wprf-control .clearfix:after,.wprf-control .clearfix:before{content:"";display:table}.wprf-control .clearfix:after{clear:both}.wprf-control .wprf-input-label{display:block;margin-bottom:10px}.wprf-control .wprf-input-label .wprf-label-image{max-width:100%}.wprf-control .wprf-input-label .wprf-badge{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.wprf-control .wprf-input-label .wprf-badge .wprf-badge-item{background-image:linear-gradient(-122deg,#9271ff,#5725ff);box-shadow:0 3px 7px 0 rgba(0,5,41,.1);color:#fff;font-size:14px;height:30px;left:-20px;left:-29px;line-height:30px;position:absolute;text-align:center;text-transform:uppercase;top:8px;transform:rotate(-45deg);width:80px;width:100px;z-index:9}.wprf-control .wprf-input-label .wprf-badge .wprf-badge-item.wprf-badge-active{background-color:#0ccf9f;background-image:none}.wprf-control .wprf-row{margin-left:-10px;margin-right:-10px}.wprf-control .wprf-row .wprf-column{box-sizing:border-box;padding-left:10px;padding-right:10px;width:20%}.wprf-control .wprf-row .wprf-column.wprf-column-1{width:8.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-2{width:16.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-3{width:25%}.wprf-control .wprf-row .wprf-column.wprf-column-4{width:33.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-5{width:41.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-6{width:50%}.wprf-control .wprf-row .wprf-column.wprf-column-7{width:58.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-8{width:66.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-9{width:75%}.wprf-control .wprf-row .wprf-column.wprf-column-10{width:83.3333%}.wprf-control .wprf-row .wprf-column.wprf-column-11{width:91.6667%}.wprf-control .wprf-row .wprf-column.wprf-column-12{width:100%}.wprf-control .wprf-flex{display:flex;flex-wrap:wrap}.wprf-control .wprf-error-message{color:red}.wprf-control.wprf-submit{margin-top:30px}.wprf-control.wprf-submit button.wprf-submit-button{border:none;padding:10px 20px}.wprf-control-section{border:1px solid #f7f7f7;margin-bottom:20px;padding-bottom:20px;position:relative}.wprf-control-section>div.wprf-section-title h4{background:#f8fafb;color:#516378;display:block;font-weight:700;letter-spacing:2px;margin-bottom:20px;margin-top:0;padding:14px;text-transform:uppercase}.wprf-control-section>div.wprf-section-fields{padding-left:20px;padding-right:20px}button.wprf-btn{border:0;cursor:pointer;padding:10px 20px}.wprf-control .wprf-input-field.wprf-input-text{padding:10px}.wprf-input-radio-set-wrap.wprf-radio-card input{display:none}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option{align-items:center;box-shadow:0 0 25px 0 rgba(0,9,78,.08);display:flex;line-height:60px;margin-top:20px;min-height:80px;position:relative}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:after,.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:before{content:"";position:absolute}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:after{border-bottom:3.5px solid #fff;border-right:3.5px solid #fff;display:inline-block;height:6px;right:-3px;top:-6px;transform:rotate(45deg);width:3px}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected:before{background:#09dca8;border-radius:50%;box-sizing:border-box;height:20px;left:auto;right:-10px;top:-10px;transition:all .3s ease 0s;width:20px}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label{background-color:#0ccf9f;color:#fff}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option.wprf-option-selected .wprf-input-label.wprf-label-has-image{background-color:#fff}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option input.wprf-input-field{display:none}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label{align-items:center;background:#fff;border-radius:5px;box-sizing:border-box;display:flex;font-size:14px;height:100%;justify-content:center;margin-bottom:0;padding:10px;transition:background .3s ease 0s;width:100%}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label.wprf-label-has-image{padding:0}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label.wprf-label-has-image.wprf-size-medium{box-sizing:border-box;padding:10px}.wprf-input-radio-set-wrap.wprf-radio-card .wprf-input-radio-option .wprf-input-label.wprf-label-has-image.wprf-size-medium>img{height:50px;width:50px}.wprf-control-section .wprf-section-title{align-items:center;display:flex}.wprf-control-section .wprf-section-title>h4{flex:1}.wprf-control-section .wprf-section-fields{height:auto;transition:all .3s ease 0s}.wprf-control-section.wprf-section-collapsed .wprf-section-fields{height:0;overflow:hidden}.components-visually-hidden{clip:rect(1px,1px,1px,1px);word-wrap:normal!important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wprf-control-datetime{position:relative}.wprf-control-datetime .wprf-control-datetime-content{z-index:1}.wprf-control-datetime .components-button.is-tertiary{background-color:#f2f2f2;border:none;color:#6648fe;cursor:pointer;padding:10px}.wprf-control-datetime .components-button.is-tertiary:focus{border:none;outline:none}.wprf-control-datetime .components-datetime .PresetDateRangePicker_panel{padding:0 22px 11px}.wprf-control-datetime .components-datetime .PresetDateRangePicker_button{background:0 0;border:2px solid #00a699;box-sizing:border-box;color:#00a699;cursor:pointer;font:inherit;font-weight:700;height:100%;line-height:normal;margin-right:8px;overflow:visible;padding:4px 12px;position:relative;text-align:center}.wprf-control-datetime .components-datetime .PresetDateRangePicker_button:active{outline:0}.wprf-control-datetime .components-datetime .PresetDateRangePicker_button__selected{background:#00a699;color:#fff}.wprf-control-datetime .components-datetime .SingleDatePickerInput{background-color:#fff;display:inline-block}.wprf-control-datetime .components-datetime .SingleDatePickerInput__withBorder{border:1px solid #dbdbdb;border-radius:2px}.wprf-control-datetime .components-datetime .SingleDatePickerInput__rtl{direction:rtl}.wprf-control-datetime .components-datetime .SingleDatePickerInput__disabled{background-color:#f2f2f2}.wprf-control-datetime .components-datetime .SingleDatePickerInput__block{display:block}.wprf-control-datetime .components-datetime .SingleDatePickerInput__showClearDate{padding-right:30px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;margin:0 10px 0 5px;overflow:visible;padding:10px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__default:focus,.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__small{padding:6px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate__hide{visibility:hidden}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;vertical-align:middle;width:15px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_clearDate_svg__small{height:9px}.wprf-control-datetime .components-datetime .SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;line-height:normal;margin:0 5px 0 10px;overflow:visible;padding:10px;vertical-align:middle}.wprf-control-datetime .components-datetime .SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;vertical-align:middle;width:14px}.wprf-control-datetime .components-datetime .SingleDatePicker{display:inline-block;position:relative}.wprf-control-datetime .components-datetime .SingleDatePicker__block{display:block}.wprf-control-datetime .components-datetime .SingleDatePicker_picker{background-color:#fff;position:absolute;z-index:1}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__rtl{direction:rtl}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__directionLeft{left:0}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__directionRight{right:0}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);height:100%;left:0;position:fixed;top:0;width:100%}.wprf-control-datetime .components-datetime .SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;overflow:visible;padding:15px;position:absolute;right:0;top:0;z-index:2}.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton:focus,.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.wprf-control-datetime .components-datetime .SingleDatePicker_closeButton_svg{fill:#cacccd;height:15px;width:15px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;cursor:pointer;font:inherit;font-size:14px;line-height:normal;overflow:visible;padding:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show{position:absolute;width:22px;z-index:2}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__bottomRight{border-right:33px solid #00a699;border-top:26px solid transparent;bottom:0;right:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;right:0;top:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;left:0;top:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan__topRight{right:-28px;top:1px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_showSpan__topLeft{left:-28px;top:1px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_panel{background:#fff;border:1px solid #dbdbdb;border-radius:2px;bottom:0;left:0;margin:33px;overflow:auto;padding:22px;position:absolute;right:0;top:0;z-index:2}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_list{font-size:14px;list-style:none;padding:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_close:active{outline:0}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_closeSvg{fill:#cacccd;height:15px;width:15px}.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_closeSvg:focus,.wprf-control-datetime .components-datetime .DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.wprf-control-datetime .components-datetime .CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.wprf-control-datetime .components-datetime .CalendarDay:active{outline:0}.wprf-control-datetime .components-datetime .CalendarDay__defaultCursor{cursor:default}.wprf-control-datetime .components-datetime .CalendarDay__default{background:#fff;border:1px solid #e4e7e7;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.wprf-control-datetime .components-datetime .CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.wprf-control-datetime .components-datetime .CalendarDay__outside{background:#fff;border:0;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__outside:hover{border:0}.wprf-control-datetime .components-datetime .CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.wprf-control-datetime .components-datetime .CalendarDay__blocked_minimum_nights:active,.wprf-control-datetime .components-datetime .CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.wprf-control-datetime .components-datetime .CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__highlighted_calendar:active,.wprf-control-datetime .components-datetime .CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.wprf-control-datetime .components-datetime .CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.wprf-control-datetime .components-datetime .CalendarDay__selected_span:active,.wprf-control-datetime .components-datetime .CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.wprf-control-datetime .components-datetime .CalendarDay__last_in_range{border-right:#00a699}.wprf-control-datetime .components-datetime .CalendarDay__selected,.wprf-control-datetime .components-datetime .CalendarDay__selected:active,.wprf-control-datetime .components-datetime .CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.wprf-control-datetime .components-datetime .CalendarDay__hovered_span,.wprf-control-datetime .components-datetime .CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.wprf-control-datetime .components-datetime .CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.wprf-control-datetime .components-datetime .CalendarDay__blocked_calendar,.wprf-control-datetime .components-datetime .CalendarDay__blocked_calendar:active,.wprf-control-datetime .components-datetime .CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.wprf-control-datetime .components-datetime .CalendarDay__blocked_out_of_range,.wprf-control-datetime .components-datetime .CalendarDay__blocked_out_of_range:active,.wprf-control-datetime .components-datetime .CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.wprf-control-datetime .components-datetime .CalendarMonth{background:#fff;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top}.wprf-control-datetime .components-datetime .CalendarMonth_table{border-collapse:collapse;border-spacing:0}.wprf-control-datetime .components-datetime .CalendarMonth_verticalSpacing{border-collapse:separate}.wprf-control-datetime .components-datetime .CalendarMonth_caption{caption-side:top;color:#484848;font-size:18px;padding-bottom:37px;padding-top:22px;text-align:center}.wprf-control-datetime .components-datetime .CalendarMonth_caption__verticalScrollable{padding-bottom:7px;padding-top:12px}.wprf-control-datetime .components-datetime .CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.wprf-control-datetime .components-datetime .CalendarMonthGrid__animating{z-index:1}.wprf-control-datetime .components-datetime .CalendarMonthGrid__vertical{margin:0 auto}.wprf-control-datetime .components-datetime .CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.wprf-control-datetime .components-datetime .CalendarMonthGrid_month__horizontal{display:inline-block;min-height:100%;vertical-align:top}.wprf-control-datetime .components-datetime .CalendarMonthGrid_month__hideForAnimation{opacity:0;pointer-events:none;position:absolute;z-index:-1}.wprf-control-datetime .components-datetime .CalendarMonthGrid_month__hidden{visibility:hidden}.wprf-control-datetime .components-datetime .DayPickerNavigation{position:relative;z-index:2}.wprf-control-datetime .components-datetime .DayPickerNavigation__horizontal{height:0}.wprf-control-datetime .components-datetime .DayPickerNavigation__verticalDefault{bottom:0;height:52px;left:0;position:absolute;width:100%}.wprf-control-datetime .components-datetime .DayPickerNavigation__verticalScrollableDefault{position:relative}.wprf-control-datetime .components-datetime .DayPickerNavigation_button{border:0;cursor:pointer;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default{background-color:#fff;border:1px solid #e4e7e7;color:#757575}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default:focus,.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__default:active{background:#f2f2f2}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__horizontalDefault{border-radius:3px;line-height:.78;padding:6px 9px;position:absolute;top:18px}.wprf-control-datetime .components-datetime .DayPickerNavigation_leftButton__horizontalDefault{left:22px}.wprf-control-datetime .components-datetime .DayPickerNavigation_rightButton__horizontalDefault{right:22px}.wprf-control-datetime .components-datetime .DayPickerNavigation_button__verticalDefault{background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);display:inline-block;height:100%;padding:5px;position:relative;width:50%}.wprf-control-datetime .components-datetime .DayPickerNavigation_nextButton__verticalDefault{border-left:0}.wprf-control-datetime .components-datetime .DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.wprf-control-datetime .components-datetime .DayPickerNavigation_svg__horizontal{fill:#82888a;display:block;height:19px;width:19px}.wprf-control-datetime .components-datetime .DayPickerNavigation_svg__vertical{fill:#484848;display:block;height:42px;width:42px}.wprf-control-datetime .components-datetime .DayPicker{background:#fff;position:relative;text-align:left}.wprf-control-datetime .components-datetime .DayPicker__horizontal{background:#fff}.wprf-control-datetime .components-datetime .DayPicker__verticalScrollable{height:100%}.wprf-control-datetime .components-datetime .DayPicker__hidden{visibility:hidden}.wprf-control-datetime .components-datetime .DayPicker__withBorder{border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07)}.wprf-control-datetime .components-datetime .DayPicker_portal__horizontal{box-shadow:none;left:50%;position:absolute;top:50%}.wprf-control-datetime .components-datetime .DayPicker_portal__vertical{position:static}.wprf-control-datetime .components-datetime .DayPicker_focusRegion{outline:0}.wprf-control-datetime .components-datetime .DayPicker_calendarInfo__horizontal,.wprf-control-datetime .components-datetime .DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.wprf-control-datetime .components-datetime .DayPicker_weekHeaders{position:relative}.wprf-control-datetime .components-datetime .DayPicker_weekHeaders__horizontal{margin-left:9px}.wprf-control-datetime .components-datetime .DayPicker_weekHeader{color:#757575;position:absolute;text-align:left;top:62px;z-index:2}.wprf-control-datetime .components-datetime .DayPicker_weekHeader__vertical{left:50%}.wprf-control-datetime .components-datetime .DayPicker_weekHeader__verticalScrollable{background:#fff;border-bottom:1px solid #dbdbdb;display:table-row;left:0;margin-left:0;text-align:center;top:0;width:100%}.wprf-control-datetime .components-datetime .DayPicker_weekHeader_ul{font-size:14px;list-style:none;margin:1px 0;padding-left:0;padding-right:0}.wprf-control-datetime .components-datetime .DayPicker_weekHeader_li{display:inline-block;text-align:center}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer{border-radius:3px;overflow:hidden;position:relative}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer__vertical{width:100%}.wprf-control-datetime .components-datetime .DayPicker_transitionContainer__verticalScrollable{bottom:0;height:100%;left:0;overflow-y:scroll;padding-top:20px;position:absolute;right:0;top:0}.wprf-control-datetime .components-datetime .DateInput{background:#fff;display:inline-block;margin:0;padding:0;position:relative;vertical-align:middle;width:130px}.wprf-control-datetime .components-datetime .DateInput__small{width:97px}.wprf-control-datetime .components-datetime .DateInput__block{width:100%}.wprf-control-datetime .components-datetime .DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.wprf-control-datetime .components-datetime .DateInput_input{background-color:#fff;border:0;border-bottom:2px solid transparent;border-radius:0;color:#484848;font-size:19px;font-weight:200;line-height:24px;padding:11px 11px 9px;width:100%}.wprf-control-datetime .components-datetime .DateInput_input__small{font-size:15px;letter-spacing:.2px;line-height:18px;padding:7px 7px 5px}.wprf-control-datetime .components-datetime .DateInput_input__regular{font-weight:auto}.wprf-control-datetime .components-datetime .DateInput_input__readOnly{-webkit-user-select:none;-moz-user-select:none;user-select:none}.wprf-control-datetime .components-datetime .DateInput_input__focused{background:#fff;border:0;border-bottom:2px solid #008489;outline:0}.wprf-control-datetime .components-datetime .DateInput_input__disabled{background:#f2f2f2;font-style:italic}.wprf-control-datetime .components-datetime .DateInput_screenReaderMessage{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.wprf-control-datetime .components-datetime .DateInput_fang{height:10px;left:22px;position:absolute;width:20px;z-index:2}.wprf-control-datetime .components-datetime .DateInput_fangShape{fill:#fff}.wprf-control-datetime .components-datetime .DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.wprf-control-datetime .components-datetime .DateRangePickerInput{background-color:#fff;display:inline-block}.wprf-control-datetime .components-datetime .DateRangePickerInput__disabled{background:#f2f2f2}.wprf-control-datetime .components-datetime .DateRangePickerInput__withBorder{border:1px solid #dbdbdb;border-radius:2px}.wprf-control-datetime .components-datetime .DateRangePickerInput__rtl{direction:rtl}.wprf-control-datetime .components-datetime .DateRangePickerInput__block{display:block}.wprf-control-datetime .components-datetime .DateRangePickerInput__showClearDates{padding-right:30px}.wprf-control-datetime .components-datetime .DateRangePickerInput_arrow{color:#484848;display:inline-block;vertical-align:middle}.wprf-control-datetime .components-datetime .DateRangePickerInput_arrow_svg{fill:#484848;height:24px;vertical-align:middle;width:24px}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;margin:0 10px 0 5px;overflow:visible;padding:10px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates__small{padding:6px}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_default:focus,.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates__hide{visibility:hidden}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;vertical-align:middle;width:15px}.wprf-control-datetime .components-datetime .DateRangePickerInput_clearDates_svg__small{height:9px}.wprf-control-datetime .components-datetime .DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;line-height:normal;margin:0 5px 0 10px;overflow:visible;padding:10px;vertical-align:middle}.wprf-control-datetime .components-datetime .DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;vertical-align:middle;width:14px}.wprf-control-datetime .components-datetime .DateRangePicker{display:inline-block;position:relative}.wprf-control-datetime .components-datetime .DateRangePicker__block{display:block}.wprf-control-datetime .components-datetime .DateRangePicker_picker{background-color:#fff;position:absolute;z-index:1}.wprf-control-datetime .components-datetime .DateRangePicker_picker__rtl{direction:rtl}.wprf-control-datetime .components-datetime .DateRangePicker_picker__directionLeft{left:0}.wprf-control-datetime .components-datetime .DateRangePicker_picker__directionRight{right:0}.wprf-control-datetime .components-datetime .DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);height:100%;left:0;position:fixed;top:0;width:100%}.wprf-control-datetime .components-datetime .DateRangePicker_picker__fullScreenPortal{background-color:#fff}.wprf-control-datetime .components-datetime .DateRangePicker_closeButton{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;overflow:visible;padding:15px;position:absolute;right:0;top:0;z-index:2}.wprf-control-datetime .components-datetime .DateRangePicker_closeButton:focus,.wprf-control-datetime .components-datetime .DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.wprf-control-datetime .components-datetime .DateRangePicker_closeButton_svg{fill:#cacccd;height:15px;width:15px}.wprf-control-datetime .components-datetime .components-datetime{padding:0}.wprf-control-datetime .components-datetime .components-datetime .components-datetime__calendar-help{padding:16px}.wprf-control-datetime .components-datetime .components-datetime .components-datetime__calendar-help h4{margin:0}.wprf-control-datetime .components-datetime .components-datetime .components-datetime__buttons{display:flex;justify-content:space-between}.wprf-control-datetime .components-datetime .components-datetime fieldset{border:0;margin:0;padding:0}.wprf-control-datetime .components-datetime .components-datetime input,.wprf-control-datetime .components-datetime .components-datetime select{border:1px solid #757575;border-radius:2px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.wprf-control-datetime .components-datetime .components-datetime input,.wprf-control-datetime .components-datetime .components-datetime select{transition-duration:0s}}.wprf-control-datetime .components-datetime .components-datetime .components-button,.wprf-control-datetime .components-datetime .components-datetime input[type=number],.wprf-control-datetime .components-datetime .components-datetime select{height:30px;margin-bottom:0;margin-top:0}.wprf-control-datetime .components-datetime .components-datetime__date{border-top:1px solid #ddd;min-height:236px}.wprf-control-datetime .components-datetime .components-datetime__date button{border:none}.wprf-control-datetime .components-datetime .components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault{left:0}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarMonth_caption{font-size:13px}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarMonth_table{border-collapse:separate;border-spacing:2px}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay{border:none;border-radius:50%;font-size:13px;text-align:center}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff;outline:2px solid transparent}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected{background:#6648fe;border:2px solid transparent}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected:hover{background:var(--wp-admin-theme-color-darker-20)}.wprf-control-datetime .components-datetime .components-datetime__date .CalendarDay__selected:focus{box-shadow:inset 0 0 0 1px #fff}.wprf-control-datetime .components-datetime .components-datetime__date .DayPickerNavigation_button__horizontalDefault{padding:2px 8px;top:20px}.wprf-control-datetime .components-datetime .components-datetime__date .DayPickerNavigation_button__horizontalDefault:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.wprf-control-datetime .components-datetime .components-datetime__date .DayPicker_weekHeader{top:50px}.wprf-control-datetime .components-datetime .components-datetime__date .DayPicker_weekHeader .DayPicker_weekHeader_ul{margin:1px 0;padding-left:0;padding-right:0}.wprf-control-datetime .components-datetime .components-datetime__date.is-description-visible .DayPicker{visibility:hidden}.wprf-control-datetime .components-datetime .components-datetime__time{padding-bottom:16px}.wprf-control-datetime .components-datetime .components-datetime__time fieldset{margin-bottom:.5em;position:relative}.wprf-control-datetime .components-datetime .components-datetime__time fieldset button,.wprf-control-datetime .components-datetime .components-datetime__time fieldset input,.wprf-control-datetime .components-datetime .components-datetime__time fieldset select{height:30px}.wprf-control-datetime .components-datetime .components-datetime__time fieldset+fieldset{margin-bottom:0}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-field-am-pm fieldset{margin-top:0}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper{display:flex}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-separator{display:inline-block;padding:0 3px 0 0}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field-time{direction:ltr}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select{margin-right:4px}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field select:focus{position:relative;z-index:1}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]{-moz-appearance:textfield;margin-right:4px;padding:2px;text-align:center}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]:focus{position:relative;z-index:1}.wprf-control-datetime .components-datetime .components-datetime__time .components-datetime__time-wrapper .components-datetime__time-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.wprf-control-datetime .components-datetime .components-datetime__time.is-12-hour .components-datetime__time-field-day input{border-radius:2px 0 0 2px!important;margin:-4px 0 0!important}.wprf-control-datetime .components-datetime .components-datetime__time.is-12-hour .components-datetime__time-field-year input{border-radius:0 2px 2px 0!important}.wprf-control-datetime .components-datetime .components-datetime__timezone{line-height:30px;margin-left:4px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wprf-control-datetime .components-datetime .components-datetime__time-legend{font-weight:600;margin-top:.5em}.wprf-control-datetime .components-datetime .components-datetime__time-legend.invisible{left:-999em;position:absolute;top:-999em}.wprf-control-datetime .components-datetime .components-datetime__time-field-day-input,.wprf-control-datetime .components-datetime .components-datetime__time-field-hours-input,.wprf-control-datetime .components-datetime .components-datetime__time-field-minutes-input{width:35px}.wprf-control-datetime .components-datetime .components-datetime__time-field-year-input{width:55px}.wprf-control-datetime .components-datetime .components-datetime__time-field-month-select{max-width:145px}.wprf-control-datetime .components-popover .components-datetime__date{padding-left:4px}.wprf-control-datetime .components-popover .components-popover__content{background:#fff;border:1px solid #f2f2f2;border-radius:5px;padding:15px;position:absolute;z-index:9999999}.wprf-control-datetime .components-popover .components-datetime__date-help-toggle{display:none;margin-left:auto}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field{margin-top:20px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title{align-items:center;background-color:#f8fafb;cursor:pointer;display:flex;font-size:12px;padding:15px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4{color:#3d4f7f;cursor:grab;flex-basis:100%;line-height:18px;margin:0}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4 .dashicon,.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4 .icon,.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title h4 svg{align-items:center;display:inline-flex;font-size:18px;height:18px;justify-content:center;line-height:18px;margin-right:5px;width:18px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls{align-self:flex-end;display:flex}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls span{margin-left:10px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls .dashicon.dashicons-admin-page{color:#5f7eff}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-field-title .wprf-repeater-field-controls .dashicon.dashicons-trash{color:#dc4f4b}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field .wprf-repeater-inner-field{background-color:#fff;border:1px solid #f2f2f2;padding:20px}.wprf-repeater-control .wprf-repeater-content .wprf-repeater-field.sortable-chosen .wprf-repeater-field-title h4{cursor:grabbing}.wprf-toggle-wrap{align-items:center;display:flex}.wprf-toggle-wrap.wprf-card{border:1px solid #f2f2f2;margin-bottom:20px;padding:15px}.wprf-toggle-wrap.wprf-label-position-left .wprf-input-label{margin-left:15px}.wprf-toggle-wrap.wprf-label-position-right .wprf-input-label{margin-right:15px}.wprf-toggle-wrap .wprf-input-field,.wprf-toggle-wrap input{display:none}.wprf-toggle-wrap label.wprf-input-label{cursor:pointer;display:inline-block;height:30px;margin-bottom:0;max-height:30px;min-height:30px;position:relative;width:55px}.wprf-toggle-wrap label.wprf-input-label:after,.wprf-toggle-wrap label.wprf-input-label:before{content:"";position:absolute}.wprf-toggle-wrap label.wprf-input-label:before{background:#f0f0f0;border:1px solid #e8eae9;border-radius:20px;height:28px;left:0;top:0;transition:all .4s ease;width:55px}.wprf-toggle-wrap label.wprf-input-label:after{background:#fbfbfb;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 2px 0 rgba(0,0,0,.08);height:24px;left:3px;top:3px;transition:left .3s cubic-bezier(.175,.885,.32,1.275),padding .3s ease,margin .3s ease;width:24px}.wprf-toggle-wrap input:checked+label:before,.wprf-toggle-wrap.wprf-checked:before{background:#2df16e}.wprf-toggle-wrap input:checked+label:after,.wprf-toggle-wrap.wprf-checked:after{left:auto;right:0}.wprf-toggle-wrapper>h4{margin-bottom:10px;margin-top:0}.wprf-toggle-wrapper .wprf-toggle-options .wprf-toggle-wrap{background-color:#fff;border-radius:5px;box-sizing:border-box;display:flex;margin-bottom:15px;margin-top:0;padding:15px}.wprf-toggle-wrapper .wprf-toggle-options .wprf-toggle-wrap.wprf-label-position-right>span{text-align:right}.wprf-toggle-wrapper .wprf-toggle-options .wprf-toggle-wrap>span{flex:1}.wprf-colorpicker-wrap .components-color-picker{width:100%}.wprf-colorpicker-wrap .components-color-picker *{box-sizing:border-box}.wprf-colorpicker-wrap .components-color-picker__saturation{padding-bottom:55%;position:relative;width:100%}.wprf-colorpicker-wrap .components-color-picker__body{padding:16px 16px 12px}.wprf-colorpicker-wrap .components-color-picker__controls{display:flex}.wprf-colorpicker-wrap .components-color-picker__alpha-pointer,.wprf-colorpicker-wrap .components-color-picker__hue-pointer,.wprf-colorpicker-wrap .components-color-picker__saturation-pointer{border:none;box-shadow:none;cursor:pointer;padding:0;position:absolute}.wprf-colorpicker-wrap .components-color-picker__swatch{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px;border-radius:50%;height:32px;margin-right:8px;overflow:hidden;position:relative;width:32px}.is-alpha-disabled .wprf-colorpicker-wrap .components-color-picker__swatch{height:12px;margin-top:0;width:12px}.wprf-colorpicker-wrap .components-color-picker__active{border-radius:50%;bottom:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);left:0;position:absolute;right:0;top:0;z-index:2}.wprf-colorpicker-wrap .components-color-picker__saturation-black,.wprf-colorpicker-wrap .components-color-picker__saturation-color,.wprf-colorpicker-wrap .components-color-picker__saturation-white{bottom:0;left:0;position:absolute;right:0;top:0}.wprf-colorpicker-wrap .components-color-picker__saturation-color{overflow:visible}.wprf-colorpicker-wrap .components-color-picker__saturation-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.wprf-colorpicker-wrap .components-color-picker__saturation-black{background:linear-gradient(0deg,#000,transparent)}.wprf-colorpicker-wrap .components-button.components-color-picker__saturation-pointer{background-color:transparent;border-radius:50%;box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #000,0 0 0 2px #000;height:14px;padding:0;transform:translate(-50%,-50%);width:14px}.wprf-colorpicker-wrap .components-button.components-color-picker__saturation-pointer:focus:not(:disabled){box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #000,0 0 0 3px #000}.wprf-colorpicker-wrap .components-color-picker__toggles{flex:1}.wprf-colorpicker-wrap .components-color-picker__alpha{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-position:0 0,0 5px,5px -5px,-5px 0;background-size:10px 10px}.wprf-colorpicker-wrap .components-color-picker__alpha-gradient,.wprf-colorpicker-wrap .components-color-picker__hue-gradient{bottom:0;left:0;position:absolute;right:0;top:0}.wprf-colorpicker-wrap .components-color-picker__alpha,.wprf-colorpicker-wrap .components-color-picker__hue{height:12px;position:relative}.wprf-colorpicker-wrap .is-alpha-enabled .components-color-picker__hue{margin-bottom:8px}.wprf-colorpicker-wrap .components-color-picker__alpha-bar,.wprf-colorpicker-wrap .components-color-picker__hue-bar{height:100%;margin:0 3px;padding:0 2px;position:relative}.wprf-colorpicker-wrap .components-color-picker__hue-gradient{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.wprf-colorpicker-wrap .components-color-picker__alpha-pointer,.wprf-colorpicker-wrap .components-color-picker__hue-pointer{background:#fff;border-radius:50%;box-shadow:0 1px 4px 0 rgba(0,0,0,.37);height:14px;left:0;transform:translate(-7px,-1px);width:14px}.wprf-colorpicker-wrap .components-color-picker__hue-pointer,.wprf-colorpicker-wrap .components-color-picker__saturation-pointer{transition:box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.wprf-colorpicker-wrap .components-color-picker__hue-pointer,.wprf-colorpicker-wrap .components-color-picker__saturation-pointer{transition-duration:0s}}.wprf-colorpicker-wrap .components-color-picker__saturation-pointer:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color),0 0 5px 0 var(--wp-admin-theme-color),inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.wprf-colorpicker-wrap .components-color-picker__alpha-pointer:focus,.wprf-colorpicker-wrap .components-color-picker__hue-pointer:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 2px var(--wp-admin-theme-color),0 0 3px 0 var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper{align-items:flex-end;display:flex;margin:0 -4px;min-width:255px;padding-top:16px}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper fieldset{border:none;flex:1;margin:0;padding:0}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{margin:0;padding:6px 3px}.wprf-colorpicker-wrap .components-color-picker__inputs-field{width:100%}.wprf-colorpicker-wrap .components-color-picker__inputs-fields{direction:ltr;display:flex;flex-grow:1;margin-right:4px}.wprf-colorpicker-wrap .components-color-picker__inputs-fields .components-base-control+.components-base-control{margin-top:0}.wprf-colorpicker-wrap .components-color-picker__inputs-fields .components-base-control__field{margin:0 2px}.wprf-colorpicker-wrap .components-color-picker__inputs-toggle{height:30px;padding:0 5px}.wprf-colorpicker-wrap{max-width:300px;min-width:300px;position:relative}.wprf-colorpicker-wrap .wprf-colorpicker-reset{bottom:25px;position:absolute}.wprf-colorpicker-wrap .wprf-picker-display{border:1px solid #ddd;border-radius:50%;cursor:pointer;display:inline-block;height:30px;margin-bottom:15px;margin-right:15px;margin-top:10px;outline:none;width:30px}.wprf-colorpicker-wrap>.components-color-picker{background-color:#fff;border-radius:5px;left:0;padding:10px;position:absolute;top:45px;z-index:11}.wprf-colorpicker-wrap .chrome-picker{position:absolute;top:30px}.wprf-colorpicker-wrap .components-color-picker__inputs-wrapper .components-color-picker__inputs-fields .components-text-control__input[type=number]{width:54px}.wprf-group-control .wprf-group-control-inner{align-items:center;display:flex;flex-wrap:wrap}.wprf-group-control .wprf-group-control-inner>*{flex-basis:30%}.wprf-select-wrapper{min-width:250px}.wprf-media{align-items:center;display:flex}.wprf-media .wprf-image-preview{height:auto;margin-right:20px;max-height:100px;overflow:hidden;width:100px}.wprf-media .wprf-image-preview img{display:block;max-height:100%;max-width:100%}.wprf-media .wprf-image-uploader button{margin-right:10px}.wprf-media .wprf-image-uploader button.wprf-image-remove-btn{background-color:#f26f5a;color:#fff}.wprf-editor{height:250px}.wprf-editor .wprf-editor-toolbar{margin-bottom:0}.wprf-editor .wprf-editor-main{border:1px solid #f1f1f1;border-top:0;box-sizing:border-box;height:calc(100% - 46px);padding:0 15px}.wprf-modal{position:relative}.components-modal__screen-overlay{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards;background-color:rgba(0,0,0,.35);bottom:0;left:0;position:fixed;right:0;top:0;z-index:100000}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms}}.components-modal__frame{background:#fff;border:1px solid #ddd;bottom:0;box-shadow:0 3px 30px rgba(0,0,0,.2);box-sizing:border-box;left:0;margin:0;overflow:auto;position:absolute;right:0;top:0}@media (min-width:600px){.components-modal__frame{animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards;bottom:auto;left:50%;max-height:90%;max-width:calc(100% - 32px);min-width:360px;right:auto;top:50%;transform:translate(-50%,-50%)}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{align-items:center;background:#fff;border-bottom:1px solid #ddd;box-sizing:border-box;display:flex;flex-direction:row;height:60px;justify-content:space-between;margin:0 -24px 24px;padding:0 24px;position:relative;position:sticky;top:0;z-index:10}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{left:8px;position:relative}.components-modal__header-heading-container{align-items:center;display:flex;flex-direction:row;flex-grow:1;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-height:36px;max-width:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.wprf-modal-body .wprf-modal-footer{align-items:center;border-top:1px solid #f2f2f2;display:flex;margin:24px -24px 0;padding:15px 24px 0}.wprf-modal-body .wprf-modal-footer .wprf-modal-footer-left{flex:1}.wprf-control.wprf-button-group>div{margin-right:15px}.wprf-code-viewer{position:relative}.wprf-code-viewer textarea{background:#2e3246;border-color:transparent;border-radius:15px;border-width:15px;color:#eae8eb;cursor:pointer;font-style:italic;line-height:1.7;min-height:300px;resize:none;width:100%}.wprf-code-viewer textarea::-webkit-scrollbar{display:none}.wprf-code-viewer .wprf-copy-button{align-items:center;background:#15c7a3;border:none;border-radius:5px;box-shadow:0 5px 5px rgba(0,0,0,.5),inset 0 5px 5px 5px rgba(0,0,0,.05),inset 0 -5px 5px 5px hsla(0,0%,100%,.1);color:#fff;display:flex;font-weight:600;height:36px;padding:5px 20px;pointer-events:none;position:absolute;right:15px;text-transform:uppercase;top:15px}.wprf-code-viewer .pro-deactivated textarea{background:#555;cursor:not-allowed}.wprf-json-uploader{align-items:center;display:flex}.wprf-json-uploader .wprf-json-uploaderButton{align-items:center;background:#6a4bff;border:none;border-radius:5px;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-flex;font-weight:600;height:36px;justify-content:center;min-width:80px;padding:5px 20px;text-transform:uppercase}.wprf-json-uploader .wprf-json-uploaderButton input{display:none}.wprf-json-uploader .wpfr-json-file-name-wrapper{align-items:center;background:#f3f3f3;border:1px solid #e2e2e2;border-radius:22px;display:inline-flex;padding:2px 4px 2px 10px;position:relative}.wprf-json-uploader .wpfr-json-file-name-wrapper .wpfr-json-file-name{color:#7c8db5;display:inline-flex;font-size:14px;font-weight:400;line-height:24px;margin-left:0;margin-right:5px}.wprf-json-uploader .wpfr-json-file-name-wrapper .wprf-json-file-delete-button{background:rgba(255,0,0,.1);border-radius:10px;color:red;cursor:pointer;display:flex;font-size:13px;height:20px;justify-content:center;line-height:20px;min-width:20px;width:20px}.wprf-json-uploader .wpfr-json-file-name-wrapper .wprf-json-file-delete-button:hover{background:red;color:#fff}.rdw-option-wrapper{align-items:center;background:#fff;border:1px solid #f1f1f1;border-radius:2px;cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 4px;min-width:25px;padding:5px;text-transform:capitalize}.rdw-option-wrapper:hover{box-shadow:1px 1px 0 #bfbdbd}.rdw-option-active,.rdw-option-wrapper:active{box-shadow:inset 1px 1px 0 #bfbdbd}.rdw-option-disabled{cursor:default;opacity:.3}.rdw-dropdown-wrapper{background:#fff;border:1px solid #f1f1f1;border-radius:2px;cursor:pointer;height:30px;margin:0 3px;text-transform:capitalize}.rdw-dropdown-wrapper:focus{outline:none}.rdw-dropdown-wrapper:hover{background-color:#fff;box-shadow:1px 1px 0 #bfbdbd}.rdw-dropdown-wrapper:active{box-shadow:inset 1px 1px 0 #bfbdbd}.rdw-dropdown-carettoopen{border-top:6px solid #000}.rdw-dropdown-carettoclose,.rdw-dropdown-carettoopen{border-left:5px solid transparent;border-right:5px solid transparent;height:0;position:absolute;right:10%;top:35%;width:0}.rdw-dropdown-carettoclose{border-bottom:6px solid #000}.rdw-dropdown-selectedtext{align-items:center;display:flex;height:100%;padding:0 5px;position:relative}.rdw-dropdown-optionwrapper{background:#fff;border:1px solid #f1f1f1;border-radius:2px;margin:0;max-height:250px;overflow-y:scroll;padding:0;position:relative;width:98%;z-index:100}.rdw-dropdown-optionwrapper:hover{background-color:#fff;box-shadow:1px 1px 0 #bfbdbd}.rdw-dropdownoption-default{align-items:center;display:flex;min-height:25px;padding:0 5px}.rdw-dropdownoption-highlighted{background:#f1f1f1}.rdw-dropdownoption-active{background:#f5f5f5}.rdw-dropdownoption-disabled{cursor:default;opacity:.3}.rdw-inline-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-inline-dropdown{width:50px}.rdw-inline-dropdownoption{display:flex;height:40px;justify-content:center}.rdw-block-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-block-dropdown{width:110px}.rdw-fontsize-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-fontsize-dropdown{min-width:40px}.rdw-fontsize-option{display:flex;justify-content:center}.rdw-fontfamily-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-fontfamily-dropdown{width:115px}.rdw-fontfamily-placeholder{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rdw-fontfamily-optionwrapper{width:140px}.rdw-list-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-list-dropdown{width:50px;z-index:90}.rdw-list-dropdownOption{display:flex;height:40px;justify-content:center}.rdw-text-align-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-text-align-dropdown{width:50px;z-index:90}.rdw-text-align-dropdownOption{display:flex;height:40px;justify-content:center}.rdw-right-aligned-block{text-align:right}.rdw-left-aligned-block{text-align:left!important}.rdw-center-aligned-block{text-align:center!important}.rdw-justify-aligned-block{text-align:justify!important}.rdw-center-aligned-block>div,.rdw-justify-aligned-block>div,.rdw-left-aligned-block>div,.rdw-right-aligned-block>div{display:inline-block}.rdw-colorpicker-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px;position:relative}.rdw-colorpicker-modal{background:#fff;border:1px solid #f1f1f1;border-radius:2px;box-shadow:3px 3px 5px #bfbdbd;display:flex;flex-direction:column;height:175px;left:5px;padding:15px;position:absolute;top:35px;width:175px;z-index:100}.rdw-colorpicker-modal-header{display:flex;padding-bottom:5px}.rdw-colorpicker-modal-style-label{cursor:pointer;font-size:15px;padding:0 10px 5px;text-align:center;width:50%}.rdw-colorpicker-modal-style-label-active{border-bottom:2px solid #0a66b7}.rdw-colorpicker-modal-options{display:flex;flex-wrap:wrap;height:100%;margin:5px auto;overflow:scroll;width:100%}.rdw-colorpicker-cube{border:1px solid #f1f1f1;height:22px;width:22px}.rdw-colorpicker-option{border:none;box-shadow:inset 1px 2px 1px #bfbdbd;height:22px;margin:3px;min-height:20px;min-width:22px;padding:0;width:22px}.rdw-colorpicker-option:hover{box-shadow:1px 2px 1px #bfbdbd}.rdw-colorpicker-option:active{box-shadow:-1px -2px 1px #bfbdbd}.rdw-colorpicker-option-active{box-shadow:0 0 2px 2px #bfbdbd}.rdw-link-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px;position:relative}.rdw-link-dropdown{width:50px}.rdw-link-dropdownOption{display:flex;height:40px;justify-content:center}.rdw-link-dropdownPlaceholder{margin-left:8px}.rdw-link-modal{background:#fff;border:1px solid #f1f1f1;border-radius:2px;box-shadow:3px 3px 5px #bfbdbd;display:flex;flex-direction:column;height:205px;left:5px;padding:15px;position:absolute;top:35px;width:235px;z-index:100}.rdw-link-modal-label{font-size:15px}.rdw-link-modal-input{border:1px solid #f1f1f1;border-radius:2px;height:25px;margin-bottom:15px;margin-top:5px;padding:0 5px}.rdw-link-modal-input:focus{outline:none}.rdw-link-modal-buttonsection{margin:0 auto}.rdw-link-modal-target-option{margin-bottom:20px}.rdw-link-modal-target-option>span{margin-left:5px}.rdw-link-modal-btn{background:#fff;border:1px solid #f1f1f1;border-radius:2px;cursor:pointer;height:30px;margin-left:10px;text-transform:capitalize;width:75px}.rdw-link-modal-btn:hover{box-shadow:1px 1px 0 #bfbdbd}.rdw-link-modal-btn:active{box-shadow:inset 1px 1px 0 #bfbdbd}.rdw-link-modal-btn:focus{outline:none!important}.rdw-link-modal-btn:disabled{background:#ece9e9}.rdw-link-dropdownoption{display:flex;height:40px;justify-content:center}.rdw-embedded-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px;position:relative}.rdw-embedded-modal{background:#fff;border:1px solid #f1f1f1;border-radius:2px;box-shadow:3px 3px 5px #bfbdbd;display:flex;flex-direction:column;height:180px;justify-content:space-between;left:5px;padding:15px;position:absolute;top:35px;width:235px;z-index:100}.rdw-embedded-modal-header{display:flex;font-size:15px}.rdw-embedded-modal-header-option{align-items:center;cursor:pointer;display:flex;flex-direction:column;justify-content:center;width:50%}.rdw-embedded-modal-header-label{background:#6eb8d4;border:1px solid #f1f1f1;border-bottom:2px solid #0a66b7;margin-top:5px;width:95px}.rdw-embedded-modal-link-section{display:flex;flex-direction:column}.rdw-embedded-modal-link-input{border:1px solid #f1f1f1;border-radius:2px;font-size:15px;height:35px;margin:10px 0;padding:0 5px;width:88%}.rdw-embedded-modal-link-input-wrapper{align-items:center;display:flex}.rdw-embedded-modal-link-input:focus{outline:none}.rdw-embedded-modal-btn-section{display:flex;justify-content:center}.rdw-embedded-modal-btn{background:#fff;border:1px solid #f1f1f1;border-radius:2px;cursor:pointer;height:30px;margin:0 3px;text-transform:capitalize;width:75px}.rdw-embedded-modal-btn:hover{box-shadow:1px 1px 0 #bfbdbd}.rdw-embedded-modal-btn:active{box-shadow:inset 1px 1px 0 #bfbdbd}.rdw-embedded-modal-btn:focus{outline:none!important}.rdw-embedded-modal-btn:disabled{background:#ece9e9}.rdw-embedded-modal-size{align-items:center;display:flex;justify-content:space-between;margin:8px 0}.rdw-embedded-modal-size-input{border:1px solid #f1f1f1;border-radius:2px;font-size:12px;height:20px;width:80%}.rdw-embedded-modal-size-input:focus{outline:none}.rdw-emoji-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px;position:relative}.rdw-emoji-modal{background:#fff;border:1px solid #f1f1f1;border-radius:2px;box-shadow:3px 3px 5px #bfbdbd;display:flex;flex-wrap:wrap;height:180px;left:5px;overflow:auto;padding:15px;position:absolute;top:35px;width:235px;z-index:100}.rdw-emoji-icon{cursor:pointer;font-size:22px;height:24px;margin:2.5px;width:24px}.rdw-emoji-icon,.rdw-spinner{align-items:center;display:flex;justify-content:center}.rdw-spinner{height:100%;width:100%}.rdw-spinner>div{animation:sk-bouncedelay 1.4s ease-in-out infinite both;background-color:#333;border-radius:100%;display:inline-block;height:12px;width:12px}.rdw-spinner .rdw-bounce1{animation-delay:-.32s}.rdw-spinner .rdw-bounce2{animation-delay:-.16s}@keyframes sk-bouncedelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.rdw-image-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px;position:relative}.rdw-image-modal{background:#fff;border:1px solid #f1f1f1;border-radius:2px;box-shadow:3px 3px 5px #bfbdbd;display:flex;flex-direction:column;left:5px;padding:15px;position:absolute;top:35px;width:235px;z-index:100}.rdw-image-modal-header{display:flex;font-size:15px;margin:10px 0}.rdw-image-modal-header-option{align-items:center;cursor:pointer;display:flex;flex-direction:column;justify-content:center;width:50%}.rdw-image-modal-header-label{background:#f1f1f1;border:1px solid #f1f1f1;margin-top:5px;width:80px}.rdw-image-modal-header-label-highlighted{background:#6eb8d4;border-bottom:2px solid #0a66b7}.rdw-image-modal-upload-option{align-items:center;background-color:#f1f1f1;border:none;color:gray;cursor:pointer;display:flex;font-size:15px;justify-content:center;margin:10px 0;outline:2px dashed gray;outline-offset:-10px;padding:9px 0;width:100%}.rdw-image-modal-upload-option-highlighted{outline:2px dashed #0a66b7}.rdw-image-modal-upload-option-label{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;padding:15px;width:100%}.rdw-image-modal-upload-option-label span{padding:0 20px}.rdw-image-modal-upload-option-image-preview{max-height:200px;max-width:100%}.rdw-image-modal-upload-option-input{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px;z-index:-1}.rdw-image-modal-url-section{align-items:center;display:flex}.rdw-image-modal-url-input{border:1px solid #f1f1f1;border-radius:2px;font-size:15px;height:35px;margin:15px 0 12px;padding:0 5px;width:90%}.rdw-image-modal-btn-section{margin:10px auto 0}.rdw-image-modal-url-input:focus{outline:none}.rdw-image-modal-btn{background:#fff;border:1px solid #f1f1f1;border-radius:2px;cursor:pointer;height:30px;margin:0 5px;text-transform:capitalize;width:75px}.rdw-image-modal-btn:hover{box-shadow:1px 1px 0 #bfbdbd}.rdw-image-modal-btn:active{box-shadow:inset 1px 1px 0 #bfbdbd}.rdw-image-modal-btn:focus{outline:none!important}.rdw-image-modal-btn:disabled{background:#ece9e9}.rdw-image-modal-spinner{height:100%;left:0;opacity:.5;position:absolute;top:-3px;width:100%}.rdw-image-modal-alt-input{border:1px solid #f1f1f1;border-radius:2px;font-size:12px;height:20px;margin-left:5px;width:70%}.rdw-image-modal-alt-input:focus{outline:none}.rdw-image-modal-alt-lbl{font-size:12px}.rdw-image-modal-size{align-items:center;display:flex;justify-content:space-between;margin:8px 0}.rdw-image-modal-size-input{border:1px solid #f1f1f1;border-radius:2px;font-size:12px;height:20px;width:40%}.rdw-image-modal-size-input:focus{outline:none}.rdw-image-mandatory-sign{color:red;margin-left:3px;margin-right:3px}.rdw-remove-wrapper{position:relative}.rdw-history-wrapper,.rdw-remove-wrapper{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:6px}.rdw-history-dropdownoption{display:flex;height:40px;justify-content:center}.rdw-history-dropdown{width:50px}.rdw-link-decorator-wrapper{position:relative}.rdw-link-decorator-icon{background-color:#fff;cursor:pointer;left:40%;position:absolute;top:0}.rdw-mention-link{background-color:#f0fbff;border-radius:2px;color:#1236ff;padding:1px 2px;text-decoration:none}.rdw-suggestion-wrapper{position:relative}.rdw-suggestion-dropdown{background:#fff;border:1px solid #f1f1f1;display:flex;flex-direction:column;max-height:150px;min-width:100px;overflow:auto;position:absolute;z-index:100}.rdw-suggestion-option{border-bottom:1px solid #f1f1f1;padding:7px 5px}.rdw-suggestion-option-active{background-color:#f1f1f1}.rdw-hashtag-link{background-color:#f0fbff;border-radius:2px;color:#1236ff;padding:1px 2px;text-decoration:none}.rdw-image-alignment-options-popup{background:#fff;border:1px solid #f1f1f1;border-radius:2px;cursor:pointer;display:flex;padding:5px 2px;position:absolute;width:105px;z-index:100}.rdw-alignment-option-left{justify-content:flex-start}.rdw-image-alignment-option{height:15px;min-width:15px;width:15px}.rdw-image-alignment,.rdw-image-imagewrapper{position:relative}.rdw-image-center{display:flex;justify-content:center}.rdw-image-left{display:flex}.rdw-image-right{display:flex;justify-content:flex-end}.rdw-image-alignment-options-popup-right{right:0}.rdw-editor-main{box-sizing:border-box;height:100%;overflow:auto}.rdw-editor-toolbar{background:#fff;border:1px solid #f1f1f1;border-radius:2px;display:flex;flex-wrap:wrap;font-size:15px;justify-content:flex-start;margin-bottom:5px;padding:6px 5px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.public-DraftStyleDefault-block{margin:1em 0}.rdw-editor-wrapper:focus{outline:none}.rdw-editor-wrapper{box-sizing:content-box}.rdw-editor-main blockquote{border-left:5px solid #f1f1f1;padding-left:5px}.rdw-editor-main pre{background:#f1f1f1;border-radius:3px;padding:1px 10px}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:0}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4} :root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:hsla(0,0%,100%,.7);--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error)}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;-webkit-transform:translate3d(0,0,var(--toastify-z-index) px);width:var(--toastify-toast-width);z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:1em;top:1em}.Toastify__toast-container--top-center{left:50%;top:1em;transform:translateX(-50%)}.Toastify__toast-container--top-right{right:1em;top:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{left:0;margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0;transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0;transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:0}}.Toastify__toast{border-radius:4px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);box-sizing:border-box;cursor:pointer;direction:ltr;display:flex;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:var(--toastify-toast-max-height);min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative}.Toastify__toast--rtl{direction:rtl}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px}.Toastify__toast-body>div:last-child{flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{animation-duration:.7s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:var(--toastify-color-info);color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:var(--toastify-color-success);color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:var(--toastify-color-warning);color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:var(--toastify-color-error);color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:transparent;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:5px;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{left:auto;right:0;transform-origin:right}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{opacity:1;transform:perspective(400px) rotateX(-20deg)}to{opacity:0;transform:perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{transform:translate3d(110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{transform:translate3d(-110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}} diff --git a/assets/admin/js/admin.asset.php b/assets/admin/js/admin.asset.php index f1cc2a65..0330fdf0 100644 --- a/assets/admin/js/admin.asset.php +++ b/assets/admin/js/admin.asset.php @@ -1 +1 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-media-utils', 'wp-polyfill'), 'version' => 'cdd45a3a54e81e31e783'); + array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-media-utils'), 'version' => '448e4ed73dd6f172a8f9'); diff --git a/assets/admin/js/admin.js b/assets/admin/js/admin.js index e486987e..1a9ddb6f 100644 --- a/assets/admin/js/admin.js +++ b/assets/admin/js/admin.js @@ -1,15 +1,15 @@ -!function(){var e={5927:function(e,t,n){"use strict";var r;function o(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 i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n>16,a=n>>8&255,s=255&n;return"#"+(16777216+65536*(Math.round((r-i)*o)+i)+256*(Math.round((r-a)*o)+a)+(Math.round((r-s)*o)+s)).toString(16).slice(1)}},{key:"shadeColor",value:function(t,n){return e.isColorHex(n)?this.shadeHexColor(t,n):this.shadeRGBColor(t,n)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===a(e)&&!Array.isArray(e)&&null!=e}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"listToArray",value:function(e){var t,n=[];for(t=0;tt.length?e:t}))),e.length>t.length?e:t}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==e.substring(0,1)&&(e="#999999");var n=e.replace("#","");n=n.match(new RegExp("(.{"+n.length/3+"})","g"));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"x",n=e.toString().slice();return n.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,n){if(n>=e.length)for(var r=n-e.length+1;r--;)e.push(void 0);return e.splice(n,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e.style.key=t[n])}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0&&parseInt(e.substring(r+5,e.indexOf(".",r)),10)}}]),e}(),x=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.setEasingFunctions()}return c(e,[{key:"setEasingFunctions",value:function(){var e;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":e="-";break;case"easein":e="<";break;case"easeout":e=">";break;case"easeinout":default:e="<>";break;case"swing":e=function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1};break;case"bounce":e=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375};break;case"elastic":e=function(e){return e===!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1}}this.w.globals.easing=e}}},{key:"animateLine",value:function(e,t,n,r){e.attr(t).animate(r).attr(n)}},{key:"animateMarker",value:function(e,t,n,r,o,i){t||(t=0),e.attr({r:t,width:t,height:t}).animate(r,o).attr({r:n,width:n.width,height:n.height}).afterAll((function(){i()}))}},{key:"animateCircle",value:function(e,t,n,r,o){e.attr({r:t.r,cx:t.cx,cy:t.cy}).animate(r,o).attr({r:n.r,cx:n.cx,cy:n.cy})}},{key:"animateRect",value:function(e,t,n,r,o){e.attr(t).animate(r).attr(n).afterAll((function(){return o()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,n=e.realIndex,r=e.j,o=e.fill,i=e.pathFrom,a=e.pathTo,s=e.speed,l=e.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(t,n,r,"line"!==c.config.chart.type||c.globals.comboCharts?o:"stroke",i,a,s,l*u)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){e.el.classList.remove("apexcharts-element-hidden")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),"function"==typeof t.config.chart.events.animationEnd&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,n,r,o,i,a,s){var l=this,c=this.w;o||(o=e.attr("pathFrom")),i||(i=e.attr("pathTo"));var u=function(e){return"radar"===c.config.chart.type&&(a=1),"M 0 ".concat(c.globals.gridHeight)};(!o||o.indexOf("undefined")>-1||o.indexOf("NaN")>-1)&&(o=u()),(!i||i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i=u()),c.globals.shouldAnimate||(a=1),e.plot(o).animate(1,c.globals.easing,s).plot(o).animate(a,c.globals.easing,s).plot(i).afterAll((function(){b.isNumber(n)?n===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(e):"none"!==r&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&t===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(e),l.showDelayedElements()}))}}]),e}(),w=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getDefaultFilter",value:function(e,t){var n=this.w;e.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==n.config.states.normal.filter?this.applyFilter(e,t,n.config.states.normal.filter.type,n.config.states.normal.filter.value):n.config.chart.dropShadow.enabled&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addNormalFilter",value:function(e,t){var n=this.w;n.config.chart.dropShadow.enabled&&!e.node.classList.contains("apexcharts-marker")&&this.dropShadow(e,n.config.chart.dropShadow,t)}},{key:"addLightenFilter",value:function(e,t,n){var r=this,o=this.w,i=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=o.config.chart.dropShadow;(n.enabled?r.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:i}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"addDarkenFilter",value:function(e,t,n){var r=this,o=this.w,i=n.intensity;e.unfilter(!0),new window.SVG.Filter,e.filter((function(e){var n=o.config.chart.dropShadow;(n.enabled?r.addShadow(e,t,n):e).componentTransfer({rgb:{type:"linear",slope:i}})})),e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)}},{key:"applyFilter",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(n){case"none":this.addNormalFilter(e,t);break;case"lighten":this.addLightenFilter(e,t,{intensity:r});break;case"darken":this.addDarkenFilter(e,t,{intensity:r})}}},{key:"addShadow",value:function(e,t,n){var r=n.blur,o=n.top,i=n.left,a=n.color,s=n.opacity,l=e.flood(Array.isArray(a)?a[t]:a,s).composite(e.sourceAlpha,"in").offset(i,o).gaussianBlur(r).merge(e.source);return e.blend(e.source,l)}},{key:"dropShadow",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.top,o=t.left,i=t.blur,a=t.color,s=t.opacity,l=t.noUserSpaceOnUse,c=this.w;return e.unfilter(!0),b.isIE()&&"radialBar"===c.config.chart.type||(a=Array.isArray(a)?a[n]:a,e.filter((function(e){var t;t=b.isSafari()||b.isFirefox()||b.isIE()?e.flood(a,s).composite(e.sourceAlpha,"in").offset(o,r).gaussianBlur(i):e.flood(a,s).composite(e.sourceAlpha,"in").offset(o,r).gaussianBlur(i).merge(e.source),e.blend(e.source,t)})),l||e.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(e.filterer.node)),e}},{key:"setSelectionFilter",value:function(e,t,n){var r=this.w;if(void 0!==r.globals.selectedDataPoints[t]&&r.globals.selectedDataPoints[t].indexOf(n)>-1){e.node.setAttribute("selected",!0);var o=r.config.states.active.filter;"none"!==o&&this.applyFilter(e,t,o.type,o.value)}}},{key:"_scaleFilterSize",value:function(e){!function(t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),e}(),S=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawLine",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"butt",l=this.w,c=l.globals.dom.Paper.line().attr({x1:e,y1:t,x2:n,y2:r,stroke:o,"stroke-dasharray":i,"stroke-width":a,"stroke-linecap":s});return c}},{key:"drawRect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w,d=u.globals.dom.Paper.rect();return d.attr({x:e,y:t,width:n>0?n:0,height:r>0?r:0,rx:o,ry:o,opacity:a,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),d.node.setAttribute("fill",i),d}},{key:"drawPolygon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",o=this.w,i=o.globals.dom.Paper.polygon(e).attr({fill:r,stroke:t,"stroke-width":n});return i}},{key:"drawCircle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;e<0&&(e=0);var r=n.globals.dom.Paper.circle(2*e);return null!==t&&r.attr(t),r}},{key:"drawPath",value:function(e){var t=e.d,n=void 0===t?"":t,r=e.stroke,o=void 0===r?"#a8a8a8":r,i=e.strokeWidth,a=void 0===i?1:i,s=e.fill,l=e.fillOpacity,c=void 0===l?1:l,u=e.strokeOpacity,d=void 0===u?1:u,p=e.classes,f=e.strokeLinecap,h=void 0===f?null:f,g=e.strokeDashArray,m=void 0===g?0:g,v=this.w;return null===h&&(h=v.config.stroke.lineCap),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(n).attr({fill:s,"fill-opacity":c,stroke:o,"stroke-opacity":d,"stroke-linecap":h,"stroke-width":a,"stroke-dasharray":m,class:p})}},{key:"group",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=t.globals.dom.Paper.group();return null!==e&&n.attr(e),n}},{key:"move",value:function(e,t){return["M",e,t].join(" ")}},{key:"line",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null;return null===n?r=["L",e,t].join(" "):"H"===n?r=["H",e].join(" "):"V"===n&&(r=["V",t].join(" ")),r}},{key:"curve",value:function(e,t,n,r,o,i){return["C",e,t,n,r,o,i].join(" ")}},{key:"quadraticCurve",value:function(e,t,n,r){return["Q",e,t,n,r].join(" ")}},{key:"arc",value:function(e,t,n,r,o,i,a){var s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l="A";s&&(l="a");var c=[l,e,t,n,r,o,i,a].join(" ");return c}},{key:"renderPaths",value:function(e){var t,n=e.j,r=e.realIndex,o=e.pathFrom,a=e.pathTo,s=e.stroke,l=e.strokeWidth,c=e.strokeLinecap,u=e.fill,d=e.animationDelay,p=e.initialSpeed,f=e.dataChangeSpeed,h=e.className,g=e.shouldClipToGrid,m=void 0===g||g,v=e.bindEventsOnPaths,y=void 0===v||v,b=e.drawShadow,S=void 0===b||b,k=this.w,C=new w(this.ctx),E=new x(this.ctx),A=this.w.config.chart.animations.enabled,M=A&&this.w.config.chart.animations.dynamicAnimation.enabled,O=!!(A&&!k.globals.resized||M&&k.globals.dataChanged&&k.globals.shouldAnimate);O?t=o:(t=a,k.globals.animationEnded=!0);var _,T=k.config.stroke.dashArray;_=Array.isArray(T)?T[r]:k.config.stroke.dashArray;var D=this.drawPath({d:t,stroke:s,strokeWidth:l,fill:u,fillOpacity:1,classes:h,strokeLinecap:c,strokeDashArray:_});if(D.attr("index",r),m&&D.attr({"clip-path":"url(#gridRectMask".concat(k.globals.cuid,")")}),"none"!==k.config.states.normal.filter.type)C.getDefaultFilter(D,r);else if(k.config.chart.dropShadow.enabled&&S&&(!k.config.chart.dropShadow.enabledOnSeries||k.config.chart.dropShadow.enabledOnSeries&&-1!==k.config.chart.dropShadow.enabledOnSeries.indexOf(r))){var L=k.config.chart.dropShadow;C.dropShadow(D,L,r)}y&&(D.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,D)),D.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,D)),D.node.addEventListener("mousedown",this.pathMouseDown.bind(this,D))),D.attr({pathTo:a,pathFrom:o});var I={el:D,j:n,realIndex:r,pathFrom:o,pathTo:a,fill:u,strokeWidth:l,delay:d};return!A||k.globals.resized||k.globals.dataChanged?!k.globals.resized&&k.globals.dataChanged||E.showDelayedElements():E.animatePathsGradually(i(i({},I),{},{speed:p})),k.globals.dataChanged&&M&&O&&E.animatePathsGradually(i(i({},I),{},{speed:f})),D}},{key:"drawPattern",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=this.w,a=i.globals.dom.Paper.pattern(t,n,(function(i){"horizontalLines"===e?i.line(0,0,n,0).stroke({color:r,width:o+1}):"verticalLines"===e?i.line(0,0,0,t).stroke({color:r,width:o+1}):"slantedLines"===e?i.line(0,0,t,n).stroke({color:r,width:o}):"squares"===e?i.rect(t,n).fill("none").stroke({color:r,width:o}):"circles"===e&&i.circle(t).fill("none").stroke({color:r,width:o})}));return a}},{key:"drawGradient",value:function(e,t,n,r,o){var i,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;t.length<9&&0===t.indexOf("#")&&(t=b.hexToRgba(t,r)),n.length<9&&0===n.indexOf("#")&&(n=b.hexToRgba(n,o));var d=0,p=1,f=1,h=null;null!==s&&(d=void 0!==s[0]?s[0]/100:0,p=void 0!==s[1]?s[1]/100:1,f=void 0!==s[2]?s[2]/100:1,h=void 0!==s[3]?s[3]/100:null);var g=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(i=null===l||0===l.length?u.globals.dom.Paper.gradient(g?"radial":"linear",(function(e){e.at(d,t,r),e.at(p,n,o),e.at(f,n,o),null!==h&&e.at(h,t,r)})):u.globals.dom.Paper.gradient(g?"radial":"linear",(function(e){(Array.isArray(l[c])?l[c]:l).forEach((function(t){e.at(t.offset/100,t.color,t.opacity)}))})),g){var m=u.globals.gridWidth/2,v=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?i.attr({gradientUnits:"userSpaceOnUse",cx:m,cy:v,r:a}):i.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===e?i.from(0,0).to(0,1):"diagonal"===e?i.from(0,0).to(1,1):"horizontal"===e?i.from(0,1).to(1,1):"diagonal2"===e&&i.from(1,0).to(0,1);return i}},{key:"getTextBasedOnMaxWidth",value:function(e){var t=e.text,n=e.maxWidth,r=e.fontSize,o=e.fontFamily,i=this.getTextRects(t,r,o),a=i.width/t.length,s=Math.floor(n/a);return n-1){var s=n.globals.selectedDataPoints[o].indexOf(i);n.globals.selectedDataPoints[o].splice(s,1)}}else{if(!n.config.states.active.allowMultipleDataPointsSelection&&n.globals.selectedDataPoints.length>0){n.globals.selectedDataPoints=[];var l=n.globals.dom.Paper.select(".apexcharts-series path").members,c=n.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=function(e){Array.prototype.forEach.call(e,(function(e){e.node.setAttribute("selected","false"),r.getDefaultFilter(e,o)}))};u(l),u(c)}e.node.setAttribute("selected","true"),a="true",void 0===n.globals.selectedDataPoints[o]&&(n.globals.selectedDataPoints[o]=[]),n.globals.selectedDataPoints[o].push(i)}if("true"===a){var d=n.config.states.active.filter;if("none"!==d)r.applyFilter(e,o,d.type,d.value);else if("none"!==n.config.states.hover.filter&&!n.globals.isTouchDevice){var p=n.config.states.hover.filter;r.applyFilter(e,o,p.type,p.value)}}else"none"!==n.config.states.active.filter.type&&("none"===n.config.states.hover.filter.type||n.globals.isTouchDevice?r.getDefaultFilter(e,o):(p=n.config.states.hover.filter,r.applyFilter(e,o,p.type,p.value)));"function"==typeof n.config.chart.events.dataPointSelection&&n.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:o,dataPointIndex:i,w:n}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:o,dataPointIndex:i,w:n}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&"function"==typeof e.getBBox&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=this.w,a=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:n,foreColor:"#fff",opacity:0});r&&a.attr("transform",r),i.globals.dom.Paper.add(a);var s=a.bbox();return o||(s=a.node.getBoundingClientRect()),a.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(e,t,n){if("function"==typeof e.getComputedTextLength&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=n/1.1)){for(var r=t.length-3;r>0;r-=3)if(e.getSubStringLength(0,r)<=n/1.1)return void(e.textContent=t.substring(0,r)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}}]),e}(),k=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getStackedSeriesTotals",value:function(){var e=this.w,t=[];if(0===e.globals.series.length)return t;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;return null===e?this.w.config.series.reduce((function(e,t){return e+t}),0):this.w.globals.series[e].reduce((function(e,t){return e+t}),0)}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===e?this.w.config.series.filter((function(e){return null!==e})):this.w.config.series[e].data.filter((function(e){return null!==e}))).length}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(e,t,n){return e===n[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,n=e.slice();return t.config.xaxis.convertedCatToNumeric&&(n=e.map((function(e,n){return t.config.xaxis.labels.formatter(e-t.globals.minX+1)}))),n}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(e){return e.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(e){return e.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(e){t=Math.max(t,e)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(e){t=Math.max(t,e.size)})),t>0&&(t+=e.config.markers.hover.sizeOffset+1),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(e,t){var n=0;if(Array.isArray(e))for(var r=0;re&&n.globals.seriesX[o][a]0&&(t=!0),{comboBarCount:n,comboCharts:t}}},{key:"extendArrayProps",value:function(e,t,n){return t.yaxis&&(t=e.extendYAxis(t,n)),t.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),t.annotations.xaxis&&(t=e.extendXAxisAnnotations(t)),t.annotations.points&&(t=e.extendPointAnnotations(t))),t}}]),e}(),C=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t}return c(e,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;if("vertical"===e.label.orientation){var r=null!==t?t:0,o=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(r,"']"));if(null!==o){var i=o.getBoundingClientRect();o.setAttribute("x",parseFloat(o.getAttribute("x"))-i.height+4),"top"===e.label.position?o.setAttribute("y",parseFloat(o.getAttribute("y"))+i.width):o.setAttribute("y",parseFloat(o.getAttribute("y"))-i.width);var a=this.annoCtx.graphics.rotateAroundCenter(o),s=a.x,l=a.y;o.setAttribute("transform","rotate(-90 ".concat(s," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var n=this.w;if(!e||void 0===t.label.text||void 0!==t.label.text&&!String(t.label.text).trim())return null;var r=n.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),o=e.getBoundingClientRect(),i=t.label.style.padding.left,a=t.label.style.padding.right,s=t.label.style.padding.top,l=t.label.style.padding.bottom;"vertical"===t.label.orientation&&(s=t.label.style.padding.left,l=t.label.style.padding.right,i=t.label.style.padding.top,a=t.label.style.padding.bottom);var c=o.left-r.left-i,u=o.top-r.top-s,d=this.annoCtx.graphics.drawRect(c-n.globals.barPadForNumericAxis,u,o.width+i+a,o.height+s+l,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&d.node.classList.add(t.id),d}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,n=function(n,r,o){var i=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(r,"']"));if(i){var a=i.parentNode,s=e.addBackgroundToAnno(i,n);s&&(a.insertBefore(s.node,i),n.label.mouseEnter&&s.node.addEventListener("mouseenter",n.label.mouseEnter.bind(e,n)),n.label.mouseLeave&&s.node.addEventListener("mouseleave",n.label.mouseLeave.bind(e,n)),n.label.click&&s.node.addEventListener("click",n.label.click.bind(e,n)))}};t.config.annotations.xaxis.map((function(e,t){n(e,t,"xaxis")})),t.config.annotations.yaxis.map((function(e,t){n(e,t,"yaxis")})),t.config.annotations.points.map((function(e,t){n(e,t,"point")}))}},{key:"getY1Y2",value:function(e,t){var n,r="y1"===e?t.y:t.y2,o=this.w;if(this.annoCtx.invertAxis){var i=o.globals.labels.indexOf(r);o.config.xaxis.convertedCatToNumeric&&(i=o.globals.categoryLabels.indexOf(r));var a=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(i+1)+")");a&&(n=parseFloat(a.getAttribute("y")))}else{var s;s=o.config.yaxis[t.yAxisIndex].logarithmic?(r=new k(this.annoCtx.ctx).getLogVal(r,t.yAxisIndex))/o.globals.yLogRatio[t.yAxisIndex]:(r-o.globals.minYArr[t.yAxisIndex])/(o.globals.yRange[t.yAxisIndex]/o.globals.gridHeight),n=o.globals.gridHeight-s,!t.marker||void 0!==t.y&&null!==t.y||(n=0),o.config.yaxis[t.yAxisIndex]&&o.config.yaxis[t.yAxisIndex].reversed&&(n=s)}return n}},{key:"getX1X2",value:function(e,t){var n=this.w,r=this.annoCtx.invertAxis?n.globals.minY:n.globals.minX,o=this.annoCtx.invertAxis?n.globals.maxY:n.globals.maxX,i=this.annoCtx.invertAxis?n.globals.yRange[0]:n.globals.xRange,a=(t.x-r)/(i/n.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(a=(o-t.x)/(i/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(a=this.getStringX(t.x));var s=(t.x2-r)/(i/n.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(s=(o-t.x2)/(i/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(s=this.getStringX(t.x2)),void 0!==t.x&&null!==t.x||!t.marker||(a=n.globals.gridWidth),"x1"===e?a:s}},{key:"getStringX",value:function(e){var t=this.w,n=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var r=t.globals.labels.indexOf(e),o=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(r+1)+")");return o&&(n=parseFloat(o.getAttribute("x"))),n}}]),e}(),E=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new C(this.annoCtx)}return c(e,[{key:"addXaxisAnnotation",value:function(e,t,n){var r,o=this.w,i=this.helpers.getX1X2("x1",e),a=e.label.text,s=e.strokeDashArray;if(b.isNumber(i)){if(null===e.x2||void 0===e.x2){var l=this.annoCtx.graphics.drawLine(i+e.offsetX,0+e.offsetY,i+e.offsetX,o.globals.gridHeight+e.offsetY,e.borderColor,s,e.borderWidth);t.appendChild(l.node),e.id&&l.node.classList.add(e.id)}else{if((r=this.helpers.getX1X2("x2",e))a){var c=a;a=r,r=c}var u=this.annoCtx.graphics.drawRect(0+e.offsetX,r+e.offsetY,this._getYAxisAnnotationWidth(e),a-r,0,e.fillColor,e.opacity,1,e.borderColor,i);u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(o.globals.cuid,")")),t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}var d="right"===e.label.position?o.globals.gridWidth:0,p=this.annoCtx.graphics.drawText({x:d+e.label.offsetX,y:(null!=r?r:a)+e.label.offsetY-3,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});p.attr({rel:n}),t.appendChild(p.node)}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.map((function(t,r){e.addYaxisAnnotation(t,n.node,r)})),n}}]),e}(),M=function(){function e(t){s(this,e),this.w=t.w,this.annoCtx=t,this.helpers=new C(this.annoCtx)}return c(e,[{key:"addPointAnnotation",value:function(e,t,n){this.w;var r=this.helpers.getX1X2("x1",e),o=this.helpers.getY1Y2("y1",e);if(b.isNumber(r)){var i={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},a=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,o+e.marker.offsetY,i);t.appendChild(a.node);var s=e.label.text?e.label.text:"",l=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:o+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:s,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(l.attr({rel:n}),t.appendChild(l.node),e.customSVG.SVG){var c=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});c.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(o+e.customSVG.offsetY,")")}),c.node.innerHTML=e.customSVG.SVG,t.appendChild(c.node)}if(e.image.path){var u=e.image.width?e.image.width:20,d=e.image.height?e.image.height:20;a=this.annoCtx.addImage({x:r+e.image.offsetX-u/2,y:o+e.image.offsetY-d/2,width:u,height:d,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&a.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&a.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&a.node.addEventListener("click",e.click.bind(this,e))}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(t,r){e.addPointAnnotation(t,n.node,r)})),n}}]),e}(),O={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},_=function(){function e(){s(this,e),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return c(e,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[O],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(e){return new Date(e).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,rangeBarOverlap:!0,rangeBarGroupRows:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)/e.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(e,t){return e+t}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return null!==e?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),e}(),T=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.graphics=new S(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new C(this),this.xAxisAnnotations=new E(this),this.yAxisAnnotations=new A(this),this.pointsAnnotations=new M(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return c(e,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),n=this.xAxisAnnotations.drawXAxisAnnotations(),r=this.pointsAnnotations.drawPointAnnotations(),o=e.config.chart.animations.enabled,i=[t,n,r],a=[n.node,t.node,r.node],s=0;s<3;s++)e.globals.dom.elGraphical.add(i[s]),!o||e.globals.resized||e.globals.dataChanged||"scatter"!==e.config.chart.type&&"bubble"!==e.config.chart.type&&e.globals.dataPoints>1&&a[s].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:a[s],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,n){e.addImage(t,n)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,n){e.addText(t,n)}))}},{key:"addXaxisAnnotation",value:function(e,t,n){this.xAxisAnnotations.addXaxisAnnotation(e,t,n)}},{key:"addYaxisAnnotation",value:function(e,t,n){this.yAxisAnnotations.addYaxisAnnotation(e,t,n)}},{key:"addPointAnnotation",value:function(e,t,n){this.pointsAnnotations.addPointAnnotation(e,t,n)}},{key:"addText",value:function(e,t){var n=e.x,r=e.y,o=e.text,i=e.textAnchor,a=e.foreColor,s=e.fontSize,l=e.fontFamily,c=e.fontWeight,u=e.cssClass,d=e.backgroundColor,p=e.borderWidth,f=e.strokeDashArray,h=e.borderRadius,g=e.borderColor,m=e.appendTo,v=void 0===m?".apexcharts-annotations":m,y=e.paddingLeft,b=void 0===y?4:y,x=e.paddingRight,w=void 0===x?4:x,S=e.paddingBottom,k=void 0===S?2:S,C=e.paddingTop,E=void 0===C?2:C,A=this.w,M=this.graphics.drawText({x:n,y:r,text:o,textAnchor:i||"start",fontSize:s||"12px",fontWeight:c||"regular",fontFamily:l||A.config.chart.fontFamily,foreColor:a||A.config.chart.foreColor,cssClass:u}),O=A.globals.dom.baseEl.querySelector(v);O&&O.appendChild(M.node);var _=M.bbox();if(o){var T=this.graphics.drawRect(_.x-b,_.y-E,_.width+b+w,_.height+k+E,h,d||"transparent",1,p,g,f);O.insertBefore(T.node,M.node)}}},{key:"addImage",value:function(e,t){var n=this.w,r=e.path,o=e.x,i=void 0===o?0:o,a=e.y,s=void 0===a?0:a,l=e.width,c=void 0===l?20:l,u=e.height,d=void 0===u?20:u,p=e.appendTo,f=void 0===p?".apexcharts-annotations":p,h=n.globals.dom.Paper.image(r);h.size(c,d).move(i,s);var g=n.globals.dom.baseEl.querySelector(f);return g&&g.appendChild(h.node),h}},{key:"addXaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"xaxis",contextMethod:n.addXaxisAnnotation}),n}},{key:"addYaxisAnnotationExternal",value:function(e,t,n){return this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"yaxis",contextMethod:n.addYaxisAnnotation}),n}},{key:"addPointAnnotationExternal",value:function(e,t,n){return void 0===this.invertAxis&&(this.invertAxis=n.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:n,type:"point",contextMethod:n.addPointAnnotation}),n}},{key:"addAnnotationExternal",value:function(e){var t=e.params,n=e.pushToMemory,r=e.context,o=e.type,i=e.contextMethod,a=r,s=a.w,l=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations")),c=l.childNodes.length+1,u=new _,d=Object.assign({},"xaxis"===o?u.xAxisAnnotation:"yaxis"===o?u.yAxisAnnotation:u.pointAnnotation),p=b.extend(d,t);switch(o){case"xaxis":this.addXaxisAnnotation(p,l,c);break;case"yaxis":this.addYaxisAnnotation(p,l,c);break;case"point":this.addPointAnnotation(p,l,c)}var f=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(c,"']")),h=this.helpers.addBackgroundToAnno(f,p);return h&&l.insertBefore(h.node,f),n&&s.globals.memory.methodsToExec.push({context:a,id:p.id?p.id:b.randomId(),method:i,label:"addAnnotation",params:t}),r}},{key:"clearAnnotations",value:function(e){var t=e.w,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");t.globals.memory.methodsToExec.map((function(e,n){"addText"!==e.label&&"addAnnotation"!==e.label||t.globals.memory.methodsToExec.splice(n,1)})),n=b.listToArray(n),Array.prototype.forEach.call(n,(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var n=e.w,r=n.globals.dom.baseEl.querySelectorAll(".".concat(t));r&&(n.globals.memory.methodsToExec.map((function(e,r){e.id===t&&n.globals.memory.methodsToExec.splice(r,1)})),Array.prototype.forEach.call(r,(function(e){e.parentElement.removeChild(e)})))}}]),e}(),D=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.opts=null,this.seriesIndex=0}return c(e,[{key:"clippedImgArea",value:function(e){var t=this.w,n=t.config,r=parseInt(t.globals.gridWidth,10),o=parseInt(t.globals.gridHeight,10),i=r>o?r:o,a=e.image,s=0,l=0;void 0===e.width&&void 0===e.height?void 0!==n.fill.image.width&&void 0!==n.fill.image.height?(s=n.fill.image.width+1,l=n.fill.image.height):(s=i+1,l=i):(s=e.width,l=e.height);var c=document.createElementNS(t.globals.SVGNS,"pattern");S.setAttrs(c,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:s+"px",height:l+"px"});var u=document.createElementNS(t.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",a),S.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:s+"px",height:l+"px"}),u.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(e){var t=this.w;return("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||"heatmap"===t.config.chart.type||"treemap"===t.config.chart.type?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(e){var t=this.w;this.opts=e;var n,r,o,i=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var a=this.getFillColors()[this.seriesIndex];void 0!==t.globals.seriesColors[this.seriesIndex]&&(a=t.globals.seriesColors[this.seriesIndex]),"function"==typeof a&&(a=a({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:t}));var s=this.getFillType(this.seriesIndex),l=Array.isArray(i.fill.opacity)?i.fill.opacity[this.seriesIndex]:i.fill.opacity;e.color&&(a=e.color);var c=a;if(-1===a.indexOf("rgb")?a.length<9&&(c=b.hexToRgba(a,l)):a.indexOf("rgba")>-1&&(l=b.getOpacityFromRGBA(a)),e.opacity&&(l=e.opacity),"pattern"===s&&(r=this.handlePatternFill(r,a,l,c)),"gradient"===s&&(o=this.handleGradientFill(a,l,this.seriesIndex)),"image"===s){var u=i.fill.image.src,d=e.patternID?e.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(u)?e.seriesNumber-1&&(u=b.getOpacityFromRGBA(c));var d=void 0===o.fill.gradient.opacityTo?t:Array.isArray(o.fill.gradient.opacityTo)?o.fill.gradient.opacityTo[n]:o.fill.gradient.opacityTo;if(void 0===o.fill.gradient.gradientToColors||0===o.fill.gradient.gradientToColors.length)r="dark"===o.fill.gradient.shade?s.shadeColor(-1*parseFloat(o.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?b.rgb2hex(e):e):s.shadeColor(parseFloat(o.fill.gradient.shadeIntensity),e.indexOf("rgb")>-1?b.rgb2hex(e):e);else if(o.fill.gradient.gradientToColors[i.seriesNumber]){var p=o.fill.gradient.gradientToColors[i.seriesNumber];r=p,p.indexOf("rgba")>-1&&(d=b.getOpacityFromRGBA(p))}else r=e;if(o.fill.gradient.inverseColors){var f=c;c=r,r=f}return c.indexOf("rgb")>-1&&(c=b.rgb2hex(c)),r.indexOf("rgb")>-1&&(r=b.rgb2hex(r)),a.drawGradient(l,c,r,u,d,i.size,o.fill.gradient.stops,o.fill.gradient.colorStops,n)}}]),e}(),L=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length4&&void 0!==arguments[4]&&arguments[4],a=this.w,s=t,l=e,c=null,u=new S(this.ctx),d=a.config.markers.discrete&&a.config.markers.discrete.length;if((a.globals.markers.size[t]>0||i||d)&&(c=u.group({class:i||d?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(a.globals.cuid,")")),Array.isArray(l.x))for(var p=0;p0:a.config.markers.size>0;if(g||i||d){b.isNumber(l.y[p])?h+=" w".concat(b.randomId()):h="apexcharts-nullpoint";var m=this.getMarkerConfig({cssClass:h,seriesIndex:t,dataPointIndex:f});a.config.series[s].data[f]&&(a.config.series[s].data[f].fillColor&&(m.pointFillColor=a.config.series[s].data[f].fillColor),a.config.series[s].data[f].strokeColor&&(m.pointStrokeColor=a.config.series[s].data[f].strokeColor)),r&&(m.pSize=r),(o=u.drawMarker(l.x[p],l.y[p],m)).attr("rel",f),o.attr("j",f),o.attr("index",t),o.node.setAttribute("default-marker-size",m.pSize);var v=new w(this.ctx);v.setSelectionFilter(o,t,f),this.addEvents(o),c&&c.add(o)}else void 0===a.globals.pointsArray[t]&&(a.globals.pointsArray[t]=[]),a.globals.pointsArray[t].push([l.x[p],l.y[p]])}return c}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,n=e.seriesIndex,r=e.dataPointIndex,o=void 0===r?null:r,i=e.finishRadius,a=void 0===i?null:i,s=this.w,l=this.getMarkerStyle(n),c=s.globals.markers.size[n],u=s.config.markers;return null!==o&&u.discrete.length&&u.discrete.map((function(e){e.seriesIndex===n&&e.dataPointIndex===o&&(l.pointStrokeColor=e.strokeColor,l.pointFillColor=e.fillColor,c=e.size,l.pointShape=e.shape)})),{pSize:null===a?c:a,pRadius:u.radius,width:Array.isArray(u.width)?u.width[n]:u.width,height:Array.isArray(u.height)?u.height[n]:u.height,pointStrokeWidth:Array.isArray(u.strokeWidth)?u.strokeWidth[n]:u.strokeWidth,pointStrokeColor:l.pointStrokeColor,pointFillColor:l.pointFillColor,shape:l.pointShape||(Array.isArray(u.shape)?u.shape[n]:u.shape),class:t,pointStrokeOpacity:Array.isArray(u.strokeOpacity)?u.strokeOpacity[n]:u.strokeOpacity,pointStrokeDashArray:Array.isArray(u.strokeDashArray)?u.strokeDashArray[n]:u.strokeDashArray,pointFillOpacity:Array.isArray(u.fillOpacity)?u.fillOpacity[n]:u.fillOpacity,seriesIndex:n}}},{key:"addEvents",value:function(e){var t=this.w,n=new S(this.ctx);e.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",n.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",n.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,n=t.globals.markers.colors,r=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(r)?r[e]:r,pointFillColor:Array.isArray(n)?n[e]:n}}}]),e}(),I=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return c(e,[{key:"draw",value:function(e,t,n){var r=this.w,o=new S(this.ctx),i=n.realIndex,a=n.pointsPos,s=n.zRatio,l=n.elParent,c=o.group({class:"apexcharts-series-markers apexcharts-series-".concat(r.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")")),Array.isArray(a.x))for(var u=0;ug.maxBubbleRadius&&(h=g.maxBubbleRadius)}r.config.chart.animations.enabled||(f=h);var m=a.x[u],v=a.y[u];if(f=f||0,null!==v&&void 0!==r.globals.series[i][d]||(p=!1),p){var y=this.drawPoint(m,v,f,h,i,d,t);c.add(y)}l.add(c)}}},{key:"drawPoint",value:function(e,t,n,r,o,i,a){var s=this.w,l=o,c=new x(this.ctx),u=new w(this.ctx),d=new D(this.ctx),p=new L(this.ctx),f=new S(this.ctx),h=p.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:i,finishRadius:"bubble"===s.config.chart.type||s.globals.comboCharts&&s.config.series[o]&&"bubble"===s.config.series[o].type?r:null});r=h.pSize;var g,m=d.fillPath({seriesNumber:o,dataPointIndex:i,color:h.pointFillColor,patternUnits:"objectBoundingBox",value:s.globals.series[o][a]});if("circle"===h.shape?g=f.drawCircle(n):"square"!==h.shape&&"rect"!==h.shape||(g=f.drawRect(0,0,h.width-h.pointStrokeWidth/2,h.height-h.pointStrokeWidth/2,h.pRadius)),s.config.series[l].data[i]&&s.config.series[l].data[i].fillColor&&(m=s.config.series[l].data[i].fillColor),g.attr({x:e-h.width/2-h.pointStrokeWidth/2,y:t-h.height/2-h.pointStrokeWidth/2,cx:e,cy:t,fill:m,"fill-opacity":h.pointFillOpacity,stroke:h.pointStrokeColor,r:r,"stroke-width":h.pointStrokeWidth,"stroke-dasharray":h.pointStrokeDashArray,"stroke-opacity":h.pointStrokeOpacity}),s.config.chart.dropShadow.enabled){var v=s.config.chart.dropShadow;u.dropShadow(g,v,o)}if(!this.initialAnim||s.globals.dataChanged||s.globals.resized)s.globals.animationEnded=!0;else{var y=s.config.chart.animations.speed;c.animateMarker(g,0,"circle"===h.shape?r:{width:h.width,height:h.height},y,s.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(g)}),100)}))}if(s.globals.dataChanged&&"circle"===h.shape)if(this.dynamicAnim){var b,k,C,E,A=s.config.chart.animations.dynamicAnimation.speed;null!=(E=s.globals.previousPaths[o]&&s.globals.previousPaths[o][a])&&(b=E.x,k=E.y,C=void 0!==E.r?E.r:r);for(var M=0;Ms.globals.gridHeight+d&&(t=s.globals.gridHeight+d/2),void 0===s.globals.dataLabelsRects[r]&&(s.globals.dataLabelsRects[r]=[]),s.globals.dataLabelsRects[r].push({x:e,y:t,width:u,height:d});var p=s.globals.dataLabelsRects[r].length-2,f=void 0!==s.globals.lastDrawnDataLabelsIndexes[r]?s.globals.lastDrawnDataLabelsIndexes[r][s.globals.lastDrawnDataLabelsIndexes[r].length-1]:0;if(void 0!==s.globals.dataLabelsRects[r][p]){var h=s.globals.dataLabelsRects[r][f];(e>h.x+h.width+2||t>h.y+h.height+2||e+u4&&void 0!==arguments[4]?arguments[4]:2,i=this.w,a=new S(this.ctx),s=i.config.dataLabels,l=0,c=0,u=n,d=null;if(!s.enabled||!Array.isArray(e.x))return d;d=a.group({class:"apexcharts-data-labels"});for(var p=0;pt.globals.gridWidth+g.textRects.width+10)&&(s="");var m=t.globals.dataLabels.style.colors[i];(("bar"===t.config.chart.type||"rangeBar"===t.config.chart.type)&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(m=t.globals.dataLabels.style.colors[a]),"function"==typeof m&&(m=m({series:t.globals.series,seriesIndex:i,dataPointIndex:a,w:t})),p&&(m=p);var v=d.offsetX,y=d.offsetY;if("bar"!==t.config.chart.type&&"rangeBar"!==t.config.chart.type||(v=0,y=0),g.drawnextLabel){var b=n.drawText({width:100,height:parseInt(d.style.fontSize,10),x:r+v,y:o+y,foreColor:m,textAnchor:l||d.textAnchor,text:s,fontSize:c||d.style.fontSize,fontFamily:d.style.fontFamily,fontWeight:d.style.fontWeight||"normal"});if(b.attr({class:"apexcharts-datalabel",cx:r,cy:o}),d.dropShadow.enabled){var x=d.dropShadow;new w(this.ctx).dropShadow(b,x)}u.add(b),void 0===t.globals.lastDrawnDataLabelsIndexes[i]&&(t.globals.lastDrawnDataLabelsIndexes[i]=[]),t.globals.lastDrawnDataLabelsIndexes[i].push(a)}}}},{key:"addBackgroundToDataLabel",value:function(e,t){var n=this.w,r=n.config.dataLabels.background,o=r.padding,i=r.padding/2,a=t.width,s=t.height,l=new S(this.ctx).drawRect(t.x-o,t.y-i/2,a+2*o,s+i,r.borderRadius,"transparent"===n.config.chart.background?"#fff":n.config.chart.background,r.opacity,r.borderWidth,r.borderColor);return r.dropShadow.enabled&&new w(this.ctx).dropShadow(l,r.dropShadow),l}},{key:"dataLabelsBackground",value:function(){var e=this.w;if("bubble"!==e.config.chart.type)for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),n=0;nn.globals.gridHeight&&(u=n.globals.gridHeight-p)),{bcx:a,bcy:i,dataLabelsX:t,dataLabelsY:u}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this.w,n=e.x,r=e.i,o=e.j,i=e.bcy,a=e.barHeight,s=e.barWidth,l=e.textRects,c=e.dataLabelsX,u=e.strokeWidth,d=e.barDataLabelsConfig,p=e.offX,f=e.offY,h=t.globals.gridHeight/t.globals.dataPoints;s=Math.abs(s);var g=i-(this.barCtx.isRangeBar?0:h)+a/2+l.height/2+f-3,m=this.barCtx.series[r][o]<0,v=n;switch(this.barCtx.isReversed&&(v=n+s-(m?2*s:0),n=t.globals.gridWidth-s),d.position){case"center":c=m?v+s/2-p:Math.max(l.width/2,v-s/2)+p;break;case"bottom":c=m?v+s-u-Math.round(l.width/2)-p:v-s+u+Math.round(l.width/2)+p;break;case"top":c=m?v-u+Math.round(l.width/2)-p:v-u-Math.round(l.width/2)+p}return t.config.chart.stacked||(c<0?c=c+l.width+u:c+l.width/2>t.globals.gridWidth&&(c=t.globals.gridWidth-l.width-u)),{bcx:n,bcy:i,dataLabelsX:c,dataLabelsY:g}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,n=e.y,r=e.val,o=e.i,a=e.j,s=e.textRects,l=e.barHeight,c=e.barWidth,u=e.dataLabelsConfig,d=this.w,p="rotate(0)";"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&(p="rotate(-90, ".concat(t,", ").concat(n,")"));var f=new N(this.barCtx.ctx),h=new S(this.barCtx.ctx),g=u.formatter,m=null,v=d.globals.collapsedSeriesIndices.indexOf(o)>-1;if(u.enabled&&!v){m=h.group({class:"apexcharts-data-labels",transform:p});var y="";void 0!==r&&(y=g(r,{seriesIndex:o,dataPointIndex:a,w:d}));var b=d.globals.series[o][a]<0,x=d.config.plotOptions.bar.dataLabels.position;"vertical"===d.config.plotOptions.bar.dataLabels.orientation&&("top"===x&&(u.textAnchor=b?"end":"start"),"center"===x&&(u.textAnchor="middle"),"bottom"===x&&(u.textAnchor=b?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&cMath.abs(c)&&(y=""):s.height/1.6>Math.abs(l)&&(y=""));var w=i({},u);this.barCtx.isHorizontal&&r<0&&("start"===u.textAnchor?w.textAnchor="end":"end"===u.textAnchor&&(w.textAnchor="start")),f.plotDataLabelsText({x:t,y:n,text:y,i:o,j:a,parent:m,dataLabelsConfig:w,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}}]),e}(),P=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.legendInactiveClass="legend-mouseover-inactive"}return c(e,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(e){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(b.escapeString(e),"']"))}},{key:"isSeriesHidden",value:function(e){var t=this.getSeriesByName(e),n=parseInt(t.getAttribute("data:realIndex"),10);return{isHidden:t.classList.contains("apexcharts-series-collapsed"),realIndex:n}}},{key:"addCollapsedClassToSeries",value:function(e,t){var n=this.w;function r(n){for(var r=0;r0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w,o=b.clone(r.globals.initialSeries);r.globals.previousPaths=[],n?(r.globals.collapsedSeries=[],r.globals.ancillaryCollapsedSeries=[],r.globals.collapsedSeriesIndices=[],r.globals.ancillaryCollapsedSeriesIndices=[]):o=this.emptyCollapsedSeries(o),r.config.series=o,e&&(t&&(r.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(o,r.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(e){for(var t=this.w,n=0;n-1&&(e[n].data=[]);return e}},{key:"toggleSeriesOnHover",value:function(e,t){var n=this.w;t||(t=e.target);var r=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if("mousemove"===e.type){var o=parseInt(t.getAttribute("rel"),10)-1,i=null,a=null;n.globals.axisCharts||"radialBar"===n.config.chart.type?n.globals.axisCharts?(i=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(o,"']")),a=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(o,"']"))):i=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(o+1,"']")):i=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(o+1,"'] path"));for(var s=0;s=e.from&&r<=e.to&&o[t].classList.remove(n.legendInactiveClass)}}(r.config.plotOptions.heatmap.colorScale.ranges[a])}else"mouseout"===e.type&&i("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc",n=this.w,r=0;if(n.config.series.length>1)for(var o=n.config.series.map((function(t,r){var o=!1;return e&&(o="bar"===n.config.series[r].type||"column"===n.config.series[r].type),t.data&&t.data.length>0&&!o?r:-1})),i="asc"===t?0:o.length-1;"asc"===t?i=0;"asc"===t?i++:i--)if(-1!==o[i]){r=o[i];break}return r}},{key:"getPreviousPaths",value:function(){var e=this.w;function t(t,n,r){for(var o=t[n].childNodes,i={type:r,paths:[],realIndex:t[n].getAttribute("data:realIndex")},a=0;a0)for(var r=function(t){for(var n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(e.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(t,"'] rect")),r=[],o=function(e){var t=function(t){return n[e].getAttribute(t)},o={x:parseFloat(t("x")),y:parseFloat(t("y")),width:parseFloat(t("width")),height:parseFloat(t("height"))};r.push({rect:o,color:n[e].getAttribute("color")})},i=0;i0)for(var r=0;r0?e:[]}))}}]),e}(),z=function(){function e(t){s(this,e),this.w=t.w,this.barCtx=t}return c(e,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var n=0;n0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[n].length),t.globals.isXNumeric)for(var r=0;rt.globals.minX&&t.globals.seriesX[n][r]0&&(r=l.globals.minXDiff/d),(i=r/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(i=1)}a=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),e=l.globals.padHorizontal+(r-i*this.barCtx.seriesLen)/2}return{x:e,y:t,yDivision:n,xDivision:r,barHeight:o,barWidth:i,zeroH:a,zeroW:s}}},{key:"getPathFillColor",value:function(e,t,n,r){var o=this.w,i=new D(this.barCtx.ctx),a=null,s=this.barCtx.barOptions.distributed?n:t;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(r){e[t][n]>=r.from&&e[t][n]<=r.to&&(a=r.color)})),o.config.series[t].data[n]&&o.config.series[t].data[n].fillColor&&(a=o.config.series[t].data[n].fillColor),i.fillPath({seriesNumber:this.barCtx.barOptions.distributed?s:r,dataPointIndex:n,color:a,value:e[t][n]})}},{key:"getStrokeWidth",value:function(e,t,n){var r=0,o=this.w;return void 0===this.barCtx.series[e][t]||null===this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,o.config.stroke.show&&(this.barCtx.isNullValue||(r=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[n]:this.barCtx.strokeWidth)),r}},{key:"barBackground",value:function(e){var t=e.j,n=e.i,r=e.x1,o=e.x2,i=e.y1,a=e.y2,s=e.elSeries,l=this.w,c=new S(this.barCtx.ctx),u=new P(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===n){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var d=this.barCtx.barOptions.colors.backgroundBarColors[t],p=c.drawRect(void 0!==r?r:0,void 0!==i?i:0,void 0!==o?o:l.globals.gridWidth,void 0!==a?a:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,d,this.barCtx.barOptions.colors.backgroundBarOpacity);s.add(p),p.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t=e.barWidth,n=e.barXPosition,r=e.yRatio,o=e.y1,i=e.y2,a=e.strokeWidth,s=e.series,l=e.realIndex,c=e.i,u=e.j,d=e.w,p=new S(this.barCtx.ctx);(a=Array.isArray(a)?a[l]:a)||(a=0);var f={barWidth:t,strokeWidth:a,yRatio:r,barXPosition:n,y1:o,y2:i},h=this.getRoundedBars(d,f,s,c,u),g=n,m=n+t,v=p.move(g,o),y=p.move(g,o),b=p.line(m-a,o);return d.globals.previousPaths.length>0&&(y=this.barCtx.getPreviousPath(l,u,!1)),v=v+p.line(g,h.y2)+h.pathWithRadius+p.line(m-a,h.y2)+b+b+"z",y=y+p.line(g,o)+b+b+b+b+b+p.line(g,o),d.config.chart.stacked&&(this.barCtx.yArrj.push(h.y2WithRadius),this.barCtx.yArrjF.push(Math.abs(o-h.y2WithRadius)),this.barCtx.yArrjVal.push(this.barCtx.series[c][u])),{pathTo:v,pathFrom:y}}},{key:"getBarpaths",value:function(e){var t=e.barYPosition,n=e.barHeight,r=e.x1,o=e.x2,i=e.strokeWidth,a=e.series,s=e.realIndex,l=e.i,c=e.j,u=e.w,d=new S(this.barCtx.ctx);(i=Array.isArray(i)?i[s]:i)||(i=0);var p={barHeight:n,strokeWidth:i,barYPosition:t,x2:o,x1:r},f=this.getRoundedBars(u,p,a,l,c),h=d.move(r,t),g=d.move(r,t);u.globals.previousPaths.length>0&&(g=this.barCtx.getPreviousPath(s,c,!1));var m=t,v=t+n,y=d.line(r,v-i);return h=h+d.line(f.x2,m)+f.pathWithRadius+d.line(f.x2,v-i)+y+y+"z",g=g+d.line(r,m)+y+y+y+y+y+d.line(r,m),u.config.chart.stacked&&(this.barCtx.xArrj.push(f.x2WithRadius),this.barCtx.xArrjF.push(Math.abs(r-f.x2WithRadius)),this.barCtx.xArrjVal.push(this.barCtx.series[l][c])),{pathTo:h,pathFrom:g}}},{key:"getRoundedBars",value:function(e,t,n,r,o){var i=new S(this.barCtx.ctx),a=0,s=e.config.plotOptions.bar.borderRadius,l=Array.isArray(s);if(a=l?s[r>s.length-1?s.length-1:r]:s,e.config.chart.stacked&&n.length>1&&r!==this.barCtx.radiusOnSeriesNumber&&!l&&(a=0),this.barCtx.isHorizontal){var c="",u=t.x2;if(Math.abs(t.x1-t.x2)0:n[r][o]<0;d&&(a*=-1),u-=a,c=i.quadraticCurve(u+a,t.barYPosition,u+a,t.barYPosition+(d?-1*a:a))+i.line(u+a,t.barYPosition+t.barHeight-t.strokeWidth-(d?-1*a:a))+i.quadraticCurve(u+a,t.barYPosition+t.barHeight-t.strokeWidth,u,t.barYPosition+t.barHeight-t.strokeWidth)}return{pathWithRadius:c,x2WithRadius:u+a,x2:u}}var p="",f=t.y2;if(Math.abs(t.y1-t.y2)=0;a--)this.barCtx.zeroSerieses.indexOf(a)>-1&&a===this.radiusOnSeriesNumber&&(this.barCtx.radiusOnSeriesNumber-=1);for(var s=t.length-1;s>=0;s--)n.globals.collapsedSeriesIndices.indexOf(this.barCtx.radiusOnSeriesNumber)>-1&&(this.barCtx.radiusOnSeriesNumber-=1)}},{key:"getXForValue",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=n?t:null;return null!=e&&(r=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),r}},{key:"getYForValue",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=n?t:null;return null!=e&&(r=t-e/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),r}},{key:"getGoalValues",value:function(e,t,n,r,o){var i=this,a=this.w,s=[];return a.globals.seriesGoals[r]&&a.globals.seriesGoals[r][o]&&Array.isArray(a.globals.seriesGoals[r][o])&&a.globals.seriesGoals[r][o].forEach((function(r){var o;s.push((u(o={},e,"x"===e?i.getXForValue(r.value,t,!1):i.getYForValue(r.value,n,!1)),u(o,"attrs",r),o))})),s}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,n=e.barYPosition,r=e.goalX,o=e.goalY,i=e.barWidth,a=e.barHeight,s=new S(this.barCtx.ctx),l=s.group({className:"apexcharts-bar-goals-groups"}),c=null;return this.barCtx.isHorizontal?Array.isArray(r)&&r.forEach((function(e){var t=void 0!==e.attrs.strokeHeight?e.attrs.strokeHeight:a/2,r=n+t+a/2;c=s.drawLine(e.x,r-2*t,e.x,r,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeWidth?e.attrs.strokeWidth:2,e.attrs.strokeLineCap),l.add(c)})):Array.isArray(o)&&o.forEach((function(e){var n=void 0!==e.attrs.strokeWidth?e.attrs.strokeWidth:i/2,r=t+n+i/2;c=s.drawLine(r-2*n,e.y,r,e.y,e.attrs.strokeColor?e.attrs.strokeColor:void 0,e.attrs.strokeDashArray,e.attrs.strokeHeight?e.attrs.strokeHeight:2,e.attrs.strokeLineCap),l.add(c)})),l}}]),e}(),R=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w;var r=this.w;this.barOptions=r.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=r.config.stroke.width,this.isNullValue=!1,this.isRangeBar=r.globals.seriesRangeBar.length&&this.isHorizontal,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.initialXRatio=n.initialXRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.barHelpers=new z(this)}return c(e,[{key:"draw",value:function(e,t){var n=this.w,r=new S(this.ctx),o=new k(this.ctx,n);e=o.getLogSeries(e),this.series=e,this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var a=r.group({class:"apexcharts-bar-series apexcharts-plot-series"});n.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var s=0,l=0;s0&&(this.visibleI=this.visibleI+1);var x=0,w=0;this.yRatio.length>1&&(this.yaxisIndex=v),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var C=this.barHelpers.initialPositions();h=C.y,x=C.barHeight,u=C.yDivision,p=C.zeroW,f=C.x,w=C.barWidth,c=C.xDivision,d=C.zeroH,this.horizontal||m.push(f+w/2);for(var E=r.group({class:"apexcharts-datalabels","data:realIndex":v}),A=r.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),M=0;M0&&m.push(f+w/2),g.push(h);var L=this.barHelpers.getPathFillColor(e,s,M,v);this.renderSeries({realIndex:v,pathFill:L,j:M,i:s,pathFrom:_.pathFrom,pathTo:_.pathTo,strokeWidth:O,elSeries:y,x:f,y:h,series:e,barHeight:x,barWidth:w,elDataLabelsWrap:E,elGoalsMarkers:A,visibleSeries:this.visibleI,type:"bar"})}n.globals.seriesXvalues[v]=m,n.globals.seriesYvalues[v]=g,a.add(y)}return a}},{key:"renderSeries",value:function(e){var t=e.realIndex,n=e.pathFill,r=e.lineFill,o=e.j,i=e.i,a=e.pathFrom,s=e.pathTo,l=e.strokeWidth,c=e.elSeries,u=e.x,d=e.y,p=e.y1,f=e.y2,h=e.series,g=e.barHeight,m=e.barWidth,v=e.barYPosition,y=e.elDataLabelsWrap,b=e.elGoalsMarkers,x=e.visibleSeries,k=e.type,C=this.w,E=new S(this.ctx);r||(r=this.barOptions.distributed?C.globals.stroke.colors[o]:C.globals.stroke.colors[t]),C.config.series[i].data[o]&&C.config.series[i].data[o].strokeColor&&(r=C.config.series[i].data[o].strokeColor),this.isNullValue&&(n="none");var A=o/C.config.chart.animations.animateGradually.delay*(C.config.chart.animations.speed/C.globals.dataPoints)/2.4,M=E.renderPaths({i:i,j:o,realIndex:t,pathFrom:a,pathTo:s,stroke:r,strokeWidth:l,strokeLineCap:C.config.stroke.lineCap,fill:n,animationDelay:A,initialSpeed:C.config.chart.animations.speed,dataChangeSpeed:C.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(k,"-area")});M.attr("clip-path","url(#gridRectMask".concat(C.globals.cuid,")"));var O=C.config.forecastDataPoints;O.count>0&&o>=C.globals.dataPoints-O.count&&(M.node.setAttribute("stroke-dasharray",O.dashArray),M.node.setAttribute("stroke-width",O.strokeWidth),M.node.setAttribute("fill-opacity",O.fillOpacity)),void 0!==p&&void 0!==f&&(M.attr("data-range-y1",p),M.attr("data-range-y2",f)),new w(this.ctx).setSelectionFilter(M,t,o),c.add(M);var _=new j(this).handleBarDataLabels({x:u,y:d,y1:p,y2:f,i:i,j:o,series:h,realIndex:t,barHeight:g,barWidth:m,barYPosition:v,renderedPath:M,visibleSeries:x});return null!==_&&y.add(_),c.add(y),b&&c.add(b),c}},{key:"drawBarPaths",value:function(e){var t=e.indexes,n=e.barHeight,r=e.strokeWidth,o=e.zeroW,i=e.x,a=e.y,s=e.yDivision,l=e.elSeries,c=this.w,u=t.i,d=t.j;c.globals.isXNumeric&&(a=(c.globals.seriesX[u][d]-c.globals.minX)/this.invertedXRatio-n);var p=a+n*this.visibleI;i=this.barHelpers.getXForValue(this.series[u][d],o);var f=this.barHelpers.getBarpaths({barYPosition:p,barHeight:n,x1:o,x2:i,strokeWidth:r,series:this.series,realIndex:t.realIndex,i:u,j:d,w:c});return c.globals.isXNumeric||(a+=s),this.barHelpers.barBackground({j:d,i:u,y1:p-n*this.visibleI,y2:n*this.seriesLen,elSeries:l}),{pathTo:f.pathTo,pathFrom:f.pathFrom,x:i,y:a,goalX:this.barHelpers.getGoalValues("x",o,null,u,d),barYPosition:p}}},{key:"drawColumnPaths",value:function(e){var t=e.indexes,n=e.x,r=e.y,o=e.xDivision,i=e.barWidth,a=e.zeroH,s=e.strokeWidth,l=e.elSeries,c=this.w,u=t.realIndex,d=t.i,p=t.j,f=t.bc;if(c.globals.isXNumeric){var h=u;c.globals.seriesX[u].length||(h=c.globals.maxValsInArrayIndex),n=(c.globals.seriesX[h][p]-c.globals.minX)/this.xRatio-i*this.seriesLen/2}var g=n+i*this.visibleI;r=this.barHelpers.getYForValue(this.series[d][p],a);var m=this.barHelpers.getColumnPaths({barXPosition:g,barWidth:i,y1:a,y2:r,strokeWidth:s,series:this.series,realIndex:t.realIndex,i:d,j:p,w:c});return c.globals.isXNumeric||(n+=o),this.barHelpers.barBackground({bc:f,j:p,i:d,x1:g-s/2-i*this.visibleI,x2:i*this.seriesLen+s/2,elSeries:l}),{pathTo:m.pathTo,pathFrom:m.pathFrom,x:n,y:r,goalY:this.barHelpers.getGoalValues("y",null,a,d,p),barXPosition:g}}},{key:"getPreviousPath",value:function(e,t){for(var n,r=this.w,o=0;o0&&parseInt(i.realIndex,10)===parseInt(e,10)&&void 0!==r.globals.previousPaths[o].paths[t]&&(n=r.globals.previousPaths[o].paths[t].d)}return n}}]),e}(),B=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return c(e,[{key:"isValidDate",value:function(e){return!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var n=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getTimeStamp(n)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var n=this.w.globals.locale,r=this.w.config.xaxis.labels.datetimeUTC,o=["\0"].concat(m(n.months)),i=[""].concat(m(n.shortMonths)),a=[""].concat(m(n.days)),s=[""].concat(m(n.shortDays));function l(e,t){var n=e+"";for(t=t||2;n.length12?p-12:0===p?12:p;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+l(p))).replace(/(^|[^\\])H/g,"$1"+p)).replace(/(^|[^\\])hh+/g,"$1"+l(f))).replace(/(^|[^\\])h/g,"$1"+f);var h=r?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+l(h))).replace(/(^|[^\\])m/g,"$1"+h);var g=r?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+l(g))).replace(/(^|[^\\])s/g,"$1"+g);var v=r?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+l(v,3)),v=Math.round(v/10),t=t.replace(/(^|[^\\])ff/g,"$1"+l(v)),v=Math.round(v/10);var y=p<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+v)).replace(/(^|[^\\])TT+/g,"$1"+y)).replace(/(^|[^\\])T/g,"$1"+y.charAt(0));var b=y.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+b)).replace(/(^|[^\\])t/g,"$1"+b.charAt(0));var x=-e.getTimezoneOffset(),w=r||!x?"Z":x>0?"+":"-";if(!r){var S=(x=Math.abs(x))%60;w+=l(Math.floor(x/60))+":"+l(S)}t=t.replace(/(^|[^\\])K/g,"$1"+w);var k=(r?e.getUTCDay():e.getDay())+1;return(t=(t=(t=(t=t.replace(new RegExp(a[0],"g"),a[k])).replace(new RegExp(s[0],"g"),s[k])).replace(new RegExp(o[0],"g"),o[u])).replace(new RegExp(i[0],"g"),i[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,n){var r=this.w;void 0!==r.config.xaxis.min&&(e=r.config.xaxis.min),void 0!==r.config.xaxis.max&&(t=r.config.xaxis.max);var o=this.getDate(e),i=this.getDate(t),a=this.formatDate(o,"yyyy MM dd HH mm ss fff").split(" "),s=this.formatDate(i,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(a[6],10),maxMillisecond:parseInt(s[6],10),minSecond:parseInt(a[5],10),maxSecond:parseInt(s[5],10),minMinute:parseInt(a[4],10),maxMinute:parseInt(s[4],10),minHour:parseInt(a[3],10),maxHour:parseInt(s[3],10),minDate:parseInt(a[2],10),maxDate:parseInt(s[2],10),minMonth:parseInt(a[1],10)-1,maxMonth:parseInt(s[1],10)-1,minYear:parseInt(a[0],10),maxYear:parseInt(s[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,n){return this.determineDaysOfMonths(e,t)-n}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,n){var r=this.daysCntOfYear[t]+n;return t>1&&this.isLeapYear()&&r++,r}},{key:"determineDaysOfMonths",value:function(e,t){var n=30;switch(e=b.monthMod(e),!0){case this.months30.indexOf(e)>-1:2===e&&(n=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:n=31}return n}}]),e}(),F=function(e){d(n,R);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this.w,r=new S(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=e,this.seriesRangeStart=n.globals.seriesRangeStart,this.seriesRangeEnd=n.globals.seriesRangeEnd,this.barHelpers.initVariables(e);for(var o=r.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),a=0;a0&&(this.visibleI=this.visibleI+1);var g=0,m=0;this.yRatio.length>1&&(this.yaxisIndex=f);var v=this.barHelpers.initialPositions();d=v.y,c=v.zeroW,u=v.x,m=v.barWidth,s=v.xDivision,l=v.zeroH;for(var y=r.group({class:"apexcharts-datalabels","data:realIndex":f}),x=r.group({class:"apexcharts-rangebar-goals-markers",style:"pointer-events: none"}),w=0;w0}));return r=l.config.plotOptions.bar.rangeBarGroupRows?o+a*p:o+i*this.visibleI+a*p,f>-1&&!l.config.plotOptions.bar.rangeBarOverlap&&(c=l.globals.seriesRangeBar[t][f].overlaps).indexOf(u)>-1&&(r=(i=s.barHeight/c.length)*this.visibleI+a*(100-parseInt(this.barOptions.barHeight,10))/100/2+i*(this.visibleI+c.indexOf(u))+a*p),{barYPosition:r,barHeight:i}}},{key:"drawRangeColumnPaths",value:function(e){var t=e.indexes,n=e.x;e.strokeWidth;var r=e.xDivision,o=e.barWidth,i=e.zeroH,a=this.w,s=t.i,l=t.j,c=this.yRatio[this.yaxisIndex],u=t.realIndex,d=this.getRangeValue(u,l),p=Math.min(d.start,d.end),f=Math.max(d.start,d.end);a.globals.isXNumeric&&(n=(a.globals.seriesX[s][l]-a.globals.minX)/this.xRatio-o/2);var h=n+o*this.visibleI;void 0===this.series[s][l]||null===this.series[s][l]?p=i:(p=i-p/c,f=i-f/c);var g=Math.abs(f-p),m=this.barHelpers.getColumnPaths({barXPosition:h,barWidth:o,y1:p,y2:f,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:t.realIndex,i:u,j:l,w:a});return a.globals.isXNumeric||(n+=r),{pathTo:m.pathTo,pathFrom:m.pathFrom,barHeight:g,x:n,y:f,goalY:this.barHelpers.getGoalValues("y",null,i,s,l),barXPosition:h}}},{key:"drawRangeBarPaths",value:function(e){var t=e.indexes,n=e.y,r=e.y1,o=e.y2,i=e.yDivision,a=e.barHeight,s=e.barYPosition,l=e.zeroW,c=this.w,u=l+r/this.invertedYRatio,d=l+o/this.invertedYRatio,p=Math.abs(d-u),f=this.barHelpers.getBarpaths({barYPosition:s,barHeight:a,x1:u,x2:d,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:t.realIndex,realIndex:t.realIndex,j:t.j,w:c});return c.globals.isXNumeric||(n+=i),{pathTo:f.pathTo,pathFrom:f.pathFrom,barWidth:p,x:d,goalX:this.barHelpers.getGoalValues("x",l,null,t.realIndex,t.j),y:n}}},{key:"getRangeValue",value:function(e,t){var n=this.w;return{start:n.globals.seriesRangeStart[e][t],end:n.globals.seriesRangeEnd[e][t]}}},{key:"getTooltipValues",value:function(e){var t=e.ctx,n=e.seriesIndex,r=e.dataPointIndex,o=e.y1,i=e.y2,a=e.w,s=a.globals.seriesRangeStart[n][r],l=a.globals.seriesRangeEnd[n][r],c=a.globals.labels[r],u=a.config.series[n].name?a.config.series[n].name:"",d=a.config.tooltip.y.formatter,p=a.config.tooltip.y.title.formatter,f={w:a,seriesIndex:n,dataPointIndex:r,start:s,end:l};"function"==typeof p&&(u=p(u,f)),Number.isFinite(o)&&Number.isFinite(i)&&(s=o,l=i,a.config.series[n].data[r].x&&(c=a.config.series[n].data[r].x+":"),"function"==typeof d&&(c=d(c,f)));var h="",g="",m=a.globals.colors[n];if(void 0===a.config.tooltip.x.formatter)if("datetime"===a.config.xaxis.type){var v=new B(t);h=v.formatDate(v.getDate(s),a.config.tooltip.x.format),g=v.formatDate(v.getDate(l),a.config.tooltip.x.format)}else h=s,g=l;else h=a.config.tooltip.x.formatter(s),g=a.config.tooltip.x.formatter(l);return{start:s,end:l,startVal:h,endVal:g,ylabel:c,color:m,seriesName:u}}},{key:"buildCustomTooltipHTML",value:function(e){return'
'+(e.seriesName||"")+'
'+e.ylabel+' '+e.start+' - '+e.end+"
"}}]),n}(),H=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0,b.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,r=t.dataPointIndex,o=t.w;return e._getBoxTooltip(o,n,r,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var n=t.seriesIndex,r=t.dataPointIndex,o=t.w;return e._getBoxTooltip(o,n,r,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var n=t.seriesIndex,r=t.dataPointIndex,o=t.w,i=o.globals.seriesRangeStart[n][r];return o.globals.seriesRangeEnd[n][r]-i},background:{enabled:!1},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?function(e){var t=new F(e.ctx,null),n=t.getTooltipValues(e),r=n.color,o=n.seriesName,i=n.ylabel,a=n.startVal,s=n.endVal;return t.buildCustomTooltipHTML({color:r,seriesName:o,ylabel:i,start:a,end:s})}(e):function(e){var t=new F(e.ctx,null),n=t.getTooltipValues(e),r=n.color,o=n.seriesName,i=n.ylabel,a=n.start,s=n.end;return t.buildCustomTooltipHTML({color:r,seriesName:o,ylabel:i,start:a,end:s})}(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(e){return b.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})),"bar"===e.chart.type&&(e.dataLabels.formatter=t||function(e){return"number"==typeof e&&e?e.toFixed(0)+"%":e}),e}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,n){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(e){return b.isNumber(e)?Math.floor(e):e};var r=e.xaxis.labels.formatter,o=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return n&&n.length&&(o=n.map((function(e){return Array.isArray(e)?e:String(e)}))),o&&o.length&&(e.xaxis.labels.formatter=function(e){return b.isNumber(e)?r(o[Math.floor(e)-1]):r(e)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(e,t,n,r,o){var i=e.globals.seriesCandleO[t][n],a=e.globals.seriesCandleH[t][n],s=e.globals.seriesCandleM[t][n],l=e.globals.seriesCandleL[t][n],c=e.globals.seriesCandleC[t][n];return e.config.series[t].type&&e.config.series[t].type!==o?'
\n '.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": ").concat(e.globals.series[t][n],"\n
"):'
')+"
".concat(r[0],': ')+i+"
"+"
".concat(r[1],': ')+a+"
"+(s?"
".concat(r[2],': ')+s+"
":"")+"
".concat(r[3],': ')+l+"
"+"
".concat(r[4],': ')+c+"
"}}]),e}(),Y=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(e){var t=e.responsiveOverride,n=this.opts,r=new _,o=new H(n);this.chartType=n.chart.type,"histogram"===this.chartType&&(n.chart.type="bar",n=b.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},n)),n=this.extendYAxis(n),n=this.extendAnnotations(n);var i=r.init(),s={};if(n&&"object"===a(n)){var l={};l=-1!==["line","area","bar","candlestick","boxPlot","rangeBar","histogram","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(n.chart.type)?o[n.chart.type]():o.line(),n.chart.brush&&n.chart.brush.enabled&&(l=o.brush(l)),n.chart.stacked&&"100%"===n.chart.stackType&&(n=o.stacked100(n)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(n),n.xaxis=n.xaxis||window.Apex.xaxis||{},t||(n.xaxis.convertedCatToNumeric=!1),((n=this.checkForCatToNumericXAxis(this.chartType,l,n)).chart.sparkline&&n.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(l=o.sparkline(l)),s=b.extend(i,l)}var c=b.extend(s,window.Apex);return i=b.extend(c,n),this.handleUserInputErrors(i)}},{key:"checkForCatToNumericXAxis",value:function(e,t,n){var r=new H(n),o=("bar"===e||"boxPlot"===e)&&n.plotOptions&&n.plotOptions.bar&&n.plotOptions.bar.horizontal,i="pie"===e||"polarArea"===e||"donut"===e||"radar"===e||"radialBar"===e||"heatmap"===e,a="datetime"!==n.xaxis.type&&"numeric"!==n.xaxis.type,s=n.xaxis.tickPlacement?n.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||i||!a||"between"===s||(n=r.convertCatToNumeric(n)),n}},{key:"extendYAxis",value:function(e,t){var n=new _;(void 0===e.yaxis||!e.yaxis||Array.isArray(e.yaxis)&&0===e.yaxis.length)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=b.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[b.extend(n.yAxis,e.yaxis)]:e.yaxis=b.extendArray(e.yaxis,n.yAxis);var r=!1;e.yaxis.forEach((function(e){e.logarithmic&&(r=!0)}));var o=e.series;return t&&!o&&(o=t.config.series),r&&o.length!==e.yaxis.length&&o.length&&(e.yaxis=o.map((function(t,r){if(t.name||(o[r].name="series-".concat(r+1)),e.yaxis[r])return e.yaxis[r].seriesName=o[r].name,e.yaxis[r];var i=b.extend(n.yAxis,e.yaxis[0]);return i.show=!1,i}))),r&&o.length>1&&o.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),e}},{key:"extendAnnotations",value:function(e){return void 0===e.annotations&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new _;return e.annotations.yaxis=b.extendArray(void 0!==e.annotations.yaxis?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new _;return e.annotations.xaxis=b.extendArray(void 0!==e.annotations.xaxis?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new _;return e.annotations.points=b.extendArray(void 0!==e.annotations.points?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&"dark"===e.theme.mode&&(e.tooltip||(e.tooltip={}),"light"!==e.tooltip.theme&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.chart.background||(e.chart.background="#424242"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if("bar"===t.chart.type&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return"bar"!==t.chart.type&&"rangeBar"!==t.chart.type||t.tooltip.shared&&"barWidth"===t.xaxis.crosshairs.width&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),"candlestick"!==t.chart.type&&"boxPlot"!==t.chart.type||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),e}(),U=function(){function e(){s(this,e)}return c(e,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRangeBar=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.labels=[],e.hasGroups=!1,e.groups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.xaxisLabelsCount=0,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:"zoom"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:"pan"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.pan,selectionEnabled:"selection"===e.chart.toolbar.autoSelected&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=b.extend({},e),t.initialSeries=b.clone(e.series),t.lastXAxis=b.clone(t.initialConfig.xaxis),t.lastYAxis=b.clone(t.initialConfig.yaxis),t}}]),e}(),W=function(){function e(t){s(this,e),this.opts=t}return c(e,[{key:"init",value:function(){var e=new Y(this.opts).init({responsiveOverride:!1});return{config:e,globals:(new U).init(e)}}}]),e}(),X=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new k(this.ctx)}return c(e,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var e=this.w.config.series.slice(),t=new P(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&null!==e[this.activeSeriesIndex].data[0]&&void 0!==e[this.activeSeriesIndex].data[0].x&&null!==e[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var e=this.w.config.series.slice(),t=new P(this.ctx);if(this.activeSeriesIndex=t.getActiveConfigSeriesIndex(),void 0!==e[this.activeSeriesIndex].data&&e[this.activeSeriesIndex].data.length>0&&void 0!==e[this.activeSeriesIndex].data[0]&&null!==e[this.activeSeriesIndex].data[0]&&e[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(e,t){for(var n=this.w.config,r=this.w.globals,o="boxPlot"===n.chart.type||"boxPlot"===n.series[t].type,i=0;i=5?this.twoDSeries.push(b.parseNumber(e[t].data[i][4])):this.twoDSeries.push(b.parseNumber(e[t].data[i][1])),r.dataFormatXNumeric=!0),"datetime"===n.xaxis.type){var a=new Date(e[t].data[i][0]);a=new Date(a).getTime(),this.twoDSeriesX.push(a)}else this.twoDSeriesX.push(e[t].data[i][0]);for(var s=0;s-1&&(i=this.activeSeriesIndex);for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:this.ctx,r=this.w.config,o=this.w.globals,i=new B(n),a=r.labels.length>0?r.labels.slice():r.xaxis.categories.slice();o.isRangeBar="rangeBar"===r.chart.type&&o.isBarHorizontal,o.hasGroups="category"===r.xaxis.type&&r.xaxis.group.groups.length>0,o.hasGroups&&(o.groups=r.xaxis.group.groups);for(var s=function(){for(var e=0;e0&&(this.twoDSeriesX=a,o.seriesX.push(this.twoDSeriesX))),o.labels.push(this.twoDSeriesX);var c=e[l].data.map((function(e){return b.parseNumber(e)}));o.series.push(c)}o.seriesZ.push(this.threeDSeries),void 0!==e[l].name?o.seriesNames.push(e[l].name):o.seriesNames.push("series-"+parseInt(l+1,10)),void 0!==e[l].color?o.seriesColors.push(e[l].color):o.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(e){var t=this.w.globals,n=this.w.config;t.series=e.slice(),t.seriesNames=n.labels.slice();for(var r=0;r0?n.labels=t.xaxis.categories:t.labels.length>0?n.labels=t.labels.slice():this.fallbackToCategory?(n.labels=n.labels[0],n.seriesRangeBar.length&&(n.seriesRangeBar.map((function(e){e.forEach((function(e){n.labels.indexOf(e.x)<0&&e.x&&n.labels.push(e.x)}))})),n.labels=n.labels.filter((function(e,t,n){return n.indexOf(e)===t}))),t.xaxis.convertedCatToNumeric&&(new H(t).convertCatToNumericXaxis(t,this.ctx,n.seriesX[0]),this._generateExternalLabels(e))):this._generateExternalLabels(e)}},{key:"_generateExternalLabels",value:function(e){var t=this.w.globals,n=this.w.config,r=[];if(t.axisCharts){if(t.series.length>0)if(this.isFormatXY())for(var o=n.series.map((function(e,t){return e.data.filter((function(e,t,n){return n.findIndex((function(t){return t.x===e.x}))===t}))})),i=o.reduce((function(e,t,n,r){return r[e].length>t.length?e:n}),0),a=0;a0&&n<100?e.toFixed(1):e.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?e.toFixed(1):e.toFixed(0)}return e},"function"==typeof t.config.tooltip.x.formatter?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||void 0!==t.config.tooltip.y.formatter)&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(n,r){void 0!==n.labels.formatter?t.globals.yLabelFormatters[r]=n.labels.formatter:t.globals.yLabelFormatters[r]=function(o){return t.globals.xyCharts?Array.isArray(o)?o.map((function(t){return e.defaultYFormatter(t,n,r)})):e.defaultYFormatter(o,n,r):o}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if("heatmap"===e.config.chart.type){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(e,t){return e.length>t.length?e:t}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),e}(),G=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"getLabel",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],s=this.w,l=void 0===e[r]?"":e[r],c=l,u=s.globals.xLabelFormatter,d=s.config.xaxis.labels.formatter,p=!1,f=new V(this.ctx),h=l;a&&(c=f.xLabelFormat(u,l,h,{i:r,dateFormatter:new B(this.ctx).formatDate,w:s}),void 0!==d&&(c=d(l,e[r],{i:r,dateFormatter:new B(this.ctx).formatDate,w:s})));var g=function(e){var n=null;return t.forEach((function(e){"month"===e.unit?n="year":"day"===e.unit?n="month":"hour"===e.unit?n="day":"minute"===e.unit&&(n="hour")})),n===e};t.length>0?(p=g(t[r].unit),n=t[r].position,c=t[r].value):"datetime"===s.config.xaxis.type&&void 0===d&&(c=""),void 0===c&&(c=""),c=Array.isArray(c)?c:c.toString();var m=new S(this.ctx),v={};v=s.globals.rotateXLabels&&a?m.getTextRects(c,parseInt(i,10),null,"rotate(".concat(s.config.xaxis.labels.rotate," 0 0)"),!1):m.getTextRects(c,parseInt(i,10));var y=!s.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(c)&&(0===c.indexOf("NaN")||0===c.toLowerCase().indexOf("invalid")||c.toLowerCase().indexOf("infinity")>=0||o.indexOf(c)>=0&&y)&&(c=""),{x:n,text:c,textRect:v,isBold:p}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,n){var r=this.w,o=r.config.xaxis.tickAmount;return"dataPoints"===o&&(o=Math.round(r.globals.gridWidth/120)),o>n||e%Math.round(n/(o+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,n,r,o){var i=this.w;if(0===e&&i.globals.skipFirstTimelinelabel&&(t.text=""),e===n-1&&i.globals.skipLastTimelinelabel&&(t.text=""),i.config.xaxis.labels.hideOverlappingLabels&&r.length>0){var a=o[o.length-1];t.x0){!0===s.config.yaxis[o].opposite&&(e+=r.width);for(var u=t;u>=0;u--){var d=c+t/10+s.config.yaxis[o].labels.offsetY-1;s.globals.isBarHorizontal&&(d=i*u),"heatmap"===s.config.chart.type&&(d+=i/2);var p=l.drawLine(e+n.offsetX-r.width+r.offsetX,d+r.offsetY,e+n.offsetX+r.offsetX,d+r.offsetY,r.color);a.add(p),c+=i}}}}]),e}(),K=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"scaleSvgNode",value:function(e,t){var n=parseFloat(e.getAttributeNS(null,"width")),r=parseFloat(e.getAttributeNS(null,"height"));e.setAttributeNS(null,"width",n*t),e.setAttributeNS(null,"height",r*t),e.setAttributeNS(null,"viewBox","0 0 "+n+" "+r)}},{key:"fixSvgStringForIe11",value:function(e){if(!b.isIE11())return e.replace(/ /g," ");var t=0,n=e.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,(function(e){return 2==++t?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':e}));return(n=n.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(e){null==e&&(e=1);var t=this.w.globals.dom.Paper.svg();if(1!==e){var n=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(n,e),t=(new XMLSerializer).serializeToString(n)}return this.fixSvgStringForIe11(t)}},{key:"cleanup",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),n=e.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(r,(function(e){e.setAttribute("width",0)})),t&&t[0]&&(t[0].setAttribute("x",-500),t[0].setAttribute("x1",-500),t[0].setAttribute("x2",-500)),n&&n[0]&&(n[0].setAttribute("y",-100),n[0].setAttribute("y1",-100),n[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var e=this.getSvgString(),t=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(t)}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(n){var r=t.w,o=e?e.scale||e.width/r.globals.svgWidth:1;t.cleanup();var i=document.createElement("canvas");i.width=r.globals.svgWidth*o,i.height=parseInt(r.globals.dom.elWrap.style.height,10)*o;var a="transparent"===r.config.chart.background?"#fff":r.config.chart.background,s=i.getContext("2d");s.fillStyle=a,s.fillRect(0,0,i.width*o,i.height*o);var l=t.getSvgString(o);if(window.canvg&&b.isIE11()){var c=window.canvg.Canvg.fromString(s,l,{ignoreClear:!0,ignoreDimensions:!0});c.start();var u=i.msToBlob();c.stop(),n({blob:u})}else{var d="data:image/svg+xml,"+encodeURIComponent(l),p=new Image;p.crossOrigin="anonymous",p.onload=function(){if(s.drawImage(p,0,0),i.msToBlob){var e=i.msToBlob();n({blob:e})}else{var t=i.toDataURL("image/png");n({imgURI:t})}},p.src=d}}))}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var e=this;this.dataURI().then((function(t){var n=t.imgURI,r=t.blob;r?navigator.msSaveOrOpenBlob(r,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,n=e.series,r=e.fileName,o=e.columnDelimiter,i=void 0===o?",":o,a=e.lineDelimiter,s=void 0===a?"\n":a,l=this.w;n||(n=l.config.series);var c=[],u=[],d="",p=new X(this.ctx),f=new G(this.ctx),h=function(e){var n="";if(l.globals.axisCharts){if("category"===l.config.xaxis.type||l.config.xaxis.convertedCatToNumeric)if(l.globals.isBarHorizontal){var r=l.globals.yLabelFormatters[0],o=new P(t.ctx).getActiveConfigSeriesIndex();n=r(l.globals.labels[e],{seriesIndex:o,dataPointIndex:e,w:l})}else n=f.getLabel(l.globals.labels,l.globals.timescaleLabels,0,e).text;"datetime"===l.config.xaxis.type&&(l.config.xaxis.categories.length?n=l.config.xaxis.categories[e]:l.config.labels.length&&(n=l.config.labels[e]))}else n=l.config.labels[e];return Array.isArray(n)&&(n=n.join(" ")),b.isNumber(n)?n:n.split(i).join("")};c.push(l.config.chart.toolbar.export.csv.headerCategory),"boxPlot"===l.config.chart.type?(c.push("minimum"),c.push("q1"),c.push("median"),c.push("q3"),c.push("maximum")):"candlestick"===l.config.chart.type?(c.push("open"),c.push("high"),c.push("low"),c.push("close")):"rangeBar"===l.config.chart.type?(c.push("minimum"),c.push("maximum")):n.map((function(e,t){var n=e.name?e.name:"series-".concat(t);l.globals.axisCharts&&c.push(n.split(i).join("")?n.split(i).join(""):"series-".concat(t))})),l.globals.axisCharts||(c.push(l.config.chart.toolbar.export.csv.headerValue),u.push(c.join(i))),n.map((function(e,t){l.globals.axisCharts?function(e,t){if(c.length&&0===t&&u.push(c.join(i)),e.data&&e.data.length)for(var r=0;r=10?l.config.chart.toolbar.export.csv.dateFormatter(o):b.isNumber(o)?o:o.split(i).join("")));for(var a=0;a0&&!n.globals.isBarHorizontal&&(this.xaxisLabels=n.globals.timescaleLabels.slice()),n.config.xaxis.overwriteCategories&&(this.xaxisLabels=n.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===n.config.xaxis.position?this.offY=0:this.offY=n.globals.gridHeight+1,this.offY=this.offY+n.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===n.config.chart.type&&n.config.plotOptions.bar.horizontal,this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xaxisBorderWidth=n.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=n.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=n.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=n.config.xaxis.axisBorder.height,this.yaxis=n.config.yaxis[0]}return c(e,[{key:"drawXaxis",value:function(){var e=this.w,t=new S(this.ctx),n=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),r=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});n.add(r);for(var o=[],i=0;i6&&void 0!==arguments[6]?arguments[6]:{},c=[],u=[],d=this.w,p=l.xaxisFontSize||this.xaxisFontSize,f=l.xaxisFontFamily||this.xaxisFontFamily,h=l.xaxisForeColors||this.xaxisForeColors,g=l.fontWeight||d.config.xaxis.labels.style.fontWeight,m=l.cssClass||d.config.xaxis.labels.style.cssClass,v=d.globals.padHorizontal,y=r.length,b="category"===d.config.xaxis.type?d.globals.dataPoints:y;if(o){var x=b>1?b-1:b;a=d.globals.gridWidth/x,v=v+i(0,a)/2+d.config.xaxis.labels.offsetX}else a=d.globals.gridWidth/b,v=v+i(0,a)+d.config.xaxis.labels.offsetX;for(var w=function(o){var l=v-i(o,a)/2+d.config.xaxis.labels.offsetX;0===o&&1===y&&a/2===v&&1===b&&(l=d.globals.gridWidth/2);var x=s.axesUtils.getLabel(r,d.globals.timescaleLabels,l,o,c,p,e),w=28;if(d.globals.rotateXLabels&&e&&(w=22),e||(w=w+parseFloat(p)+(d.globals.xAxisLabelsHeight-d.globals.xAxisGroupLabelsHeight)+(d.globals.rotateXLabels?10:0)),x=void 0!==d.config.xaxis.tickAmount&&"dataPoints"!==d.config.xaxis.tickAmount&&"datetime"!==d.config.xaxis.type?s.axesUtils.checkLabelBasedOnTickamount(o,x,y):s.axesUtils.checkForOverflowingLabels(o,x,y,c,u),e&&x.text&&d.globals.xaxisLabelsCount++,d.config.xaxis.labels.show){var S=t.drawText({x:x.x,y:s.offY+d.config.xaxis.labels.offsetY+w-("top"===d.config.xaxis.position?d.globals.xAxisHeight+d.config.xaxis.axisTicks.height-2:0),text:x.text,textAnchor:"middle",fontWeight:x.isBold?600:g,fontSize:p,fontFamily:f,foreColor:Array.isArray(h)?e&&d.config.xaxis.convertedCatToNumeric?h[d.globals.minX+o-1]:h[o]:h,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+m});if(n.add(S),e){var k=document.createElementNS(d.globals.SVGNS,"title");k.textContent=Array.isArray(x.text)?x.text.join(" "):x.text,S.node.appendChild(k),""!==x.text&&(c.push(x.text),u.push(x))}}or.globals.gridWidth)){var i=this.offY+r.config.xaxis.axisTicks.offsetY;if(t=t+i+r.config.xaxis.axisTicks.height,"top"===r.config.xaxis.position&&(t=i-r.config.xaxis.axisTicks.height),r.config.xaxis.axisTicks.show){var a=new S(this.ctx).drawLine(e+r.config.xaxis.axisTicks.offsetX,i+r.config.xaxis.offsetY,o+r.config.xaxis.axisTicks.offsetX,t+r.config.xaxis.offsetY,r.config.xaxis.axisTicks.color);n.add(a),a.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],n=this.xaxisLabels.length,r=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var o=0;o0){var c=o[o.length-1].getBBox(),u=o[0].getBBox();c.x<-20&&o[o.length-1].parentNode.removeChild(o[o.length-1]),u.x+u.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&o[0].parentNode.removeChild(o[0]);for(var d=0;d0&&(this.xaxisLabels=n.globals.timescaleLabels.slice())}return c(e,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.w,n=new S(this.ctx);null===e&&(e=n.group({class:"apexcharts-grid"}));var r=n.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),o=n.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(o),e.add(r),e}},{key:"drawGrid",value:function(){var e=null;return this.w.globals.axisCharts&&(e=this.renderGrid(),this.drawGridArea(e.el)),e}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,n=new S(this.ctx),r=Array.isArray(e.config.stroke.width)?0:e.config.stroke.width;if(Array.isArray(e.config.stroke.width)){var o=0;e.config.stroke.width.forEach((function(e){o=Math.max(o,e)})),r=o}t.dom.elGridRectMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elForecastMask.setAttribute("id","forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=document.createElementNS(t.SVGNS,"clipPath"),t.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(t.cuid));var i=e.config.chart.type,a=0,s=0;("bar"===i||"rangeBar"===i||"candlestick"===i||"boxPlot"===i||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(a=e.config.grid.padding.left,s=e.config.grid.padding.right,t.barPadForNumericAxis>a&&(a=t.barPadForNumericAxis,s=t.barPadForNumericAxis)),t.dom.elGridRect=n.drawRect(-r/2-a-2,-r/2,t.gridWidth+r+s+a+4,t.gridHeight+r,0,"#fff");var l=e.globals.markers.largestSize+1;t.dom.elGridRectMarker=n.drawRect(2*-l,2*-l,t.gridWidth+4*l,t.gridHeight+4*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask),c.appendChild(t.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,n=e.x1,r=e.y1,o=e.x2,i=e.y2,a=e.xCount,s=e.parent,l=this.w;if(!(0===t&&l.globals.skipFirstTimelinelabel||t===a-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type)){l.config.grid.xaxis.lines.show&&this._drawGridLine({x1:n,y1:r,x2:o,y2:i,parent:s});var c=0;if(l.globals.hasGroups&&"between"===l.config.xaxis.tickPlacement){var u=l.globals.groups;if(u){for(var d=0,p=0;d2));o++);return!e.globals.isBarHorizontal||this.isRangeBar?(n=this.xaxisLabels.length,this.isRangeBar&&(r=e.globals.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(n=e.config.xaxis.tickAmount)),this._drawXYLines({xCount:n,tickAmount:r})):(n=r,r=e.globals.xTickAmount,this._drawInvertedXYLines({xCount:n,tickAmount:r})),this.drawGridBands(n,r),{el:this.elg,xAxisTickWidth:e.globals.gridWidth/n}}},{key:"drawGridBands",value:function(e,t){var n=this.w;if(void 0!==n.config.grid.row.colors&&n.config.grid.row.colors.length>0)for(var r=0,o=n.globals.gridHeight/t,i=n.globals.gridWidth,a=0,s=0;a=n.config.grid.row.colors.length&&(s=0),this._drawGridBandRect({c:s,x1:0,y1:r,x2:i,y2:o,type:"row"}),r+=n.globals.gridHeight/t;if(void 0!==n.config.grid.column.colors&&n.config.grid.column.colors.length>0)for(var l=n.globals.isBarHorizontal||"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric?e:e-1,c=n.globals.padHorizontal,u=n.globals.padHorizontal+n.globals.gridWidth/l,d=n.globals.gridHeight,p=0,f=0;p=n.config.grid.column.colors.length&&(f=0),this._drawGridBandRect({c:f,x1:c,y1:0,x2:u,y2:d,type:"column"}),c+=n.globals.gridWidth/l}}]),e}(),Q=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"niceScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,i=this.w,a=Math.abs(t-e);if("dataPoints"===(n=this._adjustTicksForSmallRange(n,r,a))&&(n=i.globals.dataPoints-1),e===Number.MIN_VALUE&&0===t||!b.isNumber(e)&&!b.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE){e=0,t=n;var s=this.linearScale(e,t,n);return s}e>t?(console.warn("axis.min cannot be greater than axis.max"),t=e+.1):e===t&&(e=0===e?0:e-.5,t=0===t?2:t+.5);var l=[];a<1&&o&&("candlestick"===i.config.chart.type||"candlestick"===i.config.series[r].type||"boxPlot"===i.config.chart.type||"boxPlot"===i.config.series[r].type||i.globals.isRangeData)&&(t*=1.01);var c=n+1;c<2?c=2:c>2&&(c-=2);var u=a/c,d=Math.floor(b.log10(u)),p=Math.pow(10,d),f=Math.round(u/p);f<1&&(f=1);var h=f*p,g=h*Math.floor(e/h),m=h*Math.ceil(t/h),v=g;if(o&&a>2){for(;l.push(v),!((v+=h)>m););return{result:l,niceMin:l[0],niceMax:l[l.length-1]}}var y=e;(l=[]).push(y);for(var x=Math.abs(t-e)/n,w=0;w<=n;w++)y+=x,l.push(y);return l[l.length-2]>=t&&l.pop(),{result:l,niceMin:l[0],niceMax:l[l.length-1]}}},{key:"linearScale",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3?arguments[3]:void 0,o=Math.abs(t-e);"dataPoints"===(n=this._adjustTicksForSmallRange(n,r,o))&&(n=this.w.globals.dataPoints-1);var i=o/n;n===Number.MAX_VALUE&&(n=10,i=1);for(var a=[],s=e;n>=0;)a.push(s),s+=i,n-=1;return{result:a,niceMin:a[0],niceMax:a[a.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,n){t<=0&&(t=Math.max(e,n)),e<=0&&(e=Math.min(t,n));for(var r=[],o=Math.ceil(Math.log(t)/Math.log(n)+1),i=Math.floor(Math.log(e)/Math.log(n));i5)r.allSeriesCollapsed=!1,r.yAxisScale[e]=this.logarithmicScale(t,n,i.logBase),r.yAxisScale[e]=i.forceNiceScale?this.logarithmicScaleNice(t,n,i.logBase):this.logarithmicScale(t,n,i.logBase);else if(n!==-Number.MAX_VALUE&&b.isNumber(n))if(r.allSeriesCollapsed=!1,void 0===i.min&&void 0===i.max||i.forceNiceScale){var s=void 0===o.yaxis[e].max&&void 0===o.yaxis[e].min||o.yaxis[e].forceNiceScale;r.yAxisScale[e]=this.niceScale(t,n,i.tickAmount?i.tickAmount:a<5&&a>1?a+1:5,e,s)}else r.yAxisScale[e]=this.linearScale(t,n,i.tickAmount,e);else r.yAxisScale[e]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(e,t){var n=this.w,r=n.globals,o=n.config.xaxis,i=Math.abs(t-e);return t!==-Number.MAX_VALUE&&b.isNumber(t)?r.xAxisScale=this.linearScale(e,t,o.tickAmount?o.tickAmount:i<5&&i>1?i+1:5,0):r.xAxisScale=this.linearScale(0,5,5),r.xAxisScale}},{key:"setMultipleYScales",value:function(){var e=this,t=this.w.globals,n=this.w.config,r=t.minYArr.concat([]),o=t.maxYArr.concat([]),i=[];n.yaxis.forEach((function(t,a){var s=a;n.series.forEach((function(e,n){e.name===t.seriesName&&(s=n,a!==n?i.push({index:n,similarIndex:a,alreadyExists:!0}):i.push({index:n}))}));var l=r[s],c=o[s];e.setYScaleForIndex(a,l,c)})),this.sameScaleInMultipleAxes(r,o,i)}},{key:"sameScaleInMultipleAxes",value:function(e,t,n){var r=this,o=this.w.config,i=this.w.globals,a=[];n.forEach((function(e){e.alreadyExists&&(void 0===a[e.index]&&(a[e.index]=[]),a[e.index].push(e.index),a[e.index].push(e.similarIndex))})),i.yAxisSameScaleIndices=a,a.forEach((function(e,t){a.forEach((function(n,r){var o,i;t!==r&&(o=e,i=n,o.filter((function(e){return-1!==i.indexOf(e)}))).length>0&&(a[t]=a[t].concat(a[r]))}))}));var s=a.map((function(e){return e.filter((function(t,n){return e.indexOf(t)===n}))})).map((function(e){return e.sort()}));a=a.filter((function(e){return!!e}));var l=s.slice(),c=l.map((function(e){return JSON.stringify(e)}));l=l.filter((function(e,t){return c.indexOf(JSON.stringify(e))===t}));var u=[],d=[];e.forEach((function(e,n){l.forEach((function(r,o){r.indexOf(n)>-1&&(void 0===u[o]&&(u[o]=[],d[o]=[]),u[o].push({key:n,value:e}),d[o].push({key:n,value:t[n]}))}))}));var p=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach((function(e,t){e.forEach((function(e,n){p[t]=Math.min(e.value,p[t])}))})),d.forEach((function(e,t){e.forEach((function(e,n){f[t]=Math.max(e.value,f[t])}))})),e.forEach((function(e,t){d.forEach((function(e,n){var a=p[n],s=f[n];o.chart.stacked&&(s=0,e.forEach((function(e,t){e.value!==-Number.MAX_VALUE&&(s+=e.value),a!==Number.MIN_VALUE&&(a+=u[n][t].value)}))),e.forEach((function(n,l){e[l].key===t&&(void 0!==o.yaxis[t].min&&(a="function"==typeof o.yaxis[t].min?o.yaxis[t].min(i.minY):o.yaxis[t].min),void 0!==o.yaxis[t].max&&(s="function"==typeof o.yaxis[t].max?o.yaxis[t].max(i.maxY):o.yaxis[t].max),r.setYScaleForIndex(t,a,s))}))}))}))}},{key:"autoScaleY",value:function(e,t,n){e||(e=this);var r=e.w;if(r.globals.isMultipleYAxis||r.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),t;var o=r.globals.seriesX[0],i=r.config.chart.stacked;return t.forEach((function(e,a){for(var s=0,l=0;l=n.xaxis.min){s=l;break}var c,u,d=r.globals.minYArr[a],p=r.globals.maxYArr[a],f=r.globals.stackedSeriesTotals;r.globals.series.forEach((function(a,l){var h=a[s];i?(h=f[s],c=u=h,f.forEach((function(e,t){o[t]<=n.xaxis.max&&o[t]>=n.xaxis.min&&(e>u&&null!==e&&(u=e),a[t]=n.xaxis.min){var i=e,a=e;r.globals.series.forEach((function(n,r){null!==e&&(i=Math.min(n[t],i),a=Math.max(n[t],a))})),a>u&&null!==a&&(u=a),id&&(c=d),t.length>1?(t[l].min=void 0===e.min?c:e.min,t[l].max=void 0===e.max?u:e.max):(t[0].min=void 0===e.min?c:e.min,t[0].max=void 0===e.max?u:e.max)}))})),t}}]),e}(),$=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.scales=new Q(t)}return c(e,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.w.config,i=this.w.globals,a=-Number.MAX_VALUE,s=Number.MIN_VALUE;null===r&&(r=e+1);var l=i.series,c=l,u=l;"candlestick"===o.chart.type?(c=i.seriesCandleL,u=i.seriesCandleH):"boxPlot"===o.chart.type?(c=i.seriesCandleO,u=i.seriesCandleC):i.isRangeData&&(c=i.seriesRangeStart,u=i.seriesRangeEnd);for(var d=e;dc[d][p]&&c[d][p]<0&&(s=c[d][p])):i.hasNullValues=!0}}return"rangeBar"===o.chart.type&&i.seriesRangeStart.length&&i.isBarHorizontal&&(s=t),"bar"===o.chart.type&&(s<0&&a<0&&(a=0),s===Number.MIN_VALUE&&(s=0)),{minY:s,maxY:a,lowestY:t,highestY:n}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var n=Number.MAX_VALUE;if(e.isMultipleYAxis)for(var r=0;r=0&&n<=10||void 0!==t.yaxis[0].min||void 0!==t.yaxis[0].max)&&(a=0),e.minY=n-5*a/100,n>0&&e.minY<0&&(e.minY=0),e.maxY=e.maxY+5*a/100}return t.yaxis.forEach((function(t,n){void 0!==t.max&&("number"==typeof t.max?e.maxYArr[n]=t.max:"function"==typeof t.max&&(e.maxYArr[n]=t.max(e.isMultipleYAxis?e.maxYArr[n]:e.maxY)),e.maxY=e.maxYArr[n]),void 0!==t.min&&("number"==typeof t.min?e.minYArr[n]=t.min:"function"==typeof t.min&&(e.minYArr[n]=t.min(e.isMultipleYAxis?e.minYArr[n]===Number.MIN_VALUE?0:e.minYArr[n]:e.minY)),e.minY=e.minYArr[n])})),e.isBarHorizontal&&["min","max"].forEach((function(n){void 0!==t.xaxis[n]&&"number"==typeof t.xaxis[n]&&("min"===n?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.setMultipleYScales(),e.minY=n,e.yAxisScale.forEach((function(t,n){e.minYArr[n]=t.niceMin,e.maxYArr[n]=t.niceMax}))):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.yAxisScale[0].niceMin,e.maxYArr[0]=e.yAxisScale[0].niceMax),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,n="numeric"===t.xaxis.type||"datetime"===t.xaxis.type||"category"===t.xaxis.type&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&function(){for(var t=0;te.dataPoints&&0!==e.dataPoints&&(r=e.dataPoints-1)):"dataPoints"===t.xaxis.tickAmount?(e.series.length>1&&(r=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric&&(r=e.maxX-e.minX-1)):r=t.xaxis.tickAmount,e.xTickAmount=r,void 0!==t.xaxis.max&&"number"==typeof t.xaxis.max&&(e.maxX=t.xaxis.max),void 0!==t.xaxis.min&&"number"==typeof t.xaxis.min&&(e.minX=t.xaxis.min),void 0!==t.xaxis.range&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var o=[],i=e.minX-1;i0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,r-1),e.seriesX=e.labels.slice());n&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ)for(var t=0;t0){var o=t-r[n-1];o>0&&(e.minXDiff=Math.min(o,e.minXDiff))}})),1!==e.dataPoints&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}))}},{key:"_setStackedMinMax",value:function(){var e=this.w.globals,t=[],n=[];if(e.series.length)for(var r=0;r0?o=o+parseFloat(e.series[a][r])+1e-4:i+=parseFloat(e.series[a][r])),a===e.series.length-1&&(t.push(o),n.push(i));for(var s=0;s=0;v--)m(v);if(void 0!==n.config.yaxis[e].title.text){var y=r.group({class:"apexcharts-yaxis-title"}),b=0;n.config.yaxis[e].opposite&&(b=n.globals.translateYAxisX[e]);var x=r.drawText({x:b,y:n.globals.gridHeight/2+n.globals.translateY+n.config.yaxis[e].title.offsetY,text:n.config.yaxis[e].title.text,textAnchor:"end",foreColor:n.config.yaxis[e].title.style.color,fontSize:n.config.yaxis[e].title.style.fontSize,fontWeight:n.config.yaxis[e].title.style.fontWeight,fontFamily:n.config.yaxis[e].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[e].title.style.cssClass});y.add(x),l.add(y)}var w=n.config.yaxis[e].axisBorder,k=31+w.offsetX;if(n.config.yaxis[e].opposite&&(k=-31-w.offsetX),w.show){var C=r.drawLine(k,n.globals.translateY+w.offsetY-2,k,n.globals.gridHeight+n.globals.translateY+w.offsetY+2,w.color,0,w.width);l.add(C)}return n.config.yaxis[e].axisTicks.show&&this.axesUtils.drawYAxisTicks(k,u,w,n.config.yaxis[e].axisTicks,e,d,l),l}},{key:"drawYaxisInversed",value:function(e){var t=this.w,n=new S(this.ctx),r=n.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),o=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});r.add(o);var i=t.globals.yAxisScale[e].result.length-1,a=t.globals.gridWidth/i+.1,s=a+t.config.xaxis.labels.offsetX,l=t.globals.xLabelFormatter,c=t.globals.yAxisScale[e].result.slice(),u=t.globals.timescaleLabels;u.length>0&&(this.xaxisLabels=u.slice(),i=(c=u.slice()).length),c=this.axesUtils.checkForReversedLabels(e,c);var d=u.length;if(t.config.xaxis.labels.show)for(var p=d?0:i;d?p=0;d?p++:p--){var f=c[p];f=l(f,p,t);var h=t.globals.gridWidth+t.globals.padHorizontal-(s-a+t.config.xaxis.labels.offsetX);if(u.length){var g=this.axesUtils.getLabel(c,u,h,p,this.drawnLabels,this.xaxisFontSize);h=g.x,f=g.text,this.drawnLabels.push(g.text),0===p&&t.globals.skipFirstTimelinelabel&&(f=""),p===c.length-1&&t.globals.skipLastTimelinelabel&&(f="")}var m=n.drawText({x:h,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-("top"===t.config.xaxis.position?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+t.config.xaxis.labels.style.cssClass});o.add(m),m.tspan(f);var v=document.createElementNS(t.globals.SVGNS,"title");v.textContent=f,m.node.appendChild(v),s+=a}return this.inversedYAxisTitleText(r),this.inversedYAxisBorder(r),r}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,n=new S(this.ctx),r=t.config.xaxis.axisBorder;if(r.show){var o=0;"bar"===t.config.chart.type&&t.globals.isXNumeric&&(o-=15);var i=n.drawLine(t.globals.padHorizontal+o+r.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,r.color,0,r.height);e.add(i)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,n=new S(this.ctx);if(void 0!==t.config.xaxis.title.text){var r=n.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),o=n.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+t.config.xaxis.title.style.cssClass});r.add(o),e.add(r)}}},{key:"yAxisTitleRotate",value:function(e,t){var n=this.w,r=new S(this.ctx),o={width:0,height:0},i={width:0,height:0},a=n.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g"));null!==a&&(o=a.getBoundingClientRect());var s=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text"));if(null!==s&&(i=s.getBoundingClientRect()),null!==s){var l=this.xPaddingForYAxisTitle(e,o,i,t);s.setAttribute("x",l.xPos-(t?10:0))}if(null!==s){var c=r.rotateAroundCenter(s);s.setAttribute("transform","rotate(".concat(t?-1*n.config.yaxis[e].title.rotate:n.config.yaxis[e].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,n,r){var o=this.w,i=0,a=0,s=10;return void 0===o.config.yaxis[e].title.text||e<0?{xPos:a,padd:0}:(r?(a=t.width+o.config.yaxis[e].title.offsetX+n.width/2+s/2,0===(i+=1)&&(a-=s/2)):(a=-1*t.width+o.config.yaxis[e].title.offsetX+s/2+n.width/2,o.globals.isBarHorizontal&&(s=25,a=-1*t.width-o.config.yaxis[e].title.offsetX-s)),{xPos:a,padd:s})}},{key:"setYAxisXPosition",value:function(e,t){var n=this.w,r=0,o=0,i=18,a=1;n.config.yaxis.length>1&&(this.multipleYs=!0),n.config.yaxis.map((function(s,l){var c=n.globals.ignoreYAxisIndexes.indexOf(l)>-1||!s.show||s.floating||0===e[l].width,u=e[l].width+t[l].width;s.opposite?n.globals.isBarHorizontal?(o=n.globals.gridWidth+n.globals.translateX-1,n.globals.translateYAxisX[l]=o-s.labels.offsetX):(o=n.globals.gridWidth+n.globals.translateX+a,c||(a=a+u+20),n.globals.translateYAxisX[l]=o-s.labels.offsetX+20):(r=n.globals.translateX-i,c||(i=i+u+20),n.globals.translateYAxisX[l]=r+s.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w,t=e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(t=b.listToArray(t)).forEach((function(t,n){var r=e.config.yaxis[n];if(r&&void 0!==r.labels.align){var o=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-texts-g")),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-label"));i=b.listToArray(i);var a=o.getBoundingClientRect();"left"===r.labels.align?(i.forEach((function(e,t){e.setAttribute("text-anchor","start")})),r.opposite||o.setAttribute("transform","translate(-".concat(a.width,", 0)"))):"center"===r.labels.align?(i.forEach((function(e,t){e.setAttribute("text-anchor","middle")})),o.setAttribute("transform","translate(".concat(a.width/2*(r.opposite?1:-1),", 0)"))):"right"===r.labels.align&&(i.forEach((function(e,t){e.setAttribute("text-anchor","end")})),r.opposite&&o.setAttribute("transform","translate(".concat(a.width,", 0)")))}}))}}]),e}(),ee=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.documentEvent=b.bind(this.documentEvent,this)}return c(e,[{key:"addEventListener",value:function(e,t){var n=this.w;n.globals.events.hasOwnProperty(e)?n.globals.events[e].push(t):n.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){var r=n.globals.events[e].indexOf(t);-1!==r&&n.globals.events[e].splice(r,1)}}},{key:"fireEvent",value:function(e,t){var n=this.w;if(n.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var r=n.globals.events[e],o=r.length,i=0;i0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var n=t.filter((function(t){return t.name===e}))[0];if(!n)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var r=b.extend(O,n);this.w.globals.locale=r.options}}]),e}(),ne=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawAxis",value:function(e,t){var n,r,o=this.w.globals,i=this.w.config,a=new Z(this.ctx),s=new J(this.ctx);o.axisCharts&&"radar"!==e&&(o.isBarHorizontal?(r=s.drawYaxisInversed(0),n=a.drawXaxisInversed(0),o.dom.elGraphical.add(n),o.dom.elGraphical.add(r)):(n=a.drawXaxis(),o.dom.elGraphical.add(n),i.yaxis.map((function(e,t){-1===o.ignoreYAxisIndexes.indexOf(t)&&(r=s.drawYaxis(t),o.dom.Paper.add(r))}))))}}]),e}(),re=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new S(this.ctx),n=new w(this.ctx),r=e.config.xaxis.crosshairs.fill.gradient,o=e.config.xaxis.crosshairs.dropShadow,i=e.config.xaxis.crosshairs.fill.type,a=r.colorFrom,s=r.colorTo,l=r.opacityFrom,c=r.opacityTo,u=r.stops,d=o.enabled,p=o.left,f=o.top,h=o.blur,g=o.color,m=o.opacity,v=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){"gradient"===i&&(v=t.drawGradient("vertical",a,s,l,c,null,u,null));var y=t.drawRect();1===e.config.xaxis.crosshairs.width&&(y=t.drawLine());var x=e.globals.gridHeight;(!b.isNumber(x)||x<0)&&(x=0);var k=e.config.xaxis.crosshairs.width;(!b.isNumber(k)||k<0)&&(k=0),y.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:x,width:k,height:x,fill:v,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),d&&(y=n.dropShadow(y,{left:p,top:f,blur:h,color:g,opacity:m})),e.globals.dom.elGraphical.add(y)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new S(this.ctx),n=e.config.yaxis[0].crosshairs,r=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var o=t.drawLine(-r,0,e.globals.gridWidth+r,0,n.stroke.color,n.stroke.dashArray,n.stroke.width);o.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(o)}var i=t.drawLine(-r,0,e.globals.gridWidth+r,0,n.stroke.color,0,0);i.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(i)}}]),e}(),oe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkResponsiveConfig",value:function(e){var t=this,n=this.w,r=n.config;if(0!==r.responsive.length){var o=r.responsive.slice();o.sort((function(e,t){return e.breakpoint>t.breakpoint?1:t.breakpoint>e.breakpoint?-1:0})).reverse();var i=new Y({}),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o[0].breakpoint,a=window.innerWidth>0?window.innerWidth:screen.width;if(a>r){var s=k.extendArrayProps(i,n.globals.initialConfig,n);e=b.extend(s,e),e=b.extend(n.config,e),t.overrideResponsiveOptions(e)}else for(var l=0;l0&&"function"==typeof t.config.colors[0]&&(t.globals.colors=t.config.series.map((function(n,r){var o=t.config.colors[r];return o||(o=t.config.colors[0]),"function"==typeof o?(e.isColorFn=!0,o({value:t.globals.axisCharts?t.globals.series[r][0]?t.globals.series[r][0]:0:t.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t})):o})))),t.globals.seriesColors.map((function(e,n){e&&(t.globals.colors[n]=e)})),t.config.theme.monochrome.enabled){var r=[],o=t.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(o=t.globals.series[0].length*t.globals.series.length);for(var i=t.config.theme.monochrome.color,a=1/(o/t.config.theme.monochrome.shadeIntensity),s=t.config.theme.monochrome.shadeTo,l=0,c=0;c2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,o=t||r.globals.series.length;if(null===n&&(n=this.isBarDistributed||this.isHeatmapDistributed||"heatmap"===r.config.chart.type&&r.config.plotOptions.heatmap.colorScale.inverse),n&&r.globals.series.length&&(o=r.globals.series[r.globals.maxValsInArrayIndex].length*r.globals.series.length),e.lengthe.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(e,t){var n=e;if(this.w.globals.isMultiLineX){var r=t.map((function(e,t){return Array.isArray(e)?e.length:1})),o=Math.max.apply(Math,m(r));n=t[r.indexOf(o)]}return n}}]),e}(),le=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,n=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&0===n.length&&(n=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var r=this.getxAxisTimeScaleLabelsCoords();e={width:r.width,height:r.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==t.config.legend.position&&"right"!==t.config.legend.position||t.config.legend.floating?0:this.dCtx.lgRect.width;var o=t.globals.xLabelFormatter,i=b.getLargestStringFromArr(n),a=this.dCtx.dimHelpers.getLargestStringFromMultiArr(i,n);t.globals.isBarHorizontal&&(a=i=t.globals.yAxisScale[0].result.reduce((function(e,t){return e.length>t.length?e:t}),0));var s=new V(this.dCtx.ctx),l=i;i=s.xLabelFormat(o,i,l,{i:void 0,dateFormatter:new B(this.dCtx.ctx).formatDate,w:t}),a=s.xLabelFormat(o,a,l,{i:void 0,dateFormatter:new B(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&void 0===i||""===String(i).trim())&&(a=i="1");var c=new S(this.dCtx.ctx),u=c.getTextRects(i,t.config.xaxis.labels.style.fontSize),d=u;if(i!==a&&(d=c.getTextRects(a,t.config.xaxis.labels.style.fontSize)),(e={width:u.width>=d.width?u.width:d.width,height:u.height>=d.height?u.height:d.height}).width*n.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==t.config.xaxis.labels.rotate||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var p=function(e){return c.getTextRects(e,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};u=p(i),i!==a&&(d=p(a)),e.height=(u.height>d.height?u.height:d.height)/1.5,e.width=u.width>d.width?u.width:d.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasGroups)return{width:0,height:0};var n,r=(null===(e=t.config.xaxis.group.style)||void 0===e?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,o=t.globals.groups.map((function(e){return e.title})),i=b.getLargestStringFromArr(o),a=this.dCtx.dimHelpers.getLargestStringFromMultiArr(i,o),s=new S(this.dCtx.ctx),l=s.getTextRects(i,r),c=l;return i!==a&&(c=s.getTextRects(a,r)),n={width:l.width>=c.width?l.width:c.width,height:l.height>=c.height?l.height:c.height},t.config.xaxis.labels.show||(n={width:0,height:0}),{width:n.width,height:n.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,n=0;if(void 0!==e.config.xaxis.title.text){var r=new S(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=r.width,n=r.height}return{width:t,height:n}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var n=this.dCtx.timescaleLabels.map((function(e){return e.value})),r=n.reduce((function(e,t){return void 0===e?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):e.length>t.length?e:t}),0);return 1.05*(e=new S(this.dCtx.ctx).getTextRects(r,t.config.xaxis.labels.style.fontSize)).width*n.length>t.globals.gridWidth&&0!==t.config.xaxis.labels.rotate&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,n=this.w,r=n.globals,o=n.config,i=o.xaxis.type,a=e.width;r.skipLastTimelinelabel=!1,r.skipFirstTimelinelabel=!1;var s=n.config.yaxis[0].opposite&&n.globals.isBarHorizontal,l=function(e,s){(function(e){return-1!==r.collapsedSeriesIndices.indexOf(e)})(s)||function(e){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var s=t.dCtx.timescaleLabels[0],l=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+a/1.75-t.dCtx.yAxisWidthRight,c=s.position-a/1.75+t.dCtx.yAxisWidthLeft,u="right"===n.config.legend.position&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;l>r.svgWidth-r.translateX-u&&(r.skipLastTimelinelabel=!0),c<-(e.show&&!e.floating||"bar"!==o.chart.type&&"candlestick"!==o.chart.type&&"rangeBar"!==o.chart.type&&"boxPlot"!==o.chart.type?10:a/1.75)&&(r.skipFirstTimelinelabel=!0)}else"datetime"===i?t.dCtx.gridPad.rightString(s.niceMax).length?u:s.niceMax,p=c(d,{seriesIndex:a,dataPointIndex:-1,w:t}),f=p;if(void 0!==p&&0!==p.length||(p=d),t.globals.isBarHorizontal){r=0;var h=t.globals.labels.slice();p=c(p=b.getLargestStringFromArr(h),{seriesIndex:a,dataPointIndex:-1,w:t}),f=e.dCtx.dimHelpers.getLargestStringFromMultiArr(p,h)}var g=new S(e.dCtx.ctx),m="rotate(".concat(i.labels.rotate," 0 0)"),v=g.getTextRects(p,i.labels.style.fontSize,i.labels.style.fontFamily,m,!1),y=v;p!==f&&(y=g.getTextRects(f,i.labels.style.fontSize,i.labels.style.fontFamily,m,!1)),n.push({width:(l>y.width||l>v.width?l:y.width>v.width?y.width:v.width)+r,height:y.height>v.height?y.height:v.height})}else n.push({width:0,height:0})})),n}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,n=[];return t.config.yaxis.map((function(t,r){if(t.show&&void 0!==t.title.text){var o=new S(e.dCtx.ctx),i="rotate(".concat(t.title.rotate," 0 0)"),a=o.getTextRects(t.title.text,t.title.style.fontSize,t.title.style.fontFamily,i,!1);n.push({width:a.width,height:a.height})}else n.push({width:0,height:0})})),n}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,n=0,r=0,o=e.globals.yAxisScale.length>1?10:0,i=new G(this.dCtx.ctx),a=function(a,s){var l=e.config.yaxis[s].floating,c=0;a.width>0&&!l?(c=a.width+o,function(t){return e.globals.ignoreYAxisIndexes.indexOf(t)>-1}(s)&&(c=c-a.width-o)):c=l||i.isYAxisHidden(s)?0:5,e.config.yaxis[s].opposite?r+=c:n+=c,t+=c};return e.globals.yLabelsCoords.map((function(e,t){a(e,t)})),e.globals.yTitleCoords.map((function(e,t){a(e,t)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=n,this.dCtx.yAxisWidthRight=r,t}}]),e}(),ue=function(){function e(t){s(this,e),this.w=t.w,this.dCtx=t}return c(e,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w;if(t.globals.noData||t.globals.allSeriesCollapsed)return 0;var n=function(e){return"bar"===e||"rangeBar"===e||"candlestick"===e||"boxPlot"===e},r=t.config.chart.type,o=0,i=n(r)?t.config.series.length:1;if(t.globals.comboBarCount>0&&(i=t.globals.comboBarCount),t.globals.collapsedSeries.forEach((function(e){n(e.type)&&(i-=1)})),t.config.chart.stacked&&(i=1),(n(r)||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&i>0){var a,s,l=Math.abs(t.globals.initialMaxX-t.globals.initialMinX);l<=3&&(l=t.globals.dataPoints),a=l/e,t.globals.minXDiff&&t.globals.minXDiff/a>0&&(s=t.globals.minXDiff/a),s>e/2&&(s/=2),(o=s/i*parseInt(t.config.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),o=o/(i>1?1:1.5)+5,t.globals.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,n=t.globals,r=this.dCtx.isSparkline||!t.globals.axisCharts?0:10;["title","subtitle"].forEach((function(n){void 0!==t.config[n].text?r+=t.config[n].margin:r+=e.dCtx.isSparkline||!t.globals.axisCharts?0:5})),!t.config.legend.show||"bottom"!==t.config.legend.position||t.config.legend.floating||t.globals.axisCharts||(r+=10);var o=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),i=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");n.gridHeight=n.gridHeight-o.height-i.height-r,n.translateY=n.translateY+o.height+i.height+r}},{key:"setGridXPosForDualYAxis",value:function(e,t){var n=this.w,r=new G(this.dCtx.ctx);n.config.yaxis.map((function(o,i){-1!==n.globals.ignoreYAxisIndexes.indexOf(i)||o.floating||r.isYAxisHidden(i)||(o.opposite&&(n.globals.translateX=n.globals.translateX-(t[i].width+e[i].width)-parseInt(n.config.yaxis[i].labels.style.fontSize,10)/1.2-12),n.globals.translateX<2&&(n.globals.translateX=2))}))}}]),e}(),de=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new se(this),this.dimYAxis=new ce(this),this.dimXAxis=new le(this),this.dimGrid=new ue(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return c(e,[{key:"plotCoords",value:function(){var e=this,t=this.w,n=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.isSparkline&&(t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(t){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e)||v(e,2)||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.")}()}(t),r=n[0],o=n[1];e.gridPad[r]=Math.max(o,e.w.globals.markers.largestSize/1.5)})),n.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),n.gridHeight=n.gridHeight-this.gridPad.top-this.gridPad.bottom,n.gridWidth=n.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(n.gridWidth);n.gridWidth=n.gridWidth-2*r,n.translateX=n.translateX+this.gridPad.left+this.xPadLeft+(r>0?r+4:0),n.translateY=n.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,n=t.globals,r=this.dimYAxis.getyAxisLabelsCoords(),o=this.dimYAxis.getyAxisTitleCoords();t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(e,n){t.globals.yLabelsCoords.push({width:r[n].width,index:n}),t.globals.yTitleCoords.push({width:o[n].width,index:n})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var i=this.dimXAxis.getxAxisLabelsCoords(),a=this.dimXAxis.getxAxisGroupLabelsCoords(),s=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(i,s,a),n.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,n.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(n.rotateXLabels=!1,n.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),n.translateXAxisY=n.translateXAxisY+t.config.xaxis.labels.offsetY,n.translateXAxisX=n.translateXAxisX+t.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;n.xAxisLabelsHeight=this.xAxisHeight-s.height,n.xAxisGroupLabelsHeight=n.xAxisLabelsHeight-i.height,n.xAxisLabelsWidth=this.xAxisWidth,n.xAxisHeight=this.xAxisHeight;var u=10;("radar"===t.config.chart.type||this.isSparkline)&&(l=0,c=n.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||"treemap"===t.config.chart.type)&&(l=0,c=0,u=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(i);var d=function(){n.translateX=l,n.gridHeight=n.svgHeight-e.lgRect.height-c-(e.isSparkline||"treemap"===t.config.chart.type?0:t.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-l};switch("top"===t.config.xaxis.position&&(u=n.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":n.translateY=u,d();break;case"top":n.translateY=this.lgRect.height+u,d();break;case"left":n.translateY=u,n.translateX=this.lgRect.width+l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l;break;case"right":n.translateY=u,n.translateX=l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(o,r),new J(this.ctx).setYAxisXPosition(r,o)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=e.config,r=0;e.config.legend.show&&!e.config.legend.floating&&(r=20);var o="pie"===n.chart.type||"polarArea"===n.chart.type||"donut"===n.chart.type?"pie":"radialBar",i=n.plotOptions[o].offsetY,a=n.plotOptions[o].offsetX;if(!n.legend.show||n.legend.floating)return t.gridHeight=t.svgHeight-n.grid.padding.left+n.grid.padding.right,t.gridWidth=t.gridHeight,t.translateY=i,void(t.translateX=a+(t.svgWidth-t.gridWidth)/2);switch(n.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=i-10,t.translateX=a+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height-t.goldenPadding,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+i+10,t.translateX=a+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-r,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=i,t.translateX=a+this.lgRect.width+r;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-r-5,t.gridHeight="auto"!==n.chart.height?t.svgHeight:t.gridWidth,t.translateY=i,t.translateX=a+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,n){var r=this.w,o=r.globals.hasGroups?2:1,i=n.height+e.height+t.height,a=r.globals.isMultiLineX?1.2:r.globals.LINE_HEIGHT_RATIO,s=r.globals.rotateXLabels?22:10,l=r.globals.rotateXLabels&&"bottom"===r.config.legend.position?10:0;this.xAxisHeight=i*a+o*s+l,this.xAxisWidth=e.width,this.xAxisHeight-t.height>r.config.xaxis.labels.maxHeight&&(this.xAxisHeight=r.config.xaxis.labels.maxHeight),r.config.xaxis.labels.minHeight&&this.xAxisHeightu&&(this.yAxisWidth=u)}}]),e}(),pe=function(){function e(t){s(this,e),this.w=t.w,this.lgCtx=t}return c(e,[{key:"getLegendStyles",value:function(){var e=document.createElement("style");e.setAttribute("type","text/css");var t=document.createTextNode("\t\n \t\n .apexcharts-legend {\t\n display: flex;\t\n overflow: auto;\t\n padding: 0 10px;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {\t\n flex-wrap: wrap\t\n }\t\n .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n flex-direction: column;\t\n bottom: 0;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n justify-content: flex-start;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {\t\n justify-content: center; \t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {\t\n justify-content: flex-end;\t\n }\t\n .apexcharts-legend-series {\t\n cursor: pointer;\t\n line-height: normal;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{\t\n display: flex;\t\n align-items: center;\t\n }\t\n .apexcharts-legend-text {\t\n position: relative;\t\n font-size: 14px;\t\n }\t\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\t\n pointer-events: none;\t\n }\t\n .apexcharts-legend-marker {\t\n position: relative;\t\n display: inline-block;\t\n cursor: pointer;\t\n margin-right: 3px;\t\n border-style: solid;\n }\t\n \t\n .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{\t\n display: inline-block;\t\n }\t\n .apexcharts-legend-series.apexcharts-no-click {\t\n cursor: auto;\t\n }\t\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\t\n display: none !important;\t\n }\t\n .apexcharts-inactive-legend {\t\n opacity: 0.45;\t\n }");return e.appendChild(t),e}},{key:"getLegendBBox",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;e.dom.elLegendForeign=document.createElementNS(e.SVGNS,"foreignObject");var t=e.dom.elLegendForeign;t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("width",e.svgWidth),t.setAttribute("height",e.svgHeight),e.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),t.appendChild(e.dom.elLegendWrap),t.appendChild(this.getLegendStyles()),e.dom.Paper.node.insertBefore(t,e.dom.elGraphical.node)}},{key:"toggleDataSeries",value:function(e,t){var n=this,r=this.w;if(r.globals.axisCharts||"radialBar"===r.config.chart.type){r.globals.resized=!0;var o=null,i=null;r.globals.risingSeries=[],r.globals.axisCharts?(o=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),i=parseInt(o.getAttribute("data:realIndex"),10)):(o=r.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),i=parseInt(o.getAttribute("rel"),10)-1),t?[{cs:r.globals.collapsedSeries,csi:r.globals.collapsedSeriesIndices},{cs:r.globals.ancillaryCollapsedSeries,csi:r.globals.ancillaryCollapsedSeriesIndices}].forEach((function(e){n.riseCollapsedSeries(e.cs,e.csi,i)})):this.hideSeries({seriesEl:o,realIndex:i})}else{var a=r.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(e+1,"'] path")),s=r.config.chart.type;if("pie"===s||"polarArea"===s||"donut"===s){var l=r.config.plotOptions.pie.donut.labels;new S(this.lgCtx.ctx).pathMouseDown(a.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(a.members[0].node,l)}a.fire("click")}}},{key:"hideSeries",value:function(e){var t=e.seriesEl,n=e.realIndex,r=this.w,o=b.clone(r.config.series);if(r.globals.axisCharts){var i=!1;if(r.config.yaxis[n]&&r.config.yaxis[n].show&&r.config.yaxis[n].showAlways&&(i=!0,r.globals.ancillaryCollapsedSeriesIndices.indexOf(n)<0&&(r.globals.ancillaryCollapsedSeries.push({index:n,data:o[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),r.globals.ancillaryCollapsedSeriesIndices.push(n))),!i){r.globals.collapsedSeries.push({index:n,data:o[n].data.slice(),type:t.parentNode.className.baseVal.split("-")[1]}),r.globals.collapsedSeriesIndices.push(n);var a=r.globals.risingSeries.indexOf(n);r.globals.risingSeries.splice(a,1)}}else r.globals.collapsedSeries.push({index:n,data:o[n]}),r.globals.collapsedSeriesIndices.push(n);for(var s=t.childNodes,l=0;l0){for(var i=0;i-1&&(e[r].data=[])})):e.forEach((function(n,r){t.globals.collapsedSeriesIndices.indexOf(r)>-1&&(e[r]=0)})),e}}]),e}(),fe=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new pe(this)}return c(e,[{key:"init",value:function(){var e=this.w,t=e.globals,n=e.config;if((n.legend.showForSingleSeries&&1===t.series.length||this.isBarsDistributed||t.series.length>1||!t.axisCharts)&&n.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),b.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),"bottom"===n.legend.position||"top"===n.legend.position?this.legendAlignHorizontal():"right"!==n.legend.position&&"left"!==n.legend.position||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var e=this,t=this.w,n=t.config.legend.fontFamily,r=t.globals.seriesNames,o=t.globals.colors.slice();if("heatmap"===t.config.chart.type){var i=t.config.plotOptions.heatmap.colorScale.ranges;r=i.map((function(e){return e.name?e.name:e.from+" - "+e.to})),o=i.map((function(e){return e.color}))}else this.isBarsDistributed&&(r=t.globals.labels.slice());t.config.legend.customLegendItems.length&&(r=t.config.legend.customLegendItems);for(var a=t.globals.legendFormatter,s=t.config.legend.inverseOrder,l=s?r.length-1:0;s?l>=0:l<=r.length-1;s?l--:l++){var c=a(r[l],{seriesIndex:l,w:t}),u=!1,d=!1;if(t.globals.collapsedSeries.length>0)for(var p=0;p0)for(var f=0;f0?l-10:0)+(c>0?c-10:0)}r.style.position="absolute",i=i+e+n.config.legend.offsetX,a=a+t+n.config.legend.offsetY,r.style.left=i+"px",r.style.top=a+"px","bottom"===n.config.legend.position?(r.style.top="auto",r.style.bottom=5-n.config.legend.offsetY+"px"):"right"===n.config.legend.position&&(r.style.left="auto",r.style.right=25+n.config.legend.offsetX+"px"),["width","height"].forEach((function(e){r.style[e]&&(r.style[e]=parseInt(n.config.legend[e],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var t=this.legendHelpers.getLegendBBox(),n=new de(this.ctx),r=n.dimHelpers.getTitleSubtitleCoords("title"),o=n.dimHelpers.getTitleSubtitleCoords("subtitle"),i=0;"bottom"===e.config.legend.position?i=-t.clwh/1.8:"top"===e.config.legend.position&&(i=r.height+o.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,i)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendBBox(),n=0;"left"===e.config.legend.position&&(n=20),"right"===e.config.legend.position&&(n=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(n,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,n=e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if("heatmap"===t.config.chart.type||this.isBarsDistributed){if(n){var r=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,r,this.w]),new P(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&n&&new P(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var n=parseInt(e.target.getAttribute("rel"),10)-1,r="true"===e.target.getAttribute("data:collapsed"),o=this.w.config.chart.events.legendClick;"function"==typeof o&&o(this.ctx,n,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,n,this.w]);var i=this.w.config.legend.markers.onClick;"function"==typeof i&&e.target.classList.contains("apexcharts-legend-marker")&&(i(this.ctx,n,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,n,this.w])),"treemap"!==t.config.chart.type&&"heatmap"!==t.config.chart.type&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(n,r)}}}]),e}(),he=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=n.globals.minX,this.maxX=n.globals.maxX}return c(e,[{key:"createToolbar",value:function(){var e=this,t=this.w,n=function(){return document.createElement("div")},r=n();if(r.setAttribute("class","apexcharts-toolbar"),r.style.top=t.config.chart.toolbar.offsetY+"px",r.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(r),this.elZoom=n(),this.elZoomIn=n(),this.elZoomOut=n(),this.elPan=n(),this.elSelection=n(),this.elZoomReset=n(),this.elMenuIcon=n(),this.elMenu=n(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var o=0;o\n \n \n\n'),a("zoomOut",this.elZoomOut,'\n \n \n\n');var s=function(n){e.t[n]&&t.config.chart[n].enabled&&i.push({el:"zoom"===n?e.elZoom:e.elSelection,icon:"string"==typeof e.t[n]?e.t[n]:"zoom"===n?'\n \n \n \n':'\n \n \n',title:e.localeValues["zoom"===n?"selectionZoom":"selection"],class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(n,"-icon")})};s("zoom"),s("selection"),this.t.pan&&t.config.chart.zoom.enabled&&i.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'\n \n \n \n \n \n \n \n',title:this.localeValues.pan,class:t.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),a("reset",this.elZoomReset,'\n \n \n'),this.t.download&&i.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l0&&t.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:e.globals.gridWidth,maxY:e.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var e=this.w,t=this.xyRatios;if(!e.globals.zoomEnabled)if(void 0!==e.globals.selection&&null!==e.globals.selection)this.drawSelectionRect(e.globals.selection);else if(void 0!==e.config.chart.selection.xaxis.min&&void 0!==e.config.chart.selection.xaxis.max){var n=(e.config.chart.selection.xaxis.min-e.globals.minX)/t.xRatio,r={x:n,y:0,width:e.globals.gridWidth-(e.globals.maxX-e.config.chart.selection.xaxis.max)/t.xRatio-n,height:e.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(r),this.makeSelectionRectDraggable(),"function"==typeof e.config.chart.events.selection&&e.config.chart.events.selection(this.ctx,{xaxis:{min:e.config.chart.selection.xaxis.min,max:e.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=e.translateX,a=void 0===i?0:i,s=e.translateY,l=void 0===s?0:s,c=this.w,u=this.zoomRect,d=this.selectionRect;if(this.dragged||null!==c.globals.selection){var p={transform:"translate("+a+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(r<0&&(r=1),u.attr({x:t,y:n,width:r,height:o,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),S.setAttrs(u.node,p)),c.globals.selectionEnabled&&(d.attr({x:t,y:n,width:r>0?r:0,height:o>0?o:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),S.setAttrs(d.node,p))}}},{key:"hideSelectionRect",value:function(e){e&&e.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(e){var t,n=e.context,r=e.zoomtype,o=this.w,i=n,a=this.gridRect.getBoundingClientRect(),s=i.startX-1,l=i.startY,c=!1,u=!1,d=i.clientX-a.left-s,p=i.clientY-a.top-l;return Math.abs(d+s)>o.globals.gridWidth?d=o.globals.gridWidth-s:i.clientX-a.left<0&&(d=s),s>i.clientX-a.left&&(c=!0,d=Math.abs(d)),l>i.clientY-a.top&&(u=!0,p=Math.abs(p)),t="x"===r?{x:c?s-d:s,y:0,width:d,height:o.globals.gridHeight}:"y"===r?{x:0,y:u?l-p:l,width:o.globals.gridWidth,height:p}:{x:c?s-d:s,y:u?l-p:l,width:d,height:p},i.drawSelectionRect(t),i.selectionDragging("resizing"),t}},{key:"selectionDragging",value:function(e,t){var n=this,r=this.w,o=this.xyRatios,i=this.selectionRect,a=0;"resizing"===e&&(a=30);var s=function(e){return parseFloat(i.node.getAttribute(e))},l={x:s("x"),y:s("y"),width:s("width"),height:s("height")};r.globals.selection=l,"function"==typeof r.config.chart.events.selection&&r.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var e=n.gridRect.getBoundingClientRect(),t=i.node.getBoundingClientRect(),a={xaxis:{min:r.globals.xAxisScale.niceMin+(t.left-e.left)*o.xRatio,max:r.globals.xAxisScale.niceMin+(t.right-e.left)*o.xRatio},yaxis:{min:r.globals.yAxisScale[0].niceMin+(e.bottom-t.bottom)*o.yRatio[0],max:r.globals.yAxisScale[0].niceMax-(t.top-e.top)*o.yRatio[0]}};r.config.chart.events.selection(n.ctx,a),r.config.chart.brush.enabled&&void 0!==r.config.chart.events.brushScrolled&&r.config.chart.events.brushScrolled(n.ctx,a)}),a))}},{key:"selectionDrawn",value:function(e){var t=e.context,n=e.zoomtype,r=this.w,o=t,i=this.xyRatios,a=this.ctx.toolbar;if(o.startX>o.endX){var s=o.startX;o.startX=o.endX,o.endX=s}if(o.startY>o.endY){var l=o.startY;o.startY=o.endY,o.endY=l}var c=void 0,u=void 0;r.globals.isRangeBar?(c=r.globals.yAxisScale[0].niceMin+o.startX*i.invertedYRatio,u=r.globals.yAxisScale[0].niceMin+o.endX*i.invertedYRatio):(c=r.globals.xAxisScale.niceMin+o.startX*i.xRatio,u=r.globals.xAxisScale.niceMin+o.endX*i.xRatio);var d=[],p=[];if(r.config.yaxis.forEach((function(e,t){d.push(r.globals.yAxisScale[t].niceMax-i.yRatio[t]*o.startY),p.push(r.globals.yAxisScale[t].niceMax-i.yRatio[t]*o.endY)})),o.dragged&&(o.dragX>10||o.dragY>10)&&c!==u)if(r.globals.zoomEnabled){var f=b.clone(r.globals.initialConfig.yaxis),h=b.clone(r.globals.initialConfig.xaxis);if(r.globals.zoomed=!0,r.config.xaxis.convertedCatToNumeric&&(c=Math.floor(c),u=Math.floor(u),c<1&&(c=1,u=r.globals.dataPoints),u-c<2&&(u=c+1)),"xy"!==n&&"x"!==n||(h={min:c,max:u}),"xy"!==n&&"y"!==n||f.forEach((function(e,t){f[t].min=p[t],f[t].max=d[t]})),r.config.chart.zoom.autoScaleYaxis){var g=new Q(o.ctx);f=g.autoScaleY(o.ctx,f,{xaxis:h})}if(a){var m=a.getBeforeZoomRange(h,f);m&&(h=m.xaxis?m.xaxis:h,f=m.yaxis?m.yaxis:f)}var v={xaxis:h};r.config.chart.group||(v.yaxis=f),o.ctx.updateHelpers._updateOptions(v,!1,o.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof r.config.chart.events.zoomed&&a.zoomCallback(h,f)}else if(r.globals.selectionEnabled){var y,x=null;y={min:c,max:u},"xy"!==n&&"y"!==n||(x=b.clone(r.config.yaxis)).forEach((function(e,t){x[t].min=p[t],x[t].max=d[t]})),r.globals.selection=o.selection,"function"==typeof r.config.chart.events.selection&&r.config.chart.events.selection(o.ctx,{xaxis:y,yaxis:x})}}},{key:"panDragging",value:function(e){var t=e.context,n=this.w,r=t;if(void 0!==n.globals.lastClientPosition.x){var o=n.globals.lastClientPosition.x-r.clientX,i=n.globals.lastClientPosition.y-r.clientY;Math.abs(o)>Math.abs(i)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(i)&&o<0?this.moveDirection="right":Math.abs(i)>Math.abs(o)&&i>0?this.moveDirection="up":Math.abs(i)>Math.abs(o)&&i<0&&(this.moveDirection="down")}n.globals.lastClientPosition={x:r.clientX,y:r.clientY};var a=n.globals.isRangeBar?n.globals.minY:n.globals.minX,s=n.globals.isRangeBar?n.globals.maxY:n.globals.maxX;n.config.xaxis.convertedCatToNumeric||r.panScrolled(a,s)}},{key:"delayedPanScrolled",value:function(){var e=this.w,t=e.globals.minX,n=e.globals.maxX,r=(e.globals.maxX-e.globals.minX)/2;"left"===this.moveDirection?(t=e.globals.minX+r,n=e.globals.maxX+r):"right"===this.moveDirection&&(t=e.globals.minX-r,n=e.globals.maxX-r),t=Math.floor(t),n=Math.floor(n),this.updateScrolledChart({xaxis:{min:t,max:n}},t,n)}},{key:"panScrolled",value:function(e,t){var n=this.w,r=this.xyRatios,o=b.clone(n.globals.initialConfig.yaxis),i=r.xRatio,a=n.globals.minX,s=n.globals.maxX;n.globals.isRangeBar&&(i=r.invertedYRatio,a=n.globals.minY,s=n.globals.maxY),"left"===this.moveDirection?(e=a+n.globals.gridWidth/15*i,t=s+n.globals.gridWidth/15*i):"right"===this.moveDirection&&(e=a-n.globals.gridWidth/15*i,t=s-n.globals.gridWidth/15*i),n.globals.isRangeBar||(en.globals.initialMaxX)&&(e=a,t=s);var l={min:e,max:t};n.config.chart.zoom.autoScaleYaxis&&(o=new Q(this.ctx).autoScaleY(this.ctx,o,{xaxis:l}));var c={xaxis:{min:e,max:t}};n.config.chart.group||(c.yaxis=o),this.updateScrolledChart(c,e,t)}},{key:"updateScrolledChart",value:function(e,t,n){var r=this.w;this.ctx.updateHelpers._updateOptions(e,!1,!1),"function"==typeof r.config.chart.events.scrolled&&r.config.chart.events.scrolled(this.ctx,{xaxis:{min:t,max:n}})}}]),n}(),me=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx}return c(e,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,n=e.elGrid,r=e.clientX,o=e.clientY,i=this.w,a=n.getBoundingClientRect(),s=a.width,l=a.height,c=s/(i.globals.dataPoints-1),u=l/i.globals.dataPoints,d=this.hasBars();!i.globals.comboCharts&&!d||i.config.xaxis.convertedCatToNumeric||(c=s/i.globals.dataPoints);var p=r-a.left-i.globals.barPadForNumericAxis,f=o-a.top;p<0||f<0||p>s||f>l?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):i.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):i.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var h=Math.round(p/c),g=Math.floor(f/u);d&&!i.config.xaxis.convertedCatToNumeric&&(h=Math.ceil(p/c),h-=1);var m=null,v=null,y=[],x=[];if(i.globals.seriesXvalues.forEach((function(e){y.push([e[0]+1e-6].concat(e))})),i.globals.seriesYvalues.forEach((function(e){x.push([e[0]+1e-6].concat(e))})),y=y.map((function(e){return e.filter((function(e){return b.isNumber(e)}))})),x=x.map((function(e){return e.filter((function(e){return b.isNumber(e)}))})),i.globals.isXNumeric){var w=this.ttCtx.getElGrid().getBoundingClientRect(),S=p*(w.width/s),k=f*(w.height/l);m=(v=this.closestInMultiArray(S,k,y,x)).index,h=v.j,null!==m&&(y=i.globals.seriesXvalues[m],h=(v=this.closestInArray(S,y)).index)}return i.globals.capturedSeriesIndex=null===m?-1:m,(!h||h<1)&&(h=0),i.globals.isBarHorizontal?i.globals.capturedDataPointIndex=g:i.globals.capturedDataPointIndex=h,{capturedSeries:m,j:i.globals.isBarHorizontal?g:h,hoverX:p,hoverY:f}}},{key:"closestInMultiArray",value:function(e,t,n,r){var o=this.w,i=0,a=null,s=-1;o.globals.series.length>1?i=this.getFirstActiveXArray(n):a=0;var l=n[i][0],c=Math.abs(e-l);if(n.forEach((function(t){t.forEach((function(t,n){var r=Math.abs(e-t);r0?t:-1})),o=0;o0)for(var r=0;rn?-1:0}));var t=[];return e.forEach((function(e){t.push(e.querySelector(".apexcharts-marker"))})),t}},{key:"hasMarkers",value:function(){return this.getElMarkers().length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,n=t.config.markers.hover.size;return void 0===n&&(n=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),n}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,n=this.ttCtx;0===n.allTooltipSeriesGroups.length&&(n.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var r=n.allTooltipSeriesGroups,o=0;o ').concat(n.attrs.name,""),t+="
".concat(n.val,"
")})),y.innerHTML=e+"",b.innerHTML=t+""};a?l.globals.seriesGoals[t][n]&&Array.isArray(l.globals.seriesGoals[t][n])?x():(y.innerHTML="",b.innerHTML=""):x()}else y.innerHTML="",b.innerHTML="";null!==h&&(r[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,r[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==h?h:""),a&&g[0]&&(null==u||l.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||l.globals.collapsedSeriesIndices.indexOf(t)>-1?g[0].parentNode.style.display="none":g[0].parentNode.style.display=l.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(e){var t=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var n=t.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");n&&(n.classList.add("apexcharts-active"),n.style.display=t.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,n=e.j,r=this.w,o=this.ctx.series.filteredSeriesX(),i="",a="",s=null,l=null,c={series:r.globals.series,seriesIndex:t,dataPointIndex:n,w:r},u=r.globals.ttZFormatter;null===n?l=r.globals.series[t]:r.globals.isXNumeric&&"treemap"!==r.config.chart.type?(i=o[t][n],0===o[t].length&&(i=o[this.tooltipUtil.getFirstActiveXArray(o)][n])):i=void 0!==r.globals.labels[n]?r.globals.labels[n]:"";var d=i;return i=r.globals.isXNumeric&&"datetime"===r.config.xaxis.type?new V(this.ctx).xLabelFormat(r.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new B(this.ctx).formatDate,w:this.w}):r.globals.isBarHorizontal?r.globals.yLabelFormatters[0](d,c):r.globals.xLabelFormatter(d,c),void 0!==r.config.tooltip.x.formatter&&(i=r.globals.ttKeyFormatter(d,c)),r.globals.seriesZ.length>0&&r.globals.seriesZ[t].length>0&&(s=u(r.globals.seriesZ[t][n],r)),a="function"==typeof r.config.xaxis.tooltip.formatter?r.globals.xaxisTooltipFormatter(d,c):i,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(i)?i.join(" "):i,xAxisTTVal:Array.isArray(a)?a.join(" "):a,zVal:s}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,n=e.j,r=e.y1,o=e.y2,i=e.w,a=this.ttCtx.getElTooltip(),s=i.config.tooltip.custom;Array.isArray(s)&&s[t]&&(s=s[t]),a.innerHTML=s({ctx:this.ctx,series:i.globals.series,seriesIndex:t,dataPointIndex:n,y1:r,y2:o,w:i})}}]),e}(),ye=function(){function e(t){s(this,e),this.ttCtx=t,this.ctx=t.ctx,this.w=t.w}return c(e,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.ttCtx,r=this.w,o=n.getElXCrosshairs(),i=e-n.xcrosshairsWidth/2,a=r.globals.labels.slice().length;if(null!==t&&(i=r.globals.gridWidth/a*t),null===o||r.globals.isBarHorizontal||(o.setAttribute("x",i),o.setAttribute("x1",i),o.setAttribute("x2",i),o.setAttribute("y2",r.globals.gridHeight),o.classList.add("apexcharts-active")),i<0&&(i=0),i>r.globals.gridWidth&&(i=r.globals.gridWidth),n.isXAxisTooltipEnabled){var s=i;"tickWidth"!==r.config.xaxis.crosshairs.width&&"barWidth"!==r.config.xaxis.crosshairs.width||(s=i+n.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;null!==t.ycrosshairs&&S.setAttrs(t.ycrosshairs,{y1:e,y2:e}),null!==t.ycrosshairsHidden&&S.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;if(null!==n.xaxisTooltip&&0!==n.xcrosshairsWidth){n.xaxisTooltip.classList.add("apexcharts-active");var r,o=n.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;e-=n.xaxisTooltip.getBoundingClientRect().width/2,isNaN(e)||(e+=t.globals.translateX,r=new S(this.ctx).getTextRects(n.xaxisTooltipText.innerHTML),n.xaxisTooltipText.style.minWidth=r.width+"px",n.xaxisTooltip.style.left=e+"px",n.xaxisTooltip.style.top=o+"px")}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,n=this.ttCtx;null===n.yaxisTTEls&&(n.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var r=parseInt(n.ycrosshairsHidden.getAttribute("y1"),10),o=t.globals.translateY+r,i=n.yaxisTTEls[e].getBoundingClientRect().height,a=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(a-=26),o-=i/2,-1===t.globals.ignoreYAxisIndexes.indexOf(e)?(n.yaxisTTEls[e].classList.add("apexcharts-active"),n.yaxisTTEls[e].style.top=o+"px",n.yaxisTTEls[e].style.left=a+t.config.yaxis[e].tooltip.offsetX+"px"):n.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,o=this.ttCtx,i=o.getElTooltip(),a=o.tooltipRect,s=null!==n?parseFloat(n):1,l=parseFloat(e)+s+5,c=parseFloat(t)+s/2;if(l>r.globals.gridWidth/2&&(l=l-a.ttWidth-s-10),l>r.globals.gridWidth-a.ttWidth-10&&(l=r.globals.gridWidth-a.ttWidth),l<-20&&(l=-20),r.config.tooltip.followCursor){var u=o.getElGrid(),d=u.getBoundingClientRect();c=o.e.clientY+r.globals.translateY-d.top-a.ttHeight/2}else r.globals.isBarHorizontal||(a.ttHeight/2+c>r.globals.gridHeight&&(c=r.globals.gridHeight-a.ttHeight+r.globals.translateY),c<0&&(c=0));isNaN(l)||(l+=r.globals.translateX,i.style.left=l+"px",i.style.top=c+"px")}},{key:"moveMarkers",value:function(e,t){var n=this.w,r=this.ttCtx;if(n.globals.markers.size[e]>0)for(var o=n.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),i=0;i0&&(c.setAttribute("r",s),c.setAttribute("cx",n),c.setAttribute("cy",r)),this.moveXCrosshairs(n),i.fixedTooltip||this.moveTooltip(n,r,s)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,n=this.ttCtx,r=n.w,o=0,i=0,a=r.globals.pointsArray;t=new P(this.ctx).getActiveConfigSeriesIndex(!0);var s=n.tooltipUtil.getHoverMarkerSize(t);a[t]&&(o=a[t][e][0],i=a[t][e][1]);var l=n.tooltipUtil.getAllMarkers();if(null!==l)for(var c=0;c0?(l[c]&&l[c].setAttribute("r",s),l[c]&&l[c].setAttribute("cy",d)):l[c]&&l[c].setAttribute("r",0)}}if(this.moveXCrosshairs(o),!n.fixedTooltip){var p=i||r.globals.gridHeight;this.moveTooltip(o,p,s)}}},{key:"moveStickyTooltipOverBars",value:function(e){var t=this.w,n=this.ttCtx,r=t.globals.columnSeries?t.globals.columnSeries.length:t.globals.series.length,o=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;t.globals.isBarHorizontal&&(o=new P(this.ctx).getActiveConfigSeriesIndex(!1,"desc")+1);var i=t.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(o,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(e,"']")),a=i?parseFloat(i.getAttribute("cx")):0,s=i?parseFloat(i.getAttribute("cy")):0,l=i?parseFloat(i.getAttribute("barWidth")):0,c=i?parseFloat(i.getAttribute("barHeight")):0,u=n.getElGrid().getBoundingClientRect(),d=i.classList.contains("apexcharts-candlestick-area")||i.classList.contains("apexcharts-boxPlot-area");if(t.globals.isXNumeric?(i&&!d&&(a-=r%2!=0?l/2:0),i&&d&&t.globals.comboCharts&&(a-=l/2)):t.globals.isBarHorizontal||(a=n.xAxisTicksPositions[e-1]+n.dataPointsDividedWidth/2,isNaN(a)&&(a=n.xAxisTicksPositions[e]-n.dataPointsDividedWidth/2)),t.globals.isBarHorizontal?(s>t.globals.gridHeight/2&&(s-=n.tooltipRect.ttHeight),(s=s+t.config.grid.padding.top+c/3)+c>t.globals.gridHeight&&(s=t.globals.gridHeight-c)):t.config.tooltip.followCursor?s=n.e.clientY-u.top-n.tooltipRect.ttHeight/2:s+n.tooltipRect.ttHeight+15>t.globals.gridHeight&&(s=t.globals.gridHeight),s<-10&&(s=-10),t.globals.isBarHorizontal||this.moveXCrosshairs(a),!n.fixedTooltip){var p=s||t.globals.gridHeight;this.moveTooltip(a,p)}}}]),e}(),be=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t,this.ctx=t.ctx,this.tooltipPosition=new ye(t)}return c(e,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new S(this.ctx),n=new L(this.ctx),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");r=m(r),e.config.chart.stacked&&r.sort((function(e,t){return parseFloat(e.getAttribute("data:realIndex"))-parseFloat(t.getAttribute("data:realIndex"))}));for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.w;"bubble"!==o.config.chart.type&&this.newPointSize(e,t);var i=t.getAttribute("cx"),a=t.getAttribute("cy");if(null!==n&&null!==r&&(i=n,a=r),this.tooltipPosition.moveXCrosshairs(i),!this.fixedTooltip){if("radar"===o.config.chart.type){var s=this.ttCtx.getElGrid(),l=s.getBoundingClientRect();i=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(i,a,o.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,n=this,r=this.ttCtx,o=e,i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),a=t.config.markers.hover.size,s=0;s=0?e[t].setAttribute("r",n):e[t].setAttribute("r",0)}}}]),e}(),xe=function(){function e(t){s(this,e),this.w=t.w,this.ttCtx=t}return c(e,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,n=e.opt,r=e.x,o=e.y,i=e.type,a=this.ttCtx,s=this.w;if(t.target.classList.contains("apexcharts-".concat(i,"-rect"))){var l=this.getAttr(t,"i"),c=this.getAttr(t,"j"),u=this.getAttr(t,"cx"),d=this.getAttr(t,"cy"),p=this.getAttr(t,"width"),f=this.getAttr(t,"height");if(a.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:l,j:c,shared:!1,e:t}),s.globals.capturedSeriesIndex=l,s.globals.capturedDataPointIndex=c,r=u+a.tooltipRect.ttWidth/2+p,o=d+a.tooltipRect.ttHeight/2-f/2,a.tooltipPosition.moveXCrosshairs(u+p/2),r>s.globals.gridWidth/2&&(r=u-a.tooltipRect.ttWidth/2+p),a.w.config.tooltip.followCursor){var h=s.globals.dom.elWrap.getBoundingClientRect();r=s.globals.clientX-h.left-(r>s.globals.gridWidth/2?a.tooltipRect.ttWidth:0),o=s.globals.clientY-h.top-(o>s.globals.gridHeight/2?a.tooltipRect.ttHeight:0)}}return{x:r,y:o}}},{key:"handleMarkerTooltip",value:function(e){var t,n,r=e.e,o=e.opt,i=e.x,a=e.y,s=this.w,l=this.ttCtx;if(r.target.classList.contains("apexcharts-marker")){var c=parseInt(o.paths.getAttribute("cx"),10),u=parseInt(o.paths.getAttribute("cy"),10),d=parseFloat(o.paths.getAttribute("val"));if(n=parseInt(o.paths.getAttribute("rel"),10),t=parseInt(o.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var p=b.findAncestor(o.paths,"apexcharts-series");p&&(t=parseInt(p.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:o.ttItems,i:t,j:n,shared:!l.showOnIntersect&&s.config.tooltip.shared,e:r}),"mouseup"===r.type&&l.markerClick(r,t,n),s.globals.capturedSeriesIndex=t,s.globals.capturedDataPointIndex=n,i=c,a=u+s.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var f=l.getElGrid().getBoundingClientRect();a=l.e.clientY+s.globals.translateY-f.top}d<0&&(a=u),l.marker.enlargeCurrentPoint(n,o.paths,i,a)}return{x:i,y:a}}},{key:"handleBarTooltip",value:function(e){var t,n,r=e.e,o=e.opt,i=this.w,a=this.ttCtx,s=a.getElTooltip(),l=0,c=0,u=0,d=this.getBarTooltipXY({e:r,opt:o});t=d.i;var p=d.barHeight,f=d.j;i.globals.capturedSeriesIndex=t,i.globals.capturedDataPointIndex=f,i.globals.isBarHorizontal&&a.tooltipUtil.hasBars()||!i.config.tooltip.shared?(c=d.x,u=d.y,n=Array.isArray(i.config.stroke.width)?i.config.stroke.width[t]:i.config.stroke.width,l=c):i.globals.comboCharts||i.config.tooltip.shared||(l/=2),isNaN(u)?u=i.globals.svgHeight-a.tooltipRect.ttHeight:u<0&&(u=0);var h=parseInt(o.paths.parentNode.getAttribute("data:realIndex"),10),g=i.globals.isMultipleYAxis?i.config.yaxis[h]&&i.config.yaxis[h].reversed:i.config.yaxis[0].reversed;if(c+a.tooltipRect.ttWidth>i.globals.gridWidth&&!g?c-=a.tooltipRect.ttWidth:c<0&&(c=0),a.w.config.tooltip.followCursor){var m=a.getElGrid().getBoundingClientRect();u=a.e.clientY-m.top}null===a.tooltip&&(a.tooltip=i.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),i.config.tooltip.shared||(i.globals.comboBarCount>0?a.tooltipPosition.moveXCrosshairs(l+n/2):a.tooltipPosition.moveXCrosshairs(l)),!a.fixedTooltip&&(!i.config.tooltip.shared||i.globals.isBarHorizontal&&a.tooltipUtil.hasBars())&&(g&&(c-=a.tooltipRect.ttWidth)<0&&(c=0),!g||i.globals.isBarHorizontal&&a.tooltipUtil.hasBars()||(u=u+p-2*(i.globals.series[t][f]<0?p:0)),a.tooltipRect.ttHeight+u>i.globals.gridHeight?u=i.globals.gridHeight-a.tooltipRect.ttHeight+i.globals.translateY:(u=u+i.globals.translateY-a.tooltipRect.ttHeight/2)<0&&(u=0),s.style.left=c+i.globals.translateX+"px",s.style.top=u+"px")}},{key:"getBarTooltipXY",value:function(e){var t=e.e,n=e.opt,r=this.w,o=null,i=this.ttCtx,a=0,s=0,l=0,c=0,u=0,d=t.target.classList;if(d.contains("apexcharts-bar-area")||d.contains("apexcharts-candlestick-area")||d.contains("apexcharts-boxPlot-area")||d.contains("apexcharts-rangebar-area")){var p=t.target,f=p.getBoundingClientRect(),h=n.elGrid.getBoundingClientRect(),g=f.height;u=f.height;var m=f.width,v=parseInt(p.getAttribute("cx"),10),y=parseInt(p.getAttribute("cy"),10);c=parseFloat(p.getAttribute("barWidth"));var b="touchmove"===t.type?t.touches[0].clientX:t.clientX;o=parseInt(p.getAttribute("j"),10),a=parseInt(p.parentNode.getAttribute("rel"),10)-1;var x=p.getAttribute("data-range-y1"),w=p.getAttribute("data-range-y2");r.globals.comboCharts&&(a=parseInt(p.parentNode.getAttribute("data:realIndex"),10)),i.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:a,j:o,y1:x?parseInt(x,10):null,y2:w?parseInt(w,10):null,shared:!i.showOnIntersect&&r.config.tooltip.shared,e:t}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(s=b-h.left+15,l=y-i.dataPointsDividedHeight+g/2-i.tooltipRect.ttHeight/2):(s=r.globals.isXNumeric?v-m/2:v-i.dataPointsDividedWidth+m/2,l=t.clientY-h.top-i.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((s=v)0&&n.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,n){var r=this.ttCtx,o=this.w,i=o.globals.yLabelFormatters[e];if(r.yaxisTooltips[e]){var a=r.getElGrid().getBoundingClientRect(),s=(t-a.top)*n.yRatio[e],l=o.globals.maxYArr[e]-o.globals.minYArr[e],c=o.globals.minYArr[e]+(l-s);r.tooltipPosition.moveYCrosshairs(t-a.top),r.yaxisTooltipText[e].innerHTML=i(c),r.tooltipPosition.moveYAxisTooltip(e)}}}]),e}(),Se=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new me(this),this.tooltipLabels=new ve(this),this.tooltipPosition=new ye(this),this.marker=new be(this),this.intersect=new xe(this),this.axesTooltip=new we(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return c(e,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(e,n){return!!(e.show&&e.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var n=document.createElement("div");if(n.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&n.classList.add(t.config.tooltip.cssClass),n.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),t.globals.dom.elWrap.appendChild(n),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var r=new Z(this.ctx);this.xAxisTicksPositions=r.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&"rangeBar"!==t.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==t.config.markers.size&&0!==t.globals.markers.largestSize||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,n.appendChild(this.tooltipTitle));var o=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(o=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(o),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,n=this.w,r=[],o=this.getElTooltip(),i=function(i){var a=document.createElement("div");a.classList.add("apexcharts-tooltip-series-group"),a.style.order=n.config.tooltip.inverseOrder?e-i:i+1,t.tConfig.shared&&t.tConfig.enabledOnSeries&&Array.isArray(t.tConfig.enabledOnSeries)&&t.tConfig.enabledOnSeries.indexOf(i)<0&&a.classList.add("apexcharts-tooltip-series-group-hidden");var s=document.createElement("span");s.classList.add("apexcharts-tooltip-marker"),s.style.backgroundColor=n.globals.colors[i],a.appendChild(s);var l=document.createElement("div");l.classList.add("apexcharts-tooltip-text"),l.style.fontFamily=t.tConfig.style.fontFamily||n.config.chart.fontFamily,l.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(e){var t=document.createElement("div");t.classList.add("apexcharts-tooltip-".concat(e,"-group"));var n=document.createElement("span");n.classList.add("apexcharts-tooltip-text-".concat(e,"-label")),t.appendChild(n);var r=document.createElement("span");r.classList.add("apexcharts-tooltip-text-".concat(e,"-value")),t.appendChild(r),l.appendChild(t)})),a.appendChild(l),o.appendChild(a),r.push(a)},a=0;a0&&this.addPathsEventListeners(f,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),n=t.getBoundingClientRect(),r=n.width+10,o=n.height+10,i=this.tConfig.fixed.offsetX,a=this.tConfig.fixed.offsetY,s=this.tConfig.fixed.position.toLowerCase();return s.indexOf("right")>-1&&(i=i+e.globals.svgWidth-r+10),s.indexOf("bottom")>-1&&(a=a+e.globals.svgHeight-o-10),t.style.left=i+"px",t.style.top=a+"px",{x:i,y:a,ttWidth:r,ttHeight:o}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var n=this,r=function(r){var o={paths:e[r],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(t){return e[r].addEventListener(t,n.onSeriesHover.bind(n,o),{capture:!1,passive:!0})}))},o=0;o=100?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){n.seriesHover(e,t)}),100-r))}},{key:"seriesHover",value:function(e,t){var n=this;this.lastHoverTime=Date.now();var r=[],o=this.w;o.config.chart.group&&(r=this.ctx.getGroupedCharts()),o.globals.axisCharts&&(o.globals.minX===-1/0&&o.globals.maxX===1/0||0===o.globals.dataPoints)||(r.length?r.forEach((function(r){var o=n.getElTooltip(r),i={paths:e.paths,tooltipEl:o,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:r.w.globals.tooltip.ttItems};r.w.globals.minX===n.w.globals.minX&&r.w.globals.maxX===n.w.globals.maxX&&r.w.globals.tooltip.seriesHoverByContext({chartCtx:r,ttCtx:r.w.globals.tooltip,opt:i,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,n=e.ttCtx,r=e.opt,o=e.e,i=t.w,a=this.getElTooltip();a&&(n.tooltipRect={x:0,y:0,ttWidth:a.getBoundingClientRect().width,ttHeight:a.getBoundingClientRect().height},n.e=o,!n.tooltipUtil.hasBars()||i.globals.comboCharts||n.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new P(t).toggleSeriesOnHover(o,o.target.parentNode),n.fixedTooltip&&n.drawFixedTooltipRect(),i.globals.axisCharts?n.axisChartsTooltips({e:o,opt:r,tooltipRect:n.tooltipRect}):n.nonAxisChartsTooltips({e:o,opt:r,tooltipRect:n.tooltipRect}))}},{key:"axisChartsTooltips",value:function(e){var t,n,r=e.e,o=e.opt,i=this.w,a=o.elGrid.getBoundingClientRect(),s="touchmove"===r.type?r.touches[0].clientX:r.clientX,l="touchmove"===r.type?r.touches[0].clientY:r.clientY;if(this.clientY=l,this.clientX=s,i.globals.capturedSeriesIndex=-1,i.globals.capturedDataPointIndex=-1,la.top+a.height)this.handleMouseOut(o);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!i.config.tooltip.shared){var c=parseInt(o.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(o)}var u=this.getElTooltip(),d=this.getElXCrosshairs(),p=i.globals.xyCharts||"bar"===i.config.chart.type&&!i.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||i.globals.comboCharts&&this.tooltipUtil.hasBars();if("mousemove"===r.type||"touchmove"===r.type||"mouseup"===r.type){if(i.globals.collapsedSeries.length+i.globals.ancillaryCollapsedSeries.length===i.globals.series.length)return;null!==d&&d.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter((function(e){return!0===e}));if(null!==this.ycrosshairs&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),p&&!this.showOnIntersect)this.handleStickyTooltip(r,s,l,o);else if("heatmap"===i.config.chart.type||"treemap"===i.config.chart.type){var h=this.intersect.handleHeatTreeTooltip({e:r,opt:o,x:t,y:n,type:i.config.chart.type});t=h.x,n=h.y,u.style.left=t+"px",u.style.top=n+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:r,opt:o}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:r,opt:o,x:t,y:n});if(this.yaxisTooltips.length)for(var g=0;gl.width?this.handleMouseOut(r):null!==s?this.handleStickyCapturedSeries(e,s,r,a):(this.tooltipUtil.isXoverlap(a)||o.globals.isBarHorizontal)&&this.create(e,this,0,a,r.ttItems)}},{key:"handleStickyCapturedSeries",value:function(e,t,n,r){var o=this.w;this.tConfig.shared||null!==o.globals.series[t][r]?void 0!==o.globals.series[t][r]?this.tConfig.shared&&this.tooltipUtil.isXoverlap(r)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,r,n.ttItems):this.create(e,this,t,r,n.ttItems,!1):this.tooltipUtil.isXoverlap(r)&&this.create(e,this,0,r,n.ttItems):this.handleMouseOut(n)}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new S(this.ctx),n=e.globals.dom.Paper.select(".apexcharts-bar-area"),r=0;r5&&void 0!==arguments[5]?arguments[5]:null,a=this.w,s=t;"mouseup"===e.type&&this.markerClick(e,n,r),null===i&&(i=this.tConfig.shared);var l=this.tooltipUtil.hasMarkers(),c=this.tooltipUtil.getElBars();if(a.config.legend.tooltipHoverFormatter){var u=a.config.legend.tooltipHoverFormatter,d=Array.from(this.legendLabels);d.forEach((function(e){var t=e.getAttribute("data:default-text");e.innerHTML=decodeURIComponent(t)}));for(var p=0;p0?s.marker.enlargePoints(r):s.tooltipPosition.moveDynamicPointsOnHover(r)),this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var v=new S(this.ctx),y=a.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(r,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(r);for(var b=0;b0&&(this.totalItems+=e[a].length);for(var s=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),l=0,c=0,u=function(o,a){var u=void 0,d=void 0,p=void 0,f=void 0,h=[],g=[],m=r.globals.comboCharts?t[o]:o;n.yRatio.length>1&&(n.yaxisIndex=m),n.isReversed=r.config.yaxis[n.yaxisIndex]&&r.config.yaxis[n.yaxisIndex].reversed;var v=n.graphics.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[m]),rel:o+1,"data:realIndex":m});n.ctx.series.addCollapsedClassToSeries(v,m);var y=n.graphics.group({class:"apexcharts-datalabels","data:realIndex":m}),x=0,w=0,S=n.initialPositions(l,c,u,d,p,f);c=S.y,x=S.barHeight,d=S.yDivision,f=S.zeroW,l=S.x,w=S.barWidth,u=S.xDivision,p=S.zeroH,n.yArrj=[],n.yArrjF=[],n.yArrjVal=[],n.xArrj=[],n.xArrjF=[],n.xArrjVal=[],1===n.prevY.length&&n.prevY[0].every((function(e){return isNaN(e)}))&&(n.prevY[0]=n.prevY[0].map((function(e){return p})),n.prevYF[0]=n.prevYF[0].map((function(e){return 0})));for(var k=0;k1?(n=l.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:s*parseInt(l.config.plotOptions.bar.columnWidth,10)/100,o=this.baseLineY[this.yaxisIndex]+(this.isReversed?l.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),e=l.globals.padHorizontal+(n-s)/2),{x:e,y:t,yDivision:r,xDivision:n,barHeight:a,barWidth:s,zeroH:o,zeroW:i}}},{key:"drawStackedBarPaths",value:function(e){for(var t,n=e.indexes,r=e.barHeight,o=e.strokeWidth,i=e.zeroW,a=e.x,s=e.y,l=e.yDivision,c=e.elSeries,u=this.w,d=s,p=n.i,f=n.j,h=0,g=0;g0){var m=i;this.prevXVal[p-1][f]<0?m=this.series[p][f]>=0?this.prevX[p-1][f]+h-2*(this.isReversed?h:0):this.prevX[p-1][f]:this.prevXVal[p-1][f]>=0&&(m=this.series[p][f]>=0?this.prevX[p-1][f]:this.prevX[p-1][f]-h+2*(this.isReversed?h:0)),t=m}else t=i;a=null===this.series[p][f]?t:t+this.series[p][f]/this.invertedYRatio-2*(this.isReversed?this.series[p][f]/this.invertedYRatio:0);var v=this.barHelpers.getBarpaths({barYPosition:d,barHeight:r,x1:t,x2:a,strokeWidth:o,series:this.series,realIndex:n.realIndex,i:p,j:f,w:u});return this.barHelpers.barBackground({j:f,i:p,y1:d,y2:r,elSeries:c}),s+=l,{pathTo:v.pathTo,pathFrom:v.pathFrom,x:a,y:s}}},{key:"drawStackedColumnPaths",value:function(e){var t=e.indexes,n=e.x,r=e.y,o=e.xDivision,i=e.barWidth,a=e.zeroH;e.strokeWidth;var s=e.elSeries,l=this.w,c=t.i,u=t.j,d=t.bc;if(l.globals.isXNumeric){var p=l.globals.seriesX[c][u];p||(p=0),n=(p-l.globals.minX)/this.xRatio-i/2}for(var f,h=n,g=0,m=0;m0&&!l.globals.isXNumeric||c>0&&l.globals.isXNumeric&&l.globals.seriesX[c-1][u]===l.globals.seriesX[c][u]){var v,y,b=Math.min(this.yRatio.length+1,c+1);if(void 0!==this.prevY[c-1])for(var x=1;x=0?y-g+2*(this.isReversed?g:0):y;break}if(this.prevYVal[c-w][u]>=0){v=this.series[c][u]>=0?y:y+g-2*(this.isReversed?g:0);break}}void 0===v&&(v=l.globals.gridHeight),f=this.prevYF[0].every((function(e){return 0===e}))&&this.prevYF.slice(1,c).every((function(e){return e.every((function(e){return isNaN(e)}))}))?l.globals.gridHeight-a:v}else f=l.globals.gridHeight-a;r=f-this.series[c][u]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[c][u]/this.yRatio[this.yaxisIndex]:0);var S=this.barHelpers.getColumnPaths({barXPosition:h,barWidth:i,y1:f,y2:r,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,realIndex:t.realIndex,i:c,j:u,w:l});return this.barHelpers.barBackground({bc:d,j:u,i:c,x1:h,x2:i,elSeries:s}),n+=o,{pathTo:S.pathTo,pathFrom:S.pathFrom,x:l.globals.isXNumeric?n-o:n,y:r}}}]),n}(),Ce=function(e){d(n,R);var t=g(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"draw",value:function(e,t){var n=this,r=this.w,o=new S(this.ctx),a=new D(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=r.config.plotOptions.bar.horizontal;var s=new k(this.ctx,r);e=s.getLogSeries(e),this.series=e,this.yRatio=s.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);for(var l=o.group({class:"apexcharts-".concat(r.config.chart.type,"-series apexcharts-plot-series")}),c=function(s){n.isBoxPlot="boxPlot"===r.config.chart.type||"boxPlot"===r.config.series[s].type;var c,u,d,p,f,h,g=void 0,m=void 0,v=[],y=[],x=r.globals.comboCharts?t[s]:s,w=o.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[x]),rel:s+1,"data:realIndex":x});n.ctx.series.addCollapsedClassToSeries(w,x),e[s].length>0&&(n.visibleI=n.visibleI+1),n.yRatio.length>1&&(n.yaxisIndex=x);var S=n.barHelpers.initialPositions();m=S.y,f=S.barHeight,u=S.yDivision,p=S.zeroW,g=S.x,h=S.barWidth,c=S.xDivision,d=S.zeroH,y.push(g+h/2);for(var k=o.group({class:"apexcharts-datalabels","data:realIndex":x}),C=function(t){var o=n.barHelpers.getStrokeWidth(s,t,x),l=null,b={indexes:{i:s,j:t,realIndex:x},x:g,y:m,strokeWidth:o,elSeries:w};l=n.isHorizontal?n.drawHorizontalBoxPaths(i(i({},b),{},{yDivision:u,barHeight:f,zeroW:p})):n.drawVerticalBoxPaths(i(i({},b),{},{xDivision:c,barWidth:h,zeroH:d})),m=l.y,g=l.x,t>0&&y.push(g+h/2),v.push(m),l.pathTo.forEach((function(i,c){var u=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?l.color[c]:r.globals.stroke.colors[s],d=a.fillPath({seriesNumber:x,dataPointIndex:t,color:l.color[c],value:e[s][t]});n.renderSeries({realIndex:x,pathFill:d,lineFill:u,j:t,i:s,pathFrom:l.pathFrom,pathTo:i,strokeWidth:o,elSeries:w,x:g,y:m,series:e,barHeight:f,barWidth:h,elDataLabelsWrap:k,visibleSeries:n.visibleI,type:r.config.chart.type})}))},E=0;Ev.c&&(d=!1);var x=Math.min(v.o,v.c),w=Math.max(v.o,v.c),k=v.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[m][u]-s.globals.minX)/this.xRatio-o/2);var C=n+o*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(x=i,w=i):(x=i-x/g,w=i-w/g,y=i-v.h/g,b=i-v.l/g,k=i-v.m/g);var E=l.move(C,i),A=l.move(C+o/2,x);return s.globals.previousPaths.length>0&&(A=this.getPreviousPath(m,u,!0)),E=this.isBoxPlot?[l.move(C,x)+l.line(C+o/2,x)+l.line(C+o/2,y)+l.line(C+o/4,y)+l.line(C+o-o/4,y)+l.line(C+o/2,y)+l.line(C+o/2,x)+l.line(C+o,x)+l.line(C+o,k)+l.line(C,k)+l.line(C,x+a/2),l.move(C,k)+l.line(C+o,k)+l.line(C+o,w)+l.line(C+o/2,w)+l.line(C+o/2,b)+l.line(C+o-o/4,b)+l.line(C+o/4,b)+l.line(C+o/2,b)+l.line(C+o/2,w)+l.line(C,w)+l.line(C,k)+"z"]:[l.move(C,w)+l.line(C+o/2,w)+l.line(C+o/2,y)+l.line(C+o/2,w)+l.line(C+o,w)+l.line(C+o,x)+l.line(C+o/2,x)+l.line(C+o/2,b)+l.line(C+o/2,x)+l.line(C,x)+l.line(C,w-a/2)],A+=l.move(C,x),s.globals.isXNumeric||(n+=r),{pathTo:E,pathFrom:A,x:n,y:w,barXPosition:C,color:this.isBoxPlot?h:d?[p]:[f]}}},{key:"drawHorizontalBoxPaths",value:function(e){var t=e.indexes;e.x;var n=e.y,r=e.yDivision,o=e.barHeight,i=e.zeroW,a=e.strokeWidth,s=this.w,l=new S(this.ctx),c=t.i,u=t.j,d=this.boxOptions.colors.lower;this.isBoxPlot&&(d=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var p=this.invertedYRatio,f=t.realIndex,h=this.getOHLCValue(f,u),g=i,m=i,v=Math.min(h.o,h.c),y=Math.max(h.o,h.c),b=h.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[f][u]-s.globals.minX)/this.invertedXRatio-o/2);var x=n+o*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(v=i,y=i):(v=i+v/p,y=i+y/p,g=i+h.h/p,m=i+h.l/p,b=i+h.m/p);var w=l.move(i,x),k=l.move(v,x+o/2);return s.globals.previousPaths.length>0&&(k=this.getPreviousPath(f,u,!0)),w=[l.move(v,x)+l.line(v,x+o/2)+l.line(g,x+o/2)+l.line(g,x+o/2-o/4)+l.line(g,x+o/2+o/4)+l.line(g,x+o/2)+l.line(v,x+o/2)+l.line(v,x+o)+l.line(b,x+o)+l.line(b,x)+l.line(v+a/2,x),l.move(b,x)+l.line(b,x+o)+l.line(y,x+o)+l.line(y,x+o/2)+l.line(m,x+o/2)+l.line(m,x+o-o/4)+l.line(m,x+o/4)+l.line(m,x+o/2)+l.line(y,x+o/2)+l.line(y,x)+l.line(b,x)+"z"],k+=l.move(v,x),s.globals.isXNumeric||(n+=r),{pathTo:w,pathFrom:k,x:y,y:n,barYPosition:x,color:d}}},{key:"getOHLCValue",value:function(e,t){var n=this.w;return{o:this.isBoxPlot?n.globals.seriesCandleH[e][t]:n.globals.seriesCandleO[e][t],h:this.isBoxPlot?n.globals.seriesCandleO[e][t]:n.globals.seriesCandleH[e][t],m:n.globals.seriesCandleM[e][t],l:this.isBoxPlot?n.globals.seriesCandleC[e][t]:n.globals.seriesCandleL[e][t],c:this.isBoxPlot?n.globals.seriesCandleL[e][t]:n.globals.seriesCandleC[e][t]}}}]),n}(),Ee=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,n=e.config.plotOptions[e.config.chart.type];return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(e,n){e.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,n,r){var o=this.w,i=1,a=o.config.plotOptions[e].shadeIntensity,s=this.determineColor(e,t,n);o.globals.hasNegs||r?i=o.config.plotOptions[e].reverseNegativeShade?s.percent<0?s.percent/100*(1.25*a):(1-s.percent/100)*(1.25*a):s.percent<=0?1-(1+s.percent/100)*a:(1-s.percent/100)*a:(i=1-s.percent/100,"treemap"===e&&(i=(1-s.percent/100)*(1.25*a)));var l=s.color,c=new b;return o.config.plotOptions[e].enableShades&&(l="dark"===this.w.config.theme.mode?b.hexToRgba(c.shadeColor(-1*i,s.color),o.config.fill.opacity):b.hexToRgba(c.shadeColor(i,s.color),o.config.fill.opacity)),{color:l,colorProps:s}}},{key:"determineColor",value:function(e,t,n){var r=this.w,o=r.globals.series[t][n],i=r.config.plotOptions[e],a=i.colorScale.inverse?n:t;i.distributed&&"treemap"===r.config.chart.type&&(a=n);var s=r.globals.colors[a],l=null,c=Math.min.apply(Math,m(r.globals.series[t])),u=Math.max.apply(Math,m(r.globals.series[t]));i.distributed||"heatmap"!==e||(c=r.globals.minY,u=r.globals.maxY),void 0!==i.colorScale.min&&(c=i.colorScale.minr.globals.maxY?i.colorScale.max:r.globals.maxY);var d=Math.abs(u)+Math.abs(c),p=100*o/(0===d?d-1e-6:d);return i.colorScale.ranges.length>0&&i.colorScale.ranges.map((function(e,t){if(o>=e.from&&o<=e.to){s=e.color,l=e.foreColor?e.foreColor:null,c=e.from,u=e.to;var n=Math.abs(u)+Math.abs(c);p=100*o/(0===n?n-1e-6:n)}})),{color:s,foreColor:l,percent:p}}},{key:"calculateDataLabels",value:function(e){var t=e.text,n=e.x,r=e.y,o=e.i,i=e.j,a=e.colorProps,s=e.fontSize,l=this.w.config.dataLabels,c=new S(this.ctx),u=new N(this.ctx),d=null;if(l.enabled){d=c.group({class:"apexcharts-data-labels"});var p=l.offsetX,f=l.offsetY,h=n+p,g=r+parseFloat(l.style.fontSize)/3+f;u.plotDataLabelsText({x:h,y:g,text:t,i:o,j:i,color:a.foreColor,parent:d,fontSize:s,dataLabelsConfig:l})}return d}},{key:"addListeners",value:function(e){var t=new S(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),e}(),Ae=function(){function e(t,n){s(this,e),this.ctx=t,this.w=t.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new Ee(t),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return c(e,[{key:"draw",value:function(e){var t=this.w,n=new S(this.ctx),r=n.group({class:"apexcharts-heatmap"});r.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var o=t.globals.gridWidth/t.globals.dataPoints,i=t.globals.gridHeight/t.globals.series.length,a=0,s=!1;this.negRange=this.helpers.checkColorRange();var l=e.slice();t.config.yaxis[0].reversed&&(s=!0,l.reverse());for(var c=s?0:l.length-1;s?c=0;s?c++:c--){var u=n.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:b.escapeString(t.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),t.config.chart.dropShadow.enabled){var d=t.config.chart.dropShadow;new w(this.ctx).dropShadow(u,d,c)}for(var p=0,f=t.config.plotOptions.heatmap.shadeIntensity,h=0;h-1&&this.pieClicked(d),n.config.dataLabels.enabled){var k=y.x,C=y.y,E=100*f/this.fullAngle+"%";if(0!==f&&n.config.plotOptions.pie.dataLabels.minAngleToShowLabelthis.fullAngle?t.endAngle=t.endAngle-(r+a):r+a=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(s=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(s)>this.fullAngle&&(s-=this.fullAngle);var l=Math.PI*(s-90)/180,c=t.centerX+o*Math.cos(a),u=t.centerY+o*Math.sin(a),d=t.centerX+o*Math.cos(l),p=t.centerY+o*Math.sin(l),f=b.polarToCartesian(t.centerX,t.centerY,t.donutSize,s),h=b.polarToCartesian(t.centerX,t.centerY,t.donutSize,i),g=r>180?1:0,m=["M",c,u,"A",o,o,0,g,1,d,p];return"donut"===t.chartType?[].concat(m,["L",f.x,f.y,"A",t.donutSize,t.donutSize,0,g,0,h.x,h.y,"L",c,u,"z"]).join(" "):"pie"===t.chartType||"polarArea"===t.chartType?[].concat(m,["L",t.centerX,t.centerY,"L",c,u]).join(" "):[].concat(m).join(" ")}},{key:"drawPolarElements",value:function(e){var t=this.w,n=new Q(this.ctx),r=new S(this.ctx),o=new Me(this.ctx),i=r.group(),a=r.group(),s=n.niceScale(0,Math.ceil(this.maxY),t.config.yaxis[0].tickAmount,0,!0),l=s.result.reverse(),c=s.result.length;this.maxY=s.niceMax;for(var u=t.globals.radialSize,d=u/(c-1),p=0;p1&&e.total.show&&(o=e.total.color);var a=i.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=i.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");n=(0,e.value.formatter)(n,i),r||"function"!=typeof e.total.formatter||(n=e.total.formatter(i));var l=t===e.total.label;t=e.name.formatter(t,l,i),null!==a&&(a.textContent=t),null!==s&&(s.textContent=n),null!==a&&(a.style.fill=o)}},{key:"printDataLabelsInner",value:function(e,t){var n=this.w,r=e.getAttribute("data:value"),o=n.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];n.globals.series.length>1&&this.printInnerLabels(t,o,r,e);var i=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==i&&(i.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,n=this.w,r=new S(this.ctx),o=n.config.plotOptions.polarArea.spokes;if(0!==o.strokeWidth){for(var i=[],a=360/n.globals.series.length,s=0;s1)a&&!t.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(t,t.total.label,t.total.formatter(o));else if(l({makeSliceOut:!1,printLabel:!0}),!a)if(o.globals.selectedDataPoints.length&&o.globals.series.length>1)if(o.globals.selectedDataPoints[0].length>0){var c=o.globals.selectedDataPoints[0],u=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,t)}else i&&o.globals.selectedDataPoints.length&&0===o.globals.selectedDataPoints[0].length&&(i.style.opacity=0);else i&&o.globals.series.length>1&&(i.style.opacity=0)}}]),e}(),_e=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new S(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight0&&(g=t.getPreviousPath(s));for(var m=0;m=10?e.x>0?(n="start",r+=10):e.x<0&&(n="end",r-=10):n="middle",Math.abs(e.y)>=t-10&&(e.y<0?o-=10:e.y>0&&(o+=10)),{textAnchor:n,newX:r,newY:o}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,n=null,r=0;r0&&parseInt(o.realIndex,10)===parseInt(e,10)&&void 0!==t.globals.previousPaths[r].paths[0]&&(n=t.globals.previousPaths[r].paths[0].d)}return n}},{key:"getDataPointsPos",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var r=[],o=0;o=360&&(p=360-Math.abs(this.startAngle)-.1);var f=n.drawPath({d:"",stroke:u,strokeWidth:a*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var h=c.dropShadow;o.dropShadow(f,h)}l.add(f),f.attr("id","apexcharts-radialbarTrack-"+s),this.animatePaths(f,{centerX:e.centerX,centerY:e.centerY,endAngle:p,startAngle:d,size:e.size,i:s,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:t.globals.easing})}return r}},{key:"drawArcs",value:function(e){var t=this.w,n=new S(this.ctx),r=new D(this.ctx),o=new w(this.ctx),i=n.group(),a=this.getStrokeWidth(e);e.size=e.size-a/2;var s=t.config.plotOptions.radialBar.hollow.background,l=e.size-a*e.series.length-this.margin*e.series.length-a*parseInt(t.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-t.config.plotOptions.radialBar.hollow.margin;void 0!==t.config.plotOptions.radialBar.hollow.image&&(s=this.drawHollowImage(e,i,l,s));var u=this.drawHollow({size:c,centerX:e.centerX,centerY:e.centerY,fill:s||"transparent"});if(t.config.plotOptions.radialBar.hollow.dropShadow.enabled){var d=t.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(u,d)}var p=1;!this.radialDataLabels.total.show&&t.globals.series.length>1&&(p=0);var f=null;this.radialDataLabels.show&&(f=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:e.centerX,centerY:e.centerY,opacity:p})),"back"===t.config.plotOptions.radialBar.hollow.position&&(i.add(u),f&&i.add(f));var h=!1;t.config.plotOptions.radialBar.inverseOrder&&(h=!0);for(var g=h?e.series.length-1:0;h?g>=0:g100?100:e.series[g])/100,C=Math.round(this.totalAngle*k)+this.startAngle,E=void 0;t.globals.dataChanged&&(x=this.startAngle,E=Math.round(this.totalAngle*b.negToZero(t.globals.previousPaths[g])/100)+x),Math.abs(C)+Math.abs(y)>=360&&(C-=.01),Math.abs(E)+Math.abs(x)>=360&&(E-=.01);var A=C-y,M=Array.isArray(t.config.stroke.dashArray)?t.config.stroke.dashArray[g]:t.config.stroke.dashArray,O=n.drawPath({d:"",stroke:v,strokeWidth:a,fill:"none",fillOpacity:t.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+g,strokeDashArray:M});if(S.setAttrs(O.node,{"data:angle":A,"data:value":e.series[g]}),t.config.chart.dropShadow.enabled){var _=t.config.chart.dropShadow;o.dropShadow(O,_,g)}o.setSelectionFilter(O,0,g),this.addListeners(O,this.radialDataLabels),m.add(O),O.attr({index:0,j:g});var T=0;!this.initialAnim||t.globals.resized||t.globals.dataChanged||(T=t.config.chart.animations.speed),t.globals.dataChanged&&(T=t.config.chart.animations.dynamicAnimation.speed),this.animDur=T/(1.2*e.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(O,{centerX:e.centerX,centerY:e.centerY,endAngle:C,startAngle:y,prevEndAngle:E,prevStartAngle:x,size:e.size,i:g,totalItems:2,animBeginArr:this.animBeginArr,dur:T,shouldSetPrevPaths:!0,easing:t.globals.easing})}return{g:i,elHollow:u,dataLabels:f}}},{key:"drawHollow",value:function(e){var t=new S(this.ctx).drawCircle(2*e.size);return t.attr({class:"apexcharts-radialbar-hollow",cx:e.centerX,cy:e.centerY,r:e.size,fill:e.fill}),t}},{key:"drawHollowImage",value:function(e,t,n,r){var o=this.w,i=new D(this.ctx),a=b.randomId(),s=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)i.clippedImgArea({width:n,height:n,image:s,patternID:"pattern".concat(o.globals.cuid).concat(a)}),r="url(#pattern".concat(o.globals.cuid).concat(a,")");else{var l=o.config.plotOptions.radialBar.hollow.imageWidth,c=o.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=o.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-t.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-t.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));t.add(u)}else{var d=o.globals.dom.Paper.image(s).loaded((function(t){this.move(e.centerX-l/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,e.centerY-c/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)}));t.add(d)}}return r}},{key:"getStrokeWidth",value:function(e){var t=this.w;return e.size*(100-parseInt(t.config.plotOptions.radialBar.hollow.size,10))/100/(e.series.length+1)-this.margin}}]),n}(),De=function(){function e(t){s(this,e),this.w=t.w,this.lineCtx=t}return c(e,[{key:"sameValueSeriesFix",value:function(e,t){var n=this.w;if("line"===n.config.chart.type&&("gradient"===n.config.fill.type||"gradient"===n.config.fill.type[e])&&new k(this.lineCtx.ctx,n).seriesHaveSameValues(e)){var r=t[e].slice();r[r.length-1]=r[r.length-1]+1e-6,t[e]=r}return t}},{key:"calculatePoints",value:function(e){var t=e.series,n=e.realIndex,r=e.x,o=e.y,i=e.i,a=e.j,s=e.prevY,l=this.w,c=[],u=[];if(0===a){var d=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(d=(l.globals.seriesX[n][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(d),u.push(b.isNumber(t[i][0])?s+l.config.markers.offsetY:null),c.push(r+l.config.markers.offsetX),u.push(b.isNumber(t[i][a+1])?o+l.config.markers.offsetY:null)}else c.push(r+l.config.markers.offsetX),u.push(b.isNumber(t[i][a+1])?o+l.config.markers.offsetY:null);return{x:c,y:u}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,n=e.pathFromArea,r=e.realIndex,o=this.w,i=0;i0&&parseInt(a.realIndex,10)===parseInt(r,10)&&("line"===a.type?(this.lineCtx.appendPathFrom=!1,t=o.globals.previousPaths[i].paths[0].d):"area"===a.type&&(this.lineCtx.appendPathFrom=!1,n=o.globals.previousPaths[i].paths[0].d,o.config.stroke.show&&o.globals.previousPaths[i].paths[1]&&(t=o.globals.previousPaths[i].paths[1].d)))}return{pathFromLine:t,pathFromArea:n}}},{key:"determineFirstPrevY",value:function(e){var t=e.i,n=e.series,r=e.prevY,o=e.lineYPosition,i=this.w;if(void 0!==n[t][0])r=(o=i.config.chart.stacked&&t>0?this.lineCtx.prevSeriesY[t-1][0]:this.lineCtx.zeroY)-n[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?n[t][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(i.config.chart.stacked&&t>0&&void 0===n[t][0])for(var a=t-1;a>=0;a--)if(null!==n[a][0]&&void 0!==n[a][0]){r=o=this.lineCtx.prevSeriesY[a][0];break}return{prevY:r,lineYPosition:o}}}]),e}(),Le=function(){function e(t,n,r){s(this,e),this.ctx=t,this.w=t.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||r,this.scatter=new I(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new De(this),this.markers=new L(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return c(e,[{key:"draw",value:function(e,t,n){var r=this.w,o=new S(this.ctx),i=r.globals.comboCharts?t:r.config.chart.type,a=o.group({class:"apexcharts-".concat(i,"-series apexcharts-plot-series")}),s=new k(this.ctx,r);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=s.getLogSeries(e),this.yRatio=s.getLogYRatios(this.yRatio);for(var l=[],c=0;c0&&(f=(r.globals.seriesX[u][0]-r.globals.minX)/this.xRatio),p.push(f);var h,g=f,m=g,v=this.zeroY;v=this.lineHelpers.determineFirstPrevY({i:c,series:e,prevY:v,lineYPosition:0}).prevY,d.push(v),h=v;var y=this._calculatePathsFrom({series:e,i:c,realIndex:u,prevX:m,prevY:v}),b=this._iterateOverDataPoints({series:e,realIndex:u,i:c,x:f,y:1,pX:g,pY:h,pathsFrom:y,linePaths:[],areaPaths:[],seriesIndex:n,lineYPosition:0,xArrj:p,yArrj:d});this._handlePaths({type:i,realIndex:u,i:c,paths:b}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),l.push(this.elSeries)}if(r.config.chart.stacked)for(var x=l.length;x>0;x--)a.add(l[x-1]);else for(var w=0;w1&&(this.yaxisIndex=n),this.isReversed=r.config.yaxis[this.yaxisIndex]&&r.config.yaxis[this.yaxisIndex].reversed,this.zeroY=r.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?r.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>r.globals.gridHeight||"end"===r.config.plotOptions.area.fillTo)&&(this.areaBottomY=r.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=o.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[n])}),this.elPointsMain=o.group({class:"apexcharts-series-markers-wrap","data:realIndex":n}),this.elDataLabelsWrap=o.group({class:"apexcharts-datalabels","data:realIndex":n});var i=e[t].length===r.globals.dataPoints;this.elSeries.attr({"data:longestSeries":i,rel:t+1,"data:realIndex":n}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,n,r,o,i=e.series,a=e.i,s=e.realIndex,l=e.prevX,c=e.prevY,u=this.w,d=new S(this.ctx);if(null===i[a][0]){for(var p=0;p0){var f=this.lineHelpers.checkPreviousPaths({pathFromLine:r,pathFromArea:o,realIndex:s});r=f.pathFromLine,o=f.pathFromArea}return{prevX:l,prevY:c,linePath:t,areaPath:n,pathFromLine:r,pathFromArea:o}}},{key:"_handlePaths",value:function(e){var t=e.type,n=e.realIndex,r=e.i,o=e.paths,a=this.w,s=new S(this.ctx),l=new D(this.ctx);this.prevSeriesY.push(o.yArrj),a.globals.seriesXvalues[n]=o.xArrj,a.globals.seriesYvalues[n]=o.yArrj;var c=a.config.forecastDataPoints;if(c.count>0){var u=a.globals.seriesXvalues[n][a.globals.seriesXvalues[n].length-c.count-1],d=s.drawRect(u,0,a.globals.gridWidth,a.globals.gridHeight,0);a.globals.dom.elForecastMask.appendChild(d.node);var p=s.drawRect(0,0,u,a.globals.gridHeight,0);a.globals.dom.elNonForecastMask.appendChild(p.node)}this.pointsChart||a.globals.delayedElements.push({el:this.elPointsMain.node,index:n});var f={i:r,realIndex:n,animationDelay:r,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if("area"===t)for(var h=l.fillPath({seriesNumber:n}),g=0;g0){var k=s.renderPaths(x);k.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&k.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(k),k.attr("clip-path","url(#forecastMask".concat(a.globals.cuid,")")),w.attr("clip-path","url(#nonForecastMask".concat(a.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){for(var t=e.series,n=e.realIndex,r=e.i,o=e.x,i=e.y,a=e.pX,s=e.pY,l=e.pathsFrom,c=e.linePaths,u=e.areaPaths,d=e.seriesIndex,p=e.lineYPosition,f=e.xArrj,h=e.yArrj,g=this.w,m=new S(this.ctx),v=this.yRatio,y=l.prevY,x=l.linePath,w=l.areaPath,k=l.pathFromLine,C=l.pathFromArea,E=b.isNumber(g.globals.minYArr[n])?g.globals.minYArr[n]:g.globals.minY,A=g.globals.dataPoints>1?g.globals.dataPoints-1:g.globals.dataPoints,M=0;M0&&g.globals.collapsedSeries.length-1){t--;break}return t>=0?t:0}(r-1)][M+1]:this.zeroY,i=O?p-E/v[this.yaxisIndex]+2*(this.isReversed?E/v[this.yaxisIndex]:0):p-t[r][M+1]/v[this.yaxisIndex]+2*(this.isReversed?t[r][M+1]/v[this.yaxisIndex]:0),f.push(o),h.push(i);var T=this.lineHelpers.calculatePoints({series:t,x:o,y:i,realIndex:n,i:r,j:M,prevY:y}),D=this._createPaths({series:t,i:r,realIndex:n,j:M,x:o,y:i,pX:a,pY:s,linePath:x,areaPath:w,linePaths:c,areaPaths:u,seriesIndex:d});u=D.areaPaths,c=D.linePaths,a=D.pX,s=D.pY,w=D.areaPath,x=D.linePath,this.appendPathFrom&&(k+=m.line(o,this.zeroY),C+=m.line(o,this.zeroY)),this.handleNullDataPoints(t,T,r,M,n),this._handleMarkersAndLabels({pointsPos:T,series:t,x:o,y:i,prevY:y,i:r,j:M,realIndex:n})}return{yArrj:h,xArrj:f,pathFromArea:C,areaPaths:u,pathFromLine:k,linePaths:c}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.pointsPos;e.series,e.x,e.y,e.prevY;var n=e.i,r=e.j,o=e.realIndex,i=this.w,a=new N(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,r,{realIndex:o,pointsPos:t,zRatio:this.zRatio,elParent:this.elPointsMain});else{i.globals.series[n].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var s=this.markers.plotChartMarkers(t,o,r+1);null!==s&&this.elPointsMain.add(s)}var l=a.drawDataLabel(t,o,r+1,null);null!==l&&this.elDataLabelsWrap.add(l)}},{key:"_createPaths",value:function(e){var t=e.series,n=e.i,r=e.realIndex,o=e.j,i=e.x,a=e.y,s=e.pX,l=e.pY,c=e.linePath,u=e.areaPath,d=e.linePaths,p=e.areaPaths,f=e.seriesIndex,h=this.w,g=new S(this.ctx),m=h.config.stroke.curve,v=this.areaBottomY;if(Array.isArray(h.config.stroke.curve)&&(m=Array.isArray(f)?h.config.stroke.curve[f[n]]:h.config.stroke.curve[n]),"smooth"===m){var y=.35*(i-s);h.globals.hasNullValues?(null!==t[n][o]&&(null!==t[n][o+1]?(c=g.move(s,l)+g.curve(s+y,l,i-y,a,i+1,a),u=g.move(s+1,l)+g.curve(s+y,l,i-y,a,i+1,a)+g.line(i,v)+g.line(s,v)+"z"):(c=g.move(s,l),u=g.move(s,l)+"z")),d.push(c),p.push(u)):(c+=g.curve(s+y,l,i-y,a,i,a),u+=g.curve(s+y,l,i-y,a,i,a)),s=i,l=a,o===t[n].length-2&&(u=u+g.curve(s,l,i,a,i,v)+g.move(i,a)+"z",h.globals.hasNullValues||(d.push(c),p.push(u)))}else{if(null===t[n][o+1]){c+=g.move(i,a);var b=h.globals.isXNumeric?(h.globals.seriesX[r][o]-h.globals.minX)/this.xRatio:i-this.xDivision;u=u+g.line(b,v)+g.move(i,a)+"z"}null===t[n][o]&&(c+=g.move(i,a),u+=g.move(i,v)),"stepline"===m?(c=c+g.line(i,null,"H")+g.line(null,a,"V"),u=u+g.line(i,null,"H")+g.line(null,a,"V")):"straight"===m&&(c+=g.line(i,a),u+=g.line(i,a)),o===t[n].length-2&&(u=u+g.line(i,v)+g.move(i,a)+"z",d.push(c),p.push(u))}return{linePaths:d,areaPaths:p,pX:s,pY:l,linePath:c,areaPath:u}}},{key:"handleNullDataPoints",value:function(e,t,n,r,o){var i=this.w;if(null===e[n][r]&&i.config.markers.showNullDataPoints||1===e[n].length){var a=this.markers.plotChartMarkers(t,o,r+1,this.strokeWidth-i.config.markers.strokeWidth/2,!0);null!==a&&this.elPointsMain.add(a)}}}]),e}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function e(t,n,r,o){this.xoffset=t,this.yoffset=n,this.height=o,this.width=r,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(e){var t,n=[],r=this.xoffset,o=this.yoffset,a=i(e)/this.height,s=i(e)/this.width;if(this.width>=this.height)for(t=0;t=this.height){var r=t/this.height,o=this.width-r;n=new e(this.xoffset+r,this.yoffset,o,this.height)}else{var i=t/this.width,a=this.height-i;n=new e(this.xoffset,this.yoffset+i,this.width,a)}return n}}function t(t,r,o,a,s){return a=void 0===a?0:a,s=void 0===s?0:s,function(e){var t,n,r=[];for(t=0;t=r(o,n))}(t,l=e[0],s)?(t.push(l),n(e.slice(1),t,o,a)):(c=o.cutArea(i(t),a),a.push(o.getCoordinates(t)),n(e,[],c,a)),a;a.push(o.getCoordinates(t))}function r(e,t){var n=Math.min.apply(Math,e),r=Math.max.apply(Math,e),o=i(e);return Math.max(Math.pow(t,2)*r/Math.pow(o,2),Math.pow(o,2)/(Math.pow(t,2)*n))}function o(e){return e&&e.constructor===Array}function i(e){var t,n=0;for(t=0;ti-r&&l.width<=a-o){var c=s.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(c.x," ").concat(c.y,")"))}}},{key:"animateTreemap",value:function(e,t,n,r){var o=new x(this.ctx);o.animateRect(e,{x:t.x,y:t.y,width:t.width,height:t.height},{x:n.x,y:n.y,width:n.width,height:n.height},r,(function(){o.animationCompleted(e)}))}}]),e}(),Pe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return c(e,[{key:"calculateTimeScaleTicks",value:function(e,t){var n=this,r=this.w;if(r.globals.allSeriesCollapsed)return r.globals.labels=[],r.globals.timescaleLabels=[],[];var o=new B(this.ctx),a=(t-e)/864e5;this.determineInterval(a),r.globals.disableZoomIn=!1,r.globals.disableZoomOut=!1,a<.00011574074074074075?r.globals.disableZoomIn=!0:a>5e4&&(r.globals.disableZoomOut=!0);var s=o.getTimeUnitsfromTimestamp(e,t,this.utc),l=r.globals.gridWidth/a,c=l/24,u=c/60,d=u/60,p=Math.floor(24*a),f=Math.floor(1440*a),h=Math.floor(86400*a),g=Math.floor(a),m=Math.floor(a/30),v=Math.floor(a/365),y={minMillisecond:s.minMillisecond,minSecond:s.minSecond,minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},b={firstVal:y,currentMillisecond:y.minMillisecond,currentSecond:y.minSecond,currentMinute:y.minMinute,currentHour:y.minHour,currentMonthDate:y.minDate,currentDate:y.minDate,currentMonth:y.minMonth,currentYear:y.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:d,numberOfSeconds:h,numberOfMinutes:f,numberOfHours:p,numberOfDays:g,numberOfMonths:m,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(b);break;case"months":case"half_year":this.generateMonthScale(b);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(b);break;case"hours":this.generateHourScale(b);break;case"minutes_fives":case"minutes":this.generateMinuteScale(b);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(b)}var x=this.timeScaleArray.map((function(e){var t={position:e.position,unit:e.unit,year:e.year,day:e.day?e.day:1,hour:e.hour?e.hour:0,month:e.month+1};return"month"===e.unit?i(i({},t),{},{day:1,value:e.value+1}):"day"===e.unit||"hour"===e.unit?i(i({},t),{},{value:e.value}):"minute"===e.unit?i(i({},t),{},{value:e.value,minute:e.value}):"second"===e.unit?i(i({},t),{},{value:e.value,minute:e.minute,second:e.second}):e}));return x.filter((function(e){var t=1,o=Math.ceil(r.globals.gridWidth/120),i=e.value;void 0!==r.config.xaxis.tickAmount&&(o=r.config.xaxis.tickAmount),x.length>o&&(t=Math.floor(x.length/o));var a=!1,s=!1;switch(n.tickInterval){case"years":"year"===e.unit&&(a=!0);break;case"half_year":t=7,"year"===e.unit&&(a=!0);break;case"months":t=1,"year"===e.unit&&(a=!0);break;case"months_fortnight":t=15,"year"!==e.unit&&"month"!==e.unit||(a=!0),30===i&&(s=!0);break;case"months_days":t=10,"month"===e.unit&&(a=!0),30===i&&(s=!0);break;case"week_days":t=8,"month"===e.unit&&(a=!0);break;case"days":t=1,"month"===e.unit&&(a=!0);break;case"hours":"day"===e.unit&&(a=!0);break;case"minutes_fives":case"seconds_fives":i%5!=0&&(s=!0);break;case"seconds_tens":i%10!=0&&(s=!0)}if("hours"===n.tickInterval||"minutes_fives"===n.tickInterval||"seconds_tens"===n.tickInterval||"seconds_fives"===n.tickInterval){if(!s)return!0}else if((i%t==0||a)&&!s)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var n=this.w,r=this.formatDates(e),o=this.removeOverlappingTS(r);n.globals.timescaleLabels=o.slice(),new de(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,n=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case n>15:this.tickInterval="minutes_fives";break;case n>5:this.tickInterval="minutes";break;case n>1:this.tickInterval="seconds_tens";break;case 60*n>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,n=e.currentMonth,r=e.currentYear,o=e.daysWidthOnXAxis,i=e.numberOfYears,a=t.minYear,s=0,l=new B(this.ctx),c="year";if(t.minDate>1||t.minMonth>0){var u=l.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);s=(l.determineDaysOfYear(t.minYear)-u+1)*o,a=t.minYear+1,this.timeScaleArray.push({position:s,value:a,unit:c,year:a,month:b.monthMod(n+1)})}else 1===t.minDate&&0===t.minMonth&&this.timeScaleArray.push({position:s,value:a,unit:c,year:r,month:b.monthMod(n+1)});for(var d=a,p=s,f=0;f1){l=(c.determineDaysOfMonths(r+1,t.minYear)-n+1)*i,s=b.monthMod(r+1);var p=o+d,f=b.monthMod(s),h=s;0===s&&(u="year",h=p,f=1,p+=d+=1),this.timeScaleArray.push({position:l,value:h,unit:u,year:p,month:f})}else this.timeScaleArray.push({position:l,value:s,unit:u,year:o,month:b.monthMod(r)});for(var g=s+1,m=l,v=0,y=1;va.determineDaysOfMonths(t+1,n)?(c=1,s="month",p=t+=1,t):t},d=(24-t.minHour)*o,p=l,f=u(c,n,r);0===t.minHour&&1===t.minDate?(d=0,p=b.monthMod(t.minMonth),s="month",c=t.minDate,i++):1!==t.minDate&&0===t.minHour&&0===t.minMinute&&(d=0,l=t.minDate,p=l,f=u(c=l,n,r)),this.timeScaleArray.push({position:d,value:p,unit:s,year:this._getYear(r,f,0),month:b.monthMod(f),day:c});for(var h=d,g=0;gs.determineDaysOfMonths(t+1,o)&&(g=1,t+=1),{month:t,date:g}},u=function(e,t){return e>s.determineDaysOfMonths(t+1,o)?t+=1:t},d=60-(t.minMinute+t.minSecond/60),p=d*i,f=t.minHour+1,h=f+1;60===d&&(p=0,h=(f=t.minHour)+1);var g=n,m=u(g,r);this.timeScaleArray.push({position:p,value:f,unit:l,day:g,hour:h,year:o,month:b.monthMod(m)});for(var v=p,y=0;y=24&&(h=0,l="day",m=c(g+=1,m).month,m=u(g,m));var x=this._getYear(o,m,0);v=0===h&&0===y?d*i:60*i+v;var w=0===h?g:h;this.timeScaleArray.push({position:v,value:w,unit:l,hour:h,day:g,year:x,month:b.monthMod(m)}),h++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,r=e.currentMinute,o=e.currentHour,i=e.currentDate,a=e.currentMonth,s=e.currentYear,l=e.minutesWidthOnXAxis,c=e.secondsWidthOnXAxis,u=e.numberOfMinutes,d=r+1,p=i,f=a,h=s,g=o,m=(60-n-t/1e3)*c,v=0;v=60&&(d=0,24===(g+=1)&&(g=0)),this.timeScaleArray.push({position:m,value:d,unit:"minute",hour:g,minute:d,day:p,year:this._getYear(h,f,0),month:b.monthMod(f)}),m+=l,d++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,n=e.currentSecond,r=e.currentMinute,o=e.currentHour,i=e.currentDate,a=e.currentMonth,s=e.currentYear,l=e.secondsWidthOnXAxis,c=e.numberOfSeconds,u=n+1,d=r,p=i,f=a,h=s,g=o,m=(1e3-t)/1e3*l,v=0;v=60&&(u=0,++d>=60&&(d=0,24==++g&&(g=0))),this.timeScaleArray.push({position:m,value:u,unit:"second",hour:g,minute:d,second:u,day:p,year:this._getYear(h,f,0),month:b.monthMod(f)}),m+=l,u++}},{key:"createRawDateString",value:function(e,t){var n=e.year;return 0===e.month&&(e.month=1),n+="-"+("0"+e.month.toString()).slice(-2),"day"===e.unit?n+="day"===e.unit?"-"+("0"+t).slice(-2):"-01":n+="-"+("0"+(e.day?e.day:"1")).slice(-2),"hour"===e.unit?n+="hour"===e.unit?"T"+("0"+t).slice(-2):"T00":n+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),"minute"===e.unit?n+=":"+("0"+t).slice(-2):n+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),"second"===e.unit?n+=":"+("0"+t).slice(-2):n+=":00",this.utc&&(n+=".000Z"),n}},{key:"formatDates",value:function(e){var t=this,n=this.w;return e.map((function(e){var r=e.value.toString(),o=new B(t.ctx),i=t.createRawDateString(e,r),a=o.getDate(o.parseDate(i));if(t.utc||(a=o.getDate(o.parseDateWithTimezone(i))),void 0===n.config.xaxis.labels.format){var s="dd MMM",l=n.config.xaxis.labels.datetimeFormatter;"year"===e.unit&&(s=l.year),"month"===e.unit&&(s=l.month),"day"===e.unit&&(s=l.day),"hour"===e.unit&&(s=l.hour),"minute"===e.unit&&(s=l.minute),"second"===e.unit&&(s=l.second),r=o.formatDate(a,s)}else r=o.formatDate(a,n.config.xaxis.labels.format);return{dateString:i,position:e.position,value:r,unit:e.unit,year:e.year,month:e.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,n=this,r=new S(this.ctx),o=!1;e.length>0&&e[0].value&&e.every((function(t){return t.value.length===e[0].value.length}))&&(o=!0,t=r.getTextRects(e[0].value).width);var i=0,a=e.map((function(a,s){if(s>0&&n.w.config.xaxis.labels.hideOverlappingLabels){var l=o?t:r.getTextRects(e[i].value).width,c=e[i].position;return a.position>c+l+10?(i=s,a):null}return a}));return a.filter((function(e){return null!==e}))}},{key:"_getYear",value:function(e,t,n){return e+Math.floor(t/12)+n}}]),e}(),ze=function(){function e(t,n){s(this,e),this.ctx=n,this.w=n.w,this.el=t}return c(e,[{key:"setupElements",value:function(){var e=this.w.globals,t=this.w.config,n=t.chart.type;e.axisCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(n)>-1,e.xyCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble"].indexOf(n)>-1,e.isBarHorizontal=("bar"===t.chart.type||"rangeBar"===t.chart.type||"boxPlot"===t.chart.type)&&t.plotOptions.bar.horizontal,e.chartClass=".apexcharts"+e.chartID,e.dom.baseEl=this.el,e.dom.elWrap=document.createElement("div"),S.setAttrs(e.dom.elWrap,{id:e.chartClass.substring(1),class:"apexcharts-canvas "+e.chartClass.substring(1)}),this.el.appendChild(e.dom.elWrap),e.dom.Paper=new window.SVG.Doc(e.dom.elWrap),e.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(t.chart.offsetX,", ").concat(t.chart.offsetY,")")}),e.dom.Paper.node.style.background=t.chart.background,this.setSVGDimensions(),e.dom.elGraphical=e.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),e.dom.elAnnotations=e.dom.Paper.group().attr({class:"apexcharts-annotations"}),e.dom.elDefs=e.dom.Paper.defs(),e.dom.elLegendWrap=document.createElement("div"),e.dom.elLegendWrap.classList.add("apexcharts-legend"),e.dom.elWrap.appendChild(e.dom.elLegendWrap),e.dom.Paper.add(e.dom.elGraphical),e.dom.elGraphical.add(e.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var n=this.w,r=n.config,o=n.globals,i={series:[],i:[]},a={series:[],i:[]},s={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},u={series:[],i:[]},d={series:[],i:[]};o.series.map((function(t,p){var f=0;void 0!==e[p].type?("column"===e[p].type||"bar"===e[p].type?(o.series.length>1&&r.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),c.series.push(t),c.i.push(p),f++,n.globals.columnSeries=c.series):"area"===e[p].type?(a.series.push(t),a.i.push(p),f++):"line"===e[p].type?(i.series.push(t),i.i.push(p),f++):"scatter"===e[p].type?(s.series.push(t),s.i.push(p)):"bubble"===e[p].type?(l.series.push(t),l.i.push(p),f++):"candlestick"===e[p].type?(u.series.push(t),u.i.push(p),f++):"boxPlot"===e[p].type?(d.series.push(t),d.i.push(p),f++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble"),f>1&&(o.comboCharts=!0)):(i.series.push(t),i.i.push(p))}));var p=new Le(this.ctx,t),f=new Ce(this.ctx,t);this.ctx.pie=new Oe(this.ctx);var h=new Te(this.ctx);this.ctx.rangeBar=new F(this.ctx,t);var g=new _e(this.ctx),m=[];if(o.comboCharts){if(a.series.length>0&&m.push(p.draw(a.series,"area",a.i)),c.series.length>0)if(n.config.chart.stacked){var v=new ke(this.ctx,t);m.push(v.draw(c.series,c.i))}else this.ctx.bar=new R(this.ctx,t),m.push(this.ctx.bar.draw(c.series,c.i));if(i.series.length>0&&m.push(p.draw(i.series,"line",i.i)),u.series.length>0&&m.push(f.draw(u.series,u.i)),d.series.length>0&&m.push(f.draw(d.series,d.i)),s.series.length>0){var y=new Le(this.ctx,t,!0);m.push(y.draw(s.series,"scatter",s.i))}if(l.series.length>0){var b=new Le(this.ctx,t,!0);m.push(b.draw(l.series,"bubble",l.i))}}else switch(r.chart.type){case"line":m=p.draw(o.series,"line");break;case"area":m=p.draw(o.series,"area");break;case"bar":r.chart.stacked?m=new ke(this.ctx,t).draw(o.series):(this.ctx.bar=new R(this.ctx,t),m=this.ctx.bar.draw(o.series));break;case"candlestick":case"boxPlot":m=new Ce(this.ctx,t).draw(o.series);break;case"rangeBar":m=this.ctx.rangeBar.draw(o.series);break;case"heatmap":m=new Ae(this.ctx,t).draw(o.series);break;case"treemap":m=new je(this.ctx,t).draw(o.series);break;case"pie":case"donut":case"polarArea":m=this.ctx.pie.draw(o.series);break;case"radialBar":m=h.draw(o.series);break;case"radar":m=g.draw(o.series);break;default:m=p.draw(o.series)}return m}},{key:"setSVGDimensions",value:function(){var e=this.w.globals,t=this.w.config;e.svgWidth=t.chart.width,e.svgHeight=t.chart.height;var n=b.getDimensions(this.el),r=t.chart.width.toString().split(/[0-9]+/g).pop();"%"===r?b.isNumber(n[0])&&(0===n[0].width&&(n=b.getDimensions(this.el.parentNode)),e.svgWidth=n[0]*parseInt(t.chart.width,10)/100):"px"!==r&&""!==r||(e.svgWidth=parseInt(t.chart.width,10));var o=t.chart.height.toString().split(/[0-9]+/g).pop();if("auto"!==e.svgHeight&&""!==e.svgHeight)if("%"===o){var i=b.getDimensions(this.el.parentNode);e.svgHeight=i[1]*parseInt(t.chart.height,10)/100}else e.svgHeight=parseInt(t.chart.height,10);else e.axisCharts?e.svgHeight=e.svgWidth/1.61:e.svgHeight=e.svgWidth/1.2;if(e.svgWidth<0&&(e.svgWidth=0),e.svgHeight<0&&(e.svgHeight=0),S.setAttrs(e.dom.Paper.node,{width:e.svgWidth,height:e.svgHeight}),"%"!==o){var a=t.chart.sparkline.enabled?0:e.axisCharts?t.chart.parentHeightOffset:0;e.dom.Paper.node.parentNode.parentNode.style.minHeight=e.svgHeight+a+"px"}e.dom.elWrap.style.width=e.svgWidth+"px",e.dom.elWrap.style.height=e.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,n={transform:"translate("+e.translateX+", "+t+")"};S.setAttrs(e.dom.elGraphical.node,n)}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,n=0,r=e.config.chart.sparkline.enabled?1:15;r+=e.config.grid.padding.bottom,"top"!==e.config.legend.position&&"bottom"!==e.config.legend.position||!e.config.legend.show||e.config.legend.floating||(n=new fe(this.ctx).legendHelpers.getLegendBBox().clwh+10);var o=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),i=2.05*e.globals.radialSize;if(o&&!e.config.chart.sparkline.enabled&&0!==e.config.plotOptions.radialBar.startAngle){var a=b.getBoundingClientRect(o);i=a.bottom;var s=a.bottom-a.top;i=Math.max(2.05*e.globals.radialSize,s)}var l=i+t.translateY+n+r;t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",l),e.config.chart.height&&String(e.config.chart.height).indexOf("%")>0||(t.dom.elWrap.style.height=l+"px",S.setAttrs(t.dom.Paper.node,{height:l}),t.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px")}},{key:"coreCalculations",value:function(){new $(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(e){return[]}))},n=new U,r=this.w.globals;n.initGlobalVars(r),r.seriesXvalues=t(),r.seriesYvalues=t()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var e=null,t=this.w;if(t.globals.axisCharts){if("back"===t.config.xaxis.crosshairs.position&&new re(this.ctx).drawXCrosshairs(),"back"===t.config.yaxis[0].crosshairs.position&&new re(this.ctx).drawYCrosshairs(),"datetime"===t.config.xaxis.type&&void 0===t.config.xaxis.labels.formatter){this.ctx.timeScale=new Pe(this.ctx);var n=[];isFinite(t.globals.minX)&&isFinite(t.globals.maxX)&&!t.globals.isBarHorizontal?n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minX,t.globals.maxX):t.globals.isBarHorizontal&&(n=this.ctx.timeScale.calculateTimeScaleTicks(t.globals.minY,t.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(n)}e=new k(this.ctx).getCalculatedRatios()}return e}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.w;if(t.config.chart.brush.enabled&&"function"!=typeof t.config.chart.events.selection){var n=t.config.chart.brush.targets||[t.config.chart.brush.target];n.forEach((function(t){var n=ApexCharts.getChartByID(t);n.w.globals.brushSource=e.ctx,"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){e.updateSourceChart(n)}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){e.updateSourceChart(n)})})),t.config.chart.events.selection=function(e,r){n.forEach((function(e){var n=ApexCharts.getChartByID(e),o=b.clone(t.config.yaxis);if(t.config.chart.brush.autoScaleYaxis&&1===n.w.globals.series.length){var a=new Q(n);o=a.autoScaleY(n,o,r)}var s=n.w.config.yaxis.reduce((function(e,t,r){return[].concat(m(e),[i(i({},n.w.config.yaxis[r]),{},{min:o[0].min,max:o[0].max})])}),[]);n.ctx.updateHelpers._updateOptions({xaxis:{min:r.xaxis.min,max:r.xaxis.max},yaxis:s},!1,!1,!1,!1)}))}}}}]),e}(),Re=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"_updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new Promise((function(s){var l=[t.ctx];o&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(o,c){var u=o.w;if(u.globals.shouldAnimate=r,n||(u.globals.resized=!0,u.globals.dataChanged=!0,r&&o.series.getPreviousPaths()),e&&"object"===a(e)&&(o.config=new Y(e),e=k.extendArrayProps(o.config,e,u),o.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,u.config=b.extend(u.config,e),i&&(u.globals.lastXAxis=e.xaxis?b.clone(e.xaxis):[],u.globals.lastYAxis=e.yaxis?b.clone(e.yaxis):[],u.globals.initialConfig=b.extend({},u.config),u.globals.initialSeries=b.clone(u.config.series),e.series))){for(var d=0;d2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(o){var i,a=n.w;return a.globals.shouldAnimate=t,a.globals.dataChanged=!0,t&&n.ctx.series.getPreviousPaths(),a.globals.axisCharts?(0===(i=e.map((function(e,t){return n._extendSeries(e,t)}))).length&&(i=[{data:[]}]),a.config.series=i):a.config.series=e.slice(),r&&(a.globals.initialConfig.series=b.clone(a.config.series),a.globals.initialSeries=b.clone(a.config.series)),n.ctx.update().then((function(){o(n.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var n=this.w,r=n.config.series[t];return i(i({},n.config.series[t]),{},{name:e.name?e.name:r&&r.name,color:e.color?e.color:r&&r.color,type:e.type?e.type:r&&r.type,data:e.data?e.data:r&&r.data})}},{key:"toggleDataPointSelection",value:function(e,t){var n=this.w,r=null,o=".apexcharts-series[data\\:realIndex='".concat(e,"']");return n.globals.axisCharts?r=n.globals.dom.Paper.select("".concat(o," path[j='").concat(t,"'], ").concat(o," circle[j='").concat(t,"'], ").concat(o," rect[j='").concat(t,"']")).members[0]:void 0===t&&(r=n.globals.dom.Paper.select("".concat(o," path[j='").concat(e,"']")).members[0],"pie"!==n.config.chart.type&&"polarArea"!==n.config.chart.type&&"donut"!==n.config.chart.type||this.ctx.pie.pieClicked(e)),r?(new S(this.ctx).pathMouseDown(r,null),r.node?r.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(n){void 0!==e.xaxis[n]&&(t.config.xaxis[n]=e.xaxis[n],t.globals.lastXAxis[n]=e.xaxis[n])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var n=new H(e);e=n.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&"100%"===e.chart.stackType&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,n){e.yaxis[n].min=0,e.yaxis[n].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,n=this.w,r=n.globals.lastXAxis,o=n.globals.lastYAxis;e&&e.xaxis&&(r=e.xaxis),e&&e.yaxis&&(o=e.yaxis),n.config.xaxis.min=r.min,n.config.xaxis.max=r.max,n.config.yaxis.map((function(e,r){n.globals.zoomed||void 0!==o[r]?function(e){void 0!==o[e]&&(n.config.yaxis[e].min=o[e].min,n.config.yaxis[e].max=o[e].max)}(r):void 0!==t.ctx.opts.yaxis[r]&&(e.min=t.ctx.opts.yaxis[r].min,e.max=t.ctx.opts.yaxis[r].max)}))}}]),e}();Ie="undefined"!=typeof window?window:void 0,Ne=function(e,t){var n=(void 0!==this?this:e).SVG=function(e){if(n.supported)return e=new n.Doc(e),n.parser.draw||n.prepare(),e};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.dev",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(e){return"Svgjs"+d(e)+n.did++},n.create=function(e){var n=t.createElementNS(this.ns,e);return n.setAttribute("id",this.eid(e)),n},n.extend=function(){var e,t;t=(e=[].slice.call(arguments)).pop();for(var r=e.length-1;r>=0;r--)if(e[r])for(var o in t)e[r].prototype[o]=t[o];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,n.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&n.extend(t,e.extend),e.construct&&n.extend(e.parent||n.Container,e.construct),t},n.adopt=function(t){return t?t.instance?t.instance:((r="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new n.Nested:new n.Doc:"linearGradient"==t.nodeName?new n.Gradient("linear"):"radialGradient"==t.nodeName?new n.Gradient("radial"):n[d(t.nodeName)]?new(n[d(t.nodeName)]):new n.Element(t)).type=t.nodeName,r.node=t,t.instance=r,r instanceof n.Doc&&r.namespace().defs(),r.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),r):null;var r},n.prepare=function(){var e=t.getElementsByTagName("body")[0],r=(e?new n.Doc(e):n.adopt(t.documentElement).nested()).size(2,0);n.parser={body:e||t.documentElement,draw:r.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:r.polyline().node,path:r.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},t.addEventListener("DOMContentLoaded",(function(){n.parser.draw||n.prepare()}),!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(e,t){for(var n=e.length,r=[],o=0;o1?1:e,new n.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),n.Color.test=function(e){return e+="",n.regex.isHex.test(e)||n.regex.isRgb.test(e)},n.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},n.Color.isColor=function(e){return n.Color.isRgb(e)||n.Color.test(e)},n.Array=function(e,t){0==(e=(e||[]).valueOf()).length&&t&&(e=t.valueOf()),this.value=this.parse(e)},n.extend(n.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)}}),n.PointArray=function(e,t){n.Array.call(this,e,t||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray;for(var r={M:function(e,t,n){return t.x=n.x=e[0],t.y=n.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},Z:function(e,t,n){return t.x=n.x,t.y=n.y,["Z"]}},o="mlhvqtcsaz".split(""),i=0,s=o.length;il);return i},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(e,t){this.value=0,this.unit=t||"","number"==typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"==typeof e?(t=e.match(n.regex.numberAndUnit))&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5]):e instanceof n.Number&&(this.value=e.valueOf(),this.unit=e.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new n.Number(e),new n.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new n.Number(e),new n.Number(this-e,this.unit||e.unit)},times:function(e){return e=new n.Number(e),new n.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new n.Number(e),new n.Number(this/e,this.unit||e.unit)},to:function(e){var t=new n.Number(this);return"string"==typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new n.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new n.Number(this.destination).minus(this).times(e).plus(this):this}}}),n.Element=n.invent({create:function(e){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var r=f(this,e,t);return this.width(new n.Number(r.width)).height(new n.Number(r.height))},clone:function(e){this.writeDataToDom();var t=m(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(n.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter((function(t){return t!=e})).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return n.get(this.attr(e))},parent:function(t){var r=this;if(!r.node.parentNode)return null;if(r=n.adopt(r.node.parentNode),!t)return r;for(;r&&r.node instanceof e.SVGElement;){if("string"==typeof t?r.matches(t):r instanceof t)return r;if(!r.node.parentNode||"#document"==r.node.parentNode.nodeName)return null;r=n.adopt(r.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(e){var t=[],n=this;do{if(!(n=n.parent(e))||!n.node)break;t.push(n)}while(n.parent);return t},matches:function(e){return function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}(this.node,e)},native:function(){return this.node},svg:function(e){var r=t.createElement("svg");if(!(e&&this instanceof n.Parent))return r.appendChild(e=t.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),r.innerHTML.replace(/^/,"").replace(/<\/svg>$/,"");r.innerHTML=""+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2>")+"";for(var o=0,i=r.firstChild.childNodes.length;o":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},n.morph=function(e){return function(t,r){return new n.MorphObj(t,r).at(e)}},n.Situation=n.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(e.duration).valueOf(),this.delay=new n.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,r){"object"===a(e)&&(t=e.ease,r=e.delay,e=e.duration);var o=new n.Situation({duration:e||1e3,delay:r||0,ease:n.easing[t||"-"]||t});return this.queue(o),this},target:function(e){return e&&e instanceof n.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof n.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t=this.situation;if(t.init)return this;for(var r in t.animations){e=this.target()[r](),Array.isArray(e)||(e=[e]),Array.isArray(t.animations[r])||(t.animations[r]=[t.animations[r]]);for(var o=e.length;o--;)t.animations[r][o]instanceof n.Number&&(e[o]=new n.Number(e[o])),t.animations[r][o]=e[o].morph(t.animations[r][o])}for(var r in t.attrs)t.attrs[r]=new n.MorphObj(this.target().attr(r),t.attrs[r]);for(var r in t.styles)t.styles[r]=new n.MorphObj(this.target().style(r),t.styles[r]);return t.initialTransformation=this.target().matrixify(),t.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var n=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(e){var t=this.last();return this.target().on("finished.fx",(function n(r){r.detail.situation==t&&(e.call(this,t),this.off("finished.fx",n))})),this._callStart()},during:function(e){var t=this.last(),r=function(r){r.detail.situation==t&&e.call(this,r.detail.pos,n.morph(r.detail.pos),r.detail.eased,t)};return this.target().off("during.fx",r).on("during.fx",r),this.after((function(){this.off("during.fx",r)})),this._callStart()},afterAll:function(e){var t=function t(n){e.call(this),this.off("allfinished.fx",t)};return this.target().off("allfinished.fx",t).on("allfinished.fx",t),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,n){return this.last()[n||"animations"][e]=t,this._callStart()},step:function(e){var t,n,r;e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(t=Math.max(this.absPos,0),n=Math.floor(t),!0===this.situation.loops||nthis.lastPos&&i<=o&&(this.situation.once[i].call(this.target(),this.pos,o),delete this.situation.once[i]);return this.active&&this.target().fire("during",{pos:this.pos,eased:o,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=o,this):this},eachAt:function(){var e,t=this,r=this.target(),o=this.situation;for(var i in o.animations)e=[].concat(o.animations[i]).map((function(e){return"string"!=typeof e&&e.at?e.at(o.ease(t.pos),t.pos):e})),r[i].apply(r,e);for(var i in o.attrs)e=[i].concat(o.attrs[i]).map((function(e){return"string"!=typeof e&&e.at?e.at(o.ease(t.pos),t.pos):e})),r.attr.apply(r,e);for(var i in o.styles)e=[i].concat(o.styles[i]).map((function(e){return"string"!=typeof e&&e.at?e.at(o.ease(t.pos),t.pos):e})),r.style.apply(r,e);if(o.transforms.length){e=o.initialTransformation,i=0;for(var a=o.transforms.length;i=0;--r)this[b[r]]=null!=e[b[r]]?e[b[r]]:t[b[r]]},extend:{extract:function(){var e=h(this,0,1);h(this,1,0);var t=180/Math.PI*Math.atan2(e.y,e.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(t*Math.PI/180)+this.f*Math.sin(t*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(t*Math.PI/180)+this.e*Math.sin(-t*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(e){return this.destination=new n.Matrix(e),this},multiply:function(e){return new n.Matrix(this.native().multiply(function(e){return e instanceof n.Matrix||(e=new n.Matrix(e)),e}(e).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(e,t){return new n.Matrix(this.native().translate(e||0,t||0))},native:function(){for(var e=n.parser.native.createSVGMatrix(),t=b.length-1;t>=0;t--)e[b[t]]=this[b[t]];return e},toString:function(){return"matrix("+y(this.a)+","+y(this.b)+","+y(this.c)+","+y(this.d)+","+y(this.e)+","+y(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new n.Matrix(t)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(e,t){var n;n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===a(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(e,t){return this.destination=new n.Point(e,t),this}}}),n.extend(n.Element,{point:function(e,t){return new n.Point(e,t).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(e,t,r){if(null==e){for(e={},r=(t=this.node.attributes).length-1;r>=0;r--)e[t[r].nodeName]=n.regex.isNumber.test(t[r].nodeValue)?parseFloat(t[r].nodeValue):t[r].nodeValue;return e}if("object"===a(e))for(var o in e)this.attr(o,e[o]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return null==(t=this.node.getAttribute(e))?n.defaults.attrs[e]:n.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(n.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof n.Image&&(t=this.doc().defs().pattern(0,0,(function(){this.add(t)})))),"number"==typeof t?t=new n.Number(t):n.Color.isColor(t)?t=new n.Color(t):Array.isArray(t)&&(t=new n.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"==typeof r?this.node.setAttributeNS(r,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),n.extend(n.Element,{transform:function(e,t){var r;return"object"!==a(e)?(r=new n.Matrix(this).extract(),"string"==typeof e?r[e]:r):(r=new n.Matrix(this),t=!!t||!!e.relative,null!=e.a&&(r=t?r.multiply(new n.Matrix(e)):new n.Matrix(e)),this.attr("transform",r))}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map((function(e){var t=e.trim().split("(");return[t[0],t[1].split(n.regex.delimiter).map((function(e){return parseFloat(e)}))]})).reduce((function(e,t){return"matrix"==t[0]?e.multiply(g(t[1])):e[t[0]].apply(e,t[1])}),new n.Matrix)},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),n=e.screenCTM().inverse();return this.addTo(e).untransform().transform(n.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,r=this.arguments.length;n=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return n.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){for(var r=this.children(),o=0,i=r.length;o=0;r--)t.childNodes[r]instanceof e.SVGElement&&m(t.childNodes[r]);return n.adopt(t).id(n.eid(t.nodeName))}function v(e){return null==e.x&&(e.x=0,e.y=0,e.width=0,e.height=0),e.w=e.width,e.h=e.height,e.x2=e.x+e.width,e.y2=e.y+e.height,e.cx=e.x+e.width/2,e.cy=e.y+e.height/2,e}function y(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach((function(e){var t={};t[e]=function(t){if(void 0===t)return this;if("string"==typeof t||n.Color.isRgb(t)||t&&"function"==typeof t.fill)this.attr(e,t);else for(var r=l[e].length-1;r>=0;r--)null!=t[l[e][r]]&&this.attr(l.prefix(e,l[e][r]),t[l[e][r]]);return this},n.extend(n.Element,n.FX,t)})),n.extend(n.Element,n.FX,{translate:function(e,t){return this.transform({x:e,y:t})},matrix:function(e){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new n.Number(e).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(e){return this.y(new n.Number(e).plus(this instanceof n.FX?0:this.y()),!0)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),n.Set=n.invent({create:function(e){Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){for(var e=[].slice.call(arguments),t=0,n=e.length;t-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,n=this.members.length;t=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(e){return new n.Set(e)}}}),n.FX.Set=n.invent({create:function(e){this.set=e}}),n.Set.inherit=function(){var e=[];for(var t in n.Shape.prototype)"function"==typeof n.Shape.prototype[t]&&"function"!=typeof n.Set.prototype[t]&&e.push(t);for(var t in e.forEach((function(e){n.Set.prototype[e]=function(){for(var t=0,r=this.members.length;t=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(e){var r=t.getElementById(function(e){var t=(e||"").toString().match(n.regex.reference);if(t)return t[1]}(e)||e);return n.adopt(r)},n.select=function(e,r){return new n.Set(n.utils.map((r||t).querySelectorAll(e),(function(e){return n.adopt(e)})))},n.extend(n.Parent,{select:function(e){return n.select(e,this.node)}});var b="abcdef".split("");if("function"!=typeof e.CustomEvent){var x=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r};x.prototype=e.Event.prototype,n.CustomEvent=x}else n.CustomEvent=e.CustomEvent;return n},void 0!==(r=function(){return Ne(Ie,Ie.document)}.call(t,n,t,e))&&(e.exports=r),function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(e,t){return this.add(e,t),!e.attr("in")&&this.autoSetIn&&e.attr("in",this.source),e.attr("result")||e.attr("result",e),e},blend:function(e,t,n){return this.put(new SVG.BlendEffect(e,t,n))},colorMatrix:function(e,t){return this.put(new SVG.ColorMatrixEffect(e,t))},convolveMatrix:function(e){return this.put(new SVG.ConvolveMatrixEffect(e))},componentTransfer:function(e){return this.put(new SVG.ComponentTransferEffect(e))},composite:function(e,t,n){return this.put(new SVG.CompositeEffect(e,t,n))},flood:function(e,t){return this.put(new SVG.FloodEffect(e,t))},offset:function(e,t){return this.put(new SVG.OffsetEffect(e,t))},image:function(e){return this.put(new SVG.ImageEffect(e))},merge:function(){var e=[void 0];for(var t in arguments)e.push(arguments[t]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,e)))},gaussianBlur:function(e,t){return this.put(new SVG.GaussianBlurEffect(e,t))},morphology:function(e,t){return this.put(new SVG.MorphologyEffect(e,t))},diffuseLighting:function(e,t,n){return this.put(new SVG.DiffuseLightingEffect(e,t,n))},displacementMap:function(e,t,n,r,o){return this.put(new SVG.DisplacementMapEffect(e,t,n,r,o))},specularLighting:function(e,t,n,r){return this.put(new SVG.SpecularLightingEffect(e,t,n,r))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(e,t,n,r,o){return this.put(new SVG.TurbulenceEffect(e,t,n,r,o))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(e){var t=this.put(new SVG.Filter);return"function"==typeof e&&e.call(t,t),t}}),SVG.extend(SVG.Container,{filter:function(e){return this.defs().filter(e)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(e){return this.filterer=e instanceof SVG.Element?e:this.doc().filter(e),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(e){return this.filterer&&!0===e&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(e){return null==e?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",e)},result:function(e){return null==e?this.attr("result"):this.attr("result",e)},toString:function(){return this.result()}}});var e={blend:function(e,t){return this.parent()&&this.parent().blend(this,e,t)},colorMatrix:function(e,t){return this.parent()&&this.parent().colorMatrix(e,t).in(this)},convolveMatrix:function(e){return this.parent()&&this.parent().convolveMatrix(e).in(this)},componentTransfer:function(e){return this.parent()&&this.parent().componentTransfer(e).in(this)},composite:function(e,t){return this.parent()&&this.parent().composite(this,e,t)},flood:function(e,t){return this.parent()&&this.parent().flood(e,t)},offset:function(e,t){return this.parent()&&this.parent().offset(e,t).in(this)},image:function(e){return this.parent()&&this.parent().image(e)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(e,t){return this.parent()&&this.parent().gaussianBlur(e,t).in(this)},morphology:function(e,t){return this.parent()&&this.parent().morphology(e,t).in(this)},diffuseLighting:function(e,t,n){return this.parent()&&this.parent().diffuseLighting(e,t,n).in(this)},displacementMap:function(e,t,n,r){return this.parent()&&this.parent().displacementMap(this,e,t,n,r)},specularLighting:function(e,t,n,r){return this.parent()&&this.parent().specularLighting(e,t,n,r).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(e,t,n,r,o){return this.parent()&&this.parent().turbulence(e,t,n,r,o).in(this)}};SVG.extend(SVG.Effect,e),SVG.extend(SVG.ParentEffect,e),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(e){this.attr("in",e)}}});var t={blend:function(e,t,n){this.attr({in:e,in2:t,mode:n||"normal"})},colorMatrix:function(e,t){"matrix"==e&&(t=o(t)),this.attr({type:e,values:void 0===t?null:t})},convolveMatrix:function(e){e=o(e),this.attr({order:Math.sqrt(e.split(" ").length),kernelMatrix:e})},composite:function(e,t,n){this.attr({in:e,in2:t,operator:n})},flood:function(e,t){this.attr("flood-color",e),null!=t&&this.attr("flood-opacity",t)},offset:function(e,t){this.attr({dx:e,dy:t})},image:function(e){this.attr("href",e,SVG.xlink)},displacementMap:function(e,t,n,r,o){this.attr({in:e,in2:t,scale:n,xChannelSelector:r,yChannelSelector:o})},gaussianBlur:function(e,t){null!=e||null!=t?this.attr("stdDeviation",i(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(e,t){this.attr({operator:e,radius:t})},tile:function(){},turbulence:function(e,t,n,r,o){this.attr({numOctaves:t,seed:n,stitchTiles:r,baseFrequency:e,type:o})}},n={merge:function(){var e;if(arguments[0]instanceof SVG.Set){var t=this;arguments[0].each((function(e){this instanceof SVG.MergeNode?t.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&t.put(new SVG.MergeNode(this))}))}else{e=Array.isArray(arguments[0])?arguments[0]:arguments;for(var n=0;n1&&(O*=r=Math.sqrt(r),_*=r),o=(new SVG.Matrix).rotate(T).scale(1/O,1/_).rotate(-T),j=j.transform(o),s=(i=[(P=P.transform(o)).x-j.x,P.y-j.y])[0]*i[0]+i[1]*i[1],a=Math.sqrt(s),i[0]/=a,i[1]/=a,l=s<4?Math.sqrt(1-s/4):0,D===L&&(l*=-1),c=new SVG.Point((P.x+j.x)/2+l*-i[1],(P.y+j.y)/2+l*i[0]),u=new SVG.Point(j.x-c.x,j.y-c.y),d=new SVG.Point(P.x-c.x,P.y-c.y),p=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(p*=-1),f=Math.acos(d.x/Math.sqrt(d.x*d.x+d.y*d.y)),d.y<0&&(f*=-1),L&&p>f&&(f+=2*Math.PI),!L&&pi.maxX-t.width&&(a=(r=i.maxX-t.width)-this.startPoints.box.x),null!=i.minY&&oi.maxY-t.height&&(s=(o=i.maxY-t.height)-this.startPoints.box.y),null!=i.snapToGrid&&(r-=r%i.snapToGrid,o-=o%i.snapToGrid,a-=a%i.snapToGrid,s-=s%i.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:a,y:s},!0):this.el.move(r,o));return n},e.prototype.end=function(e){var t=this.drag(e);this.el.fire("dragend",{event:e,p:t,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(t,n){"function"!=typeof t&&"object"!=typeof t||(n=t,t=!0);var r=this.remember("_draggable")||new e(this);return(t=void 0===t||t)?r.init(n||{},t):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function e(e){this.el=e,e.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(e,t,n){var r="string"!=typeof e?e:t[e];return n?r/2:r},this.pointCoords=function(e,t){var n=this.pointsList[e];return{x:this.pointCoord(n[0],t,"t"===e||"b"===e),y:this.pointCoord(n[1],t,"r"===e||"l"===e)}}}e.prototype.init=function(e,t){var n=this.el.bbox();this.options={};var r=this.el.selectize.defaults.points;for(var o in this.el.selectize.defaults)this.options[o]=this.el.selectize.defaults[o],void 0!==t[o]&&(this.options[o]=t[o]);var i=["points","pointsExclude"];for(var o in i){var a=this.options[i[o]];"string"==typeof a?a=a.length>0?a.split(/\s*,\s*/i):[]:"boolean"==typeof a&&"points"===i[o]&&(a=a?r:[]),this.options[i[o]]=a}this.options.points=[r,this.options.points].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))})),this.options.points=[this.options.points,this.options.pointsExclude].reduce((function(e,t){return e.filter((function(e){return t.indexOf(e)<0}))})),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(n.x,n.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(e):this.selectRect(e),this.observe(),this.cleanup()},e.prototype.selectPoints=function(e){return this.pointSelection.isSelected=e,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},e.prototype.getPointArray=function(){var e=this.el.bbox();return this.el.array().valueOf().map((function(t){return[t[0]-e.x,t[1]-e.y]}))},e.prototype.drawPoints=function(){for(var e=this,t=this.getPointArray(),n=0,r=t.length;n0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y+n[1]).size(this.parameters.box.width-n[0],this.parameters.box.height-n[1])}};break;case"rt":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).size(this.parameters.box.width+n[0],this.parameters.box.height-n[1])}};break;case"rb":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+n[0],this.parameters.box.height+n[1])}};break;case"lb":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).size(this.parameters.box.width-n[0],this.parameters.box.height+n[1])}};break;case"t":this.calc=function(e,t){var n=this.snapToGrid(e,t,2);if(this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).height(this.parameters.box.height-n[1])}};break;case"r":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.width+n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+n[0])}};break;case"b":this.calc=function(e,t){var n=this.snapToGrid(e,t,0);if(this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+n[1])}};break;case"l":this.calc=function(e,t){var n=this.snapToGrid(e,t,1);if(this.parameters.box.width-n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).width(this.parameters.box.width-n[0])}};break;case"rot":this.calc=function(e,t){var n=e+this.parameters.p.x,r=t+this.parameters.p.y,o=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),i=Math.atan2(r-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),a=this.parameters.rotation+180*(i-o)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(a-a%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(e,t){var n=this.snapToGrid(e,t,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),r=this.el.array().valueOf();r[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],r[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(r)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:e}),SVG.on(window,"touchmove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"touchend.resize",(function(){t.done()})),SVG.on(window,"mousemove.resize",(function(e){t.update(e||window.event)})),SVG.on(window,"mouseup.resize",(function(){t.done()}))},e.prototype.update=function(e){if(e){var t=this._extractPosition(e),n=this.transformPoint(t.x,t.y),r=n.x-this.parameters.p.x,o=n.y-this.parameters.p.y;this.lastUpdateCall=[r,o],this.calc(r,o),this.el.fire("resizing",{dx:r,dy:o,event:e})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},e.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},e.prototype.snapToGrid=function(e,t,n,r){var o;return void 0!==r?o=[(n+e)%this.options.snapToGrid,(r+t)%this.options.snapToGrid]:(n=null==n?3:n,o=[(this.parameters.box.x+e+(1&n?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+t+(2&n?0:this.parameters.box.height))%this.options.snapToGrid]),e<0&&(o[0]-=this.options.snapToGrid),t<0&&(o[1]-=this.options.snapToGrid),e-=Math.abs(o[0])a.maxX&&(e=a.maxX-o),void 0!==a.minY&&i+ta.maxY&&(t=a.maxY-i),[e,t]},e.prototype.checkAspectRatio=function(e,t){if(!this.options.saveAspectRatio)return e;var n=e.slice(),r=this.parameters.box.width/this.parameters.box.height,o=this.parameters.box.width+e[0],i=this.parameters.box.height-e[1],a=o/i;return ar&&(n[0]=this.parameters.box.width-i*r,t&&(n[0]=-n[0])),n},SVG.extend(SVG.Element,{resize:function(t){return(this.remember("_resizeHandler")||new e(this)).init(t||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),void 0===window.Apex&&(window.Apex={});var Be=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new x(this.ctx),this.ctx.axes=new ne(this.ctx),this.ctx.core=new ze(this.ctx.el,this.ctx),this.ctx.config=new Y({}),this.ctx.data=new X(this.ctx),this.ctx.grid=new q(this.ctx),this.ctx.graphics=new S(this.ctx),this.ctx.coreUtils=new k(this.ctx),this.ctx.crosshairs=new re(this.ctx),this.ctx.events=new ee(this.ctx),this.ctx.exports=new K(this.ctx),this.ctx.localization=new te(this.ctx),this.ctx.options=new _,this.ctx.responsive=new oe(this.ctx),this.ctx.series=new P(this.ctx),this.ctx.theme=new ie(this.ctx),this.ctx.formatters=new V(this.ctx),this.ctx.titleSubtitle=new ae(this.ctx),this.ctx.legend=new fe(this.ctx),this.ctx.toolbar=new he(this.ctx),this.ctx.dimensions=new de(this.ctx),this.ctx.updateHelpers=new Re(this.ctx),this.ctx.zoomPanSelection=new ge(this.ctx),this.ctx.w.globals.tooltip=new Se(this.ctx)}}]),e}(),Fe=function(){function e(t){s(this,e),this.ctx=t,this.w=t.w}return c(e,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(e,t){this.removeClass("*"),this.off(),this.stop()}),!0),e.ungroup(),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,n=e.isUpdating,r=this.w.globals.dom.Paper.node;r.parentNode&&r.parentNode.parentNode&&!n&&(r.parentNode.parentNode.style.minHeight="unset");var o=this.w.globals.dom.baseEl;o&&this.ctx.eventList.forEach((function(e){o.removeEventListener(e,t.ctx.events.documentEvent)}));var i=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(i.Paper),i.Paper.remove(),i.elWrap=null,i.elGraphical=null,i.elAnnotations=null,i.elLegendWrap=null,i.baseEl=null,i.elGridRect=null,i.elGridRectMask=null,i.elGridRectMarkerMask=null,i.elForecastMask=null,i.elNonForecastMask=null,i.elDefs=null}}]),e}(),He=new WeakMap,Ye=function(){function e(t,n){s(this,e),this.opts=n,this.ctx=this,this.w=new W(n).init(),this.el=t,this.w.globals.cuid=b.randomId(),this.w.globals.chartID=this.w.config.chart.id?b.escapeString(this.w.config.chart.id):this.w.globals.cuid,new Be(this).initModules(),this.create=b.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return c(e,[{key:"render",value:function(){var e=this;return new Promise((function(t,n){if(null!==e.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var r=e.w.config.chart.events.beforeMount;if("function"==typeof r&&r(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),function(e,t){var n=!1;if(e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=e.getBoundingClientRect();"none"!==e.style.display&&0!==r.width||(n=!0)}var o=new ResizeObserver((function(r){n&&t.call(e,r),n=!0}));e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(e.children).forEach((function(e){return o.observe(e)})):o.observe(e),He.set(t,o)}(e.el.parentNode,e.parentResizeHandler),!e.css){var o=e.el.getRootNode&&e.el.getRootNode(),i=b.is("ShadowRoot",o),a=e.el.ownerDocument,s=a.getElementById("apexcharts-css");!i&&s||(e.css=document.createElement("style"),e.css.id="apexcharts-css",e.css.textContent='.apexcharts-canvas {\n position: relative;\n user-select: none;\n /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px;\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0, 0, 0, .5);\n box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n}\n\n\n.apexcharts-inner {\n position: relative;\n}\n\n.apexcharts-text tspan {\n font-family: inherit;\n}\n\n.legend-mouseover-inactive {\n transition: 0.15s ease all;\n opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0;\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n border: 1px solid #e3e3e3;\n background: rgba(255, 255, 255, 0.96);\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n color: #fff;\n background: rgba(30, 30, 30, 0.8);\n}\n\n.apexcharts-tooltip * {\n font-family: inherit;\n}\n\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n background: #ECEFF1;\n border-bottom: 1px solid #ddd;\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n background: rgba(0, 0, 0, 0.7);\n border-bottom: 1px solid #333;\n}\n\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-z-value {\n display: inline-block;\n font-weight: 600;\n margin-left: 5px;\n}\n\n.apexcharts-tooltip-title:empty,\n.apexcharts-tooltip-text-y-label:empty,\n.apexcharts-tooltip-text-y-value:empty,\n.apexcharts-tooltip-text-goals-label:empty,\n.apexcharts-tooltip-text-goals-value:empty,\n.apexcharts-tooltip-text-z-value:empty {\n display: none;\n}\n\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-z-value {\n font-weight: 600;\n}\n\n.apexcharts-tooltip-text-goals-label, \n.apexcharts-tooltip-text-goals-value {\n padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-goals-group, \n.apexcharts-tooltip-text-goals-label, \n.apexcharts-tooltip-text-goals-value {\n display: flex;\n}\n.apexcharts-tooltip-text-goals-label:not(:empty),\n.apexcharts-tooltip-text-goals-value:not(:empty) {\n margin-top: -6px;\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0px;\n margin-right: 10px;\n border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n opacity: 1;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,\n.apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px;\n}\n\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0 !important;\n}\n\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-box, .apexcharts-custom-tooltip {\n padding: 4px 8px;\n}\n\n.apexcharts-tooltip-boxPlot {\n display: flex;\n flex-direction: column-reverse;\n}\n\n.apexcharts-tooltip-box>div {\n margin: 4px 0;\n}\n\n.apexcharts-tooltip-box span.value {\n font-weight: bold;\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px;\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777;\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: bold;\n display: block;\n margin-bottom: 5px;\n}\n\n.apexcharts-xaxistooltip {\n opacity: 0;\n padding: 9px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #ECEFF1;\n border: 1px solid #90A4AE;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-xaxistooltip:after,\n.apexcharts-xaxistooltip:before {\n left: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n border-color: rgba(236, 239, 241, 0);\n border-width: 6px;\n margin-left: -6px;\n}\n\n.apexcharts-xaxistooltip:before {\n border-color: rgba(144, 164, 174, 0);\n border-width: 7px;\n margin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after,\n.apexcharts-xaxistooltip-bottom:before {\n bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-top:after,\n.apexcharts-xaxistooltip-top:before {\n top: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #ECEFF1;\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color: #ECEFF1\n}\n\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n opacity: 0;\n padding: 4px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #ECEFF1;\n border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-yaxistooltip:after,\n.apexcharts-yaxistooltip:before {\n top: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.apexcharts-yaxistooltip:after {\n border-color: rgba(236, 239, 241, 0);\n border-width: 6px;\n margin-top: -6px;\n}\n\n.apexcharts-yaxistooltip:before {\n border-color: rgba(144, 164, 174, 0);\n border-width: 7px;\n margin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after,\n.apexcharts-yaxistooltip-left:before {\n left: 100%;\n}\n\n.apexcharts-yaxistooltip-right:after,\n.apexcharts-yaxistooltip-right:before {\n right: 100%;\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n opacity: 1;\n}\n\n.apexcharts-yaxistooltip-hidden {\n display: none;\n}\n\n.apexcharts-xcrosshairs,\n.apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,\n.apexcharts-ycrosshairs.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0;\n}\n\n.apexcharts-selection-rect {\n cursor: move;\n}\n\n.svg_select_boundingRect, .svg_select_points_rot {\n pointer-events: none;\n opacity: 0;\n visibility: hidden;\n}\n.apexcharts-selection-rect + g .svg_select_boundingRect,\n.apexcharts-selection-rect + g .svg_select_points_rot {\n opacity: 0;\n visibility: hidden;\n}\n\n.apexcharts-selection-rect + g .svg_select_points_l,\n.apexcharts-selection-rect + g .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible;\n}\n\n.svg_select_points {\n fill: #efefef;\n stroke: #333;\n rx: 2;\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n cursor: move\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon,\n.apexcharts-reset-icon,\n.apexcharts-pan-icon,\n.apexcharts-selection-icon,\n.apexcharts-menu-icon,\n.apexcharts-toolbar-custom-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6E8192;\n text-align: center;\n}\n\n.apexcharts-zoom-icon svg,\n.apexcharts-zoomin-icon svg,\n.apexcharts-zoomout-icon svg,\n.apexcharts-reset-icon svg,\n.apexcharts-menu-icon svg {\n fill: #6E8192;\n}\n\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(0.76)\n}\n\n.apexcharts-theme-dark .apexcharts-zoom-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomin-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomout-icon svg,\n.apexcharts-theme-dark .apexcharts-reset-icon svg,\n.apexcharts-theme-dark .apexcharts-pan-icon svg,\n.apexcharts-theme-dark .apexcharts-selection-icon svg,\n.apexcharts-theme-dark .apexcharts-menu-icon svg,\n.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {\n fill: #f3f4f5;\n}\n\n.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {\n fill: #008FFB;\n}\n\n.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,\n.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,\n.apexcharts-theme-light .apexcharts-reset-icon:hover svg,\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg {\n fill: #333;\n}\n\n.apexcharts-selection-icon,\n.apexcharts-menu-icon {\n position: relative;\n}\n\n.apexcharts-reset-icon {\n margin-left: 5px;\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-reset-icon,\n.apexcharts-menu-icon {\n transform: scale(0.85);\n}\n\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon {\n transform: scale(0.7)\n}\n\n.apexcharts-zoomout-icon {\n margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n transform: scale(0.62);\n position: relative;\n left: 1px;\n top: 0px;\n}\n\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6E8192;\n stroke-width: 2;\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n stroke: #008FFB;\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n stroke: #333;\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0px 6px 2px 6px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: 0.15s ease all;\n pointer-events: none;\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n opacity: 1;\n pointer-events: all;\n transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer;\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n background: #eee;\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n background: rgba(0, 0, 0, 0.7);\n color: #fff;\n}\n\n@media screen and (min-width: 768px) {\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1;\n }\n}\n\n.apexcharts-datalabel.apexcharts-element-hidden {\n opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabels,\n.apexcharts-datalabel,\n.apexcharts-datalabel-label,\n.apexcharts-datalabel-value {\n cursor: default;\n pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease;\n}\n\n.apexcharts-canvas .apexcharts-element-hidden {\n opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n opacity: 0;\n}\n\n.apexcharts-gridline,\n.apexcharts-annotation-rect,\n.apexcharts-xaxis-annotation-label,\n.apexcharts-yaxis-annotation-label,\n.apexcharts-point-annotation-label,\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line,\n.apexcharts-zoom-rect,\n.apexcharts-toolbar svg,\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-radar-series path,\n.apexcharts-radar-series polygon {\n pointer-events: none;\n}\n\n\n/* markers */\n\n.apexcharts-marker {\n transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n\n/* Resize generated styles */\n\n@keyframes resizeanim {\n from {\n opacity: 0;\n }\n to {\n opacity: 0;\n }\n}\n\n.resize-triggers {\n animation: 1ms resizeanim;\n visibility: hidden;\n opacity: 0;\n}\n\n.resize-triggers,\n.resize-triggers>div,\n.contract-trigger:before {\n content: " ";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n overflow: hidden;\n}\n\n.resize-triggers>div {\n background: #eee;\n overflow: auto;\n}\n\n.contract-trigger:before {\n width: 200%;\n height: 200%;\n}',i?o.prepend(e.css):a.head.appendChild(e.css))}var l=e.create(e.w.config.series,{});if(!l)return t(e);e.mount(l).then((function(){"function"==typeof e.w.config.chart.events.mounted&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(l)})).catch((function(e){n(e)}))}else n(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var n=this.w;new Be(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,this.responsive.checkResponsiveConfig(t),n.config.xaxis.convertedCatToNumeric&&new H(n.config).convertCatToNumericXaxis(n.config,this.ctx),null===this.el)return r.animationEnded=!0,null;if(this.core.setupElements(),"treemap"===n.config.chart.type&&(n.config.grid.show=!1,n.config.yaxis[0].show=!1),0===r.svgWidth)return r.animationEnded=!0,null;var o=k.checkComboSeries(e);r.comboCharts=o.comboCharts,r.comboBarCount=o.comboBarCount;var i=e.every((function(e){return e.data&&0===e.data.length}));(0===e.length||i)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(e),this.theme.init(),new L(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!n.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),"category"!==n.config.xaxis.type&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=n.globals.minX,this.ctx.toolbar.maxX=n.globals.maxX),this.formatters.heatmapLabelFormatters(),new k(this).getLargestMarkerSize(),this.dimensions.plotCoords();var a=this.core.xySettings();this.grid.createGridMask();var s=this.core.plotChartType(e,a),l=new N(this);l.bringForward(),n.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition();var c={plot:{left:n.globals.translateX,top:n.globals.translateY,width:n.globals.gridWidth,height:n.globals.gridHeight}};return{elGraph:s,xyRatios:a,elInner:n.globals.dom.elGraphical,dimensions:c}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this,r=n.w;return new Promise((function(o,i){if(null===n.el)return i(new Error("Not enough data to display or target element not found"));(null===t||r.globals.allSeriesCollapsed)&&n.series.handleNoData(),"treemap"!==r.config.chart.type&&n.axes.drawAxis(r.config.chart.type,t.xyRatios),n.grid=new q(n);var a=n.grid.drawGrid();n.annotations=new T(n),n.annotations.drawImageAnnos(),n.annotations.drawTextAnnos(),"back"===r.config.grid.position&&a&&r.globals.dom.elGraphical.add(a.el);var s=new Z(e.ctx),l=new J(e.ctx);if(null!==a&&(s.xAxisLabelCorrections(a.xAxisTickWidth),l.setYAxisTextAlignments(),r.config.yaxis.map((function(e,t){-1===r.globals.ignoreYAxisIndexes.indexOf(t)&&l.yAxisTitleRotate(t,e.opposite)}))),"back"===r.config.annotations.position&&(r.globals.dom.Paper.add(r.globals.dom.elAnnotations),n.annotations.drawAxesAnnotations()),Array.isArray(t.elGraph))for(var c=0;c0&&r.globals.memory.methodsToExec.forEach((function(e){e.method(e.params,!1,e.context)})),r.globals.axisCharts||r.globals.noData||n.core.resizeNonAxisCharts(),o(n)}))}},{key:"destroy",value:function(){var e,t;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,e=this.parentResizeHandler,(t=He.get(e))&&(t.disconnect(),He.delete(e));var n=this.w.config.chart.id;n&&Apex._chartInstances.forEach((function(e,t){e.id===b.escapeString(n)&&Apex._chartInstances.splice(t,1)})),new Fe(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.w;return a.globals.selection=void 0,e.series&&(this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(e,n){return t.updateHelpers._extendSeries(e,n)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),a.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,n,r,o,i)}},{key:"updateSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,n)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w.config.series.slice();return r.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(r,t,n)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this;n.w.globals.dataChanged=!0,n.series.getPreviousPaths();for(var r=n.w.config.series.slice(),o=0;o0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addXaxisAnnotationExternal(e,t,r)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addYaxisAnnotationExternal(e,t,r)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addPointAnnotationExternal(e,t,r)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this;t&&(n=t),n.annotations.removeAnnotation(n,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new $(this.ctx);return t.getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new $(this.ctx);return t.getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new K(this.ctx).dataURI(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new K(this.ctx);return t.exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;"function"==typeof e&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=b.escapeString(e),n=Apex._chartInstances.filter((function(e){return e.id===t}))[0];return n&&n.chart}},{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),n=0;n2?o-2:0),a=2;a0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=f;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(f);t.Document=h;var g=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function m(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function S(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new u(e.data);else if(b(e))n=new d(e.data);else if(m(e)){var r=t?k(e.children):[],o=new g(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?k(e.children):[];var s=new f(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?k(e.children):[];var l=new h(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function k(e){for(var t=e.map((function(e){return S(e,!0)})),n=1;n=0||(o[n]=e[n]);return o}(e,["leaves"]);return new p(function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:p;return e.call(this,g(t))||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():d},i.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(e,t){o(this.getCharacterList(),f,e,t)},i.findEntityRanges=function(e,t){o(this.getCharacterList(),h,e,t)},r}(c(p));e.exports=m},6912:function(e,t,n){"use strict";function r(e){for(var t=1;t1||escape(e.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(e,t,n){return c.__create(e,t,n),this},s.mergeEntityData=function(e,t){return c.__mergeData(e,t),this},s.replaceEntityData=function(e,t){return c.__replaceData(e,t),this},s.addEntity=function(e){return c.__add(e),this},s.getEntity=function(e){return c.__get(e)},s.getAllEntities=function(){return c.__getAll()},s.loadWithEntities=function(e){return c.__loadWithEntities(e)},o.createFromBlockArray=function(e,t){var n=Array.isArray(e)?e:e.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new u:u.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:t||c,selectionBefore:a,selectionAfter:a})},o.createFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=e.split(t),r=n.map((function(e){return e=g(e),new S({key:d(),text:e,type:"unstyled",characterList:m(y(a.EMPTY,e.length))})}));return o.createFromBlockArray(r)},o.fromJS=function(e){return new o(r({},e,{blockMap:x(e.blockMap).map(o.createContentBlockFromJS),selectionBefore:new u(e.selectionBefore),selectionAfter:new u(e.selectionAfter)}))},o.createContentBlockFromJS=function(e){var t=e.characterList;return new S(r({},e,{data:b(e.data),characterList:null!=t?m((Array.isArray(t)?t:p(t)).map((function(e){return a.fromJS(e)}))):void 0}))},o}(w);e.exports=k},3483:function(e,t,n){"use strict";var r=n(4516),o=n(3393).Map,i={add:function(e,t,n){return a(e,t,n,!0)},remove:function(e,t,n){return a(e,t,n,!1)}};function a(e,t,n,i){var a=e.getBlockMap(),s=t.getStartKey(),l=t.getStartOffset(),c=t.getEndKey(),u=t.getEndOffset(),d=a.skipUntil((function(e,t){return t===s})).takeUntil((function(e,t){return t===c})).concat(o([[c,a.get(c)]])).map((function(e,t){var o,a;s===c?(o=l,a=u):(o=t===s?l:0,a=t===c?u:e.getLength());for(var d,p=e.getCharacterList();o0&&window.scrollTo(i.x,i.y+r+10)}else b(n)||y(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&u.setTop(o,u.getTop(o)+r+10)}}}},S._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),i=this.props.tree.size-1,a=w(this.props.selection,n);return this.props.tree.map((function(u,d){var h=u.get("leaves");if(0===h.size)return null;var g=h.size-1,m=h.map((function(o,u){var p=l.encode(n,d,u),f=o.get("start"),h=o.get("end");return c.createElement(s,{key:p,offsetKey:p,block:t,start:f,selection:a?e.props.selection:null,forceSelection:e.props.forceSelection,text:r.slice(f,h),styleSet:t.getInlineStyleAt(f),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:d===i&&u===g})})).toArray(),v=u.get("decoratorKey");if(null==v)return m;if(!e.props.decorator)return m;var y=x(e.props.decorator),b=y.getComponentForKey(v);if(!b)return m;var w=y.getPropsForKey(v),S=l.encode(n,d,0),k=h.first().get("start"),C=h.last().get("end"),E=r.slice(k,C),A=t.getEntityAt(u.get("start")),M=f.getHTMLDirIfDifferent(p.getDirection(E),e.props.direction),O={contentState:e.props.contentState,decoratedText:E,dir:M,start:k,end:C,blockKey:n,entityKey:A,offsetKey:S};return c.createElement(b,o({},w,O,{key:S}),m)})).toArray()},S.render=function(){var e=this,t=this.props,n=t.direction,r=t.offsetKey,o=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return c.createElement("div",{"data-offset-key":r,className:o,ref:function(t){return e._node=t}},this._renderChildren())},r}(c.Component);e.exports=S},5821:function(e,t,n){"use strict";var r=n(7418);function o(){return o=r||function(e){for(var t=1;t0&&window.scrollTo(i.x,i.y+r+10)}else{y(n)||v(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&d.setTop(o,d.getTop(o)+r+10)}}}},m.render=function(){var e=this,t=this.props,n=t.block,i=t.blockRenderMap,s=t.blockRendererFn,d=t.blockStyleFn,p=t.contentState,f=t.decorator,h=t.editorKey,g=t.editorState,m=t.customStyleFn,v=t.customStyleMap,y=t.direction,k=t.forceSelection,C=t.selection,E=t.tree,A=null;n.children.size&&(A=n.children.reduce((function(t,n){var o=c.encode(n,0,0),l=p.getBlockForKey(n),f=w(l,s),m=f.CustomComponent||r,v=x(l,i),y=v.Element,b=v.wrapperTemplate,k=S(l,h,o,d,f,null),C=a({},e.props,{tree:g.getBlockTree(n),blockProps:f.customProps,offsetKey:o,block:l});return t.push(u.createElement(y,k,u.createElement(m,C))),!b||function(e,t){var n=e.getNextSiblingKey();return!!n&&t.getBlockForKey(n).getType()===e.getType()}(l,p)||function(e,t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var d=s.value;if(d.type!==t)break;r.push(d)}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var p=r.reverse(),f=p[0].key;n.push(u.cloneElement(e,{key:"".concat(f,"-wrap"),"data-offset-key":c.encode(f,0,0)},p))}(b,y,t),t}),[]));var M=n.getKey(),O=c.encode(M,0,0),_=w(n,s),T=_.CustomComponent,D=null!=T?u.createElement(T,o({},this.props,{tree:g.getBlockTree(M),blockProps:_.customProps,offsetKey:O,block:n})):u.createElement(l,{block:n,children:A,contentState:p,customStyleFn:m,customStyleMap:v,decorator:f,direction:y,forceSelection:k,hasSelection:b(C,M),selection:C,tree:E});if(n.getParentKey())return D;var L=x(n,i).Element,I=S(n,h,O,d,_,this.wrapperRef);return u.createElement(L,I,D)},r}(u.Component);e.exports=k},3418:function(e,t,n){"use strict";var r=n(7907),o=n(2307),i=n(2146),a=n(4289),s=n(5399),l=n(4856),c=n(4507),u=n(4907),d=n(1244),p=n(2128),f=n(2045),h=l.isBrowser("IE"),g=!1,m=!1,v=null,y={onCompositionStart:function(e){m=!0,function(e){v||(v=new r(u(e))).start()}(e)},onCompositionEnd:function(e){g=!1,m=!1,setTimeout((function(){g||y.resolveComposition(e)}),20)},onSelect:c,onKeyDown:function(e,t){if(!m)return y.resolveComposition(e),void e._onKeyDown(t);t.which!==s.RIGHT&&t.which!==s.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===s.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!m){var t=f(v).stopAndFlushMutations();v=null,g=!0;var n=a.set(e._latestEditorState,{inCompositionMode:!1});if(e.exitCurrentMode(),t.size){var r=n.getCurrentContent();t.forEach((function(e,t){var s=i.decode(t),l=s.blockKey,c=s.decoratorKey,u=s.leafKey,d=n.getBlockTree(l).getIn([c,"leaves",u]),f=d.start,h=d.end,g=n.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:f,focusOffset:h,isBackward:!1}),m=p(r,g),v=r.getBlockForKey(l).getInlineStyleAt(f);r=o.replaceText(r,g,e,v,m),n=a.set(n,{currentContent:r})}));var s=d(n,u(e)).selectionState;e.restoreEditorDOM();var l=h?a.forceSelection(n,s):a.acceptSelection(n,s);e.update(a.push(l,r,"insert-characters"))}else e.update(n)}}};e.exports=y},8795:function(e,t,n){"use strict";var r=n(7418);function o(){return o=r||function(e){for(var t=1;t=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),l=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||l!==c||n.mustForceSelection()},a.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,r=e.blockStyleFn,a=e.customStyleMap,u=e.customStyleFn,h=e.editorState,g=e.editorKey,m=e.preventScroll,v=e.textDirectionality,y=h.getCurrentContent(),b=h.getSelection(),x=h.mustForceSelection(),w=h.getDecorator(),S=p(h.getDirectionMap()),k=y.getBlocksAsArray(),C=[],E=null,A=null,M=0;ME,j)));var U=L||s,W={className:Y,"data-block":!0,"data-editor":g,"data-offset-key":P,key:_};void 0!==N&&(W=i({},W,{contentEditable:N,suppressContentEditableWarning:!0}));var X=c.createElement(F,W,c.createElement(U,o({},z,{key:_})));C.push({block:X,wrapperTemplate:B,key:_,offsetKey:P}),E=B?O.getDepth():null,A=B}for(var V=[],G=0;G0){if(e.props.handleDroppedFiles&&d(e.props.handleDroppedFiles(f,m)))return;l(m,(function(t){t&&e.update(g(u,f,t))}))}else{var v=e._internalDrag?"internal":"external";e.props.handleDrop&&d(e.props.handleDrop(f,n,v))||(e._internalDrag?e.update(function(e,t){var n=o.moveText(e.getCurrentContent(),e.getSelection(),t);return i.push(e,n,"insert-fragment")}(u,f)):e.update(g(u,f,n.getText()))),h(e)}}}};function h(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:u(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function g(e,t,n){var r=o.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return i.push(e,r,"insert-fragment")}e.exports=f},9394:function(e,t,n){"use strict";var r=n(4856),o=n(6396),i=n(3421),a=n(6155),s=n(9328),l=n(3935),c=n(9499),u=n(981),d=n(2186),p=n(9971),f=n(6397),h=n(6089),g=n(4507),m=r.isBrowser("Chrome"),v=r.isBrowser("Firefox"),y=m||v?g:function(e){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:l,onDragOver:c,onDragStart:u,onFocus:d,onInput:p,onKeyDown:f,onPaste:h,onSelect:g,onMouseUp:y,onKeyUp:y};e.exports=b},4083:function(e,t,n){"use strict";var r=n(1850).unstable_flushControlled;e.exports=r},2282:function(e,t,n){"use strict";var r=n(7418);function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(52),s=n(9196),l=n(3759),c=n(6581),u=n(5412).setDraftEditorSelection,d=function(e){var t,n;function d(){for(var t,n=arguments.length,r=new Array(n),a=0;a0)return" "+e}else if(t3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=f(e,t),i=h(o,t);return c(i,i.getSelectionAfter(),n,r)},removeRange:function(e,t,n){var r,o,i,s;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),i=e.getBlockForKey(r),s=e.getBlockForKey(o);var l=t.getStartOffset(),c=t.getEndOffset(),u=i.getEntityAt(l),d=s.getEntityAt(c-1);if(r===o&&u&&u===d){var p=a(e.getEntityMap(),i,s,t,n);return h(e,p)}var g=f(e,t);return h(g,t)},splitBlock:function(e,t){var n=f(e,t),r=h(n,t);return g(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return p(e,t,(function(e){return e.merge({type:n,depth:0})}))},setBlockData:function(e,t,n){return p(e,t,(function(e){return e.merge({data:n})}))},mergeBlockData:function(e,t,n){return p(e,t,(function(e){return e.merge({data:e.getData().merge(n)})}))},applyEntity:function(e,t,n){var r=f(e,t);return i(r,t,n)}};e.exports=v},2146:function(e){"use strict";var t="-",n={encode:function(e,n,r){return e+t+n+t+r},decode:function(e){var n=e.split(t).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(t),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};e.exports=n},5712:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(8777),i=n(7953),a=n(7841),s=n(5027),l=n(9769),c=n(8642),u=n(3393),d=n(5283),p=u.List,f=u.Repeat,h=c("draft_tree_data_support"),g=h?i:o,m={processHTML:function(e,t){return a(e,l,t)},processText:function(e,t,n){return e.reduce((function(e,o,i){o=d(o);var a=s(),l={key:a,type:n,text:o,characterList:p(f(t,o.length))};if(h&&0!==i){var c=i-1;l=function(e){for(var t=1;t0)||(delete u.children,n.push(u));var l=i.children;Array.isArray(l)||a(!1),o=o.concat([].concat(l.reverse()))}var c,u}(t),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t=[],n=[];return e.blocks.forEach((function(e){var o=s(e),a=e.depth||0,l=r({},e,{children:[]});if(o){var c=n[0];if(null==c&&0===a)t.push(l);else if(null==c||c.depth=a;)n.shift(),c=n[0];a>0?c.children.push(l):t.push(l)}}else t.push(l)})),r({},e,{blocks:t})}};e.exports=l},2119:function(e,t,n){"use strict";n(3620),e.exports={isValidBlock:function(e,t){var n=e.getKey(),r=e.getParentKey();if(null!=r&&!t.get(r).getChildKeys().includes(n))return!1;if(!e.getChildKeys().map((function(e){return t.get(e)})).every((function(e){return e.getParentKey()===n})))return!1;var o=e.getPrevSiblingKey();if(null!=o&&t.get(o).getNextSiblingKey()!==n)return!1;var i=e.getNextSiblingKey();return(null==i||t.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=e.text&&e.getChildKeys().size>0)},isConnectedTree:function(e){var t=e.toArray().filter((function(e){return null==e.getParentKey()&&null==e.getPrevSiblingKey()}));if(1!==t.length)return!1;for(var n=0,r=t.shift().getKey(),o=[];null!=r;){var i=e.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var l=a.map((function(t){return e.get(t)})).find((function(e){return null==e.getPrevSiblingKey()}));if(null==l)return!1;r=l.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===e.size},isValidTree:function(e){var t=this;return!!e.toArray().every((function(n){return t.isValidBlock(n,e)}))&&this.isConnectedTree(e)}}},3337:function(e,t,n){"use strict";var r,o=n(7902),i=n(3393),a=n(2045),s=i.OrderedMap,l={getDirectionMap:function(e,t){r?r.reset():r=new o;var n=e.getBlockMap(),l=n.valueSeq().map((function(e){return a(r).getDirection(e.getText())})),c=s(n.keySeq().zip(l));return null!=t&&i.is(t,c)?t:c}};e.exports=l},4289:function(e,t,n){"use strict";function r(e){for(var t=1;t0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):x(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r0?o.getInlineStyleAt(r-1):x(e,n)}(t,n)},e.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(e,t){return v(e,t,!1)},t.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),v(e,t,!0)},t.moveSelectionToEnd=function(e){var n=e.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return t.acceptSelection(e,new l({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},t.moveFocusToEnd=function(e){var n=t.moveSelectionToEnd(e);return t.forceSelection(n,n.getSelection())},t.push=function(e,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.getCurrentContent()===n)return e;var i=s.getDirectionMap(n,e.getDirectionMap());if(!e.getAllowUndo())return t.set(e,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=e.getSelection(),l=e.getCurrentContent(),c=e.getUndoStack(),u=n;a!==l.getSelectionAfter()||b(e,r)?(c=c.push(l),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",l.getSelectionBefore()));var d=e.getInlineStyleOverride(),f=["adjust-depth","change-block-type","split-block"];-1===f.indexOf(r)&&(d=null);var h={currentContent:u,directionMap:i,undoStack:c,redoStack:p(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:d};return t.set(e,h)},t.undo=function(e){if(!e.getAllowUndo())return e;var n=e.getUndoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=s.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:e.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},t.redo=function(e){if(!e.getAllowUndo())return e;var n=e.getRedoStack(),r=n.peek();if(!r)return e;var o=e.getCurrentContent(),i=s.getDirectionMap(r,e.getDirectionMap());return t.set(e,{currentContent:r,directionMap:i,undoStack:e.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.getImmutable=function(){return this._immutable},t}();function v(e,t,n){return m.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function y(e,t){return e.getBlockMap().map((function(n){return i.generate(e,n,t)})).toOrderedMap()}function b(e,t){return t!==e.getLastChangeType()||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}function x(e,t){var n=e.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).skipUntil((function(e,t){return e.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):u()}e.exports=m},7387:function(e,t,n){"use strict";var r=n(4856),o=n(7797),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return i&&e.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(e){return i?!!e.metaKey&&!e.altKey:a.isCtrlKeyCommand(e)},isSoftNewlineEvent:o};e.exports=a},54:function(){},1947:function(e,t,n){"use strict";var r=n(2307),o=n(4289),i=n(1665),a=n(2045),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some((function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()}))},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t,n){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),l=n.merge({blockMap:a,selectionAfter:t});if(l!==n)return o.push(e,l,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?o.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(e){return new r({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(3393).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},1665:function(e){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil((function(e,t){return t===o})).takeUntil((function(e,t){return t===i})).concat([[i,a.get(i)]]).map((function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)}));return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},2835:function(e,t,n){"use strict";var r=n(4516);e.exports=function(e,t,n,o){for(var i=t,a=e.getCharacterList();i1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(j).some((function(n){e.classList.contains(n)&&(t=j[n])})),t},F=function(e){if(!x(e))return!1;var t=e;if(!t.href||"http:"!==t.protocol&&"https:"!==t.protocol&&"mailto:"!==t.protocol&&"tel:"!==t.protocol)return!1;try{return new d(t.href),!0}catch(e){return!1}},H=function(e){if(!k(e))return!1;var t=e;return!(!t.attributes.getNamedItem("src")||!t.attributes.getNamedItem("src").value)},Y=function(e,t){if(!S(e))return t;var n=e,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return t.withMutations((function(e){D.indexOf(r)>=0?e.add("BOLD"):L.indexOf(r)>=0&&e.remove("BOLD"),"italic"===o?e.add("ITALIC"):"normal"===o&&e.remove("ITALIC"),"underline"===i&&e.add("UNDERLINE"),"line-through"===i&&e.add("STRIKETHROUGH"),"none"===i&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}))},U=function(e){return"ul"===e||"ol"===e},W=function(){function e(e,t){i(this,"characterList",v()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",u),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=e,this.disambiguate=t}var t=e.prototype;return t.clear=function(){this.characterList=v(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=u,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(e){var t;return this.contentBlocks=[],this.currentDepth=0,(t=this.blockConfigs).push.apply(t,this._toBlockConfigs([e],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return 0===this.contentBlocks.length&&(C?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key||f(),n=o({key:t,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:v(),prevSibling:null,nextSibling:null,childConfigs:[]},e);return this.characterList=v(),this.currentBlockType="unstyled",this.currentText="",n},t._toBlockConfigs=function(e,t){for(var n=[],r=0;r(n=void 0!==(r=this.characterList.reverse().findEntry((function(e){return null!==e.getEntity()})))?Math.max(n,e-r[0]):n)?(this.currentText="",this.characterList=v()):(this.currentText=this.currentText.slice(t,n),this.characterList=this.characterList.slice(t,n))},t._addTextNode=function(e,t){var n=e.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(M,"")).replace(A," ")),this._appendText(n,t)},t._addBreakNode=function(e,t){w(e)&&this._appendText("\n",t)},t._addImgNode=function(e,t){if(k(e)){var n=e,r={};N.forEach((function(e){var t=n.getAttribute(e);t&&(r[e]=t)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",t):this._appendText("📷",t),this.currentEntity=null}},t._addAnchorNode=function(e,t,n){if(x(e)){var r=e,o={};I.forEach((function(e){var t=r.getAttribute(e);t&&(o[e]=t)})),o.url=new d(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),t.push.apply(t,this._toBlockConfigs(Array.from(e.childNodes),n)),this.currentEntity=null}},t._toContentBlocks=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.length-1,r=0;r<=n;r++){var i=e[r];i.parent=t,i.prevSibling=r>0?e[r-1].key:null,i.nextSibling=r1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=t(e=e.trim().replace(E,"").replace(O," ").replace(_,"").replace(T,""));if(!r)return null;var o=z(n),i=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null};return new W(o,i).addDOMNode(r).getContentBlocks()}},9607:function(e,t,n){"use strict";function r(e){for(var t=1;t0})),o=y&&!n?c.fromRawStateToRawTreeState(e).blocks:e.blocks;if(!y)return function(e,t){return w(e.map((function(e){var n=new i(S(e,t));return[n.getKey(),n]})))}(n?c.fromRawTreeStateToRawState(e).blocks:o,t);var s=function(e,t){return e.map(C).reduce((function(n,o,i){Array.isArray(o.children)||v(!1);var s=o.children.map(C),l=new a(r({},S(o,t),{prevSibling:0===i?null:e[i-1].key,nextSibling:i===e.length-1?null:e[i+1].key,children:b(s.map((function(e){return e.key})))}));n=n.set(l.getKey(),l);for(var c=E([],s,l);c.length>0;){var u=c.pop(),d=u.parentRef,p=d.getChildKeys(),f=p.indexOf(u.key),h=Array.isArray(u.children);if(!h){h||v(!1);break}var g=u.children.map(C),m=new a(r({},S(u,t),{parent:d.getKey(),children:b(g.map((function(e){return e.key}))),prevSibling:0===f?null:p.get(f-1),nextSibling:f===p.size-1?null:p.get(f+1)}));n=n.set(m.getKey(),m),c=E(c,g,m)}return n}),w())}(o,t);return s}(e,t),o=n.isEmpty()?new u:u.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:t,selectionBefore:o,selectionAfter:o})}},6019:function(e,t,n){"use strict";var r=n(4516),o=n(3393).List;e.exports=function(e,t){var n=e.map((function(e,n){var o=t[n];return r.create({style:e,entity:o})}));return o(n)}},7134:function(e,t,n){"use strict";var r=n(8935).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach((function(t){for(var o=r(e,0,t.offset).length,i=o+r(e,t.offset,t.length).length,a=o;a=f?r.length:0),a=t.get("end"),s=a+(a>=f?r.length:0),l=n.get("start"),c=n.get("end"),u=n.get("decoratorKey");return t.get("decoratorKey")!==u||t.get("leaves").size!==n.get("leaves").size||i!==l||s!==c||null!=u&&c-l!=a-o}))}if(v||(g=r,v=d&&("'"==g||"/"==g)),v||(v=c(m.getDirectionMap()).get(h)!==c(n.getDirectionMap()).get(h)),v)return t.preventDefault(),m=o.set(m,{forceSelection:!0}),void e.update(m);m=o.set(m,{nativelyRenderedContent:m.getCurrentContent()}),e._pendingStateFromBeforeInput=m,u((function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)}))}}},3421:function(e,t,n){"use strict";var r=n(4289),o=n(7476),i=n(1003);e.exports=function(e,t){var n=t.currentTarget.ownerDocument;if(!Boolean(e.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=e.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var l=e._latestEditorState,c=l.getSelection();if(c.getHasFocus()){var u=c.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(r.acceptSelection(l,u))}}},6155:function(e,t,n){"use strict";var r=n(4289);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},9328:function(e,t,n){"use strict";var r=n(4882);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},3935:function(e,t,n){"use strict";var r=n(2307),o=n(4289),i=n(9051),a=n(4882),s=n(9749),l=n(809);e.exports=function(e,t){var n,c=e._latestEditorState,u=c.getSelection(),d=t.target;if(u.isCollapsed())t.preventDefault();else{if(l(d)){var p=d;n=s(i.getScrollParent(p))}var f=a(c);e.setClipboard(f),e.setMode("cut"),setTimeout((function(){e.restoreEditorDOM(n),e.exitCurrentMode(),e.update(function(e){var t=r.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return o.push(e,t,"remove-range")}(c))}),0)}}},9499:function(e){"use strict";e.exports=function(e,t){e.setMode("drag"),t.preventDefault()}},981:function(e){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},2186:function(e,t,n){"use strict";var r=n(4289),o=n(4856);e.exports=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),o.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},9971:function(e,t,n){"use strict";var r=n(2307),o=n(2146),i=n(4289),a=n(4856),s=n(9780).notEmptyKey,l=n(9270),c=n(2800),u=n(2045),d=a.isEngine("Gecko");e.exports=function(e,t){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,p=n.isCollapsed,f=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!f){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var m=a.textContent,v=e._latestEditorState,y=u(l(a)),b=o.decode(y),x=b.blockKey,w=b.decoratorKey,S=b.leafKey,k=v.getBlockTree(x).getIn([w,"leaves",S]),C=k.start,E=k.end,A=v.getCurrentContent(),M=A.getBlockForKey(x),O=M.getText().slice(C,E);if(m.endsWith("\n\n")&&(m=m.slice(0,-1)),m!==O){var _,T,D,L,I=v.getSelection(),N=I.merge({anchorOffset:C,focusOffset:E,isBackward:!1}),j=M.getEntityAt(C),P=s(j)?A.getEntity(j):null,z="MUTABLE"===(null!=P?P.getMutability():null),R=z?"spellcheck-change":"apply-entity",B=r.replaceText(A,N,m,M.getInlineStyleAt(C),z?M.getEntityAt(C):null);if(d)_=n.anchorOffset,T=n.focusOffset,L=(D=C+Math.min(_,T))+Math.abs(_-T),_=D,T=L;else{var F=m.length-O.length;D=I.getStartOffset(),L=I.getEndOffset(),_=p?L+F:D,T=L+F}var H=B.merge({selectionBefore:A.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:_,focusOffset:T})});e.update(i.push(v,H,R))}else{var Y=t.nativeEvent.inputType;if(Y){var U=function(e,t){return"deleteContentBackward"===e?c(t):t}(Y,v);if(U!==v)return e.restoreEditorDOM(),void e.update(U)}}}}},6397:function(e,t,n){"use strict";var r=n(2307),o=n(4289),i=n(7387),a=n(5399),s=n(3751),l=n(4856),c=n(2177),u=n(9779),d=n(1050),p=n(3767),f=n(7978),h=n(7217),g=n(8425),m=n(2800),v=n(3998),y=n(3318),b=n(7051),x=i.isOptionKeyCommand,w=l.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,i=e._latestEditorState;function l(n){var r=e.props[n];return!!r&&(r(t),!0)}switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&c(e.props.handleReturn(t,i)))return;break;case a.ESC:if(t.preventDefault(),l("onEscape"))return;break;case a.TAB:if(l("onTab"))return;break;case a.UP:if(l("onUpArrow"))return;break;case a.RIGHT:if(l("onRightArrow"))return;break;case a.DOWN:if(l("onDownArrow"))return;break;case a.LEFT:if(l("onLeftArrow"))return;break;case a.SPACE:w&&x(t)&&t.preventDefault()}var S=e.props.keyBindingFn(t);if(null!=S&&""!==S)if("undo"!==S){if(t.preventDefault(),!e.props.handleKeyCommand||!c(e.props.handleKeyCommand(S,i,t.timeStamp))){var k=function(e,t,n){switch(e){case"redo":return o.redo(t);case"delete":return v(t);case"delete-word":return p(t);case"backspace":return m(t);case"backspace-word":return d(t);case"backspace-to-start-of-line":return u(t,n);case"split-block":return f(t);case"transpose-characters":return y(t);case"move-selection-to-start-of-block":return g(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(S,i,t);k!==i&&e.update(k)}}else b(t,i,e.update);else if(n===a.SPACE&&w&&x(t)){var C=r.replaceText(i.getCurrentContent(),i.getSelection()," ");e.update(o.push(i,C,"insert-characters"))}}},6089:function(e,t,n){"use strict";var r=n(329),o=n(4516),i=n(4891),a=n(2307),s=n(5712),l=n(4289),c=n(1947),u=n(2128),d=n(1738),p=n(2177),f=n(4300);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return l.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new i(t.clipboardData);if(!n.isRichText()){var g=n.getFiles(),m=n.getText();if(g.length>0){if(e.props.handlePastedFiles&&p(e.props.handlePastedFiles(g)))return;return void d(g,(function(t){if(t=t||m){var n=e._latestEditorState,i=f(t),d=o.create({style:n.getCurrentInlineStyle(),entity:u(n.getCurrentContent(),n.getSelection())}),p=c.getCurrentBlockType(n),h=s.processText(i,d,p),g=r.createFromArray(h),v=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);e.update(l.push(n,v,"insert-fragment"))}}))}}var v=[],y=n.getText(),b=n.getHTML(),x=e._latestEditorState;if(e.props.formatPastedText){var w=e.props.formatPastedText(y,b);y=w.text,b=w.html}if(!e.props.handlePastedText||!p(e.props.handlePastedText(y,b,x))){if(y&&(v=f(y)),!e.props.stripPastedStyles){var S,k=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&k){if(-1!==(null===(S=b)||void 0===S?void 0:S.indexOf(e.getEditorKey()))||1===v.length&&1===k.size&&k.first().getText()===y)return void e.update(h(e._latestEditorState,k))}else if(k&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every((function(t,n){return t.getText()===e[n]}))}(v,k))return void e.update(h(e._latestEditorState,k));if(b){var C=s.processHTML(b,e.props.blockRenderMap);if(C){var E=C.contentBlocks,A=C.entityMap;if(E){var M=r.createFromArray(E);return void e.update(h(e._latestEditorState,M,A))}}}e.setClipboard(null)}if(v.length){var O=o.create({style:x.getCurrentInlineStyle(),entity:u(x.getCurrentContent(),x.getSelection())}),_=c.getCurrentBlockType(x),T=s.processText(v,O,_),D=r.createFromArray(T);e.update(h(e._latestEditorState,D))}}}},4507:function(e,t,n){"use strict";var r=n(7432),o=n(4289),i=n(4907),a=n(1244);e.exports=function(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(t.toJS())})}}else{var n=e.props.editorState,s=a(n,i(e)),l=s.selectionState;l!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,l):o.acceptSelection(n,l),e.update(n))}}},6265:function(e,t,n){"use strict";var r=n(589),o=n(8935).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges((function(e){return!!e.getEntity()}),(function(i,a){var s=e.getText(),l=e.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[r.stringify(l)])})})),n}},1487:function(e,t,n){"use strict";var r=n(8935),o=n(9407),i=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map((function(e){return e.getStyle()})).toList(),n=t.flatten().toSet().map((function(n){return function(e,t,n){var s=[],l=t.map((function(e){return e.has(n)})).toList();return o(l,i,a,(function(t,o){var i=e.getText();s.push({offset:r.strlen(i.slice(0,t)),length:r.strlen(i.slice(t,o)),style:n})})),s}(e,t,n)}));return Array.prototype.concat.apply(s,n.toJS())}},8182:function(e,t,n){"use strict";var r=n(8935),o=n(5795),i=n(6092),a=n(3759);function s(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a=0;h--)if(!(null!=f&&h>0&&r.isSurrogatePair(f,h-1))){if(e.setStart(d,h),!s(i(e),n))break;c=d,u=h}if(-1===h||0===d.childNodes.length)break;p=l(d=d.childNodes[h])}return e.setStart(c,u),e}},9270:function(e,t,n){"use strict";var r=n(5795),o=n(3578);e.exports=function(e){for(var t=e;t&&t!==r(e).documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}},9407:function(e){"use strict";e.exports=function(e,t,n,r){if(e.size){var o=0;e.reduce((function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i})),n(e.last())&&r(o,e.count())}}},5027:function(e){"use strict";var t={},n=Math.pow(2,24);e.exports=function(){for(var e;void 0===e||t.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*n).toString(32);return t[e]=!0,e}},1446:function(e,t,n){"use strict";var r=n(5195),o=n(4994),i=n(3759);function a(e,t,n,a,s,l,c){var u=n.getStartOffset(),d=n.getEndOffset(),p=e.__get(s).getMutability(),f=c?u:d;if("MUTABLE"===p)return n;var h=o(t,s).filter((function(e){return f<=e.end&&f>=e.start}));1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});l||(c?d=g.end:u=g.start);var m=r.getRemovalRange(u,d,t.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),l=t.getEntityAt(i),c=n.getEntityAt(s-1);if(!l&&!c)return r;var u=r;if(l&&l===c)u=a(e,t,u,o,l,!0,!0);else if(l&&c){var d=a(e,t,u,o,l,!1,!0),p=a(e,n,u,o,c,!1,!1);u=u.merge({anchorOffset:d.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(l){var f=a(e,t,u,o,l,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(c){var h=a(e,n,u,o,c,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u}},4907:function(e,t,n){"use strict";var r=n(3759),o=n(717);e.exports=function(e){var t=e.editorContainer;return t||r(!1),o(t.firstChild)||r(!1),t.firstChild}},8687:function(e,t,n){"use strict";var r=n(8555),o=n(4017);e.exports=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=o(e,t).getBlockMap(),c=l.keySeq(),u=c.indexOf(n),d=c.indexOf(a)+1;return r(l.slice(u,d).map((function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):e})))}},5795:function(e){"use strict";e.exports=function(e){return e&&e.ownerDocument?e.ownerDocument:document}},1714:function(e,t,n){"use strict";var r=n(7387),o=n(5399),i=n(4856),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),l=r.hasCommandModifier,c=r.isCtrlKeyCommand;function u(e){return a&&e.altKey||c(e)}e.exports=function(e){switch(e.keyCode){case 66:return l(e)?"bold":null;case 68:return c(e)?"delete":null;case 72:return c(e)?"backspace":null;case 73:return l(e)?"italic":null;case 74:return l(e)?"code":null;case 75:return a&&c(e)?"secondary-cut":null;case 77:case 79:return c(e)?"split-block":null;case 84:return a&&c(e)?"transpose-characters":null;case 85:return l(e)?"underline":null;case 87:return a&&c(e)?"backspace-word":null;case 89:return c(e)?a?"secondary-paste":"redo":null;case 90:return function(e){return l(e)?e.shiftKey?"redo":"undo":null}(e)||null;case o.RETURN:return"split-block";case o.DELETE:return function(e){return!a&&e.shiftKey?null:u(e)?"delete-word":"delete"}(e);case o.BACKSPACE:return function(e){return l(e)&&a?"backspace-to-start-of-line":u(e)?"backspace-word":"backspace"}(e);case o.LEFT:return s&&l(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&l(e)?"move-selection-to-end-of-block":null;default:return null}}},1244:function(e,t,n){"use strict";var r=n(8101);e.exports=function(e,t){var n=t.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,t,o,i,a,s)}},8101:function(e,t,n){"use strict";var r=n(9270),o=n(3578),i=n(4486),a=n(3759),s=n(4368),l=n(2045);function c(e,t,n){var i=t,c=r(i);if(null!=c||e&&(e===i||e.firstChild===i)||a(!1),e===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var d=null;if(null!=c)d=c;else{var p=function(e){for(;e.firstChild&&(s(e.firstChild)&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);d=l(o(p))}return{key:d,offset:0}}var f=i.childNodes[n-1],h=null,g=null;if(o(f)){var m=function(e){for(;e.lastChild&&(s(e.lastChild)&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(f);h=l(o(m)),g=u(m)}else h=l(c),g=u(f);return{key:h,offset:g}}function u(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,s){var u=n.nodeType===Node.TEXT_NODE,d=a.nodeType===Node.TEXT_NODE;if(u&&d)return{selectionState:i(e,l(r(n)),o,l(r(a)),s),needsRecovery:!1};var p=null,f=null,h=!0;return u?(p={key:l(r(n)),offset:o},f=c(t,a,s)):d?(f={key:l(r(a)),offset:s},p=c(t,n,o)):(p=c(t,n,o),f=c(t,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,p.key,p.offset,f.key,f.offset),needsRecovery:h}}},2128:function(e,t,n){"use strict";var r=n(9780).notEmptyKey;function o(e,t){return r(t)&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1))!==e.getBlockForKey(r).getEntityAt(i)?null:o(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),l=e.getBlockForKey(a);return n=s===l.getLength()?null:l.getEntityAt(s),o(e.getEntityMap(),n)}},4882:function(e,t,n){"use strict";var r=n(8687);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},9506:function(e,t,n){"use strict";var r=n(7953);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var o=e.getParentKey();if(!o)return null;for(var i=t.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?t.get(a):null}return i?i.getNextSiblingKey():null}},6495:function(e){"use strict";e.exports=function(e){return Object.keys(e).map((function(t){return e[t]}))}},8056:function(e,t,n){"use strict";var r=n(6092);e.exports=function(e){var t=r(e),n=0,o=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var l=t[0];n=l.top,o=l.right,i=l.bottom,a=l.left}for(var c=1;c6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(o),c=l.getText(),u=l.getCharacterList(),d=o,p=i+r.getText().length,f=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var h=l.getType();c&&"unstyled"===h&&(h=r.getType());var g=l.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(u,r.getCharacterList(),i),type:h,data:f});return e.merge({blockMap:n.set(o,g),selectionBefore:t,selectionAfter:t.merge({anchorKey:d,anchorOffset:p,focusKey:d,focusOffset:p,isBackward:!1})})},d=function(e,t,n,i,a,s){var l=n.first()instanceof o,u=[],d=i.size,p=n.get(a),f=i.first(),h=i.last(),g=h.getLength(),m=h.getKey(),v=l&&(!p.getChildKeys().isEmpty()||!f.getChildKeys().isEmpty());n.forEach((function(e,t){t===a?(v?u.push(e):u.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,s,i)),i.slice(v?0:1,d-1).forEach((function(e){return u.push(e)})),u.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(e,s,i))):u.push(e)}));var y=r.createFromArray(u);return l&&(y=function(e,t,n,r){return e.withMutations((function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),u=l[l.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([u,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],u),l.forEach((function(e){return t.setIn([e,"parent"],s)})),s){var d=e.get(s).getChildKeys(),p=d.indexOf(o)+1,f=d.toArray();f.splice.apply(f,[p,0].concat(l)),t.setIn([s,"children"],c(f))}}))}(y,0,p,f)),e.merge({blockMap:y,selectionBefore:t,selectionAfter:t.merge({anchorKey:m,anchorOffset:g,focusKey:m,focusOffset:g,isBackward:!1})})};e.exports=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";t.isCollapsed()||s(!1);var i=e.getBlockMap(),a=l(n),c=t.getStartKey(),p=t.getStartOffset(),f=i.get(c);return f instanceof o&&(f.getChildKeys().isEmpty()||s(!1)),1===a.size?u(e,t,i,a.first(),c,p,r):d(e,t,i,a,c,p)}},779:function(e){"use strict";e.exports=function(e,t,n){var r=e;if(n===r.count())t.forEach((function(e){r=r.push(e)}));else if(0===n)t.reverse().forEach((function(e){r=r.unshift(e)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(t,i).toList()}return r}},8467:function(e,t,n){"use strict";var r=n(3393),o=n(779),i=n(3759),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return e;var l=e.getBlockMap(),c=t.getStartKey(),u=t.getStartOffset(),d=l.get(c),p=d.getText(),f=d.merge({text:p.slice(0,u)+n+p.slice(u,d.getLength()),characterList:o(d.getCharacterList(),a(r,s).toList(),u)}),h=u+s;return e.merge({blockMap:l.set(c,f),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},4368:function(e){"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&e.nodeType===Node.ELEMENT_NODE}},2177:function(e){"use strict";e.exports=function(e){return"handled"===e||!0===e}},8241:function(e,t,n){"use strict";var r=n(4368);e.exports=function(e){return!(!e||!e.ownerDocument)&&r(e)&&"A"===e.nodeName}},6581:function(e,t,n){"use strict";var r=n(4368);e.exports=function(e){return!(!e||!e.ownerDocument)&&r(e)&&"BR"===e.nodeName}},717:function(e){"use strict";e.exports=function(e){return!(!e||!e.ownerDocument)&&(e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement)}},5039:function(e,t,n){"use strict";var r=n(4368);e.exports=function(e){return!(!e||!e.ownerDocument)&&r(e)&&"IMG"===e.nodeName}},809:function(e){"use strict";e.exports=function(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}},258:function(e){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some((function(e){return o===e.get("start")?(i=!0,!0):oi){var l=r.getKeyBefore(o);null==l?a=o:(a=l,s=r.getBlockForKey(l).getText().length)}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},9417:function(e,t,n){"use strict";n(3620),e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},8555:function(e,t,n){"use strict";var r=n(7953),o=n(5027),i=n(3393).OrderedMap;e.exports=function(e){return e.first()instanceof r?function(e){var t,n={};return i(e.withMutations((function(e){e.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),l=r.getPrevSiblingKey(),c=r.getChildKeys(),u=r.getParentKey(),d=o();if(n[a]=d,s&&(e.get(s)?e.setIn([s,"prevSibling"],d):e.setIn([a,"nextSibling"],null)),l&&(e.get(l)?e.setIn([l,"nextSibling"],d):e.setIn([a,"prevSibling"],null)),u&&e.get(u)){var p=e.get(u).getChildKeys();e.setIn([u,"children"],p.set(p.indexOf(r.getKey()),d))}else e.setIn([a,"parent"],null),t&&(e.setIn([t.getKey(),"nextSibling"],d),e.setIn([a,"prevSibling"],n[t.getKey()])),t=e.get(a);c.forEach((function(t){e.get(t)?e.setIn([t,"parent"],d):e.setIn([a,"children"],r.getChildKeys().filter((function(e){return e!==t})))}))}))})).toArray().map((function(e){return[n[e.getKey()],e.set("key",n[e.getKey()])]})))}(e):function(e){return i(e.toArray().map((function(e){var t=o();return[t,e.set("key",t)]})))}(e)}},4017:function(e,t,n){"use strict";var r=n(4516),o=n(9407),i=n(3759);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,l=n=n&&(r={start:e,end:t})})),"object"!=typeof r&&i(!1),r}(a,u,n),f=p.start,h=p.end;ft;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e}(g.getCharacterList(),p,h):g.getCharacterList().slice(0,p).concat(m.getCharacterList().slice(h));var w=g.merge({text:g.getText().slice(0,p)+m.getText().slice(h),characterList:n}),S=v&&0===p&&0===h&&m.getParentKey()===d&&null==m.getPrevSiblingKey()?a([[d,null]]):i.toSeq().skipUntil((function(e,t){return t===d})).takeUntil((function(e,t){return t===f})).filter((function(e,t){return-1===y.indexOf(t)})).concat(a([[f,null]])).map((function(e,t){return t===d?w:null})),k=i.merge(S).filter((function(e){return!!e}));return v&&g!==m&&(k=function(e,t,n,r){return e.withMutations((function(i){if(s(t.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:u(e,i,r)})})),s(n.getKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:u(e,i,r)})})),l(t.getKey(),r).forEach((function(e){return s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,r),prevSibling:u(e,i,r)})}))})),s(t.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})})),s(t.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:c(e,i,r)})})),s(n.getNextSiblingKey(),i,(function(e){return e.merge({prevSibling:u(e,i,r)})})),s(n.getPrevSiblingKey(),i,(function(e){return e.merge({nextSibling:n.getNextSiblingKey()})})),l(n.getKey(),r).forEach((function(e){s(e,i,(function(e){return e.merge({children:e.getChildKeys().filter((function(e){return i.get(e)})),nextSibling:c(e,i,r),prevSibling:u(e,i,r)})}))})),function(e,t){var n=[];if(!e)return n;for(var r=o(e,t);r&&t.get(r);){var i=t.get(r);n.push(r),r=i.getParentKey()?o(i,t):null}return n}(n,r).forEach((function(e){return s(e,i,(function(e){return e.merge({nextSibling:c(e,i,r),prevSibling:u(e,i,r)})}))})),null==e.get(t.getKey())&&null!=e.get(n.getKey())&&n.getParentKey()===t.getKey()&&null==n.getPrevSiblingKey()){var a=t.getPrevSiblingKey();s(n.getKey(),i,(function(e){return e.merge({prevSibling:a})})),s(a,i,(function(e){return e.merge({nextSibling:n.getKey()})}));var d=a?e.get(a):null,p=d?d.getParentKey():null;if(t.getChildKeys().forEach((function(e){s(e,i,(function(e){return e.merge({parent:p})}))})),null!=p){var f=e.get(p);s(p,i,(function(e){return e.merge({children:f.getChildKeys().concat(t.getChildKeys())})}))}s(t.getChildKeys().find((function(t){return null===e.get(t).getNextSiblingKey()})),i,(function(e){return e.merge({nextSibling:t.getNextSiblingKey()})}))}}))}(k,g,m,i)),e.merge({blockMap:k,selectionBefore:t,selectionAfter:t.merge({anchorKey:d,anchorOffset:p,focusKey:d,focusOffset:p,isBackward:!1})})}},4730:function(e,t,n){"use strict";var r=n(2307),o=n(8642)("draft_tree_data_support");e.exports=function(e,t,n){var i=e.getSelection(),a=e.getCurrentContent(),s=i,l=i.getAnchorKey(),c=i.getFocusKey(),u=a.getBlockForKey(l);if(o&&"forward"===n&&l!==c)return a;if(i.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(l).getLength()){var d=a.getBlockForKey(u.nextSibling);if(!d||0===d.getLength())return a}}else if(e.isSelectionAtStartOfContent())return a;if((s=t(e))===i)return a}return r.removeRange(a,s,n)}},5283:function(e){"use strict";var t=new RegExp("\r","g");e.exports=function(e){return e.replace(t,"")}},5412:function(e,t,n){"use strict";var r=n(5880),o=n(7432),i=n(4856),a=n(7476),s=n(1003),l=n(5795),c=n(3759),u=n(4368),d=i.isBrowser("IE");function p(e,t){if(!e)return"[empty]";var n=f(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(u(n)||c(!1),n.outerHTML)}function f(e,t){var n=void 0!==t?t(e):[];if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.length;return l(e).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,a=0;ag(t)&&o.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var l=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(t,(function(t){var n=[];return t===i&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:l,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(t&&e.rangeCount>0){var c=e.getRangeAt(0);c.setEnd(t,n),e.addRange(c.cloneRange())}}function v(e,t,n,i){var a=l(t).createRange();if(n>g(t)&&(o.logSelectionStateFailure({anonymizedDom:h(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(t,n),d)try{e.addRange(a)}catch(e){}else e.addRange(a)}e.exports={setDraftEditorSelection:function(e,t,n,r,o){var i=l(t);if(a(i.documentElement,t)){var s=i.defaultView.getSelection(),c=e.getAnchorKey(),u=e.getAnchorOffset(),d=e.getFocusKey(),p=e.getFocusOffset(),f=e.getIsBackward();if(!s.extend&&f){var h=c,g=u;c=d,u=p,d=h,p=g,f=!1}var y=c===n&&r<=u&&o>=u,b=d===n&&r<=p&&o>=p;if(y&&b)return s.removeAllRanges(),v(s,t,u-r,e),void m(s,t,p-r,e);if(f){if(b&&(s.removeAllRanges(),v(s,t,p-r,e)),y){var x=s.focusNode,w=s.focusOffset;s.removeAllRanges(),v(s,t,u-r,e),m(s,x,w,e)}}else y&&(s.removeAllRanges(),v(s,t,u-r,e)),b&&m(s,t,p-r,e)}},addFocusToSelection:m}},6043:function(e,t,n){"use strict";var r=n(7953),o=n(5027),i=n(3393),a=n(3759),s=n(7429),l=i.List,c=i.Map,u=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),i=e.getBlockMap(),d=i.get(n),p=d.getText();if(!p){var f=d.getType();if("unordered-list-item"===f||"ordered-list-item"===f)return s(e,t,(function(e){return e.merge({type:"unstyled",depth:0})}))}var h=t.getAnchorOffset(),g=d.getCharacterList(),m=o(),v=d instanceof r,y=d.merge({text:p.slice(0,h),characterList:g.slice(0,h)}),b=y.merge({key:m,text:p.slice(h),characterList:g.slice(h),data:c()}),x=i.toSeq().takeUntil((function(e){return e===d})),w=i.toSeq().skipUntil((function(e){return e===d})).rest(),S=x.concat([[n,y],[m,b]],w).toOrderedMap();return v&&(d.getChildKeys().isEmpty()||a(!1),S=function(e,t,n){return e.withMutations((function(e){var r=t.getKey(),o=n.getKey();u(t.getParentKey(),e,(function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:l(i)})})),u(t.getNextSiblingKey(),e,(function(e){return e.merge({prevSibling:o})})),u(r,e,(function(e){return e.merge({nextSibling:o})})),u(o,e,(function(e){return e.merge({prevSibling:r})}))}))}(S,y,b)),e.merge({blockMap:S,selectionBefore:t,selectionAfter:t.merge({anchorKey:m,anchorOffset:0,focusKey:m,focusOffset:0,isBackward:!1})})}},4300:function(e){"use strict";var t=/\r\n?|\n/g;e.exports=function(e){return e.split(t)}},6363:function(e){"use strict";e.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}},9265:function(e){e.exports=function(){"use strict";function e(e,t){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&t(n,e[n])}var t={unstyled:"p","header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-five":"h5","header-six":"h6","unordered-list-item":"ul","ordered-list-item":"ol",blockquote:"blockquote",code:"pre"};function n(e){return e&&t[e]}function r(t){var n="";return e(t,(function(e,t){t&&(n+="".concat(e,":").concat(t,";"))})),n}function o(e,t){var n={};return e.COLOR[t]&&(n.COLOR=e.COLOR[t]),e.BGCOLOR[t]&&(n.BGCOLOR=e.BGCOLOR[t]),e.FONTSIZE[t]&&(n.FONTSIZE=e.FONTSIZE[t]),e.FONTFAMILY[t]&&(n.FONTFAMILY=e.FONTFAMILY[t]),e.UNDERLINE[t]&&(n.UNDERLINE=!0),e.ITALIC[t]&&(n.ITALIC=!0),e.BOLD[t]&&(n.BOLD=!0),e.STRIKETHROUGH[t]&&(n.STRIKETHROUGH=!0),e.CODE[t]&&(n.CODE=!0),e.SUBSCRIPT[t]&&(n.SUBSCRIPT=!0),e.SUPERSCRIPT[t]&&(n.SUPERSCRIPT=!0),n}function i(e,t,n){var r=!0;return n>0&&n').concat(n,"");if("LINK"===o.type){var a=o.data.targetOption||"_self";return'').concat(n,"")}if("IMAGE"===o.type){var s=o.data.alignment;return s&&s.length?'
').concat(o.data.alt,'
'):'').concat(o.data.alt,'')}return"EMBEDDED_LINK"===o.type?''):n}function s(e,t,n,r){var a=[],s=Array.from(e.text);if(s.length>0)for(var l,c=function(e){var t=e.text,n=e.inlineStyleRanges,r={BOLD:new Array(t.length),ITALIC:new Array(t.length),UNDERLINE:new Array(t.length),STRIKETHROUGH:new Array(t.length),CODE:new Array(t.length),SUPERSCRIPT:new Array(t.length),SUBSCRIPT:new Array(t.length),COLOR:new Array(t.length),BGCOLOR:new Array(t.length),FONTSIZE:new Array(t.length),FONTFAMILY:new Array(t.length),length:t.length};return n&&n.length>0&&n.forEach((function(e){for(var t=e.offset,n=t+e.length,o=t;o0?n.map((function(e){switch(e){case"\n":return"
";case"&":return"&";case"<":return"<";case">":return">";default:return e}})).join(""):"";return e(r,(function(e,t){o=function(e,t){return"BOLD"===e?"".concat(t,""):"ITALIC"===e?"".concat(t,""):"UNDERLINE"===e?"".concat(t,""):"STRIKETHROUGH"===e?"".concat(t,""):"CODE"===e?"".concat(t,""):"SUPERSCRIPT"===e?"".concat(t,""):"SUBSCRIPT"===e?"".concat(t,""):t}(e,o)})),o}(t)})),o=function(e,t){if(e&&(e.COLOR||e.BGCOLOR||e.FONTSIZE||e.FONTFAMILY)){var n='style="';return e.COLOR&&(n+="color: ".concat(e.COLOR,";")),e.BGCOLOR&&(n+="background-color: ".concat(e.BGCOLOR,";")),e.FONTSIZE&&(n+="font-size: ".concat(e.FONTSIZE).concat(/^\d+$/.test(e.FONTSIZE)?"px":"",";")),e.FONTFAMILY&&(n+="font-family: ".concat(e.FONTFAMILY,";")),"").concat(t,"")}return t}(n.styles,o)}function c(e,t,n,r){var o=[],i=function(e,t){var n=[],r=0,o=e.entityRanges.map((function(e){return{offset:e.offset,length:e.length,key:e.key,type:"ENTITY"}}));return(o=(o=o.concat(function(e,t){var n=[];if(t)for(var r=0,o=0,i=e,a=t.trigger||"#",s=t.separator||" ";i.length>0&&o>=0;)if(i[0]===a?(o=0,r=0,i=i.substr(a.length)):(o=i.indexOf(s+a))>=0&&(i=i.substr(o+(s+a).length),r+=o+s.length),o>=0){var l=i.indexOf(s)>=0?i.indexOf(s):i.length,c=i.substr(0,l);c&&c.length>0&&n.push({offset:r,length:c.length+a.length,type:"HASHTAG"}),r+=a.length}return n}(e.text,t))).sort((function(e,t){return e.offset-t.offset}))).forEach((function(e){e.offset>r&&n.push({start:r,end:e.offset}),n.push({start:e.offset,end:e.offset+e.length,entityKey:e.key,type:e.type}),r=e.offset+e.length})),r').concat(i,"")),i}(e,t,n,r);0===c&&(u=function(e){if(e){for(var t=e,n=0;n=0&&" "===t[n];n-=1)t="".concat(t.substring(0,n)," ").concat(t.substring(n+1));return t}return e}(u)),o.push(u)})),o.join("")}function u(e,t,o,i,a){var s,l=[],d=[];return e.forEach((function(e){var p=!1;if(s?s.type!==e.type?(l.push("\n")),l.push("<".concat(n(e.type),">\n"))):s.depth===e.depth?d&&d.length>0&&(l.push(u(d,t,o,i,a)),d=[]):(p=!0,d.push(e)):l.push("<".concat(n(e.type),">\n")),!p){l.push(""),l.push(c(e,t,o,a)),l.push("\n"),s=e}})),d&&d.length>0&&l.push(u(d,t,o,i,a)),l.push("\n")),l.join("")}return function(e,t,o,i){var s=[];if(e){var l=e.blocks,d=e.entityMap;if(l&&l.length>0){var p=[];if(l.forEach((function(e){if("unordered-list-item"===(h=e.type)||"ordered-list-item"===h)p.push(e);else{if(p.length>0){var l=u(p,d,t,i);s.push(l),p=[]}var f=function(e,t,o,i,s){var l=[];if(function(e){return!(!(e.entityRanges.length>0)||(t=e.text,null!=t&&0!==t.length&&0!==t.trim().length&&"atomic"!==e.type));var t}(e))l.push(a(t,e.entityRanges[0].key,void 0,s));else{var u=n(e.type);if(u){l.push("<".concat(u));var d=r(e.data);d&&l.push(' style="'.concat(d,'"')),i&&l.push(' dir = "auto"'),l.push(">"),l.push(c(e,t,o,s)),l.push(""))}}return l.push("\n"),l.join("")}(e,d,t,o,i);s.push(f)}var h})),p.length>0){var f=u(p,d,t,o,i);s.push(f),p=[]}}}return s.join("")}}()},4891:function(e,t,n){"use strict";var r=n(1006),o=n(9825),i=n(139),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function l(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(e){this.data=e,this.types=e.types?o(e.types):[]}var t=e.prototype;return t.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(e){return s[e]}))},t.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},t.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},t.isLink=function(){return this.types.some((function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")}))},t.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},t.isImage=function(){var e=this.types.some((function(e){return-1!=e.indexOf("application/x-moz-file")}));if(e)return!0;for(var t=this.getFiles(),n=0;n0},e}();e.exports=c},5399:function(e){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},1006:function(e){"use strict";var t={isImage:function(e){return"image"===n(e)[0]},isJpeg:function(e){var r=n(e);return t.isImage(e)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(e){return e.split("/")}e.exports=t},5994:function(e){"use strict";function t(e,t){return!!t&&(e===t.documentElement||e===t.body)}var n={getTop:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollTop||n.documentElement.scrollTop:e.scrollTop},setTop:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollTop=r.documentElement.scrollTop=n:e.scrollTop=n},getLeft:function(e){var n=e.ownerDocument;return t(e,n)?n.body.scrollLeft||n.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,n){var r=e.ownerDocument;t(e,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:e.scrollLeft=n}};e.exports=n},9051:function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(5466),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},5724:function(e){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},1425:function(e){"use strict";var t=function(){function e(e){var t,n;n=void 0,(t="_uri")in this?Object.defineProperty(this,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):this._uri=n,this._uri=e}return e.prototype.toString=function(){return this._uri},e}();e.exports=t},4191:function(e,t,n){"use strict";var r=n(6633),o=n(3759),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),l=new RegExp("["+i+a+"]");function c(e){var t=s.exec(e);return null==t?null:t[0]}function u(e){var t=c(e);return null==t?r.NEUTRAL:l.exec(t)?r.RTL:r.LTR}function d(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=u(e);return n===r.NEUTRAL?t:n}function p(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||o(!1),d(e,t)}var f={firstStrongChar:c,firstStrongCharDir:u,resolveBlockDir:d,getDirection:p,isDirectionLTR:function(e,t){return p(e,t)===r.LTR},isDirectionRTL:function(e,t){return p(e,t)===r.RTL}};e.exports=f},6633:function(e,t,n){"use strict";var r=n(3759),o="LTR",i=null;function a(e){return e===o||"RTL"===e}function s(e){return a(e)||r(!1),e===o?"ltr":"rtl"}function l(e){i=e}var c={NEUTRAL:"NEUTRAL",LTR:o,RTL:"RTL",isStrong:a,getHTMLDir:s,getHTMLDirIfDifferent:function(e,t){return a(e)||r(!1),a(t)||r(!1),e===t?null:s(e)},setGlobalDir:l,initGlobalDir:function(){l(o)},getGlobalDir:function(){return i||this.initGlobalDir(),i||r(!1),i}};e.exports=c},7902:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(4191),i=n(6633),a=n(3759),s=function(){function e(e){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),e?i.isStrong(e)||a(!1):e=i.getGlobalDir(),this._defaultDir=e,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},8935:function(e,t,n){"use strict";var r=n(3759),o=/[\uD800-\uDFFF]/;function i(e){return 55296<=e&&e<=57343}function a(e){return o.test(e)}function s(e,t){return 1+i(e.charCodeAt(t))}function l(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!a(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o=r)return""}else if(t<0){for(o=r;t<0&&00&&i=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function c(e,t){if(""===(e=e.trim()))return!0;var n,r=t.split(o),i=p(e),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return u(r,s);case"<=":return-1===(n=y(r,s))||0===n;case">=":return d(r,s);case">":return 1===y(r,s);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return f(i)&&(r[o]=i+1+""),d(e,n)&&u(e,r)}(r,s);default:return function(e,t){return 0===y(e,t)}(r,s)}}function u(e,t){return-1===y(e,t)}function d(e,t){var n=y(e,t);return 1===n||0===n}function p(e){var t=e.split(o),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function f(e){return!isNaN(e)&&isFinite(e)}function h(e){return!p(e).modifier}function g(e,t){for(var n=e.length;nt?1:e1?n.some((function(e){return b.contains(e,t)})):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return c(n[0],t);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),c(">="+o,t)&&c("<="+i,t)}(e=n[0].trim(),t)}(e.trim(),t.trim())}};e.exports=b},2297:function(e){"use strict";var t=/-(.)/g;e.exports=function(e){return e.replace(t,(function(e,t){return t.toUpperCase()}))}},7476:function(e,t,n){"use strict";var r=n(2334);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},9825:function(e,t,n){"use strict";var r=n(3759);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),o=0;o-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:t||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},5258:function(e,t,n){"use strict";var r=n(3123);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},3123:function(e,t,n){"use strict";var r=n(7476);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!r(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},9749:function(e,t,n){"use strict";var r=n(5179),o=n(787);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},5466:function(e,t,n){"use strict";var r=n(2297),o=n(9349);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?i("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},787:function(e){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},746:function(e){"use strict";function t(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function n(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function r(){return{width:window.innerWidth||t(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:t(),height:n()}},e.exports=r},9349:function(e){"use strict";var t=/([A-Z])/g;e.exports=function(e){return e.replace(t,"-$1").toLowerCase()}},3759:function(e){"use strict";e.exports=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1)for(var r=1;r/i,l=//i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser;c=u=function(e,t){return t&&(e="<"+t+">"+e+""),d.parseFromString(e,"text/html")}}if(document.implementation){var p=n(1507).isIE,f=document.implementation.createHTMLDocument(p()?"html-dom-parser":void 0);c=function(e,t){return t?(f.documentElement.getElementsByTagName(t)[0].innerHTML=e,f):(f.documentElement.innerHTML=e,f)}}var h,g=document.createElement("template");g.content&&(h=function(e){return g.innerHTML=e,g.content.childNodes}),e.exports=function(e){var t,n,d,p,f=e.match(a);switch(f&&f[1]&&(t=f[1].toLowerCase()),t){case r:return n=u(e),s.test(e)||(d=n.getElementsByTagName(o)[0])&&d.parentNode.removeChild(d),l.test(e)||(d=n.getElementsByTagName(i)[0])&&d.parentNode.removeChild(d),n.getElementsByTagName(r);case o:case i:return p=c(e).getElementsByTagName(t),l.test(e)&&s.test(e)?p[0].parentNode.childNodes:p;default:return h?h(e):c(e,i).getElementsByTagName(i)[0].childNodes}}},4152:function(e,t,n){var r=n(8276),o=n(1507).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},1507:function(e,t,n){for(var r,o=n(885),i=n(7790),a=o.CASE_SENSITIVE_TAG_NAMES,s=i.Comment,l=i.Element,c=i.ProcessingInstruction,u=i.Text,d={},p=0,f=a.length;p1&&(u=h(u,{key:u.key||x})),v.push(u);else if("text"!==i.type){switch(d=i.attribs,l(i)?a(d.style,d):d&&(d=o(d)),p=null,i.type){case"script":case"style":i.children[0]&&(d.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?d.defaultValue=i.children[0].data:i.children&&i.children.length&&(p=e(i.children,n));break;default:continue}w>1&&(d.key=x),v.push(g(i.name,d,p))}else{if((c=!i.data.trim().length)&&i.parent&&!s(i.parent))continue;if(b&&c)continue;v.push(i.data)}return 1===v.length?v[0]:v}},4606:function(e,t,n){var r=n(9196),o=n(1476).default,i={reactCompat:!0},a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},7247:function(e,t,n){window,e.exports=function(e,t){return o={},n.m=r=[function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(0),i=function(e,t,n){var r,i=e.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(t),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(e,t){return{text:"",inlines:[],entities:[],blocks:[{type:e,depth:0,data:t||new o.Map({})}]}},l=function(e,t,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:e,depth:Math.max(0,Math.min(4,t)),data:n||new o.Map({})}]}},c=function(e){return{text:"\r ",inlines:[new o.OrderedSet],entities:[e],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},u=function(e,t){return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},d=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),p={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function f(e){return e.style.textAlign?new o.Map({"text-align":e.style.textAlign}):e.style.marginLeft?new o.Map({"margin-left":e.style.marginLeft}):void 0}var h=function(e){var t=void 0;if(e instanceof HTMLAnchorElement){var n={};t=e.dataset&&void 0!==e.dataset.mention?(n.url=e.href,n.text=e.innerHTML,n.value=e.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=e.getAttribute&&e.getAttribute("href")||e.href,n.title=e.innerHTML,n.targetOption=e.target,r.Entity.__create("LINK","MUTABLE",n))}return t};n.d(t,"default",(function(){return y}));var g=new RegExp(" ","g"),m=!0;function v(e,t,n,o,g,y){var b=e.nodeName.toLowerCase();if(y){var x=y(b,e);if(x){var w=r.Entity.__create(x.type,x.mutability,x.data||{});return{chunk:c(w)}}}if("#text"===b&&"\n"!==e.textContent)return i(e,t,g);if("br"===b)return{chunk:a()};if("img"===b&&e instanceof HTMLImageElement){var S={};S.src=e.getAttribute&&e.getAttribute("src")||e.src,S.alt=e.alt,S.height=e.style.height,S.width=e.style.width,e.style.float&&(S.alignment=e.style.float);var k=r.Entity.__create("IMAGE","MUTABLE",S);return{chunk:c(k)}}if("video"===b&&e instanceof HTMLVideoElement){var C={};C.src=e.getAttribute&&e.getAttribute("src")||e.src,C.alt=e.alt,C.height=e.style.height,C.width=e.style.width,e.style.float&&(C.alignment=e.style.float);var E=r.Entity.__create("VIDEO","MUTABLE",C);return{chunk:c(E)}}if("iframe"===b&&e instanceof HTMLIFrameElement){var A={};A.src=e.getAttribute&&e.getAttribute("src")||e.src,A.height=e.height,A.width=e.width;var M=r.Entity.__create("EMBEDDED_LINK","MUTABLE",A);return{chunk:c(M)}}var O,_=function(e,t){var n=d.filter((function(n){return n.element===e&&(!n.wrapper||n.wrapper===t)||n.wrapper===e||n.aliasedElements&&-1>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?C(e)+t:t}function A(){return!0}function M(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function O(e,t){return T(e,t,0)}function _(e,t){return T(e,t,t)}function T(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",I=D||L;function N(e){this.next=e}function j(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function P(){return{value:void 0,done:!0}}function z(e){return!!F(e)}function R(e){return e&&"function"==typeof e.next}function B(e){var t=F(e);return t&&t.call(e)}function F(e){var t=e&&(D&&e[D]||e["@@iterator"]);if("function"==typeof t)return t}function H(e){return e&&"number"==typeof e.length}function Y(e){return null==e?te():a(e)?e.toSeq():function(e){var t=oe(e)||"object"==typeof e&&new Q(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function U(e){return null==e?te().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():ne(e)}function W(e){return null==e?te():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():re(e)}function X(e){return(null==e?te():a(e)?s(e)?e.entrySeq():e:re(e)).toSetSeq()}N.prototype.toString=function(){return"[Iterator]"},N.KEYS=0,N.VALUES=1,N.ENTRIES=2,N.prototype.inspect=N.prototype.toSource=function(){return this.toString()},N.prototype[I]=function(){return this},t(Y,n),Y.of=function(){return Y(arguments)},Y.prototype.toSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq {","}")},Y.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Y.prototype.__iterate=function(e,t){return ie(this,e,t,!0)},Y.prototype.__iterator=function(e,t){return ae(this,e,t,!0)},t(U,Y),U.prototype.toKeyedSeq=function(){return this},t(W,Y),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(e,t){return ie(this,e,t,!1)},W.prototype.__iterator=function(e,t){return ae(this,e,t,!1)},t(X,Y),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},Y.isSeq=ee,Y.Keyed=U,Y.Set=X,Y.Indexed=W;var V,G,K,Z="@@__IMMUTABLE_SEQ__@@";function q(e){this._array=e,this.size=e.length}function Q(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function $(e){this._iterable=e,this.size=e.length||e.size}function J(e){this._iterator=e,this._iteratorCache=[]}function ee(e){return!(!e||!e[Z])}function te(){return V||(V=new q([]))}function ne(e){var t=Array.isArray(e)?new q(e).fromEntrySeq():R(e)?new J(e).fromEntrySeq():z(e)?new $(e).fromEntrySeq():"object"==typeof e?new Q(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function re(e){var t=oe(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function oe(e){return H(e)?new q(e):R(e)?new J(e):z(e)?new $(e):void 0}function ie(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function ae(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new N((function(){var e=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:j(t,r?e[0]:a-1,e[1])}))}return e.__iteratorUncached(t,n)}function se(e,t){return t?le(t,e,"",{"":e}):ce(e)}function le(e,t,n,r){return Array.isArray(t)?e.call(r,n,W(t).map((function(n,r){return le(e,n,r,t)}))):ue(t)?e.call(r,n,U(t).map((function(n,r){return le(e,n,r,t)}))):t}function ce(e){return Array.isArray(e)?W(e).map(ce).toList():ue(e)?U(e).map(ce).toMap():e}function ue(e){return e&&(e.constructor===Object||void 0===e.constructor)}function de(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function pe(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(u(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&de(o[1],e)&&(n||de(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var d=!0,p=t.__iterate((function(t,r){if(n?!e.has(t):o?!de(t,e.get(r,v)):!de(e.get(r,v),t))return d=!1,!1}));return d&&e.size===p}function fe(e,t){if(!(this instanceof fe))return new fe(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(G)return G;G=this}}function he(e,t){if(!e)throw new Error(t)}function ge(e,t,n){if(!(this instanceof ge))return new ge(e,t,n);if(he(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?{value:void 0,done:!0}:j(e,o,n[t?r-o++:o++])}))},t(Q,U),Q.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},Q.prototype.has=function(e){return this._object.hasOwnProperty(e)},Q.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},Q.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new N((function(){var a=r[t?o-i:i];return i++>o?{value:void 0,done:!0}:j(e,a,n[a])}))},Q.prototype[h]=!0,t($,W),$.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=B(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},$.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=B(this._iterable);if(!R(n))return new N(P);var r=0;return new N((function(){var t=n.next();return t.done?t:j(e,r++,t.value)}))},t(J,W),J.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return j(e,o,r[o++])}))},t(fe,W),fe.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},fe.prototype.get=function(e,t){return this.has(e)?this._value:t},fe.prototype.includes=function(e){return de(this._value,e)},fe.prototype.slice=function(e,t){var n=this.size;return M(e,t,n)?this:new fe(this._value,_(t,n)-O(e,n))},fe.prototype.reverse=function(){return this},fe.prototype.indexOf=function(e){return de(this._value,e)?0:-1},fe.prototype.lastIndexOf=function(e){return de(this._value,e)?this.size:-1},fe.prototype.__iterate=function(e,t){for(var n=0;n1?" by "+this._step:"")+" ]"},ge.prototype.get=function(e,t){return this.has(e)?this._start+E(this,e)*this._step:t},ge.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t=0&&nn?{value:void 0,done:!0}:j(e,i++,a)}))},ge.prototype.equals=function(e){return e instanceof ge?this._start===e._start&&this._end===e._end&&this._step===e._step:pe(this,e)},t(me,n),t(ve,me),t(ye,me),t(be,me),me.Keyed=ve,me.Indexed=ye,me.Set=be;var xe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function we(e){return e>>>1&1073741824|3221225471&e}function Se(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return we(n)}if("string"===t)return e.length>Te?function(e){var t=Ie[e];return void 0===t&&(t=ke(e),Le===De&&(Le=0,Ie={}),Le++,Ie[e]=t),t}(e):ke(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(Me&&void 0!==(t=Ae.get(e)))return t;if(void 0!==(t=e[_e]))return t;if(!Ee){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[_e]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++Oe,1073741824&Oe&&(Oe=0),Me)Ae.set(e,t);else{if(void 0!==Ce&&!1===Ce(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ee)Object.defineProperty(e,_e,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[_e]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[_e]=t}}return t}(e);if("function"==typeof e.toString)return ke(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ke(e){for(var t=0,n=0;n>>n)&m,s=(0===n?r:r>>>n)&m;return new He(t,1<>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function at(e,t,n,r){var o=r?e:k(e);return o[t]=n,o}Be[Re]=!0,Be.delete=Be.remove,Be.removeIn=Be.deleteIn,Fe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=st)return function(e,t,n,r){e||(e=new S);for(var o=new We(e,Se(n),[n,r]),i=0;i>>e)&m),i=this.bitmap;return 0==(i&o)?r:this.nodes[it(i&o-1)].get(e+5,t,n,r)},He.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=(0===t?n:n>>>t)&m,l=1<=lt)return function(e,t,n,r,o){for(var i=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Ye(e,i+1,a)}(e,p,c,s,h);if(u&&!h&&2===p.length&&$e(p[1^d]))return p[1^d];if(u&&h&&1===p.length&&$e(h))return h;var y=e&&e===this.ownerID,b=u?h?c:c^l:c|l,x=u?h?at(p,d,h,y):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a>>e)&m,i=this.nodes[o];return i?i.get(e+5,t,n,r):r},Ye.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=(0===t?n:n>>>t)&m,l=o===v,c=this.nodes,u=c[s];if(l&&!u)return this;var d=Qe(u,e,t+5,n,r,o,i,a);if(d===u)return this;var p=this.count;if(u){if(!d&&--p0&&r=0&&e=e.size||t<0)return e.withMutations((function(e){t<0?Ct(e,t).set(0,n):Ct(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i=x(b);return t>=At(e._capacity)?r=wt(r,e.__ownerID,0,t,n,i):o=wt(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):bt(e._origin,e._capacity,e._level,o,r):e}(this,e,t)},ut.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},ut.prototype.insert=function(e,t){return this.splice(e,0,t)},ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):xt()},ut.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){Ct(n,0,t+e.length);for(var r=0;r>>t&m;if(r>=this.array.length)return new ht([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-5,n))===a&&i)return this}if(i&&!o)return this;var s=St(this,e);if(!i)for(var l=0;l>>t&m;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-5,n))===i&&o===this.array.length-1)return this}var a=St(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var gt,mt,vt={};function yt(e,t){var n=e._origin,r=e._capacity,o=At(r),i=e._tail;return a(e._root,e._level,0);function a(e,s,l){return 0===s?function(e,a){var s=a===o?i&&i.array:e&&e.array,l=a>n?0:n-a,c=r-a;return c>g&&(c=g),function(){if(l===c)return vt;var e=t?--c:l++;return s&&s[e]}}(e,l):function(e,o,i){var s,l=e&&e.array,c=i>n?0:n-i>>o,u=1+(r-i>>o);return u>g&&(u=g),function(){for(;;){if(s){var e=s();if(e!==vt)return e;s=null}if(c===u)return vt;var n=t?--u:c++;s=a(l&&l[n],o-5,i+(n<>>n&m,l=e&&s0){var c=e&&e.array[s],u=wt(c,t,n-5,r,o,i);return u===c?e:((a=St(e,t)).array[s]=u,a)}return l&&e.array[s]===o?e:(w(i),a=St(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function St(e,t){return t&&e&&t===e.ownerID?e:new ht(e?e.array.slice():[],t)}function kt(e,t){if(t>=At(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&m],r-=5;return n}}function Ct(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var l=e._level,c=e._root,u=0;a+u<0;)c=new ht(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,o+=u,s+=u,i+=u);for(var d=At(i),p=At(s);p>=1<d?new ht([],r):f;if(f&&p>d&&a5;v-=5){var y=d>>>v&m;g=g.array[y]=St(g.array[y],r)}g.array[d>>>5&m]=f}if(s=p)a-=p,s-=p,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||p>>l&m;if(b!==p>>>l&m)break;b&&(u+=(1<o&&(c=c.removeBefore(r,l,a-u)),c&&pi&&(i=c.size),a(l)||(c=c.map((function(e){return se(e)}))),r.push(c)}return i>e.size&&(e=e.setSize(i)),rt(e,t,r)}function At(e){return e>>5<<5}function Mt(e){return null==e?Tt():Ot(e)?e:Tt().withMutations((function(t){var n=r(e);Ne(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Ot(e){return Pe(e)&&u(e)}function _t(e,t,n,r){var o=Object.create(Mt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Tt(){return mt||(mt=_t(Ze(),xt()))}function Dt(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),l=void 0!==s;if(n===v){if(!l)return e;a.size>=g&&a.size>=2*i.size?(r=(o=a.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):_t(r,o)}function Lt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function It(e){this._iter=e,this.size=e.size}function Nt(e){this._iter=e,this.size=e.size}function jt(e){this._iter=e,this.size=e.size}function Pt(e){var t=$t(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Jt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new N((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function zt(e,t,n){var r=$t(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,v);return i===v?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(2,o);return new N((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return j(r,s,t.call(n,a[1],s,e),o)}))},r}function Rt(e,t){var n=$t(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Pt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Jt,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Bt(e,t,n,r){var o=$t(e);return r&&(o.has=function(r){var o=e.get(r,v);return o!==v&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,v);return i!==v&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,l){if(t.call(n,e,i,l))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(2,i),s=0;return new N((function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return j(o,r?c:s++,u,i)}}))},o}function Ft(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),M(t,n,o))return e;var i=O(t,o),a=_(n,o);if(i!=i||a!=a)return Ft(e.toSeq().cacheResult(),t,n,r);var s,l=a-i;l==l&&(s=l<0?0:l);var c=$t(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ee(e)&&s>=0&&(c.get=function(t,n){return(t=E(this,t))>=0&&ts)return{value:void 0,done:!0};var e=o.next();return r||1===t?e:j(t,l-1,0===t?void 0:e.value[1],e)}))},c}function Ht(e,t,n,r){var o=$t(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate((function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return l++,o(e,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(2,i),l=!0,c=0;return new N((function(){var e,i,u;do{if((e=s.next()).done)return r||1===o?e:j(o,c++,0===o?void 0:e.value[1],e);var d=e.value;i=d[0],u=d[1],l&&(l=t.call(n,u,i,a))}while(l);return 2===o?e:j(o,i,u,e)}))},o}function Yt(e,t){var n=s(e),o=[e].concat(t).map((function(e){return a(e)?n&&(e=r(e)):e=n?ne(e):re(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||l(e)&&l(i))return i}var c=new q(o);return n?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),c}function Ut(e,t,n){var r=$t(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function e(l,c){var u=this;l.__iterate((function(o,l){return(!t||c0}function Gt(e,t,r){var o=$t(e);return o.size=new q(r).map((function(e){return e.size})).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=n(e),B(o?e.reverse():e)})),a=0,s=!1;return new N((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:j(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function Kt(e,t){return ee(e)?t:e.constructor(t)}function Zt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function qt(e){return Ne(e.size),C(e)}function Qt(e){return s(e)?r:l(e)?o:i}function $t(e){return Object.create((s(e)?U:l(e)?W:X).prototype)}function Jt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Y.prototype.cacheResult.call(this)}function en(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Mn(e,t)},Sn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ne(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Mn(t,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(e){return this.pushAll(e)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):On()},Sn.prototype.slice=function(e,t){if(M(e,t,this.size))return this;var n=O(e,this.size);if(_(t,this.size)!==this.size)return ye.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Mn(r,o)},Sn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Mn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Sn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new N((function(){if(r){var t=r.value;return r=r.next,j(e,n++,t)}return{value:void 0,done:!0}}))},Sn.isStack=kn;var Cn,En="@@__IMMUTABLE_STACK__@@",An=Sn.prototype;function Mn(e,t,n,r){var o=Object.create(An);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function On(){return Cn||(Cn=Mn(0))}function Tn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}An[En]=!0,An.withMutations=Be.withMutations,An.asMutable=Be.asMutable,An.asImmutable=Be.asImmutable,An.wasAltered=Be.wasAltered,n.Iterator=N,Tn(n,{toArray:function(){Ne(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new It(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Lt(this,!0)},toMap:function(){return je(this.toKeyedSeq())},toObject:function(){Ne(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return Mt(this.toKeyedSeq())},toOrderedSet:function(){return mn(s(this)?this.valueSeq():this)},toSet:function(){return ln(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Nt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return ut(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return Kt(this,Yt(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return de(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Ne(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return Kt(this,Bt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate((function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ne(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ne(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return Kt(this,zt(this,e,t))},reduce:function(e,t,n){var r,o;return Ne(this.size),arguments.length<2?o=!0:r=t,this.__iterate((function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Kt(this,Rt(this,!0))},slice:function(e,t){return Kt(this,Ft(this,e,t,!0))},some:function(e,t){return!this.every(jn(e),t)},sort:function(e){return Kt(this,Wt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return C(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=je().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return pe(this,e)},entrySeq:function(){var e=this;if(e._cache)return new q(e._cache);var t=e.toSeq().map(Nn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(jn(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(A)},flatMap:function(e,t){return Kt(this,function(e,t,n){var r=Qt(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Kt(this,Ut(this,e,!0))},fromEntrySeq:function(){return new jt(this)},get:function(e,t){return this.find((function(t,n){return de(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,o=tn(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,v):v)===v)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),o=(u(e)?Mt():je()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=Qt(e);return o.map((function(t){return Kt(e,i(t))}))}(this,e,t)},has:function(e){return this.get(e,v)!==v},hasIn:function(e){return this.getIn(e,v)!==v},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(In).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Xt(this,e)},maxBy:function(e,t){return Xt(this,t,e)},min:function(e){return Xt(this,e?Pn(e):Bn)},minBy:function(e,t){return Xt(this,t?Pn(t):Bn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Kt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Kt(this,Ht(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(jn(e),t)},sortBy:function(e,t){return Kt(this,Wt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Kt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Kt(this,function(e,t,n){var r=$t(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(2,o),s=!0;return new N((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,i)?2===r?e:j(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(jn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=u(e),n=s(e),r=t?1:0;return function(e,t){return t=xe(t,3432918353),t=xe(t<<15|t>>>-15,461845907),t=xe(t<<13|t>>>-13,5),t=xe((t=(t+3864292196|0)^e)^t>>>16,2246822507),we((t=xe(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Fn(Se(e),Se(t))|0}:function(e,t){r=r+Fn(Se(e),Se(t))|0}:t?function(e){r=31*r+Se(e)|0}:function(e){r=r+Se(e)|0}),r)}(this))}});var Dn=n.prototype;Dn[d]=!0,Dn[I]=Dn.values,Dn.__toJS=Dn.toArray,Dn.__toStringMapper=zn,Dn.inspect=Dn.toSource=function(){return this.toString()},Dn.chain=Dn.flatMap,Dn.contains=Dn.includes,function(){try{Object.defineProperty(Dn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Tn(r,{flip:function(){return Kt(this,Pt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey((function(t){return de(t,e)}))},lastKeyOf:function(e){return this.findLastKey((function(t){return de(t,e)}))},mapEntries:function(e,t){var n=this,r=0;return Kt(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Kt(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Ln=r.prototype;function In(e,t){return t}function Nn(e,t){return[t,e]}function jn(e){return function(){return!e.apply(this,arguments)}}function Pn(e){return function(){return-e.apply(this,arguments)}}function zn(e){return"string"==typeof e?JSON.stringify(e):e}function Rn(){return k(arguments)}function Bn(e,t){return et?-1:0}function Fn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Ln[p]=!0,Ln[I]=Dn.entries,Ln.__toJS=Dn.toObject,Ln.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+zn(e)},Tn(o,{toKeyedSeq:function(){return new Lt(this,!1)},filter:function(e,t){return Kt(this,Bt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return Kt(this,Rt(this,!1))},slice:function(e,t){return Kt(this,Ft(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=O(e,e<0?this.count():this.size);var r=this.slice(0,e);return Kt(this,1===n?r:r.concat(k(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Kt(this,Ut(this,e,!1))},get:function(e,t){return(e=E(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=E(this,e))>=0&&(void 0!==this.size?this.size===1/0||e-1&&o.push(e[i]);return o}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nt.priority?1:-1}))},K=function(e,t){var n,r,o,i,a=t,s=e;return B(e)||(e.persist&&e.persist(),r=(n=e.target||e.currentTarget).type,o=n.name,i=n.value,e=n.checked,n.options,n.multiple,a=t||o,s=/number|range/.test(r)?(o=parseFloat(i),isNaN(o)?"":o):/checkbox/.test(r)?e:i),{field:a,val:s}},Z=function(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),i=0;it},gte:function(e,t,n){return te(n,e)>=t},lt:function(e,t,n){return te(n,e){if(n)return n;var r=lt(e);return t?t+"-"+r:r}),[e])}function ut(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var dt=function e(t){var n=ve(),o=t.fields,i=t.onChange,a=t.index,s=t.parent,l=pe((0,r.useState)(t.isCollapsed),2),c=l[0],u=l[1],d=ct(e),p=(p=(null==(p=null===(l=n.values)||void 0===l||null===(p=l[s])||void 0===p?void 0:p[a])?void 0:p.title)||(null==p?void 0:p.post_title)||(null==p?void 0:p.username)||(null==p?void 0:p.plugin_theme_name))?p.length<40?p:p.substr(0,40)+"...":"";return(0,r.useEffect)((function(){n.setFieldValue([s,a,"isCollapsed"],c)}),[c]),(0,r.createElement)("div",{className:"wprf-repeater-field"},(0,r.createElement)("div",{className:"wprf-repeater-field-title",onClick:function(){return u(!c)}},(0,r.createElement)("h4",null,(0,r.createElement)(y.Icon,{icon:"move"}),t.index+1,": ",p),(0,r.createElement)("div",{className:"wprf-repeater-field-controls"},(0,r.createElement)(y.Icon,{onClick:function(e){null!=e&&e.stopPropagation(),t.clone(t.index)},icon:"admin-page"}),(0,r.createElement)(y.Icon,{onClick:function(e){null!=e&&e.stopPropagation(),t.remove(t.index)},icon:"trash"}))),!c&&(0,r.createElement)("div",{className:"wprf-repeater-inner-field"},o.map((function(e,t){return(0,r.createElement)(Ue,de({key:"field-".concat(a,"-").concat(t)},e,{id:"field-".concat(d,"-").concat(a,"-").concat(t),index:a,parenttype:"repeater",parent:s,onChange:function(e){return i(e,a)}}))}))))};function pt(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ft(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}(a);try{for(r.s();!(e=r.n()).done;)t[e.value.value]=n}catch(e){r.e(e)}finally{r.f()}c(t)}}),[]),(0,r.createElement)("div",{className:"wprf-toggle-wrapper wprf-control"},(0,r.createElement)(_e,null,a.map((function(t){return(0,r.createElement)(Te,{key:t.value,column:s.column},(0,r.createElement)(ht,wt(wt({},t),{},{context:null==e?void 0:e.context,id:t.value,checked:void 0===l[t.value]||(null!=l&&l[t.value]?n:!(null==l||!l[t.value])),type:"checkbox",onChange:u,style:s})))}))))}return(0,r.createElement)(ht,e)},kt=["label","value","icon","is_pro"];function Ct(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}var Et=Fe((function e(t){var n=ve(),o=(l=ye(t,"options")).options,i=l.option;if(!o)throw new Error((0,m.__)("#options is a required arguments for RadioCard field.","notificationx"));var s=ct(e),l=a()(["wprf-control","wprf-radio-card","wprf-input-radio-set-wrap",null==t?void 0:t.className]),c=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function Gt(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Kt(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"!==t[0]||e.parentNode===n)&&Vt(e,t)||r&&e===n)return e}while(e!==n&&(e=Gt(e)))}return null}var Zt,qt=/\s+/g;function Qt(e,t,n){var r;e&&t&&(e.classList?e.classList[n?"add":"remove"](t):(r=(" "+e.className+" ").replace(qt," ").replace(" "+t+" "," "),e.className=(r+(n?" "+t:"")).replace(qt," ")))}function $t(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];r[t=t in r||-1!==t.indexOf("webkit")?t:"-webkit-"+t]=n+("string"==typeof n?"":"px")}}function Jt(e,t){var n="";if("string"==typeof e)n=e;else do{var r=$t(e,"transform")}while(r&&"none"!==r&&(n=r+" "+n),!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function en(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,i=r.length;if(n)for(;o=t.left-r&&o<=t.right+r,r=i>=t.top-r&&i<=t.bottom+r;return n&&r?a=e:void 0}})),a);if(t){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[mn]._onDragOver(r)}}var o,i,a},hr=function(e){Cn&&Cn.parentNode[mn]._isOutsideThisEl(e.target)};function gr(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Lt({},t),e[mn]=this;var n,r,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return cr(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==gr.supportPointer&&"PointerEvent"in window&&!Ft,emptyInsertThreshold:5};for(n in bn.initializePlugins(this,e,o),o)n in t||(t[n]=o[n]);for(r in ur(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&sr,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Wt(e,"pointerdown",this._onTapStart):(Wt(e,"mousedown",this._onTapStart),Wt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Wt(e,"dragover",this),Wt(e,"dragenter",this)),$n.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Lt(this,function(){var e,t=[];return{captureAnimationState:function(){t=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){var n,r;"none"!==$t(e,"display")&&e!==gr.ghost&&(t.push({target:e,rect:nn(e)}),n=_t({},t[t.length-1].rect),!e.thisAnimationDuration||(r=Jt(e,!0))&&(n.top-=r.f,n.left-=r.e),e.fromRect=n)}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var o=!1,i=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,s=nn(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect;(e=Jt(n,!0))&&(s.top-=e.f,s.left-=e.e),n.toRect=s,n.thisAnimationDuration&&un(l,s)&&!un(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),un(s,a)||(n.prevFromRect=a,n.prevToRect=s,t=t||r.options.animation,r.animate(n,u,s,t)),t&&(o=!0,i=Math.max(i,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){var o,i;r&&($t(e,"transition",""),$t(e,"transform",""),o=(i=Jt(this.el))&&i.a,i=i&&i.d,o=(t.left-n.left)/(o||1),i=(t.top-n.top)/(i||1),e.animatingX=!!o,e.animatingY=!!i,$t(e,"transform","translate3d("+o+"px,"+i+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),$t(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),$t(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){$t(e,"transition",""),$t(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r))}}}())}function mr(e,t,n,r,o,i,a,s){var l,c=e[mn],u=c.options.onMove;return!window.CustomEvent||zt||Rt?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=i||nn(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),u?u.call(c,l,a):undefined}function vr(e){e.draggable=!1}function yr(){nr=!1}function br(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function xr(e){return setTimeout(e,0)}function wr(e){return clearTimeout(e)}gr.prototype={constructor:gr,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Vn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Cn):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,o=r.preventOnFilter,i=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){rr.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&rr.push(r)}}(n),!Cn&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Ft||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Kt(s,r.draggable,n,!1))&&s.animated||Tn===s)){if(In=sn(s),jn=sn(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return kn({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Sn("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c=c&&c.split(",").some((function(r){if(r=Kt(l,r.trim(),n,!1))return kn({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Sn("filter",t,{evt:e}),!0})))return void(o&&e.cancelable&&e.preventDefault());r.handle&&!Kt(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;n&&!Cn&&n.parentNode===i&&(r=nn(n),Mn=i,En=(Cn=n).parentNode,On=Cn.nextSibling,Tn=n,zn=a.group,gr.dragged=Cn,Bn={target:Cn,clientX:(t||e).clientX,clientY:(t||e).clientY},Un=Bn.clientX-r.left,Wn=Bn.clientY-r.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Cn.style["will-change"]="all",r=function(){Sn("delayEnded",o,{evt:e}),gr.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!Bt&&o.nativeDraggable&&(Cn.draggable=!0),o._triggerDragStart(e,t),kn({sortable:o,name:"choose",originalEvent:e}),Qt(Cn,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){en(Cn,e.trim(),vr)})),Wt(s,"dragover",fr),Wt(s,"mousemove",fr),Wt(s,"touchmove",fr),Wt(s,"mouseup",o._onDrop),Wt(s,"touchend",o._onDrop),Wt(s,"touchcancel",o._onDrop),Bt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Cn.draggable=!0),Sn("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Rt||zt)?r():gr.eventCanceled?this._onDrop():(Wt(s,"mouseup",o._disableDelayedDrag),Wt(s,"touchend",o._disableDelayedDrag),Wt(s,"touchcancel",o._disableDelayedDrag),Wt(s,"mousemove",o._delayedDragTouchMoveHandler),Wt(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&Wt(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)))},_delayedDragTouchMoveHandler:function(e){e=e.touches?e.touches[0]:e,Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Cn&&vr(Cn),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Xt(e,"mouseup",this._disableDelayedDrag),Xt(e,"touchend",this._disableDelayedDrag),Xt(e,"touchcancel",this._disableDelayedDrag),Xt(e,"mousemove",this._delayedDragTouchMoveHandler),Xt(e,"touchmove",this._delayedDragTouchMoveHandler),Xt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?Wt(document,"pointermove",this._onTouchMove):Wt(document,t?"touchmove":"mousemove",this._onTouchMove):(Wt(Cn,"dragend",this),Wt(Mn,"dragstart",this._onDragStart));try{document.selection?xr((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){var n;qn=!1,Mn&&Cn?(Sn("dragStarted",this,{evt:t}),this.nativeDraggable&&Wt(document,"dragover",hr),n=this.options,e||Qt(Cn,n.dragClass,!1),Qt(Cn,n.ghostClass,!0),gr.active=this,e&&this._appendGhost(),kn({sortable:this,name:"start",originalEvent:t})):this._nulling()},_emulateDragOver:function(){if(Fn){this._lastX=Fn.clientX,this._lastY=Fn.clientY,dr();for(var e=document.elementFromPoint(Fn.clientX,Fn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Fn.clientX,Fn.clientY))!==t;)t=e;if(Cn.parentNode[mn]._isOutsideThisEl(e),t)do{if(t[mn]&&t[mn]._onDragOver({clientX:Fn.clientX,clientY:Fn.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}while(t=(e=t).parentNode);pr()}},_onTouchMove:function(e){if(Bn){var t=(s=this.options).fallbackTolerance,n=s.fallbackOffset,r=e.touches?e.touches[0]:e,o=An&&Jt(An,!0),i=An&&o&&o.a,a=An&&o&&o.d,s=ir&&Zn&&ln(Zn);if(i=(r.clientX-Bn.clientX+n.x)/(i||1)+(s?s[0]-tr[0]:0)/(i||1),a=(r.clientY-Bn.clientY+n.y)/(a||1)+(s?s[1]-tr[1]:0)/(a||1),!gr.active&&!qn){if(t&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))n.right+10||e.clientX<=n.right&&e.clientY>n.bottom&&e.clientX>=n.left:e.clientX>n.right&&e.clientY>n.top||e.clientX<=n.right&&e.clientY>n.bottom+10}(e,r,this)&&!S.animated){if(S===Cn)return A(!1);if((i=S&&o===e.target?S:i)&&(y=nn(i)),!1!==mr(Mn,o,Cn,t,i,y,e,!!i))return E(),S&&S.nextSibling?o.insertBefore(Cn,S.nextSibling):o.appendChild(Cn),En=o,M(),A(!0)}else if(S&&function(e,t,n){return n=nn(on(n.el,0,n.options,!0)),t?e.clientXc(e.element)))}function d(e){e.forEach((e=>{var t,n;t=e.parentElement,n=e.element,e=e.oldIndex,e=t.children[e]||null,t.insertBefore(n,e)}))}function p(e,t){var n=g(e);const r={parentElement:e.from};let o=[];switch(n){case"normal":o=[{element:e.item,newIndex:e.newIndex,oldIndex:e.oldIndex,parentElement:e.from}];break;case"swap":o=[{element:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex,...r},{element:e.swapItem,oldIndex:e.newIndex,newIndex:e.oldIndex,...r}];break;case"multidrag":o=e.oldIndicies.map(((t,n)=>({element:t.multiDragElement,oldIndex:t.index,newIndex:e.newIndicies[n].index,...r})))}return function(e,t){return e.map((e=>({...e,item:t[e.oldIndex]}))).sort(((e,t)=>e.oldIndex-t.oldIndex))}(o,t)}function f(e,t){const n=[...t];return e.concat().reverse().forEach((e=>n.splice(e.oldIndex,1))),n}function h(e,t,n,r){const o=[...t];return e.forEach((e=>{var t=r&&n&&r(e.item,n);o.splice(e.newIndex,0,t||e.item)})),o}function g(e){return e.oldIndicies&&0$882b6d93070905b3$re_export$Sortable)),l(e.exports,"Direction",(()=>$882b6d93070905b3$re_export$Direction)),l(e.exports,"DOMRect",(()=>$882b6d93070905b3$re_export$DOMRect)),l(e.exports,"GroupOptions",(()=>$882b6d93070905b3$re_export$GroupOptions)),l(e.exports,"MoveEvent",(()=>$882b6d93070905b3$re_export$MoveEvent)),l(e.exports,"Options",(()=>$882b6d93070905b3$re_export$Options)),l(e.exports,"PullResult",(()=>$882b6d93070905b3$re_export$PullResult)),l(e.exports,"PutResult",(()=>$882b6d93070905b3$re_export$PutResult)),l(e.exports,"SortableEvent",(()=>$882b6d93070905b3$re_export$SortableEvent)),l(e.exports,"SortableOptions",(()=>$882b6d93070905b3$re_export$SortableOptions)),l(e.exports,"Utils",(()=>$882b6d93070905b3$re_export$Utils)),l(e.exports,"ReactSortable",(()=>v));const m={dragging:null};class v extends r.Component{static defaultProps={clone:e=>e};constructor(e){super(e),this.ref=(0,r.createRef)();var t=[...e.list].map((e=>Object.assign(e,{chosen:!1,selected:!1})));e.setList(t,this.sortable,m),s(i)(!e.plugins,'\nPlugins prop is no longer supported.\nInstead, mount it with "Sortable.mount(new MultiDrag())"\nPlease read the updated README.md at https://github.com/SortableJS/react-sortablejs.\n ')}componentDidMount(){var e;null!==this.ref.current&&(e=this.makeOptions(),s(t).create(this.ref.current,e))}componentDidUpdate(e){e.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){var{tag:e,style:t,className:n,id:o}=this.props;return(0,r.createElement)(e&&null!==e?e:"div",{ref:this.ref,style:t,className:n,id:o},this.getChildren())}getChildren(){const{children:e,dataIdAttr:t,selectedClass:o="sortable-selected",chosenClass:i="sortable-chosen",filter:a="sortable-filter",list:l}=this.props;if(!e||null==e)return null;const c=t||"data-id";return r.Children.map(e,((e,t)=>{if(void 0!==e){var u=l[t]||{},d=e.props.className;return t="string"==typeof a&&{[a.replace(".","")]:!!u.filtered},t=s(n)(d,{[o]:u.selected,[i]:u.chosen,...t}),(0,r.cloneElement)(e,{[c]:e.key,className:t})}}))}get sortable(){var e=this.ref.current;if(null===e)return null;var t=Object.keys(e).find((e=>e.includes("Sortable")));return t?e[t]:null}makeOptions(){const e=function(e){const{list:t,setList:n,children:r,tag:o,style:i,className:a,clone:s,onAdd:l,onChange:c,onChoose:u,onClone:d,onEnd:p,onFilter:f,onRemove:h,onSort:g,onStart:m,onUnchoose:v,onUpdate:y,onMove:b,onSpill:x,onSelect:w,onDeselect:S,...k}=e;return k}(this.props);return["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"].forEach((t=>e[t]=this.prepareOnHandlerPropAndDOM(t))),["onChange","onClone","onFilter","onSort"].forEach((t=>e[t]=this.prepareOnHandlerProp(t))),{...e,onMove:(e,t)=>{const n=this.props.onMove;var r=e.willInsertAfter||-1;return n?void 0!==(t=n(e,t,this.sortable,m))&&t:r}}}prepareOnHandlerPropAndDOM(e){return t=>{this.callOnHandlerProp(t,e),this[e](t)}}prepareOnHandlerProp(e){return t=>{this.callOnHandlerProp(t,e)}}callOnHandlerProp(e,t){const n=this.props[t];n&&n(e,this.sortable,m)}onAdd(e){const{list:t,setList:n,clone:r}=this.props;var o=p(e,[...m.dragging.props.list]);u(o),n(e=h(o,t,e,r).map((e=>Object.assign(e,{selected:!1}))),this.sortable,m)}onRemove(e){const{list:t,setList:n}=this.props;var r=g(e);const o=p(e,t);d(o);let a=[...t];if("clone"!==e.pullMode)a=f(o,a);else{let t=o;switch(r){case"multidrag":t=o.map(((t,n)=>({...t,element:e.clones[n]})));break;case"normal":t=o.map((t=>({...t,element:e.clone})));break;default:s(i)(!0,`mode "${r}" cannot clone. Please remove "props.clone" from when using the "${r}" plugin`)}u(t),o.forEach((t=>{var n=t.oldIndex;t=this.props.clone(t.item,e),a.splice(n,1,t)}))}a=a.map((e=>Object.assign(e,{selected:!1}))),n(a,this.sortable,m)}onUpdate(e){const{list:t,setList:n}=this.props;return u(e=p(e,t)),d(e),n(e=h(e,f(e,t)),this.sortable,m)}onStart(){m.dragging=this}onEnd(){m.dragging=null}onChoose(e){const{list:t,setList:n}=this.props;var r=t.map(((t,n)=>{let r=t;return n===e.oldIndex&&(r=Object.assign(t,{chosen:!0})),r}));n(r,this.sortable,m)}onUnchoose(e){const{list:t,setList:n}=this.props;var r=t.map(((t,n)=>{let r=t;return n===e.oldIndex&&(r=Object.assign(r,{chosen:!1})),r}));n(r,this.sortable,m)}onSpill(e){var{removeOnSpill:t,revertOnSpill:n}=this.props;t&&!n&&c(e.item)}onSelect(e){const{list:t,setList:n}=this.props,r=t.map((e=>Object.assign(e,{selected:!1})));e.newIndicies.forEach((t=>{var n=t.index;if(-1===n)return console.log(`"${e.type}" had indice of "${t.index}", which is probably -1 and doesn't usually happen here.`),void console.log(e);r[n].selected=!0})),n(r,this.sortable,m)}onDeselect(e){const{list:t,setList:n}=this.props,r=t.map((e=>Object.assign(e,{selected:!1})));e.newIndicies.forEach((e=>{-1!==(e=e.index)&&(r[e].selected=!0)})),n(r,this.sortable,m)}}var y,b;y=e.exports,b={},Object.keys(b).forEach((function(e){"default"===e||"__esModule"===e||y.hasOwnProperty(e)||Object.defineProperty(y,e,{enumerable:!0,get:function(){return b[e]}})}))}(Mt);var Jr=new Uint8Array(16);function eo(){if(!Zr&&!(Zr="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Zr(Jr)}var to=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function no(e){return"string"==typeof e&&to.test(e)}for(var ro=[],oo=0;oo<256;++oo)ro.push((oo+256).toString(16).substr(1));function io(e,t,n){var r=(e=e||{}).random||(e.rng||eo)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return function(e){var t;if(!no(t=(ro[e[(t=10?{timer:setTimeout((function(){return e.onConfirm()}),e.timeout),prevTimeout:e.timeout}:null},t.isAnimation=function(e){return e&&"boolean"!=typeof e},t.animationFromProp=function(e){return e.name+" "+e.duration+"ms"},t.handleAnimState=function(e,n,r){var o="boolean"!=typeof e.show||n.closingAction?n.show:e.show,i="";if(o)e.openAnim&&(t.isAnimation(e.openAnim)?i=t.animationFromProp(e.openAnim):t.isAnimation(t.defaultProps.openAnim)&&(i=t.animationFromProp(t.defaultProps.openAnim)));else if(n.closingAction&&e.closeAnim){var a=void 0;t.isAnimation(e.closeAnim)?a=e.closeAnim:t.isAnimation(t.defaultProps.closeAnim)&&(a=t.defaultProps.closeAnim),a&&(i=t.animationFromProp(a),r(a.duration),o=!0)}return{show:o,animation:i}},t.prototype.render=function(){return this.state.show?d.default.createElement("div",null,this.getInjectedStyles(),d.default.createElement(S.default,{show:!this.props.hideOverlay,onClick:this.onClickOutside,onKeyDown:this.onKeyDown},d.default.createElement("div",{style:this.getComposedStyle(),tabIndex:0,onKeyDown:this.onKeyDown,onClick:this.onClickInside,className:"sweet-alert "+this.props.customClass},this.getCloseButton(),this.getIcon(),d.default.createElement(x.default,null,this.props.title),d.default.createElement(w.default,null,this.getAlertContent()),this.getInputField(),this.getValidationMessage(),this.getButtons()))):null},t.propTypes=E.SWEET_ALERT_PROP_TYPES,t.defaultProps=A.SWEET_ALERT_DEFAULT_PROPS,t.SuccessIcon=p.default,t.ErrorIcon=f.default,t.InfoIcon=h.default,t.WarningIcon=g.default,t.CustomIcon=m.default,t.Buttons=v.default,t.Input=y.default,t.ValidationMessage=b.default,t.Title=x.default,t.Content=w.default,t.getStateFromProps=function(e){var n=t.getTypeFromProps(e);return{type:n,focusConfirmBtn:e.focusConfirmBtn&&"input"!==n,focusCancelBtn:e.focusCancelBtn&&"input"!==n,dependencies:e.dependencies}},t.getTypeFromProps=function(e){return e.type?e.type:e.secondary?"secondary":e.info?"info":e.success?"success":e.warning?"warning":e.danger||e.error?"danger":e.input?"input":e.custom?"custom":"default"},t}(d.default.Component);t.default=T},8593:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(9196)),i=n(4895);t.default=function(e){var t=e.children;return o.default.createElement("h2",{style:i.title},t)}},3403:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(9196)),l=i(n(4895));t.default=function(e){var t=e.validationMsg,n=e.inputType,r=t||("email"===n?"Please enter a valid email!":"Please enter a response!");return s.default.createElement("div",{style:l.validationMessage},s.default.createElement("div",{style:l.exclamationIcon},"!"),r)}},9890:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(9196)),l=i(n(4895));t.default=function(){return s.default.createElement("div",{style:Object.assign({},l.icon,l.iconWarning)},s.default.createElement("span",{style:l.iconWarningBody}),s.default.createElement("span",{style:l.iconWarningDot}))}},7147:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.emailRegex=t.defaultRegex=void 0,t.defaultRegex=/^.+$/,t.emailRegex=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},5813:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SWEET_ALERT_DEFAULT_PROPS=void 0,t.SWEET_ALERT_DEFAULT_PROPS={allowEscape:!0,closeOnClickOutside:!0,inputType:"text",customClass:"",validationMsg:null,validationRegex:null,hideOverlay:!1,required:!0,disabled:!1,focusConfirmBtn:!0,focusCancelBtn:!1,showCloseButton:!1,confirmBtnBsStyle:"primary",cancelBtnBsStyle:"link",beforeMount:function(){},afterMount:function(){},beforeUpdate:null,afterUpdate:function(){},beforeUnmount:function(){},style:{},closeBtnStyle:{},timeout:0,openAnim:{name:"showSweetAlert",duration:300},closeAnim:!1,reverseButtons:!1,dependencies:[]}},1643:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1570));t.default=o.default},283:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SWEET_ALERT_PROP_TYPES=void 0;var o=r(n(5697));t.SWEET_ALERT_PROP_TYPES={type:o.default.oneOf(["default","info","success","warning","danger","error","input","custom","controlled"]),info:o.default.bool,success:o.default.bool,warning:o.default.bool,danger:o.default.bool,error:o.default.bool,input:o.default.bool,custom:o.default.bool,controlled:o.default.bool,title:o.default.oneOfType([o.default.node,o.default.string]).isRequired,onCancel:o.default.func,onConfirm:o.default.func.isRequired,confirmBtnText:o.default.oneOfType([o.default.node,o.default.string]),confirmBtnBsStyle:o.default.string,confirmBtnCssClass:o.default.string,confirmBtnStyle:o.default.object,cancelBtnText:o.default.oneOfType([o.default.node,o.default.string]),cancelBtnBsStyle:o.default.string,cancelBtnCssClass:o.default.string,cancelBtnStyle:o.default.object,btnSize:o.default.string,customIcon:o.default.oneOfType([o.default.node,o.default.string]),show:o.default.bool,required:o.default.bool,placeholder:o.default.string,validationMsg:o.default.string,validationRegex:o.default.object,defaultValue:o.default.oneOfType([o.default.number,o.default.string]),inputType:o.default.string,style:o.default.object,closeBtnStyle:o.default.object,customClass:o.default.string,showConfirm:o.default.bool,showCancel:o.default.bool,showCloseButton:o.default.bool,allowEscape:o.default.bool,closeOnClickOutside:o.default.bool,hideOverlay:o.default.bool,disabled:o.default.bool,focusConfirmBtn:o.default.bool,focusCancelBtn:o.default.bool,beforeMount:o.default.func,afterMount:o.default.func,beforeUpdate:o.default.func,afterUpdate:o.default.func,beforeUnmount:o.default.func,timeout:o.default.number,openAnim:o.default.any,closeAnim:o.default.any,reverseButtons:o.default.bool,customButtons:o.default.node,dependencies:o.default.arrayOf(o.default.any)}},4895:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closeButton=t.inputErrorIconAfter=t.inputErrorIconBefore=t.inputErrorIconBeforeAfter=t.inputErrorIcon=t.exclamationIcon=t.validationMessage=t.button=t.iconCustom=t.iconSuccessLineLong=t.iconSuccessLineTip=t.iconSuccessLine=t.iconSuccessFix=t.iconSuccessPlaceholder=t.iconSuccessAfter=t.iconSuccessBefore=t.iconSuccessBeforeAfter=t.iconSuccess=t.iconInfoAfter=t.iconInfoBefore=t.iconInfo=t.iconWarningDot=t.iconWarningBody=t.iconWarning=t.iconErrorLineRight=t.iconErrorLineLeft=t.iconErrorLine=t.iconErrorX=t.iconError=t.icon=t.actions=t.contentContainer=t.title=t.sweetAlert=t.sweetAlertContainer=t.overlay=void 0,t.overlay={backgroundColor:"rgba(0, 0, 0, 0.4)",position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:5e3},t.sweetAlertContainer={display:"flex",position:"fixed",top:0,right:0,left:0,bottom:0,flexDirection:"row",alignItems:"center",justifyContent:"center",padding:".625em",overflowX:"hidden",overflowY:"auto",zIndex:5400},t.sweetAlert={display:"flex",overflow:"hidden",backgroundColor:"#fff",outline:"none",width:"32em",padding:"1.25rem",margin:"auto",borderRadius:".3125em",textAlign:"center",position:"relative",flexDirection:"column",justifyContent:"center",maxWidth:"100%",zIndex:5600},t.title={position:"relative",maxWidth:"100%",margin:"0 0 .4em",padding:0,fontSize:"1.875em",fontWeight:600,textAlign:"center",textTransform:"none",wordWrap:"break-word"},t.contentContainer={zIndex:1,justifyContent:"center",margin:0,padding:0,fontSize:"1.125em",fontWeight:300,lineHeight:"normal",textAlign:"center",wordWrap:"break-word"},t.actions={display:"flex",zIndex:1,flexWrap:"wrap",alignItems:"center",justifyContent:"center",width:"100%",margin:"1.25em auto 0"},t.icon={width:80,height:80,borderWidth:4,borderStyle:"solid",borderColor:"gray",borderRadius:"50%",margin:"20px auto",position:"relative",boxSizing:"content-box"},t.iconError={borderColor:"#d43f3a",animation:"animateErrorIcon 0.5s"},t.iconErrorX={position:"relative",display:"block",animation:"animateXMark 0.5s"},t.iconErrorLine={position:"absolute",height:5,width:47,backgroundColor:"#d9534f",display:"block",top:37,borderRadius:2},t.iconErrorLineLeft={transform:"rotate(45deg)",left:17},t.iconErrorLineRight={transform:"rotate(-45deg)",right:16},t.iconWarning={borderColor:"#eea236",animation:"pulseWarning 0.75s infinite alternate"},t.iconWarningBody={position:"absolute",width:5,height:47,left:"50%",top:10,borderRadius:2,marginLeft:-2,backgroundColor:"#f0ad4e",animation:"pulseWarningIns 0.75s infinite alternate"},t.iconWarningDot={position:"absolute",width:7,height:7,borderRadius:"50%",marginLeft:-3,left:"50%",bottom:10,backgroundColor:"#f0ad4e",animation:"pulseWarningIns 0.75s infinite alternate"},t.iconInfo={borderColor:"#46b8da"},t.iconInfoBefore={content:"",position:"absolute",width:5,height:29,left:"50%",bottom:17,borderRadius:2,marginLeft:-2,backgroundColor:"#5bc0de"},t.iconInfoAfter={content:"",position:"absolute",width:7,height:7,borderRadius:"50%",marginLeft:-3,left:"50%",top:19,backgroundColor:"#5bc0de"},t.iconSuccess={borderColor:"#4cae4c"},t.iconSuccessBeforeAfter={content:"",borderRadius:"50%",position:"absolute",width:60,height:120,background:"white",transform:"rotate(45deg)"},t.iconSuccessBefore={borderRadius:"120px 0 0 120px",height:100,top:-7,left:-33,transform:"rotate(-45deg)",transformOrigin:"60px 60px"},t.iconSuccessAfter={borderRadius:"0 120px 120px 0",top:-11,left:30,transform:"rotate(-45deg)",transformOrigin:"0px 60px",animation:"rotatePlaceholder 4.25s ease-in"},t.iconSuccessPlaceholder={width:80,height:80,border:"4px solid rgba(92, 184, 92, 0.2)",borderRadius:"50%",boxSizing:"content-box",position:"absolute",left:-4,top:-4,zIndex:2},t.iconSuccessFix={width:5,height:90,backgroundColor:"#fff",position:"absolute",left:28,top:8,zIndex:1,transform:"rotate(-45deg)"},t.iconSuccessLine={height:5,backgroundColor:"#5cb85c",display:"block",borderRadius:2,position:"absolute",zIndex:2},t.iconSuccessLineTip={width:25,left:14,top:46,transform:"rotate(45deg)",animation:"animateSuccessTip 0.75s"},t.iconSuccessLineLong={width:47,right:8,top:38,transform:"rotate(-45deg)",animation:"animateSuccessLong 0.75s"},t.iconCustom={backgroundSize:"contain",borderRadius:0,border:"none",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},t.button={marginRight:8},t.validationMessage={display:"block",backgroundColor:"#f1f1f1",marginLeft:"-1.25rem",marginRight:"-1.25rem",marginTop:20,overflow:"hidden",padding:10,maxHeight:100,transition:"padding 0.25s, max-height 0.25s",color:"#797979",fontSize:16,textAlign:"center",fontWeight:300},t.exclamationIcon={display:"inline-block",width:24,height:24,borderRadius:"50%",backgroundColor:"#ea7d7d",color:"white",lineHeight:"24px",textAlign:"center",marginRight:5},t.inputErrorIcon={position:"absolute",top:8,right:8,width:20,height:20,transformOrigin:"50% 50%",transition:"all 0.1s",opacity:1,transform:"scale(1)"},t.inputErrorIconBeforeAfter={content:"",width:20,height:6,backgroundColor:"#f06e57",borderRadius:3,position:"absolute",top:"50%",marginTop:-4,left:"50%",marginLeft:-9},t.inputErrorIconBefore={transform:"rotate(-45deg)"},t.inputErrorIconAfter={transform:"rotate(45deg)"},t.closeButton={position:"absolute",right:4,top:-2,fontSize:25,fontWeight:900,color:"rgb(113, 113, 113)",zIndex:1,cursor:"pointer"}},1768:function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator,r(n(6489)),r(n(7418));function r(e){return e&&e.__esModule?e:{default:e}}"undefined"==typeof document||"undefined"!=typeof process&&process.env},4084:function(e,t,n){"use strict";function r(e){return 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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=s(n(9196)),i=s(n(640)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function l(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 c(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),r=o.default.Children.only(t);return o.default.cloneElement(r,c(c({},n),{},{onClick:this.onClick}))}}])&&d(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(o.default.PureComponent);t.CopyToClipboard=v,m(v,"defaultProps",{onCopy:void 0,options:void 0})},4855:function(e,t,n){"use strict";var r=n(4084).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},5108:function(e,t,n){window,e.exports=function(e,t,n){return i={},r.m=o=[function(e,t,n){e.exports=n(10)()},function(t,n){t.exports=e},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<|]|"+t.src_ZPCc+"))("+d+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+d+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(u=e).__index__=-1,u.__text_cache__=""}function d(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function p(e,t){var n=new d(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function f(e,t){if(!(this instanceof f))return new f(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},f.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||lthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},f.prototype.match=function(e){var t=0,n=[];0<=this.__index__&&this.__text_cache__===e&&(n.push(p(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(p(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),u(this),this},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},function(e,t,n){e.exports=n(40)},function(e,t,n){},function(e,t,n){"use strict";var r=n(11);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(22).source,t.src_Cc=n(23).source,t.src_Z=n(24).source,t.src_P=n(25).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",(function(){return wr}));var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),l=n(4),c=n(2),u=n.n(c);function d(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){u.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(i.Component);h.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.Z=h},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case m:case g:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},9864:function(e,t,n){"use strict";e.exports=n(9921)},5726:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?f(k,--w):0,b--,10===S&&(b=1,y--),S}function M(){return S=w2||D(S)>3?"":" "}function P(e,t){for(;--t&&M()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return T(e,_()+(t<6&&32==O()&&32==M()))}function z(e){for(;M();)switch(S){case e:return w;case 34:case 39:34!==e&&39!==e&&z(S);break;case 40:41===e&&z(e);break;case 92:M()}return w}function R(e,t){for(;M()&&e+S!==57&&(e+S!==84||47!==O()););return"/*"+T(t,w-1)+"*"+l(47===e?e:M())}function B(e){for(;!D(O());)M();return T(e,w)}var F="-ms-",H="-moz-",Y="-webkit-",U="comm",W="rule",X="decl",V="@keyframes";function G(e,t){for(var n="",r=m(e),o=0;o6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return d(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+H+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?Z(d(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,g(e)-3-(~p(e,"!important")&&10))){case 107:return d(e,":",":"+Y)+e;case 101:return d(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(45===f(e,14)?"inline-":"")+"box$3$1"+Y+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return Y+e+F+d(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+F+d(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+F+d(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+F+e+e}return e}function q(e){return I(Q("",null,null,null,[""],e=L(e),0,[0],e))}function Q(e,t,n,r,o,i,a,s,c){for(var u=0,f=0,h=a,m=0,y=0,b=0,x=1,w=1,S=1,k=0,C="",E=o,T=i,D=r,L=C;w;)switch(b=k,k=M()){case 40:if(108!=b&&58==L.charCodeAt(h-1)){-1!=p(L+=d(N(k),"&","&\f"),"&\f")&&(S=-1);break}case 34:case 39:case 91:L+=N(k);break;case 9:case 10:case 13:case 32:L+=j(b);break;case 92:L+=P(_()-1,7);continue;case 47:switch(O()){case 42:case 47:v(J(R(M(),_()),t,n),c);break;default:L+="/"}break;case 123*x:s[u++]=g(L)*S;case 125*x:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+f:y>0&&g(L)-h&&v(y>32?ee(L+";",r,n,h-1):ee(d(L," ","")+";",r,n,h-2),c);break;case 59:L+=";";default:if(v(D=$(L,t,n,u,f,o,s,C,E=[],T=[],h),i),123===k)if(0===f)Q(L,t,D,D,E,i,h,s,T);else switch(m){case 100:case 109:case 115:Q(e,D,D,r&&v($(e,D,D,0,0,o,s,C,o,E=[],h),T),o,T,h,s,r?E:T);break;default:Q(L,D,D,D,[""],T,0,s,T)}}u=f=y=0,x=S=1,C=L="",h=a;break;case 58:h=1+g(L),y=b;default:if(x<1)if(123==k)--x;else if(125==k&&0==x++&&125==A())continue;switch(L+=l(k),k*x){case 38:S=f>0?1:(L+="\f",-1);break;case 44:s[u++]=(g(L)-1)*S,S=1;break;case 64:45===O()&&(L+=N(M())),m=O(),f=h=g(C=L+=B(_())),k++;break;case 45:45===b&&2==g(L)&&(x=0)}}return i}function $(e,t,n,r,o,i,a,l,c,p,f){for(var g=o-1,v=0===o?i:[""],y=m(v),b=0,x=0,w=0;b0?v[S]+" "+k:d(k,/&\f/g,v[S])))&&(c[w++]=E);return C(e,t,n,0===o?W:l,c,p,f)}function J(e,t,n){return C(e,t,n,U,l(S),h(e,2,-2),0)}function ee(e,t,n,r){return C(e,t,n,X,h(e,0,r),h(e,r+1,-1),r)}var te=function(e,t,n){for(var r=0,o=0;r=o,o=O(),38===r&&12===o&&(t[n]=1),!D(o);)M();return T(e,w)},ne=new WeakMap,re=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ne.get(n))&&!r){ne.set(e,!0);for(var o=[],i=function(e,t){return I(function(e,t){var n=-1,r=44;do{switch(D(r)){case 0:38===r&&12===O()&&(t[n]=1),e[n]+=te(w-1,t,n);break;case 2:e[n]+=N(r);break;case 4:if(44===r){e[++n]=58===O()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=l(r)}}while(r=M());return e}(L(e),t))}(t,o),a=n.props,s=0,c=0;s-1&&!e.return)switch(e.type){case X:e.return=Z(e.value,e.length);break;case V:return G([E(e,{value:d(e.value,"@","@"+Y)})],r);case W:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return G([E(e,{props:[d(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return G([E(e,{props:[d(t,/:(plac\w+)/,":-webkit-input-$1")]}),E(e,{props:[d(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[d(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],ae=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||ie,s={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},de={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pe=/[A-Z]|^ms/g,fe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,he=function(e){return 45===e.charCodeAt(1)},ge=function(e){return null!=e&&"boolean"!=typeof e},me=function(e){var t=Object.create(null);return function(e){return void 0===t[e]&&(t[e]=he(n=e)?n:n.replace(pe,"-$&").toLowerCase()),t[e];var n}}(),ve=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(fe,(function(e,t,n){return be={name:t,styles:n,next:be},t}))}return 1===de[e]||he(e)||"number"!=typeof t||0===t?t:t+"px"};function ye(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return be={name:n.name,styles:n.styles,next:be},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)be={name:r.name,styles:r.styles,next:be},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Fe=n(1002),He=n(5639),Ye=n(5671),Ue=n(3144),We=n(136),Xe=n(4942),Ve=n(1850);function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(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 Ze(e){for(var t=1;t-1}function it(e){return ot(e)?window.pageYOffset:e.scrollTop}function at(e,t){ot(e)?window.scrollTo(0,t):e.scrollTop=t}function st(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Je,o=it(e),i=t-o,a=10,s=0;function l(){var t=st(s+=a,o,i,n);at(e,t),s=f)return{placement:"bottom",maxHeight:t};if(k>=f&&!a)return i&<(l,C,A),{placement:"bottom",maxHeight:t};if(!a&&k>=r||a&&w>=r)return i&<(l,C,A),{placement:"bottom",maxHeight:a?w-y:k-y};if("auto"===o||a){var M=t,O=a?x:S;return O>=r&&(M=Math.min(O-y-s.controlHeight,t)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&at(l,C),{placement:"bottom",maxHeight:t};break;case"top":if(x>=f)return{placement:"top",maxHeight:t};if(S>=f&&!a)return i&<(l,E,A),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&x>=r){var _=t;return(!a&&S>=r||a&&x>=r)&&(_=a?x-b:S-b),i&<(l,E,A),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var gt=function(e){return"auto"===e?"bottom":e},mt=(0,o.createContext)({getPortalPlacement:null}),vt=function(e){(0,We.Z)(n,e);var t=$e(n);function n(){var e;(0,Ye.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,g=d-p-c,m=!1;g>t&&s.current&&(r&&r(e),s.current=!1),h&&l.current&&(a&&a(e),l.current=!1),h&&t>g?(n&&!s.current&&n(e),f.scrollTop=d,m=!0,s.current=!0):!h&&-t>c&&(i&&!l.current&&i(e),f.scrollTop=0,m=!0,l.current=!0),m&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[]),p=(0,o.useCallback)((function(e){d(e,e.deltaY)}),[d]),f=(0,o.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),h=(0,o.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)}),[d]),g=(0,o.useCallback)((function(e){if(e){var t=!!ft&&{passive:!1};"function"==typeof e.addEventListener&&e.addEventListener("wheel",p,t),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",f,t),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",h,t)}}),[h,f,p]),m=(0,o.useCallback)((function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",p,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",f,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",h,!1))}),[h,f,p]);return(0,o.useEffect)((function(){if(t){var e=u.current;return g(e),function(){m(e)}}}),[t,g,m]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=(0,o.useRef)({}),a=(0,o.useRef)(null),s=(0,o.useCallback)((function(e){if(gn){var t=document.body,n=t&&t.style;if(r&&cn.forEach((function(e){var t=n&&n[e];i.current[e]=t})),r&&mn<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(un).forEach((function(e){var t=un[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&hn()&&(t.addEventListener("touchmove",dn,vn),e&&(e.addEventListener("touchstart",fn,vn),e.addEventListener("touchmove",pn,vn))),mn+=1}}),[]),l=(0,o.useCallback)((function(e){if(gn){var t=document.body,n=t&&t.style;mn=Math.max(mn-1,0),r&&mn<1&&cn.forEach((function(e){var t=i.current[e];n&&(n[e]=t)})),t&&hn()&&(t.removeEventListener("touchmove",dn,vn),e&&(e.removeEventListener("touchstart",fn,vn),e.removeEventListener("touchmove",pn,vn)))}}),[]);return(0,o.useEffect)((function(){if(t){var e=a.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){a.current=e}}({isEnabled:n});return Le(i().Fragment,null,n&&Le("div",{onClick:yn,css:bn}),t((function(e){a(e),s(e)})))}var wn={clearIndicator:It,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:Lt,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:xt,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return t={label:"menu"},(0,Xe.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,Xe.Z)(t,"backgroundColor",a.neutral0),(0,Xe.Z)(t,"borderRadius",o),(0,Xe.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,Xe.Z)(t,"marginBottom",i.menuGutter),(0,Xe.Z)(t,"marginTop",i.menuGutter),(0,Xe.Z)(t,"position","absolute"),(0,Xe.Z)(t,"width","100%"),(0,Xe.Z)(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:bt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?a.primary:a.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},Sn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},kn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ct(),captureMenuScroll:!ct(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=Ze({ignoreCase:!0,ignoreAccents:!0,stringify:sn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?an(t):t,c=a?an(i(e)):i(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=on(l),c=rn(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function Cn(e,t,n,r){return{type:"option",data:t,isDisabled:Dn(e,t,n),isSelected:Ln(e,t,n),label:On(e,t),value:Tn(e,t),index:r}}function En(e,t){return e.options.map((function(n,r){if(n.options){var o=n.options.map((function(n,r){return Cn(e,n,t,r)})).filter((function(t){return Mn(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Cn(e,n,t,r);return Mn(e,i)?i:void 0})).filter((function(e){return!!e}))}function An(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Wt(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Mn(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Nn(e)||!i)&&In(e,{label:a,value:s,data:o},r)}var On=function(e,t){return e.getOptionLabel(t)},Tn=function(e,t){return e.getOptionValue(t)};function Dn(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Ln(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Tn(e,t);return n.some((function(t){return Tn(e,t)===r}))}function In(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Nn=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},jn=1,Pn=function(e){(0,We.Z)(n,e);var t=$e(n);function n(e){var r;return(0,Ye.Z)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,o=r.props,i=o.closeMenuOnSelect,a=o.isMulti;r.onInputChange("",{action:"set-value"}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,s=o&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==c})),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",name:i});o?r.setValue([].concat(Wt(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=t?i:i[0]||null;r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(r.props.isMulti?[]:null,{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=e?o:o[0]||null;r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(t,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return Nn(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=r.state,h=f.focusedOption,g=f.focusedValue,m=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)r.removeValue(g);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,m))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++jn),r.state.selectValue=nt(e.value),r}return(0,Ue.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,i,a=this.props,s=a.isDisabled,l=a.menuIsOpen,c=this.state.isFocused;(c&&!s&&e.isDisabled||c&&l&&!e.menuIsOpen)&&this.focusInput(),c&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?at(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+i,t.scrollHeight)):o.top-i-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Sn):Ze(Ze({},Sn),this.props.theme):Sn}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,l=a.isRtl,c=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:c,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Dn(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ln(this.props,e,t)}},{key:"filterOption",value:function(e,t){return In(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,a=e.inputValue,s=e.tabIndex,l=e.form,c=this.getComponents().Input,u=this.state.inputIsHidden,d=this.commonProps,p=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return n?i().createElement(c,(0,r.Z)({},d,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:p,innerRef:this.getInputRef,isDisabled:t,isHidden:u,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:a},f)):i().createElement(ln,(0,r.Z)({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Je,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:s,form:l,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,s=t.MultiValueRemove,l=t.SingleValue,c=t.Placeholder,u=this.commonProps,d=this.props,p=d.controlShouldRenderValue,f=d.isDisabled,h=d.isMulti,g=d.inputValue,m=d.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,x=v.isFocused;if(!this.hasValue()||!p)return g?null:i().createElement(c,(0,r.Z)({},u,{key:"placeholder",isDisabled:f,isFocused:x}),m);if(h){var w=y.map((function(t,l){var c=t===b;return i().createElement(n,(0,r.Z)({},u,{components:{Container:o,Label:a,Remove:s},isFocused:c,isDisabled:f,key:"".concat(e.getOptionValue(t)).concat(l),index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));return w}if(g)return null;var S=y[0];return i().createElement(l,(0,r.Z)({},u,{data:S,isDisabled:f}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i().createElement(e,(0,r.Z)({},t,{innerProps:l,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,s=this.state.isFocused;return e&&a?i().createElement(e,(0,r.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused;return i().createElement(n,(0,r.Z)({},o,{isDisabled:a,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i().createElement(e,(0,r.Z)({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,a=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,p=this.commonProps,f=this.state.focusedOption,h=this.props,g=h.captureMenuScroll,m=h.inputValue,v=h.isLoading,y=h.loadingMessage,b=h.minMenuHeight,x=h.maxMenuHeight,w=h.menuIsOpen,S=h.menuPlacement,k=h.menuPosition,C=h.menuPortalTarget,E=h.menuShouldBlockScroll,A=h.menuShouldScrollIntoView,M=h.noOptionsMessage,O=h.onMenuScrollToTop,_=h.onMenuScrollToBottom;if(!w)return null;var T,D=function(t,n){var o=t.type,a=t.data,s=t.isDisabled,l=t.isSelected,c=t.label,u=t.value,h=f===a,g=s?void 0:function(){return e.onOptionHover(a)},m=s?void 0:function(){return e.selectOption(a)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1};return i().createElement(d,(0,r.Z)({},p,{innerProps:y,data:a,isDisabled:s,isSelected:l,key:v,label:c,type:o,value:u,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,s=t.options,l=t.index,c="".concat(e.getElementId("group"),"-").concat(l),u="".concat(c,"-heading");return i().createElement(n,(0,r.Z)({},p,{key:c,data:a,options:s,Heading:o,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return D(t,"".concat(t.index))}));else if(v){var L=y({inputValue:m});if(null===L)return null;T=i().createElement(c,p,L)}else{var I=M({inputValue:m});if(null===I)return null;T=i().createElement(u,p,I)}var N={minMenuHeight:b,maxMenuHeight:x,menuPlacement:S,menuPosition:k,menuShouldScrollIntoView:A},j=i().createElement(vt,(0,r.Z)({},p,N),(function(t){var n=t.ref,o=t.placerProps,l=o.placement,c=o.maxHeight;return i().createElement(a,(0,r.Z)({},p,N,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:l}),i().createElement(xn,{captureEnabled:g,onTopArrive:O,onBottomArrive:_,lockEnabled:E},(function(t){return i().createElement(s,(0,r.Z)({},p,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:v,maxHeight:c,focusedOption:f}),T)})))}));return C||"fixed"===k?i().createElement(l,(0,r.Z)({},p,{appendTo:C,controlElement:this.controlRef,menuPlacement:S,menuPosition:k}),j):j}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,s=this.state.selectValue;if(a&&!r){if(o){if(n){var l=s.map((function(t){return e.getOptionValue(t)})).join(n);return i().createElement("input",{name:a,type:"hidden",value:l})}var c=s.length>0?s.map((function(t,n){return i().createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i().createElement("input",{name:a,type:"hidden"});return i().createElement("div",null,c)}var u=s[0]?this.getOptionValue(s[0]):"";return i().createElement("input",{name:a,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,a=t.focusedValue,s=t.isFocused,l=t.selectValue,c=this.getFocusableOptions();return i().createElement(qt,(0,r.Z)({},e,{ariaSelection:n,focusedOption:o,focusedValue:a,isFocused:s,selectValue:l,focusableOptions:c}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,s=this.props,l=s.className,c=s.id,u=s.isDisabled,d=s.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return i().createElement(o,(0,r.Z)({},f,{className:l,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:p}),this.renderLiveRegion(),i().createElement(t,(0,r.Z)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:p,menuIsOpen:d}),i().createElement(a,(0,r.Z)({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),i().createElement(n,(0,r.Z)({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=e.options,a=e.value,s=e.menuIsOpen,l=e.inputValue,c={};if(n&&(a!==n.value||i!==n.options||s!==n.menuIsOpen||l!==n.inputValue)){var u=nt(a),d=s?function(e,t){return An(En(e,t))}(e,u):[],p=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r-1?n:t[0]}(t,d);c={selectValue:u,focusedOption:f,focusedValue:p,clearFocusValueOnUpdate:!1}}var h=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{};return Ze(Ze(Ze({},c),h),{},{prevProps:e})}}]),n}(o.Component);Pn.defaultProps=kn;var zn,Rn,Bn,Fn=(o.Component,zn=Pn,Bn=Rn=function(e){(0,We.Z)(n,e);var t=$e(n);function n(){var e;(0,Ye.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i1?n-1:0),o=1;oe.charAt(0).toUpperCase()+e.slice(1),n=e=>Array.prototype.slice.call(e),r=t=>{console.warn("".concat(e," ").concat("object"==typeof t?t.join(" "):t))},o=t=>{console.error("".concat(e," ").concat(t))},i=[],a=(e,t)=>{var n;n='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),i.includes(n)||(i.push(n),r(n))},s=e=>"function"==typeof e?e():e,l=e=>e&&"function"==typeof e.toPromise,c=e=>l(e)?e.toPromise():Promise.resolve(e),u=e=>e&&Promise.resolve(e)===e,d={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},p=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],f={},h=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],g=e=>Object.prototype.hasOwnProperty.call(d,e),m=e=>-1!==p.indexOf(e),v=e=>f[e],y=e=>{g(e)||r('Unknown parameter "'.concat(e,'"'))},b=e=>{h.includes(e)&&r('The parameter "'.concat(e,'" is incompatible with toasts'))},x=e=>{v(e)&&a(e,v(e))},w=e=>{const t={};for(const n in e)t[e[n]]="swal2-"+e[n];return t},S=w(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),k=w(["success","warning","info","question","error"]),C=()=>document.body.querySelector(".".concat(S.container)),E=e=>{const t=C();return t?t.querySelector(e):null},A=e=>E(".".concat(e)),M=()=>A(S.popup),O=()=>A(S.icon),_=()=>A(S.title),T=()=>A(S["html-container"]),D=()=>A(S.image),L=()=>A(S["progress-steps"]),I=()=>A(S["validation-message"]),N=()=>E(".".concat(S.actions," .").concat(S.confirm)),j=()=>E(".".concat(S.actions," .").concat(S.deny)),P=()=>E(".".concat(S.loader)),z=()=>E(".".concat(S.actions," .").concat(S.cancel)),R=()=>A(S.actions),B=()=>A(S.footer),F=()=>A(S["timer-progress-bar"]),H=()=>A(S.close),Y=()=>{const e=n(M().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((e,t)=>{const n=parseInt(e.getAttribute("tabindex")),r=parseInt(t.getAttribute("tabindex"));return n>r?1:n"-1"!==e.getAttribute("tabindex")));return(e=>{const t=[];for(let n=0;nae(e)))},U=()=>G(document.body,S.shown)&&!G(document.body,S["toast-shown"])&&!G(document.body,S["no-backdrop"]),W=()=>M()&&G(M(),S.toast),X={previousBodyPadding:null},V=(e,t)=>{if(e.textContent="",t){const r=(new DOMParser).parseFromString(t,"text/html");n(r.querySelector("head").childNodes).forEach((t=>{e.appendChild(t)})),n(r.querySelector("body").childNodes).forEach((t=>{e.appendChild(t)}))}},G=(e,t)=>{if(!t)return!1;const n=t.split(/\s+/);for(let t=0;t{if(((e,t)=>{n(e.classList).forEach((n=>{Object.values(S).includes(n)||Object.values(k).includes(n)||Object.values(t.showClass).includes(n)||e.classList.remove(n)}))})(e,t),t.customClass&&t.customClass[o]){if("string"!=typeof t.customClass[o]&&!t.customClass[o].forEach)return r("Invalid type of customClass.".concat(o,'! Expected string or iterable object, got "').concat(typeof t.customClass[o],'"'));$(e,t.customClass[o])}},Z=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(S.popup," > .").concat(S[t]));case"checkbox":return e.querySelector(".".concat(S.popup," > .").concat(S.checkbox," input"));case"radio":return e.querySelector(".".concat(S.popup," > .").concat(S.radio," input:checked"))||e.querySelector(".".concat(S.popup," > .").concat(S.radio," input:first-child"));case"range":return e.querySelector(".".concat(S.popup," > .").concat(S.range," input"));default:return e.querySelector(".".concat(S.popup," > .").concat(S.input))}},q=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},Q=(e,t,n)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},$=(e,t)=>{Q(e,t,!0)},J=(e,t)=>{Q(e,t,!1)},ee=(e,t)=>{const r=n(e.childNodes);for(let e=0;e{n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},ne=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.display=t},re=e=>{e.style.display="none"},oe=(e,t,n,r)=>{const o=e.querySelector(t);o&&(o.style[n]=r)},ie=(e,t,n)=>{t?ne(e,n):re(e)},ae=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),se=e=>!!(e.scrollHeight>e.clientHeight),le=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=F();ae(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},ue=()=>"undefined"==typeof window||"undefined"==typeof document,de={},pe=e=>new Promise((t=>{if(!e)return t();const n=window.scrollX,r=window.scrollY;de.restoreFocusTimeout=setTimeout((()=>{de.previousActiveElement&&de.previousActiveElement.focus?(de.previousActiveElement.focus(),de.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),window.scrollTo(n,r)})),fe='\n
\n \n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),he=()=>{de.currentInstance.resetValidationMessage()},ge=e=>{const t=(()=>{const e=C();return!!e&&(e.remove(),J([document.documentElement,document.body],[S["no-backdrop"],S["toast-shown"],S["has-column"]]),!0)})();if(ue())return void o("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=S.container,t&&$(n,S["no-transition"]),V(n,fe);const r="string"==typeof(i=e.target)?document.querySelector(i):i;var i;r.appendChild(n),(e=>{const t=M();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&$(C(),S.rtl)})(r),(()=>{const e=M(),t=ee(e,S.input),n=ee(e,S.file),r=e.querySelector(".".concat(S.range," input")),o=e.querySelector(".".concat(S.range," output")),i=ee(e,S.select),a=e.querySelector(".".concat(S.checkbox," input")),s=ee(e,S.textarea);t.oninput=he,n.onchange=he,i.onchange=he,a.onchange=he,s.oninput=he,r.oninput=()=>{he(),o.value=r.value},r.onchange=()=>{he(),r.nextSibling.value=r.value}})()},me=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?ve(e,t):e&&V(t,e)},ve=(e,t)=>{e.jquery?ye(t,e):V(t,e.toString())},ye=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},be=(()=>{if(ue())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1})(),xe=(e,t)=>{const n=R(),r=P();t.showConfirmButton||t.showDenyButton||t.showCancelButton?ne(n):re(n),K(n,t,"actions"),function(e,t,n){const r=N(),o=j(),i=z();we(r,"confirm",n),we(o,"deny",n),we(i,"cancel",n),function(e,t,n,r){if(!r.buttonsStyling)return J([e,t,n],S.styled);$([e,t,n],S.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor,$(e,S["default-outline"])),r.denyButtonColor&&(t.style.backgroundColor=r.denyButtonColor,$(t,S["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,$(n,S["default-outline"]))}(r,o,i,n),n.reverseButtons&&(n.toast?(e.insertBefore(i,r),e.insertBefore(o,r)):(e.insertBefore(i,t),e.insertBefore(o,t),e.insertBefore(r,t)))}(n,r,t),V(r,t.loaderHtml),K(r,t,"loader")};function we(e,n,r){ie(e,r["show".concat(t(n),"Button")],"inline-block"),V(e,r["".concat(n,"ButtonText")]),e.setAttribute("aria-label",r["".concat(n,"ButtonAriaLabel")]),e.className=S[n],K(e,r,"".concat(n,"Button")),$(e,r["".concat(n,"ButtonClass")])}const Se=(e,t)=>{const n=C();n&&(function(e,t){"string"==typeof t?e.style.background=t:t||$([document.documentElement,document.body],S["no-backdrop"])}(n,t.backdrop),function(e,t){t in S?$(e,S[t]):(r('The "position" parameter is not valid, defaulting to "center"'),$(e,S.center))}(n,t.position),function(e,t){if(t&&"string"==typeof t){const n="grow-".concat(t);n in S&&$(e,S[n])}}(n,t.grow),K(n,t,"container"))};var ke={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ce=["input","file","range","select","radio","checkbox","textarea"],Ee=e=>{if(!De[e.input])return o('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Te(e.input),n=De[e.input](t,e);ne(n),setTimeout((()=>{q(n)}))},Ae=(e,t)=>{const n=Z(M(),e);if(n){(e=>{for(let t=0;t{const t=Te(e.input);e.customClass&&$(t,e.customClass.input)},Oe=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},_e=(e,t,n)=>{if(n.inputLabel){e.id=S.input;const r=document.createElement("label"),o=S["input-label"];r.setAttribute("for",e.id),r.className=o,$(r,n.customClass.inputLabel),r.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",r)}},Te=e=>{const t=S[e]?S[e]:S.input;return ee(M(),t)},De={};De.text=De.email=De.password=De.number=De.tel=De.url=(e,t)=>("string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:u(t.inputValue)||r('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t.inputValue,'"')),_e(e,e,t),Oe(e,t),e.type=t.input,e),De.file=(e,t)=>(_e(e,e,t),Oe(e,t),e),De.range=(e,t)=>{const n=e.querySelector("input"),r=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,r.value=t.inputValue,_e(n,e,t),e},De.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");V(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return _e(e,e,t),e},De.radio=e=>(e.textContent="",e),De.checkbox=(e,t)=>{const n=Z(M(),"checkbox");n.value="1",n.id=S.checkbox,n.checked=Boolean(t.inputValue);const r=e.querySelector("span");return V(r,t.inputPlaceholder),e},De.textarea=(e,t)=>{e.value=t.inputValue,Oe(e,t),_e(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(M()).width);new MutationObserver((()=>{const n=e.offsetWidth+(r=e,parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight));var r;M().style.width=n>t?"".concat(n,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const Le=(e,t)=>{const n=T();K(n,t,"htmlContainer"),t.html?(me(t.html,n),ne(n,"block")):t.text?(n.textContent=t.text,ne(n,"block")):re(n),((e,t)=>{const n=M(),r=ke.innerParams.get(e),o=!r||t.input!==r.input;Ce.forEach((e=>{const r=S[e],i=ee(n,r);Ae(e,t.inputAttributes),i.className=r,o&&re(i)})),t.input&&(o&&Ee(t),Me(t))})(e,t)},Ie=(e,t)=>{for(const n in k)t.icon!==n&&J(e,k[n]);$(e,k[t.icon]),Pe(e,t),Ne(),K(e,t,"icon")},Ne=()=>{const e=M(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e{e.textContent="",t.iconHtml?V(e,ze(t.iconHtml)):"success"===t.icon?V(e,'\n
    \n \n
    \n
    \n'):"error"===t.icon?V(e,'\n \n \n \n \n'):V(e,ze({question:"?",warning:"!",info:"i"}[t.icon]))},Pe=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])oe(e,n,"backgroundColor",t.iconColor);oe(e,".swal2-success-ring","borderColor",t.iconColor)}},ze=e=>'
    ').concat(e,"
    "),Re=(e,t)=>{const n=L();if(!t.progressSteps||0===t.progressSteps.length)return re(n);ne(n),n.textContent="",t.currentProgressStep>=t.progressSteps.length&&r("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(((e,r)=>{const o=(e=>{const t=document.createElement("li");return $(t,S["progress-step"]),V(t,e),t})(e);if(n.appendChild(o),r===t.currentProgressStep&&$(o,S["active-progress-step"]),r!==t.progressSteps.length-1){const e=(e=>{const t=document.createElement("li");return $(t,S["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t})(t);n.appendChild(e)}}))},Be=(e,t)=>{e.className="".concat(S.popup," ").concat(ae(e)?t.showClass.popup:""),t.toast?($([document.documentElement,document.body],S["toast-shown"]),$(e,S.toast)):$(e,S.modal),K(e,t,"popup"),"string"==typeof t.customClass&&$(e,t.customClass),t.icon&&$(e,S["icon-".concat(t.icon)])},Fe=(e,t)=>{((e,t)=>{const n=C(),r=M();t.toast?(te(n,"width",t.width),r.style.width="100%",r.insertBefore(P(),O())):te(r,"width",t.width),te(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),re(I()),Be(r,t)})(0,t),Se(0,t),Re(0,t),((e,t)=>{const n=ke.innerParams.get(e),r=O();n&&t.icon===n.icon?(je(r,t),Ie(r,t)):t.icon||t.iconHtml?t.icon&&-1===Object.keys(k).indexOf(t.icon)?(o('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),re(r)):(ne(r),je(r,t),Ie(r,t),$(r,t.showClass.icon)):re(r)})(e,t),((e,t)=>{const n=D();if(!t.imageUrl)return re(n);ne(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),te(n,"width",t.imageWidth),te(n,"height",t.imageHeight),n.className=S.image,K(n,t,"image")})(0,t),((e,t)=>{const n=_();ie(n,t.title||t.titleText,"block"),t.title&&me(t.title,n),t.titleText&&(n.innerText=t.titleText),K(n,t,"title")})(0,t),((e,t)=>{const n=H();V(n,t.closeButtonHtml),K(n,t,"closeButton"),ie(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)})(0,t),Le(e,t),xe(0,t),((e,t)=>{const n=B();ie(n,t.footer),t.footer&&me(t.footer,n),K(n,t,"footer")})(0,t),"function"==typeof t.didRender&&t.didRender(M())},He=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ye=()=>{n(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Ue=["swal-title","swal-html","swal-footer"],We=e=>{const t={};return n(e.querySelectorAll("swal-param")).forEach((e=>{Qe(e,["name","value"]);const n=e.getAttribute("name"),r=e.getAttribute("value");"boolean"==typeof d[n]&&"false"===r&&(t[n]=!1),"object"==typeof d[n]&&(t[n]=JSON.parse(r))})),t},Xe=e=>{const r={};return n(e.querySelectorAll("swal-button")).forEach((e=>{Qe(e,["type","color","aria-label"]);const n=e.getAttribute("type");r["".concat(n,"ButtonText")]=e.innerHTML,r["show".concat(t(n),"Button")]=!0,e.hasAttribute("color")&&(r["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(r["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),r},Ve=e=>{const t={},n=e.querySelector("swal-image");return n&&(Qe(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},Ge=e=>{const t={},n=e.querySelector("swal-icon");return n&&(Qe(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},Ke=e=>{const t={},r=e.querySelector("swal-input");r&&(Qe(r,["type","label","placeholder","value"]),t.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(t.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(t.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(t.inputValue=r.getAttribute("value")));const o=e.querySelectorAll("swal-input-option");return o.length&&(t.inputOptions={},n(o).forEach((e=>{Qe(e,["value"]);const n=e.getAttribute("value"),r=e.innerHTML;t.inputOptions[n]=r}))),t},Ze=(e,t)=>{const n={};for(const r in t){const o=t[r],i=e.querySelector(o);i&&(Qe(i,[]),n[o.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},qe=e=>{const t=Ue.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(e.children).forEach((e=>{const n=e.tagName.toLowerCase();-1===t.indexOf(n)&&r("Unrecognized element <".concat(n,">"))}))},Qe=(e,t)=>{n(e.attributes).forEach((n=>{-1===t.indexOf(n.name)&&r(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))};var $e={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function Je(e){(function(e){e.inputValidator||Object.keys($e).forEach((t=>{e.input===t&&(e.inputValidator=$e[t])}))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&r("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(r('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("
    ")),ge(e)}class et{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const tt=()=>{null===X.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(X.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(X.previousBodyPadding+(()=>{const e=document.createElement("div");e.className=S["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},nt=()=>{const e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/WebKit/i);if(t&&n&&!e.match(/CriOS/i)){const e=44;M().scrollHeight>window.innerHeight-e&&(C().style.paddingBottom="".concat(e,"px"))}},rt=()=>{const e=C();let t;e.ontouchstart=e=>{t=ot(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},ot=e=>{const t=e.target,n=C();return!(it(e)||at(e)||t!==n&&(se(n)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||se(T())&&T().contains(t)))},it=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,at=e=>e.touches&&e.touches.length>1,st=e=>{const t=C(),r=M();"function"==typeof e.willOpen&&e.willOpen(r);const o=window.getComputedStyle(document.body).overflowY;dt(t,r,e),setTimeout((()=>{ct(t,r)}),10),U()&&(ut(t,e.scrollbarPadding,o),n(document.body.children).forEach((e=>{e===C()||e.contains(C())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),W()||de.previousActiveElement||(de.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(r))),J(t,S["no-transition"])},lt=e=>{const t=M();if(e.target!==t)return;const n=C();t.removeEventListener(be,lt),n.style.overflowY="auto"},ct=(e,t)=>{be&&le(t)?(e.style.overflowY="hidden",t.addEventListener(be,lt)):e.style.overflowY="auto"},ut=(e,t,n)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!G(document.body,S.iosfix)){const e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),$(document.body,S.iosfix),rt(),nt()}})(),t&&"hidden"!==n&&tt(),setTimeout((()=>{e.scrollTop=0}))},dt=(e,t,n)=>{$(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),ne(t,"grid"),setTimeout((()=>{$(t,n.showClass.popup),t.style.removeProperty("opacity")}),10),$([document.documentElement,document.body],S.shown),n.heightAuto&&n.backdrop&&!n.toast&&$([document.documentElement,document.body],S["height-auto"])},pt=e=>{let t=M();t||new En,t=M();const n=P();W()?re(O()):ft(t,e),ne(n),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},ft=(e,t)=>{const n=R(),r=P();!t&&ae(N())&&(t=N()),ne(n),t&&(re(t),r.setAttribute("data-button-to-replace",t.className)),r.parentNode.insertBefore(r,t),$([e,n],S.loading)},ht=e=>e.checked?1:0,gt=e=>e.checked?e.value:null,mt=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,vt=(e,t)=>{const n=M(),r=e=>bt[t.input](n,xt(e),t);l(t.inputOptions)||u(t.inputOptions)?(pt(N()),c(t.inputOptions).then((t=>{e.hideLoading(),r(t)}))):"object"==typeof t.inputOptions?r(t.inputOptions):o("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},yt=(e,t)=>{const n=e.getInput();re(n),c(t.inputValue).then((r=>{n.value="number"===t.input?parseFloat(r)||0:"".concat(r),ne(n),n.focus(),e.hideLoading()})).catch((t=>{o("Error in inputValue promise: ".concat(t)),n.value="",ne(n),n.focus(),e.hideLoading()}))},bt={select:(e,t,n)=>{const r=ee(e,S.select),o=(e,t,r)=>{const o=document.createElement("option");o.value=r,V(o,t),o.selected=wt(r,n.inputValue),e.appendChild(o)};t.forEach((e=>{const t=e[0],n=e[1];if(Array.isArray(n)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,r.appendChild(e),n.forEach((t=>o(e,t[1],t[0])))}else o(r,n,t)})),r.focus()},radio:(e,t,n)=>{const r=ee(e,S.radio);t.forEach((e=>{const t=e[0],o=e[1],i=document.createElement("input"),a=document.createElement("label");i.type="radio",i.name=S.radio,i.value=t,wt(t,n.inputValue)&&(i.checked=!0);const s=document.createElement("span");V(s,o),s.className=S.label,a.appendChild(i),a.appendChild(s),r.appendChild(a)}));const o=r.querySelectorAll("input");o.length&&o[0].focus()}},xt=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,n)=>{let r=e;"object"==typeof r&&(r=xt(r)),t.push([n,r])})):Object.keys(e).forEach((n=>{let r=e[n];"object"==typeof r&&(r=xt(r)),t.push([n,r])})),t},wt=(e,t)=>t&&t.toString()===e.toString();function St(){const e=ke.innerParams.get(this);if(!e)return;const t=ke.domCache.get(this);re(t.loader),W()?e.icon&&ne(O()):kt(t),J([t.popup,t.actions],S.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const kt=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?ne(t[0],"inline-block"):!ae(N())&&!ae(j())&&!ae(z())&&re(e.actions)};var Ct={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Et=()=>N()&&N().click(),At=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Mt=(e,t,n)=>{const r=Y();if(r.length)return(t+=n)===r.length?t=0:-1===t&&(t=r.length-1),r[t].focus();M().focus()},Ot=["ArrowRight","ArrowDown"],_t=["ArrowLeft","ArrowUp"],Tt=(e,t,n)=>{const r=ke.innerParams.get(e);r&&(t.isComposing||229===t.keyCode||(r.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Dt(e,t,r):"Tab"===t.key?Lt(t,r):[...Ot,..._t].includes(t.key)?It(t.key):"Escape"===t.key&&Nt(t,r,n)))},Dt=(e,t,n)=>{if(s(n.allowEnterKey)&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;Et(),t.preventDefault()}},Lt=(e,t)=>{const n=e.target,r=Y();let o=-1;for(let e=0;e{if(![N(),j(),z()].includes(document.activeElement))return;const t=Ot.includes(e)?"nextElementSibling":"previousElementSibling";let n=document.activeElement;for(let e=0;e{s(t.allowEscapeKey)&&(e.preventDefault(),n(He.esc))};function jt(e,t,n,r){W()?Yt(e,r):(pe(n).then((()=>Yt(e,r))),At(de)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),U()&&(null!==X.previousBodyPadding&&(document.body.style.paddingRight="".concat(X.previousBodyPadding,"px"),X.previousBodyPadding=null),(()=>{if(G(document.body,S.iosfix)){const e=parseInt(document.body.style.top,10);J(document.body,S.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Ye()),J([document.documentElement,document.body],[S.shown,S["height-auto"],S["no-backdrop"],S["toast-shown"]])}function Pt(e){e=Bt(e);const t=Ct.swalPromiseResolve.get(this),n=zt(this);this.isAwaitingPromise()?e.isDismissed||(Rt(this),t(e)):n&&t(e)}const zt=e=>{const t=M();if(!t)return!1;const n=ke.innerParams.get(e);if(!n||G(t,n.hideClass.popup))return!1;J(t,n.showClass.popup),$(t,n.hideClass.popup);const r=C();return J(r,n.showClass.backdrop),$(r,n.hideClass.backdrop),Ft(e,t,n),!0};const Rt=e=>{e.isAwaitingPromise()&&(ke.awaitingPromise.delete(e),ke.innerParams.get(e)||e._destroy())},Bt=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),Ft=(e,t,n)=>{const r=C(),o=be&&le(t);"function"==typeof n.willClose&&n.willClose(t),o?Ht(e,t,r,n.returnFocus,n.didClose):jt(e,r,n.returnFocus,n.didClose)},Ht=(e,t,n,r,o)=>{de.swalCloseEventFinishedCallback=jt.bind(null,e,n,r,o),t.addEventListener(be,(function(e){e.target===t&&(de.swalCloseEventFinishedCallback(),delete de.swalCloseEventFinishedCallback)}))},Yt=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy()}))};function Ut(e,t,n){const r=ke.domCache.get(e);t.forEach((e=>{r[e].disabled=n}))}function Wt(e,t){if(!e)return!1;if("radio"===e.type){const n=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;e{const t={};return Object.keys(e).forEach((n=>{m(n)?t[n]=e[n]:r('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))})),t};const Vt=e=>{Gt(e),delete e.params,delete de.keydownHandler,delete de.keydownTarget,delete de.currentInstance},Gt=e=>{e.isAwaitingPromise()?(Kt(ke,e),ke.awaitingPromise.set(e,!0)):(Kt(Ct,e),Kt(ke,e))},Kt=(e,t)=>{for(const n in e)e[n].delete(t)};var Zt=Object.freeze({hideLoading:St,disableLoading:St,getInput:function(e){const t=ke.innerParams.get(e||this),n=ke.domCache.get(e||this);return n?Z(n.popup,t.input):null},close:Pt,isAwaitingPromise:function(){return!!ke.awaitingPromise.get(this)},rejectPromise:function(e){const t=Ct.swalPromiseReject.get(this);Rt(this),t&&t(e)},handleAwaitingPromise:Rt,closePopup:Pt,closeModal:Pt,closeToast:Pt,enableButtons:function(){Ut(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Ut(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return Wt(this.getInput(),!1)},disableInput:function(){return Wt(this.getInput(),!0)},showValidationMessage:function(e){const t=ke.domCache.get(this),n=ke.innerParams.get(this);V(t.validationMessage,e),t.validationMessage.className=S["validation-message"],n.customClass&&n.customClass.validationMessage&&$(t.validationMessage,n.customClass.validationMessage),ne(t.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",S["validation-message"]),q(r),$(r,S.inputerror))},resetValidationMessage:function(){const e=ke.domCache.get(this);e.validationMessage&&re(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),J(t,S.inputerror))},getProgressSteps:function(){return ke.domCache.get(this).progressSteps},update:function(e){const t=M(),n=ke.innerParams.get(this);if(!t||G(t,n.hideClass.popup))return r("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const o=Xt(e),i=Object.assign({},n,o);Fe(this,i),ke.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){const e=ke.domCache.get(this),t=ke.innerParams.get(this);t?(e.popup&&de.swalCloseEventFinishedCallback&&(de.swalCloseEventFinishedCallback(),delete de.swalCloseEventFinishedCallback),de.deferDisposalTimer&&(clearTimeout(de.deferDisposalTimer),delete de.deferDisposalTimer),"function"==typeof t.didDestroy&&t.didDestroy(),Vt(this)):Gt(this)}});const qt=(e,n)=>{const r=ke.innerParams.get(e);if(!r.input)return o('The "input" parameter is needed to be set when using returnInputValueOn'.concat(t(n)));const i=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return ht(n);case"radio":return gt(n);case"file":return mt(n);default:return t.inputAutoTrim?n.value.trim():n.value}})(e,r);r.inputValidator?Qt(e,i,n):e.getInput().checkValidity()?"deny"===n?$t(e,i):tn(e,i):(e.enableButtons(),e.showValidationMessage(r.validationMessage))},Qt=(e,t,n)=>{const r=ke.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>c(r.inputValidator(t,r.validationMessage)))).then((r=>{e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):"deny"===n?$t(e,t):tn(e,t)}))},$t=(e,t)=>{const n=ke.innerParams.get(e||void 0);n.showLoaderOnDeny&&pt(j()),n.preDeny?(ke.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(n.preDeny(t,n.validationMessage)))).then((n=>{!1===n?(e.hideLoading(),Rt(e)):e.closePopup({isDenied:!0,value:void 0===n?t:n})})).catch((t=>en(e||void 0,t)))):e.closePopup({isDenied:!0,value:t})},Jt=(e,t)=>{e.closePopup({isConfirmed:!0,value:t})},en=(e,t)=>{e.rejectPromise(t)},tn=(e,t)=>{const n=ke.innerParams.get(e||void 0);n.showLoaderOnConfirm&&pt(),n.preConfirm?(e.resetValidationMessage(),ke.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(n.preConfirm(t,n.validationMessage)))).then((n=>{ae(I())||!1===n?(e.hideLoading(),Rt(e)):Jt(e,void 0===n?t:n)})).catch((t=>en(e||void 0,t)))):Jt(e,t)},nn=(e,t,n)=>{t.popup.onclick=()=>{const t=ke.innerParams.get(e);t&&(rn(t)||t.timer||t.input)||n(He.close)}},rn=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let on=!1;const an=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(on=!0)}}},sn=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(on=!0)}}},ln=(e,t,n)=>{t.container.onclick=r=>{const o=ke.innerParams.get(e);on?on=!1:r.target===t.container&&s(o.allowOutsideClick)&&n(He.backdrop)}},cn=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const un=()=>{if(de.timeout)return(()=>{const e=F(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.removeProperty("transition"),e.style.width="".concat(n,"%")})(),de.timeout.stop()},dn=()=>{if(de.timeout){const e=de.timeout.start();return ce(e),e}};let pn=!1;const fn={};const hn=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in fn){const n=t.getAttribute(e);if(n)return void fn[e].fire({template:n})}};var gn=Object.freeze({isValidParameter:g,isUpdatableParameter:m,isDeprecatedParameter:v,argsToParams:e=>{const t={};return"object"!=typeof e[0]||cn(e[0])?["title","html","icon"].forEach(((n,r)=>{const i=e[r];"string"==typeof i||cn(i)?t[n]=i:void 0!==i&&o("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof i))})):Object.assign(t,e[0]),t},isVisible:()=>ae(M()),clickConfirm:Et,clickDeny:()=>j()&&j().click(),clickCancel:()=>z()&&z().click(),getContainer:C,getPopup:M,getTitle:_,getHtmlContainer:T,getImage:D,getIcon:O,getInputLabel:()=>A(S["input-label"]),getCloseButton:H,getActions:R,getConfirmButton:N,getDenyButton:j,getCancelButton:z,getLoader:P,getFooter:B,getTimerProgressBar:F,getFocusableElements:Y,getValidationMessage:I,isLoading:()=>M().hasAttribute("data-loading"),fire:function(){const e=this;for(var t=arguments.length,n=new Array(t),r=0;rde.timeout&&de.timeout.getTimerLeft(),stopTimer:un,resumeTimer:dn,toggleTimer:()=>{const e=de.timeout;return e&&(e.running?un():dn())},increaseTimer:e=>{if(de.timeout){const t=de.timeout.increase(e);return ce(t,!0),t}},isTimerRunning:()=>de.timeout&&de.timeout.isRunning(),bindClickHandler:function(){fn[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,pn||(document.body.addEventListener("click",hn),pn=!0)}});let mn;class vn{constructor(){if("undefined"==typeof window)return;mn=this;for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!e.backdrop&&e.allowOutsideClick&&r('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)y(t),e.toast&&b(t),x(t)})(Object.assign({},t,e)),de.currentInstance&&(de.currentInstance._destroy(),U()&&Ye()),de.currentInstance=this;const n=bn(e,t);Je(n),Object.freeze(n),de.timeout&&(de.timeout.stop(),delete de.timeout),clearTimeout(de.restoreFocusTimeout);const o=xn(this);return Fe(this,n),ke.innerParams.set(this,n),yn(this,o,n)}then(e){return ke.promise.get(this).then(e)}finally(e){return ke.promise.get(this).finally(e)}}const yn=(e,t,n)=>new Promise(((r,o)=>{const i=t=>{e.closePopup({isDismissed:!0,dismiss:t})};Ct.swalPromiseResolve.set(e,r),Ct.swalPromiseReject.set(e,o),t.confirmButton.onclick=()=>(e=>{const t=ke.innerParams.get(e);e.disableButtons(),t.input?qt(e,"confirm"):tn(e,!0)})(e),t.denyButton.onclick=()=>(e=>{const t=ke.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?qt(e,"deny"):$t(e,!1)})(e),t.cancelButton.onclick=()=>((e,t)=>{e.disableButtons(),t(He.cancel)})(e,i),t.closeButton.onclick=()=>i(He.close),((e,t,n)=>{ke.innerParams.get(e).toast?nn(e,t,n):(an(t),sn(t),ln(e,t,n))})(e,t,i),((e,t,n,r)=>{At(t),n.toast||(t.keydownHandler=t=>Tt(e,t,r),t.keydownTarget=n.keydownListenerCapture?window:M(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)})(e,de,n,i),((e,t)=>{"select"===t.input||"radio"===t.input?vt(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(l(t.inputValue)||u(t.inputValue))&&(pt(N()),yt(e,t))})(e,n),st(n),wn(de,n,i),Sn(t,n),setTimeout((()=>{t.container.scrollTop=0}))})),bn=(e,t)=>{const n=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return qe(n),Object.assign(We(n),Xe(n),Ve(n),Ge(n),Ke(n),Ze(n,Ue))})(e),r=Object.assign({},d,t,n,e);return r.showClass=Object.assign({},d.showClass,r.showClass),r.hideClass=Object.assign({},d.hideClass,r.hideClass),r},xn=e=>{const t={popup:M(),container:C(),actions:R(),confirmButton:N(),denyButton:j(),cancelButton:z(),loader:P(),closeButton:H(),validationMessage:I(),progressSteps:L()};return ke.domCache.set(e,t),t},wn=(e,t,n)=>{const r=F();re(r),t.timer&&(e.timeout=new et((()=>{n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(ne(r),K(r,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ce(t.timer)}))))},Sn=(e,t)=>{if(!t.toast)return s(t.allowEnterKey)?void(kn(e,t)||Mt(0,-1,1)):Cn()},kn=(e,t)=>t.focusDeny&&ae(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ae(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ae(e.confirmButton)||(e.confirmButton.focus(),0)),Cn=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(vn.prototype,Zt),Object.assign(vn,gn),Object.keys(Zt).forEach((e=>{vn[e]=function(){if(mn)return mn[e](...arguments)}})),vn.DismissReason=He,vn.version="11.4.8";const En=vn;return En.default=En,En}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},1742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;d+=2}},H=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r255?B(e,255):e,this},this.setUA(n),this};W.VERSION="0.7.31",W.BROWSER=P([d,h,"major"]),W.CPU=P([g]),W.DEVICE=P([u,f,p,m,v,b,y,x,w]),W.ENGINE=W.OS=P([d,h]),typeof t!==s?(e.exports&&(t=e.exports=W),t.UAParser=W):n.amdO?(r=function(){return W}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=W);var X=typeof o!==s&&(o.jQuery||o.Zepto);if(X&&!X.ua){var V=new W;X.ua=V.getResult(),X.ua.get=function(){return V.getUA()},X.ua.set=function(e){V.setUA(e);var t=V.getResult();for(var n in t)X.ua[n]=t[n]}}}("object"==typeof window?window:this)},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM},6292:function(e){"use strict";e.exports=window.moment},6989:function(e){"use strict";e.exports=window.wp.apiFetch},5609:function(e){"use strict";e.exports=window.wp.components},9771:function(e){"use strict";e.exports=window.wp.date},2694:function(e){"use strict";e.exports=window.wp.hooks},5736:function(e){"use strict";e.exports=window.wp.i18n},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},1002:function(e,t,n){"use strict";function r(e){return 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},r(e)}n.d(t,{Z:function(){return r}})}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(9196),t=n.n(e),r=n(1850),o=n.n(r),i=n(2694),a=n(9611);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.Z)(e,t)}var l=n(7462);function c(e){return"/"===e.charAt(0)}function u(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=o[p];"."===f?u(o,p):".."===f?(u(o,p),d++):d&&(u(o,p),d--)}if(!s)for(;d--;d)o.unshift("..");!s||""===o[0]||o[0]&&c(o[0])||o.unshift("");var h=o.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r component.","notificationx"),t}ce.Consumer;var pe=function(){return pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0||(o[n]=e[n]);return o}function ke(e){return"number"==typeof e&&!isNaN(e)}function Ce(e){return"boolean"==typeof e}function Ee(e){return"string"==typeof e}function Ae(e){return"function"==typeof e}function Me(e){return Ee(e)||Ae(e)?e:null}function Oe(e){return 0===e||e}var _e=!("undefined"==typeof window||!window.document||!window.document.createElement);function Te(t){return(0,e.isValidElement)(t)||Ee(t)||Ae(t)||ke(t)}var De={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Le={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function Ie(n){var r=n.enter,o=n.exit,i=n.appendPosition,a=void 0!==i&&i,s=n.collapse,l=void 0===s||s,c=n.collapseDuration,u=void 0===c?300:c;return function(n){var i=n.children,s=n.position,c=n.preventExitTransition,d=n.done,p=n.nodeRef,f=n.isIn,h=a?r+"--"+s:r,g=a?o+"--"+s:o,m=(0,e.useRef)(),v=(0,e.useRef)(0);function y(e){if(e.target===p.current){var t=p.current;t.dispatchEvent(new Event("d")),t.removeEventListener("animationend",y),t.removeEventListener("animationcancel",y),0===v.current&&(t.className=m.current)}}function b(){var e=p.current;e.removeEventListener("animationend",b),l?function(e,t,n){void 0===n&&(n=300);var r=e.scrollHeight,o=e.style;requestAnimationFrame((function(){o.minHeight="initial",o.height=r+"px",o.transition="all "+n+"ms",requestAnimationFrame((function(){o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)}))}))}(e,d,u):d()}return(0,e.useLayoutEffect)((function(){var e;e=p.current,m.current=e.className,e.className+=" "+h,e.addEventListener("animationend",y),e.addEventListener("animationcancel",y)}),[]),(0,e.useEffect)((function(){f||(c?b():function(){v.current=1;var e=p.current;e.className+=" "+g,e.addEventListener("animationend",b)}())}),[f]),t().createElement(t().Fragment,null,i)}}var Ne={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e,t){if(t){var n=this.list.get(e).filter((function(e){return e!==t}));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o=1?e.targetTouches[0].clientX:e.clientX}function ze(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function Re(t){var n=t.closeToast,r=t.theme,o=t.ariaLabel,i=void 0===o?"close":o;return(0,e.createElement)("button",{className:"Toastify__close-button Toastify__close-button--"+r,type:"button",onClick:function(e){e.stopPropagation(),n(e)},"aria-label":i},(0,e.createElement)("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,e.createElement)("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function Be(t){var n,r,o=t.delay,i=t.isRunning,a=t.closeToast,s=t.type,l=t.hide,c=t.className,u=t.style,d=t.controlledProgress,p=t.progress,f=t.rtl,h=t.isIn,g=t.theme,m=we({},u,{animationDuration:o+"ms",animationPlayState:i?"running":"paused",opacity:l?0:1});d&&(m.transform="scaleX("+p+")");var v=xe("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+g,"Toastify__progress-bar--"+s,((n={})["Toastify__progress-bar--rtl"]=f,n)),y=Ae(c)?c({rtl:f,type:s,defaultClassName:v}):xe(v,c),b=((r={})[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]=d&&p<1?null:function(){h&&a()},r);return(0,e.createElement)("div",Object.assign({role:"progressbar","aria-hidden":l?"true":"false","aria-label":"notification timer",className:y,style:m},b))}Be.defaultProps={type:Le.DEFAULT,hide:!1};var Fe=["theme","type"],He=function(t){var n=t.theme,r=t.type,o=Se(t,Fe);return(0,e.createElement)("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===n?"currentColor":"var(--toastify-icon-color-"+r+")"},o))},Ye={info:function(t){return(0,e.createElement)(He,Object.assign({},t),(0,e.createElement)("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return(0,e.createElement)(He,Object.assign({},t),(0,e.createElement)("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return(0,e.createElement)(He,Object.assign({},t),(0,e.createElement)("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return(0,e.createElement)(He,Object.assign({},t),(0,e.createElement)("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return(0,e.createElement)("div",{className:"Toastify__spinner"})}},Ue=function(t){var n,r,o=function(t){var n=(0,e.useState)(!1),r=n[0],o=n[1],i=(0,e.useState)(!1),a=i[0],s=i[1],l=(0,e.useRef)(null),c=(0,e.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=(0,e.useRef)(t),d=t.autoClose,p=t.pauseOnHover,f=t.closeToast,h=t.onClick,g=t.closeOnClick;function m(e){if(t.draggable){c.didMove=!1,document.addEventListener("mousemove",x),document.addEventListener("mouseup",w),document.addEventListener("touchmove",x),document.addEventListener("touchend",w);var n=l.current;c.canCloseOnClick=!0,c.canDrag=!0,c.boundingRect=n.getBoundingClientRect(),n.style.transition="",c.x=Pe(e.nativeEvent),c.y=ze(e.nativeEvent),"x"===t.draggableDirection?(c.start=c.x,c.removalDistance=n.offsetWidth*(t.draggablePercent/100)):(c.start=c.y,c.removalDistance=n.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent/100))}}function v(){if(c.boundingRect){var e=c.boundingRect,n=e.top,r=e.bottom,o=e.left,i=e.right;t.pauseOnHover&&c.x>=o&&c.x<=i&&c.y>=n&&c.y<=r?b():y()}}function y(){o(!0)}function b(){o(!1)}function x(e){var n=l.current;c.canDrag&&n&&(c.didMove=!0,r&&b(),c.x=Pe(e),c.y=ze(e),"x"===t.draggableDirection?c.delta=c.x-c.start:c.delta=c.y-c.start,c.start!==c.x&&(c.canCloseOnClick=!1),n.style.transform="translate"+t.draggableDirection+"("+c.delta+"px)",n.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance)))}function w(){document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",w),document.removeEventListener("touchmove",x),document.removeEventListener("touchend",w);var e=l.current;if(c.canDrag&&c.didMove&&e){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return s(!0),void t.closeToast();e.style.transition="transform 0.2s, opacity 0.2s",e.style.transform="translate"+t.draggableDirection+"(0)",e.style.opacity="1"}}(0,e.useEffect)((function(){u.current=t})),(0,e.useEffect)((function(){return l.current&&l.current.addEventListener("d",y,{once:!0}),Ae(t.onOpen)&&t.onOpen((0,e.isValidElement)(t.children)&&t.children.props),function(){var t=u.current;Ae(t.onClose)&&t.onClose((0,e.isValidElement)(t.children)&&t.children.props)}}),[]),(0,e.useEffect)((function(){return t.pauseOnFocusLoss&&(document.hasFocus()||b(),window.addEventListener("focus",y),window.addEventListener("blur",b)),function(){t.pauseOnFocusLoss&&(window.removeEventListener("focus",y),window.removeEventListener("blur",b))}}),[t.pauseOnFocusLoss]);var S={onMouseDown:m,onTouchStart:m,onMouseUp:v,onTouchEnd:v};return d&&p&&(S.onMouseEnter=b,S.onMouseLeave=y),g&&(S.onClick=function(e){h&&h(e),c.canCloseOnClick&&f()}),{playToast:y,pauseToast:b,isRunning:r,preventExitTransition:a,toastRef:l,eventHandlers:S}}(t),i=o.isRunning,a=o.preventExitTransition,s=o.toastRef,l=o.eventHandlers,c=t.closeButton,u=t.children,d=t.autoClose,p=t.onClick,f=t.type,h=t.hideProgressBar,g=t.closeToast,m=t.transition,v=t.position,y=t.className,b=t.style,x=t.bodyClassName,w=t.bodyStyle,S=t.progressClassName,k=t.progressStyle,C=t.updateId,E=t.role,A=t.progress,M=t.rtl,O=t.toastId,_=t.deleteToast,T=t.isIn,D=t.isLoading,L=t.icon,I=t.theme,N=xe("Toastify__toast","Toastify__toast-theme--"+I,"Toastify__toast--"+f,((n={})["Toastify__toast--rtl"]=M,n)),j=Ae(y)?y({rtl:M,position:v,type:f,defaultClassName:N}):xe(N,y),P=!!A,z=Ye[f],R={theme:I,type:f},B=z&&z(R);return!1===L?B=void 0:Ae(L)?B=L(R):(0,e.isValidElement)(L)?B=(0,e.cloneElement)(L,R):Ee(L)?B=L:D&&(B=Ye.spinner()),(0,e.createElement)(m,{isIn:T,done:_,position:v,preventExitTransition:a,nodeRef:s},(0,e.createElement)("div",Object.assign({id:O,onClick:p,className:j},l,{style:b,ref:s}),(0,e.createElement)("div",Object.assign({},T&&{role:E},{className:Ae(x)?x({type:f}):xe("Toastify__toast-body",x),style:w}),B&&(0,e.createElement)("div",{className:xe("Toastify__toast-icon",(r={},r["Toastify--animate-icon Toastify__zoom-enter"]=!D,r))},B),(0,e.createElement)("div",null,u)),function(t){if(t){var n={closeToast:g,type:f,theme:I};return Ae(t)?t(n):(0,e.isValidElement)(t)?(0,e.cloneElement)(t,n):void 0}}(c),(d||P)&&(0,e.createElement)(Be,Object.assign({},C&&!P?{key:"pb-"+C}:{},{rtl:M,theme:I,delay:d,isRunning:i,isIn:T,closeToast:g,hide:h,type:f,style:k,className:S,controlledProgress:P,progress:A}))))},We=function(t){var n=function(t){var n=(0,e.useReducer)((function(e){return e+1}),0)[1],r=(0,e.useState)([]),o=r[0],i=r[1],a=(0,e.useRef)(null),s=(0,e.useRef)(new Map).current,l=function(e){return-1!==o.indexOf(e)},c=(0,e.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:l,getToast:function(e){return s.get(e)}}).current;function u(e){var t=e.containerId;!c.props.limit||t&&c.containerId!==t||(c.count-=c.queue.length,c.queue=[])}function d(e){i((function(t){return Oe(e)?t.filter((function(t){return t!==e})):[]}))}function p(){var e=c.queue.shift();h(e.toastContent,e.toastProps,e.staleId)}function f(t,r){var o=r.delay,i=r.staleId,l=Se(r,je);if(Te(t)&&!function(e){return!a.current||c.props.enableMultiContainer&&e.containerId!==c.props.containerId||s.has(e.toastId)&&null==e.updateId}(l)){var u=l.toastId,f=l.updateId,g=l.data,m=c.props,v=function(){return d(u)},y=null==f;y&&c.count++;var b,x,w={toastId:u,updateId:f,isLoading:l.isLoading,theme:l.theme||m.theme,icon:null!=l.icon?l.icon:m.icon,isIn:!1,key:l.key||c.toastKey++,type:l.type,closeToast:v,closeButton:l.closeButton,rtl:m.rtl,position:l.position||m.position,transition:l.transition||m.transition,className:Me(l.className||m.toastClassName),bodyClassName:Me(l.bodyClassName||m.bodyClassName),style:l.style||m.toastStyle,bodyStyle:l.bodyStyle||m.bodyStyle,onClick:l.onClick||m.onClick,pauseOnHover:Ce(l.pauseOnHover)?l.pauseOnHover:m.pauseOnHover,pauseOnFocusLoss:Ce(l.pauseOnFocusLoss)?l.pauseOnFocusLoss:m.pauseOnFocusLoss,draggable:Ce(l.draggable)?l.draggable:m.draggable,draggablePercent:l.draggablePercent||m.draggablePercent,draggableDirection:l.draggableDirection||m.draggableDirection,closeOnClick:Ce(l.closeOnClick)?l.closeOnClick:m.closeOnClick,progressClassName:Me(l.progressClassName||m.progressClassName),progressStyle:l.progressStyle||m.progressStyle,autoClose:!l.isLoading&&(b=l.autoClose,x=m.autoClose,!1===b||ke(b)&&b>0?b:x),hideProgressBar:Ce(l.hideProgressBar)?l.hideProgressBar:m.hideProgressBar,progress:l.progress,role:l.role||m.role,deleteToast:function(){s.delete(u);var e=c.queue.length;if(c.count=Oe(u)?c.count-1:c.count-c.displayedToast,c.count<0&&(c.count=0),e>0){var t=Oe(u)?1:c.props.limit;if(1===e||1===t)c.displayedToast++,p();else{var r=t>e?e:t;c.displayedToast=r;for(var o=0;o0&&c.count>m.limit&&y?c.queue.push({toastContent:S,toastProps:w,staleId:i}):ke(o)&&o>0?setTimeout((function(){h(S,w,i)}),o):h(S,w,i)}}function h(e,t,n){var r=t.toastId;n&&s.delete(n),s.set(r,{content:e,props:t}),i((function(e){return[].concat(e,[r]).filter((function(e){return e!==n}))}))}return(0,e.useEffect)((function(){return c.containerId=t.containerId,Ne.cancelEmit(3).on(0,f).on(1,(function(e){return a.current&&d(e)})).on(5,u).emit(2,c),function(){return Ne.emit(3,c)}}),[]),(0,e.useEffect)((function(){c.isToastActive=l,c.displayedToast=o.length,Ne.emit(4,o.length,t.containerId)}),[o]),(0,e.useEffect)((function(){c.props=t})),{getToastToRender:function(e){var n=new Map,r=Array.from(s.values());return t.newestOnTop&&r.reverse(),r.forEach((function(e){var t=e.props.position;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(function(t){return e(t[0],t[1])}))},containerRef:a,isToastActive:l}}(t),r=n.getToastToRender,o=n.containerRef,i=n.isToastActive,a=t.className,s=t.style,l=t.rtl,c=t.containerId;function u(e){var t,n=xe("Toastify__toast-container","Toastify__toast-container--"+e,((t={})["Toastify__toast-container--rtl"]=l,t));return Ae(a)?a({position:e,rtl:l,defaultClassName:n}):xe(n,Me(a))}return(0,e.createElement)("div",{ref:o,className:"Toastify",id:c},r((function(t,n){var r=n.length?we({},s):we({},s,{pointerEvents:"none"});return(0,e.createElement)("div",{className:u(t),style:r,key:"container-"+t},n.map((function(t){var n=t.content,r=t.props;return(0,e.createElement)(Ue,Object.assign({},r,{isIn:i(r.toastId),key:"toast-"+r.key,closeButton:!0===r.closeButton?Re:r.closeButton}),n)})))})))};We.defaultProps={position:De.TOP_RIGHT,transition:Ie({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:Re,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var Xe,Ve,Ge,Ke=new Map,Ze=[],qe=!1;function Qe(){return Math.random().toString(36).substring(2,9)}function $e(e){return e&&(Ee(e.toastId)||ke(e.toastId))?e.toastId:Qe()}function Je(t,n){return Ke.size>0?Ne.emit(0,t,n):(Ze.push({content:t,options:n}),qe&&_e&&(qe=!1,Ve=document.createElement("div"),document.body.appendChild(Ve),(0,r.render)((0,e.createElement)(We,Object.assign({},Ge)),Ve))),n.toastId}function et(e,t){return we({},t,{type:t&&t.type||e,toastId:$e(t)})}function tt(e){return function(t,n){return Je(t,et(e,n))}}function nt(e,t){return Je(e,et(Le.DEFAULT,t))}nt.loading=function(e,t){return Je(e,et(Le.DEFAULT,we({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},t)))},nt.promise=function(e,t,n){var r,o=t.pending,i=t.error,a=t.success;o&&(r=Ee(o)?nt.loading(o,n):nt.loading(o.render,we({},n,o)));var s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=function(e,t,o){if(null!=t){var i=we({type:e},s,n,{data:o}),a=Ee(t)?{render:t}:t;return r?nt.update(r,we({},i,a)):nt(a.render,we({},i,a)),o}nt.dismiss(r)},c=Ae(e)?e():e;return c.then((function(e){return l("success",a,e)})).catch((function(e){return l("error",i,e)})),c},nt.success=tt(Le.SUCCESS),nt.info=tt(Le.INFO),nt.error=tt(Le.ERROR),nt.warning=tt(Le.WARNING),nt.warn=nt.warning,nt.dark=function(e,t){return Je(e,et(Le.DEFAULT,we({theme:"dark"},t)))},nt.dismiss=function(e){return Ne.emit(1,e)},nt.clearWaitingQueue=function(e){return void 0===e&&(e={}),Ne.emit(5,e)},nt.isActive=function(e){var t=!1;return Ke.forEach((function(n){n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},nt.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var n=function(e,t){var n=t.containerId,r=Ke.get(n||Xe);return r?r.getToast(e):null}(e,t);if(n){var r=n.props,o=n.content,i=we({},r,t,{toastId:t.toastId||e,updateId:Qe()});i.toastId!==e&&(i.staleId=e);var a=i.render||o;delete i.render,Je(a,i)}}),0)},nt.done=function(e){nt.update(e,{progress:1})},nt.onChange=function(e){return Ae(e)&&Ne.on(4,e),function(){Ae(e)&&Ne.off(4,e)}},nt.configure=function(e){void 0===e&&(e={}),qe=!0,Ge=e},nt.POSITION=De,nt.TYPE=Le,Ne.on(2,(function(e){Xe=e.containerId||e,Ke.set(Xe,e),Ze.forEach((function(e){Ne.emit(0,e.content,e.options)})),Ze=[]})).on(3,(function(e){Ke.delete(e.containerId||e),0===Ke.size&&Ne.off(0).off(1).off(5),_e&&Ve&&document.body.removeChild(Ve)}));var rt=function(){return rt=Object.assign||function(e){for(var t,n=1,r=arguments.length;nPremium Version to use this feature.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx")),(0,ft.isObject)(e)&&(l=e,e=e.message||e.html),void 0===(t=ht(ht({showConfirmButton:!1,showDenyButton:!0,type:"warning",title:(0,le.__)("Opps...","notificationx"),customClass:{actions:"nx-pro-alert-actions"},denyButtonText:"Close"},l),{html:e}))&&(t={}),ye().mixin(ht({target:null!==(n=null==t?void 0:t.target)&&void 0!==n?n:"#notificationx",type:null!==(r=null==t?void 0:t.type)&&void 0!==r?r:"success",html:null==t?void 0:t.html,title:null!==(o=null==t?void 0:t.title)&&void 0!==o?o:(0,le.__)("Title Goes Here: title","notificationx"),text:null!==(i=null==t?void 0:t.text)&&void 0!==i?i:(0,le.__)("Text Goes Here: text","notificationx"),icon:null!==(a=null==t?void 0:t.icon)&&void 0!==a?a:(null==t?void 0:t.type)||"success",timer:null!==(s=null==t?void 0:t.timer)&&void 0!==s?s:null},t))},vt=function(e,t){void 0===e&&(e=""),void 0===t&&(t=!0);var n=de();return t?n.assets.admin+e:n.assets.public+e},yt=gt,bt=function(){return bt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=a&&n<=s)return!0}))).map((function(e){return Gt(Gt({},e),{created_at:(0,he.date)(r.formats.date,new Date(e.created_at),r.timezone.string)})})),(n=d?[Zt(n)]:qt(n).map((function(e){return Zt(e)}))).forEach((function(e,n){for(var r=function(n){var r=u[n],i=r.value,a=r.label,s=o.map((function(t){if(null==e?void 0:e[t]){var n=null==e?void 0:e[t];if(!d&&(null==n?void 0:n.nx_id)){var o=c.find((function(e){if((null==n?void 0:n.nx_id)==(null==e?void 0:e.nx_id))return!0}));((null==o?void 0:o.title)||(null==o?void 0:o.nx_id))&&(a=r.label+" "+((null==o?void 0:o.title)||(null==o?void 0:o.nx_id)))}switch(i){case"clicks":return n.clicks;case"views":return n.views;case"ctr":return(n.views?n.clicks/n.views:0).toFixed(2)}}return 0}));t.push({name:a,data:s})},i=0;i\n window.notificationXArr = window.notificationXArr || []; \nwindow.notificationXArr.push(%s);\n<\/script>%s",JSON.stringify(d),l.xss_scripts)}var p=window.ajaxurl,f=(0,e.useCallback)((function(e){r&&yt.swal({title:(0,le.__)("Are you sure?","notificationx"),text:(0,le.__)("You won't be able to revert this!","notificationx"),icon:"error",showCancelButton:!0,confirmButtonText:(0,le.__)("Yes, Delete It","notificationx"),cancelButtonText:(0,le.__)("No, Cancel","notificationx"),reverseButtons:!0,customClass:{actions:"nx-delete-actions"},confirmedCallback:function(){return yt.delete("nx/".concat(r),{nx_id:r})},completeAction:function(e){a((function(e){return!e}))},completeArgs:function(){return["deleted",(0,le.__)("Notification Alert has been Deleted.","notificationx")]},afterComplete:function(){}})}),[r,o]),h=(0,e.useCallback)((function(e){if(r){if("inline"==(null==s?void 0:s.type))return void en()("[notificationx_inline id=".concat(r,"]"),{format:"text/plain",onCopy:function(){st((0,le.__)("Inline Notification Alert has been copied to Clipboard.","notificationx"))}});ye().fire({iconHtml:'NotificationX'),iconColor:"#6a4bff",title:"Copy to Clipboard",showConfirmButton:!1,showCancelButton:!0,cancelButtonText:(0,le.__)("Cancel","notificationx"),cancelButtonColor:"#d14529",html:'
    \n \n \n
    "),didOpen:function(){document.getElementById("regulat-shortcode").addEventListener("click",(function(){en()("[notificationx id=".concat(r,"]"),{format:"text/plain",onCopy:function(){st((0,le.__)("Regular Notification Alert has been copied to Clipboard.","notificationx"))}})})),document.getElementById("inline-shortcode").addEventListener("click",(function(){en()("[notificationx_inline id=".concat(r,"]"),{format:"text/plain",onCopy:function(){st((0,le.__)("Inline Notification Alert has been copied to Clipboard.","notificationx"))}})}))}})}}),[r,o]);return t().createElement("div",{className:"nx-admin-actions"},t().createElement(oe,{className:"nx-admin-title-edit",title:(0,le.__)("Edit","notificationx"),to:{pathname:"/admin.php",search:"?page=nx-edit&id=".concat(r)}},t().createElement("span",null,(0,le.__)("Edit","notificationx"))),t().createElement("a",{className:Dt()("nx-admin-title-translate",{hidden:!(null==l?void 0:l.can_translate)}),title:(0,le.__)("Translate","notificationx"),href:"".concat(p,"?action=nx-translate&id=").concat(r)},t().createElement("span",null,(0,le.__)("Translate","notificationx"))),t().createElement(oe,{className:Dt()("nx-admin-title-duplicate",{hidden:null==l?void 0:l.createRedirect}),title:(0,le.__)("Duplicate","notificationx"),to:{pathname:"/admin.php",search:"?page=nx-edit",state:{duplicate:!0,_id:r}}},t().createElement("span",null,(0,le.__)("Duplicate","notificationx"))),(null==l?void 0:l.is_pro_active)&&"press_bar"!=s.source&&"woo_inline_stock-theme-one"!==s.themes&&"woo_inline_stock-theme-two"!==s.themes&&t().createElement("button",{className:"nx-admin-title-shortcode nx-shortcode-btn",title:(0,le.__)("Shortcode","notificationx"),onClick:h},t().createElement("span",null,(0,le.__)("ShortCode","notificationx"))),!(null==l?void 0:l.is_pro_active)&&"press_bar"!=s.source&&"woo_inline_stock-theme-one"!==s.themes&&"woo_inline_stock-theme-two"!==s.themes&&t().createElement($t.CopyToClipboard,{className:"nx-admin-title-shortcode nx-shortcode-btn",title:(0,le.__)("Shortcode","notificationx"),text:"[notificationx_inline id=".concat(r,"]"),options:{format:"text/plain"},onCopy:function(){st((0,le.__)("Inline Notification Alert has been copied to Clipboard.","notificationx"))}},t().createElement("a",null)),!(null==s?void 0:s.elementor_id)&&t().createElement($t.CopyToClipboard,{className:"nx-admin-title-xss",title:(0,le.__)("Cross Domain Notice","notificationx"),text:c,options:{format:"text/plain"},onCopy:function(e,t){(null==l?void 0:l.is_pro_active)?st((0,le.__)("Cross Domain Notice code has been copied to Clipboard.","notificationx")):mt((0,le.sprintf)((0,le.__)("You need to upgrade to the Premium Version to use Cross Domain Notice feature.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx","https://notificationx.com/docs/notificationx-cross-domain-notice/")).fire()}},t().createElement("a",null)),i&&t().createElement("button",{className:"nx-admin-title-regenerate",onClick:function(e){yt.swal({title:(0,le.__)("Are you sure you want to Regenerate?","notificationx"),text:(0,le.__)("Regenerating will fetch new data based on settings","notificationx"),iconHtml:'NotificationX'),showCancelButton:!0,iconColor:"transparent",confirmButtonText:(0,le.__)("Regenerate","notificationx"),cancelButtonText:(0,le.__)("Cancel","notificationx"),reverseButtons:!0,customClass:{actions:"nx-delete-actions"},confirmedCallback:function(){return yt.get("regenerate/".concat(r),{nx_id:r})},completeAction:function(e){},completeArgs:function(){return["regenerated",(0,le.__)("Notification Alert has been Regenerated.","notificationx")]},afterComplete:function(){}})},title:(0,le.__)("Regenerate","notificationx")},t().createElement("span",null,(0,le.__)("Regenerate","notificationx"))),t().createElement("button",{className:Dt()("nx-admin-title-trash",{hidden:null==l?void 0:l.createRedirect}),title:(0,le.__)("Delete","notificationx"),onClick:f},t().createElement("span",null,(0,le.__)("Delete","notificationx"))))},rn=function(){return rn=Object.assign||function(e){for(var t,n=1,r=arguments.length;nPremium Version to use this feature.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx"):(0,le.__)("Disabled","notificationx")).fire():mt(t?(0,le.sprintf)((0,le.__)("You need to upgrade to the Premium Version to use multiple notification.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx"):(0,le.__)("Disabled","notificationx")).fire(),e})).catch((function(e){w(!1),lt((0,le.__)("Oops, Something went wrong. Please try again.","notificationx"))})))}})),t().createElement("td",null,t().createElement("div",{className:"nx-admin-type",title:null==g?void 0:g.source_label},(null==g?void 0:g.type_label)||g.type)),t().createElement("td",null,t().createElement("div",{className:"nx-admin-stats"},t().createElement(se,{to:{pathname:"/admin.php",search:"?page=nx-analytics&comparison=views&nx="+s}},(0,le.sprintf)((0,le.__)("%s views","notificationx"),(null==g?void 0:g.views)||0)))),t().createElement("td",null,t().createElement("div",{className:"nx-admin-date"},(0,he.isInTheFuture)(y.format())?(0,le.__)("Scheduled For","notificationx"):(0,le.__)("Published","notificationx"),t().createElement("br",null),t().createElement("span",{className:"nx-admin-publish-date"},(0,he.date)(null===(i=null==v?void 0:v.formats)||void 0===i?void 0:i.datetime,y,void 0)))),t().createElement("td",null,t().createElement(nn,rn({getNotice:c,updateNotice:u,id:s,regenerate:null==g?void 0:g.can_regenerate,enabled:g.enabled,setTotalItems:d,setReload:h},g))))},an=function(){return an=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n>16,a=n>>8&255,s=255&n;return"#"+(16777216+65536*(Math.round((r-i)*o)+i)+256*(Math.round((r-a)*o)+a)+(Math.round((r-s)*o)+s)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,n){return t.isColorHex(n)?this.shadeHexColor(e,n):this.shadeRGBColor(e,n)}}],[{key:"bind",value:function(t,e){return function(){return t.apply(e,arguments)}}},{key:"isObject",value:function(t){return t&&"object"===a(t)&&!Array.isArray(t)&&null!=t}},{key:"is",value:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"}},{key:"listToArray",value:function(t){var e,n=[];for(e=0;ee.length?t:e}))),t.length>e.length?t:e}),0)}},{key:"hexToRgba",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==t.substring(0,1)&&(t="#999999");var n=t.replace("#","");n=n.match(new RegExp("(.{"+n.length/3+"})","g"));for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"x",n=t.toString().slice();return n.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,e)}},{key:"negToZero",value:function(t){return t<0?0:t}},{key:"moveIndexInArray",value:function(t,e,n){if(n>=t.length)for(var r=n-t.length+1;r--;)t.push(void 0);return t.splice(n,0,t.splice(e,1)[0]),t}},{key:"extractNumber",value:function(t){return parseFloat(t.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}},{key:"setELstyles",value:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t.style.key=e[n])}},{key:"isNumber",value:function(t){return!isNaN(t)&&parseFloat(Number(t))===t&&!isNaN(parseInt(t,10))}},{key:"isFloat",value:function(t){return Number(t)===t&&t%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0&&parseInt(t.substring(r+5,t.indexOf(".",r)),10)}}]),t}(),x=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.setEasingFunctions()}return c(t,[{key:"setEasingFunctions",value:function(){var t;if(!this.w.globals.easing){switch(this.w.config.chart.animations.easing){case"linear":t="-";break;case"easein":t="<";break;case"easeout":t=">";break;case"easeinout":default:t="<>";break;case"swing":t=function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1};break;case"bounce":t=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375};break;case"elastic":t=function(t){return t===!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1}}this.w.globals.easing=t}}},{key:"animateLine",value:function(t,e,n,r){t.attr(e).animate(r).attr(n)}},{key:"animateMarker",value:function(t,e,n,r,o,i){e||(e=0),t.attr({r:e,width:e,height:e}).animate(r,o).attr({r:n,width:n.width,height:n.height}).afterAll((function(){i()}))}},{key:"animateCircle",value:function(t,e,n,r,o){t.attr({r:e.r,cx:e.cx,cy:e.cy}).animate(r,o).attr({r:n.r,cx:n.cx,cy:n.cy})}},{key:"animateRect",value:function(t,e,n,r,o){t.attr(e).animate(r).attr(n).afterAll((function(){return o()}))}},{key:"animatePathsGradually",value:function(t){var e=t.el,n=t.realIndex,r=t.j,o=t.fill,i=t.pathFrom,a=t.pathTo,s=t.speed,l=t.delay,c=this.w,u=0;c.config.chart.animations.animateGradually.enabled&&(u=c.config.chart.animations.animateGradually.delay),c.config.chart.animations.dynamicAnimation.enabled&&c.globals.dataChanged&&"bar"!==c.config.chart.type&&(u=0),this.morphSVG(e,n,r,"line"!==c.config.chart.type||c.globals.comboCharts?o:"stroke",i,a,s,l*u)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(t){t.el.classList.remove("apexcharts-element-hidden")}))}},{key:"animationCompleted",value:function(t){var e=this.w;e.globals.animationEnded||(e.globals.animationEnded=!0,this.showDelayedElements(),"function"==typeof e.config.chart.events.animationEnd&&e.config.chart.events.animationEnd(this.ctx,{el:t,w:e}))}},{key:"morphSVG",value:function(t,e,n,r,o,i,a,s){var l=this,c=this.w;o||(o=t.attr("pathFrom")),i||(i=t.attr("pathTo"));var u=function(t){return"radar"===c.config.chart.type&&(a=1),"M 0 ".concat(c.globals.gridHeight)};(!o||o.indexOf("undefined")>-1||o.indexOf("NaN")>-1)&&(o=u()),(!i||i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i=u()),c.globals.shouldAnimate||(a=1),t.plot(o).animate(1,c.globals.easing,s).plot(o).animate(a,c.globals.easing,s).plot(i).afterAll((function(){b.isNumber(n)?n===c.globals.series[c.globals.maxValsInArrayIndex].length-2&&c.globals.shouldAnimate&&l.animationCompleted(t):"none"!==r&&c.globals.shouldAnimate&&(!c.globals.comboCharts&&e===c.globals.series.length-1||c.globals.comboCharts)&&l.animationCompleted(t),l.showDelayedElements()}))}}]),t}(),w=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"getDefaultFilter",value:function(t,e){var n=this.w;t.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==n.config.states.normal.filter?this.applyFilter(t,e,n.config.states.normal.filter.type,n.config.states.normal.filter.value):n.config.chart.dropShadow.enabled&&this.dropShadow(t,n.config.chart.dropShadow,e)}},{key:"addNormalFilter",value:function(t,e){var n=this.w;n.config.chart.dropShadow.enabled&&!t.node.classList.contains("apexcharts-marker")&&this.dropShadow(t,n.config.chart.dropShadow,e)}},{key:"addLightenFilter",value:function(t,e,n){var r=this,o=this.w,i=n.intensity;t.unfilter(!0),new window.SVG.Filter,t.filter((function(t){var n=o.config.chart.dropShadow;(n.enabled?r.addShadow(t,e,n):t).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:i}})})),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(t.filterer.node)}},{key:"addDarkenFilter",value:function(t,e,n){var r=this,o=this.w,i=n.intensity;t.unfilter(!0),new window.SVG.Filter,t.filter((function(t){var n=o.config.chart.dropShadow;(n.enabled?r.addShadow(t,e,n):t).componentTransfer({rgb:{type:"linear",slope:i}})})),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(t.filterer.node)}},{key:"applyFilter",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(n){case"none":this.addNormalFilter(t,e);break;case"lighten":this.addLightenFilter(t,e,{intensity:r});break;case"darken":this.addDarkenFilter(t,e,{intensity:r})}}},{key:"addShadow",value:function(t,e,n){var r=n.blur,o=n.top,i=n.left,a=n.color,s=n.opacity,l=t.flood(Array.isArray(a)?a[e]:a,s).composite(t.sourceAlpha,"in").offset(i,o).gaussianBlur(r).merge(t.source);return t.blend(t.source,l)}},{key:"dropShadow",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=e.top,o=e.left,i=e.blur,a=e.color,s=e.opacity,l=e.noUserSpaceOnUse,c=this.w;return t.unfilter(!0),b.isIE()&&"radialBar"===c.config.chart.type||(a=Array.isArray(a)?a[n]:a,t.filter((function(t){var e;e=b.isSafari()||b.isFirefox()||b.isIE()?t.flood(a,s).composite(t.sourceAlpha,"in").offset(o,r).gaussianBlur(i):t.flood(a,s).composite(t.sourceAlpha,"in").offset(o,r).gaussianBlur(i).merge(t.source),t.blend(t.source,e)})),l||t.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),this._scaleFilterSize(t.filterer.node)),t}},{key:"setSelectionFilter",value:function(t,e,n){var r=this.w;if(void 0!==r.globals.selectedDataPoints[e]&&r.globals.selectedDataPoints[e].indexOf(n)>-1){t.node.setAttribute("selected",!0);var o=r.config.states.active.filter;"none"!==o&&this.applyFilter(t,e,o.type,o.value)}}},{key:"_scaleFilterSize",value:function(t){!function(e){for(var n in e)e.hasOwnProperty(n)&&t.setAttribute(n,e[n])}({width:"200%",height:"200%",x:"-50%",y:"-50%"})}}]),t}(),S=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"drawLine",value:function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"butt",l=this.w,c=l.globals.dom.Paper.line().attr({x1:t,y1:e,x2:n,y2:r,stroke:o,"stroke-dasharray":i,"stroke-width":a,"stroke-linecap":s});return c}},{key:"drawRect",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w,p=u.globals.dom.Paper.rect();return p.attr({x:t,y:e,width:n>0?n:0,height:r>0?r:0,rx:o,ry:o,opacity:a,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),p.node.setAttribute("fill",i),p}},{key:"drawPolygon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none",o=this.w,i=o.globals.dom.Paper.polygon(t).attr({fill:r,stroke:e,"stroke-width":n});return i}},{key:"drawCircle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;t<0&&(t=0);var r=n.globals.dom.Paper.circle(2*t);return null!==e&&r.attr(e),r}},{key:"drawPath",value:function(t){var e=t.d,n=void 0===e?"":e,r=t.stroke,o=void 0===r?"#a8a8a8":r,i=t.strokeWidth,a=void 0===i?1:i,s=t.fill,l=t.fillOpacity,c=void 0===l?1:l,u=t.strokeOpacity,p=void 0===u?1:u,d=t.classes,f=t.strokeLinecap,h=void 0===f?null:f,g=t.strokeDashArray,m=void 0===g?0:g,y=this.w;return null===h&&(h=y.config.stroke.lineCap),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(y.globals.gridHeight)),y.globals.dom.Paper.path(n).attr({fill:s,"fill-opacity":c,stroke:o,"stroke-opacity":p,"stroke-linecap":h,"stroke-width":a,"stroke-dasharray":m,class:d})}},{key:"group",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.w,n=e.globals.dom.Paper.group();return null!==t&&n.attr(t),n}},{key:"move",value:function(t,e){return["M",t,e].join(" ")}},{key:"line",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=null;return null===n?r=["L",t,e].join(" "):"H"===n?r=["H",t].join(" "):"V"===n&&(r=["V",e].join(" ")),r}},{key:"curve",value:function(t,e,n,r,o,i){return["C",t,e,n,r,o,i].join(" ")}},{key:"quadraticCurve",value:function(t,e,n,r){return["Q",t,e,n,r].join(" ")}},{key:"arc",value:function(t,e,n,r,o,i,a){var s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l="A";s&&(l="a");var c=[l,t,e,n,r,o,i,a].join(" ");return c}},{key:"renderPaths",value:function(t){var e,n=t.j,r=t.realIndex,o=t.pathFrom,a=t.pathTo,s=t.stroke,l=t.strokeWidth,c=t.strokeLinecap,u=t.fill,p=t.animationDelay,d=t.initialSpeed,f=t.dataChangeSpeed,h=t.className,g=t.shouldClipToGrid,m=void 0===g||g,y=t.bindEventsOnPaths,v=void 0===y||y,b=t.drawShadow,S=void 0===b||b,k=this.w,C=new w(this.ctx),_=new x(this.ctx),E=this.w.config.chart.animations.enabled,M=E&&this.w.config.chart.animations.dynamicAnimation.enabled,O=!!(E&&!k.globals.resized||M&&k.globals.dataChanged&&k.globals.shouldAnimate);O?e=o:(e=a,k.globals.animationEnded=!0);var A,D=k.config.stroke.dashArray;A=Array.isArray(D)?D[r]:k.config.stroke.dashArray;var j=this.drawPath({d:e,stroke:s,strokeWidth:l,fill:u,fillOpacity:1,classes:h,strokeLinecap:c,strokeDashArray:A});if(j.attr("index",r),m&&j.attr({"clip-path":"url(#gridRectMask".concat(k.globals.cuid,")")}),"none"!==k.config.states.normal.filter.type)C.getDefaultFilter(j,r);else if(k.config.chart.dropShadow.enabled&&S&&(!k.config.chart.dropShadow.enabledOnSeries||k.config.chart.dropShadow.enabledOnSeries&&-1!==k.config.chart.dropShadow.enabledOnSeries.indexOf(r))){var I=k.config.chart.dropShadow;C.dropShadow(j,I,r)}v&&(j.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,j)),j.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,j)),j.node.addEventListener("mousedown",this.pathMouseDown.bind(this,j))),j.attr({pathTo:a,pathFrom:o});var L={el:j,j:n,realIndex:r,pathFrom:o,pathTo:a,fill:u,strokeWidth:l,delay:p};return!E||k.globals.resized||k.globals.dataChanged?!k.globals.resized&&k.globals.dataChanged||_.showDelayedElements():_.animatePathsGradually(i(i({},L),{},{speed:d})),k.globals.dataChanged&&M&&O&&_.animatePathsGradually(i(i({},L),{},{speed:f})),j}},{key:"drawPattern",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=this.w,a=i.globals.dom.Paper.pattern(e,n,(function(i){"horizontalLines"===t?i.line(0,0,n,0).stroke({color:r,width:o+1}):"verticalLines"===t?i.line(0,0,0,e).stroke({color:r,width:o+1}):"slantedLines"===t?i.line(0,0,e,n).stroke({color:r,width:o}):"squares"===t?i.rect(e,n).fill("none").stroke({color:r,width:o}):"circles"===t&&i.circle(e).fill("none").stroke({color:r,width:o})}));return a}},{key:"drawGradient",value:function(t,e,n,r,o){var i,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=this.w;e.length<9&&0===e.indexOf("#")&&(e=b.hexToRgba(e,r)),n.length<9&&0===n.indexOf("#")&&(n=b.hexToRgba(n,o));var p=0,d=1,f=1,h=null;null!==s&&(p=void 0!==s[0]?s[0]/100:0,d=void 0!==s[1]?s[1]/100:1,f=void 0!==s[2]?s[2]/100:1,h=void 0!==s[3]?s[3]/100:null);var g=!("donut"!==u.config.chart.type&&"pie"!==u.config.chart.type&&"polarArea"!==u.config.chart.type&&"bubble"!==u.config.chart.type);if(i=null===l||0===l.length?u.globals.dom.Paper.gradient(g?"radial":"linear",(function(t){t.at(p,e,r),t.at(d,n,o),t.at(f,n,o),null!==h&&t.at(h,e,r)})):u.globals.dom.Paper.gradient(g?"radial":"linear",(function(t){(Array.isArray(l[c])?l[c]:l).forEach((function(e){t.at(e.offset/100,e.color,e.opacity)}))})),g){var m=u.globals.gridWidth/2,y=u.globals.gridHeight/2;"bubble"!==u.config.chart.type?i.attr({gradientUnits:"userSpaceOnUse",cx:m,cy:y,r:a}):i.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===t?i.from(0,0).to(0,1):"diagonal"===t?i.from(0,0).to(1,1):"horizontal"===t?i.from(0,1).to(1,1):"diagonal2"===t&&i.from(1,0).to(0,1);return i}},{key:"getTextBasedOnMaxWidth",value:function(t){var e=t.text,n=t.maxWidth,r=t.fontSize,o=t.fontFamily,i=this.getTextRects(e,r,o),a=i.width/e.length,s=Math.floor(n/a);return n-1){var s=n.globals.selectedDataPoints[o].indexOf(i);n.globals.selectedDataPoints[o].splice(s,1)}}else{if(!n.config.states.active.allowMultipleDataPointsSelection&&n.globals.selectedDataPoints.length>0){n.globals.selectedDataPoints=[];var l=n.globals.dom.Paper.select(".apexcharts-series path").members,c=n.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members,u=function(t){Array.prototype.forEach.call(t,(function(t){t.node.setAttribute("selected","false"),r.getDefaultFilter(t,o)}))};u(l),u(c)}t.node.setAttribute("selected","true"),a="true",void 0===n.globals.selectedDataPoints[o]&&(n.globals.selectedDataPoints[o]=[]),n.globals.selectedDataPoints[o].push(i)}if("true"===a){var p=n.config.states.active.filter;if("none"!==p)r.applyFilter(t,o,p.type,p.value);else if("none"!==n.config.states.hover.filter&&!n.globals.isTouchDevice){var d=n.config.states.hover.filter;r.applyFilter(t,o,d.type,d.value)}}else"none"!==n.config.states.active.filter.type&&("none"===n.config.states.hover.filter.type||n.globals.isTouchDevice?r.getDefaultFilter(t,o):(d=n.config.states.hover.filter,r.applyFilter(t,o,d.type,d.value)));"function"==typeof n.config.chart.events.dataPointSelection&&n.config.chart.events.dataPointSelection(e,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:o,dataPointIndex:i,w:n}),e&&this.ctx.events.fireEvent("dataPointSelection",[e,this.ctx,{selectedDataPoints:n.globals.selectedDataPoints,seriesIndex:o,dataPointIndex:i,w:n}])}},{key:"rotateAroundCenter",value:function(t){var e={};return t&&"function"==typeof t.getBBox&&(e=t.getBBox()),{x:e.x+e.width/2,y:e.y+e.height/2}}},{key:"getTextRects",value:function(t,e,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=this.w,a=this.drawText({x:-200,y:-200,text:t,textAnchor:"start",fontSize:e,fontFamily:n,foreColor:"#fff",opacity:0});r&&a.attr("transform",r),i.globals.dom.Paper.add(a);var s=a.bbox();return o||(s=a.node.getBoundingClientRect()),a.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(t,e,n){if("function"==typeof t.getComputedTextLength&&(t.textContent=e,e.length>0&&t.getComputedTextLength()>=n/1.1)){for(var r=e.length-3;r>0;r-=3)if(t.getSubStringLength(0,r)<=n/1.1)return void(t.textContent=e.substring(0,r)+"...");t.textContent="."}}}],[{key:"setAttrs",value:function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setAttribute(n,e[n])}}]),t}(),k=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"getStackedSeriesTotals",value:function(){var t=this.w,e=[];if(0===t.globals.series.length)return e;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:null;return null===t?this.w.config.series.reduce((function(t,e){return t+e}),0):this.w.globals.series[t].reduce((function(t,e){return t+e}),0)}},{key:"isSeriesNull",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===t?this.w.config.series.filter((function(t){return null!==t})):this.w.config.series[t].data.filter((function(t){return null!==t}))).length}},{key:"seriesHaveSameValues",value:function(t){return this.w.globals.series[t].every((function(t,e,n){return t===n[0]}))}},{key:"getCategoryLabels",value:function(t){var e=this.w,n=t.slice();return e.config.xaxis.convertedCatToNumeric&&(n=t.map((function(t,n){return e.config.xaxis.labels.formatter(t-e.globals.minX+1)}))),n}},{key:"getLargestSeries",value:function(){var t=this.w;t.globals.maxValsInArrayIndex=t.globals.series.map((function(t){return t.length})).indexOf(Math.max.apply(Math,t.globals.series.map((function(t){return t.length}))))}},{key:"getLargestMarkerSize",value:function(){var t=this.w,e=0;return t.globals.markers.size.forEach((function(t){e=Math.max(e,t)})),t.config.markers.discrete&&t.config.markers.discrete.length&&t.config.markers.discrete.forEach((function(t){e=Math.max(e,t.size)})),e>0&&(e+=t.config.markers.hover.sizeOffset+1),t.globals.markers.largestSize=e,e}},{key:"getSeriesTotals",value:function(){var t=this.w;t.globals.seriesTotals=t.globals.series.map((function(t,e){var n=0;if(Array.isArray(t))for(var r=0;rt&&n.globals.seriesX[o][a]0&&(e=!0),{comboBarCount:n,comboCharts:e}}},{key:"extendArrayProps",value:function(t,e,n){return e.yaxis&&(e=t.extendYAxis(e,n)),e.annotations&&(e.annotations.yaxis&&(e=t.extendYAxisAnnotations(e)),e.annotations.xaxis&&(e=t.extendXAxisAnnotations(e)),e.annotations.points&&(e=t.extendPointAnnotations(e))),e}}]),t}(),C=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e}return c(t,[{key:"setOrientations",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.w;if("vertical"===t.label.orientation){var r=null!==e?e:0,o=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(r,"']"));if(null!==o){var i=o.getBoundingClientRect();o.setAttribute("x",parseFloat(o.getAttribute("x"))-i.height+4),"top"===t.label.position?o.setAttribute("y",parseFloat(o.getAttribute("y"))+i.width):o.setAttribute("y",parseFloat(o.getAttribute("y"))-i.width);var a=this.annoCtx.graphics.rotateAroundCenter(o),s=a.x,l=a.y;o.setAttribute("transform","rotate(-90 ".concat(s," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(t,e){var n=this.w;if(!t||void 0===e.label.text||void 0!==e.label.text&&!String(e.label.text).trim())return null;var r=n.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),o=t.getBoundingClientRect(),i=e.label.style.padding.left,a=e.label.style.padding.right,s=e.label.style.padding.top,l=e.label.style.padding.bottom;"vertical"===e.label.orientation&&(s=e.label.style.padding.left,l=e.label.style.padding.right,i=e.label.style.padding.top,a=e.label.style.padding.bottom);var c=o.left-r.left-i,u=o.top-r.top-s,p=this.annoCtx.graphics.drawRect(c-n.globals.barPadForNumericAxis,u,o.width+i+a,o.height+s+l,e.label.borderRadius,e.label.style.background,1,e.label.borderWidth,e.label.borderColor,0);return e.id&&p.node.classList.add(e.id),p}},{key:"annotationsBackground",value:function(){var t=this,e=this.w,n=function(n,r,o){var i=e.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(r,"']"));if(i){var a=i.parentNode,s=t.addBackgroundToAnno(i,n);s&&(a.insertBefore(s.node,i),n.label.mouseEnter&&s.node.addEventListener("mouseenter",n.label.mouseEnter.bind(t,n)),n.label.mouseLeave&&s.node.addEventListener("mouseleave",n.label.mouseLeave.bind(t,n)),n.label.click&&s.node.addEventListener("click",n.label.click.bind(t,n)))}};e.config.annotations.xaxis.map((function(t,e){n(t,e,"xaxis")})),e.config.annotations.yaxis.map((function(t,e){n(t,e,"yaxis")})),e.config.annotations.points.map((function(t,e){n(t,e,"point")}))}},{key:"getY1Y2",value:function(t,e){var n,r="y1"===t?e.y:e.y2,o=this.w;if(this.annoCtx.invertAxis){var i=o.globals.labels.indexOf(r);o.config.xaxis.convertedCatToNumeric&&(i=o.globals.categoryLabels.indexOf(r));var a=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(i+1)+")");a&&(n=parseFloat(a.getAttribute("y")))}else{var s;s=o.config.yaxis[e.yAxisIndex].logarithmic?(r=new k(this.annoCtx.ctx).getLogVal(r,e.yAxisIndex))/o.globals.yLogRatio[e.yAxisIndex]:(r-o.globals.minYArr[e.yAxisIndex])/(o.globals.yRange[e.yAxisIndex]/o.globals.gridHeight),n=o.globals.gridHeight-s,!e.marker||void 0!==e.y&&null!==e.y||(n=0),o.config.yaxis[e.yAxisIndex]&&o.config.yaxis[e.yAxisIndex].reversed&&(n=s)}return n}},{key:"getX1X2",value:function(t,e){var n=this.w,r=this.annoCtx.invertAxis?n.globals.minY:n.globals.minX,o=this.annoCtx.invertAxis?n.globals.maxY:n.globals.maxX,i=this.annoCtx.invertAxis?n.globals.yRange[0]:n.globals.xRange,a=(e.x-r)/(i/n.globals.gridWidth);this.annoCtx.inversedReversedAxis&&(a=(o-e.x)/(i/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(a=this.getStringX(e.x));var s=(e.x2-r)/(i/n.globals.gridWidth);return this.annoCtx.inversedReversedAxis&&(s=(o-e.x2)/(i/n.globals.gridWidth)),"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||n.globals.dataFormatXNumeric||(s=this.getStringX(e.x2)),void 0!==e.x&&null!==e.x||!e.marker||(a=n.globals.gridWidth),"x1"===t?a:s}},{key:"getStringX",value:function(t){var e=this.w,n=t;e.config.xaxis.convertedCatToNumeric&&e.globals.categoryLabels.length&&(t=e.globals.categoryLabels.indexOf(t)+1);var r=e.globals.labels.indexOf(t),o=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(r+1)+")");return o&&(n=parseFloat(o.getAttribute("x"))),n}}]),t}(),_=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new C(this.annoCtx)}return c(t,[{key:"addXaxisAnnotation",value:function(t,e,n){var r,o=this.w,i=this.helpers.getX1X2("x1",t),a=t.label.text,s=t.strokeDashArray;if(b.isNumber(i)){if(null===t.x2||void 0===t.x2){var l=this.annoCtx.graphics.drawLine(i+t.offsetX,0+t.offsetY,i+t.offsetX,o.globals.gridHeight+t.offsetY,t.borderColor,s,t.borderWidth);e.appendChild(l.node),t.id&&l.node.classList.add(t.id)}else{if((r=this.helpers.getX1X2("x2",t))a){var c=a;a=r,r=c}var u=this.annoCtx.graphics.drawRect(0+t.offsetX,r+t.offsetY,this._getYAxisAnnotationWidth(t),a-r,0,t.fillColor,t.opacity,1,t.borderColor,i);u.node.classList.add("apexcharts-annotation-rect"),u.attr("clip-path","url(#gridRectMask".concat(o.globals.cuid,")")),e.appendChild(u.node),t.id&&u.node.classList.add(t.id)}var p="right"===t.label.position?o.globals.gridWidth:0,d=this.annoCtx.graphics.drawText({x:p+t.label.offsetX,y:(null!=r?r:a)+t.label.offsetY-3,text:s,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,fontWeight:t.label.style.fontWeight,foreColor:t.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(t.label.style.cssClass," ").concat(t.id?t.id:"")});d.attr({rel:n}),e.appendChild(d.node)}},{key:"_getYAxisAnnotationWidth",value:function(t){var e=this.w;return e.globals.gridWidth,(t.width.indexOf("%")>-1?e.globals.gridWidth*parseInt(t.width,10)/100:parseInt(t.width,10))+t.offsetX}},{key:"drawYAxisAnnotations",value:function(){var t=this,e=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return e.config.annotations.yaxis.map((function(e,r){t.addYaxisAnnotation(e,n.node,r)})),n}}]),t}(),M=function(){function t(e){s(this,t),this.w=e.w,this.annoCtx=e,this.helpers=new C(this.annoCtx)}return c(t,[{key:"addPointAnnotation",value:function(t,e,n){this.w;var r=this.helpers.getX1X2("x1",t),o=this.helpers.getY1Y2("y1",t);if(b.isNumber(r)){var i={pSize:t.marker.size,pointStrokeWidth:t.marker.strokeWidth,pointFillColor:t.marker.fillColor,pointStrokeColor:t.marker.strokeColor,shape:t.marker.shape,pRadius:t.marker.radius,class:"apexcharts-point-annotation-marker ".concat(t.marker.cssClass," ").concat(t.id?t.id:"")},a=this.annoCtx.graphics.drawMarker(r+t.marker.offsetX,o+t.marker.offsetY,i);e.appendChild(a.node);var s=t.label.text?t.label.text:"",l=this.annoCtx.graphics.drawText({x:r+t.label.offsetX,y:o+t.label.offsetY-t.marker.size-parseFloat(t.label.style.fontSize)/1.6,text:s,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,fontWeight:t.label.style.fontWeight,foreColor:t.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(t.label.style.cssClass," ").concat(t.id?t.id:"")});if(l.attr({rel:n}),e.appendChild(l.node),t.customSVG.SVG){var c=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+t.customSVG.cssClass});c.attr({transform:"translate(".concat(r+t.customSVG.offsetX,", ").concat(o+t.customSVG.offsetY,")")}),c.node.innerHTML=t.customSVG.SVG,e.appendChild(c.node)}if(t.image.path){var u=t.image.width?t.image.width:20,p=t.image.height?t.image.height:20;a=this.annoCtx.addImage({x:r+t.image.offsetX-u/2,y:o+t.image.offsetY-p/2,width:u,height:p,path:t.image.path,appendTo:".apexcharts-point-annotations"})}t.mouseEnter&&a.node.addEventListener("mouseenter",t.mouseEnter.bind(this,t)),t.mouseLeave&&a.node.addEventListener("mouseleave",t.mouseLeave.bind(this,t)),t.click&&a.node.addEventListener("click",t.click.bind(this,t))}}},{key:"drawPointAnnotations",value:function(){var t=this,e=this.w,n=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return e.config.annotations.points.map((function(e,r){t.addPointAnnotation(e,n.node,r)})),n}}]),t}(),O={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},A=function(){function t(){s(this,t),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return c(t,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[O],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",dateFormatter:function(t){return new Date(t).toDateString()}},png:{filename:void 0},svg:{filename:void 0}},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,rangeBarOverlap:!0,rangeBarGroupRows:!1,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal"}},bubble:{minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(t){return t}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(t){return t+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(t){return t.globals.seriesTotals.reduce((function(t,e){return t+e}),0)/t.globals.series.length+"%"}}}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(t){return t}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(t){return t}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(t){return t.globals.seriesTotals.reduce((function(t,e){return t+e}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(t){return null!==t?t:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,fillColors:void 0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:5,vertical:2},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",width:8,height:8,radius:2,offsetX:0,offsetY:0,onClick:void 0,onDblClick:void 0,showNullDataPoints:!0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.1}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.5}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(t){return t?t+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),t}(),D=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.graphics=new S(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new C(this),this.xAxisAnnotations=new _(this),this.yAxisAnnotations=new E(this),this.pointsAnnotations=new M(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return c(t,[{key:"drawAxesAnnotations",value:function(){var t=this.w;if(t.globals.axisCharts){for(var e=this.yAxisAnnotations.drawYAxisAnnotations(),n=this.xAxisAnnotations.drawXAxisAnnotations(),r=this.pointsAnnotations.drawPointAnnotations(),o=t.config.chart.animations.enabled,i=[e,n,r],a=[n.node,e.node,r.node],s=0;s<3;s++)t.globals.dom.elGraphical.add(i[s]),!o||t.globals.resized||t.globals.dataChanged||"scatter"!==t.config.chart.type&&"bubble"!==t.config.chart.type&&t.globals.dataPoints>1&&a[s].classList.add("apexcharts-element-hidden"),t.globals.delayedElements.push({el:a[s],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var t=this;this.w.config.annotations.images.map((function(e,n){t.addImage(e,n)}))}},{key:"drawTextAnnos",value:function(){var t=this;this.w.config.annotations.texts.map((function(e,n){t.addText(e,n)}))}},{key:"addXaxisAnnotation",value:function(t,e,n){this.xAxisAnnotations.addXaxisAnnotation(t,e,n)}},{key:"addYaxisAnnotation",value:function(t,e,n){this.yAxisAnnotations.addYaxisAnnotation(t,e,n)}},{key:"addPointAnnotation",value:function(t,e,n){this.pointsAnnotations.addPointAnnotation(t,e,n)}},{key:"addText",value:function(t,e){var n=t.x,r=t.y,o=t.text,i=t.textAnchor,a=t.foreColor,s=t.fontSize,l=t.fontFamily,c=t.fontWeight,u=t.cssClass,p=t.backgroundColor,d=t.borderWidth,f=t.strokeDashArray,h=t.borderRadius,g=t.borderColor,m=t.appendTo,y=void 0===m?".apexcharts-annotations":m,v=t.paddingLeft,b=void 0===v?4:v,x=t.paddingRight,w=void 0===x?4:x,S=t.paddingBottom,k=void 0===S?2:S,C=t.paddingTop,_=void 0===C?2:C,E=this.w,M=this.graphics.drawText({x:n,y:r,text:o,textAnchor:i||"start",fontSize:s||"12px",fontWeight:c||"regular",fontFamily:l||E.config.chart.fontFamily,foreColor:a||E.config.chart.foreColor,cssClass:u}),O=E.globals.dom.baseEl.querySelector(y);O&&O.appendChild(M.node);var A=M.bbox();if(o){var D=this.graphics.drawRect(A.x-b,A.y-_,A.width+b+w,A.height+k+_,h,p||"transparent",1,d,g,f);O.insertBefore(D.node,M.node)}}},{key:"addImage",value:function(t,e){var n=this.w,r=t.path,o=t.x,i=void 0===o?0:o,a=t.y,s=void 0===a?0:a,l=t.width,c=void 0===l?20:l,u=t.height,p=void 0===u?20:u,d=t.appendTo,f=void 0===d?".apexcharts-annotations":d,h=n.globals.dom.Paper.image(r);h.size(c,p).move(i,s);var g=n.globals.dom.baseEl.querySelector(f);return g&&g.appendChild(h.node),h}},{key:"addXaxisAnnotationExternal",value:function(t,e,n){return this.addAnnotationExternal({params:t,pushToMemory:e,context:n,type:"xaxis",contextMethod:n.addXaxisAnnotation}),n}},{key:"addYaxisAnnotationExternal",value:function(t,e,n){return this.addAnnotationExternal({params:t,pushToMemory:e,context:n,type:"yaxis",contextMethod:n.addYaxisAnnotation}),n}},{key:"addPointAnnotationExternal",value:function(t,e,n){return void 0===this.invertAxis&&(this.invertAxis=n.w.globals.isBarHorizontal),this.addAnnotationExternal({params:t,pushToMemory:e,context:n,type:"point",contextMethod:n.addPointAnnotation}),n}},{key:"addAnnotationExternal",value:function(t){var e=t.params,n=t.pushToMemory,r=t.context,o=t.type,i=t.contextMethod,a=r,s=a.w,l=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations")),c=l.childNodes.length+1,u=new A,p=Object.assign({},"xaxis"===o?u.xAxisAnnotation:"yaxis"===o?u.yAxisAnnotation:u.pointAnnotation),d=b.extend(p,e);switch(o){case"xaxis":this.addXaxisAnnotation(d,l,c);break;case"yaxis":this.addYaxisAnnotation(d,l,c);break;case"point":this.addPointAnnotation(d,l,c)}var f=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(o,"-annotations .apexcharts-").concat(o,"-annotation-label[rel='").concat(c,"']")),h=this.helpers.addBackgroundToAnno(f,d);return h&&l.insertBefore(h.node,f),n&&s.globals.memory.methodsToExec.push({context:a,id:d.id?d.id:b.randomId(),method:i,label:"addAnnotation",params:e}),r}},{key:"clearAnnotations",value:function(t){var e=t.w,n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");e.globals.memory.methodsToExec.map((function(t,n){"addText"!==t.label&&"addAnnotation"!==t.label||e.globals.memory.methodsToExec.splice(n,1)})),n=b.listToArray(n),Array.prototype.forEach.call(n,(function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}))}},{key:"removeAnnotation",value:function(t,e){var n=t.w,r=n.globals.dom.baseEl.querySelectorAll(".".concat(e));r&&(n.globals.memory.methodsToExec.map((function(t,r){t.id===e&&n.globals.memory.methodsToExec.splice(r,1)})),Array.prototype.forEach.call(r,(function(t){t.parentElement.removeChild(t)})))}}]),t}(),j=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0}return c(t,[{key:"clippedImgArea",value:function(t){var e=this.w,n=e.config,r=parseInt(e.globals.gridWidth,10),o=parseInt(e.globals.gridHeight,10),i=r>o?r:o,a=t.image,s=0,l=0;void 0===t.width&&void 0===t.height?void 0!==n.fill.image.width&&void 0!==n.fill.image.height?(s=n.fill.image.width+1,l=n.fill.image.height):(s=i+1,l=i):(s=t.width,l=t.height);var c=document.createElementNS(e.globals.SVGNS,"pattern");S.setAttrs(c,{id:t.patternID,patternUnits:t.patternUnits?t.patternUnits:"userSpaceOnUse",width:s+"px",height:l+"px"});var u=document.createElementNS(e.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS(window.SVG.xlink,"href",a),S.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:s+"px",height:l+"px"}),u.style.opacity=t.opacity,e.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(t){var e=this.w;return("bar"===e.config.chart.type||"rangeBar"===e.config.chart.type)&&e.config.plotOptions.bar.distributed||"heatmap"===e.config.chart.type||"treemap"===e.config.chart.type?this.seriesIndex=t.seriesNumber:this.seriesIndex=t.seriesNumber%e.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(t){var e=this.w;this.opts=t;var n,r,o,i=this.w.config;this.seriesIndex=this.getSeriesIndex(t);var a=this.getFillColors()[this.seriesIndex];void 0!==e.globals.seriesColors[this.seriesIndex]&&(a=e.globals.seriesColors[this.seriesIndex]),"function"==typeof a&&(a=a({seriesIndex:this.seriesIndex,dataPointIndex:t.dataPointIndex,value:t.value,w:e}));var s=this.getFillType(this.seriesIndex),l=Array.isArray(i.fill.opacity)?i.fill.opacity[this.seriesIndex]:i.fill.opacity;t.color&&(a=t.color);var c=a;if(-1===a.indexOf("rgb")?a.length<9&&(c=b.hexToRgba(a,l)):a.indexOf("rgba")>-1&&(l=b.getOpacityFromRGBA(a)),t.opacity&&(l=t.opacity),"pattern"===s&&(r=this.handlePatternFill(r,a,l,c)),"gradient"===s&&(o=this.handleGradientFill(a,l,this.seriesIndex)),"image"===s){var u=i.fill.image.src,p=t.patternID?t.patternID:"";this.clippedImgArea({opacity:l,image:Array.isArray(u)?t.seriesNumber-1&&(u=b.getOpacityFromRGBA(c));var p=void 0===o.fill.gradient.opacityTo?e:Array.isArray(o.fill.gradient.opacityTo)?o.fill.gradient.opacityTo[n]:o.fill.gradient.opacityTo;if(void 0===o.fill.gradient.gradientToColors||0===o.fill.gradient.gradientToColors.length)r="dark"===o.fill.gradient.shade?s.shadeColor(-1*parseFloat(o.fill.gradient.shadeIntensity),t.indexOf("rgb")>-1?b.rgb2hex(t):t):s.shadeColor(parseFloat(o.fill.gradient.shadeIntensity),t.indexOf("rgb")>-1?b.rgb2hex(t):t);else if(o.fill.gradient.gradientToColors[i.seriesNumber]){var d=o.fill.gradient.gradientToColors[i.seriesNumber];r=d,d.indexOf("rgba")>-1&&(p=b.getOpacityFromRGBA(d))}else r=t;if(o.fill.gradient.inverseColors){var f=c;c=r,r=f}return c.indexOf("rgb")>-1&&(c=b.rgb2hex(c)),r.indexOf("rgb")>-1&&(r=b.rgb2hex(r)),a.drawGradient(l,c,r,u,p,i.size,o.fill.gradient.stops,o.fill.gradient.colorStops,n)}}]),t}(),I=function(){function t(e,n){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"setGlobalMarkerSize",value:function(){var t=this.w;if(t.globals.markers.size=Array.isArray(t.config.markers.size)?t.config.markers.size:[t.config.markers.size],t.globals.markers.size.length>0){if(t.globals.markers.size.length4&&void 0!==arguments[4]&&arguments[4],a=this.w,s=e,l=t,c=null,u=new S(this.ctx),p=a.config.markers.discrete&&a.config.markers.discrete.length;if((a.globals.markers.size[e]>0||i||p)&&(c=u.group({class:i||p?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(a.globals.cuid,")")),Array.isArray(l.x))for(var d=0;d0:a.config.markers.size>0;if(g||i||p){b.isNumber(l.y[d])?h+=" w".concat(b.randomId()):h="apexcharts-nullpoint";var m=this.getMarkerConfig({cssClass:h,seriesIndex:e,dataPointIndex:f});a.config.series[s].data[f]&&(a.config.series[s].data[f].fillColor&&(m.pointFillColor=a.config.series[s].data[f].fillColor),a.config.series[s].data[f].strokeColor&&(m.pointStrokeColor=a.config.series[s].data[f].strokeColor)),r&&(m.pSize=r),(o=u.drawMarker(l.x[d],l.y[d],m)).attr("rel",f),o.attr("j",f),o.attr("index",e),o.node.setAttribute("default-marker-size",m.pSize);var y=new w(this.ctx);y.setSelectionFilter(o,e,f),this.addEvents(o),c&&c.add(o)}else void 0===a.globals.pointsArray[e]&&(a.globals.pointsArray[e]=[]),a.globals.pointsArray[e].push([l.x[d],l.y[d]])}return c}},{key:"getMarkerConfig",value:function(t){var e=t.cssClass,n=t.seriesIndex,r=t.dataPointIndex,o=void 0===r?null:r,i=t.finishRadius,a=void 0===i?null:i,s=this.w,l=this.getMarkerStyle(n),c=s.globals.markers.size[n],u=s.config.markers;return null!==o&&u.discrete.length&&u.discrete.map((function(t){t.seriesIndex===n&&t.dataPointIndex===o&&(l.pointStrokeColor=t.strokeColor,l.pointFillColor=t.fillColor,c=t.size,l.pointShape=t.shape)})),{pSize:null===a?c:a,pRadius:u.radius,width:Array.isArray(u.width)?u.width[n]:u.width,height:Array.isArray(u.height)?u.height[n]:u.height,pointStrokeWidth:Array.isArray(u.strokeWidth)?u.strokeWidth[n]:u.strokeWidth,pointStrokeColor:l.pointStrokeColor,pointFillColor:l.pointFillColor,shape:l.pointShape||(Array.isArray(u.shape)?u.shape[n]:u.shape),class:e,pointStrokeOpacity:Array.isArray(u.strokeOpacity)?u.strokeOpacity[n]:u.strokeOpacity,pointStrokeDashArray:Array.isArray(u.strokeDashArray)?u.strokeDashArray[n]:u.strokeDashArray,pointFillOpacity:Array.isArray(u.fillOpacity)?u.fillOpacity[n]:u.fillOpacity,seriesIndex:n}}},{key:"addEvents",value:function(t){var e=this.w,n=new S(this.ctx);t.node.addEventListener("mouseenter",n.pathMouseEnter.bind(this.ctx,t)),t.node.addEventListener("mouseleave",n.pathMouseLeave.bind(this.ctx,t)),t.node.addEventListener("mousedown",n.pathMouseDown.bind(this.ctx,t)),t.node.addEventListener("click",e.config.markers.onClick),t.node.addEventListener("dblclick",e.config.markers.onDblClick),t.node.addEventListener("touchstart",n.pathMouseDown.bind(this.ctx,t),{passive:!0})}},{key:"getMarkerStyle",value:function(t){var e=this.w,n=e.globals.markers.colors,r=e.config.markers.strokeColor||e.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(r)?r[t]:r,pointFillColor:Array.isArray(n)?n[t]:n}}}]),t}(),L=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled}return c(t,[{key:"draw",value:function(t,e,n){var r=this.w,o=new S(this.ctx),i=n.realIndex,a=n.pointsPos,s=n.zRatio,l=n.elParent,c=o.group({class:"apexcharts-series-markers apexcharts-series-".concat(r.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")")),Array.isArray(a.x))for(var u=0;ug.maxBubbleRadius&&(h=g.maxBubbleRadius)}r.config.chart.animations.enabled||(f=h);var m=a.x[u],y=a.y[u];if(f=f||0,null!==y&&void 0!==r.globals.series[i][p]||(d=!1),d){var v=this.drawPoint(m,y,f,h,i,p,e);c.add(v)}l.add(c)}}},{key:"drawPoint",value:function(t,e,n,r,o,i,a){var s=this.w,l=o,c=new x(this.ctx),u=new w(this.ctx),p=new j(this.ctx),d=new I(this.ctx),f=new S(this.ctx),h=d.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:i,finishRadius:"bubble"===s.config.chart.type||s.globals.comboCharts&&s.config.series[o]&&"bubble"===s.config.series[o].type?r:null});r=h.pSize;var g,m=p.fillPath({seriesNumber:o,dataPointIndex:i,color:h.pointFillColor,patternUnits:"objectBoundingBox",value:s.globals.series[o][a]});if("circle"===h.shape?g=f.drawCircle(n):"square"!==h.shape&&"rect"!==h.shape||(g=f.drawRect(0,0,h.width-h.pointStrokeWidth/2,h.height-h.pointStrokeWidth/2,h.pRadius)),s.config.series[l].data[i]&&s.config.series[l].data[i].fillColor&&(m=s.config.series[l].data[i].fillColor),g.attr({x:t-h.width/2-h.pointStrokeWidth/2,y:e-h.height/2-h.pointStrokeWidth/2,cx:t,cy:e,fill:m,"fill-opacity":h.pointFillOpacity,stroke:h.pointStrokeColor,r:r,"stroke-width":h.pointStrokeWidth,"stroke-dasharray":h.pointStrokeDashArray,"stroke-opacity":h.pointStrokeOpacity}),s.config.chart.dropShadow.enabled){var y=s.config.chart.dropShadow;u.dropShadow(g,y,o)}if(!this.initialAnim||s.globals.dataChanged||s.globals.resized)s.globals.animationEnded=!0;else{var v=s.config.chart.animations.speed;c.animateMarker(g,0,"circle"===h.shape?r:{width:h.width,height:h.height},v,s.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(g)}),100)}))}if(s.globals.dataChanged&&"circle"===h.shape)if(this.dynamicAnim){var b,k,C,_,E=s.config.chart.animations.dynamicAnimation.speed;null!=(_=s.globals.previousPaths[o]&&s.globals.previousPaths[o][a])&&(b=_.x,k=_.y,C=void 0!==_.r?_.r:r);for(var M=0;Ms.globals.gridHeight+p&&(e=s.globals.gridHeight+p/2),void 0===s.globals.dataLabelsRects[r]&&(s.globals.dataLabelsRects[r]=[]),s.globals.dataLabelsRects[r].push({x:t,y:e,width:u,height:p});var d=s.globals.dataLabelsRects[r].length-2,f=void 0!==s.globals.lastDrawnDataLabelsIndexes[r]?s.globals.lastDrawnDataLabelsIndexes[r][s.globals.lastDrawnDataLabelsIndexes[r].length-1]:0;if(void 0!==s.globals.dataLabelsRects[r][d]){var h=s.globals.dataLabelsRects[r][f];(t>h.x+h.width+2||e>h.y+h.height+2||t+u4&&void 0!==arguments[4]?arguments[4]:2,i=this.w,a=new S(this.ctx),s=i.config.dataLabels,l=0,c=0,u=n,p=null;if(!s.enabled||!Array.isArray(t.x))return p;p=a.group({class:"apexcharts-data-labels"});for(var d=0;de.globals.gridWidth+g.textRects.width+10)&&(s="");var m=e.globals.dataLabels.style.colors[i];(("bar"===e.config.chart.type||"rangeBar"===e.config.chart.type)&&e.config.plotOptions.bar.distributed||e.config.dataLabels.distributed)&&(m=e.globals.dataLabels.style.colors[a]),"function"==typeof m&&(m=m({series:e.globals.series,seriesIndex:i,dataPointIndex:a,w:e})),d&&(m=d);var y=p.offsetX,v=p.offsetY;if("bar"!==e.config.chart.type&&"rangeBar"!==e.config.chart.type||(y=0,v=0),g.drawnextLabel){var b=n.drawText({width:100,height:parseInt(p.style.fontSize,10),x:r+y,y:o+v,foreColor:m,textAnchor:l||p.textAnchor,text:s,fontSize:c||p.style.fontSize,fontFamily:p.style.fontFamily,fontWeight:p.style.fontWeight||"normal"});if(b.attr({class:"apexcharts-datalabel",cx:r,cy:o}),p.dropShadow.enabled){var x=p.dropShadow;new w(this.ctx).dropShadow(b,x)}u.add(b),void 0===e.globals.lastDrawnDataLabelsIndexes[i]&&(e.globals.lastDrawnDataLabelsIndexes[i]=[]),e.globals.lastDrawnDataLabelsIndexes[i].push(a)}}}},{key:"addBackgroundToDataLabel",value:function(t,e){var n=this.w,r=n.config.dataLabels.background,o=r.padding,i=r.padding/2,a=e.width,s=e.height,l=new S(this.ctx).drawRect(e.x-o,e.y-i/2,a+2*o,s+i,r.borderRadius,"transparent"===n.config.chart.background?"#fff":n.config.chart.background,r.opacity,r.borderWidth,r.borderColor);return r.dropShadow.enabled&&new w(this.ctx).dropShadow(l,r.dropShadow),l}},{key:"dataLabelsBackground",value:function(){var t=this.w;if("bubble"!==t.config.chart.type)for(var e=t.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),n=0;nn.globals.gridHeight&&(u=n.globals.gridHeight-d)),{bcx:a,bcy:i,dataLabelsX:e,dataLabelsY:u}}},{key:"calculateBarsDataLabelsPosition",value:function(t){var e=this.w,n=t.x,r=t.i,o=t.j,i=t.bcy,a=t.barHeight,s=t.barWidth,l=t.textRects,c=t.dataLabelsX,u=t.strokeWidth,p=t.barDataLabelsConfig,d=t.offX,f=t.offY,h=e.globals.gridHeight/e.globals.dataPoints;s=Math.abs(s);var g=i-(this.barCtx.isRangeBar?0:h)+a/2+l.height/2+f-3,m=this.barCtx.series[r][o]<0,y=n;switch(this.barCtx.isReversed&&(y=n+s-(m?2*s:0),n=e.globals.gridWidth-s),p.position){case"center":c=m?y+s/2-d:Math.max(l.width/2,y-s/2)+d;break;case"bottom":c=m?y+s-u-Math.round(l.width/2)-d:y-s+u+Math.round(l.width/2)+d;break;case"top":c=m?y-u+Math.round(l.width/2)-d:y-u-Math.round(l.width/2)+d}return e.config.chart.stacked||(c<0?c=c+l.width+u:c+l.width/2>e.globals.gridWidth&&(c=e.globals.gridWidth-l.width-u)),{bcx:n,bcy:i,dataLabelsX:c,dataLabelsY:g}}},{key:"drawCalculatedDataLabels",value:function(t){var e=t.x,n=t.y,r=t.val,o=t.i,a=t.j,s=t.textRects,l=t.barHeight,c=t.barWidth,u=t.dataLabelsConfig,p=this.w,d="rotate(0)";"vertical"===p.config.plotOptions.bar.dataLabels.orientation&&(d="rotate(-90, ".concat(e,", ").concat(n,")"));var f=new T(this.barCtx.ctx),h=new S(this.barCtx.ctx),g=u.formatter,m=null,y=p.globals.collapsedSeriesIndices.indexOf(o)>-1;if(u.enabled&&!y){m=h.group({class:"apexcharts-data-labels",transform:d});var v="";void 0!==r&&(v=g(r,{seriesIndex:o,dataPointIndex:a,w:p}));var b=p.globals.series[o][a]<0,x=p.config.plotOptions.bar.dataLabels.position;"vertical"===p.config.plotOptions.bar.dataLabels.orientation&&("top"===x&&(u.textAnchor=b?"end":"start"),"center"===x&&(u.textAnchor="middle"),"bottom"===x&&(u.textAnchor=b?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&cMath.abs(c)&&(v=""):s.height/1.6>Math.abs(l)&&(v=""));var w=i({},u);this.barCtx.isHorizontal&&r<0&&("start"===u.textAnchor?w.textAnchor="end":"end"===u.textAnchor&&(w.textAnchor="start")),f.plotDataLabelsText({x:e,y:n,text:v,i:o,j:a,parent:m,dataLabelsConfig:w,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}}]),t}(),P=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.legendInactiveClass="legend-mouseover-inactive"}return c(t,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.getElementsByClassName("apexcharts-series")}},{key:"getSeriesByName",value:function(t){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner .apexcharts-series[seriesName='".concat(b.escapeString(t),"']"))}},{key:"isSeriesHidden",value:function(t){var e=this.getSeriesByName(t),n=parseInt(e.getAttribute("data:realIndex"),10);return{isHidden:e.classList.contains("apexcharts-series-collapsed"),realIndex:n}}},{key:"addCollapsedClassToSeries",value:function(t,e){var n=this.w;function r(n){for(var r=0;r0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w,o=b.clone(r.globals.initialSeries);r.globals.previousPaths=[],n?(r.globals.collapsedSeries=[],r.globals.ancillaryCollapsedSeries=[],r.globals.collapsedSeriesIndices=[],r.globals.ancillaryCollapsedSeriesIndices=[]):o=this.emptyCollapsedSeries(o),r.config.series=o,t&&(e&&(r.globals.zoomed=!1,this.ctx.updateHelpers.revertDefaultAxisMinMax()),this.ctx.updateHelpers._updateSeries(o,r.config.chart.animations.dynamicAnimation.enabled))}},{key:"emptyCollapsedSeries",value:function(t){for(var e=this.w,n=0;n-1&&(t[n].data=[]);return t}},{key:"toggleSeriesOnHover",value:function(t,e){var n=this.w;e||(e=t.target);var r=n.globals.dom.baseEl.querySelectorAll(".apexcharts-series, .apexcharts-datalabels");if("mousemove"===t.type){var o=parseInt(e.getAttribute("rel"),10)-1,i=null,a=null;n.globals.axisCharts||"radialBar"===n.config.chart.type?n.globals.axisCharts?(i=n.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(o,"']")),a=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels[data\\:realIndex='".concat(o,"']"))):i=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(o+1,"']")):i=n.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(o+1,"'] path"));for(var s=0;s=t.from&&r<=t.to&&o[e].classList.remove(n.legendInactiveClass)}}(r.config.plotOptions.heatmap.colorScale.ranges[a])}else"mouseout"===t.type&&i("remove")}},{key:"getActiveConfigSeriesIndex",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc",n=this.w,r=0;if(n.config.series.length>1)for(var o=n.config.series.map((function(e,r){var o=!1;return t&&(o="bar"===n.config.series[r].type||"column"===n.config.series[r].type),e.data&&e.data.length>0&&!o?r:-1})),i="asc"===e?0:o.length-1;"asc"===e?i=0;"asc"===e?i++:i--)if(-1!==o[i]){r=o[i];break}return r}},{key:"getPreviousPaths",value:function(){var t=this.w;function e(e,n,r){for(var o=e[n].childNodes,i={type:r,paths:[],realIndex:e[n].getAttribute("data:realIndex")},a=0;a0)for(var r=function(e){for(var n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-".concat(t.config.chart.type," .apexcharts-series[data\\:realIndex='").concat(e,"'] rect")),r=[],o=function(t){var e=function(e){return n[t].getAttribute(e)},o={x:parseFloat(e("x")),y:parseFloat(e("y")),width:parseFloat(e("width")),height:parseFloat(e("height"))};r.push({rect:o,color:n[t].getAttribute("color")})},i=0;i0)for(var r=0;r0?t:[]}))}}]),t}(),z=function(){function t(e){s(this,t),this.w=e.w,this.barCtx=e}return c(t,[{key:"initVariables",value:function(t){var e=this.w;this.barCtx.series=t,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var n=0;n0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=t[n].length),e.globals.isXNumeric)for(var r=0;re.globals.minX&&e.globals.seriesX[n][r]0&&(r=l.globals.minXDiff/p),(i=r/this.barCtx.seriesLen*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(i=1)}a=l.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.yaxisIndex]-(this.barCtx.isReversed?l.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.yaxisIndex]:0),t=l.globals.padHorizontal+(r-i*this.barCtx.seriesLen)/2}return{x:t,y:e,yDivision:n,xDivision:r,barHeight:o,barWidth:i,zeroH:a,zeroW:s}}},{key:"getPathFillColor",value:function(t,e,n,r){var o=this.w,i=new j(this.barCtx.ctx),a=null,s=this.barCtx.barOptions.distributed?n:e;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(r){t[e][n]>=r.from&&t[e][n]<=r.to&&(a=r.color)})),o.config.series[e].data[n]&&o.config.series[e].data[n].fillColor&&(a=o.config.series[e].data[n].fillColor),i.fillPath({seriesNumber:this.barCtx.barOptions.distributed?s:r,dataPointIndex:n,color:a,value:t[e][n]})}},{key:"getStrokeWidth",value:function(t,e,n){var r=0,o=this.w;return void 0===this.barCtx.series[t][e]||null===this.barCtx.series[t][e]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,o.config.stroke.show&&(this.barCtx.isNullValue||(r=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[n]:this.barCtx.strokeWidth)),r}},{key:"barBackground",value:function(t){var e=t.j,n=t.i,r=t.x1,o=t.x2,i=t.y1,a=t.y2,s=t.elSeries,l=this.w,c=new S(this.barCtx.ctx),u=new P(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&u===n){e>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(e%=this.barCtx.barOptions.colors.backgroundBarColors.length);var p=this.barCtx.barOptions.colors.backgroundBarColors[e],d=c.drawRect(void 0!==r?r:0,void 0!==i?i:0,void 0!==o?o:l.globals.gridWidth,void 0!==a?a:l.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,p,this.barCtx.barOptions.colors.backgroundBarOpacity);s.add(d),d.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(t){var e=t.barWidth,n=t.barXPosition,r=t.yRatio,o=t.y1,i=t.y2,a=t.strokeWidth,s=t.series,l=t.realIndex,c=t.i,u=t.j,p=t.w,d=new S(this.barCtx.ctx);(a=Array.isArray(a)?a[l]:a)||(a=0);var f={barWidth:e,strokeWidth:a,yRatio:r,barXPosition:n,y1:o,y2:i},h=this.getRoundedBars(p,f,s,c,u),g=n,m=n+e,y=d.move(g,o),v=d.move(g,o),b=d.line(m-a,o);return p.globals.previousPaths.length>0&&(v=this.barCtx.getPreviousPath(l,u,!1)),y=y+d.line(g,h.y2)+h.pathWithRadius+d.line(m-a,h.y2)+b+b+"z",v=v+d.line(g,o)+b+b+b+b+b+d.line(g,o),p.config.chart.stacked&&(this.barCtx.yArrj.push(h.y2WithRadius),this.barCtx.yArrjF.push(Math.abs(o-h.y2WithRadius)),this.barCtx.yArrjVal.push(this.barCtx.series[c][u])),{pathTo:y,pathFrom:v}}},{key:"getBarpaths",value:function(t){var e=t.barYPosition,n=t.barHeight,r=t.x1,o=t.x2,i=t.strokeWidth,a=t.series,s=t.realIndex,l=t.i,c=t.j,u=t.w,p=new S(this.barCtx.ctx);(i=Array.isArray(i)?i[s]:i)||(i=0);var d={barHeight:n,strokeWidth:i,barYPosition:e,x2:o,x1:r},f=this.getRoundedBars(u,d,a,l,c),h=p.move(r,e),g=p.move(r,e);u.globals.previousPaths.length>0&&(g=this.barCtx.getPreviousPath(s,c,!1));var m=e,y=e+n,v=p.line(r,y-i);return h=h+p.line(f.x2,m)+f.pathWithRadius+p.line(f.x2,y-i)+v+v+"z",g=g+p.line(r,m)+v+v+v+v+v+p.line(r,m),u.config.chart.stacked&&(this.barCtx.xArrj.push(f.x2WithRadius),this.barCtx.xArrjF.push(Math.abs(r-f.x2WithRadius)),this.barCtx.xArrjVal.push(this.barCtx.series[l][c])),{pathTo:h,pathFrom:g}}},{key:"getRoundedBars",value:function(t,e,n,r,o){var i=new S(this.barCtx.ctx),a=0,s=t.config.plotOptions.bar.borderRadius,l=Array.isArray(s);if(a=l?s[r>s.length-1?s.length-1:r]:s,t.config.chart.stacked&&n.length>1&&r!==this.barCtx.radiusOnSeriesNumber&&!l&&(a=0),this.barCtx.isHorizontal){var c="",u=e.x2;if(Math.abs(e.x1-e.x2)0:n[r][o]<0;p&&(a*=-1),u-=a,c=i.quadraticCurve(u+a,e.barYPosition,u+a,e.barYPosition+(p?-1*a:a))+i.line(u+a,e.barYPosition+e.barHeight-e.strokeWidth-(p?-1*a:a))+i.quadraticCurve(u+a,e.barYPosition+e.barHeight-e.strokeWidth,u,e.barYPosition+e.barHeight-e.strokeWidth)}return{pathWithRadius:c,x2WithRadius:u+a,x2:u}}var d="",f=e.y2;if(Math.abs(e.y1-e.y2)=0;a--)this.barCtx.zeroSerieses.indexOf(a)>-1&&a===this.radiusOnSeriesNumber&&(this.barCtx.radiusOnSeriesNumber-=1);for(var s=e.length-1;s>=0;s--)n.globals.collapsedSeriesIndices.indexOf(this.barCtx.radiusOnSeriesNumber)>-1&&(this.barCtx.radiusOnSeriesNumber-=1)}},{key:"getXForValue",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=n?e:null;return null!=t&&(r=e+t/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?t/this.barCtx.invertedYRatio:0)),r}},{key:"getYForValue",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=n?e:null;return null!=t&&(r=e-t/this.barCtx.yRatio[this.barCtx.yaxisIndex]+2*(this.barCtx.isReversed?t/this.barCtx.yRatio[this.barCtx.yaxisIndex]:0)),r}},{key:"getGoalValues",value:function(t,e,n,r,o){var i=this,a=this.w,s=[];return a.globals.seriesGoals[r]&&a.globals.seriesGoals[r][o]&&Array.isArray(a.globals.seriesGoals[r][o])&&a.globals.seriesGoals[r][o].forEach((function(r){var o;s.push((u(o={},t,"x"===t?i.getXForValue(r.value,e,!1):i.getYForValue(r.value,n,!1)),u(o,"attrs",r),o))})),s}},{key:"drawGoalLine",value:function(t){var e=t.barXPosition,n=t.barYPosition,r=t.goalX,o=t.goalY,i=t.barWidth,a=t.barHeight,s=new S(this.barCtx.ctx),l=s.group({className:"apexcharts-bar-goals-groups"}),c=null;return this.barCtx.isHorizontal?Array.isArray(r)&&r.forEach((function(t){var e=void 0!==t.attrs.strokeHeight?t.attrs.strokeHeight:a/2,r=n+e+a/2;c=s.drawLine(t.x,r-2*e,t.x,r,t.attrs.strokeColor?t.attrs.strokeColor:void 0,t.attrs.strokeDashArray,t.attrs.strokeWidth?t.attrs.strokeWidth:2,t.attrs.strokeLineCap),l.add(c)})):Array.isArray(o)&&o.forEach((function(t){var n=void 0!==t.attrs.strokeWidth?t.attrs.strokeWidth:i/2,r=e+n+i/2;c=s.drawLine(r-2*n,t.y,r,t.y,t.attrs.strokeColor?t.attrs.strokeColor:void 0,t.attrs.strokeDashArray,t.attrs.strokeHeight?t.attrs.strokeHeight:2,t.attrs.strokeLineCap),l.add(c)})),l}}]),t}(),R=function(){function t(e,n){s(this,t),this.ctx=e,this.w=e.w;var r=this.w;this.barOptions=r.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=r.config.stroke.width,this.isNullValue=!1,this.isRangeBar=r.globals.seriesRangeBar.length&&this.isHorizontal,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.initialXRatio=n.initialXRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0,this.barHelpers=new z(this)}return c(t,[{key:"draw",value:function(t,e){var n=this.w,r=new S(this.ctx),o=new k(this.ctx,n);t=o.getLogSeries(t),this.series=t,this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(t);var a=r.group({class:"apexcharts-bar-series apexcharts-plot-series"});n.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var s=0,l=0;s0&&(this.visibleI=this.visibleI+1);var x=0,w=0;this.yRatio.length>1&&(this.yaxisIndex=y),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var C=this.barHelpers.initialPositions();h=C.y,x=C.barHeight,u=C.yDivision,d=C.zeroW,f=C.x,w=C.barWidth,c=C.xDivision,p=C.zeroH,this.horizontal||m.push(f+w/2);for(var _=r.group({class:"apexcharts-datalabels","data:realIndex":y}),E=r.group({class:"apexcharts-bar-goals-markers",style:"pointer-events: none"}),M=0;M0&&m.push(f+w/2),g.push(h);var I=this.barHelpers.getPathFillColor(t,s,M,y);this.renderSeries({realIndex:y,pathFill:I,j:M,i:s,pathFrom:A.pathFrom,pathTo:A.pathTo,strokeWidth:O,elSeries:v,x:f,y:h,series:t,barHeight:x,barWidth:w,elDataLabelsWrap:_,elGoalsMarkers:E,visibleSeries:this.visibleI,type:"bar"})}n.globals.seriesXvalues[y]=m,n.globals.seriesYvalues[y]=g,a.add(v)}return a}},{key:"renderSeries",value:function(t){var e=t.realIndex,n=t.pathFill,r=t.lineFill,o=t.j,i=t.i,a=t.pathFrom,s=t.pathTo,l=t.strokeWidth,c=t.elSeries,u=t.x,p=t.y,d=t.y1,f=t.y2,h=t.series,g=t.barHeight,m=t.barWidth,y=t.barYPosition,v=t.elDataLabelsWrap,b=t.elGoalsMarkers,x=t.visibleSeries,k=t.type,C=this.w,_=new S(this.ctx);r||(r=this.barOptions.distributed?C.globals.stroke.colors[o]:C.globals.stroke.colors[e]),C.config.series[i].data[o]&&C.config.series[i].data[o].strokeColor&&(r=C.config.series[i].data[o].strokeColor),this.isNullValue&&(n="none");var E=o/C.config.chart.animations.animateGradually.delay*(C.config.chart.animations.speed/C.globals.dataPoints)/2.4,M=_.renderPaths({i:i,j:o,realIndex:e,pathFrom:a,pathTo:s,stroke:r,strokeWidth:l,strokeLineCap:C.config.stroke.lineCap,fill:n,animationDelay:E,initialSpeed:C.config.chart.animations.speed,dataChangeSpeed:C.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(k,"-area")});M.attr("clip-path","url(#gridRectMask".concat(C.globals.cuid,")"));var O=C.config.forecastDataPoints;O.count>0&&o>=C.globals.dataPoints-O.count&&(M.node.setAttribute("stroke-dasharray",O.dashArray),M.node.setAttribute("stroke-width",O.strokeWidth),M.node.setAttribute("fill-opacity",O.fillOpacity)),void 0!==d&&void 0!==f&&(M.attr("data-range-y1",d),M.attr("data-range-y2",f)),new w(this.ctx).setSelectionFilter(M,e,o),c.add(M);var A=new N(this).handleBarDataLabels({x:u,y:p,y1:d,y2:f,i:i,j:o,series:h,realIndex:e,barHeight:g,barWidth:m,barYPosition:y,renderedPath:M,visibleSeries:x});return null!==A&&v.add(A),c.add(v),b&&c.add(b),c}},{key:"drawBarPaths",value:function(t){var e=t.indexes,n=t.barHeight,r=t.strokeWidth,o=t.zeroW,i=t.x,a=t.y,s=t.yDivision,l=t.elSeries,c=this.w,u=e.i,p=e.j;c.globals.isXNumeric&&(a=(c.globals.seriesX[u][p]-c.globals.minX)/this.invertedXRatio-n);var d=a+n*this.visibleI;i=this.barHelpers.getXForValue(this.series[u][p],o);var f=this.barHelpers.getBarpaths({barYPosition:d,barHeight:n,x1:o,x2:i,strokeWidth:r,series:this.series,realIndex:e.realIndex,i:u,j:p,w:c});return c.globals.isXNumeric||(a+=s),this.barHelpers.barBackground({j:p,i:u,y1:d-n*this.visibleI,y2:n*this.seriesLen,elSeries:l}),{pathTo:f.pathTo,pathFrom:f.pathFrom,x:i,y:a,goalX:this.barHelpers.getGoalValues("x",o,null,u,p),barYPosition:d}}},{key:"drawColumnPaths",value:function(t){var e=t.indexes,n=t.x,r=t.y,o=t.xDivision,i=t.barWidth,a=t.zeroH,s=t.strokeWidth,l=t.elSeries,c=this.w,u=e.realIndex,p=e.i,d=e.j,f=e.bc;if(c.globals.isXNumeric){var h=u;c.globals.seriesX[u].length||(h=c.globals.maxValsInArrayIndex),n=(c.globals.seriesX[h][d]-c.globals.minX)/this.xRatio-i*this.seriesLen/2}var g=n+i*this.visibleI;r=this.barHelpers.getYForValue(this.series[p][d],a);var m=this.barHelpers.getColumnPaths({barXPosition:g,barWidth:i,y1:a,y2:r,strokeWidth:s,series:this.series,realIndex:e.realIndex,i:p,j:d,w:c});return c.globals.isXNumeric||(n+=o),this.barHelpers.barBackground({bc:f,j:d,i:p,x1:g-s/2-i*this.visibleI,x2:i*this.seriesLen+s/2,elSeries:l}),{pathTo:m.pathTo,pathFrom:m.pathFrom,x:n,y:r,goalY:this.barHelpers.getGoalValues("y",null,a,p,d),barXPosition:g}}},{key:"getPreviousPath",value:function(t,e){for(var n,r=this.w,o=0;o0&&parseInt(i.realIndex,10)===parseInt(t,10)&&void 0!==r.globals.previousPaths[o].paths[e]&&(n=r.globals.previousPaths[o].paths[e].d)}return n}}]),t}(),B=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return c(t,[{key:"isValidDate",value:function(t){return!isNaN(this.parseDate(t))}},{key:"getTimeStamp",value:function(t){return Date.parse(t)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(t).toISOString().substr(0,25)).getTime():new Date(t).getTime():t}},{key:"getDate",value:function(t){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(t).toUTCString()):new Date(t)}},{key:"parseDate",value:function(t){var e=Date.parse(t);if(!isNaN(e))return this.getTimeStamp(t);var n=Date.parse(t.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getTimeStamp(n)}},{key:"parseDateWithTimezone",value:function(t){return Date.parse(t.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(t,e){var n=this.w.globals.locale,r=this.w.config.xaxis.labels.datetimeUTC,o=["\0"].concat(m(n.months)),i=[""].concat(m(n.shortMonths)),a=[""].concat(m(n.days)),s=[""].concat(m(n.shortDays));function l(t,e){var n=t+"";for(e=e||2;n.length12?d-12:0===d?12:d;e=(e=(e=(e=e.replace(/(^|[^\\])HH+/g,"$1"+l(d))).replace(/(^|[^\\])H/g,"$1"+d)).replace(/(^|[^\\])hh+/g,"$1"+l(f))).replace(/(^|[^\\])h/g,"$1"+f);var h=r?t.getUTCMinutes():t.getMinutes();e=(e=e.replace(/(^|[^\\])mm+/g,"$1"+l(h))).replace(/(^|[^\\])m/g,"$1"+h);var g=r?t.getUTCSeconds():t.getSeconds();e=(e=e.replace(/(^|[^\\])ss+/g,"$1"+l(g))).replace(/(^|[^\\])s/g,"$1"+g);var y=r?t.getUTCMilliseconds():t.getMilliseconds();e=e.replace(/(^|[^\\])fff+/g,"$1"+l(y,3)),y=Math.round(y/10),e=e.replace(/(^|[^\\])ff/g,"$1"+l(y)),y=Math.round(y/10);var v=d<12?"AM":"PM";e=(e=(e=e.replace(/(^|[^\\])f/g,"$1"+y)).replace(/(^|[^\\])TT+/g,"$1"+v)).replace(/(^|[^\\])T/g,"$1"+v.charAt(0));var b=v.toLowerCase();e=(e=e.replace(/(^|[^\\])tt+/g,"$1"+b)).replace(/(^|[^\\])t/g,"$1"+b.charAt(0));var x=-t.getTimezoneOffset(),w=r||!x?"Z":x>0?"+":"-";if(!r){var S=(x=Math.abs(x))%60;w+=l(Math.floor(x/60))+":"+l(S)}e=e.replace(/(^|[^\\])K/g,"$1"+w);var k=(r?t.getUTCDay():t.getDay())+1;return(e=(e=(e=(e=e.replace(new RegExp(a[0],"g"),a[k])).replace(new RegExp(s[0],"g"),s[k])).replace(new RegExp(o[0],"g"),o[u])).replace(new RegExp(i[0],"g"),i[u])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(t,e,n){var r=this.w;void 0!==r.config.xaxis.min&&(t=r.config.xaxis.min),void 0!==r.config.xaxis.max&&(e=r.config.xaxis.max);var o=this.getDate(t),i=this.getDate(e),a=this.formatDate(o,"yyyy MM dd HH mm ss fff").split(" "),s=this.formatDate(i,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(a[6],10),maxMillisecond:parseInt(s[6],10),minSecond:parseInt(a[5],10),maxSecond:parseInt(s[5],10),minMinute:parseInt(a[4],10),maxMinute:parseInt(s[4],10),minHour:parseInt(a[3],10),maxHour:parseInt(s[3],10),minDate:parseInt(a[2],10),maxDate:parseInt(s[2],10),minMonth:parseInt(a[1],10)-1,maxMonth:parseInt(s[1],10)-1,minYear:parseInt(a[0],10),maxYear:parseInt(s[0],10)}}},{key:"isLeapYear",value:function(t){return t%4==0&&t%100!=0||t%400==0}},{key:"calculcateLastDaysOfMonth",value:function(t,e,n){return this.determineDaysOfMonths(t,e)-n}},{key:"determineDaysOfYear",value:function(t){var e=365;return this.isLeapYear(t)&&(e=366),e}},{key:"determineRemainingDaysOfYear",value:function(t,e,n){var r=this.daysCntOfYear[e]+n;return e>1&&this.isLeapYear()&&r++,r}},{key:"determineDaysOfMonths",value:function(t,e){var n=30;switch(t=b.monthMod(t),!0){case this.months30.indexOf(t)>-1:2===t&&(n=this.isLeapYear(e)?29:28);break;case this.months31.indexOf(t)>-1:default:n=31}return n}}]),t}(),F=function(t){p(n,R);var e=g(n);function n(){return s(this,n),e.apply(this,arguments)}return c(n,[{key:"draw",value:function(t,e){var n=this.w,r=new S(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=t,this.seriesRangeStart=n.globals.seriesRangeStart,this.seriesRangeEnd=n.globals.seriesRangeEnd,this.barHelpers.initVariables(t);for(var o=r.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),a=0;a0&&(this.visibleI=this.visibleI+1);var g=0,m=0;this.yRatio.length>1&&(this.yaxisIndex=f);var y=this.barHelpers.initialPositions();p=y.y,c=y.zeroW,u=y.x,m=y.barWidth,s=y.xDivision,l=y.zeroH;for(var v=r.group({class:"apexcharts-datalabels","data:realIndex":f}),x=r.group({class:"apexcharts-rangebar-goals-markers",style:"pointer-events: none"}),w=0;w0}));return r=l.config.plotOptions.bar.rangeBarGroupRows?o+a*d:o+i*this.visibleI+a*d,f>-1&&!l.config.plotOptions.bar.rangeBarOverlap&&(c=l.globals.seriesRangeBar[e][f].overlaps).indexOf(u)>-1&&(r=(i=s.barHeight/c.length)*this.visibleI+a*(100-parseInt(this.barOptions.barHeight,10))/100/2+i*(this.visibleI+c.indexOf(u))+a*d),{barYPosition:r,barHeight:i}}},{key:"drawRangeColumnPaths",value:function(t){var e=t.indexes,n=t.x;t.strokeWidth;var r=t.xDivision,o=t.barWidth,i=t.zeroH,a=this.w,s=e.i,l=e.j,c=this.yRatio[this.yaxisIndex],u=e.realIndex,p=this.getRangeValue(u,l),d=Math.min(p.start,p.end),f=Math.max(p.start,p.end);a.globals.isXNumeric&&(n=(a.globals.seriesX[s][l]-a.globals.minX)/this.xRatio-o/2);var h=n+o*this.visibleI;void 0===this.series[s][l]||null===this.series[s][l]?d=i:(d=i-d/c,f=i-f/c);var g=Math.abs(f-d),m=this.barHelpers.getColumnPaths({barXPosition:h,barWidth:o,y1:d,y2:f,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:e.realIndex,i:u,j:l,w:a});return a.globals.isXNumeric||(n+=r),{pathTo:m.pathTo,pathFrom:m.pathFrom,barHeight:g,x:n,y:f,goalY:this.barHelpers.getGoalValues("y",null,i,s,l),barXPosition:h}}},{key:"drawRangeBarPaths",value:function(t){var e=t.indexes,n=t.y,r=t.y1,o=t.y2,i=t.yDivision,a=t.barHeight,s=t.barYPosition,l=t.zeroW,c=this.w,u=l+r/this.invertedYRatio,p=l+o/this.invertedYRatio,d=Math.abs(p-u),f=this.barHelpers.getBarpaths({barYPosition:s,barHeight:a,x1:u,x2:p,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:e.realIndex,realIndex:e.realIndex,j:e.j,w:c});return c.globals.isXNumeric||(n+=i),{pathTo:f.pathTo,pathFrom:f.pathFrom,barWidth:d,x:p,goalX:this.barHelpers.getGoalValues("x",l,null,e.realIndex,e.j),y:n}}},{key:"getRangeValue",value:function(t,e){var n=this.w;return{start:n.globals.seriesRangeStart[t][e],end:n.globals.seriesRangeEnd[t][e]}}},{key:"getTooltipValues",value:function(t){var e=t.ctx,n=t.seriesIndex,r=t.dataPointIndex,o=t.y1,i=t.y2,a=t.w,s=a.globals.seriesRangeStart[n][r],l=a.globals.seriesRangeEnd[n][r],c=a.globals.labels[r],u=a.config.series[n].name?a.config.series[n].name:"",p=a.config.tooltip.y.formatter,d=a.config.tooltip.y.title.formatter,f={w:a,seriesIndex:n,dataPointIndex:r,start:s,end:l};"function"==typeof d&&(u=d(u,f)),Number.isFinite(o)&&Number.isFinite(i)&&(s=o,l=i,a.config.series[n].data[r].x&&(c=a.config.series[n].data[r].x+":"),"function"==typeof p&&(c=p(c,f)));var h="",g="",m=a.globals.colors[n];if(void 0===a.config.tooltip.x.formatter)if("datetime"===a.config.xaxis.type){var y=new B(e);h=y.formatDate(y.getDate(s),a.config.tooltip.x.format),g=y.formatDate(y.getDate(l),a.config.tooltip.x.format)}else h=s,g=l;else h=a.config.tooltip.x.formatter(s),g=a.config.tooltip.x.formatter(l);return{start:s,end:l,startVal:h,endVal:g,ylabel:c,color:m,seriesName:u}}},{key:"buildCustomTooltipHTML",value:function(t){return'
    '+(t.seriesName||"")+'
    '+t.ylabel+' '+t.start+' - '+t.end+"
    "}}]),n}(),H=function(){function t(e){s(this,t),this.opts=e}return c(t,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(t){return this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0,b.extend(t,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"round"},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){var t=this;return{stroke:{width:1,colors:["#333"]},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(e){var n=e.seriesIndex,r=e.dataPointIndex,o=e.w;return t._getBoxTooltip(o,n,r,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var t=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(e){var n=e.seriesIndex,r=e.dataPointIndex,o=e.w;return t._getBoxTooltip(o,n,r,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:5,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(t,e){e.ctx;var n=e.seriesIndex,r=e.dataPointIndex,o=e.w,i=o.globals.seriesRangeStart[n][r];return o.globals.seriesRangeEnd[n][r]-i},background:{enabled:!1},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(t){return t.w.config.plotOptions&&t.w.config.plotOptions.bar&&t.w.config.plotOptions.bar.horizontal?function(t){var e=new F(t.ctx,null),n=e.getTooltipValues(t),r=n.color,o=n.seriesName,i=n.ylabel,a=n.startVal,s=n.endVal;return e.buildCustomTooltipHTML({color:r,seriesName:o,ylabel:i,start:a,end:s})}(t):function(t){var e=new F(t.ctx,null),n=e.getTooltipValues(t),r=n.color,o=n.seriesName,i=n.ylabel,a=n.start,s=n.end;return e.buildCustomTooltipHTML({color:r,seriesName:o,ylabel:i,start:a,end:s})}(t)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(t){return b.extend(t,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(t){t.dataLabels=t.dataLabels||{},t.dataLabels.formatter=t.dataLabels.formatter||void 0;var e=t.dataLabels.formatter;return t.yaxis.forEach((function(e,n){t.yaxis[n].min=0,t.yaxis[n].max=100})),"bar"===t.chart.type&&(t.dataLabels.formatter=e||function(t){return"number"==typeof t&&t?t.toFixed(0)+"%":t}),t}},{key:"convertCatToNumeric",value:function(t){return t.xaxis.convertedCatToNumeric=!0,t}},{key:"convertCatToNumericXaxis",value:function(t,e,n){t.xaxis.type="numeric",t.xaxis.labels=t.xaxis.labels||{},t.xaxis.labels.formatter=t.xaxis.labels.formatter||function(t){return b.isNumber(t)?Math.floor(t):t};var r=t.xaxis.labels.formatter,o=t.xaxis.categories&&t.xaxis.categories.length?t.xaxis.categories:t.labels;return n&&n.length&&(o=n.map((function(t){return Array.isArray(t)?t:String(t)}))),o&&o.length&&(t.xaxis.labels.formatter=function(t){return b.isNumber(t)?r(o[Math.floor(t)-1]):r(t)}),t.xaxis.categories=[],t.labels=[],t.xaxis.tickAmount=t.xaxis.tickAmount||"dataPoints",t}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"polarArea",value:function(){return this.opts.yaxis[0].tickAmount=this.opts.yaxis[0].tickAmount?this.opts.yaxis[0].tickAmount:6,{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{labels:{formatter:function(t){return t},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}},{key:"_getBoxTooltip",value:function(t,e,n,r,o){var i=t.globals.seriesCandleO[e][n],a=t.globals.seriesCandleH[e][n],s=t.globals.seriesCandleM[e][n],l=t.globals.seriesCandleL[e][n],c=t.globals.seriesCandleC[e][n];return t.config.series[e].type&&t.config.series[e].type!==o?'
    \n '.concat(t.config.series[e].name?t.config.series[e].name:"series-"+(e+1),": ").concat(t.globals.series[e][n],"\n
    "):'
    ')+"
    ".concat(r[0],': ')+i+"
    "+"
    ".concat(r[1],': ')+a+"
    "+(s?"
    ".concat(r[2],': ')+s+"
    ":"")+"
    ".concat(r[3],': ')+l+"
    "+"
    ".concat(r[4],': ')+c+"
    "}}]),t}(),U=function(){function t(e){s(this,t),this.opts=e}return c(t,[{key:"init",value:function(t){var e=t.responsiveOverride,n=this.opts,r=new A,o=new H(n);this.chartType=n.chart.type,"histogram"===this.chartType&&(n.chart.type="bar",n=b.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},n)),n=this.extendYAxis(n),n=this.extendAnnotations(n);var i=r.init(),s={};if(n&&"object"===a(n)){var l={};l=-1!==["line","area","bar","candlestick","boxPlot","rangeBar","histogram","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(n.chart.type)?o[n.chart.type]():o.line(),n.chart.brush&&n.chart.brush.enabled&&(l=o.brush(l)),n.chart.stacked&&"100%"===n.chart.stackType&&(n=o.stacked100(n)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(n),n.xaxis=n.xaxis||window.Apex.xaxis||{},e||(n.xaxis.convertedCatToNumeric=!1),((n=this.checkForCatToNumericXAxis(this.chartType,l,n)).chart.sparkline&&n.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(l=o.sparkline(l)),s=b.extend(i,l)}var c=b.extend(s,window.Apex);return i=b.extend(c,n),this.handleUserInputErrors(i)}},{key:"checkForCatToNumericXAxis",value:function(t,e,n){var r=new H(n),o=("bar"===t||"boxPlot"===t)&&n.plotOptions&&n.plotOptions.bar&&n.plotOptions.bar.horizontal,i="pie"===t||"polarArea"===t||"donut"===t||"radar"===t||"radialBar"===t||"heatmap"===t,a="datetime"!==n.xaxis.type&&"numeric"!==n.xaxis.type,s=n.xaxis.tickPlacement?n.xaxis.tickPlacement:e.xaxis&&e.xaxis.tickPlacement;return o||i||!a||"between"===s||(n=r.convertCatToNumeric(n)),n}},{key:"extendYAxis",value:function(t,e){var n=new A;(void 0===t.yaxis||!t.yaxis||Array.isArray(t.yaxis)&&0===t.yaxis.length)&&(t.yaxis={}),t.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(t.yaxis=b.extend(t.yaxis,window.Apex.yaxis)),t.yaxis.constructor!==Array?t.yaxis=[b.extend(n.yAxis,t.yaxis)]:t.yaxis=b.extendArray(t.yaxis,n.yAxis);var r=!1;t.yaxis.forEach((function(t){t.logarithmic&&(r=!0)}));var o=t.series;return e&&!o&&(o=e.config.series),r&&o.length!==t.yaxis.length&&o.length&&(t.yaxis=o.map((function(e,r){if(e.name||(o[r].name="series-".concat(r+1)),t.yaxis[r])return t.yaxis[r].seriesName=o[r].name,t.yaxis[r];var i=b.extend(n.yAxis,t.yaxis[0]);return i.show=!1,i}))),r&&o.length>1&&o.length!==t.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes. Please make sure to equalize both."),t}},{key:"extendAnnotations",value:function(t){return void 0===t.annotations&&(t.annotations={},t.annotations.yaxis=[],t.annotations.xaxis=[],t.annotations.points=[]),t=this.extendYAxisAnnotations(t),t=this.extendXAxisAnnotations(t),this.extendPointAnnotations(t)}},{key:"extendYAxisAnnotations",value:function(t){var e=new A;return t.annotations.yaxis=b.extendArray(void 0!==t.annotations.yaxis?t.annotations.yaxis:[],e.yAxisAnnotation),t}},{key:"extendXAxisAnnotations",value:function(t){var e=new A;return t.annotations.xaxis=b.extendArray(void 0!==t.annotations.xaxis?t.annotations.xaxis:[],e.xAxisAnnotation),t}},{key:"extendPointAnnotations",value:function(t){var e=new A;return t.annotations.points=b.extendArray(void 0!==t.annotations.points?t.annotations.points:[],e.pointAnnotation),t}},{key:"checkForDarkTheme",value:function(t){t.theme&&"dark"===t.theme.mode&&(t.tooltip||(t.tooltip={}),"light"!==t.tooltip.theme&&(t.tooltip.theme="dark"),t.chart.foreColor||(t.chart.foreColor="#f6f7f8"),t.chart.background||(t.chart.background="#424242"),t.theme.palette||(t.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(t){var e=t;if(e.tooltip.shared&&e.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if("bar"===e.chart.type&&e.plotOptions.bar.horizontal){if(e.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");e.yaxis[0].reversed&&(e.yaxis[0].opposite=!0),e.xaxis.tooltip.enabled=!1,e.yaxis[0].tooltip.enabled=!1,e.chart.zoom.enabled=!1}return"bar"!==e.chart.type&&"rangeBar"!==e.chart.type||e.tooltip.shared&&"barWidth"===e.xaxis.crosshairs.width&&e.series.length>1&&(e.xaxis.crosshairs.width="tickWidth"),"candlestick"!==e.chart.type&&"boxPlot"!==e.chart.type||e.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(e.chart.type," chart is not supported.")),e.yaxis[0].reversed=!1),e}}]),t}(),Y=function(){function t(){s(this,t)}return c(t,[{key:"initGlobalVars",value:function(t){t.series=[],t.seriesCandleO=[],t.seriesCandleH=[],t.seriesCandleM=[],t.seriesCandleL=[],t.seriesCandleC=[],t.seriesRangeStart=[],t.seriesRangeEnd=[],t.seriesRangeBar=[],t.seriesPercent=[],t.seriesGoals=[],t.seriesX=[],t.seriesZ=[],t.seriesNames=[],t.seriesTotals=[],t.seriesLog=[],t.seriesColors=[],t.stackedSeriesTotals=[],t.seriesXvalues=[],t.seriesYvalues=[],t.labels=[],t.hasGroups=!1,t.groups=[],t.categoryLabels=[],t.timescaleLabels=[],t.noLabelsProvided=!1,t.resizeTimer=null,t.selectionResizeTimer=null,t.delayedElements=[],t.pointsArray=[],t.dataLabelsRects=[],t.isXNumeric=!1,t.xaxisLabelsCount=0,t.skipLastTimelinelabel=!1,t.skipFirstTimelinelabel=!1,t.isDataXYZ=!1,t.isMultiLineX=!1,t.isMultipleYAxis=!1,t.maxY=-Number.MAX_VALUE,t.minY=Number.MIN_VALUE,t.minYArr=[],t.maxYArr=[],t.maxX=-Number.MAX_VALUE,t.minX=Number.MAX_VALUE,t.initialMaxX=-Number.MAX_VALUE,t.initialMinX=Number.MAX_VALUE,t.maxDate=0,t.minDate=Number.MAX_VALUE,t.minZ=Number.MAX_VALUE,t.maxZ=-Number.MAX_VALUE,t.minXDiff=Number.MAX_VALUE,t.yAxisScale=[],t.xAxisScale=null,t.xAxisTicksPositions=[],t.yLabelsCoords=[],t.yTitleCoords=[],t.barPadForNumericAxis=0,t.padHorizontal=0,t.xRange=0,t.yRange=[],t.zRange=0,t.dataPoints=0,t.xTickAmount=0}},{key:"globalVars",value:function(t){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:t.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],goldenPadding:35,invalidLogScale:!1,ignoreYAxisIndexes:[],yAxisSameScaleIndices:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:"zoom"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.zoom&&t.chart.zoom.enabled,panEnabled:"pan"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.pan,selectionEnabled:"selection"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null}}},{key:"init",value:function(t){var e=this.globalVars(t);return this.initGlobalVars(e),e.initialConfig=b.extend({},t),e.initialSeries=b.clone(t.series),e.lastXAxis=b.clone(e.initialConfig.xaxis),e.lastYAxis=b.clone(e.initialConfig.yaxis),e}}]),t}(),W=function(){function t(e){s(this,t),this.opts=e}return c(t,[{key:"init",value:function(){var t=new U(this.opts).init({responsiveOverride:!1});return{config:t,globals:(new Y).init(t)}}}]),t}(),V=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[],this.seriesGoals=[],this.coreUtils=new k(this.ctx)}return c(t,[{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var t=this.w.config.series.slice(),e=new P(this.ctx);if(this.activeSeriesIndex=e.getActiveConfigSeriesIndex(),void 0!==t[this.activeSeriesIndex].data&&t[this.activeSeriesIndex].data.length>0&&null!==t[this.activeSeriesIndex].data[0]&&void 0!==t[this.activeSeriesIndex].data[0].x&&null!==t[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var t=this.w.config.series.slice(),e=new P(this.ctx);if(this.activeSeriesIndex=e.getActiveConfigSeriesIndex(),void 0!==t[this.activeSeriesIndex].data&&t[this.activeSeriesIndex].data.length>0&&void 0!==t[this.activeSeriesIndex].data[0]&&null!==t[this.activeSeriesIndex].data[0]&&t[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(t,e){for(var n=this.w.config,r=this.w.globals,o="boxPlot"===n.chart.type||"boxPlot"===n.series[e].type,i=0;i=5?this.twoDSeries.push(b.parseNumber(t[e].data[i][4])):this.twoDSeries.push(b.parseNumber(t[e].data[i][1])),r.dataFormatXNumeric=!0),"datetime"===n.xaxis.type){var a=new Date(t[e].data[i][0]);a=new Date(a).getTime(),this.twoDSeriesX.push(a)}else this.twoDSeriesX.push(t[e].data[i][0]);for(var s=0;s-1&&(i=this.activeSeriesIndex);for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:this.ctx,r=this.w.config,o=this.w.globals,i=new B(n),a=r.labels.length>0?r.labels.slice():r.xaxis.categories.slice();o.isRangeBar="rangeBar"===r.chart.type&&o.isBarHorizontal,o.hasGroups="category"===r.xaxis.type&&r.xaxis.group.groups.length>0,o.hasGroups&&(o.groups=r.xaxis.group.groups);for(var s=function(){for(var t=0;t0&&(this.twoDSeriesX=a,o.seriesX.push(this.twoDSeriesX))),o.labels.push(this.twoDSeriesX);var c=t[l].data.map((function(t){return b.parseNumber(t)}));o.series.push(c)}o.seriesZ.push(this.threeDSeries),void 0!==t[l].name?o.seriesNames.push(t[l].name):o.seriesNames.push("series-"+parseInt(l+1,10)),void 0!==t[l].color?o.seriesColors.push(t[l].color):o.seriesColors.push(void 0)}return this.w}},{key:"parseDataNonAxisCharts",value:function(t){var e=this.w.globals,n=this.w.config;e.series=t.slice(),e.seriesNames=n.labels.slice();for(var r=0;r0?n.labels=e.xaxis.categories:e.labels.length>0?n.labels=e.labels.slice():this.fallbackToCategory?(n.labels=n.labels[0],n.seriesRangeBar.length&&(n.seriesRangeBar.map((function(t){t.forEach((function(t){n.labels.indexOf(t.x)<0&&t.x&&n.labels.push(t.x)}))})),n.labels=n.labels.filter((function(t,e,n){return n.indexOf(t)===e}))),e.xaxis.convertedCatToNumeric&&(new H(e).convertCatToNumericXaxis(e,this.ctx,n.seriesX[0]),this._generateExternalLabels(t))):this._generateExternalLabels(t)}},{key:"_generateExternalLabels",value:function(t){var e=this.w.globals,n=this.w.config,r=[];if(e.axisCharts){if(e.series.length>0)if(this.isFormatXY())for(var o=n.series.map((function(t,e){return t.data.filter((function(t,e,n){return n.findIndex((function(e){return e.x===t.x}))===e}))})),i=o.reduce((function(t,e,n,r){return r[t].length>e.length?t:n}),0),a=0;a0&&n<100?t.toFixed(1):t.toFixed(0)}return e.globals.isBarHorizontal&&e.globals.maxY-e.globals.minYArr<4?t.toFixed(1):t.toFixed(0)}return t},"function"==typeof e.config.tooltip.x.formatter?e.globals.ttKeyFormatter=e.config.tooltip.x.formatter:e.globals.ttKeyFormatter=e.globals.xLabelFormatter,"function"==typeof e.config.xaxis.tooltip.formatter&&(e.globals.xaxisTooltipFormatter=e.config.xaxis.tooltip.formatter),(Array.isArray(e.config.tooltip.y)||void 0!==e.config.tooltip.y.formatter)&&(e.globals.ttVal=e.config.tooltip.y),void 0!==e.config.tooltip.z.formatter&&(e.globals.ttZFormatter=e.config.tooltip.z.formatter),void 0!==e.config.legend.formatter&&(e.globals.legendFormatter=e.config.legend.formatter),e.config.yaxis.forEach((function(n,r){void 0!==n.labels.formatter?e.globals.yLabelFormatters[r]=n.labels.formatter:e.globals.yLabelFormatters[r]=function(o){return e.globals.xyCharts?Array.isArray(o)?o.map((function(e){return t.defaultYFormatter(e,n,r)})):t.defaultYFormatter(o,n,r):o}})),e.globals}},{key:"heatmapLabelFormatters",value:function(){var t=this.w;if("heatmap"===t.config.chart.type){t.globals.yAxisScale[0].result=t.globals.seriesNames.slice();var e=t.globals.seriesNames.reduce((function(t,e){return t.length>e.length?t:e}),0);t.globals.yAxisScale[0].niceMax=e,t.globals.yAxisScale[0].niceMin=e}}}]),t}(),X=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"getLabel",value:function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"12px",a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],s=this.w,l=void 0===t[r]?"":t[r],c=l,u=s.globals.xLabelFormatter,p=s.config.xaxis.labels.formatter,d=!1,f=new K(this.ctx),h=l;a&&(c=f.xLabelFormat(u,l,h,{i:r,dateFormatter:new B(this.ctx).formatDate,w:s}),void 0!==p&&(c=p(l,t[r],{i:r,dateFormatter:new B(this.ctx).formatDate,w:s})));var g=function(t){var n=null;return e.forEach((function(t){"month"===t.unit?n="year":"day"===t.unit?n="month":"hour"===t.unit?n="day":"minute"===t.unit&&(n="hour")})),n===t};e.length>0?(d=g(e[r].unit),n=e[r].position,c=e[r].value):"datetime"===s.config.xaxis.type&&void 0===p&&(c=""),void 0===c&&(c=""),c=Array.isArray(c)?c:c.toString();var m=new S(this.ctx),y={};y=s.globals.rotateXLabels&&a?m.getTextRects(c,parseInt(i,10),null,"rotate(".concat(s.config.xaxis.labels.rotate," 0 0)"),!1):m.getTextRects(c,parseInt(i,10));var v=!s.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(c)&&(0===c.indexOf("NaN")||0===c.toLowerCase().indexOf("invalid")||c.toLowerCase().indexOf("infinity")>=0||o.indexOf(c)>=0&&v)&&(c=""),{x:n,text:c,textRect:y,isBold:d}}},{key:"checkLabelBasedOnTickamount",value:function(t,e,n){var r=this.w,o=r.config.xaxis.tickAmount;return"dataPoints"===o&&(o=Math.round(r.globals.gridWidth/120)),o>n||t%Math.round(n/(o+1))==0||(e.text=""),e}},{key:"checkForOverflowingLabels",value:function(t,e,n,r,o){var i=this.w;if(0===t&&i.globals.skipFirstTimelinelabel&&(e.text=""),t===n-1&&i.globals.skipLastTimelinelabel&&(e.text=""),i.config.xaxis.labels.hideOverlappingLabels&&r.length>0){var a=o[o.length-1];e.x0){!0===s.config.yaxis[o].opposite&&(t+=r.width);for(var u=e;u>=0;u--){var p=c+e/10+s.config.yaxis[o].labels.offsetY-1;s.globals.isBarHorizontal&&(p=i*u),"heatmap"===s.config.chart.type&&(p+=i/2);var d=l.drawLine(t+n.offsetX-r.width+r.offsetX,p+r.offsetY,t+n.offsetX+r.offsetX,p+r.offsetY,r.color);a.add(d),c+=i}}}}]),t}(),G=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"scaleSvgNode",value:function(t,e){var n=parseFloat(t.getAttributeNS(null,"width")),r=parseFloat(t.getAttributeNS(null,"height"));t.setAttributeNS(null,"width",n*e),t.setAttributeNS(null,"height",r*e),t.setAttributeNS(null,"viewBox","0 0 "+n+" "+r)}},{key:"fixSvgStringForIe11",value:function(t){if(!b.isIE11())return t.replace(/ /g," ");var e=0,n=t.replace(/xmlns="http:\/\/www.w3.org\/2000\/svg"/g,(function(t){return 2==++e?'xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev"':t}));return(n=n.replace(/xmlns:NS\d+=""/g,"")).replace(/NS\d+:(\w+:\w+=")/g,"$1")}},{key:"getSvgString",value:function(t){null==t&&(t=1);var e=this.w.globals.dom.Paper.svg();if(1!==t){var n=this.w.globals.dom.Paper.node.cloneNode(!0);this.scaleSvgNode(n,t),e=(new XMLSerializer).serializeToString(n)}return this.fixSvgStringForIe11(e)}},{key:"cleanup",value:function(){var t=this.w,e=t.globals.dom.baseEl.getElementsByClassName("apexcharts-xcrosshairs"),n=t.globals.dom.baseEl.getElementsByClassName("apexcharts-ycrosshairs"),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-zoom-rect, .apexcharts-selection-rect");Array.prototype.forEach.call(r,(function(t){t.setAttribute("width",0)})),e&&e[0]&&(e[0].setAttribute("x",-500),e[0].setAttribute("x1",-500),e[0].setAttribute("x2",-500)),n&&n[0]&&(n[0].setAttribute("y",-100),n[0].setAttribute("y1",-100),n[0].setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var t=this.getSvgString(),e=new Blob([t],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(e)}},{key:"dataURI",value:function(t){var e=this;return new Promise((function(n){var r=e.w,o=t?t.scale||t.width/r.globals.svgWidth:1;e.cleanup();var i=document.createElement("canvas");i.width=r.globals.svgWidth*o,i.height=parseInt(r.globals.dom.elWrap.style.height,10)*o;var a="transparent"===r.config.chart.background?"#fff":r.config.chart.background,s=i.getContext("2d");s.fillStyle=a,s.fillRect(0,0,i.width*o,i.height*o);var l=e.getSvgString(o);if(window.canvg&&b.isIE11()){var c=window.canvg.Canvg.fromString(s,l,{ignoreClear:!0,ignoreDimensions:!0});c.start();var u=i.msToBlob();c.stop(),n({blob:u})}else{var p="data:image/svg+xml,"+encodeURIComponent(l),d=new Image;d.crossOrigin="anonymous",d.onload=function(){if(s.drawImage(d,0,0),i.msToBlob){var t=i.msToBlob();n({blob:t})}else{var e=i.toDataURL("image/png");n({imgURI:e})}},d.src=p}}))}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),this.w.config.chart.toolbar.export.svg.filename,".svg")}},{key:"exportToPng",value:function(){var t=this;this.dataURI().then((function(e){var n=e.imgURI,r=e.blob;r?navigator.msSaveOrOpenBlob(r,t.w.globals.chartID+".png"):t.triggerDownload(n,t.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(t){var e=this,n=t.series,r=t.fileName,o=t.columnDelimiter,i=void 0===o?",":o,a=t.lineDelimiter,s=void 0===a?"\n":a,l=this.w;n||(n=l.config.series);var c=[],u=[],p="",d=new V(this.ctx),f=new X(this.ctx),h=function(t){var n="";if(l.globals.axisCharts){if("category"===l.config.xaxis.type||l.config.xaxis.convertedCatToNumeric)if(l.globals.isBarHorizontal){var r=l.globals.yLabelFormatters[0],o=new P(e.ctx).getActiveConfigSeriesIndex();n=r(l.globals.labels[t],{seriesIndex:o,dataPointIndex:t,w:l})}else n=f.getLabel(l.globals.labels,l.globals.timescaleLabels,0,t).text;"datetime"===l.config.xaxis.type&&(l.config.xaxis.categories.length?n=l.config.xaxis.categories[t]:l.config.labels.length&&(n=l.config.labels[t]))}else n=l.config.labels[t];return Array.isArray(n)&&(n=n.join(" ")),b.isNumber(n)?n:n.split(i).join("")};c.push(l.config.chart.toolbar.export.csv.headerCategory),"boxPlot"===l.config.chart.type?(c.push("minimum"),c.push("q1"),c.push("median"),c.push("q3"),c.push("maximum")):"candlestick"===l.config.chart.type?(c.push("open"),c.push("high"),c.push("low"),c.push("close")):"rangeBar"===l.config.chart.type?(c.push("minimum"),c.push("maximum")):n.map((function(t,e){var n=t.name?t.name:"series-".concat(e);l.globals.axisCharts&&c.push(n.split(i).join("")?n.split(i).join(""):"series-".concat(e))})),l.globals.axisCharts||(c.push(l.config.chart.toolbar.export.csv.headerValue),u.push(c.join(i))),n.map((function(t,e){l.globals.axisCharts?function(t,e){if(c.length&&0===e&&u.push(c.join(i)),t.data&&t.data.length)for(var r=0;r=10?l.config.chart.toolbar.export.csv.dateFormatter(o):b.isNumber(o)?o:o.split(i).join("")));for(var a=0;a0&&!n.globals.isBarHorizontal&&(this.xaxisLabels=n.globals.timescaleLabels.slice()),n.config.xaxis.overwriteCategories&&(this.xaxisLabels=n.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],"top"===n.config.xaxis.position?this.offY=0:this.offY=n.globals.gridHeight+1,this.offY=this.offY+n.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal="bar"===n.config.chart.type&&n.config.plotOptions.bar.horizontal,this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xaxisBorderWidth=n.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=n.config.yaxis[0].axisBorder.width.toString()),this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=n.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=n.config.xaxis.axisBorder.height,this.yaxis=n.config.yaxis[0]}return c(t,[{key:"drawXaxis",value:function(){var t=this.w,e=new S(this.ctx),n=e.group({class:"apexcharts-xaxis",transform:"translate(".concat(t.config.xaxis.offsetX,", ").concat(t.config.xaxis.offsetY,")")}),r=e.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});n.add(r);for(var o=[],i=0;i6&&void 0!==arguments[6]?arguments[6]:{},c=[],u=[],p=this.w,d=l.xaxisFontSize||this.xaxisFontSize,f=l.xaxisFontFamily||this.xaxisFontFamily,h=l.xaxisForeColors||this.xaxisForeColors,g=l.fontWeight||p.config.xaxis.labels.style.fontWeight,m=l.cssClass||p.config.xaxis.labels.style.cssClass,y=p.globals.padHorizontal,v=r.length,b="category"===p.config.xaxis.type?p.globals.dataPoints:v;if(o){var x=b>1?b-1:b;a=p.globals.gridWidth/x,y=y+i(0,a)/2+p.config.xaxis.labels.offsetX}else a=p.globals.gridWidth/b,y=y+i(0,a)+p.config.xaxis.labels.offsetX;for(var w=function(o){var l=y-i(o,a)/2+p.config.xaxis.labels.offsetX;0===o&&1===v&&a/2===y&&1===b&&(l=p.globals.gridWidth/2);var x=s.axesUtils.getLabel(r,p.globals.timescaleLabels,l,o,c,d,t),w=28;if(p.globals.rotateXLabels&&t&&(w=22),t||(w=w+parseFloat(d)+(p.globals.xAxisLabelsHeight-p.globals.xAxisGroupLabelsHeight)+(p.globals.rotateXLabels?10:0)),x=void 0!==p.config.xaxis.tickAmount&&"dataPoints"!==p.config.xaxis.tickAmount&&"datetime"!==p.config.xaxis.type?s.axesUtils.checkLabelBasedOnTickamount(o,x,v):s.axesUtils.checkForOverflowingLabels(o,x,v,c,u),t&&x.text&&p.globals.xaxisLabelsCount++,p.config.xaxis.labels.show){var S=e.drawText({x:x.x,y:s.offY+p.config.xaxis.labels.offsetY+w-("top"===p.config.xaxis.position?p.globals.xAxisHeight+p.config.xaxis.axisTicks.height-2:0),text:x.text,textAnchor:"middle",fontWeight:x.isBold?600:g,fontSize:d,fontFamily:f,foreColor:Array.isArray(h)?t&&p.config.xaxis.convertedCatToNumeric?h[p.globals.minX+o-1]:h[o]:h,isPlainText:!1,cssClass:(t?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+m});if(n.add(S),t){var k=document.createElementNS(p.globals.SVGNS,"title");k.textContent=Array.isArray(x.text)?x.text.join(" "):x.text,S.node.appendChild(k),""!==x.text&&(c.push(x.text),u.push(x))}}or.globals.gridWidth)){var i=this.offY+r.config.xaxis.axisTicks.offsetY;if(e=e+i+r.config.xaxis.axisTicks.height,"top"===r.config.xaxis.position&&(e=i-r.config.xaxis.axisTicks.height),r.config.xaxis.axisTicks.show){var a=new S(this.ctx).drawLine(t+r.config.xaxis.axisTicks.offsetX,i+r.config.xaxis.offsetY,o+r.config.xaxis.axisTicks.offsetX,e+r.config.xaxis.offsetY,r.config.xaxis.axisTicks.color);n.add(a),a.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var t=this.w,e=[],n=this.xaxisLabels.length,r=t.globals.padHorizontal;if(t.globals.timescaleLabels.length>0)for(var o=0;o0){var c=o[o.length-1].getBBox(),u=o[0].getBBox();c.x<-20&&o[o.length-1].parentNode.removeChild(o[o.length-1]),u.x+u.width>t.globals.gridWidth&&!t.globals.isBarHorizontal&&o[0].parentNode.removeChild(o[0]);for(var p=0;p0&&(this.xaxisLabels=n.globals.timescaleLabels.slice())}return c(t,[{key:"drawGridArea",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.w,n=new S(this.ctx);null===t&&(t=n.group({class:"apexcharts-grid"}));var r=n.drawLine(e.globals.padHorizontal,1,e.globals.padHorizontal,e.globals.gridHeight,"transparent"),o=n.drawLine(e.globals.padHorizontal,e.globals.gridHeight,e.globals.gridWidth,e.globals.gridHeight,"transparent");return t.add(o),t.add(r),t}},{key:"drawGrid",value:function(){var t=null;return this.w.globals.axisCharts&&(t=this.renderGrid(),this.drawGridArea(t.el)),t}},{key:"createGridMask",value:function(){var t=this.w,e=t.globals,n=new S(this.ctx),r=Array.isArray(t.config.stroke.width)?0:t.config.stroke.width;if(Array.isArray(t.config.stroke.width)){var o=0;t.config.stroke.width.forEach((function(t){o=Math.max(o,t)})),r=o}e.dom.elGridRectMask=document.createElementNS(e.SVGNS,"clipPath"),e.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(e.cuid)),e.dom.elGridRectMarkerMask=document.createElementNS(e.SVGNS,"clipPath"),e.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(e.cuid)),e.dom.elForecastMask=document.createElementNS(e.SVGNS,"clipPath"),e.dom.elForecastMask.setAttribute("id","forecastMask".concat(e.cuid)),e.dom.elNonForecastMask=document.createElementNS(e.SVGNS,"clipPath"),e.dom.elNonForecastMask.setAttribute("id","nonForecastMask".concat(e.cuid));var i=t.config.chart.type,a=0,s=0;("bar"===i||"rangeBar"===i||"candlestick"===i||"boxPlot"===i||t.globals.comboBarCount>0)&&t.globals.isXNumeric&&!t.globals.isBarHorizontal&&(a=t.config.grid.padding.left,s=t.config.grid.padding.right,e.barPadForNumericAxis>a&&(a=e.barPadForNumericAxis,s=e.barPadForNumericAxis)),e.dom.elGridRect=n.drawRect(-r/2-a-2,-r/2,e.gridWidth+r+s+a+4,e.gridHeight+r,0,"#fff");var l=t.globals.markers.largestSize+1;e.dom.elGridRectMarker=n.drawRect(2*-l,2*-l,e.gridWidth+4*l,e.gridHeight+4*l,0,"#fff"),e.dom.elGridRectMask.appendChild(e.dom.elGridRect.node),e.dom.elGridRectMarkerMask.appendChild(e.dom.elGridRectMarker.node);var c=e.dom.baseEl.querySelector("defs");c.appendChild(e.dom.elGridRectMask),c.appendChild(e.dom.elForecastMask),c.appendChild(e.dom.elNonForecastMask),c.appendChild(e.dom.elGridRectMarkerMask)}},{key:"_drawGridLines",value:function(t){var e=t.i,n=t.x1,r=t.y1,o=t.x2,i=t.y2,a=t.xCount,s=t.parent,l=this.w;if(!(0===e&&l.globals.skipFirstTimelinelabel||e===a-1&&l.globals.skipLastTimelinelabel&&!l.config.xaxis.labels.formatter||"radar"===l.config.chart.type)){l.config.grid.xaxis.lines.show&&this._drawGridLine({x1:n,y1:r,x2:o,y2:i,parent:s});var c=0;if(l.globals.hasGroups&&"between"===l.config.xaxis.tickPlacement){var u=l.globals.groups;if(u){for(var p=0,d=0;p2));o++);return!t.globals.isBarHorizontal||this.isRangeBar?(n=this.xaxisLabels.length,this.isRangeBar&&(r=t.globals.labels.length,t.config.xaxis.tickAmount&&t.config.xaxis.labels.formatter&&(n=t.config.xaxis.tickAmount)),this._drawXYLines({xCount:n,tickAmount:r})):(n=r,r=t.globals.xTickAmount,this._drawInvertedXYLines({xCount:n,tickAmount:r})),this.drawGridBands(n,r),{el:this.elg,xAxisTickWidth:t.globals.gridWidth/n}}},{key:"drawGridBands",value:function(t,e){var n=this.w;if(void 0!==n.config.grid.row.colors&&n.config.grid.row.colors.length>0)for(var r=0,o=n.globals.gridHeight/e,i=n.globals.gridWidth,a=0,s=0;a=n.config.grid.row.colors.length&&(s=0),this._drawGridBandRect({c:s,x1:0,y1:r,x2:i,y2:o,type:"row"}),r+=n.globals.gridHeight/e;if(void 0!==n.config.grid.column.colors&&n.config.grid.column.colors.length>0)for(var l=n.globals.isBarHorizontal||"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric?t:t-1,c=n.globals.padHorizontal,u=n.globals.padHorizontal+n.globals.gridWidth/l,p=n.globals.gridHeight,d=0,f=0;d=n.config.grid.column.colors.length&&(f=0),this._drawGridBandRect({c:f,x1:c,y1:0,x2:u,y2:p,type:"column"}),c+=n.globals.gridWidth/l}}]),t}(),Q=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"niceScale",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,i=this.w,a=Math.abs(e-t);if("dataPoints"===(n=this._adjustTicksForSmallRange(n,r,a))&&(n=i.globals.dataPoints-1),t===Number.MIN_VALUE&&0===e||!b.isNumber(t)&&!b.isNumber(e)||t===Number.MIN_VALUE&&e===-Number.MAX_VALUE){t=0,e=n;var s=this.linearScale(t,e,n);return s}t>e?(console.warn("axis.min cannot be greater than axis.max"),e=t+.1):t===e&&(t=0===t?0:t-.5,e=0===e?2:e+.5);var l=[];a<1&&o&&("candlestick"===i.config.chart.type||"candlestick"===i.config.series[r].type||"boxPlot"===i.config.chart.type||"boxPlot"===i.config.series[r].type||i.globals.isRangeData)&&(e*=1.01);var c=n+1;c<2?c=2:c>2&&(c-=2);var u=a/c,p=Math.floor(b.log10(u)),d=Math.pow(10,p),f=Math.round(u/d);f<1&&(f=1);var h=f*d,g=h*Math.floor(t/h),m=h*Math.ceil(e/h),y=g;if(o&&a>2){for(;l.push(y),!((y+=h)>m););return{result:l,niceMin:l[0],niceMax:l[l.length-1]}}var v=t;(l=[]).push(v);for(var x=Math.abs(e-t)/n,w=0;w<=n;w++)v+=x,l.push(v);return l[l.length-2]>=e&&l.pop(),{result:l,niceMin:l[0],niceMax:l[l.length-1]}}},{key:"linearScale",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3?arguments[3]:void 0,o=Math.abs(e-t);"dataPoints"===(n=this._adjustTicksForSmallRange(n,r,o))&&(n=this.w.globals.dataPoints-1);var i=o/n;n===Number.MAX_VALUE&&(n=10,i=1);for(var a=[],s=t;n>=0;)a.push(s),s+=i,n-=1;return{result:a,niceMin:a[0],niceMax:a[a.length-1]}}},{key:"logarithmicScaleNice",value:function(t,e,n){e<=0&&(e=Math.max(t,n)),t<=0&&(t=Math.min(e,n));for(var r=[],o=Math.ceil(Math.log(e)/Math.log(n)+1),i=Math.floor(Math.log(t)/Math.log(n));i5)r.allSeriesCollapsed=!1,r.yAxisScale[t]=this.logarithmicScale(e,n,i.logBase),r.yAxisScale[t]=i.forceNiceScale?this.logarithmicScaleNice(e,n,i.logBase):this.logarithmicScale(e,n,i.logBase);else if(n!==-Number.MAX_VALUE&&b.isNumber(n))if(r.allSeriesCollapsed=!1,void 0===i.min&&void 0===i.max||i.forceNiceScale){var s=void 0===o.yaxis[t].max&&void 0===o.yaxis[t].min||o.yaxis[t].forceNiceScale;r.yAxisScale[t]=this.niceScale(e,n,i.tickAmount?i.tickAmount:a<5&&a>1?a+1:5,t,s)}else r.yAxisScale[t]=this.linearScale(e,n,i.tickAmount,t);else r.yAxisScale[t]=this.linearScale(0,5,5)}},{key:"setXScale",value:function(t,e){var n=this.w,r=n.globals,o=n.config.xaxis,i=Math.abs(e-t);return e!==-Number.MAX_VALUE&&b.isNumber(e)?r.xAxisScale=this.linearScale(t,e,o.tickAmount?o.tickAmount:i<5&&i>1?i+1:5,0):r.xAxisScale=this.linearScale(0,5,5),r.xAxisScale}},{key:"setMultipleYScales",value:function(){var t=this,e=this.w.globals,n=this.w.config,r=e.minYArr.concat([]),o=e.maxYArr.concat([]),i=[];n.yaxis.forEach((function(e,a){var s=a;n.series.forEach((function(t,n){t.name===e.seriesName&&(s=n,a!==n?i.push({index:n,similarIndex:a,alreadyExists:!0}):i.push({index:n}))}));var l=r[s],c=o[s];t.setYScaleForIndex(a,l,c)})),this.sameScaleInMultipleAxes(r,o,i)}},{key:"sameScaleInMultipleAxes",value:function(t,e,n){var r=this,o=this.w.config,i=this.w.globals,a=[];n.forEach((function(t){t.alreadyExists&&(void 0===a[t.index]&&(a[t.index]=[]),a[t.index].push(t.index),a[t.index].push(t.similarIndex))})),i.yAxisSameScaleIndices=a,a.forEach((function(t,e){a.forEach((function(n,r){var o,i;e!==r&&(o=t,i=n,o.filter((function(t){return-1!==i.indexOf(t)}))).length>0&&(a[e]=a[e].concat(a[r]))}))}));var s=a.map((function(t){return t.filter((function(e,n){return t.indexOf(e)===n}))})).map((function(t){return t.sort()}));a=a.filter((function(t){return!!t}));var l=s.slice(),c=l.map((function(t){return JSON.stringify(t)}));l=l.filter((function(t,e){return c.indexOf(JSON.stringify(t))===e}));var u=[],p=[];t.forEach((function(t,n){l.forEach((function(r,o){r.indexOf(n)>-1&&(void 0===u[o]&&(u[o]=[],p[o]=[]),u[o].push({key:n,value:t}),p[o].push({key:n,value:e[n]}))}))}));var d=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach((function(t,e){t.forEach((function(t,n){d[e]=Math.min(t.value,d[e])}))})),p.forEach((function(t,e){t.forEach((function(t,n){f[e]=Math.max(t.value,f[e])}))})),t.forEach((function(t,e){p.forEach((function(t,n){var a=d[n],s=f[n];o.chart.stacked&&(s=0,t.forEach((function(t,e){t.value!==-Number.MAX_VALUE&&(s+=t.value),a!==Number.MIN_VALUE&&(a+=u[n][e].value)}))),t.forEach((function(n,l){t[l].key===e&&(void 0!==o.yaxis[e].min&&(a="function"==typeof o.yaxis[e].min?o.yaxis[e].min(i.minY):o.yaxis[e].min),void 0!==o.yaxis[e].max&&(s="function"==typeof o.yaxis[e].max?o.yaxis[e].max(i.maxY):o.yaxis[e].max),r.setYScaleForIndex(e,a,s))}))}))}))}},{key:"autoScaleY",value:function(t,e,n){t||(t=this);var r=t.w;if(r.globals.isMultipleYAxis||r.globals.collapsedSeries.length)return console.warn("autoScaleYaxis is not supported in a multi-yaxis chart."),e;var o=r.globals.seriesX[0],i=r.config.chart.stacked;return e.forEach((function(t,a){for(var s=0,l=0;l=n.xaxis.min){s=l;break}var c,u,p=r.globals.minYArr[a],d=r.globals.maxYArr[a],f=r.globals.stackedSeriesTotals;r.globals.series.forEach((function(a,l){var h=a[s];i?(h=f[s],c=u=h,f.forEach((function(t,e){o[e]<=n.xaxis.max&&o[e]>=n.xaxis.min&&(t>u&&null!==t&&(u=t),a[e]=n.xaxis.min){var i=t,a=t;r.globals.series.forEach((function(n,r){null!==t&&(i=Math.min(n[e],i),a=Math.max(n[e],a))})),a>u&&null!==a&&(u=a),ip&&(c=p),e.length>1?(e[l].min=void 0===t.min?c:t.min,e[l].max=void 0===t.max?u:t.max):(e[0].min=void 0===t.min?c:t.min,e[0].max=void 0===t.max?u:t.max)}))})),e}}]),t}(),J=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.scales=new Q(e)}return c(t,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.w.config,i=this.w.globals,a=-Number.MAX_VALUE,s=Number.MIN_VALUE;null===r&&(r=t+1);var l=i.series,c=l,u=l;"candlestick"===o.chart.type?(c=i.seriesCandleL,u=i.seriesCandleH):"boxPlot"===o.chart.type?(c=i.seriesCandleO,u=i.seriesCandleC):i.isRangeData&&(c=i.seriesRangeStart,u=i.seriesRangeEnd);for(var p=t;pc[p][d]&&c[p][d]<0&&(s=c[p][d])):i.hasNullValues=!0}}return"rangeBar"===o.chart.type&&i.seriesRangeStart.length&&i.isBarHorizontal&&(s=e),"bar"===o.chart.type&&(s<0&&a<0&&(a=0),s===Number.MIN_VALUE&&(s=0)),{minY:s,maxY:a,lowestY:e,highestY:n}}},{key:"setYRange",value:function(){var t=this.w.globals,e=this.w.config;t.maxY=-Number.MAX_VALUE,t.minY=Number.MIN_VALUE;var n=Number.MAX_VALUE;if(t.isMultipleYAxis)for(var r=0;r=0&&n<=10||void 0!==e.yaxis[0].min||void 0!==e.yaxis[0].max)&&(a=0),t.minY=n-5*a/100,n>0&&t.minY<0&&(t.minY=0),t.maxY=t.maxY+5*a/100}return e.yaxis.forEach((function(e,n){void 0!==e.max&&("number"==typeof e.max?t.maxYArr[n]=e.max:"function"==typeof e.max&&(t.maxYArr[n]=e.max(t.isMultipleYAxis?t.maxYArr[n]:t.maxY)),t.maxY=t.maxYArr[n]),void 0!==e.min&&("number"==typeof e.min?t.minYArr[n]=e.min:"function"==typeof e.min&&(t.minYArr[n]=e.min(t.isMultipleYAxis?t.minYArr[n]===Number.MIN_VALUE?0:t.minYArr[n]:t.minY)),t.minY=t.minYArr[n])})),t.isBarHorizontal&&["min","max"].forEach((function(n){void 0!==e.xaxis[n]&&"number"==typeof e.xaxis[n]&&("min"===n?t.minY=e.xaxis[n]:t.maxY=e.xaxis[n])})),t.isMultipleYAxis?(this.scales.setMultipleYScales(),t.minY=n,t.yAxisScale.forEach((function(e,n){t.minYArr[n]=e.niceMin,t.maxYArr[n]=e.niceMax}))):(this.scales.setYScaleForIndex(0,t.minY,t.maxY),t.minY=t.yAxisScale[0].niceMin,t.maxY=t.yAxisScale[0].niceMax,t.minYArr[0]=t.yAxisScale[0].niceMin,t.maxYArr[0]=t.yAxisScale[0].niceMax),{minY:t.minY,maxY:t.maxY,minYArr:t.minYArr,maxYArr:t.maxYArr,yAxisScale:t.yAxisScale}}},{key:"setXRange",value:function(){var t=this.w.globals,e=this.w.config,n="numeric"===e.xaxis.type||"datetime"===e.xaxis.type||"category"===e.xaxis.type&&!t.noLabelsProvided||t.noLabelsProvided||t.isXNumeric;if(t.isXNumeric&&function(){for(var e=0;et.dataPoints&&0!==t.dataPoints&&(r=t.dataPoints-1)):"dataPoints"===e.xaxis.tickAmount?(t.series.length>1&&(r=t.series[t.maxValsInArrayIndex].length-1),t.isXNumeric&&(r=t.maxX-t.minX-1)):r=e.xaxis.tickAmount,t.xTickAmount=r,void 0!==e.xaxis.max&&"number"==typeof e.xaxis.max&&(t.maxX=e.xaxis.max),void 0!==e.xaxis.min&&"number"==typeof e.xaxis.min&&(t.minX=e.xaxis.min),void 0!==e.xaxis.range&&(t.minX=t.maxX-e.xaxis.range),t.minX!==Number.MAX_VALUE&&t.maxX!==-Number.MAX_VALUE)if(e.xaxis.convertedCatToNumeric&&!t.dataFormatXNumeric){for(var o=[],i=t.minX-1;i0&&(t.xAxisScale=this.scales.linearScale(1,t.labels.length,r-1),t.seriesX=t.labels.slice());n&&(t.labels=t.xAxisScale.result.slice())}return t.isBarHorizontal&&t.labels.length&&(t.xTickAmount=t.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:t.minX,maxX:t.maxX}}},{key:"setZRange",value:function(){var t=this.w.globals;if(t.isDataXYZ)for(var e=0;e0){var o=e-r[n-1];o>0&&(t.minXDiff=Math.min(o,t.minXDiff))}})),1!==t.dataPoints&&t.minXDiff!==Number.MAX_VALUE||(t.minXDiff=.5)}))}},{key:"_setStackedMinMax",value:function(){var t=this.w.globals,e=[],n=[];if(t.series.length)for(var r=0;r0?o=o+parseFloat(t.series[a][r])+1e-4:i+=parseFloat(t.series[a][r])),a===t.series.length-1&&(e.push(o),n.push(i));for(var s=0;s=0;y--)m(y);if(void 0!==n.config.yaxis[t].title.text){var v=r.group({class:"apexcharts-yaxis-title"}),b=0;n.config.yaxis[t].opposite&&(b=n.globals.translateYAxisX[t]);var x=r.drawText({x:b,y:n.globals.gridHeight/2+n.globals.translateY+n.config.yaxis[t].title.offsetY,text:n.config.yaxis[t].title.text,textAnchor:"end",foreColor:n.config.yaxis[t].title.style.color,fontSize:n.config.yaxis[t].title.style.fontSize,fontWeight:n.config.yaxis[t].title.style.fontWeight,fontFamily:n.config.yaxis[t].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[t].title.style.cssClass});v.add(x),l.add(v)}var w=n.config.yaxis[t].axisBorder,k=31+w.offsetX;if(n.config.yaxis[t].opposite&&(k=-31-w.offsetX),w.show){var C=r.drawLine(k,n.globals.translateY+w.offsetY-2,k,n.globals.gridHeight+n.globals.translateY+w.offsetY+2,w.color,0,w.width);l.add(C)}return n.config.yaxis[t].axisTicks.show&&this.axesUtils.drawYAxisTicks(k,u,w,n.config.yaxis[t].axisTicks,t,p,l),l}},{key:"drawYaxisInversed",value:function(t){var e=this.w,n=new S(this.ctx),r=n.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),o=n.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});r.add(o);var i=e.globals.yAxisScale[t].result.length-1,a=e.globals.gridWidth/i+.1,s=a+e.config.xaxis.labels.offsetX,l=e.globals.xLabelFormatter,c=e.globals.yAxisScale[t].result.slice(),u=e.globals.timescaleLabels;u.length>0&&(this.xaxisLabels=u.slice(),i=(c=u.slice()).length),c=this.axesUtils.checkForReversedLabels(t,c);var p=u.length;if(e.config.xaxis.labels.show)for(var d=p?0:i;p?d=0;p?d++:d--){var f=c[d];f=l(f,d,e);var h=e.globals.gridWidth+e.globals.padHorizontal-(s-a+e.config.xaxis.labels.offsetX);if(u.length){var g=this.axesUtils.getLabel(c,u,h,d,this.drawnLabels,this.xaxisFontSize);h=g.x,f=g.text,this.drawnLabels.push(g.text),0===d&&e.globals.skipFirstTimelinelabel&&(f=""),d===c.length-1&&e.globals.skipLastTimelinelabel&&(f="")}var m=n.drawText({x:h,y:this.xAxisoffX+e.config.xaxis.labels.offsetY+30-("top"===e.config.xaxis.position?e.globals.xAxisHeight+e.config.xaxis.axisTicks.height-2:0),text:f,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[t]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:e.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label "+e.config.xaxis.labels.style.cssClass});o.add(m),m.tspan(f);var y=document.createElementNS(e.globals.SVGNS,"title");y.textContent=f,m.node.appendChild(y),s+=a}return this.inversedYAxisTitleText(r),this.inversedYAxisBorder(r),r}},{key:"inversedYAxisBorder",value:function(t){var e=this.w,n=new S(this.ctx),r=e.config.xaxis.axisBorder;if(r.show){var o=0;"bar"===e.config.chart.type&&e.globals.isXNumeric&&(o-=15);var i=n.drawLine(e.globals.padHorizontal+o+r.offsetX,this.xAxisoffX,e.globals.gridWidth,this.xAxisoffX,r.color,0,r.height);t.add(i)}}},{key:"inversedYAxisTitleText",value:function(t){var e=this.w,n=new S(this.ctx);if(void 0!==e.config.xaxis.title.text){var r=n.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),o=n.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(e.config.xaxis.title.style.fontSize)+e.config.xaxis.title.offsetY+20,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});r.add(o),t.add(r)}}},{key:"yAxisTitleRotate",value:function(t,e){var n=this.w,r=new S(this.ctx),o={width:0,height:0},i={width:0,height:0},a=n.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(t,"'] .apexcharts-yaxis-texts-g"));null!==a&&(o=a.getBoundingClientRect());var s=n.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(t,"'] .apexcharts-yaxis-title text"));if(null!==s&&(i=s.getBoundingClientRect()),null!==s){var l=this.xPaddingForYAxisTitle(t,o,i,e);s.setAttribute("x",l.xPos-(e?10:0))}if(null!==s){var c=r.rotateAroundCenter(s);s.setAttribute("transform","rotate(".concat(e?-1*n.config.yaxis[t].title.rotate:n.config.yaxis[t].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(t,e,n,r){var o=this.w,i=0,a=0,s=10;return void 0===o.config.yaxis[t].title.text||t<0?{xPos:a,padd:0}:(r?(a=e.width+o.config.yaxis[t].title.offsetX+n.width/2+s/2,0===(i+=1)&&(a-=s/2)):(a=-1*e.width+o.config.yaxis[t].title.offsetX+s/2+n.width/2,o.globals.isBarHorizontal&&(s=25,a=-1*e.width-o.config.yaxis[t].title.offsetX-s)),{xPos:a,padd:s})}},{key:"setYAxisXPosition",value:function(t,e){var n=this.w,r=0,o=0,i=18,a=1;n.config.yaxis.length>1&&(this.multipleYs=!0),n.config.yaxis.map((function(s,l){var c=n.globals.ignoreYAxisIndexes.indexOf(l)>-1||!s.show||s.floating||0===t[l].width,u=t[l].width+e[l].width;s.opposite?n.globals.isBarHorizontal?(o=n.globals.gridWidth+n.globals.translateX-1,n.globals.translateYAxisX[l]=o-s.labels.offsetX):(o=n.globals.gridWidth+n.globals.translateX+a,c||(a=a+u+20),n.globals.translateYAxisX[l]=o-s.labels.offsetX+20):(r=n.globals.translateX-i,c||(i=i+u+20),n.globals.translateYAxisX[l]=r+s.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var t=this.w,e=t.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis");(e=b.listToArray(e)).forEach((function(e,n){var r=t.config.yaxis[n];if(r&&void 0!==r.labels.align){var o=t.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-texts-g")),i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(n,"'] .apexcharts-yaxis-label"));i=b.listToArray(i);var a=o.getBoundingClientRect();"left"===r.labels.align?(i.forEach((function(t,e){t.setAttribute("text-anchor","start")})),r.opposite||o.setAttribute("transform","translate(-".concat(a.width,", 0)"))):"center"===r.labels.align?(i.forEach((function(t,e){t.setAttribute("text-anchor","middle")})),o.setAttribute("transform","translate(".concat(a.width/2*(r.opposite?1:-1),", 0)"))):"right"===r.labels.align&&(i.forEach((function(t,e){t.setAttribute("text-anchor","end")})),r.opposite&&o.setAttribute("transform","translate(".concat(a.width,", 0)")))}}))}}]),t}(),tt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.documentEvent=b.bind(this.documentEvent,this)}return c(t,[{key:"addEventListener",value:function(t,e){var n=this.w;n.globals.events.hasOwnProperty(t)?n.globals.events[t].push(e):n.globals.events[t]=[e]}},{key:"removeEventListener",value:function(t,e){var n=this.w;if(n.globals.events.hasOwnProperty(t)){var r=n.globals.events[t].indexOf(e);-1!==r&&n.globals.events[t].splice(r,1)}}},{key:"fireEvent",value:function(t,e){var n=this.w;if(n.globals.events.hasOwnProperty(t)){e&&e.length||(e=[]);for(var r=n.globals.events[t],o=r.length,i=0;i0&&(e=this.w.config.chart.locales.concat(window.Apex.chart.locales));var n=e.filter((function(e){return e.name===t}))[0];if(!n)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var r=b.extend(O,n);this.w.globals.locale=r.options}}]),t}(),nt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"drawAxis",value:function(t,e){var n,r,o=this.w.globals,i=this.w.config,a=new q(this.ctx),s=new $(this.ctx);o.axisCharts&&"radar"!==t&&(o.isBarHorizontal?(r=s.drawYaxisInversed(0),n=a.drawXaxisInversed(0),o.dom.elGraphical.add(n),o.dom.elGraphical.add(r)):(n=a.drawXaxis(),o.dom.elGraphical.add(n),i.yaxis.map((function(t,e){-1===o.ignoreYAxisIndexes.indexOf(e)&&(r=s.drawYaxis(e),o.dom.Paper.add(r))}))))}}]),t}(),rt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"drawXCrosshairs",value:function(){var t=this.w,e=new S(this.ctx),n=new w(this.ctx),r=t.config.xaxis.crosshairs.fill.gradient,o=t.config.xaxis.crosshairs.dropShadow,i=t.config.xaxis.crosshairs.fill.type,a=r.colorFrom,s=r.colorTo,l=r.opacityFrom,c=r.opacityTo,u=r.stops,p=o.enabled,d=o.left,f=o.top,h=o.blur,g=o.color,m=o.opacity,y=t.config.xaxis.crosshairs.fill.color;if(t.config.xaxis.crosshairs.show){"gradient"===i&&(y=e.drawGradient("vertical",a,s,l,c,null,u,null));var v=e.drawRect();1===t.config.xaxis.crosshairs.width&&(v=e.drawLine());var x=t.globals.gridHeight;(!b.isNumber(x)||x<0)&&(x=0);var k=t.config.xaxis.crosshairs.width;(!b.isNumber(k)||k<0)&&(k=0),v.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:x,width:k,height:x,fill:y,filter:"none","fill-opacity":t.config.xaxis.crosshairs.opacity,stroke:t.config.xaxis.crosshairs.stroke.color,"stroke-width":t.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":t.config.xaxis.crosshairs.stroke.dashArray}),p&&(v=n.dropShadow(v,{left:d,top:f,blur:h,color:g,opacity:m})),t.globals.dom.elGraphical.add(v)}}},{key:"drawYCrosshairs",value:function(){var t=this.w,e=new S(this.ctx),n=t.config.yaxis[0].crosshairs,r=t.globals.barPadForNumericAxis;if(t.config.yaxis[0].crosshairs.show){var o=e.drawLine(-r,0,t.globals.gridWidth+r,0,n.stroke.color,n.stroke.dashArray,n.stroke.width);o.attr({class:"apexcharts-ycrosshairs"}),t.globals.dom.elGraphical.add(o)}var i=e.drawLine(-r,0,t.globals.gridWidth+r,0,n.stroke.color,0,0);i.attr({class:"apexcharts-ycrosshairs-hidden"}),t.globals.dom.elGraphical.add(i)}}]),t}(),ot=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"checkResponsiveConfig",value:function(t){var e=this,n=this.w,r=n.config;if(0!==r.responsive.length){var o=r.responsive.slice();o.sort((function(t,e){return t.breakpoint>e.breakpoint?1:e.breakpoint>t.breakpoint?-1:0})).reverse();var i=new U({}),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o[0].breakpoint,a=window.innerWidth>0?window.innerWidth:screen.width;if(a>r){var s=k.extendArrayProps(i,n.globals.initialConfig,n);t=b.extend(s,t),t=b.extend(n.config,t),e.overrideResponsiveOptions(t)}else for(var l=0;l0&&"function"==typeof e.config.colors[0]&&(e.globals.colors=e.config.series.map((function(n,r){var o=e.config.colors[r];return o||(o=e.config.colors[0]),"function"==typeof o?(t.isColorFn=!0,o({value:e.globals.axisCharts?e.globals.series[r][0]?e.globals.series[r][0]:0:e.globals.series[r],seriesIndex:r,dataPointIndex:r,w:e})):o})))),e.globals.seriesColors.map((function(t,n){t&&(e.globals.colors[n]=t)})),e.config.theme.monochrome.enabled){var r=[],o=e.globals.series.length;(this.isBarDistributed||this.isHeatmapDistributed)&&(o=e.globals.series[0].length*e.globals.series.length);for(var i=e.config.theme.monochrome.color,a=1/(o/e.config.theme.monochrome.shadeIntensity),s=e.config.theme.monochrome.shadeTo,l=0,c=0;c2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,o=e||r.globals.series.length;if(null===n&&(n=this.isBarDistributed||this.isHeatmapDistributed||"heatmap"===r.config.chart.type&&r.config.plotOptions.heatmap.colorScale.inverse),n&&r.globals.series.length&&(o=r.globals.series[r.globals.maxValsInArrayIndex].length*r.globals.series.length),t.lengtht.globals.svgWidth&&(this.dCtx.lgRect.width=t.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getLargestStringFromMultiArr",value:function(t,e){var n=t;if(this.w.globals.isMultiLineX){var r=e.map((function(t,e){return Array.isArray(t)?t.length:1})),o=Math.max.apply(Math,m(r));n=e[r.indexOf(o)]}return n}}]),t}(),lt=function(){function t(e){s(this,t),this.w=e.w,this.dCtx=e}return c(t,[{key:"getxAxisLabelsCoords",value:function(){var t,e=this.w,n=e.globals.labels.slice();if(e.config.xaxis.convertedCatToNumeric&&0===n.length&&(n=e.globals.categoryLabels),e.globals.timescaleLabels.length>0){var r=this.getxAxisTimeScaleLabelsCoords();t={width:r.width,height:r.height},e.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends="left"!==e.config.legend.position&&"right"!==e.config.legend.position||e.config.legend.floating?0:this.dCtx.lgRect.width;var o=e.globals.xLabelFormatter,i=b.getLargestStringFromArr(n),a=this.dCtx.dimHelpers.getLargestStringFromMultiArr(i,n);e.globals.isBarHorizontal&&(a=i=e.globals.yAxisScale[0].result.reduce((function(t,e){return t.length>e.length?t:e}),0));var s=new K(this.dCtx.ctx),l=i;i=s.xLabelFormat(o,i,l,{i:void 0,dateFormatter:new B(this.dCtx.ctx).formatDate,w:e}),a=s.xLabelFormat(o,a,l,{i:void 0,dateFormatter:new B(this.dCtx.ctx).formatDate,w:e}),(e.config.xaxis.convertedCatToNumeric&&void 0===i||""===String(i).trim())&&(a=i="1");var c=new S(this.dCtx.ctx),u=c.getTextRects(i,e.config.xaxis.labels.style.fontSize),p=u;if(i!==a&&(p=c.getTextRects(a,e.config.xaxis.labels.style.fontSize)),(t={width:u.width>=p.width?u.width:p.width,height:u.height>=p.height?u.height:p.height}).width*n.length>e.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&0!==e.config.xaxis.labels.rotate||e.config.xaxis.labels.rotateAlways){if(!e.globals.isBarHorizontal){e.globals.rotateXLabels=!0;var d=function(t){return c.getTextRects(t,e.config.xaxis.labels.style.fontSize,e.config.xaxis.labels.style.fontFamily,"rotate(".concat(e.config.xaxis.labels.rotate," 0 0)"),!1)};u=d(i),i!==a&&(p=d(a)),t.height=(u.height>p.height?u.height:p.height)/1.5,t.width=u.width>p.width?u.width:p.width}}else e.globals.rotateXLabels=!1}return e.config.xaxis.labels.show||(t={width:0,height:0}),{width:t.width,height:t.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var t,e=this.w;if(!e.globals.hasGroups)return{width:0,height:0};var n,r=(null===(t=e.config.xaxis.group.style)||void 0===t?void 0:t.fontSize)||e.config.xaxis.labels.style.fontSize,o=e.globals.groups.map((function(t){return t.title})),i=b.getLargestStringFromArr(o),a=this.dCtx.dimHelpers.getLargestStringFromMultiArr(i,o),s=new S(this.dCtx.ctx),l=s.getTextRects(i,r),c=l;return i!==a&&(c=s.getTextRects(a,r)),n={width:l.width>=c.width?l.width:c.width,height:l.height>=c.height?l.height:c.height},e.config.xaxis.labels.show||(n={width:0,height:0}),{width:n.width,height:n.height}}},{key:"getxAxisTitleCoords",value:function(){var t=this.w,e=0,n=0;if(void 0!==t.config.xaxis.title.text){var r=new S(this.dCtx.ctx).getTextRects(t.config.xaxis.title.text,t.config.xaxis.title.style.fontSize);e=r.width,n=r.height}return{width:e,height:n}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var t,e=this.w;this.dCtx.timescaleLabels=e.globals.timescaleLabels.slice();var n=this.dCtx.timescaleLabels.map((function(t){return t.value})),r=n.reduce((function(t,e){return void 0===t?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):t.length>e.length?t:e}),0);return 1.05*(t=new S(this.dCtx.ctx).getTextRects(r,e.config.xaxis.labels.style.fontSize)).width*n.length>e.globals.gridWidth&&0!==e.config.xaxis.labels.rotate&&(e.globals.overlappingXLabels=!0),t}},{key:"additionalPaddingXLabels",value:function(t){var e=this,n=this.w,r=n.globals,o=n.config,i=o.xaxis.type,a=t.width;r.skipLastTimelinelabel=!1,r.skipFirstTimelinelabel=!1;var s=n.config.yaxis[0].opposite&&n.globals.isBarHorizontal,l=function(t,s){(function(t){return-1!==r.collapsedSeriesIndices.indexOf(t)})(s)||function(t){if(e.dCtx.timescaleLabels&&e.dCtx.timescaleLabels.length){var s=e.dCtx.timescaleLabels[0],l=e.dCtx.timescaleLabels[e.dCtx.timescaleLabels.length-1].position+a/1.75-e.dCtx.yAxisWidthRight,c=s.position-a/1.75+e.dCtx.yAxisWidthLeft,u="right"===n.config.legend.position&&e.dCtx.lgRect.width>0?e.dCtx.lgRect.width:0;l>r.svgWidth-r.translateX-u&&(r.skipLastTimelinelabel=!0),c<-(t.show&&!t.floating||"bar"!==o.chart.type&&"candlestick"!==o.chart.type&&"rangeBar"!==o.chart.type&&"boxPlot"!==o.chart.type?10:a/1.75)&&(r.skipFirstTimelinelabel=!0)}else"datetime"===i?e.dCtx.gridPad.rightString(s.niceMax).length?u:s.niceMax,d=c(p,{seriesIndex:a,dataPointIndex:-1,w:e}),f=d;if(void 0!==d&&0!==d.length||(d=p),e.globals.isBarHorizontal){r=0;var h=e.globals.labels.slice();d=c(d=b.getLargestStringFromArr(h),{seriesIndex:a,dataPointIndex:-1,w:e}),f=t.dCtx.dimHelpers.getLargestStringFromMultiArr(d,h)}var g=new S(t.dCtx.ctx),m="rotate(".concat(i.labels.rotate," 0 0)"),y=g.getTextRects(d,i.labels.style.fontSize,i.labels.style.fontFamily,m,!1),v=y;d!==f&&(v=g.getTextRects(f,i.labels.style.fontSize,i.labels.style.fontFamily,m,!1)),n.push({width:(l>v.width||l>y.width?l:v.width>y.width?v.width:y.width)+r,height:v.height>y.height?v.height:y.height})}else n.push({width:0,height:0})})),n}},{key:"getyAxisTitleCoords",value:function(){var t=this,e=this.w,n=[];return e.config.yaxis.map((function(e,r){if(e.show&&void 0!==e.title.text){var o=new S(t.dCtx.ctx),i="rotate(".concat(e.title.rotate," 0 0)"),a=o.getTextRects(e.title.text,e.title.style.fontSize,e.title.style.fontFamily,i,!1);n.push({width:a.width,height:a.height})}else n.push({width:0,height:0})})),n}},{key:"getTotalYAxisWidth",value:function(){var t=this.w,e=0,n=0,r=0,o=t.globals.yAxisScale.length>1?10:0,i=new X(this.dCtx.ctx),a=function(a,s){var l=t.config.yaxis[s].floating,c=0;a.width>0&&!l?(c=a.width+o,function(e){return t.globals.ignoreYAxisIndexes.indexOf(e)>-1}(s)&&(c=c-a.width-o)):c=l||i.isYAxisHidden(s)?0:5,t.config.yaxis[s].opposite?r+=c:n+=c,e+=c};return t.globals.yLabelsCoords.map((function(t,e){a(t,e)})),t.globals.yTitleCoords.map((function(t,e){a(t,e)})),t.globals.isBarHorizontal&&!t.config.yaxis[0].floating&&(e=t.globals.yLabelsCoords[0].width+t.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=n,this.dCtx.yAxisWidthRight=r,e}}]),t}(),ut=function(){function t(e){s(this,t),this.w=e.w,this.dCtx=e}return c(t,[{key:"gridPadForColumnsInNumericAxis",value:function(t){var e=this.w;if(e.globals.noData||e.globals.allSeriesCollapsed)return 0;var n=function(t){return"bar"===t||"rangeBar"===t||"candlestick"===t||"boxPlot"===t},r=e.config.chart.type,o=0,i=n(r)?e.config.series.length:1;if(e.globals.comboBarCount>0&&(i=e.globals.comboBarCount),e.globals.collapsedSeries.forEach((function(t){n(t.type)&&(i-=1)})),e.config.chart.stacked&&(i=1),(n(r)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&i>0){var a,s,l=Math.abs(e.globals.initialMaxX-e.globals.initialMinX);l<=3&&(l=e.globals.dataPoints),a=l/t,e.globals.minXDiff&&e.globals.minXDiff/a>0&&(s=e.globals.minXDiff/a),s>t/2&&(s/=2),(o=s/i*parseInt(e.config.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),o=o/(i>1?1:1.5)+5,e.globals.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var t=this,e=this.w,n=e.globals,r=this.dCtx.isSparkline||!e.globals.axisCharts?0:10;["title","subtitle"].forEach((function(n){void 0!==e.config[n].text?r+=e.config[n].margin:r+=t.dCtx.isSparkline||!e.globals.axisCharts?0:5})),!e.config.legend.show||"bottom"!==e.config.legend.position||e.config.legend.floating||e.globals.axisCharts||(r+=10);var o=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),i=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");n.gridHeight=n.gridHeight-o.height-i.height-r,n.translateY=n.translateY+o.height+i.height+r}},{key:"setGridXPosForDualYAxis",value:function(t,e){var n=this.w,r=new X(this.dCtx.ctx);n.config.yaxis.map((function(o,i){-1!==n.globals.ignoreYAxisIndexes.indexOf(i)||o.floating||r.isYAxisHidden(i)||(o.opposite&&(n.globals.translateX=n.globals.translateX-(e[i].width+t[i].width)-parseInt(n.config.yaxis[i].labels.style.fontSize,10)/1.2-12),n.globals.translateX<2&&(n.globals.translateX=2))}))}}]),t}(),pt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new st(this),this.dimYAxis=new ct(this),this.dimXAxis=new lt(this),this.dimGrid=new ut(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return c(t,[{key:"plotCoords",value:function(){var t=this,e=this.w,n=e.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.isSparkline&&(e.config.markers.discrete.length>0||e.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(e){var n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t)||y(t,2)||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),r=n[0],o=n[1];t.gridPad[r]=Math.max(o,t.w.globals.markers.largestSize/1.5)})),n.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),n.gridHeight=n.gridHeight-this.gridPad.top-this.gridPad.bottom,n.gridWidth=n.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(n.gridWidth);n.gridWidth=n.gridWidth-2*r,n.translateX=n.translateX+this.gridPad.left+this.xPadLeft+(r>0?r+4:0),n.translateY=n.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var t=this,e=this.w,n=e.globals,r=this.dimYAxis.getyAxisLabelsCoords(),o=this.dimYAxis.getyAxisTitleCoords();e.globals.yLabelsCoords=[],e.globals.yTitleCoords=[],e.config.yaxis.map((function(t,n){e.globals.yLabelsCoords.push({width:r[n].width,index:n}),e.globals.yTitleCoords.push({width:o[n].width,index:n})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var i=this.dimXAxis.getxAxisLabelsCoords(),a=this.dimXAxis.getxAxisGroupLabelsCoords(),s=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(i,s,a),n.translateXAxisY=e.globals.rotateXLabels?this.xAxisHeight/8:-4,n.translateXAxisX=e.globals.rotateXLabels&&e.globals.isXNumeric&&e.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,e.globals.isBarHorizontal&&(n.rotateXLabels=!1,n.translateXAxisY=parseInt(e.config.xaxis.labels.style.fontSize,10)/1.5*-1),n.translateXAxisY=n.translateXAxisY+e.config.xaxis.labels.offsetY,n.translateXAxisX=n.translateXAxisX+e.config.xaxis.labels.offsetX;var l=this.yAxisWidth,c=this.xAxisHeight;n.xAxisLabelsHeight=this.xAxisHeight-s.height,n.xAxisGroupLabelsHeight=n.xAxisLabelsHeight-i.height,n.xAxisLabelsWidth=this.xAxisWidth,n.xAxisHeight=this.xAxisHeight;var u=10;("radar"===e.config.chart.type||this.isSparkline)&&(l=0,c=n.goldenPadding),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||"treemap"===e.config.chart.type)&&(l=0,c=0,u=0),this.isSparkline||this.dimXAxis.additionalPaddingXLabels(i);var p=function(){n.translateX=l,n.gridHeight=n.svgHeight-t.lgRect.height-c-(t.isSparkline||"treemap"===e.config.chart.type?0:e.globals.rotateXLabels?10:15),n.gridWidth=n.svgWidth-l};switch("top"===e.config.xaxis.position&&(u=n.xAxisHeight-e.config.xaxis.axisTicks.height-5),e.config.legend.position){case"bottom":n.translateY=u,p();break;case"top":n.translateY=this.lgRect.height+u,p();break;case"left":n.translateY=u,n.translateX=this.lgRect.width+l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l;break;case"right":n.translateY=u,n.translateX=l,n.gridHeight=n.svgHeight-c-12,n.gridWidth=n.svgWidth-this.lgRect.width-l-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(o,r),new $(this.ctx).setYAxisXPosition(r,o)}},{key:"setDimensionsForNonAxisCharts",value:function(){var t=this.w,e=t.globals,n=t.config,r=0;t.config.legend.show&&!t.config.legend.floating&&(r=20);var o="pie"===n.chart.type||"polarArea"===n.chart.type||"donut"===n.chart.type?"pie":"radialBar",i=n.plotOptions[o].offsetY,a=n.plotOptions[o].offsetX;if(!n.legend.show||n.legend.floating)return e.gridHeight=e.svgHeight-n.grid.padding.left+n.grid.padding.right,e.gridWidth=e.gridHeight,e.translateY=i,void(e.translateX=a+(e.svgWidth-e.gridWidth)/2);switch(n.legend.position){case"bottom":e.gridHeight=e.svgHeight-this.lgRect.height-e.goldenPadding,e.gridWidth=e.svgWidth,e.translateY=i-10,e.translateX=a+(e.svgWidth-e.gridWidth)/2;break;case"top":e.gridHeight=e.svgHeight-this.lgRect.height-e.goldenPadding,e.gridWidth=e.svgWidth,e.translateY=this.lgRect.height+i+10,e.translateX=a+(e.svgWidth-e.gridWidth)/2;break;case"left":e.gridWidth=e.svgWidth-this.lgRect.width-r,e.gridHeight="auto"!==n.chart.height?e.svgHeight:e.gridWidth,e.translateY=i,e.translateX=a+this.lgRect.width+r;break;case"right":e.gridWidth=e.svgWidth-this.lgRect.width-r-5,e.gridHeight="auto"!==n.chart.height?e.svgHeight:e.gridWidth,e.translateY=i,e.translateX=a+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(t,e,n){var r=this.w,o=r.globals.hasGroups?2:1,i=n.height+t.height+e.height,a=r.globals.isMultiLineX?1.2:r.globals.LINE_HEIGHT_RATIO,s=r.globals.rotateXLabels?22:10,l=r.globals.rotateXLabels&&"bottom"===r.config.legend.position?10:0;this.xAxisHeight=i*a+o*s+l,this.xAxisWidth=t.width,this.xAxisHeight-e.height>r.config.xaxis.labels.maxHeight&&(this.xAxisHeight=r.config.xaxis.labels.maxHeight),r.config.xaxis.labels.minHeight&&this.xAxisHeightu&&(this.yAxisWidth=u)}}]),t}(),dt=function(){function t(e){s(this,t),this.w=e.w,this.lgCtx=e}return c(t,[{key:"getLegendStyles",value:function(){var t=document.createElement("style");t.setAttribute("type","text/css");var e=document.createTextNode("\t\n \t\n .apexcharts-legend {\t\n display: flex;\t\n overflow: auto;\t\n padding: 0 10px;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom, .apexcharts-legend.apx-legend-position-top {\t\n flex-wrap: wrap\t\n }\t\n .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n flex-direction: column;\t\n bottom: 0;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-left, .apexcharts-legend.apx-legend-position-top.apexcharts-align-left, .apexcharts-legend.apx-legend-position-right, .apexcharts-legend.apx-legend-position-left {\t\n justify-content: flex-start;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center, .apexcharts-legend.apx-legend-position-top.apexcharts-align-center {\t\n justify-content: center; \t\n }\t\n .apexcharts-legend.apx-legend-position-bottom.apexcharts-align-right, .apexcharts-legend.apx-legend-position-top.apexcharts-align-right {\t\n justify-content: flex-end;\t\n }\t\n .apexcharts-legend-series {\t\n cursor: pointer;\t\n line-height: normal;\t\n }\t\n .apexcharts-legend.apx-legend-position-bottom .apexcharts-legend-series, .apexcharts-legend.apx-legend-position-top .apexcharts-legend-series{\t\n display: flex;\t\n align-items: center;\t\n }\t\n .apexcharts-legend-text {\t\n position: relative;\t\n font-size: 14px;\t\n }\t\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\t\n pointer-events: none;\t\n }\t\n .apexcharts-legend-marker {\t\n position: relative;\t\n display: inline-block;\t\n cursor: pointer;\t\n margin-right: 3px;\t\n border-style: solid;\n }\t\n \t\n .apexcharts-legend.apexcharts-align-right .apexcharts-legend-series, .apexcharts-legend.apexcharts-align-left .apexcharts-legend-series{\t\n display: inline-block;\t\n }\t\n .apexcharts-legend-series.apexcharts-no-click {\t\n cursor: auto;\t\n }\t\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\t\n display: none !important;\t\n }\t\n .apexcharts-inactive-legend {\t\n opacity: 0.45;\t\n }");return t.appendChild(e),t}},{key:"getLegendBBox",value:function(){var t=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),e=t.width;return{clwh:t.height,clww:e}}},{key:"appendToForeignObject",value:function(){var t=this.w.globals;t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject");var e=t.dom.elLegendForeign;e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("width",t.svgWidth),e.setAttribute("height",t.svgHeight),t.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),e.appendChild(t.dom.elLegendWrap),e.appendChild(this.getLegendStyles()),t.dom.Paper.node.insertBefore(e,t.dom.elGraphical.node)}},{key:"toggleDataSeries",value:function(t,e){var n=this,r=this.w;if(r.globals.axisCharts||"radialBar"===r.config.chart.type){r.globals.resized=!0;var o=null,i=null;r.globals.risingSeries=[],r.globals.axisCharts?(o=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"']")),i=parseInt(o.getAttribute("data:realIndex"),10)):(o=r.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(t+1,"']")),i=parseInt(o.getAttribute("rel"),10)-1),e?[{cs:r.globals.collapsedSeries,csi:r.globals.collapsedSeriesIndices},{cs:r.globals.ancillaryCollapsedSeries,csi:r.globals.ancillaryCollapsedSeriesIndices}].forEach((function(t){n.riseCollapsedSeries(t.cs,t.csi,i)})):this.hideSeries({seriesEl:o,realIndex:i})}else{var a=r.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(t+1,"'] path")),s=r.config.chart.type;if("pie"===s||"polarArea"===s||"donut"===s){var l=r.config.plotOptions.pie.donut.labels;new S(this.lgCtx.ctx).pathMouseDown(a.members[0],null),this.lgCtx.ctx.pie.printDataLabelsInner(a.members[0].node,l)}a.fire("click")}}},{key:"hideSeries",value:function(t){var e=t.seriesEl,n=t.realIndex,r=this.w,o=b.clone(r.config.series);if(r.globals.axisCharts){var i=!1;if(r.config.yaxis[n]&&r.config.yaxis[n].show&&r.config.yaxis[n].showAlways&&(i=!0,r.globals.ancillaryCollapsedSeriesIndices.indexOf(n)<0&&(r.globals.ancillaryCollapsedSeries.push({index:n,data:o[n].data.slice(),type:e.parentNode.className.baseVal.split("-")[1]}),r.globals.ancillaryCollapsedSeriesIndices.push(n))),!i){r.globals.collapsedSeries.push({index:n,data:o[n].data.slice(),type:e.parentNode.className.baseVal.split("-")[1]}),r.globals.collapsedSeriesIndices.push(n);var a=r.globals.risingSeries.indexOf(n);r.globals.risingSeries.splice(a,1)}}else r.globals.collapsedSeries.push({index:n,data:o[n]}),r.globals.collapsedSeriesIndices.push(n);for(var s=e.childNodes,l=0;l0){for(var i=0;i-1&&(t[r].data=[])})):t.forEach((function(n,r){e.globals.collapsedSeriesIndices.indexOf(r)>-1&&(t[r]=0)})),t}}]),t}(),ft=function(){function t(e,n){s(this,t),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed="bar"===this.w.config.chart.type&&this.w.config.plotOptions.bar.distributed&&1===this.w.config.series.length,this.legendHelpers=new dt(this)}return c(t,[{key:"init",value:function(){var t=this.w,e=t.globals,n=t.config;if((n.legend.showForSingleSeries&&1===e.series.length||this.isBarsDistributed||e.series.length>1||!e.axisCharts)&&n.legend.show){for(;e.dom.elLegendWrap.firstChild;)e.dom.elLegendWrap.removeChild(e.dom.elLegendWrap.firstChild);this.drawLegends(),b.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.legendHelpers.getLegendStyles()):this.legendHelpers.appendToForeignObject(),"bottom"===n.legend.position||"top"===n.legend.position?this.legendAlignHorizontal():"right"!==n.legend.position&&"left"!==n.legend.position||this.legendAlignVertical()}}},{key:"drawLegends",value:function(){var t=this,e=this.w,n=e.config.legend.fontFamily,r=e.globals.seriesNames,o=e.globals.colors.slice();if("heatmap"===e.config.chart.type){var i=e.config.plotOptions.heatmap.colorScale.ranges;r=i.map((function(t){return t.name?t.name:t.from+" - "+t.to})),o=i.map((function(t){return t.color}))}else this.isBarsDistributed&&(r=e.globals.labels.slice());e.config.legend.customLegendItems.length&&(r=e.config.legend.customLegendItems);for(var a=e.globals.legendFormatter,s=e.config.legend.inverseOrder,l=s?r.length-1:0;s?l>=0:l<=r.length-1;s?l--:l++){var c=a(r[l],{seriesIndex:l,w:e}),u=!1,p=!1;if(e.globals.collapsedSeries.length>0)for(var d=0;d0)for(var f=0;f0?l-10:0)+(c>0?c-10:0)}r.style.position="absolute",i=i+t+n.config.legend.offsetX,a=a+e+n.config.legend.offsetY,r.style.left=i+"px",r.style.top=a+"px","bottom"===n.config.legend.position?(r.style.top="auto",r.style.bottom=5-n.config.legend.offsetY+"px"):"right"===n.config.legend.position&&(r.style.left="auto",r.style.right=25+n.config.legend.offsetX+"px"),["width","height"].forEach((function(t){r.style[t]&&(r.style[t]=parseInt(n.config.legend[t],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var t=this.w;t.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var e=this.legendHelpers.getLegendBBox(),n=new pt(this.ctx),r=n.dimHelpers.getTitleSubtitleCoords("title"),o=n.dimHelpers.getTitleSubtitleCoords("subtitle"),i=0;"bottom"===t.config.legend.position?i=-e.clwh/1.8:"top"===t.config.legend.position&&(i=r.height+o.height+t.config.title.margin+t.config.subtitle.margin-10),this.setLegendWrapXY(20,i)}},{key:"legendAlignVertical",value:function(){var t=this.w,e=this.legendHelpers.getLegendBBox(),n=0;"left"===t.config.legend.position&&(n=20),"right"===t.config.legend.position&&(n=t.globals.svgWidth-e.clww-10),this.setLegendWrapXY(n,20)}},{key:"onLegendHovered",value:function(t){var e=this.w,n=t.target.classList.contains("apexcharts-legend-text")||t.target.classList.contains("apexcharts-legend-marker");if("heatmap"===e.config.chart.type||this.isBarsDistributed){if(n){var r=parseInt(t.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,r,this.w]),new P(this.ctx).highlightRangeInSeries(t,t.target)}}else!t.target.classList.contains("apexcharts-inactive-legend")&&n&&new P(this.ctx).toggleSeriesOnHover(t,t.target)}},{key:"onLegendClick",value:function(t){var e=this.w;if(!e.config.legend.customLegendItems.length&&(t.target.classList.contains("apexcharts-legend-text")||t.target.classList.contains("apexcharts-legend-marker"))){var n=parseInt(t.target.getAttribute("rel"),10)-1,r="true"===t.target.getAttribute("data:collapsed"),o=this.w.config.chart.events.legendClick;"function"==typeof o&&o(this.ctx,n,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,n,this.w]);var i=this.w.config.legend.markers.onClick;"function"==typeof i&&t.target.classList.contains("apexcharts-legend-marker")&&(i(this.ctx,n,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,n,this.w])),"treemap"!==e.config.chart.type&&"heatmap"!==e.config.chart.type&&!this.isBarsDistributed&&e.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(n,r)}}}]),t}(),ht=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w;var n=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=n.globals.minX,this.maxX=n.globals.maxX}return c(t,[{key:"createToolbar",value:function(){var t=this,e=this.w,n=function(){return document.createElement("div")},r=n();if(r.setAttribute("class","apexcharts-toolbar"),r.style.top=e.config.chart.toolbar.offsetY+"px",r.style.right=3-e.config.chart.toolbar.offsetX+"px",e.globals.dom.elWrap.appendChild(r),this.elZoom=n(),this.elZoomIn=n(),this.elZoomOut=n(),this.elPan=n(),this.elSelection=n(),this.elZoomReset=n(),this.elMenuIcon=n(),this.elMenu=n(),this.elCustomIcons=[],this.t=e.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var o=0;o\n \n \n\n'),a("zoomOut",this.elZoomOut,'\n \n \n\n');var s=function(n){t.t[n]&&e.config.chart[n].enabled&&i.push({el:"zoom"===n?t.elZoom:t.elSelection,icon:"string"==typeof t.t[n]?t.t[n]:"zoom"===n?'\n \n \n \n':'\n \n \n',title:t.localeValues["zoom"===n?"selectionZoom":"selection"],class:e.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-".concat(n,"-icon")})};s("zoom"),s("selection"),this.t.pan&&e.config.chart.zoom.enabled&&i.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'\n \n \n \n \n \n \n \n',title:this.localeValues.pan,class:e.globals.isTouchDevice?"apexcharts-element-hidden":"apexcharts-pan-icon"}),a("reset",this.elZoomReset,'\n \n \n'),this.t.download&&i.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var l=0;l0&&e.height>0&&this.slDraggableRect.selectize({points:"l, r",pointSize:8,pointType:"rect"}).resize({constraint:{minX:0,minY:0,maxX:t.globals.gridWidth,maxY:t.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var t=this.w,e=this.xyRatios;if(!t.globals.zoomEnabled)if(void 0!==t.globals.selection&&null!==t.globals.selection)this.drawSelectionRect(t.globals.selection);else if(void 0!==t.config.chart.selection.xaxis.min&&void 0!==t.config.chart.selection.xaxis.max){var n=(t.config.chart.selection.xaxis.min-t.globals.minX)/e.xRatio,r={x:n,y:0,width:t.globals.gridWidth-(t.globals.maxX-t.config.chart.selection.xaxis.max)/e.xRatio-n,height:t.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(r),this.makeSelectionRectDraggable(),"function"==typeof t.config.chart.events.selection&&t.config.chart.events.selection(this.ctx,{xaxis:{min:t.config.chart.selection.xaxis.min,max:t.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(t){var e=t.x,n=t.y,r=t.width,o=t.height,i=t.translateX,a=void 0===i?0:i,s=t.translateY,l=void 0===s?0:s,c=this.w,u=this.zoomRect,p=this.selectionRect;if(this.dragged||null!==c.globals.selection){var d={transform:"translate("+a+", "+l+")"};c.globals.zoomEnabled&&this.dragged&&(r<0&&(r=1),u.attr({x:e,y:n,width:r,height:o,fill:c.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":c.config.chart.zoom.zoomedArea.fill.opacity,stroke:c.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":c.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":c.config.chart.zoom.zoomedArea.stroke.opacity}),S.setAttrs(u.node,d)),c.globals.selectionEnabled&&(p.attr({x:e,y:n,width:r>0?r:0,height:o>0?o:0,fill:c.config.chart.selection.fill.color,"fill-opacity":c.config.chart.selection.fill.opacity,stroke:c.config.chart.selection.stroke.color,"stroke-width":c.config.chart.selection.stroke.width,"stroke-dasharray":c.config.chart.selection.stroke.dashArray,"stroke-opacity":c.config.chart.selection.stroke.opacity}),S.setAttrs(p.node,d))}}},{key:"hideSelectionRect",value:function(t){t&&t.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(t){var e,n=t.context,r=t.zoomtype,o=this.w,i=n,a=this.gridRect.getBoundingClientRect(),s=i.startX-1,l=i.startY,c=!1,u=!1,p=i.clientX-a.left-s,d=i.clientY-a.top-l;return Math.abs(p+s)>o.globals.gridWidth?p=o.globals.gridWidth-s:i.clientX-a.left<0&&(p=s),s>i.clientX-a.left&&(c=!0,p=Math.abs(p)),l>i.clientY-a.top&&(u=!0,d=Math.abs(d)),e="x"===r?{x:c?s-p:s,y:0,width:p,height:o.globals.gridHeight}:"y"===r?{x:0,y:u?l-d:l,width:o.globals.gridWidth,height:d}:{x:c?s-p:s,y:u?l-d:l,width:p,height:d},i.drawSelectionRect(e),i.selectionDragging("resizing"),e}},{key:"selectionDragging",value:function(t,e){var n=this,r=this.w,o=this.xyRatios,i=this.selectionRect,a=0;"resizing"===t&&(a=30);var s=function(t){return parseFloat(i.node.getAttribute(t))},l={x:s("x"),y:s("y"),width:s("width"),height:s("height")};r.globals.selection=l,"function"==typeof r.config.chart.events.selection&&r.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var t=n.gridRect.getBoundingClientRect(),e=i.node.getBoundingClientRect(),a={xaxis:{min:r.globals.xAxisScale.niceMin+(e.left-t.left)*o.xRatio,max:r.globals.xAxisScale.niceMin+(e.right-t.left)*o.xRatio},yaxis:{min:r.globals.yAxisScale[0].niceMin+(t.bottom-e.bottom)*o.yRatio[0],max:r.globals.yAxisScale[0].niceMax-(e.top-t.top)*o.yRatio[0]}};r.config.chart.events.selection(n.ctx,a),r.config.chart.brush.enabled&&void 0!==r.config.chart.events.brushScrolled&&r.config.chart.events.brushScrolled(n.ctx,a)}),a))}},{key:"selectionDrawn",value:function(t){var e=t.context,n=t.zoomtype,r=this.w,o=e,i=this.xyRatios,a=this.ctx.toolbar;if(o.startX>o.endX){var s=o.startX;o.startX=o.endX,o.endX=s}if(o.startY>o.endY){var l=o.startY;o.startY=o.endY,o.endY=l}var c=void 0,u=void 0;r.globals.isRangeBar?(c=r.globals.yAxisScale[0].niceMin+o.startX*i.invertedYRatio,u=r.globals.yAxisScale[0].niceMin+o.endX*i.invertedYRatio):(c=r.globals.xAxisScale.niceMin+o.startX*i.xRatio,u=r.globals.xAxisScale.niceMin+o.endX*i.xRatio);var p=[],d=[];if(r.config.yaxis.forEach((function(t,e){p.push(r.globals.yAxisScale[e].niceMax-i.yRatio[e]*o.startY),d.push(r.globals.yAxisScale[e].niceMax-i.yRatio[e]*o.endY)})),o.dragged&&(o.dragX>10||o.dragY>10)&&c!==u)if(r.globals.zoomEnabled){var f=b.clone(r.globals.initialConfig.yaxis),h=b.clone(r.globals.initialConfig.xaxis);if(r.globals.zoomed=!0,r.config.xaxis.convertedCatToNumeric&&(c=Math.floor(c),u=Math.floor(u),c<1&&(c=1,u=r.globals.dataPoints),u-c<2&&(u=c+1)),"xy"!==n&&"x"!==n||(h={min:c,max:u}),"xy"!==n&&"y"!==n||f.forEach((function(t,e){f[e].min=d[e],f[e].max=p[e]})),r.config.chart.zoom.autoScaleYaxis){var g=new Q(o.ctx);f=g.autoScaleY(o.ctx,f,{xaxis:h})}if(a){var m=a.getBeforeZoomRange(h,f);m&&(h=m.xaxis?m.xaxis:h,f=m.yaxis?m.yaxis:f)}var y={xaxis:h};r.config.chart.group||(y.yaxis=f),o.ctx.updateHelpers._updateOptions(y,!1,o.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof r.config.chart.events.zoomed&&a.zoomCallback(h,f)}else if(r.globals.selectionEnabled){var v,x=null;v={min:c,max:u},"xy"!==n&&"y"!==n||(x=b.clone(r.config.yaxis)).forEach((function(t,e){x[e].min=d[e],x[e].max=p[e]})),r.globals.selection=o.selection,"function"==typeof r.config.chart.events.selection&&r.config.chart.events.selection(o.ctx,{xaxis:v,yaxis:x})}}},{key:"panDragging",value:function(t){var e=t.context,n=this.w,r=e;if(void 0!==n.globals.lastClientPosition.x){var o=n.globals.lastClientPosition.x-r.clientX,i=n.globals.lastClientPosition.y-r.clientY;Math.abs(o)>Math.abs(i)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(i)&&o<0?this.moveDirection="right":Math.abs(i)>Math.abs(o)&&i>0?this.moveDirection="up":Math.abs(i)>Math.abs(o)&&i<0&&(this.moveDirection="down")}n.globals.lastClientPosition={x:r.clientX,y:r.clientY};var a=n.globals.isRangeBar?n.globals.minY:n.globals.minX,s=n.globals.isRangeBar?n.globals.maxY:n.globals.maxX;n.config.xaxis.convertedCatToNumeric||r.panScrolled(a,s)}},{key:"delayedPanScrolled",value:function(){var t=this.w,e=t.globals.minX,n=t.globals.maxX,r=(t.globals.maxX-t.globals.minX)/2;"left"===this.moveDirection?(e=t.globals.minX+r,n=t.globals.maxX+r):"right"===this.moveDirection&&(e=t.globals.minX-r,n=t.globals.maxX-r),e=Math.floor(e),n=Math.floor(n),this.updateScrolledChart({xaxis:{min:e,max:n}},e,n)}},{key:"panScrolled",value:function(t,e){var n=this.w,r=this.xyRatios,o=b.clone(n.globals.initialConfig.yaxis),i=r.xRatio,a=n.globals.minX,s=n.globals.maxX;n.globals.isRangeBar&&(i=r.invertedYRatio,a=n.globals.minY,s=n.globals.maxY),"left"===this.moveDirection?(t=a+n.globals.gridWidth/15*i,e=s+n.globals.gridWidth/15*i):"right"===this.moveDirection&&(t=a-n.globals.gridWidth/15*i,e=s-n.globals.gridWidth/15*i),n.globals.isRangeBar||(tn.globals.initialMaxX)&&(t=a,e=s);var l={min:t,max:e};n.config.chart.zoom.autoScaleYaxis&&(o=new Q(this.ctx).autoScaleY(this.ctx,o,{xaxis:l}));var c={xaxis:{min:t,max:e}};n.config.chart.group||(c.yaxis=o),this.updateScrolledChart(c,t,e)}},{key:"updateScrolledChart",value:function(t,e,n){var r=this.w;this.ctx.updateHelpers._updateOptions(t,!1,!1),"function"==typeof r.config.chart.events.scrolled&&r.config.chart.events.scrolled(this.ctx,{xaxis:{min:e,max:n}})}}]),n}(),mt=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return c(t,[{key:"getNearestValues",value:function(t){var e=t.hoverArea,n=t.elGrid,r=t.clientX,o=t.clientY,i=this.w,a=n.getBoundingClientRect(),s=a.width,l=a.height,c=s/(i.globals.dataPoints-1),u=l/i.globals.dataPoints,p=this.hasBars();!i.globals.comboCharts&&!p||i.config.xaxis.convertedCatToNumeric||(c=s/i.globals.dataPoints);var d=r-a.left-i.globals.barPadForNumericAxis,f=o-a.top;d<0||f<0||d>s||f>l?(e.classList.remove("hovering-zoom"),e.classList.remove("hovering-pan")):i.globals.zoomEnabled?(e.classList.remove("hovering-pan"),e.classList.add("hovering-zoom")):i.globals.panEnabled&&(e.classList.remove("hovering-zoom"),e.classList.add("hovering-pan"));var h=Math.round(d/c),g=Math.floor(f/u);p&&!i.config.xaxis.convertedCatToNumeric&&(h=Math.ceil(d/c),h-=1);var m=null,y=null,v=[],x=[];if(i.globals.seriesXvalues.forEach((function(t){v.push([t[0]+1e-6].concat(t))})),i.globals.seriesYvalues.forEach((function(t){x.push([t[0]+1e-6].concat(t))})),v=v.map((function(t){return t.filter((function(t){return b.isNumber(t)}))})),x=x.map((function(t){return t.filter((function(t){return b.isNumber(t)}))})),i.globals.isXNumeric){var w=this.ttCtx.getElGrid().getBoundingClientRect(),S=d*(w.width/s),k=f*(w.height/l);m=(y=this.closestInMultiArray(S,k,v,x)).index,h=y.j,null!==m&&(v=i.globals.seriesXvalues[m],h=(y=this.closestInArray(S,v)).index)}return i.globals.capturedSeriesIndex=null===m?-1:m,(!h||h<1)&&(h=0),i.globals.isBarHorizontal?i.globals.capturedDataPointIndex=g:i.globals.capturedDataPointIndex=h,{capturedSeries:m,j:i.globals.isBarHorizontal?g:h,hoverX:d,hoverY:f}}},{key:"closestInMultiArray",value:function(t,e,n,r){var o=this.w,i=0,a=null,s=-1;o.globals.series.length>1?i=this.getFirstActiveXArray(n):a=0;var l=n[i][0],c=Math.abs(t-l);if(n.forEach((function(e){e.forEach((function(e,n){var r=Math.abs(t-e);r0?e:-1})),o=0;o0)for(var r=0;rn?-1:0}));var e=[];return t.forEach((function(t){e.push(t.querySelector(".apexcharts-marker"))})),e}},{key:"hasMarkers",value:function(){return this.getElMarkers().length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(t){var e=this.w,n=e.config.markers.hover.size;return void 0===n&&(n=e.globals.markers.size[t]+e.config.markers.hover.sizeOffset),n}},{key:"toggleAllTooltipSeriesGroups",value:function(t){var e=this.w,n=this.ttCtx;0===n.allTooltipSeriesGroups.length&&(n.allTooltipSeriesGroups=e.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var r=n.allTooltipSeriesGroups,o=0;o ').concat(n.attrs.name,""),e+="
    ".concat(n.val,"
    ")})),v.innerHTML=t+"",b.innerHTML=e+""};a?l.globals.seriesGoals[e][n]&&Array.isArray(l.globals.seriesGoals[e][n])?x():(v.innerHTML="",b.innerHTML=""):x()}else v.innerHTML="",b.innerHTML="";null!==h&&(r[e].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=l.config.tooltip.z.title,r[e].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=void 0!==h?h:""),a&&g[0]&&(null==u||l.globals.ancillaryCollapsedSeriesIndices.indexOf(e)>-1||l.globals.collapsedSeriesIndices.indexOf(e)>-1?g[0].parentNode.style.display="none":g[0].parentNode.style.display=l.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(t){var e=this.w;if(t)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var n=e.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");n&&(n.classList.add("apexcharts-active"),n.style.display=e.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(t){var e=t.i,n=t.j,r=this.w,o=this.ctx.series.filteredSeriesX(),i="",a="",s=null,l=null,c={series:r.globals.series,seriesIndex:e,dataPointIndex:n,w:r},u=r.globals.ttZFormatter;null===n?l=r.globals.series[e]:r.globals.isXNumeric&&"treemap"!==r.config.chart.type?(i=o[e][n],0===o[e].length&&(i=o[this.tooltipUtil.getFirstActiveXArray(o)][n])):i=void 0!==r.globals.labels[n]?r.globals.labels[n]:"";var p=i;return i=r.globals.isXNumeric&&"datetime"===r.config.xaxis.type?new K(this.ctx).xLabelFormat(r.globals.ttKeyFormatter,p,p,{i:void 0,dateFormatter:new B(this.ctx).formatDate,w:this.w}):r.globals.isBarHorizontal?r.globals.yLabelFormatters[0](p,c):r.globals.xLabelFormatter(p,c),void 0!==r.config.tooltip.x.formatter&&(i=r.globals.ttKeyFormatter(p,c)),r.globals.seriesZ.length>0&&r.globals.seriesZ[e].length>0&&(s=u(r.globals.seriesZ[e][n],r)),a="function"==typeof r.config.xaxis.tooltip.formatter?r.globals.xaxisTooltipFormatter(p,c):i,{val:Array.isArray(l)?l.join(" "):l,xVal:Array.isArray(i)?i.join(" "):i,xAxisTTVal:Array.isArray(a)?a.join(" "):a,zVal:s}}},{key:"handleCustomTooltip",value:function(t){var e=t.i,n=t.j,r=t.y1,o=t.y2,i=t.w,a=this.ttCtx.getElTooltip(),s=i.config.tooltip.custom;Array.isArray(s)&&s[e]&&(s=s[e]),a.innerHTML=s({ctx:this.ctx,series:i.globals.series,seriesIndex:e,dataPointIndex:n,y1:r,y2:o,w:i})}}]),t}(),vt=function(){function t(e){s(this,t),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return c(t,[{key:"moveXCrosshairs",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.ttCtx,r=this.w,o=n.getElXCrosshairs(),i=t-n.xcrosshairsWidth/2,a=r.globals.labels.slice().length;if(null!==e&&(i=r.globals.gridWidth/a*e),null===o||r.globals.isBarHorizontal||(o.setAttribute("x",i),o.setAttribute("x1",i),o.setAttribute("x2",i),o.setAttribute("y2",r.globals.gridHeight),o.classList.add("apexcharts-active")),i<0&&(i=0),i>r.globals.gridWidth&&(i=r.globals.gridWidth),n.isXAxisTooltipEnabled){var s=i;"tickWidth"!==r.config.xaxis.crosshairs.width&&"barWidth"!==r.config.xaxis.crosshairs.width||(s=i+n.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(t){var e=this.ttCtx;null!==e.ycrosshairs&&S.setAttrs(e.ycrosshairs,{y1:t,y2:t}),null!==e.ycrosshairsHidden&&S.setAttrs(e.ycrosshairsHidden,{y1:t,y2:t})}},{key:"moveXAxisTooltip",value:function(t){var e=this.w,n=this.ttCtx;if(null!==n.xaxisTooltip&&0!==n.xcrosshairsWidth){n.xaxisTooltip.classList.add("apexcharts-active");var r,o=n.xaxisOffY+e.config.xaxis.tooltip.offsetY+e.globals.translateY+1+e.config.xaxis.offsetY;t-=n.xaxisTooltip.getBoundingClientRect().width/2,isNaN(t)||(t+=e.globals.translateX,r=new S(this.ctx).getTextRects(n.xaxisTooltipText.innerHTML),n.xaxisTooltipText.style.minWidth=r.width+"px",n.xaxisTooltip.style.left=t+"px",n.xaxisTooltip.style.top=o+"px")}}},{key:"moveYAxisTooltip",value:function(t){var e=this.w,n=this.ttCtx;null===n.yaxisTTEls&&(n.yaxisTTEls=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var r=parseInt(n.ycrosshairsHidden.getAttribute("y1"),10),o=e.globals.translateY+r,i=n.yaxisTTEls[t].getBoundingClientRect().height,a=e.globals.translateYAxisX[t]-2;e.config.yaxis[t].opposite&&(a-=26),o-=i/2,-1===e.globals.ignoreYAxisIndexes.indexOf(t)?(n.yaxisTTEls[t].classList.add("apexcharts-active"),n.yaxisTTEls[t].style.top=o+"px",n.yaxisTTEls[t].style.left=a+e.config.yaxis[t].tooltip.offsetX+"px"):n.yaxisTTEls[t].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.w,o=this.ttCtx,i=o.getElTooltip(),a=o.tooltipRect,s=null!==n?parseFloat(n):1,l=parseFloat(t)+s+5,c=parseFloat(e)+s/2;if(l>r.globals.gridWidth/2&&(l=l-a.ttWidth-s-10),l>r.globals.gridWidth-a.ttWidth-10&&(l=r.globals.gridWidth-a.ttWidth),l<-20&&(l=-20),r.config.tooltip.followCursor){var u=o.getElGrid(),p=u.getBoundingClientRect();c=o.e.clientY+r.globals.translateY-p.top-a.ttHeight/2}else r.globals.isBarHorizontal||(a.ttHeight/2+c>r.globals.gridHeight&&(c=r.globals.gridHeight-a.ttHeight+r.globals.translateY),c<0&&(c=0));isNaN(l)||(l+=r.globals.translateX,i.style.left=l+"px",i.style.top=c+"px")}},{key:"moveMarkers",value:function(t,e){var n=this.w,r=this.ttCtx;if(n.globals.markers.size[t]>0)for(var o=n.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-marker")),i=0;i0&&(c.setAttribute("r",s),c.setAttribute("cx",n),c.setAttribute("cy",r)),this.moveXCrosshairs(n),i.fixedTooltip||this.moveTooltip(n,r,s)}}},{key:"moveDynamicPointsOnHover",value:function(t){var e,n=this.ttCtx,r=n.w,o=0,i=0,a=r.globals.pointsArray;e=new P(this.ctx).getActiveConfigSeriesIndex(!0);var s=n.tooltipUtil.getHoverMarkerSize(e);a[e]&&(o=a[e][t][0],i=a[e][t][1]);var l=n.tooltipUtil.getAllMarkers();if(null!==l)for(var c=0;c0?(l[c]&&l[c].setAttribute("r",s),l[c]&&l[c].setAttribute("cy",p)):l[c]&&l[c].setAttribute("r",0)}}if(this.moveXCrosshairs(o),!n.fixedTooltip){var d=i||r.globals.gridHeight;this.moveTooltip(o,d,s)}}},{key:"moveStickyTooltipOverBars",value:function(t){var e=this.w,n=this.ttCtx,r=e.globals.columnSeries?e.globals.columnSeries.length:e.globals.series.length,o=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;e.globals.isBarHorizontal&&(o=new P(this.ctx).getActiveConfigSeriesIndex(!1,"desc")+1);var i=e.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(o,"'] path[j='").concat(t,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(t,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(t,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(o,"'] path[j='").concat(t,"']")),a=i?parseFloat(i.getAttribute("cx")):0,s=i?parseFloat(i.getAttribute("cy")):0,l=i?parseFloat(i.getAttribute("barWidth")):0,c=i?parseFloat(i.getAttribute("barHeight")):0,u=n.getElGrid().getBoundingClientRect(),p=i.classList.contains("apexcharts-candlestick-area")||i.classList.contains("apexcharts-boxPlot-area");if(e.globals.isXNumeric?(i&&!p&&(a-=r%2!=0?l/2:0),i&&p&&e.globals.comboCharts&&(a-=l/2)):e.globals.isBarHorizontal||(a=n.xAxisTicksPositions[t-1]+n.dataPointsDividedWidth/2,isNaN(a)&&(a=n.xAxisTicksPositions[t]-n.dataPointsDividedWidth/2)),e.globals.isBarHorizontal?(s>e.globals.gridHeight/2&&(s-=n.tooltipRect.ttHeight),(s=s+e.config.grid.padding.top+c/3)+c>e.globals.gridHeight&&(s=e.globals.gridHeight-c)):e.config.tooltip.followCursor?s=n.e.clientY-u.top-n.tooltipRect.ttHeight/2:s+n.tooltipRect.ttHeight+15>e.globals.gridHeight&&(s=e.globals.gridHeight),s<-10&&(s=-10),e.globals.isBarHorizontal||this.moveXCrosshairs(a),!n.fixedTooltip){var d=s||e.globals.gridHeight;this.moveTooltip(a,d)}}}]),t}(),bt=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new vt(e)}return c(t,[{key:"drawDynamicPoints",value:function(){var t=this.w,e=new S(this.ctx),n=new I(this.ctx),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series");r=m(r),t.config.chart.stacked&&r.sort((function(t,e){return parseFloat(t.getAttribute("data:realIndex"))-parseFloat(e.getAttribute("data:realIndex"))}));for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.w;"bubble"!==o.config.chart.type&&this.newPointSize(t,e);var i=e.getAttribute("cx"),a=e.getAttribute("cy");if(null!==n&&null!==r&&(i=n,a=r),this.tooltipPosition.moveXCrosshairs(i),!this.fixedTooltip){if("radar"===o.config.chart.type){var s=this.ttCtx.getElGrid(),l=s.getBoundingClientRect();i=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(i,a,o.config.markers.hover.size)}}},{key:"enlargePoints",value:function(t){for(var e=this.w,n=this,r=this.ttCtx,o=t,i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),a=e.config.markers.hover.size,s=0;s=0?t[e].setAttribute("r",n):t[e].setAttribute("r",0)}}}]),t}(),xt=function(){function t(e){s(this,t),this.w=e.w,this.ttCtx=e}return c(t,[{key:"getAttr",value:function(t,e){return parseFloat(t.target.getAttribute(e))}},{key:"handleHeatTreeTooltip",value:function(t){var e=t.e,n=t.opt,r=t.x,o=t.y,i=t.type,a=this.ttCtx,s=this.w;if(e.target.classList.contains("apexcharts-".concat(i,"-rect"))){var l=this.getAttr(e,"i"),c=this.getAttr(e,"j"),u=this.getAttr(e,"cx"),p=this.getAttr(e,"cy"),d=this.getAttr(e,"width"),f=this.getAttr(e,"height");if(a.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:l,j:c,shared:!1,e:e}),s.globals.capturedSeriesIndex=l,s.globals.capturedDataPointIndex=c,r=u+a.tooltipRect.ttWidth/2+d,o=p+a.tooltipRect.ttHeight/2-f/2,a.tooltipPosition.moveXCrosshairs(u+d/2),r>s.globals.gridWidth/2&&(r=u-a.tooltipRect.ttWidth/2+d),a.w.config.tooltip.followCursor){var h=s.globals.dom.elWrap.getBoundingClientRect();r=s.globals.clientX-h.left-(r>s.globals.gridWidth/2?a.tooltipRect.ttWidth:0),o=s.globals.clientY-h.top-(o>s.globals.gridHeight/2?a.tooltipRect.ttHeight:0)}}return{x:r,y:o}}},{key:"handleMarkerTooltip",value:function(t){var e,n,r=t.e,o=t.opt,i=t.x,a=t.y,s=this.w,l=this.ttCtx;if(r.target.classList.contains("apexcharts-marker")){var c=parseInt(o.paths.getAttribute("cx"),10),u=parseInt(o.paths.getAttribute("cy"),10),p=parseFloat(o.paths.getAttribute("val"));if(n=parseInt(o.paths.getAttribute("rel"),10),e=parseInt(o.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,l.intersect){var d=b.findAncestor(o.paths,"apexcharts-series");d&&(e=parseInt(d.getAttribute("data:realIndex"),10))}if(l.tooltipLabels.drawSeriesTexts({ttItems:o.ttItems,i:e,j:n,shared:!l.showOnIntersect&&s.config.tooltip.shared,e:r}),"mouseup"===r.type&&l.markerClick(r,e,n),s.globals.capturedSeriesIndex=e,s.globals.capturedDataPointIndex=n,i=c,a=u+s.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var f=l.getElGrid().getBoundingClientRect();a=l.e.clientY+s.globals.translateY-f.top}p<0&&(a=u),l.marker.enlargeCurrentPoint(n,o.paths,i,a)}return{x:i,y:a}}},{key:"handleBarTooltip",value:function(t){var e,n,r=t.e,o=t.opt,i=this.w,a=this.ttCtx,s=a.getElTooltip(),l=0,c=0,u=0,p=this.getBarTooltipXY({e:r,opt:o});e=p.i;var d=p.barHeight,f=p.j;i.globals.capturedSeriesIndex=e,i.globals.capturedDataPointIndex=f,i.globals.isBarHorizontal&&a.tooltipUtil.hasBars()||!i.config.tooltip.shared?(c=p.x,u=p.y,n=Array.isArray(i.config.stroke.width)?i.config.stroke.width[e]:i.config.stroke.width,l=c):i.globals.comboCharts||i.config.tooltip.shared||(l/=2),isNaN(u)?u=i.globals.svgHeight-a.tooltipRect.ttHeight:u<0&&(u=0);var h=parseInt(o.paths.parentNode.getAttribute("data:realIndex"),10),g=i.globals.isMultipleYAxis?i.config.yaxis[h]&&i.config.yaxis[h].reversed:i.config.yaxis[0].reversed;if(c+a.tooltipRect.ttWidth>i.globals.gridWidth&&!g?c-=a.tooltipRect.ttWidth:c<0&&(c=0),a.w.config.tooltip.followCursor){var m=a.getElGrid().getBoundingClientRect();u=a.e.clientY-m.top}null===a.tooltip&&(a.tooltip=i.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),i.config.tooltip.shared||(i.globals.comboBarCount>0?a.tooltipPosition.moveXCrosshairs(l+n/2):a.tooltipPosition.moveXCrosshairs(l)),!a.fixedTooltip&&(!i.config.tooltip.shared||i.globals.isBarHorizontal&&a.tooltipUtil.hasBars())&&(g&&(c-=a.tooltipRect.ttWidth)<0&&(c=0),!g||i.globals.isBarHorizontal&&a.tooltipUtil.hasBars()||(u=u+d-2*(i.globals.series[e][f]<0?d:0)),a.tooltipRect.ttHeight+u>i.globals.gridHeight?u=i.globals.gridHeight-a.tooltipRect.ttHeight+i.globals.translateY:(u=u+i.globals.translateY-a.tooltipRect.ttHeight/2)<0&&(u=0),s.style.left=c+i.globals.translateX+"px",s.style.top=u+"px")}},{key:"getBarTooltipXY",value:function(t){var e=t.e,n=t.opt,r=this.w,o=null,i=this.ttCtx,a=0,s=0,l=0,c=0,u=0,p=e.target.classList;if(p.contains("apexcharts-bar-area")||p.contains("apexcharts-candlestick-area")||p.contains("apexcharts-boxPlot-area")||p.contains("apexcharts-rangebar-area")){var d=e.target,f=d.getBoundingClientRect(),h=n.elGrid.getBoundingClientRect(),g=f.height;u=f.height;var m=f.width,y=parseInt(d.getAttribute("cx"),10),v=parseInt(d.getAttribute("cy"),10);c=parseFloat(d.getAttribute("barWidth"));var b="touchmove"===e.type?e.touches[0].clientX:e.clientX;o=parseInt(d.getAttribute("j"),10),a=parseInt(d.parentNode.getAttribute("rel"),10)-1;var x=d.getAttribute("data-range-y1"),w=d.getAttribute("data-range-y2");r.globals.comboCharts&&(a=parseInt(d.parentNode.getAttribute("data:realIndex"),10)),i.tooltipLabels.drawSeriesTexts({ttItems:n.ttItems,i:a,j:o,y1:x?parseInt(x,10):null,y2:w?parseInt(w,10):null,shared:!i.showOnIntersect&&r.config.tooltip.shared,e:e}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(s=b-h.left+15,l=v-i.dataPointsDividedHeight+g/2-i.tooltipRect.ttHeight/2):(s=r.globals.isXNumeric?y-m/2:y-i.dataPointsDividedWidth+m/2,l=e.clientY-h.top-i.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((s=y)0&&n.setAttribute("width",e.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var t=this.w,e=this.ttCtx;e.ycrosshairs=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),e.ycrosshairsHidden=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(t,e,n){var r=this.ttCtx,o=this.w,i=o.globals.yLabelFormatters[t];if(r.yaxisTooltips[t]){var a=r.getElGrid().getBoundingClientRect(),s=(e-a.top)*n.yRatio[t],l=o.globals.maxYArr[t]-o.globals.minYArr[t],c=o.globals.minYArr[t]+(l-s);r.tooltipPosition.moveYCrosshairs(e-a.top),r.yaxisTooltipText[t].innerHTML=i(c),r.tooltipPosition.moveYAxisTooltip(t)}}}]),t}(),St=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new mt(this),this.tooltipLabels=new yt(this),this.tooltipPosition=new vt(this),this.marker=new bt(this),this.intersect=new xt(this),this.axesTooltip=new wt(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return c(t,[{key:"getElTooltip",value:function(t){return t||(t=this),t.w.globals.dom.baseEl?t.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(t){var e=this.w;this.xyRatios=t,this.isXAxisTooltipEnabled=e.config.xaxis.tooltip.enabled&&e.globals.axisCharts,this.yaxisTooltips=e.config.yaxis.map((function(t,n){return!!(t.show&&t.tooltip.enabled&&e.globals.axisCharts)})),this.allTooltipSeriesGroups=[],e.globals.axisCharts||(this.showTooltipTitle=!1);var n=document.createElement("div");if(n.classList.add("apexcharts-tooltip"),e.config.tooltip.cssClass&&n.classList.add(e.config.tooltip.cssClass),n.classList.add("apexcharts-theme-".concat(this.tConfig.theme)),e.globals.dom.elWrap.appendChild(n),e.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var r=new q(this.ctx);this.xAxisTicksPositions=r.getXAxisTicksPositions()}if(!e.globals.comboCharts&&!this.tConfig.intersect&&"rangeBar"!==e.config.chart.type||this.tConfig.shared||(this.showOnIntersect=!0),0!==e.config.markers.size&&0!==e.globals.markers.largestSize||this.marker.drawDynamicPoints(this),e.globals.collapsedSeries.length!==e.globals.series.length){this.dataPointsDividedHeight=e.globals.gridHeight/e.globals.dataPoints,this.dataPointsDividedWidth=e.globals.gridWidth/e.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||e.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,n.appendChild(this.tooltipTitle));var o=e.globals.series.length;(e.globals.xyCharts||e.globals.comboCharts)&&this.tConfig.shared&&(o=this.showOnIntersect?1:e.globals.series.length),this.legendLabels=e.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(o),this.addSVGEvents()}}},{key:"createTTElements",value:function(t){for(var e=this,n=this.w,r=[],o=this.getElTooltip(),i=function(i){var a=document.createElement("div");a.classList.add("apexcharts-tooltip-series-group"),a.style.order=n.config.tooltip.inverseOrder?t-i:i+1,e.tConfig.shared&&e.tConfig.enabledOnSeries&&Array.isArray(e.tConfig.enabledOnSeries)&&e.tConfig.enabledOnSeries.indexOf(i)<0&&a.classList.add("apexcharts-tooltip-series-group-hidden");var s=document.createElement("span");s.classList.add("apexcharts-tooltip-marker"),s.style.backgroundColor=n.globals.colors[i],a.appendChild(s);var l=document.createElement("div");l.classList.add("apexcharts-tooltip-text"),l.style.fontFamily=e.tConfig.style.fontFamily||n.config.chart.fontFamily,l.style.fontSize=e.tConfig.style.fontSize,["y","goals","z"].forEach((function(t){var e=document.createElement("div");e.classList.add("apexcharts-tooltip-".concat(t,"-group"));var n=document.createElement("span");n.classList.add("apexcharts-tooltip-text-".concat(t,"-label")),e.appendChild(n);var r=document.createElement("span");r.classList.add("apexcharts-tooltip-text-".concat(t,"-value")),e.appendChild(r),l.appendChild(e)})),a.appendChild(l),o.appendChild(a),r.push(a)},a=0;a0&&this.addPathsEventListeners(f,u),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(u)}}},{key:"drawFixedTooltipRect",value:function(){var t=this.w,e=this.getElTooltip(),n=e.getBoundingClientRect(),r=n.width+10,o=n.height+10,i=this.tConfig.fixed.offsetX,a=this.tConfig.fixed.offsetY,s=this.tConfig.fixed.position.toLowerCase();return s.indexOf("right")>-1&&(i=i+t.globals.svgWidth-r+10),s.indexOf("bottom")>-1&&(a=a+t.globals.svgHeight-o-10),e.style.left=i+"px",e.style.top=a+"px",{x:i,y:a,ttWidth:r,ttHeight:o}}},{key:"addDatapointEventsListeners",value:function(t){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(e,t)}},{key:"addPathsEventListeners",value:function(t,e){for(var n=this,r=function(r){var o={paths:t[r],tooltipEl:e.tooltipEl,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:e.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(e){return t[r].addEventListener(e,n.onSeriesHover.bind(n,o),{capture:!1,passive:!0})}))},o=0;o=100?this.seriesHover(t,e):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){n.seriesHover(t,e)}),100-r))}},{key:"seriesHover",value:function(t,e){var n=this;this.lastHoverTime=Date.now();var r=[],o=this.w;o.config.chart.group&&(r=this.ctx.getGroupedCharts()),o.globals.axisCharts&&(o.globals.minX===-1/0&&o.globals.maxX===1/0||0===o.globals.dataPoints)||(r.length?r.forEach((function(r){var o=n.getElTooltip(r),i={paths:t.paths,tooltipEl:o,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:r.w.globals.tooltip.ttItems};r.w.globals.minX===n.w.globals.minX&&r.w.globals.maxX===n.w.globals.maxX&&r.w.globals.tooltip.seriesHoverByContext({chartCtx:r,ttCtx:r.w.globals.tooltip,opt:i,e:e})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:t,e:e}))}},{key:"seriesHoverByContext",value:function(t){var e=t.chartCtx,n=t.ttCtx,r=t.opt,o=t.e,i=e.w,a=this.getElTooltip();a&&(n.tooltipRect={x:0,y:0,ttWidth:a.getBoundingClientRect().width,ttHeight:a.getBoundingClientRect().height},n.e=o,!n.tooltipUtil.hasBars()||i.globals.comboCharts||n.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new P(e).toggleSeriesOnHover(o,o.target.parentNode),n.fixedTooltip&&n.drawFixedTooltipRect(),i.globals.axisCharts?n.axisChartsTooltips({e:o,opt:r,tooltipRect:n.tooltipRect}):n.nonAxisChartsTooltips({e:o,opt:r,tooltipRect:n.tooltipRect}))}},{key:"axisChartsTooltips",value:function(t){var e,n,r=t.e,o=t.opt,i=this.w,a=o.elGrid.getBoundingClientRect(),s="touchmove"===r.type?r.touches[0].clientX:r.clientX,l="touchmove"===r.type?r.touches[0].clientY:r.clientY;if(this.clientY=l,this.clientX=s,i.globals.capturedSeriesIndex=-1,i.globals.capturedDataPointIndex=-1,la.top+a.height)this.handleMouseOut(o);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!i.config.tooltip.shared){var c=parseInt(o.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(c)<0)return void this.handleMouseOut(o)}var u=this.getElTooltip(),p=this.getElXCrosshairs(),d=i.globals.xyCharts||"bar"===i.config.chart.type&&!i.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||i.globals.comboCharts&&this.tooltipUtil.hasBars();if("mousemove"===r.type||"touchmove"===r.type||"mouseup"===r.type){if(i.globals.collapsedSeries.length+i.globals.ancillaryCollapsedSeries.length===i.globals.series.length)return;null!==p&&p.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter((function(t){return!0===t}));if(null!==this.ycrosshairs&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),d&&!this.showOnIntersect)this.handleStickyTooltip(r,s,l,o);else if("heatmap"===i.config.chart.type||"treemap"===i.config.chart.type){var h=this.intersect.handleHeatTreeTooltip({e:r,opt:o,x:e,y:n,type:i.config.chart.type});e=h.x,n=h.y,u.style.left=e+"px",u.style.top=n+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:r,opt:o}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:r,opt:o,x:e,y:n});if(this.yaxisTooltips.length)for(var g=0;gl.width?this.handleMouseOut(r):null!==s?this.handleStickyCapturedSeries(t,s,r,a):(this.tooltipUtil.isXoverlap(a)||o.globals.isBarHorizontal)&&this.create(t,this,0,a,r.ttItems)}},{key:"handleStickyCapturedSeries",value:function(t,e,n,r){var o=this.w;this.tConfig.shared||null!==o.globals.series[e][r]?void 0!==o.globals.series[e][r]?this.tConfig.shared&&this.tooltipUtil.isXoverlap(r)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(t,this,e,r,n.ttItems):this.create(t,this,e,r,n.ttItems,!1):this.tooltipUtil.isXoverlap(r)&&this.create(t,this,0,r,n.ttItems):this.handleMouseOut(n)}},{key:"deactivateHoverFilter",value:function(){for(var t=this.w,e=new S(this.ctx),n=t.globals.dom.Paper.select(".apexcharts-bar-area"),r=0;r5&&void 0!==arguments[5]?arguments[5]:null,a=this.w,s=e;"mouseup"===t.type&&this.markerClick(t,n,r),null===i&&(i=this.tConfig.shared);var l=this.tooltipUtil.hasMarkers(),c=this.tooltipUtil.getElBars();if(a.config.legend.tooltipHoverFormatter){var u=a.config.legend.tooltipHoverFormatter,p=Array.from(this.legendLabels);p.forEach((function(t){var e=t.getAttribute("data:default-text");t.innerHTML=decodeURIComponent(e)}));for(var d=0;d0?s.marker.enlargePoints(r):s.tooltipPosition.moveDynamicPointsOnHover(r)),this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var y=new S(this.ctx),v=a.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(r,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(r);for(var b=0;b0&&(this.totalItems+=t[a].length);for(var s=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),l=0,c=0,u=function(o,a){var u=void 0,p=void 0,d=void 0,f=void 0,h=[],g=[],m=r.globals.comboCharts?e[o]:o;n.yRatio.length>1&&(n.yaxisIndex=m),n.isReversed=r.config.yaxis[n.yaxisIndex]&&r.config.yaxis[n.yaxisIndex].reversed;var y=n.graphics.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[m]),rel:o+1,"data:realIndex":m});n.ctx.series.addCollapsedClassToSeries(y,m);var v=n.graphics.group({class:"apexcharts-datalabels","data:realIndex":m}),x=0,w=0,S=n.initialPositions(l,c,u,p,d,f);c=S.y,x=S.barHeight,p=S.yDivision,f=S.zeroW,l=S.x,w=S.barWidth,u=S.xDivision,d=S.zeroH,n.yArrj=[],n.yArrjF=[],n.yArrjVal=[],n.xArrj=[],n.xArrjF=[],n.xArrjVal=[],1===n.prevY.length&&n.prevY[0].every((function(t){return isNaN(t)}))&&(n.prevY[0]=n.prevY[0].map((function(t){return d})),n.prevYF[0]=n.prevYF[0].map((function(t){return 0})));for(var k=0;k1?(n=l.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:s*parseInt(l.config.plotOptions.bar.columnWidth,10)/100,o=this.baseLineY[this.yaxisIndex]+(this.isReversed?l.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),t=l.globals.padHorizontal+(n-s)/2),{x:t,y:e,yDivision:r,xDivision:n,barHeight:a,barWidth:s,zeroH:o,zeroW:i}}},{key:"drawStackedBarPaths",value:function(t){for(var e,n=t.indexes,r=t.barHeight,o=t.strokeWidth,i=t.zeroW,a=t.x,s=t.y,l=t.yDivision,c=t.elSeries,u=this.w,p=s,d=n.i,f=n.j,h=0,g=0;g0){var m=i;this.prevXVal[d-1][f]<0?m=this.series[d][f]>=0?this.prevX[d-1][f]+h-2*(this.isReversed?h:0):this.prevX[d-1][f]:this.prevXVal[d-1][f]>=0&&(m=this.series[d][f]>=0?this.prevX[d-1][f]:this.prevX[d-1][f]-h+2*(this.isReversed?h:0)),e=m}else e=i;a=null===this.series[d][f]?e:e+this.series[d][f]/this.invertedYRatio-2*(this.isReversed?this.series[d][f]/this.invertedYRatio:0);var y=this.barHelpers.getBarpaths({barYPosition:p,barHeight:r,x1:e,x2:a,strokeWidth:o,series:this.series,realIndex:n.realIndex,i:d,j:f,w:u});return this.barHelpers.barBackground({j:f,i:d,y1:p,y2:r,elSeries:c}),s+=l,{pathTo:y.pathTo,pathFrom:y.pathFrom,x:a,y:s}}},{key:"drawStackedColumnPaths",value:function(t){var e=t.indexes,n=t.x,r=t.y,o=t.xDivision,i=t.barWidth,a=t.zeroH;t.strokeWidth;var s=t.elSeries,l=this.w,c=e.i,u=e.j,p=e.bc;if(l.globals.isXNumeric){var d=l.globals.seriesX[c][u];d||(d=0),n=(d-l.globals.minX)/this.xRatio-i/2}for(var f,h=n,g=0,m=0;m0&&!l.globals.isXNumeric||c>0&&l.globals.isXNumeric&&l.globals.seriesX[c-1][u]===l.globals.seriesX[c][u]){var y,v,b=Math.min(this.yRatio.length+1,c+1);if(void 0!==this.prevY[c-1])for(var x=1;x=0?v-g+2*(this.isReversed?g:0):v;break}if(this.prevYVal[c-w][u]>=0){y=this.series[c][u]>=0?v:v+g-2*(this.isReversed?g:0);break}}void 0===y&&(y=l.globals.gridHeight),f=this.prevYF[0].every((function(t){return 0===t}))&&this.prevYF.slice(1,c).every((function(t){return t.every((function(t){return isNaN(t)}))}))?l.globals.gridHeight-a:y}else f=l.globals.gridHeight-a;r=f-this.series[c][u]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[c][u]/this.yRatio[this.yaxisIndex]:0);var S=this.barHelpers.getColumnPaths({barXPosition:h,barWidth:i,y1:f,y2:r,yRatio:this.yRatio[this.yaxisIndex],strokeWidth:this.strokeWidth,series:this.series,realIndex:e.realIndex,i:c,j:u,w:l});return this.barHelpers.barBackground({bc:p,j:u,i:c,x1:h,x2:i,elSeries:s}),n+=o,{pathTo:S.pathTo,pathFrom:S.pathFrom,x:l.globals.isXNumeric?n-o:n,y:r}}}]),n}(),Ct=function(t){p(n,R);var e=g(n);function n(){return s(this,n),e.apply(this,arguments)}return c(n,[{key:"draw",value:function(t,e){var n=this,r=this.w,o=new S(this.ctx),a=new j(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=r.config.plotOptions.bar.horizontal;var s=new k(this.ctx,r);t=s.getLogSeries(t),this.series=t,this.yRatio=s.getLogYRatios(this.yRatio),this.barHelpers.initVariables(t);for(var l=o.group({class:"apexcharts-".concat(r.config.chart.type,"-series apexcharts-plot-series")}),c=function(s){n.isBoxPlot="boxPlot"===r.config.chart.type||"boxPlot"===r.config.series[s].type;var c,u,p,d,f,h,g=void 0,m=void 0,y=[],v=[],x=r.globals.comboCharts?e[s]:s,w=o.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[x]),rel:s+1,"data:realIndex":x});n.ctx.series.addCollapsedClassToSeries(w,x),t[s].length>0&&(n.visibleI=n.visibleI+1),n.yRatio.length>1&&(n.yaxisIndex=x);var S=n.barHelpers.initialPositions();m=S.y,f=S.barHeight,u=S.yDivision,d=S.zeroW,g=S.x,h=S.barWidth,c=S.xDivision,p=S.zeroH,v.push(g+h/2);for(var k=o.group({class:"apexcharts-datalabels","data:realIndex":x}),C=function(e){var o=n.barHelpers.getStrokeWidth(s,e,x),l=null,b={indexes:{i:s,j:e,realIndex:x},x:g,y:m,strokeWidth:o,elSeries:w};l=n.isHorizontal?n.drawHorizontalBoxPaths(i(i({},b),{},{yDivision:u,barHeight:f,zeroW:d})):n.drawVerticalBoxPaths(i(i({},b),{},{xDivision:c,barWidth:h,zeroH:p})),m=l.y,g=l.x,e>0&&v.push(g+h/2),y.push(m),l.pathTo.forEach((function(i,c){var u=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?l.color[c]:r.globals.stroke.colors[s],p=a.fillPath({seriesNumber:x,dataPointIndex:e,color:l.color[c],value:t[s][e]});n.renderSeries({realIndex:x,pathFill:p,lineFill:u,j:e,i:s,pathFrom:l.pathFrom,pathTo:i,strokeWidth:o,elSeries:w,x:g,y:m,series:t,barHeight:f,barWidth:h,elDataLabelsWrap:k,visibleSeries:n.visibleI,type:r.config.chart.type})}))},_=0;_y.c&&(p=!1);var x=Math.min(y.o,y.c),w=Math.max(y.o,y.c),k=y.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[m][u]-s.globals.minX)/this.xRatio-o/2);var C=n+o*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(x=i,w=i):(x=i-x/g,w=i-w/g,v=i-y.h/g,b=i-y.l/g,k=i-y.m/g);var _=l.move(C,i),E=l.move(C+o/2,x);return s.globals.previousPaths.length>0&&(E=this.getPreviousPath(m,u,!0)),_=this.isBoxPlot?[l.move(C,x)+l.line(C+o/2,x)+l.line(C+o/2,v)+l.line(C+o/4,v)+l.line(C+o-o/4,v)+l.line(C+o/2,v)+l.line(C+o/2,x)+l.line(C+o,x)+l.line(C+o,k)+l.line(C,k)+l.line(C,x+a/2),l.move(C,k)+l.line(C+o,k)+l.line(C+o,w)+l.line(C+o/2,w)+l.line(C+o/2,b)+l.line(C+o-o/4,b)+l.line(C+o/4,b)+l.line(C+o/2,b)+l.line(C+o/2,w)+l.line(C,w)+l.line(C,k)+"z"]:[l.move(C,w)+l.line(C+o/2,w)+l.line(C+o/2,v)+l.line(C+o/2,w)+l.line(C+o,w)+l.line(C+o,x)+l.line(C+o/2,x)+l.line(C+o/2,b)+l.line(C+o/2,x)+l.line(C,x)+l.line(C,w-a/2)],E+=l.move(C,x),s.globals.isXNumeric||(n+=r),{pathTo:_,pathFrom:E,x:n,y:w,barXPosition:C,color:this.isBoxPlot?h:p?[d]:[f]}}},{key:"drawHorizontalBoxPaths",value:function(t){var e=t.indexes;t.x;var n=t.y,r=t.yDivision,o=t.barHeight,i=t.zeroW,a=t.strokeWidth,s=this.w,l=new S(this.ctx),c=e.i,u=e.j,p=this.boxOptions.colors.lower;this.isBoxPlot&&(p=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var d=this.invertedYRatio,f=e.realIndex,h=this.getOHLCValue(f,u),g=i,m=i,y=Math.min(h.o,h.c),v=Math.max(h.o,h.c),b=h.m;s.globals.isXNumeric&&(n=(s.globals.seriesX[f][u]-s.globals.minX)/this.invertedXRatio-o/2);var x=n+o*this.visibleI;void 0===this.series[c][u]||null===this.series[c][u]?(y=i,v=i):(y=i+y/d,v=i+v/d,g=i+h.h/d,m=i+h.l/d,b=i+h.m/d);var w=l.move(i,x),k=l.move(y,x+o/2);return s.globals.previousPaths.length>0&&(k=this.getPreviousPath(f,u,!0)),w=[l.move(y,x)+l.line(y,x+o/2)+l.line(g,x+o/2)+l.line(g,x+o/2-o/4)+l.line(g,x+o/2+o/4)+l.line(g,x+o/2)+l.line(y,x+o/2)+l.line(y,x+o)+l.line(b,x+o)+l.line(b,x)+l.line(y+a/2,x),l.move(b,x)+l.line(b,x+o)+l.line(v,x+o)+l.line(v,x+o/2)+l.line(m,x+o/2)+l.line(m,x+o-o/4)+l.line(m,x+o/4)+l.line(m,x+o/2)+l.line(v,x+o/2)+l.line(v,x)+l.line(b,x)+"z"],k+=l.move(y,x),s.globals.isXNumeric||(n+=r),{pathTo:w,pathFrom:k,x:v,y:n,barYPosition:x,color:p}}},{key:"getOHLCValue",value:function(t,e){var n=this.w;return{o:this.isBoxPlot?n.globals.seriesCandleH[t][e]:n.globals.seriesCandleO[t][e],h:this.isBoxPlot?n.globals.seriesCandleO[t][e]:n.globals.seriesCandleH[t][e],m:n.globals.seriesCandleM[t][e],l:this.isBoxPlot?n.globals.seriesCandleC[t][e]:n.globals.seriesCandleL[t][e],c:this.isBoxPlot?n.globals.seriesCandleL[t][e]:n.globals.seriesCandleC[t][e]}}}]),n}(),_t=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"checkColorRange",value:function(){var t=this.w,e=!1,n=t.config.plotOptions[t.config.chart.type];return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(t,n){t.from<=0&&(e=!0)})),e}},{key:"getShadeColor",value:function(t,e,n,r){var o=this.w,i=1,a=o.config.plotOptions[t].shadeIntensity,s=this.determineColor(t,e,n);o.globals.hasNegs||r?i=o.config.plotOptions[t].reverseNegativeShade?s.percent<0?s.percent/100*(1.25*a):(1-s.percent/100)*(1.25*a):s.percent<=0?1-(1+s.percent/100)*a:(1-s.percent/100)*a:(i=1-s.percent/100,"treemap"===t&&(i=(1-s.percent/100)*(1.25*a)));var l=s.color,c=new b;return o.config.plotOptions[t].enableShades&&(l="dark"===this.w.config.theme.mode?b.hexToRgba(c.shadeColor(-1*i,s.color),o.config.fill.opacity):b.hexToRgba(c.shadeColor(i,s.color),o.config.fill.opacity)),{color:l,colorProps:s}}},{key:"determineColor",value:function(t,e,n){var r=this.w,o=r.globals.series[e][n],i=r.config.plotOptions[t],a=i.colorScale.inverse?n:e;i.distributed&&"treemap"===r.config.chart.type&&(a=n);var s=r.globals.colors[a],l=null,c=Math.min.apply(Math,m(r.globals.series[e])),u=Math.max.apply(Math,m(r.globals.series[e]));i.distributed||"heatmap"!==t||(c=r.globals.minY,u=r.globals.maxY),void 0!==i.colorScale.min&&(c=i.colorScale.minr.globals.maxY?i.colorScale.max:r.globals.maxY);var p=Math.abs(u)+Math.abs(c),d=100*o/(0===p?p-1e-6:p);return i.colorScale.ranges.length>0&&i.colorScale.ranges.map((function(t,e){if(o>=t.from&&o<=t.to){s=t.color,l=t.foreColor?t.foreColor:null,c=t.from,u=t.to;var n=Math.abs(u)+Math.abs(c);d=100*o/(0===n?n-1e-6:n)}})),{color:s,foreColor:l,percent:d}}},{key:"calculateDataLabels",value:function(t){var e=t.text,n=t.x,r=t.y,o=t.i,i=t.j,a=t.colorProps,s=t.fontSize,l=this.w.config.dataLabels,c=new S(this.ctx),u=new T(this.ctx),p=null;if(l.enabled){p=c.group({class:"apexcharts-data-labels"});var d=l.offsetX,f=l.offsetY,h=n+d,g=r+parseFloat(l.style.fontSize)/3+f;u.plotDataLabelsText({x:h,y:g,text:e,i:o,j:i,color:a.foreColor,parent:p,fontSize:s,dataLabelsConfig:l})}return p}},{key:"addListeners",value:function(t){var e=new S(this.ctx);t.node.addEventListener("mouseenter",e.pathMouseEnter.bind(this,t)),t.node.addEventListener("mouseleave",e.pathMouseLeave.bind(this,t)),t.node.addEventListener("mousedown",e.pathMouseDown.bind(this,t))}}]),t}(),Et=function(){function t(e,n){s(this,t),this.ctx=e,this.w=e.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new _t(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return c(t,[{key:"draw",value:function(t){var e=this.w,n=new S(this.ctx),r=n.group({class:"apexcharts-heatmap"});r.attr("clip-path","url(#gridRectMask".concat(e.globals.cuid,")"));var o=e.globals.gridWidth/e.globals.dataPoints,i=e.globals.gridHeight/e.globals.series.length,a=0,s=!1;this.negRange=this.helpers.checkColorRange();var l=t.slice();e.config.yaxis[0].reversed&&(s=!0,l.reverse());for(var c=s?0:l.length-1;s?c=0;s?c++:c--){var u=n.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:b.escapeString(e.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(this.ctx.series.addCollapsedClassToSeries(u,c),e.config.chart.dropShadow.enabled){var p=e.config.chart.dropShadow;new w(this.ctx).dropShadow(u,p,c)}for(var d=0,f=e.config.plotOptions.heatmap.shadeIntensity,h=0;h-1&&this.pieClicked(p),n.config.dataLabels.enabled){var k=v.x,C=v.y,_=100*f/this.fullAngle+"%";if(0!==f&&n.config.plotOptions.pie.dataLabels.minAngleToShowLabelthis.fullAngle?e.endAngle=e.endAngle-(r+a):r+a=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(s=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(s)>this.fullAngle&&(s-=this.fullAngle);var l=Math.PI*(s-90)/180,c=e.centerX+o*Math.cos(a),u=e.centerY+o*Math.sin(a),p=e.centerX+o*Math.cos(l),d=e.centerY+o*Math.sin(l),f=b.polarToCartesian(e.centerX,e.centerY,e.donutSize,s),h=b.polarToCartesian(e.centerX,e.centerY,e.donutSize,i),g=r>180?1:0,m=["M",c,u,"A",o,o,0,g,1,p,d];return"donut"===e.chartType?[].concat(m,["L",f.x,f.y,"A",e.donutSize,e.donutSize,0,g,0,h.x,h.y,"L",c,u,"z"]).join(" "):"pie"===e.chartType||"polarArea"===e.chartType?[].concat(m,["L",e.centerX,e.centerY,"L",c,u]).join(" "):[].concat(m).join(" ")}},{key:"drawPolarElements",value:function(t){var e=this.w,n=new Q(this.ctx),r=new S(this.ctx),o=new Mt(this.ctx),i=r.group(),a=r.group(),s=n.niceScale(0,Math.ceil(this.maxY),e.config.yaxis[0].tickAmount,0,!0),l=s.result.reverse(),c=s.result.length;this.maxY=s.niceMax;for(var u=e.globals.radialSize,p=u/(c-1),d=0;d1&&t.total.show&&(o=t.total.color);var a=i.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=i.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");n=(0,t.value.formatter)(n,i),r||"function"!=typeof t.total.formatter||(n=t.total.formatter(i));var l=e===t.total.label;e=t.name.formatter(e,l,i),null!==a&&(a.textContent=e),null!==s&&(s.textContent=n),null!==a&&(a.style.fill=o)}},{key:"printDataLabelsInner",value:function(t,e){var n=this.w,r=t.getAttribute("data:value"),o=n.globals.seriesNames[parseInt(t.parentNode.getAttribute("rel"),10)-1];n.globals.series.length>1&&this.printInnerLabels(e,o,r,t);var i=n.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==i&&(i.style.opacity=1)}},{key:"drawSpokes",value:function(t){var e=this,n=this.w,r=new S(this.ctx),o=n.config.plotOptions.polarArea.spokes;if(0!==o.strokeWidth){for(var i=[],a=360/n.globals.series.length,s=0;s1)a&&!e.total.showAlways?l({makeSliceOut:!1,printLabel:!0}):this.printInnerLabels(e,e.total.label,e.total.formatter(o));else if(l({makeSliceOut:!1,printLabel:!0}),!a)if(o.globals.selectedDataPoints.length&&o.globals.series.length>1)if(o.globals.selectedDataPoints[0].length>0){var c=o.globals.selectedDataPoints[0],u=o.globals.dom.baseEl.querySelector(".apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(c));this.printDataLabelsInner(u,e)}else i&&o.globals.selectedDataPoints.length&&0===o.globals.selectedDataPoints[0].length&&(i.style.opacity=0);else i&&o.globals.series.length>1&&(i.style.opacity=0)}}]),t}(),At=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new S(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight0&&(g=e.getPreviousPath(s));for(var m=0;m=10?t.x>0?(n="start",r+=10):t.x<0&&(n="end",r-=10):n="middle",Math.abs(t.y)>=e-10&&(t.y<0?o-=10:t.y>0&&(o+=10)),{textAnchor:n,newX:r,newY:o}}},{key:"getPreviousPath",value:function(t){for(var e=this.w,n=null,r=0;r0&&parseInt(o.realIndex,10)===parseInt(t,10)&&void 0!==e.globals.previousPaths[r].paths[0]&&(n=e.globals.previousPaths[r].paths[0].d)}return n}},{key:"getDataPointsPos",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;t=t||[],e=e||[];for(var r=[],o=0;o=360&&(d=360-Math.abs(this.startAngle)-.1);var f=n.drawPath({d:"",stroke:u,strokeWidth:a*parseInt(c.strokeWidth,10)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var h=c.dropShadow;o.dropShadow(f,h)}l.add(f),f.attr("id","apexcharts-radialbarTrack-"+s),this.animatePaths(f,{centerX:t.centerX,centerY:t.centerY,endAngle:d,startAngle:p,size:t.size,i:s,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:e.globals.easing})}return r}},{key:"drawArcs",value:function(t){var e=this.w,n=new S(this.ctx),r=new j(this.ctx),o=new w(this.ctx),i=n.group(),a=this.getStrokeWidth(t);t.size=t.size-a/2;var s=e.config.plotOptions.radialBar.hollow.background,l=t.size-a*t.series.length-this.margin*t.series.length-a*parseInt(e.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,c=l-e.config.plotOptions.radialBar.hollow.margin;void 0!==e.config.plotOptions.radialBar.hollow.image&&(s=this.drawHollowImage(t,i,l,s));var u=this.drawHollow({size:c,centerX:t.centerX,centerY:t.centerY,fill:s||"transparent"});if(e.config.plotOptions.radialBar.hollow.dropShadow.enabled){var p=e.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(u,p)}var d=1;!this.radialDataLabels.total.show&&e.globals.series.length>1&&(d=0);var f=null;this.radialDataLabels.show&&(f=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:t.centerX,centerY:t.centerY,opacity:d})),"back"===e.config.plotOptions.radialBar.hollow.position&&(i.add(u),f&&i.add(f));var h=!1;e.config.plotOptions.radialBar.inverseOrder&&(h=!0);for(var g=h?t.series.length-1:0;h?g>=0:g100?100:t.series[g])/100,C=Math.round(this.totalAngle*k)+this.startAngle,_=void 0;e.globals.dataChanged&&(x=this.startAngle,_=Math.round(this.totalAngle*b.negToZero(e.globals.previousPaths[g])/100)+x),Math.abs(C)+Math.abs(v)>=360&&(C-=.01),Math.abs(_)+Math.abs(x)>=360&&(_-=.01);var E=C-v,M=Array.isArray(e.config.stroke.dashArray)?e.config.stroke.dashArray[g]:e.config.stroke.dashArray,O=n.drawPath({d:"",stroke:y,strokeWidth:a,fill:"none",fillOpacity:e.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+g,strokeDashArray:M});if(S.setAttrs(O.node,{"data:angle":E,"data:value":t.series[g]}),e.config.chart.dropShadow.enabled){var A=e.config.chart.dropShadow;o.dropShadow(O,A,g)}o.setSelectionFilter(O,0,g),this.addListeners(O,this.radialDataLabels),m.add(O),O.attr({index:0,j:g});var D=0;!this.initialAnim||e.globals.resized||e.globals.dataChanged||(D=e.config.chart.animations.speed),e.globals.dataChanged&&(D=e.config.chart.animations.dynamicAnimation.speed),this.animDur=D/(1.2*t.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(O,{centerX:t.centerX,centerY:t.centerY,endAngle:C,startAngle:v,prevEndAngle:_,prevStartAngle:x,size:t.size,i:g,totalItems:2,animBeginArr:this.animBeginArr,dur:D,shouldSetPrevPaths:!0,easing:e.globals.easing})}return{g:i,elHollow:u,dataLabels:f}}},{key:"drawHollow",value:function(t){var e=new S(this.ctx).drawCircle(2*t.size);return e.attr({class:"apexcharts-radialbar-hollow",cx:t.centerX,cy:t.centerY,r:t.size,fill:t.fill}),e}},{key:"drawHollowImage",value:function(t,e,n,r){var o=this.w,i=new j(this.ctx),a=b.randomId(),s=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)i.clippedImgArea({width:n,height:n,image:s,patternID:"pattern".concat(o.globals.cuid).concat(a)}),r="url(#pattern".concat(o.globals.cuid).concat(a,")");else{var l=o.config.plotOptions.radialBar.hollow.imageWidth,c=o.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=o.globals.dom.Paper.image(s).loaded((function(e){this.move(t.centerX-e.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-e.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));e.add(u)}else{var p=o.globals.dom.Paper.image(s).loaded((function(e){this.move(t.centerX-l/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-c/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)}));e.add(p)}}return r}},{key:"getStrokeWidth",value:function(t){var e=this.w;return t.size*(100-parseInt(e.config.plotOptions.radialBar.hollow.size,10))/100/(t.series.length+1)-this.margin}}]),n}(),jt=function(){function t(e){s(this,t),this.w=e.w,this.lineCtx=e}return c(t,[{key:"sameValueSeriesFix",value:function(t,e){var n=this.w;if("line"===n.config.chart.type&&("gradient"===n.config.fill.type||"gradient"===n.config.fill.type[t])&&new k(this.lineCtx.ctx,n).seriesHaveSameValues(t)){var r=e[t].slice();r[r.length-1]=r[r.length-1]+1e-6,e[t]=r}return e}},{key:"calculatePoints",value:function(t){var e=t.series,n=t.realIndex,r=t.x,o=t.y,i=t.i,a=t.j,s=t.prevY,l=this.w,c=[],u=[];if(0===a){var p=this.lineCtx.categoryAxisCorrection+l.config.markers.offsetX;l.globals.isXNumeric&&(p=(l.globals.seriesX[n][0]-l.globals.minX)/this.lineCtx.xRatio+l.config.markers.offsetX),c.push(p),u.push(b.isNumber(e[i][0])?s+l.config.markers.offsetY:null),c.push(r+l.config.markers.offsetX),u.push(b.isNumber(e[i][a+1])?o+l.config.markers.offsetY:null)}else c.push(r+l.config.markers.offsetX),u.push(b.isNumber(e[i][a+1])?o+l.config.markers.offsetY:null);return{x:c,y:u}}},{key:"checkPreviousPaths",value:function(t){for(var e=t.pathFromLine,n=t.pathFromArea,r=t.realIndex,o=this.w,i=0;i0&&parseInt(a.realIndex,10)===parseInt(r,10)&&("line"===a.type?(this.lineCtx.appendPathFrom=!1,e=o.globals.previousPaths[i].paths[0].d):"area"===a.type&&(this.lineCtx.appendPathFrom=!1,n=o.globals.previousPaths[i].paths[0].d,o.config.stroke.show&&o.globals.previousPaths[i].paths[1]&&(e=o.globals.previousPaths[i].paths[1].d)))}return{pathFromLine:e,pathFromArea:n}}},{key:"determineFirstPrevY",value:function(t){var e=t.i,n=t.series,r=t.prevY,o=t.lineYPosition,i=this.w;if(void 0!==n[e][0])r=(o=i.config.chart.stacked&&e>0?this.lineCtx.prevSeriesY[e-1][0]:this.lineCtx.zeroY)-n[e][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]+2*(this.lineCtx.isReversed?n[e][0]/this.lineCtx.yRatio[this.lineCtx.yaxisIndex]:0);else if(i.config.chart.stacked&&e>0&&void 0===n[e][0])for(var a=e-1;a>=0;a--)if(null!==n[a][0]&&void 0!==n[a][0]){r=o=this.lineCtx.prevSeriesY[a][0];break}return{prevY:r,lineYPosition:o}}}]),t}(),It=function(){function t(e,n,r){s(this,t),this.ctx=e,this.w=e.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||r,this.scatter=new L(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new jt(this),this.markers=new I(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return c(t,[{key:"draw",value:function(t,e,n){var r=this.w,o=new S(this.ctx),i=r.globals.comboCharts?e:r.config.chart.type,a=o.group({class:"apexcharts-".concat(i,"-series apexcharts-plot-series")}),s=new k(this.ctx,r);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,t=s.getLogSeries(t),this.yRatio=s.getLogYRatios(this.yRatio);for(var l=[],c=0;c0&&(f=(r.globals.seriesX[u][0]-r.globals.minX)/this.xRatio),d.push(f);var h,g=f,m=g,y=this.zeroY;y=this.lineHelpers.determineFirstPrevY({i:c,series:t,prevY:y,lineYPosition:0}).prevY,p.push(y),h=y;var v=this._calculatePathsFrom({series:t,i:c,realIndex:u,prevX:m,prevY:y}),b=this._iterateOverDataPoints({series:t,realIndex:u,i:c,x:f,y:1,pX:g,pY:h,pathsFrom:v,linePaths:[],areaPaths:[],seriesIndex:n,lineYPosition:0,xArrj:d,yArrj:p});this._handlePaths({type:i,realIndex:u,i:c,paths:b}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),l.push(this.elSeries)}if(r.config.chart.stacked)for(var x=l.length;x>0;x--)a.add(l[x-1]);else for(var w=0;w1&&(this.yaxisIndex=n),this.isReversed=r.config.yaxis[this.yaxisIndex]&&r.config.yaxis[this.yaxisIndex].reversed,this.zeroY=r.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?r.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),this.areaBottomY=this.zeroY,(this.zeroY>r.globals.gridHeight||"end"===r.config.plotOptions.area.fillTo)&&(this.areaBottomY=r.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=o.group({class:"apexcharts-series",seriesName:b.escapeString(r.globals.seriesNames[n])}),this.elPointsMain=o.group({class:"apexcharts-series-markers-wrap","data:realIndex":n}),this.elDataLabelsWrap=o.group({class:"apexcharts-datalabels","data:realIndex":n});var i=t[e].length===r.globals.dataPoints;this.elSeries.attr({"data:longestSeries":i,rel:e+1,"data:realIndex":n}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(t){var e,n,r,o,i=t.series,a=t.i,s=t.realIndex,l=t.prevX,c=t.prevY,u=this.w,p=new S(this.ctx);if(null===i[a][0]){for(var d=0;d0){var f=this.lineHelpers.checkPreviousPaths({pathFromLine:r,pathFromArea:o,realIndex:s});r=f.pathFromLine,o=f.pathFromArea}return{prevX:l,prevY:c,linePath:e,areaPath:n,pathFromLine:r,pathFromArea:o}}},{key:"_handlePaths",value:function(t){var e=t.type,n=t.realIndex,r=t.i,o=t.paths,a=this.w,s=new S(this.ctx),l=new j(this.ctx);this.prevSeriesY.push(o.yArrj),a.globals.seriesXvalues[n]=o.xArrj,a.globals.seriesYvalues[n]=o.yArrj;var c=a.config.forecastDataPoints;if(c.count>0){var u=a.globals.seriesXvalues[n][a.globals.seriesXvalues[n].length-c.count-1],p=s.drawRect(u,0,a.globals.gridWidth,a.globals.gridHeight,0);a.globals.dom.elForecastMask.appendChild(p.node);var d=s.drawRect(0,0,u,a.globals.gridHeight,0);a.globals.dom.elNonForecastMask.appendChild(d.node)}this.pointsChart||a.globals.delayedElements.push({el:this.elPointsMain.node,index:n});var f={i:r,realIndex:n,animationDelay:r,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(e)};if("area"===e)for(var h=l.fillPath({seriesNumber:n}),g=0;g0){var k=s.renderPaths(x);k.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&k.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(k),k.attr("clip-path","url(#forecastMask".concat(a.globals.cuid,")")),w.attr("clip-path","url(#nonForecastMask".concat(a.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(t){for(var e=t.series,n=t.realIndex,r=t.i,o=t.x,i=t.y,a=t.pX,s=t.pY,l=t.pathsFrom,c=t.linePaths,u=t.areaPaths,p=t.seriesIndex,d=t.lineYPosition,f=t.xArrj,h=t.yArrj,g=this.w,m=new S(this.ctx),y=this.yRatio,v=l.prevY,x=l.linePath,w=l.areaPath,k=l.pathFromLine,C=l.pathFromArea,_=b.isNumber(g.globals.minYArr[n])?g.globals.minYArr[n]:g.globals.minY,E=g.globals.dataPoints>1?g.globals.dataPoints-1:g.globals.dataPoints,M=0;M0&&g.globals.collapsedSeries.length-1){e--;break}return e>=0?e:0}(r-1)][M+1]:this.zeroY,i=O?d-_/y[this.yaxisIndex]+2*(this.isReversed?_/y[this.yaxisIndex]:0):d-e[r][M+1]/y[this.yaxisIndex]+2*(this.isReversed?e[r][M+1]/y[this.yaxisIndex]:0),f.push(o),h.push(i);var D=this.lineHelpers.calculatePoints({series:e,x:o,y:i,realIndex:n,i:r,j:M,prevY:v}),j=this._createPaths({series:e,i:r,realIndex:n,j:M,x:o,y:i,pX:a,pY:s,linePath:x,areaPath:w,linePaths:c,areaPaths:u,seriesIndex:p});u=j.areaPaths,c=j.linePaths,a=j.pX,s=j.pY,w=j.areaPath,x=j.linePath,this.appendPathFrom&&(k+=m.line(o,this.zeroY),C+=m.line(o,this.zeroY)),this.handleNullDataPoints(e,D,r,M,n),this._handleMarkersAndLabels({pointsPos:D,series:e,x:o,y:i,prevY:v,i:r,j:M,realIndex:n})}return{yArrj:h,xArrj:f,pathFromArea:C,areaPaths:u,pathFromLine:k,linePaths:c}}},{key:"_handleMarkersAndLabels",value:function(t){var e=t.pointsPos;t.series,t.x,t.y,t.prevY;var n=t.i,r=t.j,o=t.realIndex,i=this.w,a=new T(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,r,{realIndex:o,pointsPos:e,zRatio:this.zRatio,elParent:this.elPointsMain});else{i.globals.series[n].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var s=this.markers.plotChartMarkers(e,o,r+1);null!==s&&this.elPointsMain.add(s)}var l=a.drawDataLabel(e,o,r+1,null);null!==l&&this.elDataLabelsWrap.add(l)}},{key:"_createPaths",value:function(t){var e=t.series,n=t.i,r=t.realIndex,o=t.j,i=t.x,a=t.y,s=t.pX,l=t.pY,c=t.linePath,u=t.areaPath,p=t.linePaths,d=t.areaPaths,f=t.seriesIndex,h=this.w,g=new S(this.ctx),m=h.config.stroke.curve,y=this.areaBottomY;if(Array.isArray(h.config.stroke.curve)&&(m=Array.isArray(f)?h.config.stroke.curve[f[n]]:h.config.stroke.curve[n]),"smooth"===m){var v=.35*(i-s);h.globals.hasNullValues?(null!==e[n][o]&&(null!==e[n][o+1]?(c=g.move(s,l)+g.curve(s+v,l,i-v,a,i+1,a),u=g.move(s+1,l)+g.curve(s+v,l,i-v,a,i+1,a)+g.line(i,y)+g.line(s,y)+"z"):(c=g.move(s,l),u=g.move(s,l)+"z")),p.push(c),d.push(u)):(c+=g.curve(s+v,l,i-v,a,i,a),u+=g.curve(s+v,l,i-v,a,i,a)),s=i,l=a,o===e[n].length-2&&(u=u+g.curve(s,l,i,a,i,y)+g.move(i,a)+"z",h.globals.hasNullValues||(p.push(c),d.push(u)))}else{if(null===e[n][o+1]){c+=g.move(i,a);var b=h.globals.isXNumeric?(h.globals.seriesX[r][o]-h.globals.minX)/this.xRatio:i-this.xDivision;u=u+g.line(b,y)+g.move(i,a)+"z"}null===e[n][o]&&(c+=g.move(i,a),u+=g.move(i,y)),"stepline"===m?(c=c+g.line(i,null,"H")+g.line(null,a,"V"),u=u+g.line(i,null,"H")+g.line(null,a,"V")):"straight"===m&&(c+=g.line(i,a),u+=g.line(i,a)),o===e[n].length-2&&(u=u+g.line(i,y)+g.move(i,a)+"z",p.push(c),d.push(u))}return{linePaths:p,areaPaths:d,pX:s,pY:l,linePath:c,areaPath:u}}},{key:"handleNullDataPoints",value:function(t,e,n,r,o){var i=this.w;if(null===t[n][r]&&i.config.markers.showNullDataPoints||1===t[n].length){var a=this.markers.plotChartMarkers(e,o,r+1,this.strokeWidth-i.config.markers.strokeWidth/2,!0);null!==a&&this.elPointsMain.add(a)}}}]),t}();window.TreemapSquared={},window.TreemapSquared.generate=function(){function t(e,n,r,o){this.xoffset=e,this.yoffset=n,this.height=o,this.width=r,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(t){var e,n=[],r=this.xoffset,o=this.yoffset,a=i(t)/this.height,s=i(t)/this.width;if(this.width>=this.height)for(e=0;e=this.height){var r=e/this.height,o=this.width-r;n=new t(this.xoffset+r,this.yoffset,o,this.height)}else{var i=e/this.width,a=this.height-i;n=new t(this.xoffset,this.yoffset+i,this.width,a)}return n}}function e(e,r,o,a,s){return a=void 0===a?0:a,s=void 0===s?0:s,function(t){var e,n,r=[];for(e=0;e=r(o,n))}(e,l=t[0],s)?(e.push(l),n(t.slice(1),e,o,a)):(c=o.cutArea(i(e),a),a.push(o.getCoordinates(e)),n(t,[],c,a)),a;a.push(o.getCoordinates(e))}function r(t,e){var n=Math.min.apply(Math,t),r=Math.max.apply(Math,t),o=i(t);return Math.max(Math.pow(e,2)*r/Math.pow(o,2),Math.pow(o,2)/(Math.pow(e,2)*n))}function o(t){return t&&t.constructor===Array}function i(t){var e,n=0;for(e=0;ei-r&&l.width<=a-o){var c=s.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(-90 ".concat(c.x," ").concat(c.y,")"))}}},{key:"animateTreemap",value:function(t,e,n,r){var o=new x(this.ctx);o.animateRect(t,{x:e.x,y:e.y,width:e.width,height:e.height},{x:n.x,y:n.y,width:n.width,height:n.height},r,(function(){o.animationCompleted(t)}))}}]),t}(),Pt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return c(t,[{key:"calculateTimeScaleTicks",value:function(t,e){var n=this,r=this.w;if(r.globals.allSeriesCollapsed)return r.globals.labels=[],r.globals.timescaleLabels=[],[];var o=new B(this.ctx),a=(e-t)/864e5;this.determineInterval(a),r.globals.disableZoomIn=!1,r.globals.disableZoomOut=!1,a<.00011574074074074075?r.globals.disableZoomIn=!0:a>5e4&&(r.globals.disableZoomOut=!0);var s=o.getTimeUnitsfromTimestamp(t,e,this.utc),l=r.globals.gridWidth/a,c=l/24,u=c/60,p=u/60,d=Math.floor(24*a),f=Math.floor(1440*a),h=Math.floor(86400*a),g=Math.floor(a),m=Math.floor(a/30),y=Math.floor(a/365),v={minMillisecond:s.minMillisecond,minSecond:s.minSecond,minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},b={firstVal:v,currentMillisecond:v.minMillisecond,currentSecond:v.minSecond,currentMinute:v.minMinute,currentHour:v.minHour,currentMonthDate:v.minDate,currentDate:v.minDate,currentMonth:v.minMonth,currentYear:v.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,secondsWidthOnXAxis:p,numberOfSeconds:h,numberOfMinutes:f,numberOfHours:d,numberOfDays:g,numberOfMonths:m,numberOfYears:y};switch(this.tickInterval){case"years":this.generateYearScale(b);break;case"months":case"half_year":this.generateMonthScale(b);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(b);break;case"hours":this.generateHourScale(b);break;case"minutes_fives":case"minutes":this.generateMinuteScale(b);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(b)}var x=this.timeScaleArray.map((function(t){var e={position:t.position,unit:t.unit,year:t.year,day:t.day?t.day:1,hour:t.hour?t.hour:0,month:t.month+1};return"month"===t.unit?i(i({},e),{},{day:1,value:t.value+1}):"day"===t.unit||"hour"===t.unit?i(i({},e),{},{value:t.value}):"minute"===t.unit?i(i({},e),{},{value:t.value,minute:t.value}):"second"===t.unit?i(i({},e),{},{value:t.value,minute:t.minute,second:t.second}):t}));return x.filter((function(t){var e=1,o=Math.ceil(r.globals.gridWidth/120),i=t.value;void 0!==r.config.xaxis.tickAmount&&(o=r.config.xaxis.tickAmount),x.length>o&&(e=Math.floor(x.length/o));var a=!1,s=!1;switch(n.tickInterval){case"years":"year"===t.unit&&(a=!0);break;case"half_year":e=7,"year"===t.unit&&(a=!0);break;case"months":e=1,"year"===t.unit&&(a=!0);break;case"months_fortnight":e=15,"year"!==t.unit&&"month"!==t.unit||(a=!0),30===i&&(s=!0);break;case"months_days":e=10,"month"===t.unit&&(a=!0),30===i&&(s=!0);break;case"week_days":e=8,"month"===t.unit&&(a=!0);break;case"days":e=1,"month"===t.unit&&(a=!0);break;case"hours":"day"===t.unit&&(a=!0);break;case"minutes_fives":case"seconds_fives":i%5!=0&&(s=!0);break;case"seconds_tens":i%10!=0&&(s=!0)}if("hours"===n.tickInterval||"minutes_fives"===n.tickInterval||"seconds_tens"===n.tickInterval||"seconds_fives"===n.tickInterval){if(!s)return!0}else if((i%e==0||a)&&!s)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(t,e){var n=this.w,r=this.formatDates(t),o=this.removeOverlappingTS(r);n.globals.timescaleLabels=o.slice(),new pt(this.ctx).plotCoords()}},{key:"determineInterval",value:function(t){var e=24*t,n=60*e;switch(!0){case t/365>5:this.tickInterval="years";break;case t>800:this.tickInterval="half_year";break;case t>180:this.tickInterval="months";break;case t>90:this.tickInterval="months_fortnight";break;case t>60:this.tickInterval="months_days";break;case t>30:this.tickInterval="week_days";break;case t>2:this.tickInterval="days";break;case e>2.4:this.tickInterval="hours";break;case n>15:this.tickInterval="minutes_fives";break;case n>5:this.tickInterval="minutes";break;case n>1:this.tickInterval="seconds_tens";break;case 60*n>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(t){var e=t.firstVal,n=t.currentMonth,r=t.currentYear,o=t.daysWidthOnXAxis,i=t.numberOfYears,a=e.minYear,s=0,l=new B(this.ctx),c="year";if(e.minDate>1||e.minMonth>0){var u=l.determineRemainingDaysOfYear(e.minYear,e.minMonth,e.minDate);s=(l.determineDaysOfYear(e.minYear)-u+1)*o,a=e.minYear+1,this.timeScaleArray.push({position:s,value:a,unit:c,year:a,month:b.monthMod(n+1)})}else 1===e.minDate&&0===e.minMonth&&this.timeScaleArray.push({position:s,value:a,unit:c,year:r,month:b.monthMod(n+1)});for(var p=a,d=s,f=0;f1){l=(c.determineDaysOfMonths(r+1,e.minYear)-n+1)*i,s=b.monthMod(r+1);var d=o+p,f=b.monthMod(s),h=s;0===s&&(u="year",h=d,f=1,d+=p+=1),this.timeScaleArray.push({position:l,value:h,unit:u,year:d,month:f})}else this.timeScaleArray.push({position:l,value:s,unit:u,year:o,month:b.monthMod(r)});for(var g=s+1,m=l,y=0,v=1;ya.determineDaysOfMonths(e+1,n)?(c=1,s="month",d=e+=1,e):e},p=(24-e.minHour)*o,d=l,f=u(c,n,r);0===e.minHour&&1===e.minDate?(p=0,d=b.monthMod(e.minMonth),s="month",c=e.minDate,i++):1!==e.minDate&&0===e.minHour&&0===e.minMinute&&(p=0,l=e.minDate,d=l,f=u(c=l,n,r)),this.timeScaleArray.push({position:p,value:d,unit:s,year:this._getYear(r,f,0),month:b.monthMod(f),day:c});for(var h=p,g=0;gs.determineDaysOfMonths(e+1,o)&&(g=1,e+=1),{month:e,date:g}},u=function(t,e){return t>s.determineDaysOfMonths(e+1,o)?e+=1:e},p=60-(e.minMinute+e.minSecond/60),d=p*i,f=e.minHour+1,h=f+1;60===p&&(d=0,h=(f=e.minHour)+1);var g=n,m=u(g,r);this.timeScaleArray.push({position:d,value:f,unit:l,day:g,hour:h,year:o,month:b.monthMod(m)});for(var y=d,v=0;v=24&&(h=0,l="day",m=c(g+=1,m).month,m=u(g,m));var x=this._getYear(o,m,0);y=0===h&&0===v?p*i:60*i+y;var w=0===h?g:h;this.timeScaleArray.push({position:y,value:w,unit:l,hour:h,day:g,year:x,month:b.monthMod(m)}),h++}}},{key:"generateMinuteScale",value:function(t){for(var e=t.currentMillisecond,n=t.currentSecond,r=t.currentMinute,o=t.currentHour,i=t.currentDate,a=t.currentMonth,s=t.currentYear,l=t.minutesWidthOnXAxis,c=t.secondsWidthOnXAxis,u=t.numberOfMinutes,p=r+1,d=i,f=a,h=s,g=o,m=(60-n-e/1e3)*c,y=0;y=60&&(p=0,24===(g+=1)&&(g=0)),this.timeScaleArray.push({position:m,value:p,unit:"minute",hour:g,minute:p,day:d,year:this._getYear(h,f,0),month:b.monthMod(f)}),m+=l,p++}},{key:"generateSecondScale",value:function(t){for(var e=t.currentMillisecond,n=t.currentSecond,r=t.currentMinute,o=t.currentHour,i=t.currentDate,a=t.currentMonth,s=t.currentYear,l=t.secondsWidthOnXAxis,c=t.numberOfSeconds,u=n+1,p=r,d=i,f=a,h=s,g=o,m=(1e3-e)/1e3*l,y=0;y=60&&(u=0,++p>=60&&(p=0,24==++g&&(g=0))),this.timeScaleArray.push({position:m,value:u,unit:"second",hour:g,minute:p,second:u,day:d,year:this._getYear(h,f,0),month:b.monthMod(f)}),m+=l,u++}},{key:"createRawDateString",value:function(t,e){var n=t.year;return 0===t.month&&(t.month=1),n+="-"+("0"+t.month.toString()).slice(-2),"day"===t.unit?n+="day"===t.unit?"-"+("0"+e).slice(-2):"-01":n+="-"+("0"+(t.day?t.day:"1")).slice(-2),"hour"===t.unit?n+="hour"===t.unit?"T"+("0"+e).slice(-2):"T00":n+="T"+("0"+(t.hour?t.hour:"0")).slice(-2),"minute"===t.unit?n+=":"+("0"+e).slice(-2):n+=":"+(t.minute?("0"+t.minute).slice(-2):"00"),"second"===t.unit?n+=":"+("0"+e).slice(-2):n+=":00",this.utc&&(n+=".000Z"),n}},{key:"formatDates",value:function(t){var e=this,n=this.w;return t.map((function(t){var r=t.value.toString(),o=new B(e.ctx),i=e.createRawDateString(t,r),a=o.getDate(o.parseDate(i));if(e.utc||(a=o.getDate(o.parseDateWithTimezone(i))),void 0===n.config.xaxis.labels.format){var s="dd MMM",l=n.config.xaxis.labels.datetimeFormatter;"year"===t.unit&&(s=l.year),"month"===t.unit&&(s=l.month),"day"===t.unit&&(s=l.day),"hour"===t.unit&&(s=l.hour),"minute"===t.unit&&(s=l.minute),"second"===t.unit&&(s=l.second),r=o.formatDate(a,s)}else r=o.formatDate(a,n.config.xaxis.labels.format);return{dateString:i,position:t.position,value:r,unit:t.unit,year:t.year,month:t.month}}))}},{key:"removeOverlappingTS",value:function(t){var e,n=this,r=new S(this.ctx),o=!1;t.length>0&&t[0].value&&t.every((function(e){return e.value.length===t[0].value.length}))&&(o=!0,e=r.getTextRects(t[0].value).width);var i=0,a=t.map((function(a,s){if(s>0&&n.w.config.xaxis.labels.hideOverlappingLabels){var l=o?e:r.getTextRects(t[i].value).width,c=t[i].position;return a.position>c+l+10?(i=s,a):null}return a}));return a.filter((function(t){return null!==t}))}},{key:"_getYear",value:function(t,e,n){return t+Math.floor(e/12)+n}}]),t}(),zt=function(){function t(e,n){s(this,t),this.ctx=n,this.w=n.w,this.el=e}return c(t,[{key:"setupElements",value:function(){var t=this.w.globals,e=this.w.config,n=e.chart.type;t.axisCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].indexOf(n)>-1,t.xyCharts=["line","area","bar","rangeBar","candlestick","boxPlot","scatter","bubble"].indexOf(n)>-1,t.isBarHorizontal=("bar"===e.chart.type||"rangeBar"===e.chart.type||"boxPlot"===e.chart.type)&&e.plotOptions.bar.horizontal,t.chartClass=".apexcharts"+t.chartID,t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),S.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas "+t.chartClass.substring(1)}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=new window.SVG.Doc(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(e.chart.offsetX,", ").concat(e.chart.offsetY,")")}),t.dom.Paper.node.style.background=e.chart.background,this.setSVGDimensions(),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elAnnotations=t.dom.Paper.group().attr({class:"apexcharts-annotations"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(t,e){var n=this.w,r=n.config,o=n.globals,i={series:[],i:[]},a={series:[],i:[]},s={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]},u={series:[],i:[]},p={series:[],i:[]};o.series.map((function(e,d){var f=0;void 0!==t[d].type?("column"===t[d].type||"bar"===t[d].type?(o.series.length>1&&r.plotOptions.bar.horizontal&&console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"),c.series.push(e),c.i.push(d),f++,n.globals.columnSeries=c.series):"area"===t[d].type?(a.series.push(e),a.i.push(d),f++):"line"===t[d].type?(i.series.push(e),i.i.push(d),f++):"scatter"===t[d].type?(s.series.push(e),s.i.push(d)):"bubble"===t[d].type?(l.series.push(e),l.i.push(d),f++):"candlestick"===t[d].type?(u.series.push(e),u.i.push(d),f++):"boxPlot"===t[d].type?(p.series.push(e),p.i.push(d),f++):console.warn("You have specified an unrecognized chart type. Available types for this property are line/area/column/bar/scatter/bubble"),f>1&&(o.comboCharts=!0)):(i.series.push(e),i.i.push(d))}));var d=new It(this.ctx,e),f=new Ct(this.ctx,e);this.ctx.pie=new Ot(this.ctx);var h=new Dt(this.ctx);this.ctx.rangeBar=new F(this.ctx,e);var g=new At(this.ctx),m=[];if(o.comboCharts){if(a.series.length>0&&m.push(d.draw(a.series,"area",a.i)),c.series.length>0)if(n.config.chart.stacked){var y=new kt(this.ctx,e);m.push(y.draw(c.series,c.i))}else this.ctx.bar=new R(this.ctx,e),m.push(this.ctx.bar.draw(c.series,c.i));if(i.series.length>0&&m.push(d.draw(i.series,"line",i.i)),u.series.length>0&&m.push(f.draw(u.series,u.i)),p.series.length>0&&m.push(f.draw(p.series,p.i)),s.series.length>0){var v=new It(this.ctx,e,!0);m.push(v.draw(s.series,"scatter",s.i))}if(l.series.length>0){var b=new It(this.ctx,e,!0);m.push(b.draw(l.series,"bubble",l.i))}}else switch(r.chart.type){case"line":m=d.draw(o.series,"line");break;case"area":m=d.draw(o.series,"area");break;case"bar":r.chart.stacked?m=new kt(this.ctx,e).draw(o.series):(this.ctx.bar=new R(this.ctx,e),m=this.ctx.bar.draw(o.series));break;case"candlestick":case"boxPlot":m=new Ct(this.ctx,e).draw(o.series);break;case"rangeBar":m=this.ctx.rangeBar.draw(o.series);break;case"heatmap":m=new Et(this.ctx,e).draw(o.series);break;case"treemap":m=new Nt(this.ctx,e).draw(o.series);break;case"pie":case"donut":case"polarArea":m=this.ctx.pie.draw(o.series);break;case"radialBar":m=h.draw(o.series);break;case"radar":m=g.draw(o.series);break;default:m=d.draw(o.series)}return m}},{key:"setSVGDimensions",value:function(){var t=this.w.globals,e=this.w.config;t.svgWidth=e.chart.width,t.svgHeight=e.chart.height;var n=b.getDimensions(this.el),r=e.chart.width.toString().split(/[0-9]+/g).pop();"%"===r?b.isNumber(n[0])&&(0===n[0].width&&(n=b.getDimensions(this.el.parentNode)),t.svgWidth=n[0]*parseInt(e.chart.width,10)/100):"px"!==r&&""!==r||(t.svgWidth=parseInt(e.chart.width,10));var o=e.chart.height.toString().split(/[0-9]+/g).pop();if("auto"!==t.svgHeight&&""!==t.svgHeight)if("%"===o){var i=b.getDimensions(this.el.parentNode);t.svgHeight=i[1]*parseInt(e.chart.height,10)/100}else t.svgHeight=parseInt(e.chart.height,10);else t.axisCharts?t.svgHeight=t.svgWidth/1.61:t.svgHeight=t.svgWidth/1.2;if(t.svgWidth<0&&(t.svgWidth=0),t.svgHeight<0&&(t.svgHeight=0),S.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),"%"!==o){var a=e.chart.sparkline.enabled?0:t.axisCharts?e.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight=t.svgHeight+a+"px"}t.dom.elWrap.style.width=t.svgWidth+"px",t.dom.elWrap.style.height=t.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var t=this.w.globals,e=t.translateY,n={transform:"translate("+t.translateX+", "+e+")"};S.setAttrs(t.dom.elGraphical.node,n)}},{key:"resizeNonAxisCharts",value:function(){var t=this.w,e=t.globals,n=0,r=t.config.chart.sparkline.enabled?1:15;r+=t.config.grid.padding.bottom,"top"!==t.config.legend.position&&"bottom"!==t.config.legend.position||!t.config.legend.show||t.config.legend.floating||(n=new ft(this.ctx).legendHelpers.getLegendBBox().clwh+10);var o=t.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),i=2.05*t.globals.radialSize;if(o&&!t.config.chart.sparkline.enabled&&0!==t.config.plotOptions.radialBar.startAngle){var a=b.getBoundingClientRect(o);i=a.bottom;var s=a.bottom-a.top;i=Math.max(2.05*t.globals.radialSize,s)}var l=i+e.translateY+n+r;e.dom.elLegendForeign&&e.dom.elLegendForeign.setAttribute("height",l),t.config.chart.height&&String(t.config.chart.height).indexOf("%")>0||(e.dom.elWrap.style.height=l+"px",S.setAttrs(e.dom.Paper.node,{height:l}),e.dom.Paper.node.parentNode.parentNode.style.minHeight=l+"px")}},{key:"coreCalculations",value:function(){new J(this.ctx).init()}},{key:"resetGlobals",value:function(){var t=this,e=function(){return t.w.config.series.map((function(t){return[]}))},n=new Y,r=this.w.globals;n.initGlobalVars(r),r.seriesXvalues=e(),r.seriesYvalues=e()}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"xySettings",value:function(){var t=null,e=this.w;if(e.globals.axisCharts){if("back"===e.config.xaxis.crosshairs.position&&new rt(this.ctx).drawXCrosshairs(),"back"===e.config.yaxis[0].crosshairs.position&&new rt(this.ctx).drawYCrosshairs(),"datetime"===e.config.xaxis.type&&void 0===e.config.xaxis.labels.formatter){this.ctx.timeScale=new Pt(this.ctx);var n=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?n=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(n=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(n)}t=new k(this.ctx).getCalculatedRatios()}return t}},{key:"updateSourceChart",value:function(t){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:t.w.globals.minX,max:t.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var t=this,e=this.w;if(e.config.chart.brush.enabled&&"function"!=typeof e.config.chart.events.selection){var n=e.config.chart.brush.targets||[e.config.chart.brush.target];n.forEach((function(e){var n=ApexCharts.getChartByID(e);n.w.globals.brushSource=t.ctx,"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){t.updateSourceChart(n)}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){t.updateSourceChart(n)})})),e.config.chart.events.selection=function(t,r){n.forEach((function(t){var n=ApexCharts.getChartByID(t),o=b.clone(e.config.yaxis);if(e.config.chart.brush.autoScaleYaxis&&1===n.w.globals.series.length){var a=new Q(n);o=a.autoScaleY(n,o,r)}var s=n.w.config.yaxis.reduce((function(t,e,r){return[].concat(m(t),[i(i({},n.w.config.yaxis[r]),{},{min:o[0].min,max:o[0].max})])}),[]);n.ctx.updateHelpers._updateOptions({xaxis:{min:r.xaxis.min,max:r.xaxis.max},yaxis:s},!1,!1,!1,!1)}))}}}}]),t}(),Rt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"_updateOptions",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return new Promise((function(s){var l=[e.ctx];o&&(l=e.ctx.getSyncedCharts()),e.ctx.w.globals.isExecCalled&&(l=[e.ctx],e.ctx.w.globals.isExecCalled=!1),l.forEach((function(o,c){var u=o.w;if(u.globals.shouldAnimate=r,n||(u.globals.resized=!0,u.globals.dataChanged=!0,r&&o.series.getPreviousPaths()),t&&"object"===a(t)&&(o.config=new U(t),t=k.extendArrayProps(o.config,t,u),o.w.globals.chartID!==e.ctx.w.globals.chartID&&delete t.series,u.config=b.extend(u.config,t),i&&(u.globals.lastXAxis=t.xaxis?b.clone(t.xaxis):[],u.globals.lastYAxis=t.yaxis?b.clone(t.yaxis):[],u.globals.initialConfig=b.extend({},u.config),u.globals.initialSeries=b.clone(u.config.series),t.series))){for(var p=0;p2&&void 0!==arguments[2]&&arguments[2];return new Promise((function(o){var i,a=n.w;return a.globals.shouldAnimate=e,a.globals.dataChanged=!0,e&&n.ctx.series.getPreviousPaths(),a.globals.axisCharts?(0===(i=t.map((function(t,e){return n._extendSeries(t,e)}))).length&&(i=[{data:[]}]),a.config.series=i):a.config.series=t.slice(),r&&(a.globals.initialConfig.series=b.clone(a.config.series),a.globals.initialSeries=b.clone(a.config.series)),n.ctx.update().then((function(){o(n.ctx)}))}))}},{key:"_extendSeries",value:function(t,e){var n=this.w,r=n.config.series[e];return i(i({},n.config.series[e]),{},{name:t.name?t.name:r&&r.name,color:t.color?t.color:r&&r.color,type:t.type?t.type:r&&r.type,data:t.data?t.data:r&&r.data})}},{key:"toggleDataPointSelection",value:function(t,e){var n=this.w,r=null,o=".apexcharts-series[data\\:realIndex='".concat(t,"']");return n.globals.axisCharts?r=n.globals.dom.Paper.select("".concat(o," path[j='").concat(e,"'], ").concat(o," circle[j='").concat(e,"'], ").concat(o," rect[j='").concat(e,"']")).members[0]:void 0===e&&(r=n.globals.dom.Paper.select("".concat(o," path[j='").concat(t,"']")).members[0],"pie"!==n.config.chart.type&&"polarArea"!==n.config.chart.type&&"donut"!==n.config.chart.type||this.ctx.pie.pieClicked(t)),r?(new S(this.ctx).pathMouseDown(r,null),r.node?r.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(t){var e=this.w;if(["min","max"].forEach((function(n){void 0!==t.xaxis[n]&&(e.config.xaxis[n]=t.xaxis[n],e.globals.lastXAxis[n]=t.xaxis[n])})),t.xaxis.categories&&t.xaxis.categories.length&&(e.config.xaxis.categories=t.xaxis.categories),e.config.xaxis.convertedCatToNumeric){var n=new H(t);t=n.convertCatToNumericXaxis(t,this.ctx)}return t}},{key:"forceYAxisUpdate",value:function(t){return t.chart&&t.chart.stacked&&"100%"===t.chart.stackType&&(Array.isArray(t.yaxis)?t.yaxis.forEach((function(e,n){t.yaxis[n].min=0,t.yaxis[n].max=100})):(t.yaxis.min=0,t.yaxis.max=100)),t}},{key:"revertDefaultAxisMinMax",value:function(t){var e=this,n=this.w,r=n.globals.lastXAxis,o=n.globals.lastYAxis;t&&t.xaxis&&(r=t.xaxis),t&&t.yaxis&&(o=t.yaxis),n.config.xaxis.min=r.min,n.config.xaxis.max=r.max,n.config.yaxis.map((function(t,r){n.globals.zoomed||void 0!==o[r]?function(t){void 0!==o[t]&&(n.config.yaxis[t].min=o[t].min,n.config.yaxis[t].max=o[t].max)}(r):void 0!==e.ctx.opts.yaxis[r]&&(t.min=e.ctx.opts.yaxis[r].min,t.max=e.ctx.opts.yaxis[r].max)}))}}]),t}();Lt="undefined"!=typeof window?window:void 0,Tt=function(t,e){var n=(void 0!==this?this:t).SVG=function(t){if(n.supported)return t=new n.Doc(t),n.parser.draw||n.prepare(),t};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.dev",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(t){return"Svgjs"+p(t)+n.did++},n.create=function(t){var n=e.createElementNS(this.ns,t);return n.setAttribute("id",this.eid(t)),n},n.extend=function(){var t,e;e=(t=[].slice.call(arguments)).pop();for(var r=t.length-1;r>=0;r--)if(t[r])for(var o in e)t[r].prototype[o]=e[o];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(t){var e="function"==typeof t.create?t.create:function(){this.constructor.call(this,n.create(t.create))};return t.inherit&&(e.prototype=new t.inherit),t.extend&&n.extend(e,t.extend),t.construct&&n.extend(t.parent||n.Container,t.construct),e},n.adopt=function(e){return e?e.instance?e.instance:((r="svg"==e.nodeName?e.parentNode instanceof t.SVGElement?new n.Nested:new n.Doc:"linearGradient"==e.nodeName?new n.Gradient("linear"):"radialGradient"==e.nodeName?new n.Gradient("radial"):n[p(e.nodeName)]?new(n[p(e.nodeName)]):new n.Element(e)).type=e.nodeName,r.node=e,e.instance=r,r instanceof n.Doc&&r.namespace().defs(),r.setData(JSON.parse(e.getAttribute("svgjs:data"))||{}),r):null;var r},n.prepare=function(){var t=e.getElementsByTagName("body")[0],r=(t?new n.Doc(t):n.adopt(e.documentElement).nested()).size(2,0);n.parser={body:t||e.documentElement,draw:r.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:r.polyline().node,path:r.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},e.addEventListener("DOMContentLoaded",(function(){n.parser.draw||n.prepare()}),!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(t,e){for(var n=t.length,r=[],o=0;o1?1:t,new n.Color({r:~~(this.r+(this.destination.r-this.r)*t),g:~~(this.g+(this.destination.g-this.g)*t),b:~~(this.b+(this.destination.b-this.b)*t)})):this}}),n.Color.test=function(t){return t+="",n.regex.isHex.test(t)||n.regex.isRgb.test(t)},n.Color.isRgb=function(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b},n.Color.isColor=function(t){return n.Color.isRgb(t)||n.Color.test(t)},n.Array=function(t,e){0==(t=(t||[]).valueOf()).length&&e&&(t=e.valueOf()),this.value=this.parse(t)},n.extend(n.Array,{toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(t){return t=t.valueOf(),Array.isArray(t)?t:this.split(t)}}),n.PointArray=function(t,e){n.Array.call(this,t,e||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray;for(var r={M:function(t,e,n){return e.x=n.x=t[0],e.y=n.y=t[1],["M",e.x,e.y]},L:function(t,e){return e.x=t[0],e.y=t[1],["L",t[0],t[1]]},H:function(t,e){return e.x=t[0],["H",t[0]]},V:function(t,e){return e.y=t[0],["V",t[0]]},C:function(t,e){return e.x=t[4],e.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},Q:function(t,e){return e.x=t[2],e.y=t[3],["Q",t[0],t[1],t[2],t[3]]},Z:function(t,e,n){return e.x=n.x,e.y=n.y,["Z"]}},o="mlhvqtcsaz".split(""),i=0,s=o.length;il);return i},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(t,e){this.value=0,this.unit=e||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-34e37:34e37:"string"==typeof t?(e=t.match(n.regex.numberAndUnit))&&(this.value=parseFloat(e[1]),"%"==e[5]?this.value/=100:"s"==e[5]&&(this.value*=1e3),this.unit=e[5]):t instanceof n.Number&&(this.value=t.valueOf(),this.unit=t.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(t){return t=new n.Number(t),new n.Number(this+t,this.unit||t.unit)},minus:function(t){return t=new n.Number(t),new n.Number(this-t,this.unit||t.unit)},times:function(t){return t=new n.Number(t),new n.Number(this*t,this.unit||t.unit)},divide:function(t){return t=new n.Number(t),new n.Number(this/t,this.unit||t.unit)},to:function(t){var e=new n.Number(this);return"string"==typeof t&&(e.unit=t),e},morph:function(t){return this.destination=new n.Number(t),t.relative&&(this.destination.value+=this.value),this},at:function(t){return this.destination?new n.Number(this.destination).minus(this).times(t).plus(this):this}}}),n.Element=n.invent({create:function(t){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=t)&&(this.type=t.nodeName,this.node.instance=this,this._stroke=t.getAttribute("stroke")||this._stroke)},extend:{x:function(t){return this.attr("x",t)},y:function(t){return this.attr("y",t)},cx:function(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)},cy:function(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},width:function(t){return this.attr("width",t)},height:function(t){return this.attr("height",t)},size:function(t,e){var r=f(this,t,e);return this.width(new n.Number(r.width)).height(new n.Number(r.height))},clone:function(t){this.writeDataToDom();var e=m(this.node.cloneNode(!0));return t?t.add(e):this.after(e),e},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(t){return this.after(t).remove(),t},addTo:function(t){return t.put(this)},putIn:function(t){return t.add(this)},id:function(t){return this.attr("id",t)},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var t=this.attr("class");return null==t?[]:t.trim().split(n.regex.delimiter)},hasClass:function(t){return-1!=this.classes().indexOf(t)},addClass:function(t){if(!this.hasClass(t)){var e=this.classes();e.push(t),this.attr("class",e.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter((function(e){return e!=t})).join(" ")),this},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)},reference:function(t){return n.get(this.attr(t))},parent:function(e){var r=this;if(!r.node.parentNode)return null;if(r=n.adopt(r.node.parentNode),!e)return r;for(;r&&r.node instanceof t.SVGElement;){if("string"==typeof e?r.matches(e):r instanceof e)return r;if(!r.node.parentNode||"#document"==r.node.parentNode.nodeName)return null;r=n.adopt(r.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(t){var e=[],n=this;do{if(!(n=n.parent(t))||!n.node)break;e.push(n)}while(n.parent);return e},matches:function(t){return function(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}(this.node,t)},native:function(){return this.node},svg:function(t){var r=e.createElement("svg");if(!(t&&this instanceof n.Parent))return r.appendChild(t=e.createElement("svg")),this.writeDataToDom(),t.appendChild(this.node.cloneNode(!0)),r.innerHTML.replace(/^/,"").replace(/<\/svg>$/,"");r.innerHTML=""+t.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2>")+"";for(var o=0,i=r.firstChild.childNodes.length;o":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return 1-Math.cos(t*Math.PI/2)}},n.morph=function(t){return function(e,r){return new n.MorphObj(e,r).at(t)}},n.Situation=n.invent({create:function(t){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(t.duration).valueOf(),this.delay=new n.Number(t.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=t.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(t){this._target=t,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(t,e,r){"object"===a(t)&&(e=t.ease,r=t.delay,t=t.duration);var o=new n.Situation({duration:t||1e3,delay:r||0,ease:n.easing[e||"-"]||e});return this.queue(o),this},target:function(t){return t&&t instanceof n.Element?(this._target=t,this):this._target},timeToAbsPos:function(t){return(t-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(t){return this.situation.duration/this._speed*t+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=t.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){t.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(t){return("function"==typeof t||t instanceof n.Situation)&&this.situations.push(t),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var t,e=this.situation;if(e.init)return this;for(var r in e.animations){t=this.target()[r](),Array.isArray(t)||(t=[t]),Array.isArray(e.animations[r])||(e.animations[r]=[e.animations[r]]);for(var o=t.length;o--;)e.animations[r][o]instanceof n.Number&&(t[o]=new n.Number(t[o])),e.animations[r][o]=t[o].morph(e.animations[r][o])}for(var r in e.attrs)e.attrs[r]=new n.MorphObj(this.target().attr(r),e.attrs[r]);for(var r in e.styles)e.styles[r]=new n.MorphObj(this.target().style(r),e.styles[r]);return e.initialTransformation=this.target().matrixify(),e.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(t,e){var n=this.active;return this.active=!1,e&&this.clearQueue(),t&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},after:function(t){var e=this.last();return this.target().on("finished.fx",(function n(r){r.detail.situation==e&&(t.call(this,e),this.off("finished.fx",n))})),this._callStart()},during:function(t){var e=this.last(),r=function(r){r.detail.situation==e&&t.call(this,r.detail.pos,n.morph(r.detail.pos),r.detail.eased,e)};return this.target().off("during.fx",r).on("during.fx",r),this.after((function(){this.off("during.fx",r)})),this._callStart()},afterAll:function(t){var e=function e(n){t.call(this),this.off("allfinished.fx",e)};return this.target().off("allfinished.fx",e).on("allfinished.fx",e),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(t,e,n){return this.last()[n||"animations"][t]=e,this._callStart()},step:function(t){var e,n,r;t||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(e=Math.max(this.absPos,0),n=Math.floor(e),!0===this.situation.loops||nthis.lastPos&&i<=o&&(this.situation.once[i].call(this.target(),this.pos,o),delete this.situation.once[i]);return this.active&&this.target().fire("during",{pos:this.pos,eased:o,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=o,this):this},eachAt:function(){var t,e=this,r=this.target(),o=this.situation;for(var i in o.animations)t=[].concat(o.animations[i]).map((function(t){return"string"!=typeof t&&t.at?t.at(o.ease(e.pos),e.pos):t})),r[i].apply(r,t);for(var i in o.attrs)t=[i].concat(o.attrs[i]).map((function(t){return"string"!=typeof t&&t.at?t.at(o.ease(e.pos),e.pos):t})),r.attr.apply(r,t);for(var i in o.styles)t=[i].concat(o.styles[i]).map((function(t){return"string"!=typeof t&&t.at?t.at(o.ease(e.pos),e.pos):t})),r.style.apply(r,t);if(o.transforms.length){t=o.initialTransformation,i=0;for(var a=o.transforms.length;i=0;--r)this[b[r]]=null!=t[b[r]]?t[b[r]]:e[b[r]]},extend:{extract:function(){var t=h(this,0,1);h(this,1,0);var e=180/Math.PI*Math.atan2(t.y,t.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(e*Math.PI/180)+this.f*Math.sin(e*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(e*Math.PI/180)+this.e*Math.sin(-e*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),rotation:e,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(t){return this.destination=new n.Matrix(t),this},multiply:function(t){return new n.Matrix(this.native().multiply(function(t){return t instanceof n.Matrix||(t=new n.Matrix(t)),t}(t).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(t,e){return new n.Matrix(this.native().translate(t||0,e||0))},native:function(){for(var t=n.parser.native.createSVGMatrix(),e=b.length-1;e>=0;e--)t[b[e]]=this[b[e]];return t},toString:function(){return"matrix("+v(this.a)+","+v(this.b)+","+v(this.c)+","+v(this.d)+","+v(this.e)+","+v(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var t=this.rect(1,1),e=t.node.getScreenCTM();return t.remove(),new n.Matrix(e)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(t,e){var n;n=Array.isArray(t)?{x:t[0],y:t[1]}:"object"===a(t)?{x:t.x,y:t.y}:null!=t?{x:t,y:null!=e?e:t}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(t,e){return this.destination=new n.Point(t,e),this}}}),n.extend(n.Element,{point:function(t,e){return new n.Point(t,e).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(t,e,r){if(null==t){for(t={},r=(e=this.node.attributes).length-1;r>=0;r--)t[e[r].nodeName]=n.regex.isNumber.test(e[r].nodeValue)?parseFloat(e[r].nodeValue):e[r].nodeValue;return t}if("object"===a(t))for(var o in t)this.attr(o,t[o]);else if(null===e)this.node.removeAttribute(t);else{if(null==e)return null==(e=this.node.getAttribute(t))?n.defaults.attrs[t]:n.regex.isNumber.test(e)?parseFloat(e):e;"stroke-width"==t?this.attr("stroke",parseFloat(e)>0?this._stroke:null):"stroke"==t&&(this._stroke=e),"fill"!=t&&"stroke"!=t||(n.regex.isImage.test(e)&&(e=this.doc().defs().image(e,0,0)),e instanceof n.Image&&(e=this.doc().defs().pattern(0,0,(function(){this.add(e)})))),"number"==typeof e?e=new n.Number(e):n.Color.isColor(e)?e=new n.Color(e):Array.isArray(e)&&(e=new n.Array(e)),"leading"==t?this.leading&&this.leading(e):"string"==typeof r?this.node.setAttributeNS(r,t,e.toString()):this.node.setAttribute(t,e.toString()),!this.rebuild||"font-size"!=t&&"x"!=t||this.rebuild(t,e)}return this}}),n.extend(n.Element,{transform:function(t,e){var r;return"object"!==a(t)?(r=new n.Matrix(this).extract(),"string"==typeof t?r[t]:r):(r=new n.Matrix(this),e=!!e||!!t.relative,null!=t.a&&(r=e?r.multiply(new n.Matrix(t)):new n.Matrix(t)),this.attr("transform",r))}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map((function(t){var e=t.trim().split("(");return[e[0],e[1].split(n.regex.delimiter).map((function(t){return parseFloat(t)}))]})).reduce((function(t,e){return"matrix"==e[0]?t.multiply(g(e[1])):t[e[0]].apply(t,e[1])}),new n.Matrix)},toParent:function(t){if(this==t)return this;var e=this.screenCTM(),n=t.screenCTM().inverse();return this.addTo(t).untransform().transform(n.multiply(e)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(t,e){if(arguments.length>1&&"boolean"!=typeof e)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(t))for(var n=0,r=this.arguments.length;n=0},index:function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)},get:function(t){return n.adopt(this.node.childNodes[t])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(t,e){for(var r=this.children(),o=0,i=r.length;o=0;r--)e.childNodes[r]instanceof t.SVGElement&&m(e.childNodes[r]);return n.adopt(e).id(n.eid(e.nodeName))}function y(t){return null==t.x&&(t.x=0,t.y=0,t.width=0,t.height=0),t.w=t.width,t.h=t.height,t.x2=t.x+t.width,t.y2=t.y+t.height,t.cx=t.x+t.width/2,t.cy=t.y+t.height/2,t}function v(t){return Math.abs(t)>1e-37?t:0}["fill","stroke"].forEach((function(t){var e={};e[t]=function(e){if(void 0===e)return this;if("string"==typeof e||n.Color.isRgb(e)||e&&"function"==typeof e.fill)this.attr(t,e);else for(var r=l[t].length-1;r>=0;r--)null!=e[l[t][r]]&&this.attr(l.prefix(t,l[t][r]),e[l[t][r]]);return this},n.extend(n.Element,n.FX,e)})),n.extend(n.Element,n.FX,{translate:function(t,e){return this.transform({x:t,y:e})},matrix:function(t){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):t))},opacity:function(t){return this.attr("opacity",t)},dx:function(t){return this.x(new n.Number(t).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(t){return this.y(new n.Number(t).plus(this instanceof n.FX?0:this.y()),!0)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(t){return this.node.getPointAtLength(t)}}),n.Set=n.invent({create:function(t){Array.isArray(t)?this.members=t:this.clear()},extend:{add:function(){for(var t=[].slice.call(arguments),e=0,n=t.length;e-1&&this.members.splice(e,1),this},each:function(t){for(var e=0,n=this.members.length;e=0},index:function(t){return this.members.indexOf(t)},get:function(t){return this.members[t]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members}},construct:{set:function(t){return new n.Set(t)}}}),n.FX.Set=n.invent({create:function(t){this.set=t}}),n.Set.inherit=function(){var t=[];for(var e in n.Shape.prototype)"function"==typeof n.Shape.prototype[e]&&"function"!=typeof n.Set.prototype[e]&&t.push(e);for(var e in t.forEach((function(t){n.Set.prototype[t]=function(){for(var e=0,r=this.members.length;e=0;t--)delete this.memory()[arguments[t]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(t){var r=e.getElementById(function(t){var e=(t||"").toString().match(n.regex.reference);if(e)return e[1]}(t)||t);return n.adopt(r)},n.select=function(t,r){return new n.Set(n.utils.map((r||e).querySelectorAll(t),(function(t){return n.adopt(t)})))},n.extend(n.Parent,{select:function(t){return n.select(t,this.node)}});var b="abcdef".split("");if("function"!=typeof t.CustomEvent){var x=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r};x.prototype=t.Event.prototype,n.CustomEvent=x}else n.CustomEvent=t.CustomEvent;return n},void 0!==(r=function(){return Tt(Lt,Lt.document)}.call(e,n,e,t))&&(t.exports=r),function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(t,e){return this.add(t,e),!t.attr("in")&&this.autoSetIn&&t.attr("in",this.source),t.attr("result")||t.attr("result",t),t},blend:function(t,e,n){return this.put(new SVG.BlendEffect(t,e,n))},colorMatrix:function(t,e){return this.put(new SVG.ColorMatrixEffect(t,e))},convolveMatrix:function(t){return this.put(new SVG.ConvolveMatrixEffect(t))},componentTransfer:function(t){return this.put(new SVG.ComponentTransferEffect(t))},composite:function(t,e,n){return this.put(new SVG.CompositeEffect(t,e,n))},flood:function(t,e){return this.put(new SVG.FloodEffect(t,e))},offset:function(t,e){return this.put(new SVG.OffsetEffect(t,e))},image:function(t){return this.put(new SVG.ImageEffect(t))},merge:function(){var t=[void 0];for(var e in arguments)t.push(arguments[e]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,t)))},gaussianBlur:function(t,e){return this.put(new SVG.GaussianBlurEffect(t,e))},morphology:function(t,e){return this.put(new SVG.MorphologyEffect(t,e))},diffuseLighting:function(t,e,n){return this.put(new SVG.DiffuseLightingEffect(t,e,n))},displacementMap:function(t,e,n,r,o){return this.put(new SVG.DisplacementMapEffect(t,e,n,r,o))},specularLighting:function(t,e,n,r){return this.put(new SVG.SpecularLightingEffect(t,e,n,r))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(t,e,n,r,o){return this.put(new SVG.TurbulenceEffect(t,e,n,r,o))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(t){var e=this.put(new SVG.Filter);return"function"==typeof t&&t.call(e,e),e}}),SVG.extend(SVG.Container,{filter:function(t){return this.defs().filter(t)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(t){return this.filterer=t instanceof SVG.Element?t:this.doc().filter(t),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(t){return this.filterer&&!0===t&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",t)},result:function(t){return null==t?this.attr("result"):this.attr("result",t)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",t)},result:function(t){return null==t?this.attr("result"):this.attr("result",t)},toString:function(){return this.result()}}});var t={blend:function(t,e){return this.parent()&&this.parent().blend(this,t,e)},colorMatrix:function(t,e){return this.parent()&&this.parent().colorMatrix(t,e).in(this)},convolveMatrix:function(t){return this.parent()&&this.parent().convolveMatrix(t).in(this)},componentTransfer:function(t){return this.parent()&&this.parent().componentTransfer(t).in(this)},composite:function(t,e){return this.parent()&&this.parent().composite(this,t,e)},flood:function(t,e){return this.parent()&&this.parent().flood(t,e)},offset:function(t,e){return this.parent()&&this.parent().offset(t,e).in(this)},image:function(t){return this.parent()&&this.parent().image(t)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(t,e){return this.parent()&&this.parent().gaussianBlur(t,e).in(this)},morphology:function(t,e){return this.parent()&&this.parent().morphology(t,e).in(this)},diffuseLighting:function(t,e,n){return this.parent()&&this.parent().diffuseLighting(t,e,n).in(this)},displacementMap:function(t,e,n,r){return this.parent()&&this.parent().displacementMap(this,t,e,n,r)},specularLighting:function(t,e,n,r){return this.parent()&&this.parent().specularLighting(t,e,n,r).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(t,e,n,r,o){return this.parent()&&this.parent().turbulence(t,e,n,r,o).in(this)}};SVG.extend(SVG.Effect,t),SVG.extend(SVG.ParentEffect,t),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(t){this.attr("in",t)}}});var e={blend:function(t,e,n){this.attr({in:t,in2:e,mode:n||"normal"})},colorMatrix:function(t,e){"matrix"==t&&(e=o(e)),this.attr({type:t,values:void 0===e?null:e})},convolveMatrix:function(t){t=o(t),this.attr({order:Math.sqrt(t.split(" ").length),kernelMatrix:t})},composite:function(t,e,n){this.attr({in:t,in2:e,operator:n})},flood:function(t,e){this.attr("flood-color",t),null!=e&&this.attr("flood-opacity",e)},offset:function(t,e){this.attr({dx:t,dy:e})},image:function(t){this.attr("href",t,SVG.xlink)},displacementMap:function(t,e,n,r,o){this.attr({in:t,in2:e,scale:n,xChannelSelector:r,yChannelSelector:o})},gaussianBlur:function(t,e){null!=t||null!=e?this.attr("stdDeviation",i(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(t,e){this.attr({operator:t,radius:e})},tile:function(){},turbulence:function(t,e,n,r,o){this.attr({numOctaves:e,seed:n,stitchTiles:r,baseFrequency:t,type:o})}},n={merge:function(){var t;if(arguments[0]instanceof SVG.Set){var e=this;arguments[0].each((function(t){this instanceof SVG.MergeNode?e.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&e.put(new SVG.MergeNode(this))}))}else{t=Array.isArray(arguments[0])?arguments[0]:arguments;for(var n=0;n1&&(O*=r=Math.sqrt(r),A*=r),o=(new SVG.Matrix).rotate(D).scale(1/O,1/A).rotate(-D),N=N.transform(o),s=(i=[(P=P.transform(o)).x-N.x,P.y-N.y])[0]*i[0]+i[1]*i[1],a=Math.sqrt(s),i[0]/=a,i[1]/=a,l=s<4?Math.sqrt(1-s/4):0,j===I&&(l*=-1),c=new SVG.Point((P.x+N.x)/2+l*-i[1],(P.y+N.y)/2+l*i[0]),u=new SVG.Point(N.x-c.x,N.y-c.y),p=new SVG.Point(P.x-c.x,P.y-c.y),d=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(d*=-1),f=Math.acos(p.x/Math.sqrt(p.x*p.x+p.y*p.y)),p.y<0&&(f*=-1),I&&d>f&&(f+=2*Math.PI),!I&&di.maxX-e.width&&(a=(r=i.maxX-e.width)-this.startPoints.box.x),null!=i.minY&&oi.maxY-e.height&&(s=(o=i.maxY-e.height)-this.startPoints.box.y),null!=i.snapToGrid&&(r-=r%i.snapToGrid,o-=o%i.snapToGrid,a-=a%i.snapToGrid,s-=s%i.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:a,y:s},!0):this.el.move(r,o));return n},t.prototype.end=function(t){var e=this.drag(t);this.el.fire("dragend",{event:t,p:e,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(e,n){"function"!=typeof e&&"object"!=typeof e||(n=e,e=!0);var r=this.remember("_draggable")||new t(this);return(e=void 0===e||e)?r.init(n||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function t(t){this.el=t,t.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1},this.pointsList={lt:[0,0],rt:["width",0],rb:["width","height"],lb:[0,"height"],t:["width",0],r:["width","height"],b:["width","height"],l:[0,"height"]},this.pointCoord=function(t,e,n){var r="string"!=typeof t?t:e[t];return n?r/2:r},this.pointCoords=function(t,e){var n=this.pointsList[t];return{x:this.pointCoord(n[0],e,"t"===t||"b"===t),y:this.pointCoord(n[1],e,"r"===t||"l"===t)}}}t.prototype.init=function(t,e){var n=this.el.bbox();this.options={};var r=this.el.selectize.defaults.points;for(var o in this.el.selectize.defaults)this.options[o]=this.el.selectize.defaults[o],void 0!==e[o]&&(this.options[o]=e[o]);var i=["points","pointsExclude"];for(var o in i){var a=this.options[i[o]];"string"==typeof a?a=a.length>0?a.split(/\s*,\s*/i):[]:"boolean"==typeof a&&"points"===i[o]&&(a=a?r:[]),this.options[i[o]]=a}this.options.points=[r,this.options.points].reduce((function(t,e){return t.filter((function(t){return e.indexOf(t)>-1}))})),this.options.points=[this.options.points,this.options.pointsExclude].reduce((function(t,e){return t.filter((function(t){return e.indexOf(t)<0}))})),this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(n.x,n.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(t):this.selectRect(t),this.observe(),this.cleanup()},t.prototype.selectPoints=function(t){return this.pointSelection.isSelected=t,this.pointSelection.set||(this.pointSelection.set=this.parent.set(),this.drawPoints()),this},t.prototype.getPointArray=function(){var t=this.el.bbox();return this.el.array().valueOf().map((function(e){return[e[0]-t.x,e[1]-t.y]}))},t.prototype.drawPoints=function(){for(var t=this,e=this.getPointArray(),n=0,r=e.length;n0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y+n[1]).size(this.parameters.box.width-n[0],this.parameters.box.height-n[1])}};break;case"rt":this.calc=function(t,e){var n=this.snapToGrid(t,e,2);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).size(this.parameters.box.width+n[0],this.parameters.box.height-n[1])}};break;case"rb":this.calc=function(t,e){var n=this.snapToGrid(t,e,0);if(this.parameters.box.width+n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+n[0]);n=this.checkAspectRatio(n),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+n[0],this.parameters.box.height+n[1])}};break;case"lb":this.calc=function(t,e){var n=this.snapToGrid(t,e,1);if(this.parameters.box.width-n[0]>0&&this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+n[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-n[0]);n=this.checkAspectRatio(n,!0),this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).size(this.parameters.box.width-n[0],this.parameters.box.height+n[1])}};break;case"t":this.calc=function(t,e){var n=this.snapToGrid(t,e,2);if(this.parameters.box.height-n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+n[1]).height(this.parameters.box.height-n[1])}};break;case"r":this.calc=function(t,e){var n=this.snapToGrid(t,e,0);if(this.parameters.box.width+n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+n[0])}};break;case"b":this.calc=function(t,e){var n=this.snapToGrid(t,e,0);if(this.parameters.box.height+n[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+n[1])}};break;case"l":this.calc=function(t,e){var n=this.snapToGrid(t,e,1);if(this.parameters.box.width-n[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+n[0],this.parameters.box.y).width(this.parameters.box.width-n[0])}};break;case"rot":this.calc=function(t,e){var n=t+this.parameters.p.x,r=e+this.parameters.p.y,o=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),i=Math.atan2(r-this.parameters.box.y-this.parameters.box.height/2,n-this.parameters.box.x-this.parameters.box.width/2),a=this.parameters.rotation+180*(i-o)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(a-a%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(t,e){var n=this.snapToGrid(t,e,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),r=this.el.array().valueOf();r[this.parameters.i][0]=this.parameters.pointCoords[0]+n[0],r[this.parameters.i][1]=this.parameters.pointCoords[1]+n[1],this.el.plot(r)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:t}),SVG.on(window,"touchmove.resize",(function(t){e.update(t||window.event)})),SVG.on(window,"touchend.resize",(function(){e.done()})),SVG.on(window,"mousemove.resize",(function(t){e.update(t||window.event)})),SVG.on(window,"mouseup.resize",(function(){e.done()}))},t.prototype.update=function(t){if(t){var e=this._extractPosition(t),n=this.transformPoint(e.x,e.y),r=n.x-this.parameters.p.x,o=n.y-this.parameters.p.y;this.lastUpdateCall=[r,o],this.calc(r,o),this.el.fire("resizing",{dx:r,dy:o,event:t})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},t.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},t.prototype.snapToGrid=function(t,e,n,r){var o;return void 0!==r?o=[(n+t)%this.options.snapToGrid,(r+e)%this.options.snapToGrid]:(n=null==n?3:n,o=[(this.parameters.box.x+t+(1&n?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+e+(2&n?0:this.parameters.box.height))%this.options.snapToGrid]),t<0&&(o[0]-=this.options.snapToGrid),e<0&&(o[1]-=this.options.snapToGrid),t-=Math.abs(o[0])a.maxX&&(t=a.maxX-o),void 0!==a.minY&&i+ea.maxY&&(e=a.maxY-i),[t,e]},t.prototype.checkAspectRatio=function(t,e){if(!this.options.saveAspectRatio)return t;var n=t.slice(),r=this.parameters.box.width/this.parameters.box.height,o=this.parameters.box.width+t[0],i=this.parameters.box.height-t[1],a=o/i;return ar&&(n[0]=this.parameters.box.width-i*r,e&&(n[0]=-n[0])),n},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new t(this)).init(e||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),void 0===window.Apex&&(window.Apex={});var Bt=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new x(this.ctx),this.ctx.axes=new nt(this.ctx),this.ctx.core=new zt(this.ctx.el,this.ctx),this.ctx.config=new U({}),this.ctx.data=new V(this.ctx),this.ctx.grid=new Z(this.ctx),this.ctx.graphics=new S(this.ctx),this.ctx.coreUtils=new k(this.ctx),this.ctx.crosshairs=new rt(this.ctx),this.ctx.events=new tt(this.ctx),this.ctx.exports=new G(this.ctx),this.ctx.localization=new et(this.ctx),this.ctx.options=new A,this.ctx.responsive=new ot(this.ctx),this.ctx.series=new P(this.ctx),this.ctx.theme=new it(this.ctx),this.ctx.formatters=new K(this.ctx),this.ctx.titleSubtitle=new at(this.ctx),this.ctx.legend=new ft(this.ctx),this.ctx.toolbar=new ht(this.ctx),this.ctx.dimensions=new pt(this.ctx),this.ctx.updateHelpers=new Rt(this.ctx),this.ctx.zoomPanSelection=new gt(this.ctx),this.ctx.w.globals.tooltip=new St(this.ctx)}}]),t}(),Ft=function(){function t(e){s(this,t),this.ctx=e,this.w=e.w}return c(t,[{key:"clear",value:function(t){var e=t.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:e})}},{key:"killSVG",value:function(t){t.each((function(t,e){this.removeClass("*"),this.off(),this.stop()}),!0),t.ungroup(),t.clear()}},{key:"clearDomElements",value:function(t){var e=this,n=t.isUpdating,r=this.w.globals.dom.Paper.node;r.parentNode&&r.parentNode.parentNode&&!n&&(r.parentNode.parentNode.style.minHeight="unset");var o=this.w.globals.dom.baseEl;o&&this.ctx.eventList.forEach((function(t){o.removeEventListener(t,e.ctx.events.documentEvent)}));var i=this.w.globals.dom;if(null!==this.ctx.el)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(i.Paper),i.Paper.remove(),i.elWrap=null,i.elGraphical=null,i.elAnnotations=null,i.elLegendWrap=null,i.baseEl=null,i.elGridRect=null,i.elGridRectMask=null,i.elGridRectMarkerMask=null,i.elForecastMask=null,i.elNonForecastMask=null,i.elDefs=null}}]),t}(),Ht=new WeakMap,Ut=function(){function t(e,n){s(this,t),this.opts=n,this.ctx=this,this.w=new W(n).init(),this.el=e,this.w.globals.cuid=b.randomId(),this.w.globals.chartID=this.w.config.chart.id?b.escapeString(this.w.config.chart.id):this.w.globals.cuid,new Bt(this).initModules(),this.create=b.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return c(t,[{key:"render",value:function(){var t=this;return new Promise((function(e,n){if(null!==t.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),t.w.config.chart.id&&Apex._chartInstances.push({id:t.w.globals.chartID,group:t.w.config.chart.group,chart:t}),t.setLocale(t.w.config.chart.defaultLocale);var r=t.w.config.chart.events.beforeMount;if("function"==typeof r&&r(t,t.w),t.events.fireEvent("beforeMount",[t,t.w]),window.addEventListener("resize",t.windowResizeHandler),function(t,e){var n=!1;if(t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var r=t.getBoundingClientRect();"none"!==t.style.display&&0!==r.width||(n=!0)}var o=new ResizeObserver((function(r){n&&e.call(t,r),n=!0}));t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(t.children).forEach((function(t){return o.observe(t)})):o.observe(t),Ht.set(e,o)}(t.el.parentNode,t.parentResizeHandler),!t.css){var o=t.el.getRootNode&&t.el.getRootNode(),i=b.is("ShadowRoot",o),a=t.el.ownerDocument,s=a.getElementById("apexcharts-css");!i&&s||(t.css=document.createElement("style"),t.css.id="apexcharts-css",t.css.textContent='.apexcharts-canvas {\n position: relative;\n user-select: none;\n /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px;\n}\n\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0, 0, 0, .5);\n box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);\n}\n\n\n.apexcharts-inner {\n position: relative;\n}\n\n.apexcharts-text tspan {\n font-family: inherit;\n}\n\n.legend-mouseover-inactive {\n transition: 0.15s ease all;\n opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0;\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light {\n border: 1px solid #e3e3e3;\n background: rgba(255, 255, 255, 0.96);\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark {\n color: #fff;\n background: rgba(30, 30, 30, 0.8);\n}\n\n.apexcharts-tooltip * {\n font-family: inherit;\n}\n\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px;\n}\n\n.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {\n background: #ECEFF1;\n border-bottom: 1px solid #ddd;\n}\n\n.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {\n background: rgba(0, 0, 0, 0.7);\n border-bottom: 1px solid #333;\n}\n\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-z-value {\n display: inline-block;\n font-weight: 600;\n margin-left: 5px;\n}\n\n.apexcharts-tooltip-title:empty,\n.apexcharts-tooltip-text-y-label:empty,\n.apexcharts-tooltip-text-y-value:empty,\n.apexcharts-tooltip-text-goals-label:empty,\n.apexcharts-tooltip-text-goals-value:empty,\n.apexcharts-tooltip-text-z-value:empty {\n display: none;\n}\n\n.apexcharts-tooltip-text-y-value,\n.apexcharts-tooltip-text-goals-value,\n.apexcharts-tooltip-text-z-value {\n font-weight: 600;\n}\n\n.apexcharts-tooltip-text-goals-label, \n.apexcharts-tooltip-text-goals-value {\n padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-goals-group, \n.apexcharts-tooltip-text-goals-label, \n.apexcharts-tooltip-text-goals-value {\n display: flex;\n}\n.apexcharts-tooltip-text-goals-label:not(:empty),\n.apexcharts-tooltip-text-goals-value:not(:empty) {\n margin-top: -6px;\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0px;\n margin-right: 10px;\n border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {\n opacity: 1;\n}\n\n.apexcharts-tooltip-series-group.apexcharts-active,\n.apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px;\n}\n\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0 !important;\n}\n\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px;\n}\n\n.apexcharts-tooltip-box, .apexcharts-custom-tooltip {\n padding: 4px 8px;\n}\n\n.apexcharts-tooltip-boxPlot {\n display: flex;\n flex-direction: column-reverse;\n}\n\n.apexcharts-tooltip-box>div {\n margin: 4px 0;\n}\n\n.apexcharts-tooltip-box span.value {\n font-weight: bold;\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px;\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777;\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: bold;\n display: block;\n margin-bottom: 5px;\n}\n\n.apexcharts-xaxistooltip {\n opacity: 0;\n padding: 9px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #ECEFF1;\n border: 1px solid #90A4AE;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip.apexcharts-theme-dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-xaxistooltip:after,\n.apexcharts-xaxistooltip:before {\n left: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n border-color: rgba(236, 239, 241, 0);\n border-width: 6px;\n margin-left: -6px;\n}\n\n.apexcharts-xaxistooltip:before {\n border-color: rgba(144, 164, 174, 0);\n border-width: 7px;\n margin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after,\n.apexcharts-xaxistooltip-bottom:before {\n bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-top:after,\n.apexcharts-xaxistooltip-top:before {\n top: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #ECEFF1;\n}\n\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color: #ECEFF1\n}\n\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n opacity: 0;\n padding: 4px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n background: #ECEFF1;\n border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip.apexcharts-theme-dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-yaxistooltip:after,\n.apexcharts-yaxistooltip:before {\n top: 50%;\n border: solid transparent;\n content: " ";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.apexcharts-yaxistooltip:after {\n border-color: rgba(236, 239, 241, 0);\n border-width: 6px;\n margin-top: -6px;\n}\n\n.apexcharts-yaxistooltip:before {\n border-color: rgba(144, 164, 174, 0);\n border-width: 7px;\n margin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after,\n.apexcharts-yaxistooltip-left:before {\n left: 100%;\n}\n\n.apexcharts-yaxistooltip-right:after,\n.apexcharts-yaxistooltip-right:before {\n right: 100%;\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #ECEFF1;\n}\n\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90A4AE;\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip.apexcharts-active {\n opacity: 1;\n}\n\n.apexcharts-yaxistooltip-hidden {\n display: none;\n}\n\n.apexcharts-xcrosshairs,\n.apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.apexcharts-active,\n.apexcharts-ycrosshairs.apexcharts-active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0;\n}\n\n.apexcharts-selection-rect {\n cursor: move;\n}\n\n.svg_select_boundingRect, .svg_select_points_rot {\n pointer-events: none;\n opacity: 0;\n visibility: hidden;\n}\n.apexcharts-selection-rect + g .svg_select_boundingRect,\n.apexcharts-selection-rect + g .svg_select_points_rot {\n opacity: 0;\n visibility: hidden;\n}\n\n.apexcharts-selection-rect + g .svg_select_points_l,\n.apexcharts-selection-rect + g .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible;\n}\n\n.svg_select_points {\n fill: #efefef;\n stroke: #333;\n rx: 2;\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-zoom {\n cursor: crosshair\n}\n\n.apexcharts-svg.apexcharts-zoomable.hovering-pan {\n cursor: move\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon,\n.apexcharts-reset-icon,\n.apexcharts-pan-icon,\n.apexcharts-selection-icon,\n.apexcharts-menu-icon,\n.apexcharts-toolbar-custom-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6E8192;\n text-align: center;\n}\n\n.apexcharts-zoom-icon svg,\n.apexcharts-zoomin-icon svg,\n.apexcharts-zoomout-icon svg,\n.apexcharts-reset-icon svg,\n.apexcharts-menu-icon svg {\n fill: #6E8192;\n}\n\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(0.76)\n}\n\n.apexcharts-theme-dark .apexcharts-zoom-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomin-icon svg,\n.apexcharts-theme-dark .apexcharts-zoomout-icon svg,\n.apexcharts-theme-dark .apexcharts-reset-icon svg,\n.apexcharts-theme-dark .apexcharts-pan-icon svg,\n.apexcharts-theme-dark .apexcharts-selection-icon svg,\n.apexcharts-theme-dark .apexcharts-menu-icon svg,\n.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {\n fill: #f3f4f5;\n}\n\n.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,\n.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {\n fill: #008FFB;\n}\n\n.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,\n.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,\n.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,\n.apexcharts-theme-light .apexcharts-reset-icon:hover svg,\n.apexcharts-theme-light .apexcharts-menu-icon:hover svg {\n fill: #333;\n}\n\n.apexcharts-selection-icon,\n.apexcharts-menu-icon {\n position: relative;\n}\n\n.apexcharts-reset-icon {\n margin-left: 5px;\n}\n\n.apexcharts-zoom-icon,\n.apexcharts-reset-icon,\n.apexcharts-menu-icon {\n transform: scale(0.85);\n}\n\n.apexcharts-zoomin-icon,\n.apexcharts-zoomout-icon {\n transform: scale(0.7)\n}\n\n.apexcharts-zoomout-icon {\n margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n transform: scale(0.62);\n position: relative;\n left: 1px;\n top: 0px;\n}\n\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6E8192;\n stroke-width: 2;\n}\n\n.apexcharts-pan-icon.apexcharts-selected svg {\n stroke: #008FFB;\n}\n\n.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {\n stroke: #333;\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0px 6px 2px 6px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: 0.15s ease all;\n pointer-events: none;\n}\n\n.apexcharts-menu.apexcharts-menu-open {\n opacity: 1;\n pointer-events: all;\n transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer;\n}\n\n.apexcharts-theme-light .apexcharts-menu-item:hover {\n background: #eee;\n}\n\n.apexcharts-theme-dark .apexcharts-menu {\n background: rgba(0, 0, 0, 0.7);\n color: #fff;\n}\n\n@media screen and (min-width: 768px) {\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1;\n }\n}\n\n.apexcharts-datalabel.apexcharts-element-hidden {\n opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabels,\n.apexcharts-datalabel,\n.apexcharts-datalabel-label,\n.apexcharts-datalabel-value {\n cursor: default;\n pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease;\n}\n\n.apexcharts-canvas .apexcharts-element-hidden {\n opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n opacity: 0;\n}\n\n.apexcharts-gridline,\n.apexcharts-annotation-rect,\n.apexcharts-xaxis-annotation-label,\n.apexcharts-yaxis-annotation-label,\n.apexcharts-point-annotation-label,\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line,\n.apexcharts-zoom-rect,\n.apexcharts-toolbar svg,\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-radar-series path,\n.apexcharts-radar-series polygon {\n pointer-events: none;\n}\n\n\n/* markers */\n\n.apexcharts-marker {\n transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n\n/* Resize generated styles */\n\n@keyframes resizeanim {\n from {\n opacity: 0;\n }\n to {\n opacity: 0;\n }\n}\n\n.resize-triggers {\n animation: 1ms resizeanim;\n visibility: hidden;\n opacity: 0;\n}\n\n.resize-triggers,\n.resize-triggers>div,\n.contract-trigger:before {\n content: " ";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n overflow: hidden;\n}\n\n.resize-triggers>div {\n background: #eee;\n overflow: auto;\n}\n\n.contract-trigger:before {\n width: 200%;\n height: 200%;\n}',i?o.prepend(t.css):a.head.appendChild(t.css))}var l=t.create(t.w.config.series,{});if(!l)return e(t);t.mount(l).then((function(){"function"==typeof t.w.config.chart.events.mounted&&t.w.config.chart.events.mounted(t,t.w),t.events.fireEvent("mounted",[t,t.w]),e(l)})).catch((function(t){n(t)}))}else n(new Error("Element not found"))}))}},{key:"create",value:function(t,e){var n=this.w;new Bt(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,this.responsive.checkResponsiveConfig(e),n.config.xaxis.convertedCatToNumeric&&new H(n.config).convertCatToNumericXaxis(n.config,this.ctx),null===this.el)return r.animationEnded=!0,null;if(this.core.setupElements(),"treemap"===n.config.chart.type&&(n.config.grid.show=!1,n.config.yaxis[0].show=!1),0===r.svgWidth)return r.animationEnded=!0,null;var o=k.checkComboSeries(t);r.comboCharts=o.comboCharts,r.comboBarCount=o.comboBarCount;var i=t.every((function(t){return t.data&&0===t.data.length}));(0===t.length||i)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(t),this.theme.init(),new I(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!n.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),"category"!==n.config.xaxis.type&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=n.globals.minX,this.ctx.toolbar.maxX=n.globals.maxX),this.formatters.heatmapLabelFormatters(),new k(this).getLargestMarkerSize(),this.dimensions.plotCoords();var a=this.core.xySettings();this.grid.createGridMask();var s=this.core.plotChartType(t,a),l=new T(this);l.bringForward(),n.config.dataLabels.background.enabled&&l.dataLabelsBackground(),this.core.shiftGraphPosition();var c={plot:{left:n.globals.translateX,top:n.globals.translateY,width:n.globals.gridWidth,height:n.globals.gridHeight}};return{elGraph:s,xyRatios:a,elInner:n.globals.dom.elGraphical,dimensions:c}}},{key:"mount",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=this,r=n.w;return new Promise((function(o,i){if(null===n.el)return i(new Error("Not enough data to display or target element not found"));(null===e||r.globals.allSeriesCollapsed)&&n.series.handleNoData(),"treemap"!==r.config.chart.type&&n.axes.drawAxis(r.config.chart.type,e.xyRatios),n.grid=new Z(n);var a=n.grid.drawGrid();n.annotations=new D(n),n.annotations.drawImageAnnos(),n.annotations.drawTextAnnos(),"back"===r.config.grid.position&&a&&r.globals.dom.elGraphical.add(a.el);var s=new q(t.ctx),l=new $(t.ctx);if(null!==a&&(s.xAxisLabelCorrections(a.xAxisTickWidth),l.setYAxisTextAlignments(),r.config.yaxis.map((function(t,e){-1===r.globals.ignoreYAxisIndexes.indexOf(e)&&l.yAxisTitleRotate(e,t.opposite)}))),"back"===r.config.annotations.position&&(r.globals.dom.Paper.add(r.globals.dom.elAnnotations),n.annotations.drawAxesAnnotations()),Array.isArray(e.elGraph))for(var c=0;c0&&r.globals.memory.methodsToExec.forEach((function(t){t.method(t.params,!1,t.context)})),r.globals.axisCharts||r.globals.noData||n.core.resizeNonAxisCharts(),o(n)}))}},{key:"destroy",value:function(){var t,e;window.removeEventListener("resize",this.windowResizeHandler),this.el.parentNode,t=this.parentResizeHandler,(e=Ht.get(t))&&(e.disconnect(),Ht.delete(t));var n=this.w.config.chart.id;n&&Apex._chartInstances.forEach((function(t,e){t.id===b.escapeString(n)&&Apex._chartInstances.splice(e,1)})),new Ft(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.w;return a.globals.selection=void 0,t.series&&(this.series.resetSeries(!1,!0,!1),t.series.length&&t.series[0].data&&(t.series=t.series.map((function(t,n){return e.updateHelpers._extendSeries(t,n)}))),this.updateHelpers.revertDefaultAxisMinMax()),t.xaxis&&(t=this.updateHelpers.forceXAxisUpdate(t)),t.yaxis&&(t=this.updateHelpers.forceYAxisUpdate(t)),a.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),t.theme&&(t=this.theme.updateThemeOptions(t)),this.updateHelpers._updateOptions(t,n,r,o,i)}},{key:"updateSeries",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(t,e,n)}},{key:"appendSeries",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.w.config.series.slice();return r.push(t),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(r,e,n)}},{key:"appendData",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this;n.w.globals.dataChanged=!0,n.series.getPreviousPaths();for(var r=n.w.config.series.slice(),o=0;o0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.series.resetSeries(t,e)}},{key:"addEventListener",value:function(t,e){this.events.addEventListener(t,e)}},{key:"removeEventListener",value:function(t,e){this.events.removeEventListener(t,e)}},{key:"addXaxisAnnotation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addXaxisAnnotationExternal(t,e,r)}},{key:"addYaxisAnnotation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addYaxisAnnotationExternal(t,e,r)}},{key:"addPointAnnotation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this;n&&(r=n),r.annotations.addPointAnnotationExternal(t,e,r)}},{key:"clearAnnotations",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=this;t&&(e=t),e.annotations.clearAnnotations(e)}},{key:"removeAnnotation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this;e&&(n=e),n.annotations.removeAnnotation(n,t)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(t,e){return this.coreUtils.getSeriesTotalsXRange(t,e)}},{key:"getHighestValueInSeries",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=new J(this.ctx);return e.getMinYMaxY(t).highestY}},{key:"getLowestValueInSeries",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=new J(this.ctx);return e.getMinYMaxY(t).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(t,e){return this.updateHelpers.toggleDataPointSelection(t,e)}},{key:"zoomX",value:function(t,e){this.ctx.toolbar.zoomUpdateOptions(t,e)}},{key:"setLocale",value:function(t){this.localization.setCurrentLocaleValues(t)}},{key:"dataURI",value:function(t){return new G(this.ctx).dataURI(t)}},{key:"exportToCSV",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=new G(this.ctx);return e.exportToCSV(t)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var t=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){t.w.globals.resized=!0,t.w.globals.dataChanged=!1,t.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var t=this.w.config.chart.redrawOnWindowResize;"function"==typeof t&&(t=t()),t&&this._windowResize()}}],[{key:"getChartByID",value:function(t){var e=b.escapeString(t),n=Apex._chartInstances.filter((function(t){return t.id===e}))[0];return n&&n.chart}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),n=0;n2?o-2:0),a=2;a=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?F(Z,--G):0,K--,10===q&&(K=1,V--),q}function tt(){return q=G2||ot(q)>3?"":" "}function ct(t,e){for(;--e&&tt()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return rt(t,nt()+(e<6&&32==et()&&32==tt()))}function ut(t){for(;tt();)switch(q){case t:return G;case 34:case 39:return ut(34===t||39===t?t:q);case 40:41===t&&ut(t);break;case 92:tt()}return G}function pt(t,e){for(;tt()&&t+q!==57&&(t+q!==84||47!==et()););return"/*"+rt(e,G-1)+"*"+P(47===t?t:tt())}function dt(t){for(;!ot(et());)tt();return rt(t,G)}var ft="-ms-",ht="-moz-",gt="-webkit-",mt="comm",yt="rule",vt="decl";function bt(t,e){for(var n="",r=Y(t),o=0;o6)switch(F(t,e+1)){case 109:if(45!==F(t,e+4))break;case 102:return R(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+ht+(108==F(t,e+3)?"$3":"$2-$3"))+t;case 115:return~B(t,"stretch")?wt(R(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==F(t,e+1))break;case 6444:switch(F(t,U(t)-3-(~B(t,"!important")&&10))){case 107:return R(t,":",":"+gt)+t;case 101:return R(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+gt+(45===F(t,14)?"inline-":"")+"box$3$1"+gt+"$2$3$1"+ft+"$2box$3")+t}break;case 5936:switch(F(t,e+11)){case 114:return gt+t+ft+R(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return gt+t+ft+R(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return gt+t+ft+R(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return gt+t+ft+t+t}return t}function St(t){return at(kt("",null,null,null,[""],t=it(t),0,[0],t))}function kt(t,e,n,r,o,i,a,s,l){for(var c=0,u=0,p=a,d=0,f=0,h=0,g=1,m=1,y=1,v=0,b="",x=o,w=i,S=r,k=b;m;)switch(h=v,v=tt()){case 34:case 39:case 91:case 40:k+=st(v);break;case 9:case 10:case 13:case 32:k+=lt(h);break;case 92:k+=ct(nt()-1,7);continue;case 47:switch(et()){case 42:case 47:W(_t(pt(tt(),nt()),e,n),l);break;default:k+="/"}break;case 123*g:s[c++]=U(k)*y;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:f>0&&U(k)-p&&W(f>32?Et(k+";",r,n,p-1):Et(R(k," ","")+";",r,n,p-2),l);break;case 59:k+=";";default:if(W(S=Ct(k,e,n,c,u,o,s,b,x=[],w=[],p),i),123===v)if(0===u)kt(k,e,S,S,x,i,p,s,w);else switch(d){case 100:case 109:case 115:kt(t,S,S,r&&W(Ct(t,S,S,0,0,o,s,b,o,x=[],p),w),o,w,p,s,r?x:w);break;default:kt(k,S,S,S,[""],w,p,s,w)}}c=u=f=0,g=y=1,b=k="",p=a;break;case 58:p=1+U(k),f=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==$())continue;switch(k+=P(v),v*g){case 38:y=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(U(k)-1)*y,y=1;break;case 64:45===et()&&(k+=st(tt())),d=et(),u=U(b=k+=dt(nt())),v++;break;case 45:45===h&&2==U(k)&&(g=0)}}return i}function Ct(t,e,n,r,o,i,a,s,l,c,u){for(var p=o-1,d=0===o?i:[""],f=Y(d),h=0,g=0,m=0;h0?d[y]+" "+v:R(v,/&\f/g,d[y])))&&(l[m++]=b);return Q(t,e,n,0===o?yt:s,l,c,u)}function _t(t,e,n){return Q(t,e,n,mt,P(q),H(t,2,-2),0)}function Et(t,e,n,r){return Q(t,e,n,vt,H(t,0,r),H(t,r+1,-1),r)}var Mt=function(t,e,n){for(var r=0,o=0;r=o,o=et(),38===r&&12===o&&(e[n]=1),!ot(o);)tt();return rt(t,G)},Ot=new WeakMap,At=function(t){if("rule"===t.type&&t.parent&&t.length){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||Ot.get(n))&&!r){Ot.set(t,!0);for(var o=[],i=function(t,e){return at(function(t,e){var n=-1,r=44;do{switch(ot(r)){case 0:38===r&&12===et()&&(e[n]=1),t[n]+=Mt(G-1,e,n);break;case 2:t[n]+=st(r);break;case 4:if(44===r){t[++n]=58===et()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=P(r)}}while(r=tt());return t}(it(t),e))}(e,o),a=n.props,s=0,l=0;s=4;++r,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Pt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zt=/[A-Z]|^ms/g,Rt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bt=function(t){return 45===t.charCodeAt(1)},Ft=function(t){return null!=t&&"boolean"!=typeof t},Ht=function(t){var e=Object.create(null);return function(t){return void 0===e[t]&&(e[t]=Bt(n=t)?n:n.replace(zt,"-$&").toLowerCase()),e[t];var n}}(),Ut=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(Rt,(function(t,e,n){return Wt={name:e,styles:n,next:Wt},e}))}return 1===Pt[t]||Bt(t)||"number"!=typeof e||0===e?e:e+"px"};function Yt(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Wt={name:n.name,styles:n.styles,next:Wt},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Wt={name:r.name,styles:r.styles,next:Wt},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var o=0;o-1}function we(t){return xe(t)?window.pageYOffset:t.scrollTop}function Se(t,e){xe(t)?window.scrollTo(0,e):t.scrollTop=e}function ke(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function Ce(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ge,o=we(t),i=e-o,a=10,s=0;function l(){var e=ke(s+=a,o,i,n);Se(t,e),s=f)return{placement:"bottom",maxHeight:e};if(k>=f&&!a)return i&&Ce(l,C,E),{placement:"bottom",maxHeight:e};if(!a&&k>=r||a&&w>=r)return i&&Ce(l,C,E),{placement:"bottom",maxHeight:a?w-v:k-v};if("auto"===o||a){var M=e,O=a?x:S;return O>=r&&(M=Math.min(O-v-s.controlHeight,e)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&Se(l,C),{placement:"bottom",maxHeight:e};break;case"top":if(x>=f)return{placement:"top",maxHeight:e};if(S>=f&&!a)return i&&Ce(l,_,E),{placement:"top",maxHeight:e};if(!a&&S>=r||a&&x>=r){var A=e;return(!a&&S>=r||a&&x>=r)&&(A=a?x-b:S-b),i&&Ce(l,_,E),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var je=function(t){return"auto"===t?"bottom":t},Ie=(0,g.createContext)({getPortalPlacement:null}),Le=function(t){l(n,t);var e=he(n);function n(){var t;o(this,n);for(var r=arguments.length,i=new Array(r),a=0;a0,g=p-d-u,m=!1;g>e&&a.current&&(r&&r(t),a.current=!1),h&&s.current&&(i&&i(t),s.current=!1),h&&e>g?(n&&!a.current&&n(t),f.scrollTop=p,m=!0,a.current=!0):!h&&-e>u&&(o&&!s.current&&o(t),f.scrollTop=0,m=!0,s.current=!0),m&&function(t){t.preventDefault(),t.stopPropagation()}(t)}}),[]),p=(0,g.useCallback)((function(t){u(t,t.deltaY)}),[u]),d=(0,g.useCallback)((function(t){l.current=t.changedTouches[0].clientY}),[]),f=(0,g.useCallback)((function(t){var e=l.current-t.changedTouches[0].clientY;u(t,e)}),[u]),h=(0,g.useCallback)((function(t){if(t){var e=!!Ae&&{passive:!1};"function"==typeof t.addEventListener&&t.addEventListener("wheel",p,e),"function"==typeof t.addEventListener&&t.addEventListener("touchstart",d,e),"function"==typeof t.addEventListener&&t.addEventListener("touchmove",f,e)}}),[f,d,p]),m=(0,g.useCallback)((function(t){t&&("function"==typeof t.removeEventListener&&t.removeEventListener("wheel",p,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchstart",d,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchmove",f,!1))}),[f,d,p]);return(0,g.useEffect)((function(){if(e){var t=c.current;return h(t),function(){m(t)}}}),[e,h,m]),function(t){c.current=t}}({isEnabled:void 0===r||r,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),i=function(t){var e=t.isEnabled,n=t.accountForScrollbars,r=void 0===n||n,o=(0,g.useRef)({}),i=(0,g.useRef)(null),a=(0,g.useCallback)((function(t){if(Dn){var e=document.body,n=e&&e.style;if(r&&kn.forEach((function(t){var e=n&&n[t];o.current[t]=e})),r&&jn<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Cn).forEach((function(t){var e=Cn[t];n&&(n[t]=e)})),n&&(n.paddingRight="".concat(s,"px"))}e&&An()&&(e.addEventListener("touchmove",En,In),t&&(t.addEventListener("touchstart",On,In),t.addEventListener("touchmove",Mn,In))),jn+=1}}),[]),s=(0,g.useCallback)((function(t){if(Dn){var e=document.body,n=e&&e.style;jn=Math.max(jn-1,0),r&&jn<1&&kn.forEach((function(t){var e=o.current[t];n&&(n[t]=e)})),e&&An()&&(e.removeEventListener("touchmove",En,In),t&&(t.removeEventListener("touchstart",On,In),t.removeEventListener("touchmove",Mn,In)))}}),[]);return(0,g.useEffect)((function(){if(e){var t=i.current;return a(t),function(){s(t)}}}),[e,a,s]),function(t){i.current=t}}({isEnabled:n});return ee(m().Fragment,null,n&&ee("div",{onClick:Ln,css:Tn}),e((function(t){o(t),i(t)})))}var Pn={clearIndicator:qe,container:function(t){var e=t.isDisabled;return{label:"container",direction:t.isRtl?"rtl":null,pointerEvents:e?"none":null,position:"relative"}},control:function(t){var e=t.isDisabled,n=t.isFocused,r=t.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:e?o.neutral5:o.neutral0,borderColor:e?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:Ge,group:function(t){var e=t.theme.spacing;return{paddingBottom:2*e.baseUnit,paddingTop:2*e.baseUnit}},groupHeading:function(t){var e=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*e.baseUnit,paddingRight:3*e.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:e?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:e?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(t){var e=t.isFocused,n=t.size,r=t.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:e?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Pe,menu:function(t){var e,n=t.placement,r=t.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return h(e={label:"menu"},function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),h(e,"backgroundColor",a.neutral0),h(e,"borderRadius",o),h(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),h(e,"marginBottom",i.menuGutter),h(e,"marginTop",i.menuGutter),h(e,"position","absolute"),h(e,"width","100%"),h(e,"zIndex",1),e},menuList:function(t){var e=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:e,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(t){var e=t.rect,n=t.offset,r=t.position;return{left:e.left,position:r,top:n,width:e.width,zIndex:1}},multiValue:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius;return{label:"multiValue",backgroundColor:e.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(t){var e=t.theme,n=e.borderRadius,r=e.colors,o=t.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius,o=e.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:t.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:Ne,option:function(t){var e=t.isDisabled,n=t.isFocused,r=t.isSelected,o=t.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:e?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!e&&(r?a.primary:a.primary50)}}},placeholder:function(t){var e=t.theme,n=e.spacing;return{label:"placeholder",color:e.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:e?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(t){var e=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},zn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Rn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_e(),captureMenuScroll:!_e(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){var n=pe({ignoreCase:!0,ignoreAccents:!0,stringify:wn,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?xn(e):e,c=a?xn(i(t)):i(t);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=bn(l),c=vn(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(t){return!!t.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function Bn(t,e,n,r){return{type:"option",data:e,isDisabled:Vn(t,e,n),isSelected:Kn(t,e,n),label:Yn(t,e),value:Wn(t,e),index:r}}function Fn(t,e){return t.options.map((function(n,r){if(n.options){var o=n.options.map((function(n,r){return Bn(t,n,e,r)})).filter((function(e){return Un(t,e)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Bn(t,n,e,r);return Un(t,i)?i:void 0})).filter((function(t){return!!t}))}function Hn(t){return t.reduce((function(t,e){return"group"===e.type?t.push.apply(t,f(e.options.map((function(t){return t.data})))):t.push(e.data),t}),[])}function Un(t,e){var n=t.inputValue,r=void 0===n?"":n,o=e.data,i=e.isSelected,a=e.label,s=e.value;return(!Gn(t)||!i)&&Xn(t,{label:a,value:s,data:o},r)}var Yn=function(t,e){return t.getOptionLabel(e)},Wn=function(t,e){return t.getOptionValue(e)};function Vn(t,e,n){return"function"==typeof t.isOptionDisabled&&t.isOptionDisabled(e,n)}function Kn(t,e,n){if(n.indexOf(e)>-1)return!0;if("function"==typeof t.isOptionSelected)return t.isOptionSelected(e,n);var r=Wn(t,e);return n.some((function(e){return Wn(t,e)===r}))}function Xn(t,e,n){return!t.filterOption||t.filterOption(e,n)}var Gn=function(t){var e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},qn=1,Zn=function(t){l(n,t);var e=he(n);function n(t){var r;return o(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(t){r.controlRef=t},r.focusedOptionRef=null,r.getFocusedOptionRef=function(t){r.focusedOptionRef=t},r.menuListRef=null,r.getMenuListRef=function(t){r.menuListRef=t},r.inputRef=null,r.getInputRef=function(t){r.inputRef=t},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(t,e){var n=r.props,o=n.onChange,i=n.name;e.name=i,r.ariaOnChange(t,e),o(t,e)},r.setValue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,o=r.props,i=o.closeMenuOnSelect,a=o.isMulti;r.onInputChange("",{action:"set-value"}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(t,{action:e,option:n})},r.selectOption=function(t){var e=r.props,n=e.blurInputOnSelect,o=e.isMulti,i=e.name,a=r.state.selectValue,s=o&&r.isOptionSelected(t,a),l=r.isOptionDisabled(t,a);if(s){var c=r.getOptionValue(t);r.setValue(a.filter((function(t){return r.getOptionValue(t)!==c})),"deselect-option",t)}else{if(l)return void r.ariaOnChange(t,{action:"select-option",name:i});o?r.setValue([].concat(f(a),[t]),"select-option",t):r.setValue(t,"select-option")}n&&r.blurInput()},r.removeValue=function(t){var e=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(t),i=n.filter((function(t){return r.getOptionValue(t)!==o})),a=e?i:i[0]||null;r.onChange(a,{action:"remove-value",removedValue:t}),r.focusInput()},r.clearValue=function(){var t=r.state.selectValue;r.onChange(r.props.isMulti?[]:null,{action:"clear",removedValues:t})},r.popValue=function(){var t=r.props.isMulti,e=r.state.selectValue,n=e[e.length-1],o=e.slice(0,e.length-1),i=t?o:o[0]||null;r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var t=arguments.length,e=new Array(t),n=0;n5||i>5}},r.onTouchEnd=function(t){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(t.target)&&r.menuListRef&&!r.menuListRef.contains(t.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(t){r.userIsDragging||r.onControlMouseDown(t)},r.onClearIndicatorTouchEnd=function(t){r.userIsDragging||r.onClearIndicatorMouseDown(t)},r.onDropdownIndicatorTouchEnd=function(t){r.userIsDragging||r.onDropdownIndicatorMouseDown(t)},r.handleInputChange=function(t){var e=t.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(e,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(t){r.props.onFocus&&r.props.onFocus(t),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(t){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(t),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(t){r.blockOptionHover||r.state.focusedOption===t||r.setState({focusedOption:t})},r.shouldHideSelectedOptions=function(){return Gn(r.props)},r.onKeyDown=function(t){var e=r.props,n=e.isMulti,o=e.backspaceRemovesValue,i=e.escapeClearsValue,a=e.inputValue,s=e.isClearable,l=e.isDisabled,c=e.menuIsOpen,u=e.onKeyDown,p=e.tabSelectsValue,d=e.openMenuOnFocus,f=r.state,h=f.focusedOption,g=f.focusedValue,m=f.selectValue;if(!(l||"function"==typeof u&&(u(t),t.defaultPrevented))){switch(r.blockOptionHover=!0,t.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)r.removeValue(g);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(t.shiftKey||!c||!p||!h||d&&r.isOptionSelected(h,m))return;r.selectOption(h);break;case"Enter":if(229===t.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}t.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++qn),r.state.selectValue=ve(t.value),r}return a(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(t){var e,n,r,o,i,a=this.props,s=a.isDisabled,l=a.menuIsOpen,c=this.state.isFocused;(c&&!s&&t.isDisabled||c&&l&&!t.menuIsOpen)&&this.focusInput(),c&&s&&!t.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(e=this.menuListRef,n=this.focusedOptionRef,r=e.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?Se(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return e.onMenuOpen()}))}},{key:"focusValue",value:function(t){var e=this.state,n=e.selectValue,r=e.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(t){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===t?o=i>0?i-1:r.length-1:"down"===t?o=(i+1)%r.length:"pageup"===t?(o=i-e)<0&&(o=0):"pagedown"===t?(o=i+e)>r.length-1&&(o=r.length-1):"last"===t&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(zn):pe(pe({},zn),this.props.theme):zn}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,l=a.isRtl,c=a.options;return{clearValue:t,cx:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:c,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return Vn(this.props,t,e)}},{key:"isOptionSelected",value:function(t,e){return Kn(this.props,t,e)}},{key:"filterOption",value:function(t,e){return Xn(this.props,t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:r})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,r=t.inputId,o=t.inputValue,i=t.tabIndex,a=t.form,s=this.getComponents().Input,l=this.state.inputIsHidden,c=this.commonProps,u=r||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return n?m().createElement(s,L({},c,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:u,innerRef:this.getInputRef,isDisabled:e,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},p)):m().createElement(Sn,L({id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ge,onFocus:this.onInputFocus,readOnly:!0,disabled:e,tabIndex:i,form:a,value:""},p))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.getComponents(),n=e.MultiValue,r=e.MultiValueContainer,o=e.MultiValueLabel,i=e.MultiValueRemove,a=e.SingleValue,s=e.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,f=c.inputValue,h=c.placeholder,g=this.state,y=g.selectValue,v=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!u)return f?null:m().createElement(s,L({},l,{key:"placeholder",isDisabled:p,isFocused:b}),h);if(d){var x=y.map((function(e,a){var s=e===v;return m().createElement(n,L({},l,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:p,key:"".concat(t.getOptionValue(e)).concat(a),index:a,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:e}),t.formatOptionLabel(e,"value"))}));return x}if(f)return null;var w=y[0];return m().createElement(a,L({},l,{data:w,isDisabled:p}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return m().createElement(t,L({},e,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return t&&o?m().createElement(t,L({},e,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return m().createElement(n,L({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return m().createElement(t,L({},e,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,e=this.getComponents(),n=e.Group,r=e.GroupHeading,o=e.Menu,i=e.MenuList,a=e.MenuPortal,s=e.LoadingMessage,l=e.NoOptionsMessage,c=e.Option,u=this.commonProps,p=this.state.focusedOption,d=this.props,f=d.captureMenuScroll,h=d.inputValue,g=d.isLoading,y=d.loadingMessage,v=d.minMenuHeight,b=d.maxMenuHeight,x=d.menuIsOpen,w=d.menuPlacement,S=d.menuPosition,k=d.menuPortalTarget,C=d.menuShouldBlockScroll,_=d.menuShouldScrollIntoView,E=d.noOptionsMessage,M=d.onMenuScrollToTop,O=d.onMenuScrollToBottom;if(!x)return null;var A,D=function(e,n){var r=e.type,o=e.data,i=e.isDisabled,a=e.isSelected,s=e.label,l=e.value,d=p===o,f=i?void 0:function(){return t.onOptionHover(o)},h=i?void 0:function(){return t.selectOption(o)},g="".concat(t.getElementId("option"),"-").concat(n),y={id:g,onClick:h,onMouseMove:f,onMouseOver:f,tabIndex:-1};return m().createElement(c,L({},u,{innerProps:y,data:o,isDisabled:i,isSelected:a,key:g,label:s,type:r,value:l,isFocused:d,innerRef:d?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())A=this.getCategorizedOptions().map((function(e){if("group"===e.type){var o=e.data,i=e.options,a=e.index,s="".concat(t.getElementId("group"),"-").concat(a),l="".concat(s,"-heading");return m().createElement(n,L({},u,{key:s,data:o,options:i,Heading:r,headingProps:{id:l,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return D(t,"".concat(a,"-").concat(t.index))})))}if("option"===e.type)return D(e,"".concat(e.index))}));else if(g){var j=y({inputValue:h});if(null===j)return null;A=m().createElement(s,u,j)}else{var I=E({inputValue:h});if(null===I)return null;A=m().createElement(l,u,I)}var T={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:S,menuShouldScrollIntoView:_},N=m().createElement(Le,L({},u,T),(function(e){var n=e.ref,r=e.placerProps,a=r.placement,s=r.maxHeight;return m().createElement(o,L({},u,T,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:g,placement:a}),m().createElement(Nn,{captureEnabled:f,onTopArrive:M,onBottomArrive:O,lockEnabled:C},(function(e){return m().createElement(i,L({},u,{innerRef:function(n){t.getMenuListRef(n),e(n)},isLoading:g,maxHeight:s,focusedOption:p}),A)})))}));return k||"fixed"===S?m().createElement(a,L({},u,{appendTo:k,controlElement:this.controlRef,menuPlacement:w,menuPosition:S}),N):N}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,r=e.isDisabled,o=e.isMulti,i=e.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(e){return t.getOptionValue(e)})).join(n);return m().createElement("input",{name:i,type:"hidden",value:s})}var l=a.length>0?a.map((function(e,n){return m().createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:t.getOptionValue(e)})})):m().createElement("input",{name:i,type:"hidden"});return m().createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return m().createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,e=this.state,n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.isFocused,a=e.selectValue,s=this.getFocusableOptions();return m().createElement(pn,L({},t,{ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var t=this.getComponents(),e=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,i=this.props,a=i.className,s=i.id,l=i.isDisabled,c=i.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return m().createElement(r,L({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),m().createElement(e,L({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),m().createElement(o,L({},p,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),m().createElement(n,L({},p,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.clearFocusValueOnUpdate,o=e.inputIsHiddenAfterUpdate,i=t.options,a=t.value,s=t.menuIsOpen,l=t.inputValue,c={};if(n&&(a!==n.value||i!==n.options||s!==n.menuIsOpen||l!==n.inputValue)){var u=ve(a),p=s?function(t,e){return Hn(Fn(t,e))}(t,u):[],d=r?function(t,e){var n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r-1?n:e[0]}(e,p);c={selectValue:u,focusedOption:f,focusedValue:d,clearFocusValueOnUpdate:!1}}var h=null!=o&&t!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{};return pe(pe(pe({},c),h),{},{prevProps:t})}}]),n}(g.Component);Zn.defaultProps=Rn;var Qn,Jn,$n,tr=(g.Component,Qn=Zn,$n=Jn=function(t){l(n,t);var e=he(n);function n(){var t;o(this,n);for(var r=arguments.length,i=new Array(r),a=0;a1?n-1:0),o=1;ot.length)&&(e=t.length);for(var n=0,r=new Array(e);ne.priority?1:-1}))},jr=function(t,e){var n,r,o,i,a=e,s=t;return Sr(t)||(t.persist&&t.persist(),r=(n=t.target||t.currentTarget).type,o=n.name,i=n.value,t=n.checked,n.multiple,a=e||o,s=/number|range/.test(r)?(o=parseFloat(i),isNaN(o)?"":o):/checkbox/.test(r)?t:i),{field:a,val:s}},Ir=function(t,e){if(null==t)return{};for(var n,r={},o=Object.keys(t),i=0;ie},gte:function(t,e,n){return Rr(n,t)>=e},lt:function(t,e,n){return Rr(n,t)t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,i=!1;return{s:function(){_n=_n.call(t)},n:function(){var t=_n.next();return o=t.done,t},e:function(t){i=!0,r=t},f:function(){try{o||null==_n.return||_n.return()}finally{if(i)throw r}}}}(i);try{for(r.s();!(t=r.n()).done;)e[t.value.value]=n}catch(t){r.e(t)}finally{r.f()}c(e)}}),[]),(0,g.createElement)("div",{className:"wprf-toggle-wrapper wprf-control"},(0,g.createElement)(fo,null,i.map((function(e){return(0,g.createElement)(ho,{key:e.value,column:a.column},(0,g.createElement)(ti,si(si({},e),{},{context:null==t?void 0:t.context,id:e.value,checked:void 0===l[e.value]||(null!=l&&l[e.value]?n:!(null==l||!l[e.value])),type:"checkbox",onChange:s,style:a})))}))))}return(0,g.createElement)(ti,t)},ci=["label","value","icon","is_pro"];function ui(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}var pi=Co((function t(e){var n=to(),r=(a=eo(e,"options")).options,o=a.option;if(!r)throw new Error((0,O.__)("#options is a required arguments for RadioCard field.","notificationx"));var i=qo(t),a=v()(["wprf-control","wprf-radio-card","wprf-input-radio-set-wrap",null==e?void 0:e.className]),s=function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function Ti(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Ni(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"!==e[0]||t.parentNode===n)&&Li(t,e)||r&&t===n)return t}while(t!==n&&(t=Ti(t)))}return null}var Pi,zi=/\s+/g;function Ri(t,e,n){var r;t&&e&&(t.classList?t.classList[n?"add":"remove"](e):(r=(" "+t.className+" ").replace(zi," ").replace(" "+e+" "," "),t.className=(r+(n?" "+e:"")).replace(zi," ")))}function Bi(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];r[e=e in r||-1!==e.indexOf("webkit")?e:"-webkit-"+e]=n+("string"==typeof n?"":"px")}}function Fi(t,e){var n="";if("string"==typeof t)n=t;else do{var r=Bi(t,"transform")}while(r&&"none"!==r&&(n=r+" "+n),!e&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Hi(t,e,n){if(t){var r=t.getElementsByTagName(e),o=0,i=r.length;if(n)for(;o=e.left-r&&o<=e.right+r,r=i>=e.top-r&&i<=e.bottom+r;return n&&r?a=t:void 0}})),a);if(e){var n,r={};for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);r.target=r.rootEl=e,r.preventDefault=void 0,r.stopPropagation=void 0,e[na]._onDragOver(r)}}var o,i,a},$a=function(t){ua&&ua.parentNode[na]._isOutsideThisEl(t.target)};function ts(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=bi({},e),t[na]=this;var n,r,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ga(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ts.supportPointer&&"PointerEvent"in window&&!Mi,emptyInsertThreshold:5};for(n in ia.initializePlugins(this,t,o),o)n in e||(e[n]=o[n]);for(r in qa(e),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&Ka,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?ji(t,"pointerdown",this._onTapStart):(ji(t,"mousedown",this._onTapStart),ji(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(ji(t,"dragover",this),ji(t,"dragenter",this)),za.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),bi(this,function(){var t,e=[];return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){var n,r;"none"!==Bi(t,"display")&&t!==ts.ghost&&(e.push({target:t,rect:Yi(t)}),n=mi({},e[e.length-1].rect),!t.thisAnimationDuration||(r=Fi(t,!0))&&(n.top-=r.f,n.left-=r.e),t.fromRect=n)}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var r in e)if(e.hasOwnProperty(r)&&e[r]===t[n][r])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var o=!1,i=0;e.forEach((function(t){var e=0,n=t.target,a=n.fromRect,s=Yi(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect;(t=Fi(n,!0))&&(s.top-=t.f,s.left-=t.e),n.toRect=s,n.thisAnimationDuration&&Zi(l,s)&&!Zi(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(e=function(t,e,n,r){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*r.animation}(u,l,c,r.options)),Zi(s,a)||(n.prevFromRect=a,n.prevToRect=s,e=e||r.options.animation,r.animate(n,u,s,e)),e&&(o=!0,i=Math.max(i,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),o?t=setTimeout((function(){"function"==typeof n&&n()}),i):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,r){var o,i;r&&(Bi(t,"transition",""),Bi(t,"transform",""),o=(i=Fi(this.el))&&i.a,i=i&&i.d,o=(e.left-n.left)/(o||1),i=(e.top-n.top)/(i||1),t.animatingX=!!o,t.animatingY=!!i,Bi(t,"transform","translate3d("+o+"px,"+i+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),Bi(t,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),Bi(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){Bi(t,"transition",""),Bi(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),r))}}}())}function es(t,e,n,r,o,i,a,s){var l,c=t[na],u=c.options.onMove;return!window.CustomEvent||Ci||_i?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=r,l.related=o||e,l.relatedRect=i||Yi(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),u?u.call(c,l,a):undefined}function ns(t){t.draggable=!1}function rs(){Ha=!1}function os(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function is(t){return setTimeout(t,0)}function as(t){return clearTimeout(t)}ts.prototype={constructor:ts,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(ja=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,ua):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,o=r.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;if(function(t){Ua.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var r=e[n];r.checked&&Ua.push(r)}}(n),!ua&&!(/mousedown|pointerdown/.test(i)&&0!==t.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!Mi||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=Ni(s,r.draggable,n,!1))&&s.animated||ga===s)){if(va=Xi(s),xa=Xi(s,r.draggable),"function"==typeof c){if(c.call(this,t,s,this))return ca({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),la("filter",e,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(c=c&&c.split(",").some((function(r){if(r=Ni(l,r.trim(),n,!1))return ca({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),la("filter",e,{evt:t}),!0})))return void(o&&t.cancelable&&t.preventDefault());r.handle&&!Ni(l,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,o=this,i=o.el,a=o.options,s=i.ownerDocument;n&&!ua&&n.parentNode===i&&(r=Yi(n),fa=i,pa=(ua=n).parentNode,ha=ua.nextSibling,ga=n,Sa=a.group,ts.dragged=ua,Ca={target:ua,clientX:(e||t).clientX,clientY:(e||t).clientY},Oa=Ca.clientX-r.left,Aa=Ca.clientY-r.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,ua.style["will-change"]="all",r=function(){la("delayEnded",o,{evt:t}),ts.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!Ei&&o.nativeDraggable&&(ua.draggable=!0),o._triggerDragStart(t,e),ca({sortable:o,name:"choose",originalEvent:t}),Ri(ua,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){Hi(ua,t.trim(),ns)})),ji(s,"dragover",Ja),ji(s,"mousemove",Ja),ji(s,"touchmove",Ja),ji(s,"mouseup",o._onDrop),ji(s,"touchend",o._onDrop),ji(s,"touchcancel",o._onDrop),Ei&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ua.draggable=!0),la("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(_i||Ci)?r():ts.eventCanceled?this._onDrop():(ji(s,"mouseup",o._disableDelayedDrag),ji(s,"touchend",o._disableDelayedDrag),ji(s,"touchcancel",o._disableDelayedDrag),ji(s,"mousemove",o._delayedDragTouchMoveHandler),ji(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&ji(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(r,a.delay)))},_delayedDragTouchMoveHandler:function(t){t=t.touches?t.touches[0]:t,Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ua&&ns(ua),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ii(t,"mouseup",this._disableDelayedDrag),Ii(t,"touchend",this._disableDelayedDrag),Ii(t,"touchcancel",this._disableDelayedDrag),Ii(t,"mousemove",this._delayedDragTouchMoveHandler),Ii(t,"touchmove",this._delayedDragTouchMoveHandler),Ii(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?ji(document,"pointermove",this._onTouchMove):ji(document,e?"touchmove":"mousemove",this._onTouchMove):(ji(ua,"dragend",this),ji(fa,"dragstart",this._onDragStart));try{document.selection?is((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){var n;Na=!1,fa&&ua?(la("dragStarted",this,{evt:e}),this.nativeDraggable&&ji(document,"dragover",$a),n=this.options,t||Ri(ua,n.dragClass,!1),Ri(ua,n.ghostClass,!0),ts.active=this,t&&this._appendGhost(),ca({sortable:this,name:"start",originalEvent:e})):this._nulling()},_emulateDragOver:function(){if(_a){this._lastX=_a.clientX,this._lastY=_a.clientY,Za();for(var t=document.elementFromPoint(_a.clientX,_a.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(_a.clientX,_a.clientY))!==e;)e=t;if(ua.parentNode[na]._isOutsideThisEl(t),e)do{if(e[na]&&e[na]._onDragOver({clientX:_a.clientX,clientY:_a.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}while(e=(t=e).parentNode);Qa()}},_onTouchMove:function(t){if(Ca){var e=(s=this.options).fallbackTolerance,n=s.fallbackOffset,r=t.touches?t.touches[0]:t,o=da&&Fi(da,!0),i=da&&o&&o.a,a=da&&o&&o.d,s=Wa&&Ta&&Gi(Ta);if(i=(r.clientX-Ca.clientX+n.x)/(i||1)+(s?s[0]-Fa[0]:0)/(i||1),a=(r.clientY-Ca.clientY+n.y)/(a||1)+(s?s[1]-Fa[1]:0)/(a||1),!ts.active&&!Na){if(e&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))n.right+10||t.clientX<=n.right&&t.clientY>n.bottom&&t.clientX>=n.left:t.clientX>n.right&&t.clientY>n.top||t.clientX<=n.right&&t.clientY>n.bottom+10}(t,r,this)&&!S.animated){if(S===ua)return E(!1);if((i=S&&o===t.target?S:i)&&(v=Yi(i)),!1!==es(fa,o,ua,e,i,v,t,!!i))return _(),S&&S.nextSibling?o.insertBefore(ua,S.nextSibling):o.appendChild(ua),pa=o,M(),E(!0)}else if(S&&function(t,e,n){return n=Yi(Vi(n.el,0,n.options,!0)),e?t.clientX when using the "').concat(i,'" plugin'))}y(u),a.forEach((function(n){var r=n.oldIndex;n=e.props.clone(n.item,t),l.splice(r,1,n)}))}l=l.map((function(t){return Object.assign(t,{selected:!1})})),o(l,this.sortable,E)}},{key:"onUpdate",value:function(t){var e=this.props,n=e.list,r=e.setList;return y(t=x(t,n)),b(t),r(t=S(t,w(t,n)),this.sortable,E)}},{key:"onStart",value:function(){E.dragging=this}},{key:"onEnd",value:function(){E.dragging=null}},{key:"onChoose",value:function(t){var e=this.props,n=e.list,r=e.setList,o=n.map((function(e,n){var r=e;return n===t.oldIndex&&(r=Object.assign(e,{chosen:!0})),r}));r(o,this.sortable,E)}},{key:"onUnchoose",value:function(t){var e=this.props,n=e.list,r=e.setList,o=n.map((function(e,n){var r=e;return n===t.oldIndex&&(r=Object.assign(r,{chosen:!1})),r}));r(o,this.sortable,E)}},{key:"onSpill",value:function(t){var e=this.props,n=e.removeOnSpill,r=e.revertOnSpill;n&&!r&&g(t.item)}},{key:"onSelect",value:function(t){var e=this.props,n=e.list,r=e.setList,o=n.map((function(t){return Object.assign(t,{selected:!1})}));t.newIndicies.forEach((function(e){var n=e.index;if(-1===n)return console.log('"'.concat(t.type,'" had indice of "').concat(e.index,"\", which is probably -1 and doesn't usually happen here.")),void console.log(t);o[n].selected=!0})),r(o,this.sortable,E)}},{key:"onDeselect",value:function(t){var e=this.props,n=e.list,r=e.setList,o=n.map((function(t){return Object.assign(t,{selected:!1})}));t.newIndicies.forEach((function(t){-1!==(t=t.index)&&(o[t].selected=!0)})),r(o,this.sortable,E)}}]),C}(i.Component);h(M,"defaultProps",{clone:function(t){return t}}),C=t.exports,_={},Object.keys(_).forEach((function(t){"default"===t||"__esModule"===t||C.hasOwnProperty(t)||Object.defineProperty(C,t,{enumerable:!0,get:function(){return _[t]}})}))}(hi);var Rs=new Uint8Array(16);function Bs(){if(!Ts&&!(Ts="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ts(Rs)}var Fs=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Hs(t){return"string"==typeof t&&Fs.test(t)}for(var Us=[],Ys=0;Ys<256;++Ys)Us.push((Ys+256).toString(16).substr(1));function Ws(t,e,n){var r=(t=t||{}).random||(t.rng||Bs)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var o=0;o<16;++o)e[n+o]=r[o];return e}return function(t){var e;if(!Hs(e=(Us[t[(e=10?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(l);e.NodeWithChildren=f;var h=function(t){function e(e){return t.call(this,a.ElementType.Root,e)||this}return o(e,t),e}(f);e.Document=h;var g=function(t){function e(e,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===e?a.ElementType.Script:"style"===e?a.ElementType.Style:a.ElementType.Tag);var i=t.call(this,o,r)||this;return i.name=e,i.attribs=n,i}return o(e,t),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map((function(e){var n,r;return{name:e,value:t.attribs[e],namespace:null===(n=t["x-attribsNamespace"])||void 0===n?void 0:n[e],prefix:null===(r=t["x-attribsPrefix"])||void 0===r?void 0:r[e]}}))},enumerable:!1,configurable:!0}),e}(f);function m(t){return(0,a.isTag)(t)}function y(t){return t.type===a.ElementType.CDATA}function v(t){return t.type===a.ElementType.Text}function b(t){return t.type===a.ElementType.Comment}function x(t){return t.type===a.ElementType.Directive}function w(t){return t.type===a.ElementType.Root}function S(t,e){var n;if(void 0===e&&(e=!1),v(t))n=new u(t.data);else if(b(t))n=new p(t.data);else if(m(t)){var r=e?k(t.children):[],o=new g(t.name,i({},t.attribs),r);r.forEach((function(t){return t.parent=o})),null!=t.namespace&&(o.namespace=t.namespace),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},t["x-attribsPrefix"])),n=o}else if(y(t)){r=e?k(t.children):[];var s=new f(a.ElementType.CDATA,r);r.forEach((function(t){return t.parent=s})),n=s}else if(w(t)){r=e?k(t.children):[];var l=new h(r);r.forEach((function(t){return t.parent=l})),t["x-mode"]&&(l["x-mode"]=t["x-mode"]),n=l}else{if(!x(t))throw new Error("Not implemented yet: ".concat(t.type));var c=new d(t.name,t.data);null!=t["x-name"]&&(c["x-name"]=t["x-name"],c["x-publicId"]=t["x-publicId"],c["x-systemId"]=t["x-systemId"]),n=c}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function k(t){for(var e=t.map((function(t){return S(t,!0)})),n=1;n=0||(o[n]=t[n]);return o}(t,["leaves"]);return new d(function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:d;return t.call(this,g(e))||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},i.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(t,e){o(this.getCharacterList(),f,t,e)},i.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},r}(c(d));t.exports=m},1498:function(t,e,n){"use strict";function r(t){for(var e=1;e1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,n){return c.__create(t,e,n),this},s.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},s.addEntity=function(t){return c.__add(t),this},s.getEntity=function(t){return c.__get(t)},s.getAllEntities=function(){return c.__getAll()},s.loadWithEntities=function(t){return c.__loadWithEntities(t)},o.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new u:u.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:e||c,selectionBefore:a,selectionAfter:a})},o.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e),r=n.map((function(t){return t=g(t),new S({key:p(),text:t,type:"unstyled",characterList:m(v(a.EMPTY,t.length))})}));return o.createFromBlockArray(r)},o.fromJS=function(t){return new o(r({},t,{blockMap:x(t.blockMap).map(o.createContentBlockFromJS),selectionBefore:new u(t.selectionBefore),selectionAfter:new u(t.selectionAfter)}))},o.createContentBlockFromJS=function(t){var e=t.characterList;return new S(r({},t,{data:b(t.data),characterList:null!=e?m((Array.isArray(e)?e:d(e)).map((function(t){return a.fromJS(t)}))):void 0}))},o}(w);t.exports=k},3483:function(t,e,n){"use strict";var r=n(4516),o=n(2371).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),l=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),p=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===c})).concat(o([[c,a.get(c)]])).map((function(t,e){var o,a;s===c?(o=l,a=u):(o=e===s?l:0,a=e===c?u:t.getLength());for(var p,d=t.getCharacterList();o0&&window.scrollTo(i.x,i.y+r+10)}else b(n)||v(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&u.setTop(o,u.getTop(o)+r+10)}}}},S._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),i=this.props.tree.size-1,a=w(this.props.selection,n);return this.props.tree.map((function(u,p){var h=u.get("leaves");if(0===h.size)return null;var g=h.size-1,m=h.map((function(o,u){var d=l.encode(n,p,u),f=o.get("start"),h=o.get("end");return c.createElement(s,{key:d,offsetKey:d,block:e,start:f,selection:a?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(f,h),styleSet:e.getInlineStyleAt(f),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:p===i&&u===g})})).toArray(),y=u.get("decoratorKey");if(null==y)return m;if(!t.props.decorator)return m;var v=x(t.props.decorator),b=v.getComponentForKey(y);if(!b)return m;var w=v.getPropsForKey(y),S=l.encode(n,p,0),k=h.first().get("start"),C=h.last().get("end"),_=r.slice(k,C),E=e.getEntityAt(u.get("start")),M=f.getHTMLDirIfDifferent(d.getDirection(_),t.props.direction),O={contentState:t.props.contentState,decoratedText:_,dir:M,start:k,end:C,blockKey:n,entityKey:E,offsetKey:S};return c.createElement(b,o({},w,O,{key:S}),m)})).toArray()},S.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,o=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return c.createElement("div",{"data-offset-key":r,className:o,ref:function(e){return t._node=e}},this._renderChildren())},r}(c.Component);t.exports=S},5821:function(t,e,n){"use strict";var r=n(7418);function o(){return o=r||function(t){for(var e=1;e0&&window.scrollTo(i.x,i.y+r+10)}else{v(n)||y(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&p.setTop(o,p.getTop(o)+r+10)}}}},m.render=function(){var t=this,e=this.props,n=e.block,i=e.blockRenderMap,s=e.blockRendererFn,p=e.blockStyleFn,d=e.contentState,f=e.decorator,h=e.editorKey,g=e.editorState,m=e.customStyleFn,y=e.customStyleMap,v=e.direction,k=e.forceSelection,C=e.selection,_=e.tree,E=null;n.children.size&&(E=n.children.reduce((function(e,n){var o=c.encode(n,0,0),l=d.getBlockForKey(n),f=w(l,s),m=f.CustomComponent||r,y=x(l,i),v=y.Element,b=y.wrapperTemplate,k=S(l,h,o,p,f,null),C=a({},t.props,{tree:g.getBlockTree(n),blockProps:f.customProps,offsetKey:o,block:l});return e.push(u.createElement(v,k,u.createElement(m,C))),!b||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(l,d)||function(t,e,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var p=s.value;if(p.type!==e)break;r.push(p)}}catch(t){i=!0,a=t}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),f=d[0].key;n.push(u.cloneElement(t,{key:"".concat(f,"-wrap"),"data-offset-key":c.encode(f,0,0)},d))}(b,v,e),e}),[]));var M=n.getKey(),O=c.encode(M,0,0),A=w(n,s),D=A.CustomComponent,j=null!=D?u.createElement(D,o({},this.props,{tree:g.getBlockTree(M),blockProps:A.customProps,offsetKey:O,block:n})):u.createElement(l,{block:n,children:E,contentState:d,customStyleFn:m,customStyleMap:y,decorator:f,direction:v,forceSelection:k,hasSelection:b(C,M),selection:C,tree:_});if(n.getParentKey())return j;var I=x(n,i).Element,L=S(n,h,O,p,A,this.wrapperRef);return u.createElement(I,L,j)},r}(u.Component);t.exports=k},3418:function(t,e,n){"use strict";var r=n(7907),o=n(2307),i=n(2146),a=n(4289),s=n(5399),l=n(4856),c=n(4507),u=n(4907),p=n(1244),d=n(2128),f=n(2045),h=l.isBrowser("IE"),g=!1,m=!1,y=null,v={onCompositionStart:function(t){m=!0,function(t){y||(y=new r(u(t))).start()}(t)},onCompositionEnd:function(t){g=!1,m=!1,setTimeout((function(){g||v.resolveComposition(t)}),20)},onSelect:c,onKeyDown:function(t,e){if(!m)return v.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!m){var e=f(y).stopAndFlushMutations();y=null,g=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach((function(t,e){var s=i.decode(e),l=s.blockKey,c=s.decoratorKey,u=s.leafKey,p=n.getBlockTree(l).getIn([c,"leaves",u]),f=p.start,h=p.end,g=n.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:f,focusOffset:h,isBackward:!1}),m=d(r,g),y=r.getBlockForKey(l).getInlineStyleAt(f);r=o.replaceText(r,g,t,y,m),n=a.set(n,{currentContent:r})}));var s=p(n,u(t)).selectionState;t.restoreEditorDOM();var l=h?a.forceSelection(n,s):a.acceptSelection(n,s);t.update(a.push(l,r,"insert-characters"))}else t.update(n)}}};t.exports=v},8795:function(t,e,n){"use strict";var r=n(7418);function o(){return o=r||function(t){for(var e=1;e=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),l=e.getDecorator(),c=n.getDecorator();return o!==i||a!==s||l!==c||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,u=t.customStyleFn,h=t.editorState,g=t.editorKey,m=t.preventScroll,y=t.textDirectionality,v=h.getCurrentContent(),b=h.getSelection(),x=h.mustForceSelection(),w=h.getDecorator(),S=d(h.getDirectionMap()),k=v.getBlocksAsArray(),C=[],_=null,E=null,M=0;M_,N)));var Y=I||s,W={className:U,"data-block":!0,"data-editor":g,"data-offset-key":P,key:A};void 0!==T&&(W=i({},W,{contentEditable:T,suppressContentEditableWarning:!0}));var V=c.createElement(F,W,c.createElement(Y,o({},z,{key:A})));C.push({block:V,wrapperTemplate:B,key:A,offsetKey:P}),_=B?O.getDepth():null,E=B}for(var K=[],X=0;X0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(f,m)))return;l(m,(function(e){e&&t.update(g(u,f,e))}))}else{var y=t._internalDrag?"internal":"external";t.props.handleDrop&&p(t.props.handleDrop(f,n,y))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(u,f)):t.update(g(u,f,n.getText()))),h(t)}}}};function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:u(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function g(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=f},9394:function(t,e,n){"use strict";var r=n(4856),o=n(6396),i=n(3421),a=n(6155),s=n(9328),l=n(3935),c=n(9499),u=n(981),p=n(2186),d=n(9971),f=n(6397),h=n(6089),g=n(4507),m=r.isBrowser("Chrome"),y=r.isBrowser("Firefox"),v=m||y?g:function(t){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:l,onDragOver:c,onDragStart:u,onFocus:p,onInput:d,onKeyDown:f,onPaste:h,onSelect:g,onMouseUp:v,onKeyUp:v};t.exports=b},4083:function(t,e,n){"use strict";var r=n(1850).unstable_flushControlled;t.exports=r},2282:function(t,e,n){"use strict";var r=n(7418);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(52),s=n(9196),l=n(3759),c=n(6581),u=n(5412).setDraftEditorSelection,p=function(t){var e,n;function p(){for(var e,n=arguments.length,r=new Array(n),a=0;a0)return" "+t}else if(e3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=f(t,e),i=h(o,e);return c(i,i.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,o,i,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),i=t.getBlockForKey(r),s=t.getBlockForKey(o);var l=e.getStartOffset(),c=e.getEndOffset(),u=i.getEntityAt(l),p=s.getEntityAt(c-1);if(r===o&&u&&u===p){var d=a(t.getEntityMap(),i,s,e,n);return h(t,d)}var g=f(t,e);return h(g,e)},splitBlock:function(t,e){var n=f(t,e),r=h(n,e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return d(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return d(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return d(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var r=f(t,e);return i(r,e,n)}};t.exports=y},2146:function(t){"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};t.exports=n},5712:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(8777),i=n(7953),a=n(7841),s=n(5027),l=n(9769),c=n(8642),u=n(2371),p=n(5283),d=u.List,f=u.Repeat,h=c("draft_tree_data_support"),g=h?i:o,m={processHTML:function(t,e){return a(t,l,e)},processText:function(t,e,n){return t.reduce((function(t,o,i){o=p(o);var a=s(),l={key:a,type:n,text:o,characterList:d(f(e,o.length))};if(h&&0!==i){var c=i-1;l=function(t){for(var e=1;e0)||(delete u.children,n.push(u));var l=i.children;Array.isArray(l)||a(!1),o=o.concat([].concat(l.reverse()))}var c,u}(e),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var o=s(t),a=t.depth||0,l=r({},t,{children:[]});if(o){var c=n[0];if(null==c&&0===a)e.push(l);else if(null==c||c.depth=a;)n.shift(),c=n[0];a>0?c.children.push(l):e.push(l)}}else e.push(l)})),r({},t,{blocks:e})}};t.exports=l},2119:function(t,e,n){"use strict";n(3620),t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===n})))return!1;var o=t.getPrevSiblingKey();if(null!=o&&e.get(o).getNextSiblingKey()!==n)return!1;var i=t.getNextSiblingKey();return(null==i||e.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),o=[];null!=r;){var i=t.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var l=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==l)return!1;r=l.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(n){return e.isValidBlock(n,t)}))&&this.isConnectedTree(t)}}},3337:function(t,e,n){"use strict";var r,o=n(7902),i=n(2371),a=n(2045),s=i.OrderedMap,l={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),l=n.valueSeq().map((function(t){return a(r).getDirection(t.getText())})),c=s(n.keySeq().zip(l));return null!=e&&i.is(e,c)?e:c}};t.exports=l},4289:function(t,e,n){"use strict";function r(t){for(var e=1;e0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):x(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r0?o.getInlineStyleAt(r-1):x(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return y(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),y(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new l({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var i=s.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),l=t.getCurrentContent(),c=t.getUndoStack(),u=n;a!==l.getSelectionAfter()||b(t,r)?(c=c.push(l),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",l.getSelectionBefore()));var p=t.getInlineStyleOverride(),f=["adjust-depth","change-block-type","split-block"];-1===f.indexOf(r)&&(p=null);var h={currentContent:u,directionMap:i,undoStack:c,redoStack:d(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function y(t,e,n){return m.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(t,e){return t.getBlockMap().map((function(n){return i.generate(t,n,e)})).toOrderedMap()}function b(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function x(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):u()}t.exports=m},7387:function(t,e,n){"use strict";var r=n(4856),o=n(7797),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:o};t.exports=a},54:function(){},1947:function(t,e,n){"use strict";var r=n(2307),o=n(4289),i=n(1665),a=n(2045),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),l=n.merge({blockMap:a,selectionAfter:e});if(l!==n)return o.push(t,l,"remove-range")}var c=s.tryToRemoveBlockStyle(t);return c?o.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(2371).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},1665:function(t){"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat([[i,a.get(i)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},2835:function(t,e,n){"use strict";var r=n(4516);t.exports=function(t,e,n,o){for(var i=e,a=t.getCharacterList();i1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(N).some((function(n){t.classList.contains(n)&&(e=N[n])})),e},F=function(t){if(!x(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new p(e.href),!0}catch(t){return!1}},H=function(t){if(!k(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},U=function(t,e){if(!S(t))return e;var n=t,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return e.withMutations((function(t){j.indexOf(r)>=0?t.add("BOLD"):I.indexOf(r)>=0&&t.remove("BOLD"),"italic"===o?t.add("ITALIC"):"normal"===o&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},Y=function(t){return"ul"===t||"ol"===t},W=function(){function t(t,e){i(this,"characterList",y()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",u),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=y(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=u,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(C?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||f(),n=o({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:y(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=y(),this.currentBlockType="unstyled",this.currentText="",n},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r(n=void 0!==(r=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=y()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(M,"")).replace(E," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){w(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(k(t)){var n=t,r={};T.forEach((function(t){var e=n.getAttribute(t);e&&(r[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(x(t)){var r=t,o={};L.forEach((function(t){var e=r.getAttribute(t);e&&(o[t]=e)})),o.url=new p(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var i=t[r];i.parent=e,i.prevSibling=r>0?t[r-1].key:null,i.nextSibling=r1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=e(t=t.trim().replace(_,"").replace(O," ").replace(A,"").replace(D,""));if(!r)return null;var o=z(n),i=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new W(o,i).addDOMNode(r).getContentBlocks()}},9607:function(t,e,n){"use strict";function r(t){for(var e=1;e0})),o=v&&!n?c.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!v)return function(t,e){return w(t.map((function(t){var n=new i(S(t,e));return[n.getKey(),n]})))}(n?c.fromRawTreeStateToRawState(t).blocks:o,e);var s=function(t,e){return t.map(C).reduce((function(n,o,i){Array.isArray(o.children)||y(!1);var s=o.children.map(C),l=new a(r({},S(o,e),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:b(s.map((function(t){return t.key})))}));n=n.set(l.getKey(),l);for(var c=_([],s,l);c.length>0;){var u=c.pop(),p=u.parentRef,d=p.getChildKeys(),f=d.indexOf(u.key),h=Array.isArray(u.children);if(!h){h||y(!1);break}var g=u.children.map(C),m=new a(r({},S(u,e),{parent:p.getKey(),children:b(g.map((function(t){return t.key}))),prevSibling:0===f?null:d.get(f-1),nextSibling:f===d.size-1?null:d.get(f+1)}));n=n.set(m.getKey(),m),c=_(c,g,m)}return n}),w())}(o,e);return s}(t,e),o=n.isEmpty()?new u:u.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:o,selectionAfter:o})}},6019:function(t,e,n){"use strict";var r=n(4516),o=n(2371).List;t.exports=function(t,e){var n=t.map((function(t,n){var o=e[n];return r.create({style:t,entity:o})}));return o(n)}},7134:function(t,e,n){"use strict";var r=n(8935).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a=f?r.length:0),a=e.get("end"),s=a+(a>=f?r.length:0),l=n.get("start"),c=n.get("end"),u=n.get("decoratorKey");return e.get("decoratorKey")!==u||e.get("leaves").size!==n.get("leaves").size||i!==l||s!==c||null!=u&&c-l!=a-o}))}if(y||(g=r,y=p&&("'"==g||"/"==g)),y||(y=c(m.getDirectionMap()).get(h)!==c(n.getDirectionMap()).get(h)),y)return e.preventDefault(),m=o.set(m,{forceSelection:!0}),void t.update(m);m=o.set(m,{nativelyRenderedContent:m.getCurrentContent()}),t._pendingStateFromBeforeInput=m,u((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},3421:function(t,e,n){"use strict";var r=n(4289),o=n(7476),i=n(1003);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var l=t._latestEditorState,c=l.getSelection();if(c.getHasFocus()){var u=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(l,u))}}},6155:function(t,e,n){"use strict";var r=n(4289);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},9328:function(t,e,n){"use strict";var r=n(4882);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},3935:function(t,e,n){"use strict";var r=n(2307),o=n(4289),i=n(9051),a=n(4882),s=n(9749),l=n(809);t.exports=function(t,e){var n,c=t._latestEditorState,u=c.getSelection(),p=e.target;if(u.isCollapsed())e.preventDefault();else{if(l(p)){var d=p;n=s(i.getScrollParent(d))}var f=a(c);t.setClipboard(f),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(c))}),0)}}},9499:function(t){"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},981:function(t){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},2186:function(t,e,n){"use strict";var r=n(4289),o=n(4856);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},9971:function(t,e,n){"use strict";var r=n(2307),o=n(2146),i=n(4289),a=n(4856),s=n(1163).notEmptyKey,l=n(9270),c=n(2800),u=n(2045),p=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,d=n.isCollapsed,f=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!f){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var m=a.textContent,y=t._latestEditorState,v=u(l(a)),b=o.decode(v),x=b.blockKey,w=b.decoratorKey,S=b.leafKey,k=y.getBlockTree(x).getIn([w,"leaves",S]),C=k.start,_=k.end,E=y.getCurrentContent(),M=E.getBlockForKey(x),O=M.getText().slice(C,_);if(m.endsWith("\n\n")&&(m=m.slice(0,-1)),m!==O){var A,D,j,I,L=y.getSelection(),T=L.merge({anchorOffset:C,focusOffset:_,isBackward:!1}),N=M.getEntityAt(C),P=s(N)?E.getEntity(N):null,z="MUTABLE"===(null!=P?P.getMutability():null),R=z?"spellcheck-change":"apply-entity",B=r.replaceText(E,T,m,M.getInlineStyleAt(C),z?M.getEntityAt(C):null);if(p)A=n.anchorOffset,D=n.focusOffset,I=(j=C+Math.min(A,D))+Math.abs(A-D),A=j,D=I;else{var F=m.length-O.length;j=L.getStartOffset(),I=L.getEndOffset(),A=d?I+F:j,D=I+F}var H=B.merge({selectionBefore:E.getSelectionAfter(),selectionAfter:L.merge({anchorOffset:A,focusOffset:D})});t.update(i.push(y,H,R))}else{var U=e.nativeEvent.inputType;if(U){var Y=function(t,e){return"deleteContentBackward"===t?c(e):e}(U,y);if(Y!==y)return t.restoreEditorDOM(),void t.update(Y)}}}}},6397:function(t,e,n){"use strict";var r=n(2307),o=n(4289),i=n(7387),a=n(5399),s=n(3751),l=n(4856),c=n(2177),u=n(9779),p=n(1050),d=n(3767),f=n(7978),h=n(7217),g=n(8425),m=n(2800),y=n(3998),v=n(3318),b=n(7051),x=i.isOptionKeyCommand,w=l.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;function l(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,i)))return;break;case a.ESC:if(e.preventDefault(),l("onEscape"))return;break;case a.TAB:if(l("onTab"))return;break;case a.UP:if(l("onUpArrow"))return;break;case a.RIGHT:if(l("onRightArrow"))return;break;case a.DOWN:if(l("onDownArrow"))return;break;case a.LEFT:if(l("onLeftArrow"))return;break;case a.SPACE:w&&x(e)&&e.preventDefault()}var S=t.props.keyBindingFn(e);if(null!=S&&""!==S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!c(t.props.handleKeyCommand(S,i,e.timeStamp))){var k=function(t,e,n){switch(t){case"redo":return o.redo(e);case"delete":return y(e);case"delete-word":return d(e);case"backspace":return m(e);case"backspace-word":return p(e);case"backspace-to-start-of-line":return u(e,n);case"split-block":return f(e);case"transpose-characters":return v(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(S,i,e);k!==i&&t.update(k)}}else b(e,i,t.update);else if(n===a.SPACE&&w&&x(e)){var C=r.replaceText(i.getCurrentContent(),i.getSelection()," ");t.update(o.push(i,C,"insert-characters"))}}},6089:function(t,e,n){"use strict";var r=n(329),o=n(4516),i=n(4891),a=n(2307),s=n(5712),l=n(4289),c=n(1947),u=n(2128),p=n(1738),d=n(2177),f=n(5612);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return l.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),m=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&d(t.props.handlePastedFiles(g)))return;return void p(g,(function(e){if(e=e||m){var n=t._latestEditorState,i=f(e),p=o.create({style:n.getCurrentInlineStyle(),entity:u(n.getCurrentContent(),n.getSelection())}),d=c.getCurrentBlockType(n),h=s.processText(i,p,d),g=r.createFromArray(h),y=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(l.push(n,y,"insert-fragment"))}}))}}var y=[],v=n.getText(),b=n.getHTML(),x=t._latestEditorState;if(t.props.formatPastedText){var w=t.props.formatPastedText(v,b);v=w.text,b=w.html}if(!t.props.handlePastedText||!d(t.props.handlePastedText(v,b,x))){if(v&&(y=f(v)),!t.props.stripPastedStyles){var S,k=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&k){if(-1!==(null===(S=b)||void 0===S?void 0:S.indexOf(t.getEditorKey()))||1===y.length&&1===k.size&&k.first().getText()===v)return void t.update(h(t._latestEditorState,k))}else if(k&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(y,k))return void t.update(h(t._latestEditorState,k));if(b){var C=s.processHTML(b,t.props.blockRenderMap);if(C){var _=C.contentBlocks,E=C.entityMap;if(_){var M=r.createFromArray(_);return void t.update(h(t._latestEditorState,M,E))}}}t.setClipboard(null)}if(y.length){var O=o.create({style:x.getCurrentInlineStyle(),entity:u(x.getCurrentContent(),x.getSelection())}),A=c.getCurrentBlockType(x),D=s.processText(y,O,A),j=r.createFromArray(D);t.update(h(t._latestEditorState,j))}}}},4507:function(t,e,n){"use strict";var r=n(7432),o=n(4289),i=n(4907),a=n(1244);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,s=a(n,i(t)),l=s.selectionState;l!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,l):o.acceptSelection(n,l),t.update(n))}}},6265:function(t,e,n){"use strict";var r=n(589),o=n(8935).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(i,a){var s=t.getText(),l=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(l)])})})),n}},1487:function(t,e,n){"use strict";var r=n(8935),o=n(9407),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var s=[],l=e.map((function(t){return t.has(n)})).toList();return o(l,i,a,(function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})})),s}(t,e,n)}));return Array.prototype.concat.apply(s,n.toJS())}},8182:function(t,e,n){"use strict";var r=n(8935),o=n(5795),i=n(6092),a=n(3759);function s(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a=0;h--)if(!(null!=f&&h>0&&r.isSurrogatePair(f,h-1))){if(t.setStart(p,h),!s(i(t),n))break;c=p,u=h}if(-1===h||0===p.childNodes.length)break;d=l(p=p.childNodes[h])}return t.setStart(c,u),t}},9270:function(t,e,n){"use strict";var r=n(5795),o=n(3578);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}},9407:function(t){"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce((function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i})),n(t.last())&&r(o,t.count())}}},5027:function(t){"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},1446:function(t,e,n){"use strict";var r=n(5195),o=n(9919),i=n(3759);function a(t,e,n,a,s,l,c){var u=n.getStartOffset(),p=n.getEndOffset(),d=t.__get(s).getMutability(),f=c?u:p;if("MUTABLE"===d)return n;var h=o(e,s).filter((function(t){return f<=t.end&&f>=t.start}));1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});l||(c?p=g.end:u=g.start);var m=r.getRemovalRange(u,p,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),l=e.getEntityAt(i),c=n.getEntityAt(s-1);if(!l&&!c)return r;var u=r;if(l&&l===c)u=a(t,e,u,o,l,!0,!0);else if(l&&c){var p=a(t,e,u,o,l,!1,!0),d=a(t,n,u,o,c,!1,!1);u=u.merge({anchorOffset:p.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(l){var f=a(t,e,u,o,l,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(c){var h=a(t,n,u,o,c,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u}},4907:function(t,e,n){"use strict";var r=n(3759),o=n(717);t.exports=function(t){var e=t.editorContainer;return e||r(!1),o(e.firstChild)||r(!1),e.firstChild}},8687:function(t,e,n){"use strict";var r=n(8555),o=n(4017);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),l=o(t,e).getBlockMap(),c=l.keySeq(),u=c.indexOf(n),p=c.indexOf(a)+1;return r(l.slice(u,p).map((function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t})))}},5795:function(t){"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},1714:function(t,e,n){"use strict";var r=n(7387),o=n(5399),i=n(4856),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),l=r.hasCommandModifier,c=r.isCtrlKeyCommand;function u(t){return a&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return l(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return l(t)?"italic":null;case 74:return l(t)?"code":null;case 75:return a&&c(t)?"secondary-cut":null;case 77:case 79:return c(t)?"split-block":null;case 84:return a&&c(t)?"transpose-characters":null;case 85:return l(t)?"underline":null;case 87:return a&&c(t)?"backspace-word":null;case 89:return c(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return l(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return!a&&t.shiftKey?null:u(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return l(t)&&a?"backspace-to-start-of-line":u(t)?"backspace-word":"backspace"}(t);case o.LEFT:return s&&l(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&l(t)?"move-selection-to-end-of-block":null;default:return null}}},1244:function(t,e,n){"use strict";var r=n(8101);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,o,i,a,s)}},8101:function(t,e,n){"use strict";var r=n(9270),o=n(3578),i=n(4486),a=n(3759),s=n(4368),l=n(2045);function c(t,e,n){var i=e,c=r(i);if(null!=c||t&&(t===i||t.firstChild===i)||a(!1),t===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var p=null;if(null!=c)p=c;else{var d=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);p=l(o(d))}return{key:p,offset:0}}var f=i.childNodes[n-1],h=null,g=null;if(o(f)){var m=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(f);h=l(o(m)),g=u(m)}else h=l(c),g=u(f);return{key:h,offset:g}}function u(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,s){var u=n.nodeType===Node.TEXT_NODE,p=a.nodeType===Node.TEXT_NODE;if(u&&p)return{selectionState:i(t,l(r(n)),o,l(r(a)),s),needsRecovery:!1};var d=null,f=null,h=!0;return u?(d={key:l(r(n)),offset:o},f=c(e,a,s)):p?(f={key:l(r(a)),offset:s},d=c(e,n,o)):(d=c(e,n,o),f=c(e,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,d.key,d.offset,f.key,f.offset),needsRecovery:h}}},2128:function(t,e,n){"use strict";var r=n(1163).notEmptyKey;function o(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1))!==t.getBlockForKey(r).getEntityAt(i)?null:o(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),l=t.getBlockForKey(a);return n=s===l.getLength()?null:l.getEntityAt(s),o(t.getEntityMap(),n)}},4882:function(t,e,n){"use strict";var r=n(8687);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},9506:function(t,e,n){"use strict";var r=n(7953);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},6495:function(t){"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},8056:function(t,e,n){"use strict";var r=n(6092);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var l=e[0];n=l.top,o=l.right,i=l.bottom,a=l.left}for(var c=1;c6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(o),c=l.getText(),u=l.getCharacterList(),p=o,d=i+r.getText().length,f=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var h=l.getType();c&&"unstyled"===h&&(h=r.getType());var g=l.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(u,r.getCharacterList(),i),type:h,data:f});return t.merge({blockMap:n.set(o,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:d,focusKey:p,focusOffset:d,isBackward:!1})})},p=function(t,e,n,i,a,s){var l=n.first()instanceof o,u=[],p=i.size,d=n.get(a),f=i.first(),h=i.last(),g=h.getLength(),m=h.getKey(),y=l&&(!d.getChildKeys().isEmpty()||!f.getChildKeys().isEmpty());n.forEach((function(t,e){e===a?(y?u.push(t):u.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(y?0:1,p-1).forEach((function(t){return u.push(t)})),u.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(t,s,i))):u.push(t)}));var v=r.createFromArray(u);return l&&(v=function(t,e,n,r){return t.withMutations((function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),u=l[l.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([u,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],u),l.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var p=t.get(s).getChildKeys(),d=p.indexOf(o)+1,f=p.toArray();f.splice.apply(f,[d,0].concat(l)),e.setIn([s,"children"],c(f))}}))}(v,0,d,f)),t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:m,anchorOffset:g,focusKey:m,focusOffset:g,isBackward:!1})})};t.exports=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var i=t.getBlockMap(),a=l(n),c=e.getStartKey(),d=e.getStartOffset(),f=i.get(c);return f instanceof o&&(f.getChildKeys().isEmpty()||s(!1)),1===a.size?u(t,e,i,a.first(),c,d,r):p(t,e,i,a,c,d)}},779:function(t){"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach((function(t){r=r.push(t)}));else if(0===n)e.reverse().forEach((function(t){r=r.unshift(t)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(e,i).toList()}return r}},8467:function(t,e,n){"use strict";var r=n(2371),o=n(779),i=n(3759),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return t;var l=t.getBlockMap(),c=e.getStartKey(),u=e.getStartOffset(),p=l.get(c),d=p.getText(),f=p.merge({text:d.slice(0,u)+n+d.slice(u,p.getLength()),characterList:o(p.getCharacterList(),a(r,s).toList(),u)}),h=u+s;return t.merge({blockMap:l.set(c,f),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},4368:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},2177:function(t){"use strict";t.exports=function(t){return"handled"===t||!0===t}},8241:function(t,e,n){"use strict";var r=n(4368);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"A"===t.nodeName}},6581:function(t,e,n){"use strict";var r=n(4368);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"BR"===t.nodeName}},717:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},5039:function(t,e,n){"use strict";var r=n(4368);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"IMG"===t.nodeName}},809:function(t){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},258:function(t){"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some((function(t){return o===t.get("start")?(i=!0,!0):oi){var l=r.getKeyBefore(o);null==l?a=o:(a=l,s=r.getBlockForKey(l).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},9417:function(t,e,n){"use strict";n(3620),t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},8555:function(t,e,n){"use strict";var r=n(7953),o=n(5027),i=n(2371).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return i(t.withMutations((function(t){t.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),l=r.getPrevSiblingKey(),c=r.getChildKeys(),u=r.getParentKey(),p=o();if(n[a]=p,s&&(t.get(s)?t.setIn([s,"prevSibling"],p):t.setIn([a,"nextSibling"],null)),l&&(t.get(l)?t.setIn([l,"nextSibling"],p):t.setIn([a,"prevSibling"],null)),u&&t.get(u)){var d=t.get(u).getChildKeys();t.setIn([u,"children"],d.set(d.indexOf(r.getKey()),p))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],p),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);c.forEach((function(e){t.get(e)?t.setIn([e,"parent"],p):t.setIn([a,"children"],r.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return i(t.toArray().map((function(t){var e=o();return[e,t.set("key",e)]})))}(t)}},4017:function(t,e,n){"use strict";var r=n(4516),o=n(9407),i=n(3759);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,l=n=n&&(r={start:t,end:e})})),"object"!=typeof r&&i(!1),r}(a,u,n),f=d.start,h=d.end;fe;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}(g.getCharacterList(),d,h):g.getCharacterList().slice(0,d).concat(m.getCharacterList().slice(h));var w=g.merge({text:g.getText().slice(0,d)+m.getText().slice(h),characterList:n}),S=y&&0===d&&0===h&&m.getParentKey()===p&&null==m.getPrevSiblingKey()?a([[p,null]]):i.toSeq().skipUntil((function(t,e){return e===p})).takeUntil((function(t,e){return e===f})).filter((function(t,e){return-1===v.indexOf(e)})).concat(a([[f,null]])).map((function(t,e){return e===p?w:null})),k=i.merge(S).filter((function(t){return!!t}));return y&&g!==m&&(k=function(t,e,n,r){return t.withMutations((function(i){if(s(e.getKey(),i,(function(t){return t.merge({nextSibling:c(t,i,r),prevSibling:u(t,i,r)})})),s(n.getKey(),i,(function(t){return t.merge({nextSibling:c(t,i,r),prevSibling:u(t,i,r)})})),l(e.getKey(),r).forEach((function(t){return s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:c(t,i,r),prevSibling:u(t,i,r)})}))})),s(e.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:c(t,i,r)})})),s(n.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:u(t,i,r)})})),s(n.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),l(n.getKey(),r).forEach((function(t){s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:c(t,i,r),prevSibling:u(t,i,r)})}))})),function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n}(n,r).forEach((function(t){return s(t,i,(function(t){return t.merge({nextSibling:c(t,i,r),prevSibling:u(t,i,r)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(n.getKey(),i,(function(t){return t.merge({prevSibling:a})})),s(a,i,(function(t){return t.merge({nextSibling:n.getKey()})}));var p=a?t.get(a):null,d=p?p.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,i,(function(t){return t.merge({parent:d})}))})),null!=d){var f=t.get(d);s(d,i,(function(t){return t.merge({children:f.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),i,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(k,g,m,i)),t.merge({blockMap:k,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:d,focusKey:p,focusOffset:d,isBackward:!1})})}},4730:function(t,e,n){"use strict";var r=n(2307),o=n(8642)("draft_tree_data_support");t.exports=function(t,e,n){var i=t.getSelection(),a=t.getCurrentContent(),s=i,l=i.getAnchorKey(),c=i.getFocusKey(),u=a.getBlockForKey(l);if(o&&"forward"===n&&l!==c)return a;if(i.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(l).getLength()){var p=a.getBlockForKey(u.nextSibling);if(!p||0===p.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===i)return a}return r.removeRange(a,s,n)}},5283:function(t){"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},5412:function(t,e,n){"use strict";var r=n(5880),o=n(7432),i=n(4856),a=n(7476),s=n(1003),l=n(5795),c=n(3759),u=n(4368),p=i.isBrowser("IE");function d(t,e){if(!t)return"[empty]";var n=f(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(u(n)||c(!1),n.outerHTML)}function f(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return l(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=t.childNodes,a=0;ag(e)&&o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var l=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:l,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,n),t.addRange(c.cloneRange())}}function y(t,e,n,i){var a=l(e).createRange();if(n>g(e)&&(o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),p)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,o){var i=l(e);if(a(i.documentElement,e)){var s=i.defaultView.getSelection(),c=t.getAnchorKey(),u=t.getAnchorOffset(),p=t.getFocusKey(),d=t.getFocusOffset(),f=t.getIsBackward();if(!s.extend&&f){var h=c,g=u;c=p,u=d,p=h,d=g,f=!1}var v=c===n&&r<=u&&o>=u,b=p===n&&r<=d&&o>=d;if(v&&b)return s.removeAllRanges(),y(s,e,u-r,t),void m(s,e,d-r,t);if(f){if(b&&(s.removeAllRanges(),y(s,e,d-r,t)),v){var x=s.focusNode,w=s.focusOffset;s.removeAllRanges(),y(s,e,u-r,t),m(s,x,w,t)}}else v&&(s.removeAllRanges(),y(s,e,u-r,t)),b&&m(s,e,d-r,t)}},addFocusToSelection:m}},6043:function(t,e,n){"use strict";var r=n(7953),o=n(5027),i=n(2371),a=n(3759),s=n(7429),l=i.List,c=i.Map,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=t.getBlockMap(),p=i.get(n),d=p.getText();if(!d){var f=p.getType();if("unordered-list-item"===f||"ordered-list-item"===f)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var h=e.getAnchorOffset(),g=p.getCharacterList(),m=o(),y=p instanceof r,v=p.merge({text:d.slice(0,h),characterList:g.slice(0,h)}),b=v.merge({key:m,text:d.slice(h),characterList:g.slice(h),data:c()}),x=i.toSeq().takeUntil((function(t){return t===p})),w=i.toSeq().skipUntil((function(t){return t===p})).rest(),S=x.concat([[n,v],[m,b]],w).toOrderedMap();return y&&(p.getChildKeys().isEmpty()||a(!1),S=function(t,e,n){return t.withMutations((function(t){var r=e.getKey(),o=n.getKey();u(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:l(i)})})),u(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:o})})),u(r,t,(function(t){return t.merge({nextSibling:o})})),u(o,t,(function(t){return t.merge({prevSibling:r})}))}))}(S,v,b)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:m,anchorOffset:0,focusKey:m,focusOffset:0,isBackward:!1})})}},5612:function(t){"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},6363:function(t){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},2371:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:U(t)}function r(t){return s(t)?t:Y(t)}function o(t){return l(t)?t:W(t)}function i(t){return a(t)&&!c(t)?t:V(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[d])}function l(t){return!(!t||!t[f])}function c(t){return s(t)||l(t)}function u(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g=32,m=31,y={},v={value:!1},b={value:!1};function x(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function S(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?C(t)+e:e}function E(){return!0}function M(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function O(t,e){return D(t,e,0)}function A(t,e){return D(t,e,e)}function D(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var j="function"==typeof Symbol&&Symbol.iterator,I="@@iterator",L=j||I;function T(t){this.next=t}function N(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function P(){return{value:void 0,done:!0}}function z(t){return!!F(t)}function R(t){return t&&"function"==typeof t.next}function B(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(j&&t[j]||t["@@iterator"]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function U(t){return null==t?et():a(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new Q(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Y(t){return null==t?et().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():nt(t)}function W(t){return null==t?et():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():rt(t)}function V(t){return(null==t?et():a(t)?s(t)?t.entrySeq():t:rt(t)).toSetSeq()}T.prototype.toString=function(){return"[Iterator]"},T.KEYS=0,T.VALUES=1,T.ENTRIES=2,T.prototype.inspect=T.prototype.toSource=function(){return this.toString()},T.prototype[L]=function(){return this},e(U,n),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(t,e){return it(this,t,e,!0)},U.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(Y,U),Y.prototype.toKeyedSeq=function(){return this},e(W,U),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(t,e){return it(this,t,e,!1)},W.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(V,U),V.of=function(){return V(arguments)},V.prototype.toSetSeq=function(){return this},U.isSeq=tt,U.Keyed=Y,U.Set=V,U.Indexed=W;var K,X,G,q="@@__IMMUTABLE_SEQ__@@";function Z(t){this._array=t,this.size=t.length}function Q(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function J(t){this._iterable=t,this.size=t.length||t.size}function $(t){this._iterator=t,this._iteratorCache=[]}function tt(t){return!(!t||!t[q])}function et(){return K||(K=new Z([]))}function nt(t){var e=Array.isArray(t)?new Z(t).fromEntrySeq():R(t)?new $(t).fromEntrySeq():z(t)?new J(t).fromEntrySeq():"object"==typeof t?new Q(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function rt(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return H(t)?new Z(t):R(t)?new $(t):z(t)?new J(t):void 0}function it(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function at(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new T((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:N(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function st(t,e){return e?lt(e,t,"",{"":t}):ct(t)}function lt(t,e,n,r){return Array.isArray(e)?t.call(r,n,W(e).map((function(n,r){return lt(t,n,r,e)}))):ut(e)?t.call(r,n,Y(e).map((function(n,r){return lt(t,n,r,e)}))):e}function ct(t){return Array.isArray(t)?W(t).map(ct).toList():ut(t)?Y(t).map(ct).toMap():t}function ut(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function dt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||l(t)!==l(e)||u(t)!==u(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(u(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&pt(o[1],t)&&(n||pt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,d=e.__iterate((function(e,r){if(n?!t.has(e):o?!pt(e,t.get(r,y)):!pt(t.get(r,y),e))return p=!1,!1}));return p&&t.size===d}function ft(t,e){if(!(this instanceof ft))return new ft(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function ht(t,e){if(!t)throw new Error(e)}function gt(t,e,n){if(!(this instanceof gt))return new gt(t,e,n);if(ht(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),er?{value:void 0,done:!0}:N(t,o,n[e?r-o++:o++])}))},e(Q,Y),Q.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},Q.prototype.has=function(t){return this._object.hasOwnProperty(t)},Q.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},Q.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new T((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:N(t,a,n[a])}))},Q.prototype[h]=!0,e(J,W),J.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=B(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},J.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=B(this._iterable);if(!R(n))return new T(P);var r=0;return new T((function(){var e=n.next();return e.done?e:N(t,r++,e.value)}))},e($,W),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return N(t,o,r[o++])}))},e(ft,W),ft.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ft.prototype.get=function(t,e){return this.has(t)?this._value:e},ft.prototype.includes=function(t){return pt(this._value,t)},ft.prototype.slice=function(t,e){var n=this.size;return M(t,e,n)?this:new ft(this._value,A(e,n)-O(t,n))},ft.prototype.reverse=function(){return this},ft.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},ft.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},ft.prototype.__iterate=function(t,e){for(var n=0;n1?" by "+this._step:"")+" ]"},gt.prototype.get=function(t,e){return this.has(t)?this._start+_(this,t)*this._step:e},gt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e=0&&nn?{value:void 0,done:!0}:N(t,i++,a)}))},gt.prototype.equals=function(t){return t instanceof gt?this._start===t._start&&this._end===t._end&&this._step===t._step:dt(this,t)},e(mt,n),e(yt,mt),e(vt,mt),e(bt,mt),mt.Keyed=yt,mt.Indexed=vt,mt.Set=bt;var xt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function wt(t){return t>>>1&1073741824|3221225471&t}function St(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return wt(n)}if("string"===e)return t.length>Dt?function(t){var e=Lt[t];return void 0===e&&(e=kt(t),It===jt&&(It=0,Lt={}),It++,Lt[t]=e),e}(t):kt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Mt&&void 0!==(e=Et.get(t)))return e;if(void 0!==(e=t[At]))return e;if(!_t){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[At]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Ot,1073741824&Ot&&(Ot=0),Mt)Et.set(t,e);else{if(void 0!==Ct&&!1===Ct(t))throw new Error("Non-extensible objects are not allowed as keys.");if(_t)Object.defineProperty(t,At,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[At]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[At]=e}}return e}(t);if("function"==typeof t.toString)return kt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function kt(t){for(var e=0,n=0;n>>n)&m,s=(0===n?r:r>>>n)&m;return new Ht(e,1<>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function ae(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}Bt[Rt]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Ft.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i=se)return function(t,e,n,r){t||(t=new S);for(var o=new Wt(t,St(n),[n,r]),i=0;i>>t)&m),i=this.bitmap;return 0==(i&o)?r:this.nodes[ie(i&o-1)].get(t+5,e,n,r)},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&m,l=1<=le)return function(t,e,n,r,o){for(var i=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Ut(t,i+1,a)}(t,d,c,s,h);if(u&&!h&&2===d.length&&Jt(d[1^p]))return d[1^p];if(u&&h&&1===d.length&&Jt(h))return h;var v=t&&t===this.ownerID,b=u?h?c:c^l:c|l,x=u?h?ae(d,p,h,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a>>t)&m,i=this.nodes[o];return i?i.get(t+5,e,n,r):r},Ut.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&m,l=o===y,c=this.nodes,u=c[s];if(l&&!u)return this;var p=Qt(u,t,e+5,n,r,o,i,a);if(p===u)return this;var d=this.count;if(u){if(!p&&--d0&&r=0&&t=t.size||e<0)return t.withMutations((function(t){e<0?Ce(t,e).set(0,n):Ce(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=x(b);return e>=Ee(t._capacity)?r=we(r,t.__ownerID,0,e,n,i):o=we(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):be(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},ue.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ue.prototype.insert=function(t,e){return this.splice(t,0,e)},ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):xe()},ue.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Ce(n,0,e+t.length);for(var r=0;r>>e&m;if(r>=this.array.length)return new he([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-5,n))===a&&i)return this}if(i&&!o)return this;var s=Se(this,t);if(!i)for(var l=0;l>>e&m;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-5,n))===i&&o===this.array.length-1)return this}var a=Se(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ge,me,ye={};function ve(t,e){var n=t._origin,r=t._capacity,o=Ee(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,l){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,l=a>n?0:n-a,c=r-a;return c>g&&(c=g),function(){if(l===c)return ye;var t=e?--c:l++;return s&&s[t]}}(t,l):function(t,o,i){var s,l=t&&t.array,c=i>n?0:n-i>>o,u=1+(r-i>>o);return u>g&&(u=g),function(){for(;;){if(s){var t=s();if(t!==ye)return t;s=null}if(c===u)return ye;var n=e?--u:c++;s=a(l&&l[n],o-5,i+(n<>>n&m,l=t&&s0){var c=t&&t.array[s],u=we(c,e,n-5,r,o,i);return u===c?t:((a=Se(t,e)).array[s]=u,a)}return l&&t.array[s]===o?t:(w(i),a=Se(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Se(t,e){return e&&t&&e===t.ownerID?t:new he(t?t.array.slice():[],e)}function ke(t,e){if(e>=Ee(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&m],r-=5;return n}}function Ce(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var l=t._level,c=t._root,u=0;a+u<0;)c=new he(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,o+=u,s+=u,i+=u);for(var p=Ee(i),d=Ee(s);d>=1<p?new he([],r):f;if(f&&d>p&&a5;y-=5){var v=p>>>y&m;g=g.array[v]=Se(g.array[v],r)}g.array[p>>>5&m]=f}if(s=d)a-=d,s-=d,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d>>l&m;if(b!==d>>>l&m)break;b&&(u+=(1<o&&(c=c.removeBefore(r,l,a-u)),c&&di&&(i=c.size),a(l)||(c=c.map((function(t){return st(t)}))),r.push(c)}return i>t.size&&(t=t.setSize(i)),re(t,e,r)}function Ee(t){return t>>5<<5}function Me(t){return null==t?De():Oe(t)?t:De().withMutations((function(e){var n=r(t);Tt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Oe(t){return Pt(t)&&u(t)}function Ae(t,e,n,r){var o=Object.create(Me.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function De(){return me||(me=Ae(qt(),xe()))}function je(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),l=void 0!==s;if(n===y){if(!l)return t;a.size>=g&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Ie(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Le(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Pe(t){var e=Je(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=$e,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new T((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function ze(t,e,n){var r=Je(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,y);return i===y?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new T((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return N(r,s,e.call(n,a[1],s,t),o)}))},r}function Re(t,e){var n=Je(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Pe(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=$e,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Be(t,e,n,r){var o=Je(t);return r&&(o.has=function(r){var o=t.get(r,y);return o!==y&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,y);return i!==y&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,l){if(e.call(n,t,i,l))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new T((function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,c=l[0],u=l[1];if(e.call(n,u,c,t))return N(o,r?c:s++,u,i)}}))},o}function Fe(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),M(e,n,o))return t;var i=O(e,o),a=A(n,o);if(i!=i||a!=a)return Fe(t.toSeq().cacheResult(),e,n,r);var s,l=a-i;l==l&&(s=l<0?0:l);var c=Je(t);return c.size=0===s?s:t.size&&s||void 0,!r&&tt(t)&&s>=0&&(c.get=function(e,n){return(e=_(this,e))>=0&&es)return{value:void 0,done:!0};var t=o.next();return r||1===e?t:N(e,l-1,0===e?void 0:t.value[1],t)}))},c}function He(t,e,n,r){var o=Je(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return t.__iterate((function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return l++,o(t,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),l=!0,c=0;return new T((function(){var t,i,u;do{if((t=s.next()).done)return r||1===o?t:N(o,c++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],u=p[1],l&&(l=e.call(n,u,i,a))}while(l);return 2===o?t:N(o,i,u,t)}))},o}function Ue(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?nt(t):rt(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||l(t)&&l(i))return i}var c=new Z(o);return n?c=c.toKeyedSeq():l(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}function Ye(t,e,n){var r=Je(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(l,c){var u=this;l.__iterate((function(o,l){return(!e||c0}function Xe(t,e,r){var o=Je(t);return o.size=new Z(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),B(o?t.reverse():t)})),a=0,s=!1;return new T((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:N(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ge(t,e){return tt(t)?e:t.constructor(e)}function qe(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ze(t){return Tt(t.size),C(t)}function Qe(t){return s(t)?r:l(t)?o:i}function Je(t){return Object.create((s(t)?Y:l(t)?W:V).prototype)}function $e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):U.prototype.cacheResult.call(this)}function tn(t,e){return t>e?1:t=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):On(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Tt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):On(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},Sn.prototype.slice=function(t,e){if(M(t,e,this.size))return this;var n=O(t,this.size);if(A(e,this.size)!==this.size)return vt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):On(r,o)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?On(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new T((function(){if(r){var e=r.value;return r=r.next,N(t,n++,e)}return{value:void 0,done:!0}}))},Sn.isStack=kn;var Cn,En="@@__IMMUTABLE_STACK__@@",Mn=Sn.prototype;function On(t,e,n,r){var o=Object.create(Mn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function An(){return Cn||(Cn=On(0))}function Dn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Mn[En]=!0,Mn.withMutations=Bt.withMutations,Mn.asMutable=Bt.asMutable,Mn.asImmutable=Bt.asImmutable,Mn.wasAltered=Bt.wasAltered,n.Iterator=T,Dn(n,{toArray:function(){Tt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Le(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ie(this,!0)},toMap:function(){return Nt(this.toKeyedSeq())},toObject:function(){Tt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Me(this.toKeyedSeq())},toOrderedSet:function(){return mn(s(this)?this.valueSeq():this)},toSet:function(){return ln(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Te(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return ue(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ge(this,Ue(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return pt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Tt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Ge(this,Be(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Tt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Tt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ge(this,ze(this,t,e))},reduce:function(t,e,n){var r,o;return Tt(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ge(this,Re(this,!0))},slice:function(t,e){return Ge(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(Nn(t),e)},sort:function(t){return Ge(this,We(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return C(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Nt().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return dt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new Z(t._cache);var e=t.toSeq().map(Tn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Nn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(E)},flatMap:function(t,e){return Ge(this,function(t,e,n){var r=Qe(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ge(this,Ye(this,t,!0))},fromEntrySeq:function(){return new Ne(this)},get:function(t,e){return this.find((function(e,n){return pt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=en(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,y):y)===y)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(u(t)?Me():Nt()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Qe(t);return o.map((function(e){return Ge(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,y)!==y},hasIn:function(t){return this.getIn(t,y)!==y},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Ln).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Pn(t):Bn)},minBy:function(t,e){return Ve(this,e?Pn(e):Bn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ge(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ge(this,He(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Nn(t),e)},sortBy:function(t,e){return Ge(this,We(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ge(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ge(this,function(t,e,n){var r=Je(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new T((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,l=o[0],c=o[1];return e.call(n,c,l,i)?2===r?t:N(r,l,c,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Nn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=u(t),n=s(t),r=e?1:0;return function(t,e){return e=xt(e,3432918353),e=xt(e<<15|e>>>-15,461845907),e=xt(e<<13|e>>>-13,5),e=xt((e=(e+3864292196|0)^t)^e>>>16,2246822507),wt((e=xt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Fn(St(t),St(e))|0}:function(t,e){r=r+Fn(St(t),St(e))|0}:e?function(t){r=31*r+St(t)|0}:function(t){r=r+St(t)|0}),r)}(this))}});var jn=n.prototype;jn[p]=!0,jn[L]=jn.values,jn.__toJS=jn.toArray,jn.__toStringMapper=zn,jn.inspect=jn.toSource=function(){return this.toString()},jn.chain=jn.flatMap,jn.contains=jn.includes,function(){try{Object.defineProperty(jn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Dn(r,{flip:function(){return Ge(this,Pe(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return pt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return pt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ge(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ge(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var In=r.prototype;function Ln(t,e){return e}function Tn(t,e){return[e,t]}function Nn(t){return function(){return!t.apply(this,arguments)}}function Pn(t){return function(){return-t.apply(this,arguments)}}function zn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return k(arguments)}function Bn(t,e){return te?-1:0}function Fn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[d]=!0,In[L]=jn.entries,In.__toJS=jn.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zn(t)},Dn(o,{toKeyedSeq:function(){return new Ie(this,!1)},filter:function(t,e){return Ge(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ge(this,Re(this,!1))},slice:function(t,e){return Ge(this,Fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=O(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ge(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ge(this,Ye(this,t,!1))},get:function(t,e){return(t=_(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=_(this,t))>=0&&(void 0!==this.size?this.size===1/0||t0&&n').concat(n,"");if("LINK"===o.type){var a=o.data.targetOption||"_self";return'').concat(n,"")}if("IMAGE"===o.type){var s=o.data.alignment;return s&&s.length?'
    ').concat(o.data.alt,'
    '):'').concat(o.data.alt,'')}return"EMBEDDED_LINK"===o.type?''):n}function s(t,e,n,r){var a=[],s=Array.from(t.text);if(s.length>0)for(var l,c=function(t){var e=t.text,n=t.inlineStyleRanges,r={BOLD:new Array(e.length),ITALIC:new Array(e.length),UNDERLINE:new Array(e.length),STRIKETHROUGH:new Array(e.length),CODE:new Array(e.length),SUPERSCRIPT:new Array(e.length),SUBSCRIPT:new Array(e.length),COLOR:new Array(e.length),BGCOLOR:new Array(e.length),FONTSIZE:new Array(e.length),FONTFAMILY:new Array(e.length),length:e.length};return n&&n.length>0&&n.forEach((function(t){for(var e=t.offset,n=e+t.length,o=e;o0?n.map((function(t){switch(t){case"\n":return"
    ";case"&":return"&";case"<":return"<";case">":return">";default:return t}})).join(""):"";return t(r,(function(t,e){o=function(t,e){return"BOLD"===t?"".concat(e,""):"ITALIC"===t?"".concat(e,""):"UNDERLINE"===t?"".concat(e,""):"STRIKETHROUGH"===t?"".concat(e,""):"CODE"===t?"".concat(e,""):"SUPERSCRIPT"===t?"".concat(e,""):"SUBSCRIPT"===t?"".concat(e,""):e}(t,o)})),o}(e)})),o=function(t,e){if(t&&(t.COLOR||t.BGCOLOR||t.FONTSIZE||t.FONTFAMILY)){var n='style="';return t.COLOR&&(n+="color: ".concat(t.COLOR,";")),t.BGCOLOR&&(n+="background-color: ".concat(t.BGCOLOR,";")),t.FONTSIZE&&(n+="font-size: ".concat(t.FONTSIZE).concat(/^\d+$/.test(t.FONTSIZE)?"px":"",";")),t.FONTFAMILY&&(n+="font-family: ".concat(t.FONTFAMILY,";")),"").concat(e,"")}return e}(n.styles,o)}function c(t,e,n,r){var o=[],i=function(t,e){var n=[],r=0,o=t.entityRanges.map((function(t){return{offset:t.offset,length:t.length,key:t.key,type:"ENTITY"}}));return(o=(o=o.concat(function(t,e){var n=[];if(e)for(var r=0,o=0,i=t,a=e.trigger||"#",s=e.separator||" ";i.length>0&&o>=0;)if(i[0]===a?(o=0,r=0,i=i.substr(a.length)):(o=i.indexOf(s+a))>=0&&(i=i.substr(o+(s+a).length),r+=o+s.length),o>=0){var l=i.indexOf(s)>=0?i.indexOf(s):i.length,c=i.substr(0,l);c&&c.length>0&&n.push({offset:r,length:c.length+a.length,type:"HASHTAG"}),r+=a.length}return n}(t.text,e))).sort((function(t,e){return t.offset-e.offset}))).forEach((function(t){t.offset>r&&n.push({start:r,end:t.offset}),n.push({start:t.offset,end:t.offset+t.length,entityKey:t.key,type:t.type}),r=t.offset+t.length})),r').concat(i,"")),i}(t,e,n,r);0===c&&(u=function(t){if(t){for(var e=t,n=0;n=0&&" "===e[n];n-=1)e="".concat(e.substring(0,n)," ").concat(e.substring(n+1));return e}return t}(u)),o.push(u)})),o.join("")}function u(t,e,o,i,a){var s,l=[],p=[];return t.forEach((function(t){var d=!1;if(s?s.type!==t.type?(l.push("\n")),l.push("<".concat(n(t.type),">\n"))):s.depth===t.depth?p&&p.length>0&&(l.push(u(p,e,o,i,a)),p=[]):(d=!0,p.push(t)):l.push("<".concat(n(t.type),">\n")),!d){l.push(""),l.push(c(t,e,o,a)),l.push("\n"),s=t}})),p&&p.length>0&&l.push(u(p,e,o,i,a)),l.push("\n")),l.join("")}return function(t,e,o,i){var s=[];if(t){var l=t.blocks,p=t.entityMap;if(l&&l.length>0){var d=[];if(l.forEach((function(t){if("unordered-list-item"===(h=t.type)||"ordered-list-item"===h)d.push(t);else{if(d.length>0){var l=u(d,p,e,i);s.push(l),d=[]}var f=function(t,e,o,i,s){var l=[];if(function(t){return!(!(t.entityRanges.length>0)||(e=t.text,null!=e&&0!==e.length&&0!==e.trim().length&&"atomic"!==t.type));var e}(t))l.push(a(e,t.entityRanges[0].key,void 0,s));else{var u=n(t.type);if(u){l.push("<".concat(u));var p=r(t.data);p&&l.push(' style="'.concat(p,'"')),i&&l.push(' dir = "auto"'),l.push(">"),l.push(c(t,e,o,s)),l.push(""))}}return l.push("\n"),l.join("")}(t,p,e,o,i);s.push(f)}var h})),d.length>0){var f=u(d,p,e,o,i);s.push(f),d=[]}}}return s.join("")}}()},4891:function(t,e,n){"use strict";var r=n(1006),o=n(9825),i=n(2498),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function l(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(t){this.data=t,this.types=t.types?o(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n0},t}();t.exports=c},5399:function(t){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},1006:function(t){"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},5994:function(t){"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},9051:function(t,e,n){"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(5466),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},5724:function(t){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},8568:function(t){"use strict";var e=function(){function t(t){var e,n;n=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this._uri=n,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},4191:function(t,e,n){"use strict";var r=n(6633),o=n(3759),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),l=new RegExp("["+i+a+"]");function c(t){var e=s.exec(t);return null==e?null:e[0]}function u(t){var e=c(t);return null==e?r.NEUTRAL:l.exec(e)?r.RTL:r.LTR}function p(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=u(t);return n===r.NEUTRAL?e:n}function d(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),p(t,e)}var f={firstStrongChar:c,firstStrongCharDir:u,resolveBlockDir:p,getDirection:d,isDirectionLTR:function(t,e){return d(t,e)===r.LTR},isDirectionRTL:function(t,e){return d(t,e)===r.RTL}};t.exports=f},6633:function(t,e,n){"use strict";var r=n(3759),o="LTR",i=null;function a(t){return t===o||"RTL"===t}function s(t){return a(t)||r(!1),t===o?"ltr":"rtl"}function l(t){i=t}var c={NEUTRAL:"NEUTRAL",LTR:o,RTL:"RTL",isStrong:a,getHTMLDir:s,getHTMLDirIfDifferent:function(t,e){return a(t)||r(!1),a(e)||r(!1),t===e?null:s(t)},setGlobalDir:l,initGlobalDir:function(){l(o)},getGlobalDir:function(){return i||this.initGlobalDir(),i||r(!1),i}};t.exports=c},7902:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(4191),i=n(6633),a=n(3759),s=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},8935:function(t,e,n){"use strict";var r=n(3759),o=/[\uD800-\uDFFF]/;function i(t){return 55296<=t&&t<=57343}function a(t){return o.test(t)}function s(t,e){return 1+i(t.charCodeAt(e))}function l(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!a(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o=r)return""}else if(e<0){for(o=r;e<0&&00&&i=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function c(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=d(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return u(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return p(r,s);case">":return 1===v(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return f(i)&&(r[o]=i+1+""),p(t,n)&&u(t,r)}(r,s);default:return function(t,e){return 0===v(t,e)}(r,s)}}function u(t,e){return-1===v(t,e)}function p(t,e){var n=v(t,e);return 1===n||0===n}function d(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function f(t){return!isNaN(t)&&isFinite(t)}function h(t){return!d(t).modifier}function g(t,e){for(var n=t.length;ne?1:t1?n.some((function(t){return b.contains(t,e)})):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return c(n[0],e);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),c(">="+o,e)&&c("<="+i,e)}(t=n[0].trim(),e)}(t.trim(),e.trim())}};t.exports=b},2297:function(t){"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},7476:function(t,e,n){"use strict";var r=n(2334);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},9825:function(t,e,n){"use strict";var r=n(3759);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},5258:function(t,e,n){"use strict";var r=n(3123);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},3123:function(t,e,n){"use strict";var r=n(7476);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},9749:function(t,e,n){"use strict";var r=n(1280),o=n(787);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},5466:function(t,e,n){"use strict";var r=n(2297),o=n(9349);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},787:function(t){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},746:function(t){"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},9349:function(t){"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},3759:function(t){"use strict";t.exports=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1)for(var r=1;r/i,l=//i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var p=new window.DOMParser;c=u=function(t,e){return e&&(t="<"+e+">"+t+""),p.parseFromString(t,"text/html")}}if(document.implementation){var d=n(1507).isIE,f=document.implementation.createHTMLDocument(d()?"html-dom-parser":void 0);c=function(t,e){return e?(f.documentElement.getElementsByTagName(e)[0].innerHTML=t,f):(f.documentElement.innerHTML=t,f)}}var h,g=document.createElement("template");g.content&&(h=function(t){return g.innerHTML=t,g.content.childNodes}),t.exports=function(t){var e,n,p,d,f=t.match(a);switch(f&&f[1]&&(e=f[1].toLowerCase()),e){case r:return n=u(t),s.test(t)||(p=n.getElementsByTagName(o)[0])&&p.parentNode.removeChild(p),l.test(t)||(p=n.getElementsByTagName(i)[0])&&p.parentNode.removeChild(p),n.getElementsByTagName(r);case o:case i:return d=c(t).getElementsByTagName(e),l.test(t)&&s.test(t)?d[0].parentNode.childNodes:d;default:return h?h(t):c(t,i).getElementsByTagName(i)[0].childNodes}}},4152:function(t,e,n){var r=n(8276),o=n(1507).formatDOM,i=/<(![a-zA-Z\s]+)>/;t.exports=function(t){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(""===t)return[];var e,n=t.match(i);return n&&n[1]&&(e=n[1]),o(r(t),null,e)}},1507:function(t,e,n){for(var r,o=n(885),i=n(7790),a=o.CASE_SENSITIVE_TAG_NAMES,s=i.Comment,l=i.Element,c=i.ProcessingInstruction,u=i.Text,p={},d=0,f=a.length;d1&&(u=h(u,{key:u.key||x})),y.push(u);else if("text"!==i.type){switch(p=i.attribs,l(i)?a(p.style,p):p&&(p=o(p)),d=null,i.type){case"script":case"style":i.children[0]&&(p.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?p.defaultValue=i.children[0].data:i.children&&i.children.length&&(d=t(i.children,n));break;default:continue}w>1&&(p.key=x),y.push(g(i.name,p,d))}else{if((c=!i.data.trim().length)&&i.parent&&!s(i.parent))continue;if(b&&c)continue;y.push(i.data)}return 1===y.length?y[0]:y}},4606:function(t,e,n){var r=n(9196),o=n(1476).default,i={reactCompat:!0},a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(t,e){if(!t||"object"!=typeof t)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof e,i={},a={};for(n in t)r=t[n],o&&(i=e(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(t,e){if(-1===t.indexOf("-"))return e&&"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(t,e){if(null!=t)try{e.style=o(t,i)}catch(t){e.style={}}},canTextBeChildOfNode:function(t){return!s.has(t.name)},elementsWithNoTextChildren:s}},7247:function(t,e,n){window,t.exports=function(t,e){return o={},n.m=r=[function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(0),i=function(t,e,n){var r,i=t.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(e),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(t,e){return{text:"",inlines:[],entities:[],blocks:[{type:t,depth:0,data:e||new o.Map({})}]}},l=function(t,e,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:t,depth:Math.max(0,Math.min(4,e)),data:n||new o.Map({})}]}},c=function(t){return{text:"\r ",inlines:[new o.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},u=function(t,e){return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},p=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),d={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function f(t){return t.style.textAlign?new o.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new o.Map({"margin-left":t.style.marginLeft}):void 0}var h=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,r.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",(function(){return v}));var g=new RegExp(" ","g"),m=!0;function y(t,e,n,o,g,v){var b=t.nodeName.toLowerCase();if(v){var x=v(b,t);if(x){var w=r.Entity.__create(x.type,x.mutability,x.data||{});return{chunk:c(w)}}}if("#text"===b&&"\n"!==t.textContent)return i(t,e,g);if("br"===b)return{chunk:a()};if("img"===b&&t instanceof HTMLImageElement){var S={};S.src=t.getAttribute&&t.getAttribute("src")||t.src,S.alt=t.alt,S.height=t.style.height,S.width=t.style.width,t.style.float&&(S.alignment=t.style.float);var k=r.Entity.__create("IMAGE","MUTABLE",S);return{chunk:c(k)}}if("video"===b&&t instanceof HTMLVideoElement){var C={};C.src=t.getAttribute&&t.getAttribute("src")||t.src,C.alt=t.alt,C.height=t.style.height,C.width=t.style.width,t.style.float&&(C.alignment=t.style.float);var _=r.Entity.__create("VIDEO","MUTABLE",C);return{chunk:c(_)}}if("iframe"===b&&t instanceof HTMLIFrameElement){var E={};E.src=t.getAttribute&&t.getAttribute("src")||t.src,E.height=t.height,E.width=t.width;var M=r.Entity.__create("EMBEDDED_LINK","MUTABLE",E);return{chunk:c(M)}}var O,A=function(t,e){var n=p.filter((function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?l(t)+e:e}function u(){return!0}function p(t,e,n){return(0===t&&!g(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function d(t,e){return h(t,e,0)}function f(t,e){return h(t,e,e)}function h(t,e,n){return void 0===t?n:g(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function g(t){return t<0||0===t&&1/t==-1/0}var m="@@__IMMUTABLE_ITERABLE__@@";function y(t){return Boolean(t&&t[m])}var v="@@__IMMUTABLE_KEYED__@@";function b(t){return Boolean(t&&t[v])}var x="@@__IMMUTABLE_INDEXED__@@";function w(t){return Boolean(t&&t[x])}function S(t){return b(t)||w(t)}var k=function(t){return y(t)?t:V(t)},C=function(t){function e(t){return b(t)?t:K(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),_=function(t){function e(t){return w(t)?t:X(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),E=function(t){function e(t){return y(t)&&!S(t)?t:G(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k);k.Keyed=C,k.Indexed=_,k.Set=E;var M="@@__IMMUTABLE_SEQ__@@";function O(t){return Boolean(t&&t[M])}var A="@@__IMMUTABLE_RECORD__@@";function D(t){return Boolean(t&&t[A])}function j(t){return y(t)||D(t)}var I="@@__IMMUTABLE_ORDERED__@@";function L(t){return Boolean(t&&t[I])}var T="function"==typeof Symbol&&Symbol.iterator,N=T||"@@iterator",P=function(t){this.next=t};function z(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function R(){return{value:void 0,done:!0}}function B(t){return!!Array.isArray(t)||!!U(t)}function F(t){return t&&"function"==typeof t.next}function H(t){var e=U(t);return e&&e.call(t)}function U(t){var e=t&&(T&&t[T]||t["@@iterator"]);if("function"==typeof e)return e}P.prototype.toString=function(){return"[Iterator]"},P.KEYS=0,P.VALUES=1,P.ENTRIES=2,P.prototype.inspect=P.prototype.toSource=function(){return this.toString()},P.prototype[N]=function(){return this};var Y=Object.prototype.hasOwnProperty;function W(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var V=function(t){function e(t){return null==t?$():j(t)?t.toSeq():function(t){var e,n,r=nt(t);if(r)return(n=U(e=t))&&n===e.entries?r.fromEntrySeq():function(t){var e=U(t);return e&&e===t.keys}(t)?r.toSetSeq():r;if("object"==typeof t)return new Z(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[e?r-++o:o++];if(!1===t(i[1],i[0],this))break}return o}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,o=0;return new P((function(){if(o===r)return{value:void 0,done:!0};var i=n[e?r-++o:o++];return z(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(k),K=function(t){function e(t){return null==t?$().toKeyedSeq():y(t)?b(t)?t.toSeq():t.fromEntrySeq():D(t)?t.toSeq():tt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(V),X=function(t){function e(t){return null==t?$():y(t)?b(t)?t.entrySeq():t.toIndexedSeq():D(t)?t.toSeq().entrySeq():et(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(V),G=function(t){function e(t){return(y(t)&&!S(t)?t:X(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(V);V.isSeq=O,V.Keyed=K,V.Set=G,V.Indexed=X,V.prototype[M]=!0;var q=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[c(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,o=0;o!==r;){var i=e?r-++o:o++;if(!1===t(n[i],i,this))break}return o},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,o=0;return new P((function(){if(o===r)return{value:void 0,done:!0};var i=e?r-++o:o++;return z(t,i,n[i])}))},e}(X),Z=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return Y.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[e?o-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length,i=0;return new P((function(){if(i===o)return{value:void 0,done:!0};var a=r[e?o-++i:i++];return z(t,a,n[a])}))},e}(K);Z.prototype[I]=!0;var Q,J=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=H(this._collection),r=0;if(F(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=H(this._collection);if(!F(n))return new P(R);var r=0;return new P((function(){var e=n.next();return e.done?e:z(t,r++,e.value)}))},e}(X);function $(){return Q||(Q=new q([]))}function tt(t){var e=nt(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new Z(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function et(t){var e=nt(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function nt(t){return W(t)?new q(t):B(t)?new J(t):void 0}var rt="@@__IMMUTABLE_MAP__@@";function ot(t){return Boolean(t&&t[rt])}function it(t){return ot(t)&&L(t)}function at(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function st(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(at(t)&&at(e)&&t.equals(e))}var lt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function ct(t){return t>>>1&1073741824|3221225471&t}var ut=Object.prototype.valueOf;function pt(t){if(null==t)return dt(t);if("function"==typeof t.hashCode)return ct(t.hashCode(t));var e,n,r,o=(e=t).valueOf!==ut&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==o)return dt(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return ct(e)}(o);case"string":return o.length>St?(void 0===(r=_t[n=o])&&(r=ft(n),Ct===kt&&(Ct=0,_t={}),Ct++,_t[n]=r),r):ft(o);case"object":case"function":return function(t){var e;if(vt&&void 0!==(e=yt.get(t)))return e;if(void 0!==(e=t[wt]))return e;if(!gt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[wt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=mt(),vt)yt.set(t,e);else{if(void 0!==ht&&!1===ht(t))throw new Error("Non-extensible objects are not allowed as keys.");if(gt)Object.defineProperty(t,wt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[wt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[wt]=e}}return e}(o);case"symbol":return function(t){var e=bt[t];return void 0!==e||(e=mt(),bt[t]=e),e}(o);default:if("function"==typeof o.toString)return ft(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function dt(t){return null===t?1108378658:1108378659}function ft(t){for(var e=0,n=0;n=0&&(u.get=function(e,n){return(e=c(this,e))>=0&&es)return{value:void 0,done:!0};var t=o.next();return r||1===e||t.done?t:z(e,l-1,0===e?void 0:t.value[1],t)}))},u}function Nt(t,e,n,r){var o=Vt(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return t.__iterate((function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return l++,o(t,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),l=!0,c=0;return new P((function(){var t,i,u;do{if((t=s.next()).done)return r||1===o?t:z(o,c++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],u=p[1],l&&(l=e.call(n,u,i,a))}while(l);return 2===o?t:z(o,i,u,t)}))},o}function Pt(t,e){var n=b(t),r=[t].concat(e).map((function(t){return y(t)?n&&(t=C(t)):t=n?tt(t):et(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&b(o)||w(t)&&w(o))return o}var i=new q(r);return n?i=i.toKeyedSeq():w(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}function zt(t,e,n){var r=Vt(t);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function t(l,c){l.__iterate((function(i,l){return(!e||c0}function Ht(t,e,n,r){var o=Vt(t),i=new q(n).map((function(t){return t.size}));return o.size=r?i.max():i.min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map((function(t){return t=k(t),H(o?t.reverse():t)})),a=0,s=!1;return new P((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=r?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:z(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ut(t,e){return t===e?t:O(t)?e:t.constructor(e)}function Yt(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Wt(t){return b(t)?C:w(t)?_:E}function Vt(t){return Object.create((b(t)?K:w(t)?X:G).prototype)}function Kt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function Xt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return ve(this,e,t)}function ve(t,e,n){for(var r=[],o=0;o0;)e[n]=arguments[n+1];return Ce(t,e)}function xe(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Ce(e,n,t)}function we(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return ke(t,e)}function Se(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return ke(e,n,t)}function ke(t,e,n){return Ce(t,e,function(t){return function e(n,r,o){return te(n)&&te(r)&&(i=r,a=V(n),s=V(i),w(a)===w(s)&&b(a)===b(s))?Ce(n,[r],e):t?t(n,r,o):r;var i,a,s}}(n))}function Ce(t,e,n){if(!te(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(j(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),o=t,i=r?_:C,a=r?function(e){o===t&&(o=oe(o)),o.push(e)}:function(e,r){var i=Y.call(o,r),a=i&&n?n(o[r],e,r):e;i&&a===o[r]||(o===t&&(o=oe(o)),o[r]=a)},s=0;s0;)e[n]=arguments[n+1];return ke(this,e,t)}function Me(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ve(),(function(t){return Ce(t,e)}))}function Oe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ve(),(function(t){return ke(t,e)}))}function Ae(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function De(){return this.__ownerID?this:this.__ensureOwner(new s)}function je(){return this.__ensureOwner()}function Ie(){return this.__altered}var Le=function(t){function e(e){return null==e?Ve():ot(e)&&!L(e)?e:Ve().withMutations((function(n){var r=t(e);Zt(r.size),r.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ve().withMutations((function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Ke(this,t,e)},e.prototype.remove=function(t){return Ke(this,t,i)},e.prototype.deleteAll=function(t){var e=k(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ve()},e.prototype.sort=function(t){return vn(Rt(this,t))},e.prototype.sortBy=function(t,e){return vn(Rt(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,t.call(e,o,i,n))}))}))},e.prototype.__iterator=function(t,e){return new He(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?We(this.size,this._root,t,this.__hash):0===this.size?Ve():(this.__ownerID=t,this.__altered=!1,this)},e}(C);Le.isMap=ot;var Te=Le.prototype;Te[rt]=!0,Te.delete=Te.remove,Te.removeAll=Te.deleteAll,Te.setIn=ue,Te.removeIn=Te.deleteIn=de,Te.update=he,Te.updateIn=ge,Te.merge=Te.concat=me,Te.mergeWith=ye,Te.mergeDeep=_e,Te.mergeDeepWith=Ee,Te.mergeIn=Me,Te.mergeDeepIn=Oe,Te.withMutations=Ae,Te.wasAltered=Ie,Te.asImmutable=je,Te["@@transducer/init"]=Te.asMutable=De,Te["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Te["@@transducer/result"]=function(t){return t.asImmutable()};var Ne=function(t,e){this.ownerID=t,this.entries=e};Ne.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i=Je)return function(t,e,n,r){t||(t=new s);for(var o=new Be(t,pt(n),[n,r]),i=0;i>>t)&o),a=this.bitmap;return 0==(a&i)?r:this.nodes[Ze(a&i-1)].get(t+5,e,n,r)},Pe.prototype.update=function(t,e,n,a,s,l,c){void 0===n&&(n=pt(a));var u=(0===e?n:n>>>e)&o,p=1<=$e)return function(t,e,n,o,i){for(var a=0,s=new Array(r),l=0;0!==n;l++,n>>>=1)s[l]=1&n?e[a++]:void 0;return s[o]=i,new ze(t,a+1,s)}(t,g,d,u,y);if(f&&!y&&2===g.length&&Ge(g[1^h]))return g[1^h];if(f&&y&&1===g.length&&Ge(y))return y;var v=t&&t===this.ownerID,b=f?y?d:d^p:d|p,x=f?y?Qe(g,h,y,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a>>t)&o,a=this.nodes[i];return a?a.get(t+5,e,n,r):r},ze.prototype.update=function(t,e,n,r,a,s,l){void 0===n&&(n=pt(r));var c=(0===e?n:n>>>e)&o,u=a===i,p=this.nodes,d=p[c];if(u&&!d)return this;var f=Xe(d,t,e+5,n,r,a,s,l);if(f===d)return this;var h=this.count;if(d){if(!f&&--h>>n)&o,l=(0===n?r:r>>>n)&o,c=s===l?[qe(t,e,n+5,r,i)]:(a=new Be(e,r,i),s>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function Qe(t,e,n,r){var o=r?t:Gt(t);return o[e]=n,o}var Je=8,$e=16,tn=8,en="@@__IMMUTABLE_LIST__@@";function nn(t){return Boolean(t&&t[en])}var rn=function(t){function e(e){var n=pn();if(null==e)return n;if(nn(e))return e;var o=t(e),i=o.size;return 0===i?n:(Zt(i),i>0&&i=0&&t=t.size||e<0)return t.withMutations((function(t){e<0?gn(t,e).set(0,n):gn(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i={value:!1};return e>=mn(t._capacity)?r=dn(r,t.__ownerID,0,e,n,i):o=dn(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):un(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):pn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){gn(n,0,e+t.length);for(var r=0;r>>e&o;if(r>=this.array.length)return new an([],t);var i,a=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-5,n))===s&&a)return this}if(a&&!i)return this;var l=fn(this,t);if(!a)for(var c=0;c>>e&o;if(i>=this.array.length)return this;if(e>0){var a=this.array[i];if((r=a&&a.removeAfter(t,e-5,n))===a&&i===this.array.length-1)return this}var s=fn(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var sn,ln={};function cn(t,e){var n=t._origin,o=t._capacity,i=mn(o),a=t._tail;return function t(s,l,c){return 0===l?function(t,s){var l=s===i?a&&a.array:t&&t.array,c=s>n?0:n-s,u=o-s;return u>r&&(u=r),function(){if(c===u)return ln;var t=e?--u:c++;return l&&l[t]}}(s,c):function(i,a,s){var l,c=i&&i.array,u=s>n?0:n-s>>a,p=1+(o-s>>a);return p>r&&(p=r),function(){for(;;){if(l){var n=l();if(n!==ln)return n;l=null}if(u===p)return ln;var r=e?--p:u++;l=t(c&&c[r],a-5,s+(r<>>n&o,u=t&&c0){var p=t&&t.array[c],d=dn(p,e,n-5,r,i,s);return d===p?t:((l=fn(t,e)).array[c]=d,l)}return u&&t.array[c]===i?t:(s&&a(s),l=fn(t,e),void 0===i&&c===l.array.length-1?l.array.pop():l.array[c]=i,l)}function fn(t,e){return e&&t&&e===t.ownerID?t:new an(t?t.array.slice():[],e)}function hn(t,e){if(e>=mn(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&o],r-=5;return n}}function gn(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new s,i=t._origin,a=t._capacity,l=i+e,c=void 0===n?a:n<0?a+n:i+n;if(l===i&&c===a)return t;if(l>=c)return t.clear();for(var u=t._level,p=t._root,d=0;l+d<0;)p=new an(p&&p.array.length?[void 0,p]:[],r),d+=1<<(u+=5);d&&(l+=d,i+=d,c+=d,a+=d);for(var f=mn(a),h=mn(c);h>=1<f?new an([],r):g;if(g&&h>f&&l5;v-=5){var b=f>>>v&o;y=y.array[b]=fn(y.array[b],r)}y.array[f>>>5&o]=g}if(c=h)l-=h,c-=h,u=5,p=null,m=m&&m.removeBefore(r,0,l);else if(l>i||h>>u&o;if(x!==h>>>u&o)break;x&&(d+=(1<i&&(p=p.removeBefore(r,u,l-d)),p&&h>>5<<5}var yn,vn=function(t){function e(t){return null==t?xn():it(t)?t:xn().withMutations((function(e){var n=C(t);Zt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):xn()},e.prototype.set=function(t,e){return wn(this,t,e)},e.prototype.remove=function(t){return wn(this,t,i)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?bn(e,n,t,this.__hash):0===this.size?xn():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Le);function bn(t,e,n,r){var o=Object.create(vn.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xn(){return yn||(yn=bn(Ve(),pn()))}function wn(t,e,n){var o,a,s=t._map,l=t._list,c=s.get(e),u=void 0!==c;if(n===i){if(!u)return t;l.size>=r&&l.size>=2*s.size?(o=(a=l.filter((function(t,e){return void 0!==t&&c!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(o.__ownerID=a.__ownerID=t.__ownerID)):(o=s.remove(e),a=c===l.size-1?l.pop():l.set(c,void 0))}else if(u){if(n===l.get(c)[1])return t;o=s,a=l.set(c,[e,n])}else o=s.set(e,l.size),a=l.set(l.size,[e,n]);return t.__ownerID?(t.size=o.size,t._map=o,t._list=a,t.__hash=void 0,t.__altered=!0,t):bn(o,a)}vn.isOrderedMap=it,vn.prototype[I]=!0,vn.prototype.delete=vn.prototype.remove;var Sn="@@__IMMUTABLE_STACK__@@";function kn(t){return Boolean(t&&t[Sn])}var Cn=function(t){function e(t){return null==t?An():kn(t)?t:An().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=c(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):On(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&kn(e))return e;Zt(e.size);var n=this.size,r=this._head;return e.__iterate((function(t){n++,r={value:t,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):On(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},e.prototype.slice=function(e,n){if(p(e,n,this.size))return this;var r=d(e,this.size);if(f(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):On(o,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?On(this.size,this._head,t,this.__hash):0===this.size?An():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new q(this.toArray()).__iterate((function(e,r){return t(e,r,n)}),e);for(var r=0,o=this._head;o&&!1!==t(o.value,r++,this);)o=o.next;return r},e.prototype.__iterator=function(t,e){if(e)return new q(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new P((function(){if(r){var e=r.value;return r=r.next,z(t,n++,e)}return{value:void 0,done:!0}}))},e}(_);Cn.isStack=kn;var En,Mn=Cn.prototype;function On(t,e,n,r){var o=Object.create(Mn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function An(){return En||(En=On(0))}Mn[Sn]=!0,Mn.shift=Mn.pop,Mn.unshift=Mn.push,Mn.unshiftAll=Mn.pushAll,Mn.withMutations=Ae,Mn.wasAltered=Ie,Mn.asImmutable=je,Mn["@@transducer/init"]=Mn.asMutable=De,Mn["@@transducer/step"]=function(t,e){return t.unshift(e)},Mn["@@transducer/result"]=function(t){return t.asImmutable()};var Dn="@@__IMMUTABLE_SET__@@";function jn(t){return Boolean(t&&t[Dn])}function In(t){return jn(t)&&L(t)}function Ln(t,e){if(t===e)return!0;if(!y(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||b(t)!==b(e)||w(t)!==w(e)||L(t)!==L(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!S(t);if(L(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&st(o[1],t)&&(n||st(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var a=t;t=e,e=a}var s=!0,l=e.__iterate((function(e,r){if(n?!t.has(e):o?!st(e,t.get(r,i)):!st(t.get(r,i),e))return s=!1,!1}));return s&&t.size===l}function Tn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Nn(t){if(!t||"object"!=typeof t)return t;if(!y(t)){if(!te(t))return t;t=V(t)}if(b(t)){var e={};return t.__iterate((function(t,n){e[n]=Nn(t)})),e}var n=[];return t.__iterate((function(t){n.push(Nn(t))})),n}var Pn=function(t){function e(e){return null==e?Hn():jn(e)&&!L(e)?e:Hn().withMutations((function(n){var r=t(e);Zt(r.size),r.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(C(t).keySeq())},e.intersect=function(t){return(t=k(t).toArray()).length?Rn.intersect.apply(e(t.pop()),t):Hn()},e.union=function(t){return(t=k(t).toArray()).length?Rn.union.apply(e(t.pop()),t):Hn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Bn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Bn(this,this._map.remove(t))},e.prototype.clear=function(){return Bn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=!1,o=Bn(this,this._map.mapEntries((function(o){var i=o[1],a=t.call(e,i,i,n);return a!==i&&(r=!0),[a,a]}),e));return r?o:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var r=0;r=0&&e=0&&n>>-15,461845907),e=lt(e<<13|e>>>-13,5),e=lt((e=(e+3864292196|0)^t)^e>>>16,2246822507),ct((e=lt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+ir(pt(t),pt(e))|0}:function(t,e){r=r+ir(pt(t),pt(e))|0}:e?function(t){r=31*r+pt(t)|0}:function(t){r=r+pt(t)|0}),r)}(this))}});var Gn=k.prototype;Gn[m]=!0,Gn[N]=Gn.values,Gn.toJSON=Gn.toArray,Gn.__toStringMapper=ee,Gn.inspect=Gn.toSource=function(){return this.toString()},Gn.chain=Gn.flatMap,Gn.contains=Gn.includes,Tn(C,{flip:function(){return Ut(this,Dt(this))},mapEntries:function(t,e){var n=this,r=0;return Ut(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ut(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var qn=C.prototype;qn[v]=!0,qn[N]=Gn.entries,qn.toJSON=Xn,qn.__toStringMapper=function(t,e){return ee(e)+": "+ee(t)},Tn(_,{toKeyedSeq:function(){return new Et(this,!1)},filter:function(t,e){return Ut(this,Lt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ut(this,It(this,!1))},slice:function(t,e){return Ut(this,Tt(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=d(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ut(this,1===n?r:r.concat(Gt(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Ut(this,zt(this,t,!1))},get:function(t,e){return(t=c(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=c(this,t))>=0&&(void 0!==this.size?this.size===1/0||te?-1:0}function ir(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}Qn.has=Gn.includes,Qn.contains=Qn.includes,Qn.keys=Qn.values,Tn(K,qn),Tn(X,Zn),Tn(G,Qn);var ar=function(t){function e(t){return null==t?ur():In(t)?t:ur().withMutations((function(e){var n=E(t);Zt(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(C(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Pn);ar.isOrderedSet=In;var sr,lr=ar.prototype;function cr(t,e){var n=Object.create(lr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function ur(){return sr||(sr=cr(xn()))}lr[I]=!0,lr.zip=Zn.zip,lr.zipWith=Zn.zipWith,lr.zipAll=Zn.zipAll,lr.__empty=ur,lr.__make=cr;var pr=function(t,e){var n;!function(t){if(D(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(j(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(t),l=o._indices={};o._name=e,o._keys=s,o._defaultValues=t;for(var c=0;c2?[]:void 0,{"":t})}function xr(t,e,n,r,o,i){if("string"!=typeof n&&!j(n)&&(W(n)||B(n)||$t(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),o&&""!==r&&o.push(r);var a=e.call(i,r,V(n).map((function(r,i){return xr(t,e,r,i,o,n)})),o&&o.slice());return t.pop(),o&&o.pop(),a}return n}function wr(t,e){return w(e)?e.toList():b(e)?e.toMap():e.toSet()}var Sr="4.1.0",kr={version:Sr,Collection:k,Iterable:k,Seq:V,Map:Le,OrderedMap:vn,List:rn,Stack:Cn,Set:Pn,OrderedSet:ar,Record:pr,Range:Yn,Repeat:vr,is:st,fromJS:br,hash:pt,isImmutable:j,isCollection:y,isKeyed:b,isIndexed:w,isAssociative:S,isOrdered:L,isValueObject:at,isPlainObject:$t,isSeq:O,isList:nn,isMap:ot,isOrderedMap:it,isStack:kn,isSet:jn,isOrderedSet:In,isRecord:D,get:re,getIn:Wn,has:ne,hasIn:Kn,merge:be,mergeDeep:we,mergeWith:xe,mergeDeepWith:Se,remove:ie,removeIn:pe,set:ae,setIn:ce,update:fe,updateIn:se},Cr=k;e.default=kr},8139:function(t){var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(t){return t?t.replace(l,c):c}t.exports=function(t,l){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];l=l||{};var p=1,d=1;function f(t){var e=t.match(n);e&&(p+=e.length);var r=t.lastIndexOf("\n");d=~r?t.length-r:d+t.length}function h(){var t={line:p,column:d};return function(e){return e.position=new g(t),b(),e}}function g(t){this.start=t,this.end={line:p,column:d},this.source=l.source}g.prototype.content=t;var m=[];function y(e){var n=new Error(l.source+":"+p+":"+d+": "+e);if(n.reason=e,n.filename=l.source,n.line=p,n.column=d,n.source=t,!l.silent)throw n;m.push(n)}function v(e){var n=e.exec(t);if(n){var r=n[0];return f(r),t=t.slice(r.length),n}}function b(){v(r)}function x(t){var e;for(t=t||[];e=w();)!1!==e&&t.push(e);return t}function w(){var e=h();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;c!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,c===t.charAt(n-1))return y("End of comment missing");var r=t.slice(2,n-2);return d+=2,f(r),t=t.slice(n),d+=2,e({type:"comment",comment:r})}}function S(){var t=h(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(a),l=t({type:"declaration",property:u(n[0].replace(e,c)),value:r?u(r[0].replace(e,c)):c});return v(s),l}}return b(),function(){var t,e=[];for(x(e);t=S();)!1!==t&&(e.push(t),x(e));return e}()}},5826:function(t){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},4278:function(){},7418:function(t){"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var a,s,l=o(t),c=1;c=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,a),r=o.default.Children.only(e);return o.default.cloneElement(r,c(c({},n),{},{onClick:this.onClick}))}}])&&p(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),y}(o.default.PureComponent);e.CopyToClipboard=y,m(y,"defaultProps",{onCopy:void 0,options:void 0})},4855:function(t,e,n){"use strict";var r=n(4300).CopyToClipboard;r.CopyToClipboard=r,t.exports=r},5108:function(t,e,n){window,t.exports=function(t,e,n){return i={},r.m=o=[function(t,e,n){t.exports=n(10)()},function(e,n){e.exports=t},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<|]|"+e.src_ZPCc+"))("+p+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(u=t).__index__=-1,u.__text_cache__=""}function p(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function d(t,e){var n=new p(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function f(t,e){if(!(this instanceof f))return new f(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||s.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,t),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(t,e){return this.__schemas__[t]=e,u(this),this},f.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},f.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,l;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||lthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},f.prototype.pretest=function(t){return this.re.pretest.test(t)},f.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},f.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(d(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},f.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),u(this),this},f.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},f.prototype.onCompile=function(){},t.exports=f},function(t,e,n){t.exports=n(40)},function(t,e,n){},function(t,e,n){"use strict";var r=n(11);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}var n={array:t.isRequired=t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e),n.d(e,"Editor",(function(){return wr}));var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),l=n(4),c=n(2),u=n.n(c);function p(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(this.props,[]);return function(t){u.forEach((function(e){return delete t[e]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:e},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},t),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),e}(i.Component);h.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},h.defaultProps={minWidth:1,injectStyles:!0},e.Z=h},9921:function(t,e){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case u:case p:case i:case s:case a:case f:return t;default:switch(t=t&&t.$$typeof){case c:case d:case m:case g:case l:return t;default:return e}}case o:return e}}}function S(t){return w(t)===p}e.AsyncMode=u,e.ConcurrentMode=p,e.ContextConsumer=c,e.ContextProvider=l,e.Element=r,e.ForwardRef=d,e.Fragment=i,e.Lazy=m,e.Memo=g,e.Portal=o,e.Profiler=s,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(t){return S(t)||w(t)===u},e.isConcurrentMode=S,e.isContextConsumer=function(t){return w(t)===c},e.isContextProvider=function(t){return w(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===d},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===m},e.isMemo=function(t){return w(t)===g},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===a},e.isSuspense=function(t){return w(t)===f},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===p||t===s||t===a||t===f||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===l||t.$$typeof===c||t.$$typeof===d||t.$$typeof===v||t.$$typeof===b||t.$$typeof===x||t.$$typeof===y)},e.typeOf=w},9864:function(t,e,n){"use strict";t.exports=n(9921)},5726:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.charAt(0).toUpperCase()+t.slice(1),n=t=>Array.prototype.slice.call(t),r=e=>{console.warn("".concat(t," ").concat("object"==typeof e?e.join(" "):e))},o=e=>{console.error("".concat(t," ").concat(e))},i=[],a=(t,e)=>{var n;n='"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'),i.includes(n)||(i.push(n),r(n))},s=t=>"function"==typeof t?t():t,l=t=>t&&"function"==typeof t.toPromise,c=t=>l(t)?t.toPromise():Promise.resolve(t),u=t=>t&&Promise.resolve(t)===t,p={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},d=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],f={},h=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],g=t=>Object.prototype.hasOwnProperty.call(p,t),m=t=>-1!==d.indexOf(t),y=t=>f[t],v=t=>{g(t)||r('Unknown parameter "'.concat(t,'"'))},b=t=>{h.includes(t)&&r('The parameter "'.concat(t,'" is incompatible with toasts'))},x=t=>{y(t)&&a(t,y(t))},w=t=>{const e={};for(const n in t)e[t[n]]="swal2-"+t[n];return e},S=w(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),k=w(["success","warning","info","question","error"]),C=()=>document.body.querySelector(".".concat(S.container)),_=t=>{const e=C();return e?e.querySelector(t):null},E=t=>_(".".concat(t)),M=()=>E(S.popup),O=()=>E(S.icon),A=()=>E(S.title),D=()=>E(S["html-container"]),j=()=>E(S.image),I=()=>E(S["progress-steps"]),L=()=>E(S["validation-message"]),T=()=>_(".".concat(S.actions," .").concat(S.confirm)),N=()=>_(".".concat(S.actions," .").concat(S.deny)),P=()=>_(".".concat(S.loader)),z=()=>_(".".concat(S.actions," .").concat(S.cancel)),R=()=>E(S.actions),B=()=>E(S.footer),F=()=>E(S["timer-progress-bar"]),H=()=>E(S.close),U=()=>{const t=n(M().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((t,e)=>{const n=parseInt(t.getAttribute("tabindex")),r=parseInt(e.getAttribute("tabindex"));return n>r?1:n"-1"!==t.getAttribute("tabindex")));return(t=>{const e=[];for(let n=0;nat(t)))},Y=()=>X(document.body,S.shown)&&!X(document.body,S["toast-shown"])&&!X(document.body,S["no-backdrop"]),W=()=>M()&&X(M(),S.toast),V={previousBodyPadding:null},K=(t,e)=>{if(t.textContent="",e){const r=(new DOMParser).parseFromString(e,"text/html");n(r.querySelector("head").childNodes).forEach((e=>{t.appendChild(e)})),n(r.querySelector("body").childNodes).forEach((e=>{t.appendChild(e)}))}},X=(t,e)=>{if(!e)return!1;const n=e.split(/\s+/);for(let e=0;e{if(((t,e)=>{n(t.classList).forEach((n=>{Object.values(S).includes(n)||Object.values(k).includes(n)||Object.values(e.showClass).includes(n)||t.classList.remove(n)}))})(t,e),e.customClass&&e.customClass[o]){if("string"!=typeof e.customClass[o]&&!e.customClass[o].forEach)return r("Invalid type of customClass.".concat(o,'! Expected string or iterable object, got "').concat(typeof e.customClass[o],'"'));J(t,e.customClass[o])}},q=(t,e)=>{if(!e)return null;switch(e){case"select":case"textarea":case"file":return t.querySelector(".".concat(S.popup," > .").concat(S[e]));case"checkbox":return t.querySelector(".".concat(S.popup," > .").concat(S.checkbox," input"));case"radio":return t.querySelector(".".concat(S.popup," > .").concat(S.radio," input:checked"))||t.querySelector(".".concat(S.popup," > .").concat(S.radio," input:first-child"));case"range":return t.querySelector(".".concat(S.popup," > .").concat(S.range," input"));default:return t.querySelector(".".concat(S.popup," > .").concat(S.input))}},Z=t=>{if(t.focus(),"file"!==t.type){const e=t.value;t.value="",t.value=e}},Q=(t,e,n)=>{t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach((e=>{Array.isArray(t)?t.forEach((t=>{n?t.classList.add(e):t.classList.remove(e)})):n?t.classList.add(e):t.classList.remove(e)})))},J=(t,e)=>{Q(t,e,!0)},$=(t,e)=>{Q(t,e,!1)},tt=(t,e)=>{const r=n(t.childNodes);for(let t=0;t{n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?t.style[e]="number"==typeof n?"".concat(n,"px"):n:t.style.removeProperty(e)},nt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.display=e},rt=t=>{t.style.display="none"},ot=(t,e,n,r)=>{const o=t.querySelector(e);o&&(o.style[n]=r)},it=(t,e,n)=>{e?nt(t,n):rt(t)},at=t=>!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),st=t=>!!(t.scrollHeight>t.clientHeight),lt=t=>{const e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),r=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||r>0},ct=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=F();at(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"}),10))},ut=()=>"undefined"==typeof window||"undefined"==typeof document,pt={},dt=t=>new Promise((e=>{if(!t)return e();const n=window.scrollX,r=window.scrollY;pt.restoreFocusTimeout=setTimeout((()=>{pt.previousActiveElement&&pt.previousActiveElement.focus?(pt.previousActiveElement.focus(),pt.previousActiveElement=null):document.body&&document.body.focus(),e()}),100),window.scrollTo(n,r)})),ft='\n
    \n \n
      \n
      \n \n

      \n
      \n \n \n
      \n \n \n
      \n \n
      \n \n \n
      \n
      \n
      \n \n \n \n
      \n
      \n
      \n
      \n
      \n
      \n').replace(/(^|\n)\s*/g,""),ht=()=>{pt.currentInstance.resetValidationMessage()},gt=t=>{const e=(()=>{const t=C();return!!t&&(t.remove(),$([document.documentElement,document.body],[S["no-backdrop"],S["toast-shown"],S["has-column"]]),!0)})();if(ut())return void o("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=S.container,e&&J(n,S["no-transition"]),K(n,ft);const r="string"==typeof(i=t.target)?document.querySelector(i):i;var i;r.appendChild(n),(t=>{const e=M();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")})(t),(t=>{"rtl"===window.getComputedStyle(t).direction&&J(C(),S.rtl)})(r),(()=>{const t=M(),e=tt(t,S.input),n=tt(t,S.file),r=t.querySelector(".".concat(S.range," input")),o=t.querySelector(".".concat(S.range," output")),i=tt(t,S.select),a=t.querySelector(".".concat(S.checkbox," input")),s=tt(t,S.textarea);e.oninput=ht,n.onchange=ht,i.onchange=ht,a.onchange=ht,s.oninput=ht,r.oninput=()=>{ht(),o.value=r.value},r.onchange=()=>{ht(),r.nextSibling.value=r.value}})()},mt=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):"object"==typeof t?yt(t,e):t&&K(e,t)},yt=(t,e)=>{t.jquery?vt(e,t):K(e,t.toString())},vt=(t,e)=>{if(t.textContent="",0 in e)for(let n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},bt=(()=>{if(ut())return!1;const t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1})(),xt=(t,e)=>{const n=R(),r=P();e.showConfirmButton||e.showDenyButton||e.showCancelButton?nt(n):rt(n),G(n,e,"actions"),function(t,e,n){const r=T(),o=N(),i=z();wt(r,"confirm",n),wt(o,"deny",n),wt(i,"cancel",n),function(t,e,n,r){if(!r.buttonsStyling)return $([t,e,n],S.styled);J([t,e,n],S.styled),r.confirmButtonColor&&(t.style.backgroundColor=r.confirmButtonColor,J(t,S["default-outline"])),r.denyButtonColor&&(e.style.backgroundColor=r.denyButtonColor,J(e,S["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,J(n,S["default-outline"]))}(r,o,i,n),n.reverseButtons&&(n.toast?(t.insertBefore(i,r),t.insertBefore(o,r)):(t.insertBefore(i,e),t.insertBefore(o,e),t.insertBefore(r,e)))}(n,r,e),K(r,e.loaderHtml),G(r,e,"loader")};function wt(t,n,r){it(t,r["show".concat(e(n),"Button")],"inline-block"),K(t,r["".concat(n,"ButtonText")]),t.setAttribute("aria-label",r["".concat(n,"ButtonAriaLabel")]),t.className=S[n],G(t,r,"".concat(n,"Button")),J(t,r["".concat(n,"ButtonClass")])}const St=(t,e)=>{const n=C();n&&(function(t,e){"string"==typeof e?t.style.background=e:e||J([document.documentElement,document.body],S["no-backdrop"])}(n,e.backdrop),function(t,e){e in S?J(t,S[e]):(r('The "position" parameter is not valid, defaulting to "center"'),J(t,S.center))}(n,e.position),function(t,e){if(e&&"string"==typeof e){const n="grow-".concat(e);n in S&&J(t,S[n])}}(n,e.grow),G(n,e,"container"))};var kt={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ct=["input","file","range","select","radio","checkbox","textarea"],_t=t=>{if(!jt[t.input])return o('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));const e=Dt(t.input),n=jt[t.input](e,t);nt(n),setTimeout((()=>{Z(n)}))},Et=(t,e)=>{const n=q(M(),t);if(n){(t=>{for(let e=0;e{const e=Dt(t.input);t.customClass&&J(e,t.customClass.input)},Ot=(t,e)=>{t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},At=(t,e,n)=>{if(n.inputLabel){t.id=S.input;const r=document.createElement("label"),o=S["input-label"];r.setAttribute("for",t.id),r.className=o,J(r,n.customClass.inputLabel),r.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",r)}},Dt=t=>{const e=S[t]?S[t]:S.input;return tt(M(),e)},jt={};jt.text=jt.email=jt.password=jt.number=jt.tel=jt.url=(t,e)=>("string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:u(e.inputValue)||r('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof e.inputValue,'"')),At(t,t,e),Ot(t,e),t.type=e.input,t),jt.file=(t,e)=>(At(t,t,e),Ot(t,e),t),jt.range=(t,e)=>{const n=t.querySelector("input"),r=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,r.value=e.inputValue,At(n,t,e),t},jt.select=(t,e)=>{if(t.textContent="",e.inputPlaceholder){const n=document.createElement("option");K(n,e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)}return At(t,t,e),t},jt.radio=t=>(t.textContent="",t),jt.checkbox=(t,e)=>{const n=q(M(),"checkbox");n.value="1",n.id=S.checkbox,n.checked=Boolean(e.inputValue);const r=t.querySelector("span");return K(r,e.inputPlaceholder),t},jt.textarea=(t,e)=>{t.value=e.inputValue,Ot(t,e),At(t,t,e);return setTimeout((()=>{if("MutationObserver"in window){const e=parseInt(window.getComputedStyle(M()).width);new MutationObserver((()=>{const n=t.offsetWidth+(r=t,parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight));var r;M().style.width=n>e?"".concat(n,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}})),t};const It=(t,e)=>{const n=D();G(n,e,"htmlContainer"),e.html?(mt(e.html,n),nt(n,"block")):e.text?(n.textContent=e.text,nt(n,"block")):rt(n),((t,e)=>{const n=M(),r=kt.innerParams.get(t),o=!r||e.input!==r.input;Ct.forEach((t=>{const r=S[t],i=tt(n,r);Et(t,e.inputAttributes),i.className=r,o&&rt(i)})),e.input&&(o&&_t(e),Mt(e))})(t,e)},Lt=(t,e)=>{for(const n in k)e.icon!==n&&$(t,k[n]);J(t,k[e.icon]),Pt(t,e),Tt(),G(t,e,"icon")},Tt=()=>{const t=M(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let t=0;t{t.textContent="",e.iconHtml?K(t,zt(e.iconHtml)):"success"===e.icon?K(t,'\n
      \n \n
      \n
      \n'):"error"===e.icon?K(t,'\n \n \n \n \n'):K(t,zt({question:"?",warning:"!",info:"i"}[e.icon]))},Pt=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ot(t,n,"backgroundColor",e.iconColor);ot(t,".swal2-success-ring","borderColor",e.iconColor)}},zt=t=>'
      ').concat(t,"
      "),Rt=(t,e)=>{const n=I();if(!e.progressSteps||0===e.progressSteps.length)return rt(n);nt(n),n.textContent="",e.currentProgressStep>=e.progressSteps.length&&r("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach(((t,r)=>{const o=(t=>{const e=document.createElement("li");return J(e,S["progress-step"]),K(e,t),e})(t);if(n.appendChild(o),r===e.currentProgressStep&&J(o,S["active-progress-step"]),r!==e.progressSteps.length-1){const t=(t=>{const e=document.createElement("li");return J(e,S["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e})(e);n.appendChild(t)}}))},Bt=(t,e)=>{t.className="".concat(S.popup," ").concat(at(t)?e.showClass.popup:""),e.toast?(J([document.documentElement,document.body],S["toast-shown"]),J(t,S.toast)):J(t,S.modal),G(t,e,"popup"),"string"==typeof e.customClass&&J(t,e.customClass),e.icon&&J(t,S["icon-".concat(e.icon)])},Ft=(t,e)=>{((t,e)=>{const n=C(),r=M();e.toast?(et(n,"width",e.width),r.style.width="100%",r.insertBefore(P(),O())):et(r,"width",e.width),et(r,"padding",e.padding),e.color&&(r.style.color=e.color),e.background&&(r.style.background=e.background),rt(L()),Bt(r,e)})(0,e),St(0,e),Rt(0,e),((t,e)=>{const n=kt.innerParams.get(t),r=O();n&&e.icon===n.icon?(Nt(r,e),Lt(r,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(k).indexOf(e.icon)?(o('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),rt(r)):(nt(r),Nt(r,e),Lt(r,e),J(r,e.showClass.icon)):rt(r)})(t,e),((t,e)=>{const n=j();if(!e.imageUrl)return rt(n);nt(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),et(n,"width",e.imageWidth),et(n,"height",e.imageHeight),n.className=S.image,G(n,e,"image")})(0,e),((t,e)=>{const n=A();it(n,e.title||e.titleText,"block"),e.title&&mt(e.title,n),e.titleText&&(n.innerText=e.titleText),G(n,e,"title")})(0,e),((t,e)=>{const n=H();K(n,e.closeButtonHtml),G(n,e,"closeButton"),it(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)})(0,e),It(t,e),xt(0,e),((t,e)=>{const n=B();it(n,e.footer),e.footer&&mt(e.footer,n),G(n,e,"footer")})(0,e),"function"==typeof e.didRender&&e.didRender(M())},Ht=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ut=()=>{n(document.body.children).forEach((t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},Yt=["swal-title","swal-html","swal-footer"],Wt=t=>{const e={};return n(t.querySelectorAll("swal-param")).forEach((t=>{Qt(t,["name","value"]);const n=t.getAttribute("name"),r=t.getAttribute("value");"boolean"==typeof p[n]&&"false"===r&&(e[n]=!1),"object"==typeof p[n]&&(e[n]=JSON.parse(r))})),e},Vt=t=>{const r={};return n(t.querySelectorAll("swal-button")).forEach((t=>{Qt(t,["type","color","aria-label"]);const n=t.getAttribute("type");r["".concat(n,"ButtonText")]=t.innerHTML,r["show".concat(e(n),"Button")]=!0,t.hasAttribute("color")&&(r["".concat(n,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(r["".concat(n,"ButtonAriaLabel")]=t.getAttribute("aria-label"))})),r},Kt=t=>{const e={},n=t.querySelector("swal-image");return n&&(Qt(n,["src","width","height","alt"]),n.hasAttribute("src")&&(e.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(e.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(e.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(e.imageAlt=n.getAttribute("alt"))),e},Xt=t=>{const e={},n=t.querySelector("swal-icon");return n&&(Qt(n,["type","color"]),n.hasAttribute("type")&&(e.icon=n.getAttribute("type")),n.hasAttribute("color")&&(e.iconColor=n.getAttribute("color")),e.iconHtml=n.innerHTML),e},Gt=t=>{const e={},r=t.querySelector("swal-input");r&&(Qt(r,["type","label","placeholder","value"]),e.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(e.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(e.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(e.inputValue=r.getAttribute("value")));const o=t.querySelectorAll("swal-input-option");return o.length&&(e.inputOptions={},n(o).forEach((t=>{Qt(t,["value"]);const n=t.getAttribute("value"),r=t.innerHTML;e.inputOptions[n]=r}))),e},qt=(t,e)=>{const n={};for(const r in e){const o=e[r],i=t.querySelector(o);i&&(Qt(i,[]),n[o.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},Zt=t=>{const e=Yt.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(t.children).forEach((t=>{const n=t.tagName.toLowerCase();-1===e.indexOf(n)&&r("Unrecognized element <".concat(n,">"))}))},Qt=(t,e)=>{n(t.attributes).forEach((n=>{-1===e.indexOf(n.name)&&r(['Unrecognized attribute "'.concat(n.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])}))};var Jt={email:(t,e)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};function $t(t){(function(t){t.inputValidator||Object.keys(Jt).forEach((e=>{t.input===e&&(t.inputValidator=Jt[e])}))})(t),t.showLoaderOnConfirm&&!t.preConfirm&&r("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(t){(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(r('Target parameter is not valid, defaulting to "body"'),t.target="body")}(t),"string"==typeof t.title&&(t.title=t.title.split("\n").join("
      ")),gt(t)}class te{constructor(t,e){this.callback=t,this.remaining=e,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(t){const e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ee=()=>{null===V.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(V.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(V.previousBodyPadding+(()=>{const t=document.createElement("div");t.className=S["scrollbar-measure"],document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e})(),"px"))},ne=()=>{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),n=!!t.match(/WebKit/i);if(e&&n&&!t.match(/CriOS/i)){const t=44;M().scrollHeight>window.innerHeight-t&&(C().style.paddingBottom="".concat(t,"px"))}},re=()=>{const t=C();let e;t.ontouchstart=t=>{e=oe(t)},t.ontouchmove=t=>{e&&(t.preventDefault(),t.stopPropagation())}},oe=t=>{const e=t.target,n=C();return!(ie(t)||ae(t)||e!==n&&(st(n)||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||st(D())&&D().contains(e)))},ie=t=>t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType,ae=t=>t.touches&&t.touches.length>1,se=t=>{const e=C(),r=M();"function"==typeof t.willOpen&&t.willOpen(r);const o=window.getComputedStyle(document.body).overflowY;pe(e,r,t),setTimeout((()=>{ce(e,r)}),10),Y()&&(ue(e,t.scrollbarPadding,o),n(document.body.children).forEach((t=>{t===C()||t.contains(C())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))),W()||pt.previousActiveElement||(pt.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout((()=>t.didOpen(r))),$(e,S["no-transition"])},le=t=>{const e=M();if(t.target!==e)return;const n=C();e.removeEventListener(bt,le),n.style.overflowY="auto"},ce=(t,e)=>{bt&<(e)?(t.style.overflowY="hidden",e.addEventListener(bt,le)):t.style.overflowY="auto"},ue=(t,e,n)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!X(document.body,S.iosfix)){const t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),J(document.body,S.iosfix),re(),ne()}})(),e&&"hidden"!==n&&ee(),setTimeout((()=>{t.scrollTop=0}))},pe=(t,e,n)=>{J(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),nt(e,"grid"),setTimeout((()=>{J(e,n.showClass.popup),e.style.removeProperty("opacity")}),10),J([document.documentElement,document.body],S.shown),n.heightAuto&&n.backdrop&&!n.toast&&J([document.documentElement,document.body],S["height-auto"])},de=t=>{let e=M();e||new En,e=M();const n=P();W()?rt(O()):fe(e,t),nt(n),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},fe=(t,e)=>{const n=R(),r=P();!e&&at(T())&&(e=T()),nt(n),e&&(rt(e),r.setAttribute("data-button-to-replace",e.className)),r.parentNode.insertBefore(r,e),J([t,n],S.loading)},he=t=>t.checked?1:0,ge=t=>t.checked?t.value:null,me=t=>t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null,ye=(t,e)=>{const n=M(),r=t=>be[e.input](n,xe(t),e);l(e.inputOptions)||u(e.inputOptions)?(de(T()),c(e.inputOptions).then((e=>{t.hideLoading(),r(e)}))):"object"==typeof e.inputOptions?r(e.inputOptions):o("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof e.inputOptions))},ve=(t,e)=>{const n=t.getInput();rt(n),c(e.inputValue).then((r=>{n.value="number"===e.input?parseFloat(r)||0:"".concat(r),nt(n),n.focus(),t.hideLoading()})).catch((e=>{o("Error in inputValue promise: ".concat(e)),n.value="",nt(n),n.focus(),t.hideLoading()}))},be={select:(t,e,n)=>{const r=tt(t,S.select),o=(t,e,r)=>{const o=document.createElement("option");o.value=r,K(o,e),o.selected=we(r,n.inputValue),t.appendChild(o)};e.forEach((t=>{const e=t[0],n=t[1];if(Array.isArray(n)){const t=document.createElement("optgroup");t.label=e,t.disabled=!1,r.appendChild(t),n.forEach((e=>o(t,e[1],e[0])))}else o(r,n,e)})),r.focus()},radio:(t,e,n)=>{const r=tt(t,S.radio);e.forEach((t=>{const e=t[0],o=t[1],i=document.createElement("input"),a=document.createElement("label");i.type="radio",i.name=S.radio,i.value=e,we(e,n.inputValue)&&(i.checked=!0);const s=document.createElement("span");K(s,o),s.className=S.label,a.appendChild(i),a.appendChild(s),r.appendChild(a)}));const o=r.querySelectorAll("input");o.length&&o[0].focus()}},xe=t=>{const e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(((t,n)=>{let r=t;"object"==typeof r&&(r=xe(r)),e.push([n,r])})):Object.keys(t).forEach((n=>{let r=t[n];"object"==typeof r&&(r=xe(r)),e.push([n,r])})),e},we=(t,e)=>e&&e.toString()===t.toString();function Se(){const t=kt.innerParams.get(this);if(!t)return;const e=kt.domCache.get(this);rt(e.loader),W()?t.icon&&nt(O()):ke(e),$([e.popup,e.actions],S.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const ke=t=>{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?nt(e[0],"inline-block"):!at(T())&&!at(N())&&!at(z())&&rt(t.actions)};var Ce={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const _e=()=>T()&&T().click(),Ee=t=>{t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1)},Me=(t,e,n)=>{const r=U();if(r.length)return(e+=n)===r.length?e=0:-1===e&&(e=r.length-1),r[e].focus();M().focus()},Oe=["ArrowRight","ArrowDown"],Ae=["ArrowLeft","ArrowUp"],De=(t,e,n)=>{const r=kt.innerParams.get(t);r&&(e.isComposing||229===e.keyCode||(r.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?je(t,e,r):"Tab"===e.key?Ie(e,r):[...Oe,...Ae].includes(e.key)?Le(e.key):"Escape"===e.key&&Te(e,r,n)))},je=(t,e,n)=>{if(s(n.allowEnterKey)&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;_e(),e.preventDefault()}},Ie=(t,e)=>{const n=t.target,r=U();let o=-1;for(let t=0;t{if(![T(),N(),z()].includes(document.activeElement))return;const e=Oe.includes(t)?"nextElementSibling":"previousElementSibling";let n=document.activeElement;for(let t=0;t{s(e.allowEscapeKey)&&(t.preventDefault(),n(Ht.esc))};function Ne(t,e,n,r){W()?Ue(t,r):(dt(n).then((()=>Ue(t,r))),Ee(pt)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),Y()&&(null!==V.previousBodyPadding&&(document.body.style.paddingRight="".concat(V.previousBodyPadding,"px"),V.previousBodyPadding=null),(()=>{if(X(document.body,S.iosfix)){const t=parseInt(document.body.style.top,10);$(document.body,S.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}})(),Ut()),$([document.documentElement,document.body],[S.shown,S["height-auto"],S["no-backdrop"],S["toast-shown"]])}function Pe(t){t=Be(t);const e=Ce.swalPromiseResolve.get(this),n=ze(this);this.isAwaitingPromise()?t.isDismissed||(Re(this),e(t)):n&&e(t)}const ze=t=>{const e=M();if(!e)return!1;const n=kt.innerParams.get(t);if(!n||X(e,n.hideClass.popup))return!1;$(e,n.showClass.popup),J(e,n.hideClass.popup);const r=C();return $(r,n.showClass.backdrop),J(r,n.hideClass.backdrop),Fe(t,e,n),!0};const Re=t=>{t.isAwaitingPromise()&&(kt.awaitingPromise.delete(t),kt.innerParams.get(t)||t._destroy())},Be=t=>void 0===t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),Fe=(t,e,n)=>{const r=C(),o=bt&<(e);"function"==typeof n.willClose&&n.willClose(e),o?He(t,e,r,n.returnFocus,n.didClose):Ne(t,r,n.returnFocus,n.didClose)},He=(t,e,n,r,o)=>{pt.swalCloseEventFinishedCallback=Ne.bind(null,t,n,r,o),e.addEventListener(bt,(function(t){t.target===e&&(pt.swalCloseEventFinishedCallback(),delete pt.swalCloseEventFinishedCallback)}))},Ue=(t,e)=>{setTimeout((()=>{"function"==typeof e&&e.bind(t.params)(),t._destroy()}))};function Ye(t,e,n){const r=kt.domCache.get(t);e.forEach((t=>{r[t].disabled=n}))}function We(t,e){if(!t)return!1;if("radio"===t.type){const n=t.parentNode.parentNode.querySelectorAll("input");for(let t=0;t{const e={};return Object.keys(t).forEach((n=>{m(n)?e[n]=t[n]:r('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))})),e};const Ke=t=>{Xe(t),delete t.params,delete pt.keydownHandler,delete pt.keydownTarget,delete pt.currentInstance},Xe=t=>{t.isAwaitingPromise()?(Ge(kt,t),kt.awaitingPromise.set(t,!0)):(Ge(Ce,t),Ge(kt,t))},Ge=(t,e)=>{for(const n in t)t[n].delete(e)};var qe=Object.freeze({hideLoading:Se,disableLoading:Se,getInput:function(t){const e=kt.innerParams.get(t||this),n=kt.domCache.get(t||this);return n?q(n.popup,e.input):null},close:Pe,isAwaitingPromise:function(){return!!kt.awaitingPromise.get(this)},rejectPromise:function(t){const e=Ce.swalPromiseReject.get(this);Re(this),e&&e(t)},handleAwaitingPromise:Re,closePopup:Pe,closeModal:Pe,closeToast:Pe,enableButtons:function(){Ye(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Ye(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return We(this.getInput(),!1)},disableInput:function(){return We(this.getInput(),!0)},showValidationMessage:function(t){const e=kt.domCache.get(this),n=kt.innerParams.get(this);K(e.validationMessage,t),e.validationMessage.className=S["validation-message"],n.customClass&&n.customClass.validationMessage&&J(e.validationMessage,n.customClass.validationMessage),nt(e.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",S["validation-message"]),Z(r),J(r,S.inputerror))},resetValidationMessage:function(){const t=kt.domCache.get(this);t.validationMessage&&rt(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),$(e,S.inputerror))},getProgressSteps:function(){return kt.domCache.get(this).progressSteps},update:function(t){const e=M(),n=kt.innerParams.get(this);if(!e||X(e,n.hideClass.popup))return r("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const o=Ve(t),i=Object.assign({},n,o);Ft(this,i),kt.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})},_destroy:function(){const t=kt.domCache.get(this),e=kt.innerParams.get(this);e?(t.popup&&pt.swalCloseEventFinishedCallback&&(pt.swalCloseEventFinishedCallback(),delete pt.swalCloseEventFinishedCallback),pt.deferDisposalTimer&&(clearTimeout(pt.deferDisposalTimer),delete pt.deferDisposalTimer),"function"==typeof e.didDestroy&&e.didDestroy(),Ke(this)):Xe(this)}});const Ze=(t,n)=>{const r=kt.innerParams.get(t);if(!r.input)return o('The "input" parameter is needed to be set when using returnInputValueOn'.concat(e(n)));const i=((t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return he(n);case"radio":return ge(n);case"file":return me(n);default:return e.inputAutoTrim?n.value.trim():n.value}})(t,r);r.inputValidator?Qe(t,i,n):t.getInput().checkValidity()?"deny"===n?Je(t,i):en(t,i):(t.enableButtons(),t.showValidationMessage(r.validationMessage))},Qe=(t,e,n)=>{const r=kt.innerParams.get(t);t.disableInput(),Promise.resolve().then((()=>c(r.inputValidator(e,r.validationMessage)))).then((r=>{t.enableButtons(),t.enableInput(),r?t.showValidationMessage(r):"deny"===n?Je(t,e):en(t,e)}))},Je=(t,e)=>{const n=kt.innerParams.get(t||void 0);n.showLoaderOnDeny&&de(N()),n.preDeny?(kt.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>c(n.preDeny(e,n.validationMessage)))).then((n=>{!1===n?(t.hideLoading(),Re(t)):t.closePopup({isDenied:!0,value:void 0===n?e:n})})).catch((e=>tn(t||void 0,e)))):t.closePopup({isDenied:!0,value:e})},$e=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},tn=(t,e)=>{t.rejectPromise(e)},en=(t,e)=>{const n=kt.innerParams.get(t||void 0);n.showLoaderOnConfirm&&de(),n.preConfirm?(t.resetValidationMessage(),kt.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>c(n.preConfirm(e,n.validationMessage)))).then((n=>{at(L())||!1===n?(t.hideLoading(),Re(t)):$e(t,void 0===n?e:n)})).catch((e=>tn(t||void 0,e)))):$e(t,e)},nn=(t,e,n)=>{e.popup.onclick=()=>{const e=kt.innerParams.get(t);e&&(rn(e)||e.timer||e.input)||n(Ht.close)}},rn=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let on=!1;const an=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(on=!0)}}},sn=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(on=!0)}}},ln=(t,e,n)=>{e.container.onclick=r=>{const o=kt.innerParams.get(t);on?on=!1:r.target===e.container&&s(o.allowOutsideClick)&&n(Ht.backdrop)}},cn=t=>t instanceof Element||(t=>"object"==typeof t&&t.jquery)(t);const un=()=>{if(pt.timeout)return(()=>{const t=F(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";const n=e/parseInt(window.getComputedStyle(t).width)*100;t.style.removeProperty("transition"),t.style.width="".concat(n,"%")})(),pt.timeout.stop()},pn=()=>{if(pt.timeout){const t=pt.timeout.start();return ct(t),t}};let dn=!1;const fn={};const hn=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const t in fn){const n=e.getAttribute(t);if(n)return void fn[t].fire({template:n})}};var gn=Object.freeze({isValidParameter:g,isUpdatableParameter:m,isDeprecatedParameter:y,argsToParams:t=>{const e={};return"object"!=typeof t[0]||cn(t[0])?["title","html","icon"].forEach(((n,r)=>{const i=t[r];"string"==typeof i||cn(i)?e[n]=i:void 0!==i&&o("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof i))})):Object.assign(e,t[0]),e},isVisible:()=>at(M()),clickConfirm:_e,clickDeny:()=>N()&&N().click(),clickCancel:()=>z()&&z().click(),getContainer:C,getPopup:M,getTitle:A,getHtmlContainer:D,getImage:j,getIcon:O,getInputLabel:()=>E(S["input-label"]),getCloseButton:H,getActions:R,getConfirmButton:T,getDenyButton:N,getCancelButton:z,getLoader:P,getFooter:B,getTimerProgressBar:F,getFocusableElements:U,getValidationMessage:L,isLoading:()=>M().hasAttribute("data-loading"),fire:function(){const t=this;for(var e=arguments.length,n=new Array(e),r=0;rpt.timeout&&pt.timeout.getTimerLeft(),stopTimer:un,resumeTimer:pn,toggleTimer:()=>{const t=pt.timeout;return t&&(t.running?un():pn())},increaseTimer:t=>{if(pt.timeout){const e=pt.timeout.increase(t);return ct(e,!0),e}},isTimerRunning:()=>pt.timeout&&pt.timeout.isRunning(),bindClickHandler:function(){fn[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,dn||(document.body.addEventListener("click",hn),dn=!0)}});let mn;class yn{constructor(){if("undefined"==typeof window)return;mn=this;for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};(t=>{!t.backdrop&&t.allowOutsideClick&&r('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)v(e),t.toast&&b(e),x(e)})(Object.assign({},e,t)),pt.currentInstance&&(pt.currentInstance._destroy(),Y()&&Ut()),pt.currentInstance=this;const n=bn(t,e);$t(n),Object.freeze(n),pt.timeout&&(pt.timeout.stop(),delete pt.timeout),clearTimeout(pt.restoreFocusTimeout);const o=xn(this);return Ft(this,n),kt.innerParams.set(this,n),vn(this,o,n)}then(t){return kt.promise.get(this).then(t)}finally(t){return kt.promise.get(this).finally(t)}}const vn=(t,e,n)=>new Promise(((r,o)=>{const i=e=>{t.closePopup({isDismissed:!0,dismiss:e})};Ce.swalPromiseResolve.set(t,r),Ce.swalPromiseReject.set(t,o),e.confirmButton.onclick=()=>(t=>{const e=kt.innerParams.get(t);t.disableButtons(),e.input?Ze(t,"confirm"):en(t,!0)})(t),e.denyButton.onclick=()=>(t=>{const e=kt.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?Ze(t,"deny"):Je(t,!1)})(t),e.cancelButton.onclick=()=>((t,e)=>{t.disableButtons(),e(Ht.cancel)})(t,i),e.closeButton.onclick=()=>i(Ht.close),((t,e,n)=>{kt.innerParams.get(t).toast?nn(t,e,n):(an(e),sn(e),ln(t,e,n))})(t,e,i),((t,e,n,r)=>{Ee(e),n.toast||(e.keydownHandler=e=>De(t,e,r),e.keydownTarget=n.keydownListenerCapture?window:M(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)})(t,pt,n,i),((t,e)=>{"select"===e.input||"radio"===e.input?ye(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(l(e.inputValue)||u(e.inputValue))&&(de(T()),ve(t,e))})(t,n),se(n),wn(pt,n,i),Sn(e,n),setTimeout((()=>{e.container.scrollTop=0}))})),bn=(t,e)=>{const n=(t=>{const e="string"==typeof t.template?document.querySelector(t.template):t.template;if(!e)return{};const n=e.content;return Zt(n),Object.assign(Wt(n),Vt(n),Kt(n),Xt(n),Gt(n),qt(n,Yt))})(t),r=Object.assign({},p,e,n,t);return r.showClass=Object.assign({},p.showClass,r.showClass),r.hideClass=Object.assign({},p.hideClass,r.hideClass),r},xn=t=>{const e={popup:M(),container:C(),actions:R(),confirmButton:T(),denyButton:N(),cancelButton:z(),loader:P(),closeButton:H(),validationMessage:L(),progressSteps:I()};return kt.domCache.set(t,e),e},wn=(t,e,n)=>{const r=F();rt(r),e.timer&&(t.timeout=new te((()=>{n("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(nt(r),G(r,e,"timerProgressBar"),setTimeout((()=>{t.timeout&&t.timeout.running&&ct(e.timer)}))))},Sn=(t,e)=>{if(!e.toast)return s(e.allowEnterKey)?void(kn(t,e)||Me(0,-1,1)):Cn()},kn=(t,e)=>e.focusDeny&&at(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&at(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!at(t.confirmButton)||(t.confirmButton.focus(),0)),Cn=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(yn.prototype,qe),Object.assign(yn,gn),Object.keys(qe).forEach((t=>{yn[t]=function(){if(mn)return mn[t](...arguments)}})),yn.DismissReason=Ht,yn.version="11.4.8";const En=yn;return En.default=En,En}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(t){n.innerText=e}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},1742:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;p+=2}},H=function(t,e){for(var n in e)if(typeof e[n]===l&&e[n].length>0){for(var r=0;r255?B(t,255):t,this},this.setUA(n),this};W.VERSION="0.7.31",W.BROWSER=P([p,h,"major"]),W.CPU=P([g]),W.DEVICE=P([u,f,d,m,y,b,v,x,w]),W.ENGINE=W.OS=P([p,h]),typeof e!==s?(t.exports&&(e=t.exports=W),e.UAParser=W):n.amdO?(r=function(){return W}.call(e,n,e,t))===i||(t.exports=r):typeof o!==s&&(o.UAParser=W);var V=typeof o!==s&&(o.jQuery||o.Zepto);if(V&&!V.ua){var K=new W;V.ua=K.getResult(),V.ua.get=function(){return K.getUA()},V.ua.set=function(t){K.setUA(t);var e=K.getResult();for(var n in e)V.ua[n]=e[n]}}}("object"==typeof window?window:this)},8922:function(t,e){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e=0||(o[n]=t[n]);return o}(t,["leaves"]);return new d(function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:d;return t.call(this,g(e))||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getKey=function(){return this.get("key")},i.getType=function(){return this.get("type")},i.getText=function(){return this.get("text")},i.getCharacterList=function(){return this.get("characterList")},i.getLength=function(){return this.getText().length},i.getDepth=function(){return this.get("depth")},i.getData=function(){return this.get("data")},i.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},i.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},i.getChildKeys=function(){return this.get("children")},i.getParentKey=function(){return this.get("parent")},i.getPrevSiblingKey=function(){return this.get("prevSibling")},i.getNextSiblingKey=function(){return this.get("nextSibling")},i.findStyleRanges=function(t,e){o(this.getCharacterList(),f,t,e)},i.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},r}(c(d));t.exports=m},7827:function(t,e,n){"use strict";function r(t){for(var e=1;e1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,n){return c.__create(t,e,n),this},s.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},s.addEntity=function(t){return c.__add(t),this},s.getEntity=function(t){return c.__get(t)},s.getAllEntities=function(){return c.__getAll()},s.loadWithEntities=function(t){return c.__loadWithEntities(t)},o.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new u:u.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:e||c,selectionBefore:a,selectionAfter:a})},o.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e),r=n.map((function(t){return t=g(t),new S({key:p(),text:t,type:"unstyled",characterList:m(v(a.EMPTY,t.length))})}));return o.createFromBlockArray(r)},o.fromJS=function(t){return new o(r({},t,{blockMap:x(t.blockMap).map(o.createContentBlockFromJS),selectionBefore:new u(t.selectionBefore),selectionAfter:new u(t.selectionAfter)}))},o.createContentBlockFromJS=function(t){var e=t.characterList;return new S(r({},t,{data:b(t.data),characterList:null!=e?m((Array.isArray(e)?e:d(e)).map((function(t){return a.fromJS(t)}))):void 0}))},o}(w);t.exports=k},4895:function(t,e,n){"use strict";var r=n(6435),o=n(8595).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),l=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),p=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===c})).concat(o([[c,a.get(c)]])).map((function(t,e){var o,a;s===c?(o=l,a=u):(o=e===s?l:0,a=e===c?u:t.getLength());for(var p,d=t.getCharacterList();o0&&window.scrollTo(i.x,i.y+r+10)}else b(n)||v(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&u.setTop(o,u.getTop(o)+r+10)}}}},S._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),i=this.props.tree.size-1,a=w(this.props.selection,n);return this.props.tree.map((function(u,p){var h=u.get("leaves");if(0===h.size)return null;var g=h.size-1,m=h.map((function(o,u){var d=l.encode(n,p,u),f=o.get("start"),h=o.get("end");return c.createElement(s,{key:d,offsetKey:d,block:e,start:f,selection:a?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(f,h),styleSet:e.getInlineStyleAt(f),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:p===i&&u===g})})).toArray(),y=u.get("decoratorKey");if(null==y)return m;if(!t.props.decorator)return m;var v=x(t.props.decorator),b=v.getComponentForKey(y);if(!b)return m;var w=v.getPropsForKey(y),S=l.encode(n,p,0),k=h.first().get("start"),C=h.last().get("end"),_=r.slice(k,C),E=e.getEntityAt(u.get("start")),M=f.getHTMLDirIfDifferent(d.getDirection(_),t.props.direction),O={contentState:t.props.contentState,decoratedText:_,dir:M,start:k,end:C,blockKey:n,entityKey:E,offsetKey:S};return c.createElement(b,o({},w,O,{key:S}),m)})).toArray()},S.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,o=h({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return c.createElement("div",{"data-offset-key":r,className:o,ref:function(e){return t._node=e}},this._renderChildren())},r}(c.Component);t.exports=S},654:function(t,e,n){"use strict";var r=n(5986);function o(){return o=r||function(t){for(var e=1;e0&&window.scrollTo(i.x,i.y+r+10)}else{v(n)||y(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&p.setTop(o,p.getTop(o)+r+10)}}}},m.render=function(){var t=this,e=this.props,n=e.block,i=e.blockRenderMap,s=e.blockRendererFn,p=e.blockStyleFn,d=e.contentState,f=e.decorator,h=e.editorKey,g=e.editorState,m=e.customStyleFn,y=e.customStyleMap,v=e.direction,k=e.forceSelection,C=e.selection,_=e.tree,E=null;n.children.size&&(E=n.children.reduce((function(e,n){var o=c.encode(n,0,0),l=d.getBlockForKey(n),f=w(l,s),m=f.CustomComponent||r,y=x(l,i),v=y.Element,b=y.wrapperTemplate,k=S(l,h,o,p,f,null),C=a({},t.props,{tree:g.getBlockTree(n),blockProps:f.customProps,offsetKey:o,block:l});return e.push(u.createElement(v,k,u.createElement(m,C))),!b||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(l,d)||function(t,e,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var p=s.value;if(p.type!==e)break;r.push(p)}}catch(t){i=!0,a=t}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var d=r.reverse(),f=d[0].key;n.push(u.cloneElement(t,{key:"".concat(f,"-wrap"),"data-offset-key":c.encode(f,0,0)},d))}(b,v,e),e}),[]));var M=n.getKey(),O=c.encode(M,0,0),A=w(n,s),D=A.CustomComponent,j=null!=D?u.createElement(D,o({},this.props,{tree:g.getBlockTree(M),blockProps:A.customProps,offsetKey:O,block:n})):u.createElement(l,{block:n,children:E,contentState:d,customStyleFn:m,customStyleMap:y,decorator:f,direction:v,forceSelection:k,hasSelection:b(C,M),selection:C,tree:_});if(n.getParentKey())return j;var I=x(n,i).Element,L=S(n,h,O,p,A,this.wrapperRef);return u.createElement(I,L,j)},r}(u.Component);t.exports=k},6530:function(t,e,n){"use strict";var r=n(6687),o=n(8245),i=n(271),a=n(185),s=n(5179),l=n(9059),c=n(8721),u=n(3189),p=n(9990),d=n(8979),f=n(4946),h=l.isBrowser("IE"),g=!1,m=!1,y=null,v={onCompositionStart:function(t){m=!0,function(t){y||(y=new r(u(t))).start()}(t)},onCompositionEnd:function(t){g=!1,m=!1,setTimeout((function(){g||v.resolveComposition(t)}),20)},onSelect:c,onKeyDown:function(t,e){if(!m)return v.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!m){var e=f(y).stopAndFlushMutations();y=null,g=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach((function(t,e){var s=i.decode(e),l=s.blockKey,c=s.decoratorKey,u=s.leafKey,p=n.getBlockTree(l).getIn([c,"leaves",u]),f=p.start,h=p.end,g=n.getSelection().merge({anchorKey:l,focusKey:l,anchorOffset:f,focusOffset:h,isBackward:!1}),m=d(r,g),y=r.getBlockForKey(l).getInlineStyleAt(f);r=o.replaceText(r,g,t,y,m),n=a.set(n,{currentContent:r})}));var s=p(n,u(t)).selectionState;t.restoreEditorDOM();var l=h?a.forceSelection(n,s):a.acceptSelection(n,s);t.update(a.push(l,r,"insert-characters"))}else t.update(n)}}};t.exports=v},4266:function(t,e,n){"use strict";var r=n(5986);function o(){return o=r||function(t){for(var e=1;e=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),l=e.getDecorator(),c=n.getDecorator();return o!==i||a!==s||l!==c||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,u=t.customStyleFn,h=t.editorState,g=t.editorKey,m=t.preventScroll,y=t.textDirectionality,v=h.getCurrentContent(),b=h.getSelection(),x=h.mustForceSelection(),w=h.getDecorator(),S=d(h.getDirectionMap()),k=v.getBlocksAsArray(),C=[],_=null,E=null,M=0;M_,N)));var Y=I||s,W={className:U,"data-block":!0,"data-editor":g,"data-offset-key":P,key:A};void 0!==T&&(W=i({},W,{contentEditable:T,suppressContentEditableWarning:!0}));var V=c.createElement(F,W,c.createElement(Y,o({},z,{key:A})));C.push({block:V,wrapperTemplate:B,key:A,offsetKey:P}),_=B?O.getDepth():null,E=B}for(var K=[],X=0;X0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(f,m)))return;l(m,(function(e){e&&t.update(g(u,f,e))}))}else{var y=t._internalDrag?"internal":"external";t.props.handleDrop&&p(t.props.handleDrop(f,n,y))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(u,f)):t.update(g(u,f,n.getText()))),h(t)}}}};function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:u(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function g(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=f},651:function(t,e,n){"use strict";var r=n(9059),o=n(7531),i=n(4241),a=n(619),s=n(3947),l=n(6548),c=n(2337),u=n(1367),p=n(693),d=n(5474),f=n(9958),h=n(5003),g=n(8721),m=r.isBrowser("Chrome"),y=r.isBrowser("Firefox"),v=m||y?g:function(t){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:l,onDragOver:c,onDragStart:u,onFocus:p,onInput:d,onKeyDown:f,onPaste:h,onSelect:g,onMouseUp:v,onKeyUp:v};t.exports=b},8:function(t,e,n){"use strict";var r=n(1850).unstable_flushControlled;t.exports=r},3975:function(t,e,n){"use strict";var r=n(5986);function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(5964),s=n(9196),l=n(3087),c=n(3517),u=n(7770).setDraftEditorSelection,p=function(t){var e,n;function p(){for(var e,n=arguments.length,r=new Array(n),a=0;a0)return" "+t}else if(e3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=f(t,e),i=h(o,e);return c(i,i.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,o,i,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),i=t.getBlockForKey(r),s=t.getBlockForKey(o);var l=e.getStartOffset(),c=e.getEndOffset(),u=i.getEntityAt(l),p=s.getEntityAt(c-1);if(r===o&&u&&u===p){var d=a(t.getEntityMap(),i,s,e,n);return h(t,d)}var g=f(t,e);return h(g,e)},splitBlock:function(t,e){var n=f(t,e),r=h(n,e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return d(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return d(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return d(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var r=f(t,e);return i(r,e,n)}};t.exports=y},271:function(t){"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};t.exports=n},767:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(762),i=n(2754),a=n(7545),s=n(6663),l=n(5504),c=n(8907),u=n(8595),p=n(533),d=u.List,f=u.Repeat,h=c("draft_tree_data_support"),g=h?i:o,m={processHTML:function(t,e){return a(t,l,e)},processText:function(t,e,n){return t.reduce((function(t,o,i){o=p(o);var a=s(),l={key:a,type:n,text:o,characterList:d(f(e,o.length))};if(h&&0!==i){var c=i-1;l=function(t){for(var e=1;e0)||(delete u.children,n.push(u));var l=i.children;Array.isArray(l)||a(!1),o=o.concat([].concat(l.reverse()))}var c,u}(e),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var o=s(t),a=t.depth||0,l=r({},t,{children:[]});if(o){var c=n[0];if(null==c&&0===a)e.push(l);else if(null==c||c.depth=a;)n.shift(),c=n[0];a>0?c.children.push(l):e.push(l)}}else e.push(l)})),r({},t,{blocks:e})}};t.exports=l},8793:function(t,e,n){"use strict";n(9830),t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===n})))return!1;var o=t.getPrevSiblingKey();if(null!=o&&e.get(o).getNextSiblingKey()!==n)return!1;var i=t.getNextSiblingKey();return(null==i||e.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),o=[];null!=r;){var i=t.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var l=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==l)return!1;r=l.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(n){return e.isValidBlock(n,t)}))&&this.isConnectedTree(t)}}},5266:function(t,e,n){"use strict";var r,o=n(878),i=n(8595),a=n(4946),s=i.OrderedMap,l={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),l=n.valueSeq().map((function(t){return a(r).getDirection(t.getText())})),c=s(n.keySeq().zip(l));return null!=e&&i.is(e,c)?e:c}};t.exports=l},185:function(t,e,n){"use strict";function r(t){for(var e=1;e0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):x(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r0?o.getInlineStyleAt(r-1):x(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return y(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),y(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new l({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var i=s.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),l=t.getCurrentContent(),c=t.getUndoStack(),u=n;a!==l.getSelectionAfter()||b(t,r)?(c=c.push(l),u=u.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(u=u.set("selectionBefore",l.getSelectionBefore()));var p=t.getInlineStyleOverride(),f=["adjust-depth","change-block-type","split-block"];-1===f.indexOf(r)&&(p=null);var h={currentContent:u,directionMap:i,undoStack:c,redoStack:d(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,h)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function y(t,e,n){return m.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(t,e){return t.getBlockMap().map((function(n){return i.generate(t,n,e)})).toOrderedMap()}function b(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function x(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):u()}t.exports=m},241:function(t,e,n){"use strict";var r=n(9059),o=n(996),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:o};t.exports=a},5587:function(){},3949:function(t,e,n){"use strict";var r=n(8245),o=n(185),i=n(8283),a=n(4946),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),l=n.merge({blockMap:a,selectionAfter:e});if(l!==n)return o.push(t,l,"remove-range")}var c=s.tryToRemoveBlockStyle(t);return c?o.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(8595).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},8283:function(t){"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat([[i,a.get(i)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},9926:function(t,e,n){"use strict";var r=n(6435);t.exports=function(t,e,n,o){for(var i=e,a=t.getCharacterList();i1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(N).some((function(n){t.classList.contains(n)&&(e=N[n])})),e},F=function(t){if(!x(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new p(e.href),!0}catch(t){return!1}},H=function(t){if(!k(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},U=function(t,e){if(!S(t))return e;var n=t,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return e.withMutations((function(t){j.indexOf(r)>=0?t.add("BOLD"):I.indexOf(r)>=0&&t.remove("BOLD"),"italic"===o?t.add("ITALIC"):"normal"===o&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},Y=function(t){return"ul"===t||"ol"===t},W=function(){function t(t,e){i(this,"characterList",y()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",u),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=y(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=u,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(C?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||f(),n=o({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:y(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=y(),this.currentBlockType="unstyled",this.currentText="",n},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r(n=void 0!==(r=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=y()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(M,"")).replace(E," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){w(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(k(t)){var n=t,r={};T.forEach((function(t){var e=n.getAttribute(t);e&&(r[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(x(t)){var r=t,o={};L.forEach((function(t){var e=r.getAttribute(t);e&&(o[t]=e)})),o.url=new p(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var i=t[r];i.parent=e,i.prevSibling=r>0?t[r-1].key:null,i.nextSibling=r1&&void 0!==arguments[1]?arguments[1]:h,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,r=e(t=t.trim().replace(_,"").replace(O," ").replace(A,"").replace(D,""));if(!r)return null;var o=z(n),i=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new W(o,i).addDOMNode(r).getContentBlocks()}},141:function(t,e,n){"use strict";function r(t){for(var e=1;e0})),o=v&&!n?c.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!v)return function(t,e){return w(t.map((function(t){var n=new i(S(t,e));return[n.getKey(),n]})))}(n?c.fromRawTreeStateToRawState(t).blocks:o,e);var s=function(t,e){return t.map(C).reduce((function(n,o,i){Array.isArray(o.children)||y(!1);var s=o.children.map(C),l=new a(r({},S(o,e),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:b(s.map((function(t){return t.key})))}));n=n.set(l.getKey(),l);for(var c=_([],s,l);c.length>0;){var u=c.pop(),p=u.parentRef,d=p.getChildKeys(),f=d.indexOf(u.key),h=Array.isArray(u.children);if(!h){h||y(!1);break}var g=u.children.map(C),m=new a(r({},S(u,e),{parent:p.getKey(),children:b(g.map((function(t){return t.key}))),prevSibling:0===f?null:d.get(f-1),nextSibling:f===d.size-1?null:d.get(f+1)}));n=n.set(m.getKey(),m),c=_(c,g,m)}return n}),w())}(o,e);return s}(t,e),o=n.isEmpty()?new u:u.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:o,selectionAfter:o})}},4206:function(t,e,n){"use strict";var r=n(6435),o=n(8595).List;t.exports=function(t,e){var n=t.map((function(t,n){var o=e[n];return r.create({style:t,entity:o})}));return o(n)}},8262:function(t,e,n){"use strict";var r=n(5471).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a=f?r.length:0),a=e.get("end"),s=a+(a>=f?r.length:0),l=n.get("start"),c=n.get("end"),u=n.get("decoratorKey");return e.get("decoratorKey")!==u||e.get("leaves").size!==n.get("leaves").size||i!==l||s!==c||null!=u&&c-l!=a-o}))}if(y||(g=r,y=p&&("'"==g||"/"==g)),y||(y=c(m.getDirectionMap()).get(h)!==c(n.getDirectionMap()).get(h)),y)return e.preventDefault(),m=o.set(m,{forceSelection:!0}),void t.update(m);m=o.set(m,{nativelyRenderedContent:m.getCurrentContent()}),t._pendingStateFromBeforeInput=m,u((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},4241:function(t,e,n){"use strict";var r=n(185),o=n(8203),i=n(7185);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var l=t._latestEditorState,c=l.getSelection();if(c.getHasFocus()){var u=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(l,u))}}},619:function(t,e,n){"use strict";var r=n(185);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},3947:function(t,e,n){"use strict";var r=n(8735);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},6548:function(t,e,n){"use strict";var r=n(8245),o=n(185),i=n(2600),a=n(8735),s=n(1249),l=n(7380);t.exports=function(t,e){var n,c=t._latestEditorState,u=c.getSelection(),p=e.target;if(u.isCollapsed())e.preventDefault();else{if(l(p)){var d=p;n=s(i.getScrollParent(d))}var f=a(c);t.setClipboard(f),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(c))}),0)}}},2337:function(t){"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},1367:function(t){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},693:function(t,e,n){"use strict";var r=n(185),o=n(9059);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},5474:function(t,e,n){"use strict";var r=n(8245),o=n(271),i=n(185),a=n(9059),s=n(7397).notEmptyKey,l=n(9183),c=n(6661),u=n(4946),p=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,d=n.isCollapsed,f=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!f){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var m=a.textContent,y=t._latestEditorState,v=u(l(a)),b=o.decode(v),x=b.blockKey,w=b.decoratorKey,S=b.leafKey,k=y.getBlockTree(x).getIn([w,"leaves",S]),C=k.start,_=k.end,E=y.getCurrentContent(),M=E.getBlockForKey(x),O=M.getText().slice(C,_);if(m.endsWith("\n\n")&&(m=m.slice(0,-1)),m!==O){var A,D,j,I,L=y.getSelection(),T=L.merge({anchorOffset:C,focusOffset:_,isBackward:!1}),N=M.getEntityAt(C),P=s(N)?E.getEntity(N):null,z="MUTABLE"===(null!=P?P.getMutability():null),R=z?"spellcheck-change":"apply-entity",B=r.replaceText(E,T,m,M.getInlineStyleAt(C),z?M.getEntityAt(C):null);if(p)A=n.anchorOffset,D=n.focusOffset,I=(j=C+Math.min(A,D))+Math.abs(A-D),A=j,D=I;else{var F=m.length-O.length;j=L.getStartOffset(),I=L.getEndOffset(),A=d?I+F:j,D=I+F}var H=B.merge({selectionBefore:E.getSelectionAfter(),selectionAfter:L.merge({anchorOffset:A,focusOffset:D})});t.update(i.push(y,H,R))}else{var U=e.nativeEvent.inputType;if(U){var Y=function(t,e){return"deleteContentBackward"===t?c(e):e}(U,y);if(Y!==y)return t.restoreEditorDOM(),void t.update(Y)}}}}},9958:function(t,e,n){"use strict";var r=n(8245),o=n(185),i=n(241),a=n(5179),s=n(4994),l=n(9059),c=n(4479),u=n(1602),p=n(6971),d=n(2815),f=n(7003),h=n(18),g=n(7789),m=n(6661),y=n(7972),v=n(9773),b=n(2813),x=i.isOptionKeyCommand,w=l.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;function l(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,i)))return;break;case a.ESC:if(e.preventDefault(),l("onEscape"))return;break;case a.TAB:if(l("onTab"))return;break;case a.UP:if(l("onUpArrow"))return;break;case a.RIGHT:if(l("onRightArrow"))return;break;case a.DOWN:if(l("onDownArrow"))return;break;case a.LEFT:if(l("onLeftArrow"))return;break;case a.SPACE:w&&x(e)&&e.preventDefault()}var S=t.props.keyBindingFn(e);if(null!=S&&""!==S)if("undo"!==S){if(e.preventDefault(),!t.props.handleKeyCommand||!c(t.props.handleKeyCommand(S,i,e.timeStamp))){var k=function(t,e,n){switch(t){case"redo":return o.redo(e);case"delete":return y(e);case"delete-word":return d(e);case"backspace":return m(e);case"backspace-word":return p(e);case"backspace-to-start-of-line":return u(e,n);case"split-block":return f(e);case"transpose-characters":return v(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(S,i,e);k!==i&&t.update(k)}}else b(e,i,t.update);else if(n===a.SPACE&&w&&x(e)){var C=r.replaceText(i.getCurrentContent(),i.getSelection()," ");t.update(o.push(i,C,"insert-characters"))}}},5003:function(t,e,n){"use strict";var r=n(4445),o=n(6435),i=n(1792),a=n(8245),s=n(767),l=n(185),c=n(3949),u=n(8979),p=n(8539),d=n(4479),f=n(161);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return l.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),m=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&d(t.props.handlePastedFiles(g)))return;return void p(g,(function(e){if(e=e||m){var n=t._latestEditorState,i=f(e),p=o.create({style:n.getCurrentInlineStyle(),entity:u(n.getCurrentContent(),n.getSelection())}),d=c.getCurrentBlockType(n),h=s.processText(i,p,d),g=r.createFromArray(h),y=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(l.push(n,y,"insert-fragment"))}}))}}var y=[],v=n.getText(),b=n.getHTML(),x=t._latestEditorState;if(t.props.formatPastedText){var w=t.props.formatPastedText(v,b);v=w.text,b=w.html}if(!t.props.handlePastedText||!d(t.props.handlePastedText(v,b,x))){if(v&&(y=f(v)),!t.props.stripPastedStyles){var S,k=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&k){if(-1!==(null===(S=b)||void 0===S?void 0:S.indexOf(t.getEditorKey()))||1===y.length&&1===k.size&&k.first().getText()===v)return void t.update(h(t._latestEditorState,k))}else if(k&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(y,k))return void t.update(h(t._latestEditorState,k));if(b){var C=s.processHTML(b,t.props.blockRenderMap);if(C){var _=C.contentBlocks,E=C.entityMap;if(_){var M=r.createFromArray(_);return void t.update(h(t._latestEditorState,M,E))}}}t.setClipboard(null)}if(y.length){var O=o.create({style:x.getCurrentInlineStyle(),entity:u(x.getCurrentContent(),x.getSelection())}),A=c.getCurrentBlockType(x),D=s.processText(y,O,A),j=r.createFromArray(D);t.update(h(t._latestEditorState,j))}}}},8721:function(t,e,n){"use strict";var r=n(7062),o=n(185),i=n(3189),a=n(9990);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,s=a(n,i(t)),l=s.selectionState;l!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,l):o.acceptSelection(n,l),t.update(n))}}},9583:function(t,e,n){"use strict";var r=n(7773),o=n(5471).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(i,a){var s=t.getText(),l=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(l)])})})),n}},7392:function(t,e,n){"use strict";var r=n(5471),o=n(4793),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var s=[],l=e.map((function(t){return t.has(n)})).toList();return o(l,i,a,(function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})})),s}(t,e,n)}));return Array.prototype.concat.apply(s,n.toJS())}},7925:function(t,e,n){"use strict";var r=n(5471),o=n(6737),i=n(6549),a=n(3087);function s(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a=0;h--)if(!(null!=f&&h>0&&r.isSurrogatePair(f,h-1))){if(t.setStart(p,h),!s(i(t),n))break;c=p,u=h}if(-1===h||0===p.childNodes.length)break;d=l(p=p.childNodes[h])}return t.setStart(c,u),t}},9183:function(t,e,n){"use strict";var r=n(6737),o=n(2812);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}},4793:function(t){"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce((function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i})),n(t.last())&&r(o,t.count())}}},6663:function(t){"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},2258:function(t,e,n){"use strict";var r=n(9421),o=n(8149),i=n(3087);function a(t,e,n,a,s,l,c){var u=n.getStartOffset(),p=n.getEndOffset(),d=t.__get(s).getMutability(),f=c?u:p;if("MUTABLE"===d)return n;var h=o(e,s).filter((function(t){return f<=t.end&&f>=t.start}));1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});l||(c?p=g.end:u=g.start);var m=r.getRemovalRange(u,p,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),l=e.getEntityAt(i),c=n.getEntityAt(s-1);if(!l&&!c)return r;var u=r;if(l&&l===c)u=a(t,e,u,o,l,!0,!0);else if(l&&c){var p=a(t,e,u,o,l,!1,!0),d=a(t,n,u,o,c,!1,!1);u=u.merge({anchorOffset:p.getAnchorOffset(),focusOffset:d.getFocusOffset(),isBackward:!1})}else if(l){var f=a(t,e,u,o,l,!1,!0);u=u.merge({anchorOffset:f.getStartOffset(),isBackward:!1})}else if(c){var h=a(t,n,u,o,c,!1,!1);u=u.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return u}},3189:function(t,e,n){"use strict";var r=n(3087),o=n(4820);t.exports=function(t){var e=t.editorContainer;return e||r(!1),o(e.firstChild)||r(!1),e.firstChild}},4756:function(t,e,n){"use strict";var r=n(5208),o=n(139);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),l=o(t,e).getBlockMap(),c=l.keySeq(),u=c.indexOf(n),p=c.indexOf(a)+1;return r(l.slice(u,p).map((function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t})))}},6737:function(t){"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},3036:function(t,e,n){"use strict";var r=n(241),o=n(5179),i=n(9059),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),l=r.hasCommandModifier,c=r.isCtrlKeyCommand;function u(t){return a&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return l(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return l(t)?"italic":null;case 74:return l(t)?"code":null;case 75:return a&&c(t)?"secondary-cut":null;case 77:case 79:return c(t)?"split-block":null;case 84:return a&&c(t)?"transpose-characters":null;case 85:return l(t)?"underline":null;case 87:return a&&c(t)?"backspace-word":null;case 89:return c(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return l(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return!a&&t.shiftKey?null:u(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return l(t)&&a?"backspace-to-start-of-line":u(t)?"backspace-word":"backspace"}(t);case o.LEFT:return s&&l(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&l(t)?"move-selection-to-end-of-block":null;default:return null}}},9990:function(t,e,n){"use strict";var r=n(1177);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,o,i,a,s)}},1177:function(t,e,n){"use strict";var r=n(9183),o=n(2812),i=n(103),a=n(3087),s=n(3325),l=n(4946);function c(t,e,n){var i=e,c=r(i);if(null!=c||t&&(t===i||t.firstChild===i)||a(!1),t===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var p=null;if(null!=c)p=c;else{var d=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);p=l(o(d))}return{key:p,offset:0}}var f=i.childNodes[n-1],h=null,g=null;if(o(f)){var m=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(f);h=l(o(m)),g=u(m)}else h=l(c),g=u(f);return{key:h,offset:g}}function u(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,s){var u=n.nodeType===Node.TEXT_NODE,p=a.nodeType===Node.TEXT_NODE;if(u&&p)return{selectionState:i(t,l(r(n)),o,l(r(a)),s),needsRecovery:!1};var d=null,f=null,h=!0;return u?(d={key:l(r(n)),offset:o},f=c(e,a,s)):p?(f={key:l(r(a)),offset:s},d=c(e,n,o)):(d=c(e,n,o),f=c(e,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,d.key,d.offset,f.key,f.offset),needsRecovery:h}}},8979:function(t,e,n){"use strict";var r=n(7397).notEmptyKey;function o(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1))!==t.getBlockForKey(r).getEntityAt(i)?null:o(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),l=t.getBlockForKey(a);return n=s===l.getLength()?null:l.getEntityAt(s),o(t.getEntityMap(),n)}},8735:function(t,e,n){"use strict";var r=n(4756);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},4367:function(t,e,n){"use strict";var r=n(2754);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},8796:function(t){"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},311:function(t,e,n){"use strict";var r=n(6549);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var l=e[0];n=l.top,o=l.right,i=l.bottom,a=l.left}for(var c=1;c6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",l=n.get(o),c=l.getText(),u=l.getCharacterList(),p=o,d=i+r.getText().length,f=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":f=r.getData().merge(l.getData());break;case"REPLACE_WITH_NEW_DATA":f=r.getData()}var h=l.getType();c&&"unstyled"===h&&(h=r.getType());var g=l.merge({text:c.slice(0,i)+r.getText()+c.slice(i),characterList:a(u,r.getCharacterList(),i),type:h,data:f});return t.merge({blockMap:n.set(o,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:d,focusKey:p,focusOffset:d,isBackward:!1})})},p=function(t,e,n,i,a,s){var l=n.first()instanceof o,u=[],p=i.size,d=n.get(a),f=i.first(),h=i.last(),g=h.getLength(),m=h.getKey(),y=l&&(!d.getChildKeys().isEmpty()||!f.getChildKeys().isEmpty());n.forEach((function(t,e){e===a?(y?u.push(t):u.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(y?0:1,p-1).forEach((function(t){return u.push(t)})),u.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),l=n.last();return l.merge({text:l.getText()+a,characterList:l.getCharacterList().concat(s),data:l.getData()})}(t,s,i))):u.push(t)}));var v=r.createFromArray(u);return l&&(v=function(t,e,n,r){return t.withMutations((function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),l=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),u=l[l.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([u,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],u),l.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var p=t.get(s).getChildKeys(),d=p.indexOf(o)+1,f=p.toArray();f.splice.apply(f,[d,0].concat(l)),e.setIn([s,"children"],c(f))}}))}(v,0,d,f)),t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:m,anchorOffset:g,focusKey:m,focusOffset:g,isBackward:!1})})};t.exports=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var i=t.getBlockMap(),a=l(n),c=e.getStartKey(),d=e.getStartOffset(),f=i.get(c);return f instanceof o&&(f.getChildKeys().isEmpty()||s(!1)),1===a.size?u(t,e,i,a.first(),c,d,r):p(t,e,i,a,c,d)}},8325:function(t){"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach((function(t){r=r.push(t)}));else if(0===n)e.reverse().forEach((function(t){r=r.unshift(t)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(e,i).toList()}return r}},4709:function(t,e,n){"use strict";var r=n(8595),o=n(8325),i=n(3087),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return t;var l=t.getBlockMap(),c=e.getStartKey(),u=e.getStartOffset(),p=l.get(c),d=p.getText(),f=p.merge({text:d.slice(0,u)+n+d.slice(u,p.getLength()),characterList:o(p.getCharacterList(),a(r,s).toList(),u)}),h=u+s;return t.merge({blockMap:l.set(c,f),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},3325:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},4479:function(t){"use strict";t.exports=function(t){return"handled"===t||!0===t}},1092:function(t,e,n){"use strict";var r=n(3325);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"A"===t.nodeName}},3517:function(t,e,n){"use strict";var r=n(3325);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"BR"===t.nodeName}},4820:function(t){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},5928:function(t,e,n){"use strict";var r=n(3325);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"IMG"===t.nodeName}},7380:function(t){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},5130:function(t){"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some((function(t){return o===t.get("start")?(i=!0,!0):oi){var l=r.getKeyBefore(o);null==l?a=o:(a=l,s=r.getBlockForKey(l).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},5929:function(t,e,n){"use strict";n(9830),t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},5208:function(t,e,n){"use strict";var r=n(2754),o=n(6663),i=n(8595).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return i(t.withMutations((function(t){t.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),l=r.getPrevSiblingKey(),c=r.getChildKeys(),u=r.getParentKey(),p=o();if(n[a]=p,s&&(t.get(s)?t.setIn([s,"prevSibling"],p):t.setIn([a,"nextSibling"],null)),l&&(t.get(l)?t.setIn([l,"nextSibling"],p):t.setIn([a,"prevSibling"],null)),u&&t.get(u)){var d=t.get(u).getChildKeys();t.setIn([u,"children"],d.set(d.indexOf(r.getKey()),p))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],p),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);c.forEach((function(e){t.get(e)?t.setIn([e,"parent"],p):t.setIn([a,"children"],r.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return i(t.toArray().map((function(t){var e=o();return[e,t.set("key",e)]})))}(t)}},139:function(t,e,n){"use strict";var r=n(6435),o=n(4793),i=n(3087);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,l=n=n&&(r={start:t,end:e})})),"object"!=typeof r&&i(!1),r}(a,u,n),f=d.start,h=d.end;fe;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}(g.getCharacterList(),d,h):g.getCharacterList().slice(0,d).concat(m.getCharacterList().slice(h));var w=g.merge({text:g.getText().slice(0,d)+m.getText().slice(h),characterList:n}),S=y&&0===d&&0===h&&m.getParentKey()===p&&null==m.getPrevSiblingKey()?a([[p,null]]):i.toSeq().skipUntil((function(t,e){return e===p})).takeUntil((function(t,e){return e===f})).filter((function(t,e){return-1===v.indexOf(e)})).concat(a([[f,null]])).map((function(t,e){return e===p?w:null})),k=i.merge(S).filter((function(t){return!!t}));return y&&g!==m&&(k=function(t,e,n,r){return t.withMutations((function(i){if(s(e.getKey(),i,(function(t){return t.merge({nextSibling:c(t,i,r),prevSibling:u(t,i,r)})})),s(n.getKey(),i,(function(t){return t.merge({nextSibling:c(t,i,r),prevSibling:u(t,i,r)})})),l(e.getKey(),r).forEach((function(t){return s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:c(t,i,r),prevSibling:u(t,i,r)})}))})),s(e.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:c(t,i,r)})})),s(n.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:u(t,i,r)})})),s(n.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),l(n.getKey(),r).forEach((function(t){s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:c(t,i,r),prevSibling:u(t,i,r)})}))})),function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n}(n,r).forEach((function(t){return s(t,i,(function(t){return t.merge({nextSibling:c(t,i,r),prevSibling:u(t,i,r)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(n.getKey(),i,(function(t){return t.merge({prevSibling:a})})),s(a,i,(function(t){return t.merge({nextSibling:n.getKey()})}));var p=a?t.get(a):null,d=p?p.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,i,(function(t){return t.merge({parent:d})}))})),null!=d){var f=t.get(d);s(d,i,(function(t){return t.merge({children:f.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),i,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(k,g,m,i)),t.merge({blockMap:k,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:d,focusKey:p,focusOffset:d,isBackward:!1})})}},7415:function(t,e,n){"use strict";var r=n(8245),o=n(8907)("draft_tree_data_support");t.exports=function(t,e,n){var i=t.getSelection(),a=t.getCurrentContent(),s=i,l=i.getAnchorKey(),c=i.getFocusKey(),u=a.getBlockForKey(l);if(o&&"forward"===n&&l!==c)return a;if(i.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(l).getLength()){var p=a.getBlockForKey(u.nextSibling);if(!p||0===p.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===i)return a}return r.removeRange(a,s,n)}},533:function(t){"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},7770:function(t,e,n){"use strict";var r=n(9780),o=n(7062),i=n(9059),a=n(8203),s=n(7185),l=n(6737),c=n(3087),u=n(3325),p=i.isBrowser("IE");function d(t,e){if(!t)return"[empty]";var n=f(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(u(n)||c(!1),n.outerHTML)}function f(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return l(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=t.childNodes,a=0;ag(e)&&o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var l=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:l,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,n),t.addRange(c.cloneRange())}}function y(t,e,n,i){var a=l(e).createRange();if(n>g(e)&&(o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),p)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,o){var i=l(e);if(a(i.documentElement,e)){var s=i.defaultView.getSelection(),c=t.getAnchorKey(),u=t.getAnchorOffset(),p=t.getFocusKey(),d=t.getFocusOffset(),f=t.getIsBackward();if(!s.extend&&f){var h=c,g=u;c=p,u=d,p=h,d=g,f=!1}var v=c===n&&r<=u&&o>=u,b=p===n&&r<=d&&o>=d;if(v&&b)return s.removeAllRanges(),y(s,e,u-r,t),void m(s,e,d-r,t);if(f){if(b&&(s.removeAllRanges(),y(s,e,d-r,t)),v){var x=s.focusNode,w=s.focusOffset;s.removeAllRanges(),y(s,e,u-r,t),m(s,x,w,t)}}else v&&(s.removeAllRanges(),y(s,e,u-r,t)),b&&m(s,e,d-r,t)}},addFocusToSelection:m}},713:function(t,e,n){"use strict";var r=n(2754),o=n(6663),i=n(8595),a=n(3087),s=n(2362),l=i.List,c=i.Map,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=t.getBlockMap(),p=i.get(n),d=p.getText();if(!d){var f=p.getType();if("unordered-list-item"===f||"ordered-list-item"===f)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var h=e.getAnchorOffset(),g=p.getCharacterList(),m=o(),y=p instanceof r,v=p.merge({text:d.slice(0,h),characterList:g.slice(0,h)}),b=v.merge({key:m,text:d.slice(h),characterList:g.slice(h),data:c()}),x=i.toSeq().takeUntil((function(t){return t===p})),w=i.toSeq().skipUntil((function(t){return t===p})).rest(),S=x.concat([[n,v],[m,b]],w).toOrderedMap();return y&&(p.getChildKeys().isEmpty()||a(!1),S=function(t,e,n){return t.withMutations((function(t){var r=e.getKey(),o=n.getKey();u(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:l(i)})})),u(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:o})})),u(r,t,(function(t){return t.merge({nextSibling:o})})),u(o,t,(function(t){return t.merge({prevSibling:r})}))}))}(S,v,b)),t.merge({blockMap:S,selectionBefore:e,selectionAfter:e.merge({anchorKey:m,anchorOffset:0,focusKey:m,focusOffset:0,isBackward:!1})})}},161:function(t){"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},7081:function(t){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},8595:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:U(t)}function r(t){return s(t)?t:Y(t)}function o(t){return l(t)?t:W(t)}function i(t){return a(t)&&!c(t)?t:V(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[d])}function l(t){return!(!t||!t[f])}function c(t){return s(t)||l(t)}function u(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=l,n.isAssociative=c,n.isOrdered=u,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",f="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g=32,m=31,y={},v={value:!1},b={value:!1};function x(t){return t.value=!1,t}function w(t){t&&(t.value=!0)}function S(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?C(t)+e:e}function E(){return!0}function M(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function O(t,e){return D(t,e,0)}function A(t,e){return D(t,e,e)}function D(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var j="function"==typeof Symbol&&Symbol.iterator,I="@@iterator",L=j||I;function T(t){this.next=t}function N(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function P(){return{value:void 0,done:!0}}function z(t){return!!F(t)}function R(t){return t&&"function"==typeof t.next}function B(t){var e=F(t);return e&&e.call(t)}function F(t){var e=t&&(j&&t[j]||t["@@iterator"]);if("function"==typeof e)return e}function H(t){return t&&"number"==typeof t.length}function U(t){return null==t?et():a(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new Q(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Y(t){return null==t?et().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():nt(t)}function W(t){return null==t?et():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():rt(t)}function V(t){return(null==t?et():a(t)?s(t)?t.entrySeq():t:rt(t)).toSetSeq()}T.prototype.toString=function(){return"[Iterator]"},T.KEYS=0,T.VALUES=1,T.ENTRIES=2,T.prototype.inspect=T.prototype.toSource=function(){return this.toString()},T.prototype[L]=function(){return this},e(U,n),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(t,e){return it(this,t,e,!0)},U.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(Y,U),Y.prototype.toKeyedSeq=function(){return this},e(W,U),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(t,e){return it(this,t,e,!1)},W.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(V,U),V.of=function(){return V(arguments)},V.prototype.toSetSeq=function(){return this},U.isSeq=tt,U.Keyed=Y,U.Set=V,U.Indexed=W;var K,X,G,q="@@__IMMUTABLE_SEQ__@@";function Z(t){this._array=t,this.size=t.length}function Q(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function J(t){this._iterable=t,this.size=t.length||t.size}function $(t){this._iterator=t,this._iteratorCache=[]}function tt(t){return!(!t||!t[q])}function et(){return K||(K=new Z([]))}function nt(t){var e=Array.isArray(t)?new Z(t).fromEntrySeq():R(t)?new $(t).fromEntrySeq():z(t)?new J(t).fromEntrySeq():"object"==typeof t?new Q(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function rt(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return H(t)?new Z(t):R(t)?new $(t):z(t)?new J(t):void 0}function it(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function at(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new T((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:N(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function st(t,e){return e?lt(e,t,"",{"":t}):ct(t)}function lt(t,e,n,r){return Array.isArray(e)?t.call(r,n,W(e).map((function(n,r){return lt(t,n,r,e)}))):ut(e)?t.call(r,n,Y(e).map((function(n,r){return lt(t,n,r,e)}))):e}function ct(t){return Array.isArray(t)?W(t).map(ct).toList():ut(t)?Y(t).map(ct).toMap():t}function ut(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function dt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||l(t)!==l(e)||u(t)!==u(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(u(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&pt(o[1],t)&&(n||pt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,d=e.__iterate((function(e,r){if(n?!t.has(e):o?!pt(e,t.get(r,y)):!pt(t.get(r,y),e))return p=!1,!1}));return p&&t.size===d}function ft(t,e){if(!(this instanceof ft))return new ft(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function ht(t,e){if(!t)throw new Error(e)}function gt(t,e,n){if(!(this instanceof gt))return new gt(t,e,n);if(ht(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),er?{value:void 0,done:!0}:N(t,o,n[e?r-o++:o++])}))},e(Q,Y),Q.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},Q.prototype.has=function(t){return this._object.hasOwnProperty(t)},Q.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},Q.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new T((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:N(t,a,n[a])}))},Q.prototype[h]=!0,e(J,W),J.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=B(this._iterable),r=0;if(R(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},J.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=B(this._iterable);if(!R(n))return new T(P);var r=0;return new T((function(){var e=n.next();return e.done?e:N(t,r++,e.value)}))},e($,W),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return N(t,o,r[o++])}))},e(ft,W),ft.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ft.prototype.get=function(t,e){return this.has(t)?this._value:e},ft.prototype.includes=function(t){return pt(this._value,t)},ft.prototype.slice=function(t,e){var n=this.size;return M(t,e,n)?this:new ft(this._value,A(e,n)-O(t,n))},ft.prototype.reverse=function(){return this},ft.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},ft.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},ft.prototype.__iterate=function(t,e){for(var n=0;n1?" by "+this._step:"")+" ]"},gt.prototype.get=function(t,e){return this.has(t)?this._start+_(this,t)*this._step:e},gt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e=0&&nn?{value:void 0,done:!0}:N(t,i++,a)}))},gt.prototype.equals=function(t){return t instanceof gt?this._start===t._start&&this._end===t._end&&this._step===t._step:dt(this,t)},e(mt,n),e(yt,mt),e(vt,mt),e(bt,mt),mt.Keyed=yt,mt.Indexed=vt,mt.Set=bt;var xt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function wt(t){return t>>>1&1073741824|3221225471&t}function St(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return wt(n)}if("string"===e)return t.length>Dt?function(t){var e=Lt[t];return void 0===e&&(e=kt(t),It===jt&&(It=0,Lt={}),It++,Lt[t]=e),e}(t):kt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Mt&&void 0!==(e=Et.get(t)))return e;if(void 0!==(e=t[At]))return e;if(!_t){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[At]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Ot,1073741824&Ot&&(Ot=0),Mt)Et.set(t,e);else{if(void 0!==Ct&&!1===Ct(t))throw new Error("Non-extensible objects are not allowed as keys.");if(_t)Object.defineProperty(t,At,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[At]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[At]=e}}return e}(t);if("function"==typeof t.toString)return kt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function kt(t){for(var e=0,n=0;n>>n)&m,s=(0===n?r:r>>>n)&m;return new Ht(e,1<>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function ae(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}Bt[Rt]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Ft.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i=se)return function(t,e,n,r){t||(t=new S);for(var o=new Wt(t,St(n),[n,r]),i=0;i>>t)&m),i=this.bitmap;return 0==(i&o)?r:this.nodes[ie(i&o-1)].get(t+5,e,n,r)},Ht.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&m,l=1<=le)return function(t,e,n,r,o){for(var i=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Ut(t,i+1,a)}(t,d,c,s,h);if(u&&!h&&2===d.length&&Jt(d[1^p]))return d[1^p];if(u&&h&&1===d.length&&Jt(h))return h;var v=t&&t===this.ownerID,b=u?h?c:c^l:c|l,x=u?h?ae(d,p,h,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a>>t)&m,i=this.nodes[o];return i?i.get(t+5,e,n,r):r},Ut.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=St(r));var s=(0===e?n:n>>>e)&m,l=o===y,c=this.nodes,u=c[s];if(l&&!u)return this;var p=Qt(u,t,e+5,n,r,o,i,a);if(p===u)return this;var d=this.count;if(u){if(!p&&--d0&&r=0&&t=t.size||e<0)return t.withMutations((function(t){e<0?Ce(t,e).set(0,n):Ce(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=x(b);return e>=Ee(t._capacity)?r=we(r,t.__ownerID,0,e,n,i):o=we(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):be(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},ue.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ue.prototype.insert=function(t,e){return this.splice(t,0,e)},ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):xe()},ue.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Ce(n,0,e+t.length);for(var r=0;r>>e&m;if(r>=this.array.length)return new he([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-5,n))===a&&i)return this}if(i&&!o)return this;var s=Se(this,t);if(!i)for(var l=0;l>>e&m;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-5,n))===i&&o===this.array.length-1)return this}var a=Se(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var ge,me,ye={};function ve(t,e){var n=t._origin,r=t._capacity,o=Ee(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,l){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,l=a>n?0:n-a,c=r-a;return c>g&&(c=g),function(){if(l===c)return ye;var t=e?--c:l++;return s&&s[t]}}(t,l):function(t,o,i){var s,l=t&&t.array,c=i>n?0:n-i>>o,u=1+(r-i>>o);return u>g&&(u=g),function(){for(;;){if(s){var t=s();if(t!==ye)return t;s=null}if(c===u)return ye;var n=e?--u:c++;s=a(l&&l[n],o-5,i+(n<>>n&m,l=t&&s0){var c=t&&t.array[s],u=we(c,e,n-5,r,o,i);return u===c?t:((a=Se(t,e)).array[s]=u,a)}return l&&t.array[s]===o?t:(w(i),a=Se(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Se(t,e){return e&&t&&e===t.ownerID?t:new he(t?t.array.slice():[],e)}function ke(t,e){if(e>=Ee(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&m],r-=5;return n}}function Ce(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var l=t._level,c=t._root,u=0;a+u<0;)c=new he(c&&c.array.length?[void 0,c]:[],r),u+=1<<(l+=5);u&&(a+=u,o+=u,s+=u,i+=u);for(var p=Ee(i),d=Ee(s);d>=1<p?new he([],r):f;if(f&&d>p&&a5;y-=5){var v=p>>>y&m;g=g.array[v]=Se(g.array[v],r)}g.array[p>>>5&m]=f}if(s=d)a-=d,s-=d,l=5,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||d>>l&m;if(b!==d>>>l&m)break;b&&(u+=(1<o&&(c=c.removeBefore(r,l,a-u)),c&&di&&(i=c.size),a(l)||(c=c.map((function(t){return st(t)}))),r.push(c)}return i>t.size&&(t=t.setSize(i)),re(t,e,r)}function Ee(t){return t>>5<<5}function Me(t){return null==t?De():Oe(t)?t:De().withMutations((function(e){var n=r(t);Tt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Oe(t){return Pt(t)&&u(t)}function Ae(t,e,n,r){var o=Object.create(Me.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function De(){return me||(me=Ae(qt(),xe()))}function je(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),l=void 0!==s;if(n===y){if(!l)return t;a.size>=g&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Ie(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Le(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Pe(t){var e=Je(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=$e,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new T((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function ze(t,e,n){var r=Je(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,y);return i===y?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(2,o);return new T((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return N(r,s,e.call(n,a[1],s,t),o)}))},r}function Re(t,e){var n=Je(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Pe(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=$e,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Be(t,e,n,r){var o=Je(t);return r&&(o.has=function(r){var o=t.get(r,y);return o!==y&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,y);return i!==y&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,l){if(e.call(n,t,i,l))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(2,i),s=0;return new T((function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,c=l[0],u=l[1];if(e.call(n,u,c,t))return N(o,r?c:s++,u,i)}}))},o}function Fe(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),M(e,n,o))return t;var i=O(e,o),a=A(n,o);if(i!=i||a!=a)return Fe(t.toSeq().cacheResult(),e,n,r);var s,l=a-i;l==l&&(s=l<0?0:l);var c=Je(t);return c.size=0===s?s:t.size&&s||void 0,!r&&tt(t)&&s>=0&&(c.get=function(e,n){return(e=_(this,e))>=0&&es)return{value:void 0,done:!0};var t=o.next();return r||1===e?t:N(e,l-1,0===e?void 0:t.value[1],t)}))},c}function He(t,e,n,r){var o=Je(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return t.__iterate((function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return l++,o(t,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),l=!0,c=0;return new T((function(){var t,i,u;do{if((t=s.next()).done)return r||1===o?t:N(o,c++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],u=p[1],l&&(l=e.call(n,u,i,a))}while(l);return 2===o?t:N(o,i,u,t)}))},o}function Ue(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?nt(t):rt(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||l(t)&&l(i))return i}var c=new Z(o);return n?c=c.toKeyedSeq():l(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}function Ye(t,e,n){var r=Je(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(l,c){var u=this;l.__iterate((function(o,l){return(!e||c0}function Xe(t,e,r){var o=Je(t);return o.size=new Z(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),B(o?t.reverse():t)})),a=0,s=!1;return new T((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:N(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ge(t,e){return tt(t)?e:t.constructor(e)}function qe(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ze(t){return Tt(t.size),C(t)}function Qe(t){return s(t)?r:l(t)?o:i}function Je(t){return Object.create((s(t)?Y:l(t)?W:V).prototype)}function $e(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):U.prototype.cacheResult.call(this)}function tn(t,e){return t>e?1:t=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):On(t,e)},Sn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Tt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):On(e,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(t){return this.pushAll(t)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},Sn.prototype.slice=function(t,e){if(M(t,e,this.size))return this;var n=O(t,this.size);if(A(e,this.size)!==this.size)return vt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):On(r,o)},Sn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?On(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Sn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new T((function(){if(r){var e=r.value;return r=r.next,N(t,n++,e)}return{value:void 0,done:!0}}))},Sn.isStack=kn;var Cn,En="@@__IMMUTABLE_STACK__@@",Mn=Sn.prototype;function On(t,e,n,r){var o=Object.create(Mn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function An(){return Cn||(Cn=On(0))}function Dn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Mn[En]=!0,Mn.withMutations=Bt.withMutations,Mn.asMutable=Bt.asMutable,Mn.asImmutable=Bt.asImmutable,Mn.wasAltered=Bt.wasAltered,n.Iterator=T,Dn(n,{toArray:function(){Tt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Le(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ie(this,!0)},toMap:function(){return Nt(this.toKeyedSeq())},toObject:function(){Tt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Me(this.toKeyedSeq())},toOrderedSet:function(){return mn(s(this)?this.valueSeq():this)},toSet:function(){return ln(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Te(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return ue(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Ge(this,Ue(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return pt(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Tt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Ge(this,Be(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Tt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Tt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ge(this,ze(this,t,e))},reduce:function(t,e,n){var r,o;return Tt(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ge(this,Re(this,!0))},slice:function(t,e){return Ge(this,Fe(this,t,e,!0))},some:function(t,e){return!this.every(Nn(t),e)},sort:function(t){return Ge(this,We(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return C(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Nt().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return dt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new Z(t._cache);var e=t.toSeq().map(Tn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Nn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(E)},flatMap:function(t,e){return Ge(this,function(t,e,n){var r=Qe(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ge(this,Ye(this,t,!0))},fromEntrySeq:function(){return new Ne(this)},get:function(t,e){return this.find((function(e,n){return pt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=en(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,y):y)===y)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(u(t)?Me():Nt()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Qe(t);return o.map((function(e){return Ge(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,y)!==y},hasIn:function(t){return this.getIn(t,y)!==y},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Ln).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Pn(t):Bn)},minBy:function(t,e){return Ve(this,e?Pn(e):Bn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ge(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ge(this,He(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Nn(t),e)},sortBy:function(t,e){return Ge(this,We(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ge(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ge(this,function(t,e,n){var r=Je(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(2,o),s=!0;return new T((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,l=o[0],c=o[1];return e.call(n,c,l,i)?2===r?t:N(r,l,c,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Nn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=u(t),n=s(t),r=e?1:0;return function(t,e){return e=xt(e,3432918353),e=xt(e<<15|e>>>-15,461845907),e=xt(e<<13|e>>>-13,5),e=xt((e=(e+3864292196|0)^t)^e>>>16,2246822507),wt((e=xt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Fn(St(t),St(e))|0}:function(t,e){r=r+Fn(St(t),St(e))|0}:e?function(t){r=31*r+St(t)|0}:function(t){r=r+St(t)|0}),r)}(this))}});var jn=n.prototype;jn[p]=!0,jn[L]=jn.values,jn.__toJS=jn.toArray,jn.__toStringMapper=zn,jn.inspect=jn.toSource=function(){return this.toString()},jn.chain=jn.flatMap,jn.contains=jn.includes,function(){try{Object.defineProperty(jn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Dn(r,{flip:function(){return Ge(this,Pe(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return pt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return pt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ge(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ge(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var In=r.prototype;function Ln(t,e){return e}function Tn(t,e){return[e,t]}function Nn(t){return function(){return!t.apply(this,arguments)}}function Pn(t){return function(){return-t.apply(this,arguments)}}function zn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return k(arguments)}function Bn(t,e){return te?-1:0}function Fn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[d]=!0,In[L]=jn.entries,In.__toJS=jn.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+zn(t)},Dn(o,{toKeyedSeq:function(){return new Ie(this,!1)},filter:function(t,e){return Ge(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ge(this,Re(this,!1))},slice:function(t,e){return Ge(this,Fe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=O(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ge(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ge(this,Ye(this,t,!1))},get:function(t,e){return(t=_(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=_(this,t))>=0&&(void 0!==this.size?this.size===1/0||t0&&n').concat(n,"");if("LINK"===o.type){var a=o.data.targetOption||"_self";return'').concat(n,"")}if("IMAGE"===o.type){var s=o.data.alignment;return s&&s.length?'
      ').concat(o.data.alt,'
      '):'').concat(o.data.alt,'')}return"EMBEDDED_LINK"===o.type?''):n}function s(t,e,n,r){var a=[],s=Array.from(t.text);if(s.length>0)for(var l,c=function(t){var e=t.text,n=t.inlineStyleRanges,r={BOLD:new Array(e.length),ITALIC:new Array(e.length),UNDERLINE:new Array(e.length),STRIKETHROUGH:new Array(e.length),CODE:new Array(e.length),SUPERSCRIPT:new Array(e.length),SUBSCRIPT:new Array(e.length),COLOR:new Array(e.length),BGCOLOR:new Array(e.length),FONTSIZE:new Array(e.length),FONTFAMILY:new Array(e.length),length:e.length};return n&&n.length>0&&n.forEach((function(t){for(var e=t.offset,n=e+t.length,o=e;o0?n.map((function(t){switch(t){case"\n":return"
      ";case"&":return"&";case"<":return"<";case">":return">";default:return t}})).join(""):"";return t(r,(function(t,e){o=function(t,e){return"BOLD"===t?"".concat(e,""):"ITALIC"===t?"".concat(e,""):"UNDERLINE"===t?"".concat(e,""):"STRIKETHROUGH"===t?"".concat(e,""):"CODE"===t?"".concat(e,""):"SUPERSCRIPT"===t?"".concat(e,""):"SUBSCRIPT"===t?"".concat(e,""):e}(t,o)})),o}(e)})),o=function(t,e){if(t&&(t.COLOR||t.BGCOLOR||t.FONTSIZE||t.FONTFAMILY)){var n='style="';return t.COLOR&&(n+="color: ".concat(t.COLOR,";")),t.BGCOLOR&&(n+="background-color: ".concat(t.BGCOLOR,";")),t.FONTSIZE&&(n+="font-size: ".concat(t.FONTSIZE).concat(/^\d+$/.test(t.FONTSIZE)?"px":"",";")),t.FONTFAMILY&&(n+="font-family: ".concat(t.FONTFAMILY,";")),"").concat(e,"")}return e}(n.styles,o)}function c(t,e,n,r){var o=[],i=function(t,e){var n=[],r=0,o=t.entityRanges.map((function(t){return{offset:t.offset,length:t.length,key:t.key,type:"ENTITY"}}));return(o=(o=o.concat(function(t,e){var n=[];if(e)for(var r=0,o=0,i=t,a=e.trigger||"#",s=e.separator||" ";i.length>0&&o>=0;)if(i[0]===a?(o=0,r=0,i=i.substr(a.length)):(o=i.indexOf(s+a))>=0&&(i=i.substr(o+(s+a).length),r+=o+s.length),o>=0){var l=i.indexOf(s)>=0?i.indexOf(s):i.length,c=i.substr(0,l);c&&c.length>0&&n.push({offset:r,length:c.length+a.length,type:"HASHTAG"}),r+=a.length}return n}(t.text,e))).sort((function(t,e){return t.offset-e.offset}))).forEach((function(t){t.offset>r&&n.push({start:r,end:t.offset}),n.push({start:t.offset,end:t.offset+t.length,entityKey:t.key,type:t.type}),r=t.offset+t.length})),r').concat(i,"")),i}(t,e,n,r);0===c&&(u=function(t){if(t){for(var e=t,n=0;n=0&&" "===e[n];n-=1)e="".concat(e.substring(0,n)," ").concat(e.substring(n+1));return e}return t}(u)),o.push(u)})),o.join("")}function u(t,e,o,i,a){var s,l=[],p=[];return t.forEach((function(t){var d=!1;if(s?s.type!==t.type?(l.push("\n")),l.push("<".concat(n(t.type),">\n"))):s.depth===t.depth?p&&p.length>0&&(l.push(u(p,e,o,i,a)),p=[]):(d=!0,p.push(t)):l.push("<".concat(n(t.type),">\n")),!d){l.push(""),l.push(c(t,e,o,a)),l.push("\n"),s=t}})),p&&p.length>0&&l.push(u(p,e,o,i,a)),l.push("\n")),l.join("")}return function(t,e,o,i){var s=[];if(t){var l=t.blocks,p=t.entityMap;if(l&&l.length>0){var d=[];if(l.forEach((function(t){if("unordered-list-item"===(h=t.type)||"ordered-list-item"===h)d.push(t);else{if(d.length>0){var l=u(d,p,e,i);s.push(l),d=[]}var f=function(t,e,o,i,s){var l=[];if(function(t){return!(!(t.entityRanges.length>0)||(e=t.text,null!=e&&0!==e.length&&0!==e.trim().length&&"atomic"!==t.type));var e}(t))l.push(a(e,t.entityRanges[0].key,void 0,s));else{var u=n(t.type);if(u){l.push("<".concat(u));var p=r(t.data);p&&l.push(' style="'.concat(p,'"')),i&&l.push(' dir = "auto"'),l.push(">"),l.push(c(t,e,o,s)),l.push(""))}}return l.push("\n"),l.join("")}(t,p,e,o,i);s.push(f)}var h})),d.length>0){var f=u(d,p,e,o,i);s.push(f),d=[]}}}return s.join("")}}()},1792:function(t,e,n){"use strict";var r=n(1425),o=n(6278),i=n(8414),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function l(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(t){this.data=t,this.types=t.types?o(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n0},t}();t.exports=c},5179:function(t){"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},1425:function(t){"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},9006:function(t){"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},2600:function(t,e,n){"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(7707),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},1423:function(t){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},6912:function(t){"use strict";var e=function(){function t(t){var e,n;n=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this._uri=n,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},7060:function(t,e,n){"use strict";var r=n(3773),o=n(3087),i="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),l=new RegExp("["+i+a+"]");function c(t){var e=s.exec(t);return null==e?null:e[0]}function u(t){var e=c(t);return null==e?r.NEUTRAL:l.exec(e)?r.RTL:r.LTR}function p(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=u(t);return n===r.NEUTRAL?e:n}function d(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),p(t,e)}var f={firstStrongChar:c,firstStrongCharDir:u,resolveBlockDir:p,getDirection:d,isDirectionLTR:function(t,e){return d(t,e)===r.LTR},isDirectionRTL:function(t,e){return d(t,e)===r.RTL}};t.exports=f},3773:function(t,e,n){"use strict";var r=n(3087),o="LTR",i=null;function a(t){return t===o||"RTL"===t}function s(t){return a(t)||r(!1),t===o?"ltr":"rtl"}function l(t){i=t}var c={NEUTRAL:"NEUTRAL",LTR:o,RTL:"RTL",isStrong:a,getHTMLDir:s,getHTMLDirIfDifferent:function(t,e){return a(t)||r(!1),a(e)||r(!1),t===e?null:s(t)},setGlobalDir:l,initGlobalDir:function(){l(o)},getGlobalDir:function(){return i||this.initGlobalDir(),i||r(!1),i}};t.exports=c},878:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(7060),i=n(3773),a=n(3087),s=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},5471:function(t,e,n){"use strict";var r=n(3087),o=/[\uD800-\uDFFF]/;function i(t){return 55296<=t&&t<=57343}function a(t){return o.test(t)}function s(t,e){return 1+i(t.charCodeAt(e))}function l(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!a(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o=r)return""}else if(e<0){for(o=r;e<0&&00&&i=|~>|~|>|)?\s*(.+)/,l=/^(\d*)(.*)/;function c(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=d(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return u(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return p(r,s);case">":return 1===v(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return f(i)&&(r[o]=i+1+""),p(t,n)&&u(t,r)}(r,s);default:return function(t,e){return 0===v(t,e)}(r,s)}}function u(t,e){return-1===v(t,e)}function p(t,e){var n=v(t,e);return 1===n||0===n}function d(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function f(t){return!isNaN(t)&&isFinite(t)}function h(t){return!d(t).modifier}function g(t,e){for(var n=t.length;ne?1:t1?n.some((function(t){return b.contains(t,e)})):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return c(n[0],e);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),c(">="+o,e)&&c("<="+i,e)}(t=n[0].trim(),e)}(t.trim(),e.trim())}};t.exports=b},9427:function(t){"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},8203:function(t,e,n){"use strict";var r=n(3808);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},6278:function(t,e,n){"use strict";var r=n(3087);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},7330:function(t,e,n){"use strict";var r=n(7008);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},7008:function(t,e,n){"use strict";var r=n(8203);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},1249:function(t,e,n){"use strict";var r=n(7056),o=n(9653);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},7707:function(t,e,n){"use strict";var r=n(9427),o=n(7425);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},9653:function(t){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},8184:function(t){"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},7425:function(t){"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},3087:function(t){"use strict";t.exports=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1)for(var r=1;r>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?l(t)+e:e}function u(){return!0}function p(t,e,n){return(0===t&&!g(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function d(t,e){return h(t,e,0)}function f(t,e){return h(t,e,e)}function h(t,e,n){return void 0===t?n:g(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function g(t){return t<0||0===t&&1/t==-1/0}var m="@@__IMMUTABLE_ITERABLE__@@";function y(t){return Boolean(t&&t[m])}var v="@@__IMMUTABLE_KEYED__@@";function b(t){return Boolean(t&&t[v])}var x="@@__IMMUTABLE_INDEXED__@@";function w(t){return Boolean(t&&t[x])}function S(t){return b(t)||w(t)}var k=function(t){return y(t)?t:V(t)},C=function(t){function e(t){return b(t)?t:K(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),_=function(t){function e(t){return w(t)?t:X(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),E=function(t){function e(t){return y(t)&&!S(t)?t:G(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k);k.Keyed=C,k.Indexed=_,k.Set=E;var M="@@__IMMUTABLE_SEQ__@@";function O(t){return Boolean(t&&t[M])}var A="@@__IMMUTABLE_RECORD__@@";function D(t){return Boolean(t&&t[A])}function j(t){return y(t)||D(t)}var I="@@__IMMUTABLE_ORDERED__@@";function L(t){return Boolean(t&&t[I])}var T="function"==typeof Symbol&&Symbol.iterator,N=T||"@@iterator",P=function(t){this.next=t};function z(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function R(){return{value:void 0,done:!0}}function B(t){return!!Array.isArray(t)||!!U(t)}function F(t){return t&&"function"==typeof t.next}function H(t){var e=U(t);return e&&e.call(t)}function U(t){var e=t&&(T&&t[T]||t["@@iterator"]);if("function"==typeof e)return e}P.prototype.toString=function(){return"[Iterator]"},P.KEYS=0,P.VALUES=1,P.ENTRIES=2,P.prototype.inspect=P.prototype.toSource=function(){return this.toString()},P.prototype[N]=function(){return this};var Y=Object.prototype.hasOwnProperty;function W(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var V=function(t){function e(t){return null==t?$():j(t)?t.toSeq():function(t){var e,n,r=nt(t);if(r)return(n=U(e=t))&&n===e.entries?r.fromEntrySeq():function(t){var e=U(t);return e&&e===t.keys}(t)?r.toSetSeq():r;if("object"==typeof t)return new Z(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[e?r-++o:o++];if(!1===t(i[1],i[0],this))break}return o}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,o=0;return new P((function(){if(o===r)return{value:void 0,done:!0};var i=n[e?r-++o:o++];return z(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(k),K=function(t){function e(t){return null==t?$().toKeyedSeq():y(t)?b(t)?t.toSeq():t.fromEntrySeq():D(t)?t.toSeq():tt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(V),X=function(t){function e(t){return null==t?$():y(t)?b(t)?t.entrySeq():t.toIndexedSeq():D(t)?t.toSeq().entrySeq():et(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(V),G=function(t){function e(t){return(y(t)&&!S(t)?t:X(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(V);V.isSeq=O,V.Keyed=K,V.Set=G,V.Indexed=X,V.prototype[M]=!0;var q=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[c(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,o=0;o!==r;){var i=e?r-++o:o++;if(!1===t(n[i],i,this))break}return o},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,o=0;return new P((function(){if(o===r)return{value:void 0,done:!0};var i=e?r-++o:o++;return z(t,i,n[i])}))},e}(X),Z=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return Y.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[e?o-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length,i=0;return new P((function(){if(i===o)return{value:void 0,done:!0};var a=r[e?o-++i:i++];return z(t,a,n[a])}))},e}(K);Z.prototype[I]=!0;var Q,J=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=H(this._collection),r=0;if(F(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=H(this._collection);if(!F(n))return new P(R);var r=0;return new P((function(){var e=n.next();return e.done?e:z(t,r++,e.value)}))},e}(X);function $(){return Q||(Q=new q([]))}function tt(t){var e=nt(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new Z(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function et(t){var e=nt(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function nt(t){return W(t)?new q(t):B(t)?new J(t):void 0}var rt="@@__IMMUTABLE_MAP__@@";function ot(t){return Boolean(t&&t[rt])}function it(t){return ot(t)&&L(t)}function at(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function st(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(at(t)&&at(e)&&t.equals(e))}var lt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function ct(t){return t>>>1&1073741824|3221225471&t}var ut=Object.prototype.valueOf;function pt(t){if(null==t)return dt(t);if("function"==typeof t.hashCode)return ct(t.hashCode(t));var e,n,r,o=(e=t).valueOf!==ut&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==o)return dt(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return ct(e)}(o);case"string":return o.length>St?(void 0===(r=_t[n=o])&&(r=ft(n),Ct===kt&&(Ct=0,_t={}),Ct++,_t[n]=r),r):ft(o);case"object":case"function":return function(t){var e;if(vt&&void 0!==(e=yt.get(t)))return e;if(void 0!==(e=t[wt]))return e;if(!gt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[wt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=mt(),vt)yt.set(t,e);else{if(void 0!==ht&&!1===ht(t))throw new Error("Non-extensible objects are not allowed as keys.");if(gt)Object.defineProperty(t,wt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[wt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[wt]=e}}return e}(o);case"symbol":return function(t){var e=bt[t];return void 0!==e||(e=mt(),bt[t]=e),e}(o);default:if("function"==typeof o.toString)return ft(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function dt(t){return null===t?1108378658:1108378659}function ft(t){for(var e=0,n=0;n=0&&(u.get=function(e,n){return(e=c(this,e))>=0&&es)return{value:void 0,done:!0};var t=o.next();return r||1===e||t.done?t:z(e,l-1,0===e?void 0:t.value[1],t)}))},u}function Nt(t,e,n,r){var o=Vt(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return t.__iterate((function(t,i,c){if(!s||!(s=e.call(n,t,i,c)))return l++,o(t,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(2,i),l=!0,c=0;return new P((function(){var t,i,u;do{if((t=s.next()).done)return r||1===o?t:z(o,c++,0===o?void 0:t.value[1],t);var p=t.value;i=p[0],u=p[1],l&&(l=e.call(n,u,i,a))}while(l);return 2===o?t:z(o,i,u,t)}))},o}function Pt(t,e){var n=b(t),r=[t].concat(e).map((function(t){return y(t)?n&&(t=C(t)):t=n?tt(t):et(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&b(o)||w(t)&&w(o))return o}var i=new q(r);return n?i=i.toKeyedSeq():w(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}function zt(t,e,n){var r=Vt(t);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function t(l,c){l.__iterate((function(i,l){return(!e||c0}function Ht(t,e,n,r){var o=Vt(t),i=new q(n).map((function(t){return t.size}));return o.size=r?i.max():i.min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map((function(t){return t=k(t),H(o?t.reverse():t)})),a=0,s=!1;return new P((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=r?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:z(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Ut(t,e){return t===e?t:O(t)?e:t.constructor(e)}function Yt(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Wt(t){return b(t)?C:w(t)?_:E}function Vt(t){return Object.create((b(t)?K:w(t)?X:G).prototype)}function Kt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function Xt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return ve(this,e,t)}function ve(t,e,n){for(var r=[],o=0;o0;)e[n]=arguments[n+1];return Ce(t,e)}function xe(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Ce(e,n,t)}function we(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return ke(t,e)}function Se(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return ke(e,n,t)}function ke(t,e,n){return Ce(t,e,function(t){return function e(n,r,o){return te(n)&&te(r)&&(i=r,a=V(n),s=V(i),w(a)===w(s)&&b(a)===b(s))?Ce(n,[r],e):t?t(n,r,o):r;var i,a,s}}(n))}function Ce(t,e,n){if(!te(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(j(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),o=t,i=r?_:C,a=r?function(e){o===t&&(o=oe(o)),o.push(e)}:function(e,r){var i=Y.call(o,r),a=i&&n?n(o[r],e,r):e;i&&a===o[r]||(o===t&&(o=oe(o)),o[r]=a)},s=0;s0;)e[n]=arguments[n+1];return ke(this,e,t)}function Me(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ve(),(function(t){return Ce(t,e)}))}function Oe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return se(this,t,Ve(),(function(t){return ke(t,e)}))}function Ae(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function De(){return this.__ownerID?this:this.__ensureOwner(new s)}function je(){return this.__ensureOwner()}function Ie(){return this.__altered}var Le=function(t){function e(e){return null==e?Ve():ot(e)&&!L(e)?e:Ve().withMutations((function(n){var r=t(e);Zt(r.size),r.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ve().withMutations((function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Ke(this,t,e)},e.prototype.remove=function(t){return Ke(this,t,i)},e.prototype.deleteAll=function(t){var e=k(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ve()},e.prototype.sort=function(t){return vn(Rt(this,t))},e.prototype.sortBy=function(t,e){return vn(Rt(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,t.call(e,o,i,n))}))}))},e.prototype.__iterator=function(t,e){return new He(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?We(this.size,this._root,t,this.__hash):0===this.size?Ve():(this.__ownerID=t,this.__altered=!1,this)},e}(C);Le.isMap=ot;var Te=Le.prototype;Te[rt]=!0,Te.delete=Te.remove,Te.removeAll=Te.deleteAll,Te.setIn=ue,Te.removeIn=Te.deleteIn=de,Te.update=he,Te.updateIn=ge,Te.merge=Te.concat=me,Te.mergeWith=ye,Te.mergeDeep=_e,Te.mergeDeepWith=Ee,Te.mergeIn=Me,Te.mergeDeepIn=Oe,Te.withMutations=Ae,Te.wasAltered=Ie,Te.asImmutable=je,Te["@@transducer/init"]=Te.asMutable=De,Te["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Te["@@transducer/result"]=function(t){return t.asImmutable()};var Ne=function(t,e){this.ownerID=t,this.entries=e};Ne.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i=Je)return function(t,e,n,r){t||(t=new s);for(var o=new Be(t,pt(n),[n,r]),i=0;i>>t)&o),a=this.bitmap;return 0==(a&i)?r:this.nodes[Ze(a&i-1)].get(t+5,e,n,r)},Pe.prototype.update=function(t,e,n,a,s,l,c){void 0===n&&(n=pt(a));var u=(0===e?n:n>>>e)&o,p=1<=$e)return function(t,e,n,o,i){for(var a=0,s=new Array(r),l=0;0!==n;l++,n>>>=1)s[l]=1&n?e[a++]:void 0;return s[o]=i,new ze(t,a+1,s)}(t,g,d,u,y);if(f&&!y&&2===g.length&&Ge(g[1^h]))return g[1^h];if(f&&y&&1===g.length&&Ge(y))return y;var v=t&&t===this.ownerID,b=f?y?d:d^p:d|p,x=f?y?Qe(g,h,y,v):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a>>t)&o,a=this.nodes[i];return a?a.get(t+5,e,n,r):r},ze.prototype.update=function(t,e,n,r,a,s,l){void 0===n&&(n=pt(r));var c=(0===e?n:n>>>e)&o,u=a===i,p=this.nodes,d=p[c];if(u&&!d)return this;var f=Xe(d,t,e+5,n,r,a,s,l);if(f===d)return this;var h=this.count;if(d){if(!f&&--h>>n)&o,l=(0===n?r:r>>>n)&o,c=s===l?[qe(t,e,n+5,r,i)]:(a=new Be(e,r,i),s>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function Qe(t,e,n,r){var o=r?t:Gt(t);return o[e]=n,o}var Je=8,$e=16,tn=8,en="@@__IMMUTABLE_LIST__@@";function nn(t){return Boolean(t&&t[en])}var rn=function(t){function e(e){var n=pn();if(null==e)return n;if(nn(e))return e;var o=t(e),i=o.size;return 0===i?n:(Zt(i),i>0&&i=0&&t=t.size||e<0)return t.withMutations((function(t){e<0?gn(t,e).set(0,n):gn(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i={value:!1};return e>=mn(t._capacity)?r=dn(r,t.__ownerID,0,e,n,i):o=dn(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):un(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):pn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){gn(n,0,e+t.length);for(var r=0;r>>e&o;if(r>=this.array.length)return new an([],t);var i,a=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-5,n))===s&&a)return this}if(a&&!i)return this;var l=fn(this,t);if(!a)for(var c=0;c>>e&o;if(i>=this.array.length)return this;if(e>0){var a=this.array[i];if((r=a&&a.removeAfter(t,e-5,n))===a&&i===this.array.length-1)return this}var s=fn(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var sn,ln={};function cn(t,e){var n=t._origin,o=t._capacity,i=mn(o),a=t._tail;return function t(s,l,c){return 0===l?function(t,s){var l=s===i?a&&a.array:t&&t.array,c=s>n?0:n-s,u=o-s;return u>r&&(u=r),function(){if(c===u)return ln;var t=e?--u:c++;return l&&l[t]}}(s,c):function(i,a,s){var l,c=i&&i.array,u=s>n?0:n-s>>a,p=1+(o-s>>a);return p>r&&(p=r),function(){for(;;){if(l){var n=l();if(n!==ln)return n;l=null}if(u===p)return ln;var r=e?--p:u++;l=t(c&&c[r],a-5,s+(r<>>n&o,u=t&&c0){var p=t&&t.array[c],d=dn(p,e,n-5,r,i,s);return d===p?t:((l=fn(t,e)).array[c]=d,l)}return u&&t.array[c]===i?t:(s&&a(s),l=fn(t,e),void 0===i&&c===l.array.length-1?l.array.pop():l.array[c]=i,l)}function fn(t,e){return e&&t&&e===t.ownerID?t:new an(t?t.array.slice():[],e)}function hn(t,e){if(e>=mn(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&o],r-=5;return n}}function gn(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new s,i=t._origin,a=t._capacity,l=i+e,c=void 0===n?a:n<0?a+n:i+n;if(l===i&&c===a)return t;if(l>=c)return t.clear();for(var u=t._level,p=t._root,d=0;l+d<0;)p=new an(p&&p.array.length?[void 0,p]:[],r),d+=1<<(u+=5);d&&(l+=d,i+=d,c+=d,a+=d);for(var f=mn(a),h=mn(c);h>=1<f?new an([],r):g;if(g&&h>f&&l5;v-=5){var b=f>>>v&o;y=y.array[b]=fn(y.array[b],r)}y.array[f>>>5&o]=g}if(c=h)l-=h,c-=h,u=5,p=null,m=m&&m.removeBefore(r,0,l);else if(l>i||h>>u&o;if(x!==h>>>u&o)break;x&&(d+=(1<i&&(p=p.removeBefore(r,u,l-d)),p&&h>>5<<5}var yn,vn=function(t){function e(t){return null==t?xn():it(t)?t:xn().withMutations((function(e){var n=C(t);Zt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):xn()},e.prototype.set=function(t,e){return wn(this,t,e)},e.prototype.remove=function(t){return wn(this,t,i)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?bn(e,n,t,this.__hash):0===this.size?xn():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Le);function bn(t,e,n,r){var o=Object.create(vn.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xn(){return yn||(yn=bn(Ve(),pn()))}function wn(t,e,n){var o,a,s=t._map,l=t._list,c=s.get(e),u=void 0!==c;if(n===i){if(!u)return t;l.size>=r&&l.size>=2*s.size?(o=(a=l.filter((function(t,e){return void 0!==t&&c!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(o.__ownerID=a.__ownerID=t.__ownerID)):(o=s.remove(e),a=c===l.size-1?l.pop():l.set(c,void 0))}else if(u){if(n===l.get(c)[1])return t;o=s,a=l.set(c,[e,n])}else o=s.set(e,l.size),a=l.set(l.size,[e,n]);return t.__ownerID?(t.size=o.size,t._map=o,t._list=a,t.__hash=void 0,t.__altered=!0,t):bn(o,a)}vn.isOrderedMap=it,vn.prototype[I]=!0,vn.prototype.delete=vn.prototype.remove;var Sn="@@__IMMUTABLE_STACK__@@";function kn(t){return Boolean(t&&t[Sn])}var Cn=function(t){function e(t){return null==t?An():kn(t)?t:An().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=c(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):On(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&kn(e))return e;Zt(e.size);var n=this.size,r=this._head;return e.__iterate((function(t){n++,r={value:t,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):On(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},e.prototype.slice=function(e,n){if(p(e,n,this.size))return this;var r=d(e,this.size);if(f(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):On(o,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?On(this.size,this._head,t,this.__hash):0===this.size?An():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new q(this.toArray()).__iterate((function(e,r){return t(e,r,n)}),e);for(var r=0,o=this._head;o&&!1!==t(o.value,r++,this);)o=o.next;return r},e.prototype.__iterator=function(t,e){if(e)return new q(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new P((function(){if(r){var e=r.value;return r=r.next,z(t,n++,e)}return{value:void 0,done:!0}}))},e}(_);Cn.isStack=kn;var En,Mn=Cn.prototype;function On(t,e,n,r){var o=Object.create(Mn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function An(){return En||(En=On(0))}Mn[Sn]=!0,Mn.shift=Mn.pop,Mn.unshift=Mn.push,Mn.unshiftAll=Mn.pushAll,Mn.withMutations=Ae,Mn.wasAltered=Ie,Mn.asImmutable=je,Mn["@@transducer/init"]=Mn.asMutable=De,Mn["@@transducer/step"]=function(t,e){return t.unshift(e)},Mn["@@transducer/result"]=function(t){return t.asImmutable()};var Dn="@@__IMMUTABLE_SET__@@";function jn(t){return Boolean(t&&t[Dn])}function In(t){return jn(t)&&L(t)}function Ln(t,e){if(t===e)return!0;if(!y(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||b(t)!==b(e)||w(t)!==w(e)||L(t)!==L(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!S(t);if(L(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&st(o[1],t)&&(n||st(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var a=t;t=e,e=a}var s=!0,l=e.__iterate((function(e,r){if(n?!t.has(e):o?!st(e,t.get(r,i)):!st(t.get(r,i),e))return s=!1,!1}));return s&&t.size===l}function Tn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Nn(t){if(!t||"object"!=typeof t)return t;if(!y(t)){if(!te(t))return t;t=V(t)}if(b(t)){var e={};return t.__iterate((function(t,n){e[n]=Nn(t)})),e}var n=[];return t.__iterate((function(t){n.push(Nn(t))})),n}var Pn=function(t){function e(e){return null==e?Hn():jn(e)&&!L(e)?e:Hn().withMutations((function(n){var r=t(e);Zt(r.size),r.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(C(t).keySeq())},e.intersect=function(t){return(t=k(t).toArray()).length?Rn.intersect.apply(e(t.pop()),t):Hn()},e.union=function(t){return(t=k(t).toArray()).length?Rn.union.apply(e(t.pop()),t):Hn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Bn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Bn(this,this._map.remove(t))},e.prototype.clear=function(){return Bn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=!1,o=Bn(this,this._map.mapEntries((function(o){var i=o[1],a=t.call(e,i,i,n);return a!==i&&(r=!0),[a,a]}),e));return r?o:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var r=0;r=0&&e=0&&n>>-15,461845907),e=lt(e<<13|e>>>-13,5),e=lt((e=(e+3864292196|0)^t)^e>>>16,2246822507),ct((e=lt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+ir(pt(t),pt(e))|0}:function(t,e){r=r+ir(pt(t),pt(e))|0}:e?function(t){r=31*r+pt(t)|0}:function(t){r=r+pt(t)|0}),r)}(this))}});var Gn=k.prototype;Gn[m]=!0,Gn[N]=Gn.values,Gn.toJSON=Gn.toArray,Gn.__toStringMapper=ee,Gn.inspect=Gn.toSource=function(){return this.toString()},Gn.chain=Gn.flatMap,Gn.contains=Gn.includes,Tn(C,{flip:function(){return Ut(this,Dt(this))},mapEntries:function(t,e){var n=this,r=0;return Ut(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ut(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var qn=C.prototype;qn[v]=!0,qn[N]=Gn.entries,qn.toJSON=Xn,qn.__toStringMapper=function(t,e){return ee(e)+": "+ee(t)},Tn(_,{toKeyedSeq:function(){return new Et(this,!1)},filter:function(t,e){return Ut(this,Lt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ut(this,It(this,!1))},slice:function(t,e){return Ut(this,Tt(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=d(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ut(this,1===n?r:r.concat(Gt(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Ut(this,zt(this,t,!1))},get:function(t,e){return(t=c(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=c(this,t))>=0&&(void 0!==this.size?this.size===1/0||te?-1:0}function ir(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}Qn.has=Gn.includes,Qn.contains=Qn.includes,Qn.keys=Qn.values,Tn(K,qn),Tn(X,Zn),Tn(G,Qn);var ar=function(t){function e(t){return null==t?ur():In(t)?t:ur().withMutations((function(e){var n=E(t);Zt(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(C(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Pn);ar.isOrderedSet=In;var sr,lr=ar.prototype;function cr(t,e){var n=Object.create(lr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function ur(){return sr||(sr=cr(xn()))}lr[I]=!0,lr.zip=Zn.zip,lr.zipWith=Zn.zipWith,lr.zipAll=Zn.zipAll,lr.__empty=ur,lr.__make=cr;var pr=function(t,e){var n;!function(t){if(D(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(j(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(t),l=o._indices={};o._name=e,o._keys=s,o._defaultValues=t;for(var c=0;c2?[]:void 0,{"":t})}function xr(t,e,n,r,o,i){if("string"!=typeof n&&!j(n)&&(W(n)||B(n)||$t(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),o&&""!==r&&o.push(r);var a=e.call(i,r,V(n).map((function(r,i){return xr(t,e,r,i,o,n)})),o&&o.slice());return t.pop(),o&&o.pop(),a}return n}function wr(t,e){return w(e)?e.toList():b(e)?e.toMap():e.toSet()}var Sr="4.1.0",kr={version:Sr,Collection:k,Iterable:k,Seq:V,Map:Le,OrderedMap:vn,List:rn,Stack:Cn,Set:Pn,OrderedSet:ar,Record:pr,Range:Yn,Repeat:vr,is:st,fromJS:br,hash:pt,isImmutable:j,isCollection:y,isKeyed:b,isIndexed:w,isAssociative:S,isOrdered:L,isValueObject:at,isPlainObject:$t,isSeq:O,isList:nn,isMap:ot,isOrderedMap:it,isStack:kn,isSet:jn,isOrderedSet:In,isRecord:D,get:re,getIn:Wn,has:ne,hasIn:Kn,merge:be,mergeDeep:we,mergeWith:xe,mergeDeepWith:Se,remove:ie,removeIn:pe,set:ae,setIn:ce,update:fe,updateIn:se},Cr=k;e.default=kr},6676:function(t){function e(t){var e={},n=t.length-1,r=t[0],o=t[n];for(var i in r)e[r[i]]=0;for(i=1;i<=n;i++){var a=t[i];for(var s in a)e[c=a[s]]===i-1&&(e[c]=i)}var l=[];for(var i in o){var c;e[c=o[i]]===n&&l.push(c)}return l}function n(t,n){if(!n)return e(t);for(var o=[],i=0;i-1&&o.push(t[i]);return o}function r(t,e){for(var n=0;n0?{timer:setTimeout((function(){return t.onConfirm()}),t.timeout),prevTimeout:t.timeout}:null},e.isAnimation=function(t){return t&&"boolean"!=typeof t},e.animationFromProp=function(t){return t.name+" "+t.duration+"ms"},e.handleAnimState=function(t,n,r){var o="boolean"!=typeof t.show||n.closingAction?n.show:t.show,i="";if(o)t.openAnim&&(e.isAnimation(t.openAnim)?i=e.animationFromProp(t.openAnim):e.isAnimation(e.defaultProps.openAnim)&&(i=e.animationFromProp(e.defaultProps.openAnim)));else if(n.closingAction&&t.closeAnim){var a=void 0;e.isAnimation(t.closeAnim)?a=t.closeAnim:e.isAnimation(e.defaultProps.closeAnim)&&(a=e.defaultProps.closeAnim),a&&(i=e.animationFromProp(a),r(a.duration),o=!0)}return{show:o,animation:i}},e.prototype.render=function(){return this.state.show?p.default.createElement("div",null,this.getInjectedStyles(),p.default.createElement(S.default,{show:!this.props.hideOverlay,onClick:this.onClickOutside,onKeyDown:this.onKeyDown},p.default.createElement("div",{style:this.getComposedStyle(),tabIndex:0,onKeyDown:this.onKeyDown,onClick:this.onClickInside,className:"sweet-alert "+this.props.customClass},this.getCloseButton(),this.getIcon(),p.default.createElement(x.default,null,this.props.title),p.default.createElement(w.default,null,this.getAlertContent()),this.getInputField(),this.getValidationMessage(),this.getButtons()))):null},e.propTypes=_.SWEET_ALERT_PROP_TYPES,e.defaultProps=E.SWEET_ALERT_DEFAULT_PROPS,e.SuccessIcon=d.default,e.ErrorIcon=f.default,e.InfoIcon=h.default,e.WarningIcon=g.default,e.CustomIcon=m.default,e.Buttons=y.default,e.Input=v.default,e.ValidationMessage=b.default,e.Title=x.default,e.Content=w.default,e.getStateFromProps=function(t){var n=e.getTypeFromProps(t);return{type:n,focusConfirmBtn:t.focusConfirmBtn&&"input"!==n,focusCancelBtn:t.focusCancelBtn&&"input"!==n,dependencies:t.dependencies}},e.getTypeFromProps=function(t){return t.type?t.type:t.secondary?"secondary":t.info?"info":t.success?"success":t.warning?"warning":t.danger||t.error?"danger":t.input?"input":t.custom?"custom":"default"},e}(p.default.Component);e.default=D},4222:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(9196)),i=n(5889);e.default=function(t){var e=t.children;return o.default.createElement("h2",{style:i.title},e)}},2925:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=a(n(9196)),l=i(n(5889));e.default=function(t){var e=t.validationMsg,n=t.inputType,r=e||("email"===n?"Please enter a valid email!":"Please enter a response!");return s.default.createElement("div",{style:l.validationMessage},s.default.createElement("div",{style:l.exclamationIcon},"!"),r)}},6856:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=a(n(9196)),l=i(n(5889));e.default=function(){return s.default.createElement("div",{style:Object.assign({},l.icon,l.iconWarning)},s.default.createElement("span",{style:l.iconWarningBody}),s.default.createElement("span",{style:l.iconWarningDot}))}},195:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.emailRegex=e.defaultRegex=void 0,e.defaultRegex=/^.+$/,e.emailRegex=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},3457:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SWEET_ALERT_DEFAULT_PROPS=void 0,e.SWEET_ALERT_DEFAULT_PROPS={allowEscape:!0,closeOnClickOutside:!0,inputType:"text",customClass:"",validationMsg:null,validationRegex:null,hideOverlay:!1,required:!0,disabled:!1,focusConfirmBtn:!0,focusCancelBtn:!1,showCloseButton:!1,confirmBtnBsStyle:"primary",cancelBtnBsStyle:"link",beforeMount:function(){},afterMount:function(){},beforeUpdate:null,afterUpdate:function(){},beforeUnmount:function(){},style:{},closeBtnStyle:{},timeout:0,openAnim:{name:"showSweetAlert",duration:300},closeAnim:!1,reverseButtons:!1,dependencies:[]}},2321:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(5987));e.default=o.default},7722:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.SWEET_ALERT_PROP_TYPES=void 0;var o=r(n(4172));e.SWEET_ALERT_PROP_TYPES={type:o.default.oneOf(["default","info","success","warning","danger","error","input","custom","controlled"]),info:o.default.bool,success:o.default.bool,warning:o.default.bool,danger:o.default.bool,error:o.default.bool,input:o.default.bool,custom:o.default.bool,controlled:o.default.bool,title:o.default.oneOfType([o.default.node,o.default.string]).isRequired,onCancel:o.default.func,onConfirm:o.default.func.isRequired,confirmBtnText:o.default.oneOfType([o.default.node,o.default.string]),confirmBtnBsStyle:o.default.string,confirmBtnCssClass:o.default.string,confirmBtnStyle:o.default.object,cancelBtnText:o.default.oneOfType([o.default.node,o.default.string]),cancelBtnBsStyle:o.default.string,cancelBtnCssClass:o.default.string,cancelBtnStyle:o.default.object,btnSize:o.default.string,customIcon:o.default.oneOfType([o.default.node,o.default.string]),show:o.default.bool,required:o.default.bool,placeholder:o.default.string,validationMsg:o.default.string,validationRegex:o.default.object,defaultValue:o.default.oneOfType([o.default.number,o.default.string]),inputType:o.default.string,style:o.default.object,closeBtnStyle:o.default.object,customClass:o.default.string,showConfirm:o.default.bool,showCancel:o.default.bool,showCloseButton:o.default.bool,allowEscape:o.default.bool,closeOnClickOutside:o.default.bool,hideOverlay:o.default.bool,disabled:o.default.bool,focusConfirmBtn:o.default.bool,focusCancelBtn:o.default.bool,beforeMount:o.default.func,afterMount:o.default.func,beforeUpdate:o.default.func,afterUpdate:o.default.func,beforeUnmount:o.default.func,timeout:o.default.number,openAnim:o.default.any,closeAnim:o.default.any,reverseButtons:o.default.bool,customButtons:o.default.node,dependencies:o.default.arrayOf(o.default.any)}},5889:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.closeButton=e.inputErrorIconAfter=e.inputErrorIconBefore=e.inputErrorIconBeforeAfter=e.inputErrorIcon=e.exclamationIcon=e.validationMessage=e.button=e.iconCustom=e.iconSuccessLineLong=e.iconSuccessLineTip=e.iconSuccessLine=e.iconSuccessFix=e.iconSuccessPlaceholder=e.iconSuccessAfter=e.iconSuccessBefore=e.iconSuccessBeforeAfter=e.iconSuccess=e.iconInfoAfter=e.iconInfoBefore=e.iconInfo=e.iconWarningDot=e.iconWarningBody=e.iconWarning=e.iconErrorLineRight=e.iconErrorLineLeft=e.iconErrorLine=e.iconErrorX=e.iconError=e.icon=e.actions=e.contentContainer=e.title=e.sweetAlert=e.sweetAlertContainer=e.overlay=void 0,e.overlay={backgroundColor:"rgba(0, 0, 0, 0.4)",position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:5e3},e.sweetAlertContainer={display:"flex",position:"fixed",top:0,right:0,left:0,bottom:0,flexDirection:"row",alignItems:"center",justifyContent:"center",padding:".625em",overflowX:"hidden",overflowY:"auto",zIndex:5400},e.sweetAlert={display:"flex",overflow:"hidden",backgroundColor:"#fff",outline:"none",width:"32em",padding:"1.25rem",margin:"auto",borderRadius:".3125em",textAlign:"center",position:"relative",flexDirection:"column",justifyContent:"center",maxWidth:"100%",zIndex:5600},e.title={position:"relative",maxWidth:"100%",margin:"0 0 .4em",padding:0,fontSize:"1.875em",fontWeight:600,textAlign:"center",textTransform:"none",wordWrap:"break-word"},e.contentContainer={zIndex:1,justifyContent:"center",margin:0,padding:0,fontSize:"1.125em",fontWeight:300,lineHeight:"normal",textAlign:"center",wordWrap:"break-word"},e.actions={display:"flex",zIndex:1,flexWrap:"wrap",alignItems:"center",justifyContent:"center",width:"100%",margin:"1.25em auto 0"},e.icon={width:80,height:80,borderWidth:4,borderStyle:"solid",borderColor:"gray",borderRadius:"50%",margin:"20px auto",position:"relative",boxSizing:"content-box"},e.iconError={borderColor:"#d43f3a",animation:"animateErrorIcon 0.5s"},e.iconErrorX={position:"relative",display:"block",animation:"animateXMark 0.5s"},e.iconErrorLine={position:"absolute",height:5,width:47,backgroundColor:"#d9534f",display:"block",top:37,borderRadius:2},e.iconErrorLineLeft={transform:"rotate(45deg)",left:17},e.iconErrorLineRight={transform:"rotate(-45deg)",right:16},e.iconWarning={borderColor:"#eea236",animation:"pulseWarning 0.75s infinite alternate"},e.iconWarningBody={position:"absolute",width:5,height:47,left:"50%",top:10,borderRadius:2,marginLeft:-2,backgroundColor:"#f0ad4e",animation:"pulseWarningIns 0.75s infinite alternate"},e.iconWarningDot={position:"absolute",width:7,height:7,borderRadius:"50%",marginLeft:-3,left:"50%",bottom:10,backgroundColor:"#f0ad4e",animation:"pulseWarningIns 0.75s infinite alternate"},e.iconInfo={borderColor:"#46b8da"},e.iconInfoBefore={content:"",position:"absolute",width:5,height:29,left:"50%",bottom:17,borderRadius:2,marginLeft:-2,backgroundColor:"#5bc0de"},e.iconInfoAfter={content:"",position:"absolute",width:7,height:7,borderRadius:"50%",marginLeft:-3,left:"50%",top:19,backgroundColor:"#5bc0de"},e.iconSuccess={borderColor:"#4cae4c"},e.iconSuccessBeforeAfter={content:"",borderRadius:"50%",position:"absolute",width:60,height:120,background:"white",transform:"rotate(45deg)"},e.iconSuccessBefore={borderRadius:"120px 0 0 120px",height:100,top:-7,left:-33,transform:"rotate(-45deg)",transformOrigin:"60px 60px"},e.iconSuccessAfter={borderRadius:"0 120px 120px 0",top:-11,left:30,transform:"rotate(-45deg)",transformOrigin:"0px 60px",animation:"rotatePlaceholder 4.25s ease-in"},e.iconSuccessPlaceholder={width:80,height:80,border:"4px solid rgba(92, 184, 92, 0.2)",borderRadius:"50%",boxSizing:"content-box",position:"absolute",left:-4,top:-4,zIndex:2},e.iconSuccessFix={width:5,height:90,backgroundColor:"#fff",position:"absolute",left:28,top:8,zIndex:1,transform:"rotate(-45deg)"},e.iconSuccessLine={height:5,backgroundColor:"#5cb85c",display:"block",borderRadius:2,position:"absolute",zIndex:2},e.iconSuccessLineTip={width:25,left:14,top:46,transform:"rotate(45deg)",animation:"animateSuccessTip 0.75s"},e.iconSuccessLineLong={width:47,right:8,top:38,transform:"rotate(-45deg)",animation:"animateSuccessLong 0.75s"},e.iconCustom={backgroundSize:"contain",borderRadius:0,border:"none",backgroundPosition:"center center",backgroundRepeat:"no-repeat"},e.button={marginRight:8},e.validationMessage={display:"block",backgroundColor:"#f1f1f1",marginLeft:"-1.25rem",marginRight:"-1.25rem",marginTop:20,overflow:"hidden",padding:10,maxHeight:100,transition:"padding 0.25s, max-height 0.25s",color:"#797979",fontSize:16,textAlign:"center",fontWeight:300},e.exclamationIcon={display:"inline-block",width:24,height:24,borderRadius:"50%",backgroundColor:"#ea7d7d",color:"white",lineHeight:"24px",textAlign:"center",marginRight:5},e.inputErrorIcon={position:"absolute",top:8,right:8,width:20,height:20,transformOrigin:"50% 50%",transition:"all 0.1s",opacity:1,transform:"scale(1)"},e.inputErrorIconBeforeAfter={content:"",width:20,height:6,backgroundColor:"#f06e57",borderRadius:3,position:"absolute",top:"50%",marginTop:-4,left:"50%",marginLeft:-9},e.inputErrorIconBefore={transform:"rotate(-45deg)"},e.inputErrorIconAfter={transform:"rotate(45deg)"},e.closeButton={position:"absolute",right:4,top:-2,fontSize:25,fontWeight:900,color:"rgb(113, 113, 113)",zIndex:1,cursor:"pointer"}},4974:function(t,e,n){window,t.exports=function(t,e,n){return i={},r.m=o=[function(t,e,n){t.exports=n(9)()},function(e,n){e.exports=t},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<|]|"+e.src_ZPCc+"))("+p+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+p+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(u=t).__index__=-1,u.__text_cache__=""}function p(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function d(t,e){var n=new p(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function f(t,e){if(!(this instanceof f))return new f(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||s.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,t),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(t,e){return this.__schemas__[t]=e,u(this),this},f.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},f.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,l;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(l=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||lthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},f.prototype.pretest=function(t){return this.re.pretest.test(t)},f.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},f.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(d(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},f.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),u(this),this},f.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},f.prototype.onCompile=function(){},t.exports=f},function(t,e,n){t.exports=n(40)},function(t,e,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}var n={array:t.isRequired=t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),l=n(4),c=n(2),u=n.n(c);function p(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}function d(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}}var f,h=[],g={onKeyDown:function(t){h.forEach((function(e){e(t)}))},registerCallBack:function(t){h.push(t)},deregisterCallBack:function(t){h=h.filter((function(e){return e!==t}))}},m=function(){f=!0},y=function(){f=!1},v=function(){return f};function b(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function x(t,e){if(t)for(var n in t)!{}.hasOwnProperty.call(t,n)||e(n,t[n])}function w(t,e){var n=!1;if(t)for(var r in t)if({}.hasOwnProperty.call(t,r)&&e===r){n=!0;break}return n}function S(t){t.stopPropagation()}function k(t){return t[t.options[0]].icon}function C(t,e){if(t&&void 0===e)return t;var n={};return x(t,(function(t,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[t]=C(r,e[t]):n[t]=void 0!==e[t]?e[t]:r})),n}var _=n(6),E=n.n(_),M=n(5);function O(t){return(O="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)}function A(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function D(t,e){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(this.props,[]);return function(t){u.forEach((function(e){return delete t[e]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:e},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},t),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),e}(i.Component);h.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},h.defaultProps={minWidth:1,injectStyles:!0},e.Z=h},8152:function(t,e,n){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,i,a,s=1,l={},c=!1,u=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){process.nextTick((function(){f(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(i="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&f(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){f(t.data)},n=function(t){o.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,n=function(t){var e=u.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):n=function(t){setTimeout(f,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;rt.charAt(0).toUpperCase()+t.slice(1),n=t=>Array.prototype.slice.call(t),r=e=>{console.warn("".concat(t," ").concat("object"==typeof e?e.join(" "):e))},o=e=>{console.error("".concat(t," ").concat(e))},i=[],a=(t,e)=>{var n;n='"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'),i.includes(n)||(i.push(n),r(n))},s=t=>"function"==typeof t?t():t,l=t=>t&&"function"==typeof t.toPromise,c=t=>l(t)?t.toPromise():Promise.resolve(t),u=t=>t&&Promise.resolve(t)===t,p={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},d=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],f={},h=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],g=t=>Object.prototype.hasOwnProperty.call(p,t),m=t=>-1!==d.indexOf(t),y=t=>f[t],v=t=>{g(t)||r('Unknown parameter "'.concat(t,'"'))},b=t=>{h.includes(t)&&r('The parameter "'.concat(t,'" is incompatible with toasts'))},x=t=>{y(t)&&a(t,y(t))},w=t=>{const e={};for(const n in t)e[t[n]]="swal2-"+t[n];return e},S=w(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),k=w(["success","warning","info","question","error"]),C=()=>document.body.querySelector(".".concat(S.container)),_=t=>{const e=C();return e?e.querySelector(t):null},E=t=>_(".".concat(t)),M=()=>E(S.popup),O=()=>E(S.icon),A=()=>E(S.title),D=()=>E(S["html-container"]),j=()=>E(S.image),I=()=>E(S["progress-steps"]),L=()=>E(S["validation-message"]),T=()=>_(".".concat(S.actions," .").concat(S.confirm)),N=()=>_(".".concat(S.actions," .").concat(S.deny)),P=()=>_(".".concat(S.loader)),z=()=>_(".".concat(S.actions," .").concat(S.cancel)),R=()=>E(S.actions),B=()=>E(S.footer),F=()=>E(S["timer-progress-bar"]),H=()=>E(S.close),U=()=>{const t=n(M().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((t,e)=>{const n=parseInt(t.getAttribute("tabindex")),r=parseInt(e.getAttribute("tabindex"));return n>r?1:n"-1"!==t.getAttribute("tabindex")));return(t=>{const e=[];for(let n=0;nat(t)))},Y=()=>X(document.body,S.shown)&&!X(document.body,S["toast-shown"])&&!X(document.body,S["no-backdrop"]),W=()=>M()&&X(M(),S.toast),V={previousBodyPadding:null},K=(t,e)=>{if(t.textContent="",e){const r=(new DOMParser).parseFromString(e,"text/html");n(r.querySelector("head").childNodes).forEach((e=>{t.appendChild(e)})),n(r.querySelector("body").childNodes).forEach((e=>{t.appendChild(e)}))}},X=(t,e)=>{if(!e)return!1;const n=e.split(/\s+/);for(let e=0;e{if(((t,e)=>{n(t.classList).forEach((n=>{Object.values(S).includes(n)||Object.values(k).includes(n)||Object.values(e.showClass).includes(n)||t.classList.remove(n)}))})(t,e),e.customClass&&e.customClass[o]){if("string"!=typeof e.customClass[o]&&!e.customClass[o].forEach)return r("Invalid type of customClass.".concat(o,'! Expected string or iterable object, got "').concat(typeof e.customClass[o],'"'));J(t,e.customClass[o])}},q=(t,e)=>{if(!e)return null;switch(e){case"select":case"textarea":case"file":return t.querySelector(".".concat(S.popup," > .").concat(S[e]));case"checkbox":return t.querySelector(".".concat(S.popup," > .").concat(S.checkbox," input"));case"radio":return t.querySelector(".".concat(S.popup," > .").concat(S.radio," input:checked"))||t.querySelector(".".concat(S.popup," > .").concat(S.radio," input:first-child"));case"range":return t.querySelector(".".concat(S.popup," > .").concat(S.range," input"));default:return t.querySelector(".".concat(S.popup," > .").concat(S.input))}},Z=t=>{if(t.focus(),"file"!==t.type){const e=t.value;t.value="",t.value=e}},Q=(t,e,n)=>{t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach((e=>{Array.isArray(t)?t.forEach((t=>{n?t.classList.add(e):t.classList.remove(e)})):n?t.classList.add(e):t.classList.remove(e)})))},J=(t,e)=>{Q(t,e,!0)},$=(t,e)=>{Q(t,e,!1)},tt=(t,e)=>{const r=n(t.childNodes);for(let t=0;t{n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?t.style[e]="number"==typeof n?"".concat(n,"px"):n:t.style.removeProperty(e)},nt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.display=e},rt=t=>{t.style.display="none"},ot=(t,e,n,r)=>{const o=t.querySelector(e);o&&(o.style[n]=r)},it=(t,e,n)=>{e?nt(t,n):rt(t)},at=t=>!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)),st=t=>!!(t.scrollHeight>t.clientHeight),lt=t=>{const e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),r=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||r>0},ct=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=F();at(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"}),10))},ut=()=>"undefined"==typeof window||"undefined"==typeof document,pt={},dt=t=>new Promise((e=>{if(!t)return e();const n=window.scrollX,r=window.scrollY;pt.restoreFocusTimeout=setTimeout((()=>{pt.previousActiveElement&&pt.previousActiveElement.focus?(pt.previousActiveElement.focus(),pt.previousActiveElement=null):document.body&&document.body.focus(),e()}),100),window.scrollTo(n,r)})),ft='\n
      \n \n
        \n
        \n \n

        \n
        \n \n \n
        \n \n \n
        \n \n
        \n \n \n
        \n
        \n
        \n \n \n \n
        \n
        \n
        \n
        \n
        \n
        \n').replace(/(^|\n)\s*/g,""),ht=()=>{pt.currentInstance.resetValidationMessage()},gt=t=>{const e=(()=>{const t=C();return!!t&&(t.remove(),$([document.documentElement,document.body],[S["no-backdrop"],S["toast-shown"],S["has-column"]]),!0)})();if(ut())return void o("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=S.container,e&&J(n,S["no-transition"]),K(n,ft);const r="string"==typeof(i=t.target)?document.querySelector(i):i;var i;r.appendChild(n),(t=>{const e=M();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")})(t),(t=>{"rtl"===window.getComputedStyle(t).direction&&J(C(),S.rtl)})(r),(()=>{const t=M(),e=tt(t,S.input),n=tt(t,S.file),r=t.querySelector(".".concat(S.range," input")),o=t.querySelector(".".concat(S.range," output")),i=tt(t,S.select),a=t.querySelector(".".concat(S.checkbox," input")),s=tt(t,S.textarea);e.oninput=ht,n.onchange=ht,i.onchange=ht,a.onchange=ht,s.oninput=ht,r.oninput=()=>{ht(),o.value=r.value},r.onchange=()=>{ht(),r.nextSibling.value=r.value}})()},mt=(t,e)=>{t instanceof HTMLElement?e.appendChild(t):"object"==typeof t?yt(t,e):t&&K(e,t)},yt=(t,e)=>{t.jquery?vt(e,t):K(e,t.toString())},vt=(t,e)=>{if(t.textContent="",0 in e)for(let n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},bt=(()=>{if(ut())return!1;const t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1})(),xt=(t,e)=>{const n=R(),r=P();e.showConfirmButton||e.showDenyButton||e.showCancelButton?nt(n):rt(n),G(n,e,"actions"),function(t,e,n){const r=T(),o=N(),i=z();wt(r,"confirm",n),wt(o,"deny",n),wt(i,"cancel",n),function(t,e,n,r){if(!r.buttonsStyling)return $([t,e,n],S.styled);J([t,e,n],S.styled),r.confirmButtonColor&&(t.style.backgroundColor=r.confirmButtonColor,J(t,S["default-outline"])),r.denyButtonColor&&(e.style.backgroundColor=r.denyButtonColor,J(e,S["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,J(n,S["default-outline"]))}(r,o,i,n),n.reverseButtons&&(n.toast?(t.insertBefore(i,r),t.insertBefore(o,r)):(t.insertBefore(i,e),t.insertBefore(o,e),t.insertBefore(r,e)))}(n,r,e),K(r,e.loaderHtml),G(r,e,"loader")};function wt(t,n,r){it(t,r["show".concat(e(n),"Button")],"inline-block"),K(t,r["".concat(n,"ButtonText")]),t.setAttribute("aria-label",r["".concat(n,"ButtonAriaLabel")]),t.className=S[n],G(t,r,"".concat(n,"Button")),J(t,r["".concat(n,"ButtonClass")])}const St=(t,e)=>{const n=C();n&&(function(t,e){"string"==typeof e?t.style.background=e:e||J([document.documentElement,document.body],S["no-backdrop"])}(n,e.backdrop),function(t,e){e in S?J(t,S[e]):(r('The "position" parameter is not valid, defaulting to "center"'),J(t,S.center))}(n,e.position),function(t,e){if(e&&"string"==typeof e){const n="grow-".concat(e);n in S&&J(t,S[n])}}(n,e.grow),G(n,e,"container"))};var kt={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ct=["input","file","range","select","radio","checkbox","textarea"],_t=t=>{if(!jt[t.input])return o('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));const e=Dt(t.input),n=jt[t.input](e,t);nt(n),setTimeout((()=>{Z(n)}))},Et=(t,e)=>{const n=q(M(),t);if(n){(t=>{for(let e=0;e{const e=Dt(t.input);t.customClass&&J(e,t.customClass.input)},Ot=(t,e)=>{t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)},At=(t,e,n)=>{if(n.inputLabel){t.id=S.input;const r=document.createElement("label"),o=S["input-label"];r.setAttribute("for",t.id),r.className=o,J(r,n.customClass.inputLabel),r.innerText=n.inputLabel,e.insertAdjacentElement("beforebegin",r)}},Dt=t=>{const e=S[t]?S[t]:S.input;return tt(M(),e)},jt={};jt.text=jt.email=jt.password=jt.number=jt.tel=jt.url=(t,e)=>("string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:u(e.inputValue)||r('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof e.inputValue,'"')),At(t,t,e),Ot(t,e),t.type=e.input,t),jt.file=(t,e)=>(At(t,t,e),Ot(t,e),t),jt.range=(t,e)=>{const n=t.querySelector("input"),r=t.querySelector("output");return n.value=e.inputValue,n.type=e.input,r.value=e.inputValue,At(n,t,e),t},jt.select=(t,e)=>{if(t.textContent="",e.inputPlaceholder){const n=document.createElement("option");K(n,e.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,t.appendChild(n)}return At(t,t,e),t},jt.radio=t=>(t.textContent="",t),jt.checkbox=(t,e)=>{const n=q(M(),"checkbox");n.value="1",n.id=S.checkbox,n.checked=Boolean(e.inputValue);const r=t.querySelector("span");return K(r,e.inputPlaceholder),t},jt.textarea=(t,e)=>{t.value=e.inputValue,Ot(t,e),At(t,t,e);return setTimeout((()=>{if("MutationObserver"in window){const e=parseInt(window.getComputedStyle(M()).width);new MutationObserver((()=>{const n=t.offsetWidth+(r=t,parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight));var r;M().style.width=n>e?"".concat(n,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}})),t};const It=(t,e)=>{const n=D();G(n,e,"htmlContainer"),e.html?(mt(e.html,n),nt(n,"block")):e.text?(n.textContent=e.text,nt(n,"block")):rt(n),((t,e)=>{const n=M(),r=kt.innerParams.get(t),o=!r||e.input!==r.input;Ct.forEach((t=>{const r=S[t],i=tt(n,r);Et(t,e.inputAttributes),i.className=r,o&&rt(i)})),e.input&&(o&&_t(e),Mt(e))})(t,e)},Lt=(t,e)=>{for(const n in k)e.icon!==n&&$(t,k[n]);J(t,k[e.icon]),Pt(t,e),Tt(),G(t,e,"icon")},Tt=()=>{const t=M(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let t=0;t{t.textContent="",e.iconHtml?K(t,zt(e.iconHtml)):"success"===e.icon?K(t,'\n
        \n \n
        \n
        \n'):"error"===e.icon?K(t,'\n \n \n \n \n'):K(t,zt({question:"?",warning:"!",info:"i"}[e.icon]))},Pt=(t,e)=>{if(e.iconColor){t.style.color=e.iconColor,t.style.borderColor=e.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ot(t,n,"backgroundColor",e.iconColor);ot(t,".swal2-success-ring","borderColor",e.iconColor)}},zt=t=>'
        ').concat(t,"
        "),Rt=(t,e)=>{const n=I();if(!e.progressSteps||0===e.progressSteps.length)return rt(n);nt(n),n.textContent="",e.currentProgressStep>=e.progressSteps.length&&r("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach(((t,r)=>{const o=(t=>{const e=document.createElement("li");return J(e,S["progress-step"]),K(e,t),e})(t);if(n.appendChild(o),r===e.currentProgressStep&&J(o,S["active-progress-step"]),r!==e.progressSteps.length-1){const t=(t=>{const e=document.createElement("li");return J(e,S["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e})(e);n.appendChild(t)}}))},Bt=(t,e)=>{t.className="".concat(S.popup," ").concat(at(t)?e.showClass.popup:""),e.toast?(J([document.documentElement,document.body],S["toast-shown"]),J(t,S.toast)):J(t,S.modal),G(t,e,"popup"),"string"==typeof e.customClass&&J(t,e.customClass),e.icon&&J(t,S["icon-".concat(e.icon)])},Ft=(t,e)=>{((t,e)=>{const n=C(),r=M();e.toast?(et(n,"width",e.width),r.style.width="100%",r.insertBefore(P(),O())):et(r,"width",e.width),et(r,"padding",e.padding),e.color&&(r.style.color=e.color),e.background&&(r.style.background=e.background),rt(L()),Bt(r,e)})(0,e),St(0,e),Rt(0,e),((t,e)=>{const n=kt.innerParams.get(t),r=O();n&&e.icon===n.icon?(Nt(r,e),Lt(r,e)):e.icon||e.iconHtml?e.icon&&-1===Object.keys(k).indexOf(e.icon)?(o('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')),rt(r)):(nt(r),Nt(r,e),Lt(r,e),J(r,e.showClass.icon)):rt(r)})(t,e),((t,e)=>{const n=j();if(!e.imageUrl)return rt(n);nt(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),et(n,"width",e.imageWidth),et(n,"height",e.imageHeight),n.className=S.image,G(n,e,"image")})(0,e),((t,e)=>{const n=A();it(n,e.title||e.titleText,"block"),e.title&&mt(e.title,n),e.titleText&&(n.innerText=e.titleText),G(n,e,"title")})(0,e),((t,e)=>{const n=H();K(n,e.closeButtonHtml),G(n,e,"closeButton"),it(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)})(0,e),It(t,e),xt(0,e),((t,e)=>{const n=B();it(n,e.footer),e.footer&&mt(e.footer,n),G(n,e,"footer")})(0,e),"function"==typeof e.didRender&&e.didRender(M())},Ht=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ut=()=>{n(document.body.children).forEach((t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},Yt=["swal-title","swal-html","swal-footer"],Wt=t=>{const e={};return n(t.querySelectorAll("swal-param")).forEach((t=>{Qt(t,["name","value"]);const n=t.getAttribute("name"),r=t.getAttribute("value");"boolean"==typeof p[n]&&"false"===r&&(e[n]=!1),"object"==typeof p[n]&&(e[n]=JSON.parse(r))})),e},Vt=t=>{const r={};return n(t.querySelectorAll("swal-button")).forEach((t=>{Qt(t,["type","color","aria-label"]);const n=t.getAttribute("type");r["".concat(n,"ButtonText")]=t.innerHTML,r["show".concat(e(n),"Button")]=!0,t.hasAttribute("color")&&(r["".concat(n,"ButtonColor")]=t.getAttribute("color")),t.hasAttribute("aria-label")&&(r["".concat(n,"ButtonAriaLabel")]=t.getAttribute("aria-label"))})),r},Kt=t=>{const e={},n=t.querySelector("swal-image");return n&&(Qt(n,["src","width","height","alt"]),n.hasAttribute("src")&&(e.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(e.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(e.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(e.imageAlt=n.getAttribute("alt"))),e},Xt=t=>{const e={},n=t.querySelector("swal-icon");return n&&(Qt(n,["type","color"]),n.hasAttribute("type")&&(e.icon=n.getAttribute("type")),n.hasAttribute("color")&&(e.iconColor=n.getAttribute("color")),e.iconHtml=n.innerHTML),e},Gt=t=>{const e={},r=t.querySelector("swal-input");r&&(Qt(r,["type","label","placeholder","value"]),e.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(e.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(e.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(e.inputValue=r.getAttribute("value")));const o=t.querySelectorAll("swal-input-option");return o.length&&(e.inputOptions={},n(o).forEach((t=>{Qt(t,["value"]);const n=t.getAttribute("value"),r=t.innerHTML;e.inputOptions[n]=r}))),e},qt=(t,e)=>{const n={};for(const r in e){const o=e[r],i=t.querySelector(o);i&&(Qt(i,[]),n[o.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},Zt=t=>{const e=Yt.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(t.children).forEach((t=>{const n=t.tagName.toLowerCase();-1===e.indexOf(n)&&r("Unrecognized element <".concat(n,">"))}))},Qt=(t,e)=>{n(t.attributes).forEach((n=>{-1===e.indexOf(n.name)&&r(['Unrecognized attribute "'.concat(n.name,'" on <').concat(t.tagName.toLowerCase(),">."),"".concat(e.length?"Allowed attributes are: ".concat(e.join(", ")):"To set the value, use HTML within the element.")])}))};var Jt={email:(t,e)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address"),url:(t,e)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")};function $t(t){(function(t){t.inputValidator||Object.keys(Jt).forEach((e=>{t.input===e&&(t.inputValidator=Jt[e])}))})(t),t.showLoaderOnConfirm&&!t.preConfirm&&r("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(t){(!t.target||"string"==typeof t.target&&!document.querySelector(t.target)||"string"!=typeof t.target&&!t.target.appendChild)&&(r('Target parameter is not valid, defaulting to "body"'),t.target="body")}(t),"string"==typeof t.title&&(t.title=t.title.split("\n").join("
        ")),gt(t)}class te{constructor(t,e){this.callback=t,this.remaining=e,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(t){const e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ee=()=>{null===V.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(V.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(V.previousBodyPadding+(()=>{const t=document.createElement("div");t.className=S["scrollbar-measure"],document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e})(),"px"))},ne=()=>{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),n=!!t.match(/WebKit/i);if(e&&n&&!t.match(/CriOS/i)){const t=44;M().scrollHeight>window.innerHeight-t&&(C().style.paddingBottom="".concat(t,"px"))}},re=()=>{const t=C();let e;t.ontouchstart=t=>{e=oe(t)},t.ontouchmove=t=>{e&&(t.preventDefault(),t.stopPropagation())}},oe=t=>{const e=t.target,n=C();return!(ie(t)||ae(t)||e!==n&&(st(n)||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||st(D())&&D().contains(e)))},ie=t=>t.touches&&t.touches.length&&"stylus"===t.touches[0].touchType,ae=t=>t.touches&&t.touches.length>1,se=t=>{const e=C(),r=M();"function"==typeof t.willOpen&&t.willOpen(r);const o=window.getComputedStyle(document.body).overflowY;pe(e,r,t),setTimeout((()=>{ce(e,r)}),10),Y()&&(ue(e,t.scrollbarPadding,o),n(document.body.children).forEach((t=>{t===C()||t.contains(C())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))),W()||pt.previousActiveElement||(pt.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout((()=>t.didOpen(r))),$(e,S["no-transition"])},le=t=>{const e=M();if(t.target!==e)return;const n=C();e.removeEventListener(bt,le),n.style.overflowY="auto"},ce=(t,e)=>{bt&<(e)?(t.style.overflowY="hidden",e.addEventListener(bt,le)):t.style.overflowY="auto"},ue=(t,e,n)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!X(document.body,S.iosfix)){const t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),J(document.body,S.iosfix),re(),ne()}})(),e&&"hidden"!==n&&ee(),setTimeout((()=>{t.scrollTop=0}))},pe=(t,e,n)=>{J(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),nt(e,"grid"),setTimeout((()=>{J(e,n.showClass.popup),e.style.removeProperty("opacity")}),10),J([document.documentElement,document.body],S.shown),n.heightAuto&&n.backdrop&&!n.toast&&J([document.documentElement,document.body],S["height-auto"])},de=t=>{let e=M();e||new En,e=M();const n=P();W()?rt(O()):fe(e,t),nt(n),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},fe=(t,e)=>{const n=R(),r=P();!e&&at(T())&&(e=T()),nt(n),e&&(rt(e),r.setAttribute("data-button-to-replace",e.className)),r.parentNode.insertBefore(r,e),J([t,n],S.loading)},he=t=>t.checked?1:0,ge=t=>t.checked?t.value:null,me=t=>t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null,ye=(t,e)=>{const n=M(),r=t=>be[e.input](n,xe(t),e);l(e.inputOptions)||u(e.inputOptions)?(de(T()),c(e.inputOptions).then((e=>{t.hideLoading(),r(e)}))):"object"==typeof e.inputOptions?r(e.inputOptions):o("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof e.inputOptions))},ve=(t,e)=>{const n=t.getInput();rt(n),c(e.inputValue).then((r=>{n.value="number"===e.input?parseFloat(r)||0:"".concat(r),nt(n),n.focus(),t.hideLoading()})).catch((e=>{o("Error in inputValue promise: ".concat(e)),n.value="",nt(n),n.focus(),t.hideLoading()}))},be={select:(t,e,n)=>{const r=tt(t,S.select),o=(t,e,r)=>{const o=document.createElement("option");o.value=r,K(o,e),o.selected=we(r,n.inputValue),t.appendChild(o)};e.forEach((t=>{const e=t[0],n=t[1];if(Array.isArray(n)){const t=document.createElement("optgroup");t.label=e,t.disabled=!1,r.appendChild(t),n.forEach((e=>o(t,e[1],e[0])))}else o(r,n,e)})),r.focus()},radio:(t,e,n)=>{const r=tt(t,S.radio);e.forEach((t=>{const e=t[0],o=t[1],i=document.createElement("input"),a=document.createElement("label");i.type="radio",i.name=S.radio,i.value=e,we(e,n.inputValue)&&(i.checked=!0);const s=document.createElement("span");K(s,o),s.className=S.label,a.appendChild(i),a.appendChild(s),r.appendChild(a)}));const o=r.querySelectorAll("input");o.length&&o[0].focus()}},xe=t=>{const e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(((t,n)=>{let r=t;"object"==typeof r&&(r=xe(r)),e.push([n,r])})):Object.keys(t).forEach((n=>{let r=t[n];"object"==typeof r&&(r=xe(r)),e.push([n,r])})),e},we=(t,e)=>e&&e.toString()===t.toString();function Se(){const t=kt.innerParams.get(this);if(!t)return;const e=kt.domCache.get(this);rt(e.loader),W()?t.icon&&nt(O()):ke(e),$([e.popup,e.actions],S.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const ke=t=>{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?nt(e[0],"inline-block"):!at(T())&&!at(N())&&!at(z())&&rt(t.actions)};var Ce={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const _e=()=>T()&&T().click(),Ee=t=>{t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1)},Me=(t,e,n)=>{const r=U();if(r.length)return(e+=n)===r.length?e=0:-1===e&&(e=r.length-1),r[e].focus();M().focus()},Oe=["ArrowRight","ArrowDown"],Ae=["ArrowLeft","ArrowUp"],De=(t,e,n)=>{const r=kt.innerParams.get(t);r&&(e.isComposing||229===e.keyCode||(r.stopKeydownPropagation&&e.stopPropagation(),"Enter"===e.key?je(t,e,r):"Tab"===e.key?Ie(e,r):[...Oe,...Ae].includes(e.key)?Le(e.key):"Escape"===e.key&&Te(e,r,n)))},je=(t,e,n)=>{if(s(n.allowEnterKey)&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;_e(),e.preventDefault()}},Ie=(t,e)=>{const n=t.target,r=U();let o=-1;for(let t=0;t{if(![T(),N(),z()].includes(document.activeElement))return;const e=Oe.includes(t)?"nextElementSibling":"previousElementSibling";let n=document.activeElement;for(let t=0;t{s(e.allowEscapeKey)&&(t.preventDefault(),n(Ht.esc))};function Ne(t,e,n,r){W()?Ue(t,r):(dt(n).then((()=>Ue(t,r))),Ee(pt)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),Y()&&(null!==V.previousBodyPadding&&(document.body.style.paddingRight="".concat(V.previousBodyPadding,"px"),V.previousBodyPadding=null),(()=>{if(X(document.body,S.iosfix)){const t=parseInt(document.body.style.top,10);$(document.body,S.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}})(),Ut()),$([document.documentElement,document.body],[S.shown,S["height-auto"],S["no-backdrop"],S["toast-shown"]])}function Pe(t){t=Be(t);const e=Ce.swalPromiseResolve.get(this),n=ze(this);this.isAwaitingPromise()?t.isDismissed||(Re(this),e(t)):n&&e(t)}const ze=t=>{const e=M();if(!e)return!1;const n=kt.innerParams.get(t);if(!n||X(e,n.hideClass.popup))return!1;$(e,n.showClass.popup),J(e,n.hideClass.popup);const r=C();return $(r,n.showClass.backdrop),J(r,n.hideClass.backdrop),Fe(t,e,n),!0};const Re=t=>{t.isAwaitingPromise()&&(kt.awaitingPromise.delete(t),kt.innerParams.get(t)||t._destroy())},Be=t=>void 0===t?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),Fe=(t,e,n)=>{const r=C(),o=bt&<(e);"function"==typeof n.willClose&&n.willClose(e),o?He(t,e,r,n.returnFocus,n.didClose):Ne(t,r,n.returnFocus,n.didClose)},He=(t,e,n,r,o)=>{pt.swalCloseEventFinishedCallback=Ne.bind(null,t,n,r,o),e.addEventListener(bt,(function(t){t.target===e&&(pt.swalCloseEventFinishedCallback(),delete pt.swalCloseEventFinishedCallback)}))},Ue=(t,e)=>{setTimeout((()=>{"function"==typeof e&&e.bind(t.params)(),t._destroy()}))};function Ye(t,e,n){const r=kt.domCache.get(t);e.forEach((t=>{r[t].disabled=n}))}function We(t,e){if(!t)return!1;if("radio"===t.type){const n=t.parentNode.parentNode.querySelectorAll("input");for(let t=0;t{const e={};return Object.keys(t).forEach((n=>{m(n)?e[n]=t[n]:r('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))})),e};const Ke=t=>{Xe(t),delete t.params,delete pt.keydownHandler,delete pt.keydownTarget,delete pt.currentInstance},Xe=t=>{t.isAwaitingPromise()?(Ge(kt,t),kt.awaitingPromise.set(t,!0)):(Ge(Ce,t),Ge(kt,t))},Ge=(t,e)=>{for(const n in t)t[n].delete(e)};var qe=Object.freeze({hideLoading:Se,disableLoading:Se,getInput:function(t){const e=kt.innerParams.get(t||this),n=kt.domCache.get(t||this);return n?q(n.popup,e.input):null},close:Pe,isAwaitingPromise:function(){return!!kt.awaitingPromise.get(this)},rejectPromise:function(t){const e=Ce.swalPromiseReject.get(this);Re(this),e&&e(t)},handleAwaitingPromise:Re,closePopup:Pe,closeModal:Pe,closeToast:Pe,enableButtons:function(){Ye(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Ye(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return We(this.getInput(),!1)},disableInput:function(){return We(this.getInput(),!0)},showValidationMessage:function(t){const e=kt.domCache.get(this),n=kt.innerParams.get(this);K(e.validationMessage,t),e.validationMessage.className=S["validation-message"],n.customClass&&n.customClass.validationMessage&&J(e.validationMessage,n.customClass.validationMessage),nt(e.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",S["validation-message"]),Z(r),J(r,S.inputerror))},resetValidationMessage:function(){const t=kt.domCache.get(this);t.validationMessage&&rt(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),$(e,S.inputerror))},getProgressSteps:function(){return kt.domCache.get(this).progressSteps},update:function(t){const e=M(),n=kt.innerParams.get(this);if(!e||X(e,n.hideClass.popup))return r("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const o=Ve(t),i=Object.assign({},n,o);Ft(this,i),kt.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})},_destroy:function(){const t=kt.domCache.get(this),e=kt.innerParams.get(this);e?(t.popup&&pt.swalCloseEventFinishedCallback&&(pt.swalCloseEventFinishedCallback(),delete pt.swalCloseEventFinishedCallback),pt.deferDisposalTimer&&(clearTimeout(pt.deferDisposalTimer),delete pt.deferDisposalTimer),"function"==typeof e.didDestroy&&e.didDestroy(),Ke(this)):Xe(this)}});const Ze=(t,n)=>{const r=kt.innerParams.get(t);if(!r.input)return o('The "input" parameter is needed to be set when using returnInputValueOn'.concat(e(n)));const i=((t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return he(n);case"radio":return ge(n);case"file":return me(n);default:return e.inputAutoTrim?n.value.trim():n.value}})(t,r);r.inputValidator?Qe(t,i,n):t.getInput().checkValidity()?"deny"===n?Je(t,i):en(t,i):(t.enableButtons(),t.showValidationMessage(r.validationMessage))},Qe=(t,e,n)=>{const r=kt.innerParams.get(t);t.disableInput(),Promise.resolve().then((()=>c(r.inputValidator(e,r.validationMessage)))).then((r=>{t.enableButtons(),t.enableInput(),r?t.showValidationMessage(r):"deny"===n?Je(t,e):en(t,e)}))},Je=(t,e)=>{const n=kt.innerParams.get(t||void 0);n.showLoaderOnDeny&&de(N()),n.preDeny?(kt.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>c(n.preDeny(e,n.validationMessage)))).then((n=>{!1===n?(t.hideLoading(),Re(t)):t.closePopup({isDenied:!0,value:void 0===n?e:n})})).catch((e=>tn(t||void 0,e)))):t.closePopup({isDenied:!0,value:e})},$e=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},tn=(t,e)=>{t.rejectPromise(e)},en=(t,e)=>{const n=kt.innerParams.get(t||void 0);n.showLoaderOnConfirm&&de(),n.preConfirm?(t.resetValidationMessage(),kt.awaitingPromise.set(t||void 0,!0),Promise.resolve().then((()=>c(n.preConfirm(e,n.validationMessage)))).then((n=>{at(L())||!1===n?(t.hideLoading(),Re(t)):$e(t,void 0===n?e:n)})).catch((e=>tn(t||void 0,e)))):$e(t,e)},nn=(t,e,n)=>{e.popup.onclick=()=>{const e=kt.innerParams.get(t);e&&(rn(e)||e.timer||e.input)||n(Ht.close)}},rn=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let on=!1;const an=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(on=!0)}}},sn=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(on=!0)}}},ln=(t,e,n)=>{e.container.onclick=r=>{const o=kt.innerParams.get(t);on?on=!1:r.target===e.container&&s(o.allowOutsideClick)&&n(Ht.backdrop)}},cn=t=>t instanceof Element||(t=>"object"==typeof t&&t.jquery)(t);const un=()=>{if(pt.timeout)return(()=>{const t=F(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";const n=e/parseInt(window.getComputedStyle(t).width)*100;t.style.removeProperty("transition"),t.style.width="".concat(n,"%")})(),pt.timeout.stop()},pn=()=>{if(pt.timeout){const t=pt.timeout.start();return ct(t),t}};let dn=!1;const fn={};const hn=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const t in fn){const n=e.getAttribute(t);if(n)return void fn[t].fire({template:n})}};var gn=Object.freeze({isValidParameter:g,isUpdatableParameter:m,isDeprecatedParameter:y,argsToParams:t=>{const e={};return"object"!=typeof t[0]||cn(t[0])?["title","html","icon"].forEach(((n,r)=>{const i=t[r];"string"==typeof i||cn(i)?e[n]=i:void 0!==i&&o("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof i))})):Object.assign(e,t[0]),e},isVisible:()=>at(M()),clickConfirm:_e,clickDeny:()=>N()&&N().click(),clickCancel:()=>z()&&z().click(),getContainer:C,getPopup:M,getTitle:A,getHtmlContainer:D,getImage:j,getIcon:O,getInputLabel:()=>E(S["input-label"]),getCloseButton:H,getActions:R,getConfirmButton:T,getDenyButton:N,getCancelButton:z,getLoader:P,getFooter:B,getTimerProgressBar:F,getFocusableElements:U,getValidationMessage:L,isLoading:()=>M().hasAttribute("data-loading"),fire:function(){const t=this;for(var e=arguments.length,n=new Array(e),r=0;rpt.timeout&&pt.timeout.getTimerLeft(),stopTimer:un,resumeTimer:pn,toggleTimer:()=>{const t=pt.timeout;return t&&(t.running?un():pn())},increaseTimer:t=>{if(pt.timeout){const e=pt.timeout.increase(t);return ct(e,!0),e}},isTimerRunning:()=>pt.timeout&&pt.timeout.isRunning(),bindClickHandler:function(){fn[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,dn||(document.body.addEventListener("click",hn),dn=!0)}});let mn;class yn{constructor(){if("undefined"==typeof window)return;mn=this;for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};(t=>{!t.backdrop&&t.allowOutsideClick&&r('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)v(e),t.toast&&b(e),x(e)})(Object.assign({},e,t)),pt.currentInstance&&(pt.currentInstance._destroy(),Y()&&Ut()),pt.currentInstance=this;const n=bn(t,e);$t(n),Object.freeze(n),pt.timeout&&(pt.timeout.stop(),delete pt.timeout),clearTimeout(pt.restoreFocusTimeout);const o=xn(this);return Ft(this,n),kt.innerParams.set(this,n),vn(this,o,n)}then(t){return kt.promise.get(this).then(t)}finally(t){return kt.promise.get(this).finally(t)}}const vn=(t,e,n)=>new Promise(((r,o)=>{const i=e=>{t.closePopup({isDismissed:!0,dismiss:e})};Ce.swalPromiseResolve.set(t,r),Ce.swalPromiseReject.set(t,o),e.confirmButton.onclick=()=>(t=>{const e=kt.innerParams.get(t);t.disableButtons(),e.input?Ze(t,"confirm"):en(t,!0)})(t),e.denyButton.onclick=()=>(t=>{const e=kt.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?Ze(t,"deny"):Je(t,!1)})(t),e.cancelButton.onclick=()=>((t,e)=>{t.disableButtons(),e(Ht.cancel)})(t,i),e.closeButton.onclick=()=>i(Ht.close),((t,e,n)=>{kt.innerParams.get(t).toast?nn(t,e,n):(an(e),sn(e),ln(t,e,n))})(t,e,i),((t,e,n,r)=>{Ee(e),n.toast||(e.keydownHandler=e=>De(t,e,r),e.keydownTarget=n.keydownListenerCapture?window:M(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)})(t,pt,n,i),((t,e)=>{"select"===e.input||"radio"===e.input?ye(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(l(e.inputValue)||u(e.inputValue))&&(de(T()),ve(t,e))})(t,n),se(n),wn(pt,n,i),Sn(e,n),setTimeout((()=>{e.container.scrollTop=0}))})),bn=(t,e)=>{const n=(t=>{const e="string"==typeof t.template?document.querySelector(t.template):t.template;if(!e)return{};const n=e.content;return Zt(n),Object.assign(Wt(n),Vt(n),Kt(n),Xt(n),Gt(n),qt(n,Yt))})(t),r=Object.assign({},p,e,n,t);return r.showClass=Object.assign({},p.showClass,r.showClass),r.hideClass=Object.assign({},p.hideClass,r.hideClass),r},xn=t=>{const e={popup:M(),container:C(),actions:R(),confirmButton:T(),denyButton:N(),cancelButton:z(),loader:P(),closeButton:H(),validationMessage:L(),progressSteps:I()};return kt.domCache.set(t,e),e},wn=(t,e,n)=>{const r=F();rt(r),e.timer&&(t.timeout=new te((()=>{n("timer"),delete t.timeout}),e.timer),e.timerProgressBar&&(nt(r),G(r,e,"timerProgressBar"),setTimeout((()=>{t.timeout&&t.timeout.running&&ct(e.timer)}))))},Sn=(t,e)=>{if(!e.toast)return s(e.allowEnterKey)?void(kn(t,e)||Me(0,-1,1)):Cn()},kn=(t,e)=>e.focusDeny&&at(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&at(t.cancelButton)?(t.cancelButton.focus(),!0):!(!e.focusConfirm||!at(t.confirmButton)||(t.confirmButton.focus(),0)),Cn=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(yn.prototype,qe),Object.assign(yn,gn),Object.keys(qe).forEach((t=>{yn[t]=function(){if(mn)return mn[t](...arguments)}})),yn.DismissReason=Ht,yn.version="11.4.8";const En=yn;return En.default=En,En}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(t,e){var n=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=e);else try{n.innerHTML=e}catch(t){n.innerText=e}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},5056:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):i:this[s[0]]=u?s[1].call(this,u,s[2]):i:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):i):this[s]=u||i;p+=2}},H=function(t,e){for(var n in e)if(typeof e[n]===l&&e[n].length>0){for(var r=0;r255?B(t,255):t,this},this.setUA(n),this};W.VERSION="0.7.31",W.BROWSER=P([p,h,"major"]),W.CPU=P([g]),W.DEVICE=P([u,f,d,m,y,b,v,x,w]),W.ENGINE=W.OS=P([p,h]),typeof e!==s?(t.exports&&(e=t.exports=W),e.UAParser=W):n.amdO?(r=function(){return W}.call(e,n,e,t))===i||(t.exports=r):typeof o!==s&&(o.UAParser=W);var V=typeof o!==s&&(o.jQuery||o.Zepto);if(V&&!V.ua){var K=new W;V.ua=K.getResult(),V.ua.get=function(){return K.getUA()},V.ua.set=function(t){K.setUA(t);var e=K.getResult();for(var n in e)V.ua[n]=e[n]}}}("object"==typeof window?window:this)},9196:function(t){"use strict";t.exports=window.React},1850:function(t){"use strict";t.exports=window.ReactDOM},6292:function(t){"use strict";t.exports=window.moment},6989:function(t){"use strict";t.exports=window.wp.apiFetch},5609:function(t){"use strict";t.exports=window.wp.components},9771:function(t){"use strict";t.exports=window.wp.date},2694:function(t){"use strict";t.exports=window.wp.hooks},5736:function(t){"use strict";t.exports=window.wp.i18n}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.amdO={},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";var t=n(9196),e=n.n(t),r=n(1850),o=n.n(r),i=n(2694);function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e)}function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;d--){var f=o[d];"."===f?u(o,d):".."===f?(u(o,d),p++):p&&(u(o,d),p--)}if(!s)for(;p--;p)o.unshift("..");!s||""===o[0]||o[0]&&c(o[0])||o.unshift("");var h=o.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var t=null,e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r=0||(o[n]=t[n]);return o}n(9864),n(8679);var P=function(t){var e=I();return e.displayName=t,e},z=P("Router-History"),R=P("Router"),B=function(t){function n(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._pendingLocation=t}))),n}s(n,t),n.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var r=n.prototype;return r.componentDidMount=function(){var t=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(e){t._isMounted&&t.setState({location:e})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},r.render=function(){return e().createElement(R.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},e().createElement(z.Provider,{children:this.props.children||null,value:this.props.history}))},n}(e().Component);e().Component;var F=function(t){function e(){return t.apply(this,arguments)||this}s(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(e().Component),H={},U=0;function Y(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(H[t])return H[t];var e=T().compile(t);return U<1e4&&(H[t]=e,U++),e}(t)(e,{pretty:!0})}function W(t){var n=t.computedMatch,r=t.to,o=t.push,i=void 0!==o&&o;return e().createElement(R.Consumer,null,(function(t){t||f(!1);var o=t.history,a=t.staticContext,s=i?o.push:o.replace,c=v(n?"string"==typeof r?Y(r,n.params):l({},r,{pathname:Y(r.pathname,n.params)}):r);return a?(s(c),null):e().createElement(F,{onMount:function(){s(c)},onUpdate:function(t,e){var n,r,o=v(e.to);n=o,r=l({},c,{key:o.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&d(n.state,r.state)||s(c)},to:r})}))}var V={},K=0;function X(t,e){void 0===e&&(e={}),("string"==typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=V[n]||(V[n]={});if(r[t])return r[t];var o=[],i={regexp:T()(t,o,e),keys:o};return K<1e4&&(r[t]=i,K++),i}(n,{end:i,strict:s,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(t);if(!l)return null;var u=l[0],p=l.slice(1),d=t===u;return i&&!d?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:d,params:a.reduce((function(t,e,n){return t[e.name]=p[n],t}),{})}}),null)}var G=function(t){function n(){return t.apply(this,arguments)||this}return s(n,t),n.prototype.render=function(){var t=this;return e().createElement(R.Consumer,null,(function(n){n||f(!1);var r=t.props.location||n.location,o=l({},n,{location:r,match:t.props.computedMatch?t.props.computedMatch:t.props.path?X(r.pathname,t.props):n.match}),i=t.props,a=i.children,s=i.component,c=i.render;return Array.isArray(a)&&function(t){return 0===e().Children.count(t)}(a)&&(a=null),e().createElement(R.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:s?e().createElement(s,o):c?c(o):null:"function"==typeof a?a(o):null)}))},n}(e().Component);e().Component,e().Component;var q=e().useContext;function Z(){return q(z)}function Q(){return q(R).location}var J=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o component.","notificationx"),e}ct.Consumer;var dt=function(){return dt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0||(o[n]=t[n]);return o}function kt(t){return"number"==typeof t&&!isNaN(t)}function Ct(t){return"boolean"==typeof t}function _t(t){return"string"==typeof t}function Et(t){return"function"==typeof t}function Mt(t){return _t(t)||Et(t)?t:null}function Ot(t){return 0===t||t}var At=!("undefined"==typeof window||!window.document||!window.document.createElement);function Dt(e){return(0,t.isValidElement)(e)||_t(e)||Et(e)||kt(e)}var jt={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},It={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function Lt(n){var r=n.enter,o=n.exit,i=n.appendPosition,a=void 0!==i&&i,s=n.collapse,l=void 0===s||s,c=n.collapseDuration,u=void 0===c?300:c;return function(n){var i=n.children,s=n.position,c=n.preventExitTransition,p=n.done,d=n.nodeRef,f=n.isIn,h=a?r+"--"+s:r,g=a?o+"--"+s:o,m=(0,t.useRef)(),y=(0,t.useRef)(0);function v(t){if(t.target===d.current){var e=d.current;e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",v),e.removeEventListener("animationcancel",v),0===y.current&&(e.className=m.current)}}function b(){var t=d.current;t.removeEventListener("animationend",b),l?function(t,e,n){void 0===n&&(n=300);var r=t.scrollHeight,o=t.style;requestAnimationFrame((function(){o.minHeight="initial",o.height=r+"px",o.transition="all "+n+"ms",requestAnimationFrame((function(){o.height="0",o.padding="0",o.margin="0",setTimeout(e,n)}))}))}(t,p,u):p()}return(0,t.useLayoutEffect)((function(){!function(){var t=d.current;m.current=t.className,t.className+=" "+h,t.addEventListener("animationend",v),t.addEventListener("animationcancel",v)}()}),[]),(0,t.useEffect)((function(){f||(c?b():function(){y.current=1;var t=d.current;t.className+=" "+g,t.addEventListener("animationend",b)}())}),[f]),e().createElement(e().Fragment,null,i)}}var Tt={list:new Map,emitQueue:new Map,on:function(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off:function(t,e){if(e){var n=this.list.get(t).filter((function(t){return t!==e}));return this.list.set(t,n),this}return this.list.delete(t),this},cancelEmit:function(t){var e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit:function(t){for(var e=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o=1?t.targetTouches[0].clientX:t.clientX}function zt(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function Rt(e){var n=e.closeToast,r=e.theme,o=e.ariaLabel,i=void 0===o?"close":o;return(0,t.createElement)("button",{className:"Toastify__close-button Toastify__close-button--"+r,type:"button",onClick:function(t){t.stopPropagation(),n(t)},"aria-label":i},(0,t.createElement)("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,t.createElement)("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function Bt(e){var n,r,o=e.delay,i=e.isRunning,a=e.closeToast,s=e.type,l=e.hide,c=e.className,u=e.style,p=e.controlledProgress,d=e.progress,f=e.rtl,h=e.isIn,g=e.theme,m=wt({},u,{animationDuration:o+"ms",animationPlayState:i?"running":"paused",opacity:l?0:1});p&&(m.transform="scaleX("+d+")");var y=xt("Toastify__progress-bar",p?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+g,"Toastify__progress-bar--"+s,((n={})["Toastify__progress-bar--rtl"]=f,n)),v=Et(c)?c({rtl:f,type:s,defaultClassName:y}):xt(y,c),b=((r={})[p&&d>=1?"onTransitionEnd":"onAnimationEnd"]=p&&d<1?null:function(){h&&a()},r);return(0,t.createElement)("div",Object.assign({role:"progressbar","aria-hidden":l?"true":"false","aria-label":"notification timer",className:v,style:m},b))}Bt.defaultProps={type:It.DEFAULT,hide:!1};var Ft=["theme","type"],Ht=function(e){var n=e.theme,r=e.type,o=St(e,Ft);return(0,t.createElement)("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===n?"currentColor":"var(--toastify-icon-color-"+r+")"},o))},Ut={info:function(e){return(0,t.createElement)(Ht,Object.assign({},e),(0,t.createElement)("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return(0,t.createElement)(Ht,Object.assign({},e),(0,t.createElement)("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return(0,t.createElement)(Ht,Object.assign({},e),(0,t.createElement)("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return(0,t.createElement)(Ht,Object.assign({},e),(0,t.createElement)("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return(0,t.createElement)("div",{className:"Toastify__spinner"})}},Yt=function(e){var n,r,o=function(e){var n=(0,t.useState)(!1),r=n[0],o=n[1],i=(0,t.useState)(!1),a=i[0],s=i[1],l=(0,t.useRef)(null),c=(0,t.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=(0,t.useRef)(e),p=e.autoClose,d=e.pauseOnHover,f=e.closeToast,h=e.onClick,g=e.closeOnClick;function m(t){if(e.draggable){c.didMove=!1,document.addEventListener("mousemove",x),document.addEventListener("mouseup",w),document.addEventListener("touchmove",x),document.addEventListener("touchend",w);var n=l.current;c.canCloseOnClick=!0,c.canDrag=!0,c.boundingRect=n.getBoundingClientRect(),n.style.transition="",c.x=Pt(t.nativeEvent),c.y=zt(t.nativeEvent),"x"===e.draggableDirection?(c.start=c.x,c.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(c.start=c.y,c.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function y(){if(c.boundingRect){var t=c.boundingRect,n=t.top,r=t.bottom,o=t.left,i=t.right;e.pauseOnHover&&c.x>=o&&c.x<=i&&c.y>=n&&c.y<=r?b():v()}}function v(){o(!0)}function b(){o(!1)}function x(t){var n=l.current;c.canDrag&&n&&(c.didMove=!0,r&&b(),c.x=Pt(t),c.y=zt(t),"x"===e.draggableDirection?c.delta=c.x-c.start:c.delta=c.y-c.start,c.start!==c.x&&(c.canCloseOnClick=!1),n.style.transform="translate"+e.draggableDirection+"("+c.delta+"px)",n.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance)))}function w(){document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",w),document.removeEventListener("touchmove",x),document.removeEventListener("touchend",w);var t=l.current;if(c.canDrag&&c.didMove&&t){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return s(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform="translate"+e.draggableDirection+"(0)",t.style.opacity="1"}}(0,t.useEffect)((function(){u.current=e})),(0,t.useEffect)((function(){return l.current&&l.current.addEventListener("d",v,{once:!0}),Et(e.onOpen)&&e.onOpen((0,t.isValidElement)(e.children)&&e.children.props),function(){var e=u.current;Et(e.onClose)&&e.onClose((0,t.isValidElement)(e.children)&&e.children.props)}}),[]),(0,t.useEffect)((function(){return e.pauseOnFocusLoss&&(document.hasFocus()||b(),window.addEventListener("focus",v),window.addEventListener("blur",b)),function(){e.pauseOnFocusLoss&&(window.removeEventListener("focus",v),window.removeEventListener("blur",b))}}),[e.pauseOnFocusLoss]);var S={onMouseDown:m,onTouchStart:m,onMouseUp:y,onTouchEnd:y};return p&&d&&(S.onMouseEnter=b,S.onMouseLeave=v),g&&(S.onClick=function(t){h&&h(t),c.canCloseOnClick&&f()}),{playToast:v,pauseToast:b,isRunning:r,preventExitTransition:a,toastRef:l,eventHandlers:S}}(e),i=o.isRunning,a=o.preventExitTransition,s=o.toastRef,l=o.eventHandlers,c=e.closeButton,u=e.children,p=e.autoClose,d=e.onClick,f=e.type,h=e.hideProgressBar,g=e.closeToast,m=e.transition,y=e.position,v=e.className,b=e.style,x=e.bodyClassName,w=e.bodyStyle,S=e.progressClassName,k=e.progressStyle,C=e.updateId,_=e.role,E=e.progress,M=e.rtl,O=e.toastId,A=e.deleteToast,D=e.isIn,j=e.isLoading,I=e.icon,L=e.theme,T=xt("Toastify__toast","Toastify__toast-theme--"+L,"Toastify__toast--"+f,((n={})["Toastify__toast--rtl"]=M,n)),N=Et(v)?v({rtl:M,position:y,type:f,defaultClassName:T}):xt(T,v),P=!!E,z=Ut[f],R={theme:L,type:f},B=z&&z(R);return!1===I?B=void 0:Et(I)?B=I(R):(0,t.isValidElement)(I)?B=(0,t.cloneElement)(I,R):_t(I)?B=I:j&&(B=Ut.spinner()),(0,t.createElement)(m,{isIn:D,done:A,position:y,preventExitTransition:a,nodeRef:s},(0,t.createElement)("div",Object.assign({id:O,onClick:d,className:N},l,{style:b,ref:s}),(0,t.createElement)("div",Object.assign({},D&&{role:_},{className:Et(x)?x({type:f}):xt("Toastify__toast-body",x),style:w}),B&&(0,t.createElement)("div",{className:xt("Toastify__toast-icon",(r={},r["Toastify--animate-icon Toastify__zoom-enter"]=!j,r))},B),(0,t.createElement)("div",null,u)),function(e){if(e){var n={closeToast:g,type:f,theme:L};return Et(e)?e(n):(0,t.isValidElement)(e)?(0,t.cloneElement)(e,n):void 0}}(c),(p||P)&&(0,t.createElement)(Bt,Object.assign({},C&&!P?{key:"pb-"+C}:{},{rtl:M,theme:L,delay:p,isRunning:i,isIn:D,closeToast:g,hide:h,type:f,style:k,className:S,controlledProgress:P,progress:E}))))},Wt=function(e){var n=function(e){var n=(0,t.useReducer)((function(t){return t+1}),0)[1],r=(0,t.useState)([]),o=r[0],i=r[1],a=(0,t.useRef)(null),s=(0,t.useRef)(new Map).current,l=function(t){return-1!==o.indexOf(t)},c=(0,t.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:l,getToast:function(t){return s.get(t)}}).current;function u(t){var e=t.containerId;!c.props.limit||e&&c.containerId!==e||(c.count-=c.queue.length,c.queue=[])}function p(t){i((function(e){return Ot(t)?e.filter((function(e){return e!==t})):[]}))}function d(){var t=c.queue.shift();h(t.toastContent,t.toastProps,t.staleId)}function f(e,r){var o=r.delay,i=r.staleId,l=St(r,Nt);if(Dt(e)&&!function(t){return!a.current||c.props.enableMultiContainer&&t.containerId!==c.props.containerId||s.has(t.toastId)&&null==t.updateId}(l)){var u=l.toastId,f=l.updateId,g=l.data,m=c.props,y=function(){return p(u)},v=null==f;v&&c.count++;var b,x,w={toastId:u,updateId:f,isLoading:l.isLoading,theme:l.theme||m.theme,icon:null!=l.icon?l.icon:m.icon,isIn:!1,key:l.key||c.toastKey++,type:l.type,closeToast:y,closeButton:l.closeButton,rtl:m.rtl,position:l.position||m.position,transition:l.transition||m.transition,className:Mt(l.className||m.toastClassName),bodyClassName:Mt(l.bodyClassName||m.bodyClassName),style:l.style||m.toastStyle,bodyStyle:l.bodyStyle||m.bodyStyle,onClick:l.onClick||m.onClick,pauseOnHover:Ct(l.pauseOnHover)?l.pauseOnHover:m.pauseOnHover,pauseOnFocusLoss:Ct(l.pauseOnFocusLoss)?l.pauseOnFocusLoss:m.pauseOnFocusLoss,draggable:Ct(l.draggable)?l.draggable:m.draggable,draggablePercent:l.draggablePercent||m.draggablePercent,draggableDirection:l.draggableDirection||m.draggableDirection,closeOnClick:Ct(l.closeOnClick)?l.closeOnClick:m.closeOnClick,progressClassName:Mt(l.progressClassName||m.progressClassName),progressStyle:l.progressStyle||m.progressStyle,autoClose:!l.isLoading&&(b=l.autoClose,x=m.autoClose,!1===b||kt(b)&&b>0?b:x),hideProgressBar:Ct(l.hideProgressBar)?l.hideProgressBar:m.hideProgressBar,progress:l.progress,role:l.role||m.role,deleteToast:function(){s.delete(u);var t=c.queue.length;if(c.count=Ot(u)?c.count-1:c.count-c.displayedToast,c.count<0&&(c.count=0),t>0){var e=Ot(u)?1:c.props.limit;if(1===t||1===e)c.displayedToast++,d();else{var r=e>t?t:e;c.displayedToast=r;for(var o=0;o0&&c.count>m.limit&&v?c.queue.push({toastContent:S,toastProps:w,staleId:i}):kt(o)&&o>0?setTimeout((function(){h(S,w,i)}),o):h(S,w,i)}}function h(t,e,n){var r=e.toastId;n&&s.delete(n),s.set(r,{content:t,props:e}),i((function(t){return[].concat(t,[r]).filter((function(t){return t!==n}))}))}return(0,t.useEffect)((function(){return c.containerId=e.containerId,Tt.cancelEmit(3).on(0,f).on(1,(function(t){return a.current&&p(t)})).on(5,u).emit(2,c),function(){return Tt.emit(3,c)}}),[]),(0,t.useEffect)((function(){c.isToastActive=l,c.displayedToast=o.length,Tt.emit(4,o.length,e.containerId)}),[o]),(0,t.useEffect)((function(){c.props=e})),{getToastToRender:function(t){var n=new Map,r=Array.from(s.values());return e.newestOnTop&&r.reverse(),r.forEach((function(t){var e=t.props.position;n.has(e)||n.set(e,[]),n.get(e).push(t)})),Array.from(n,(function(e){return t(e[0],e[1])}))},containerRef:a,isToastActive:l}}(e),r=n.getToastToRender,o=n.containerRef,i=n.isToastActive,a=e.className,s=e.style,l=e.rtl,c=e.containerId;function u(t){var e,n=xt("Toastify__toast-container","Toastify__toast-container--"+t,((e={})["Toastify__toast-container--rtl"]=l,e));return Et(a)?a({position:t,rtl:l,defaultClassName:n}):xt(n,Mt(a))}return(0,t.createElement)("div",{ref:o,className:"Toastify",id:c},r((function(e,n){var r=n.length?wt({},s):wt({},s,{pointerEvents:"none"});return(0,t.createElement)("div",{className:u(e),style:r,key:"container-"+e},n.map((function(e){var n=e.content,r=e.props;return(0,t.createElement)(Yt,Object.assign({},r,{isIn:i(r.toastId),key:"toast-"+r.key,closeButton:!0===r.closeButton?Rt:r.closeButton}),n)})))})))};Wt.defaultProps={position:jt.TOP_RIGHT,transition:Lt({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:Rt,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var Vt,Kt,Xt,Gt=new Map,qt=[],Zt=!1;function Qt(){return Math.random().toString(36).substring(2,9)}function Jt(t){return t&&(_t(t.toastId)||kt(t.toastId))?t.toastId:Qt()}function $t(e,n){return Gt.size>0?Tt.emit(0,e,n):(qt.push({content:e,options:n}),Zt&&At&&(Zt=!1,Kt=document.createElement("div"),document.body.appendChild(Kt),(0,r.render)((0,t.createElement)(Wt,Object.assign({},Xt)),Kt))),n.toastId}function te(t,e){return wt({},e,{type:e&&e.type||t,toastId:Jt(e)})}function ee(t){return function(e,n){return $t(e,te(t,n))}}function ne(t,e){return $t(t,te(It.DEFAULT,e))}ne.loading=function(t,e){return $t(t,te(It.DEFAULT,wt({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},e)))},ne.promise=function(t,e,n){var r,o=e.pending,i=e.error,a=e.success;o&&(r=_t(o)?ne.loading(o,n):ne.loading(o.render,wt({},n,o)));var s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=function(t,e,o){if(null!=e){var i=wt({type:t},s,n,{data:o}),a=_t(e)?{render:e}:e;return r?ne.update(r,wt({},i,a)):ne(a.render,wt({},i,a)),o}ne.dismiss(r)},c=Et(t)?t():t;return c.then((function(t){return l("success",a,t)})).catch((function(t){return l("error",i,t)})),c},ne.success=ee(It.SUCCESS),ne.info=ee(It.INFO),ne.error=ee(It.ERROR),ne.warning=ee(It.WARNING),ne.warn=ne.warning,ne.dark=function(t,e){return $t(t,te(It.DEFAULT,wt({theme:"dark"},e)))},ne.dismiss=function(t){return Tt.emit(1,t)},ne.clearWaitingQueue=function(t){return void 0===t&&(t={}),Tt.emit(5,t)},ne.isActive=function(t){var e=!1;return Gt.forEach((function(n){n.isToastActive&&n.isToastActive(t)&&(e=!0)})),e},ne.update=function(t,e){void 0===e&&(e={}),setTimeout((function(){var n=function(t,e){var n=e.containerId,r=Gt.get(n||Vt);return r?r.getToast(t):null}(t,e);if(n){var r=n.props,o=n.content,i=wt({},r,e,{toastId:e.toastId||t,updateId:Qt()});i.toastId!==t&&(i.staleId=t);var a=i.render||o;delete i.render,$t(a,i)}}),0)},ne.done=function(t){ne.update(t,{progress:1})},ne.onChange=function(t){return Et(t)&&Tt.on(4,t),function(){Et(t)&&Tt.off(4,t)}},ne.configure=function(t){void 0===t&&(t={}),Zt=!0,Xt=t},ne.POSITION=jt,ne.TYPE=It,Tt.on(2,(function(t){Vt=t.containerId||t,Gt.set(Vt,t),qt.forEach((function(t){Tt.emit(0,t.content,t.options)})),qt=[]})).on(3,(function(t){Gt.delete(t.containerId||t),0===Gt.size&&Tt.off(0).off(1).off(5),At&&Kt&&document.body.removeChild(Kt)}));var re=function(){return re=Object.assign||function(t){for(var e,n=1,r=arguments.length;nPremium Version to use this feature.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx")),(0,fe.isObject)(t)&&(l=t,t=t.message||t.html),void 0===(e=he(he({showConfirmButton:!1,showDenyButton:!0,type:"warning",title:(0,lt.__)("Opps...","notificationx"),customClass:{actions:"nx-pro-alert-actions"},denyButtonText:"Close"},l),{html:t}))&&(e={}),vt().mixin(he({target:null!==(n=null==e?void 0:e.target)&&void 0!==n?n:"#notificationx",type:null!==(r=null==e?void 0:e.type)&&void 0!==r?r:"success",html:null==e?void 0:e.html,title:null!==(o=null==e?void 0:e.title)&&void 0!==o?o:(0,lt.__)("Title Goes Here: title","notificationx"),text:null!==(i=null==e?void 0:e.text)&&void 0!==i?i:(0,lt.__)("Text Goes Here: text","notificationx"),icon:null!==(a=null==e?void 0:e.icon)&&void 0!==a?a:(null==e?void 0:e.type)||"success",timer:null!==(s=null==e?void 0:e.timer)&&void 0!==s?s:null},e))},ye=function(t,e){void 0===t&&(t=""),void 0===e&&(e=!0);var n=pt();return e?n.assets.admin+t:n.assets.public+t},ve=ge,be=function(){return be=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0?Ze(sn,--on):0,nn--,10===an&&(nn=1,en--),an}function pn(){return an=on2||gn(an)>3?"":" "}function xn(t,e){for(;--e&&pn()&&!(an<48||an>102||an>57&&an<65||an>70&&an<97););return hn(t,fn()+(e<6&&32==dn()&&32==pn()))}function wn(t){for(;pn();)switch(an){case t:return on;case 34:case 39:34!==t&&39!==t&&wn(an);break;case 40:41===t&&wn(t);break;case 92:pn()}return on}function Sn(t,e){for(;pn()&&t+an!==57&&(t+an!==84||47!==dn()););return"/*"+hn(e,on-1)+"*"+Ve(47===t?t:pn())}function kn(t){for(;!gn(dn());)pn();return hn(t,on)}var Cn="-ms-",En="-moz-",Mn="-webkit-",On="comm",An="rule",Dn="decl",jn="@keyframes";function In(t,e){for(var n="",r=$e(t),o=0;o6)switch(Ze(t,e+1)){case 109:if(45!==Ze(t,e+4))break;case 102:return Ge(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+En+(108==Ze(t,e+3)?"$3":"$2-$3"))+t;case 115:return~qe(t,"stretch")?Tn(Ge(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==Ze(t,e+1))break;case 6444:switch(Ze(t,Je(t)-3-(~qe(t,"!important")&&10))){case 107:return Ge(t,":",":"+Mn)+t;case 101:return Ge(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Mn+(45===Ze(t,14)?"inline-":"")+"box$3$1"+Mn+"$2$3$1"+Cn+"$2box$3")+t}break;case 5936:switch(Ze(t,e+11)){case 114:return Mn+t+Cn+Ge(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Mn+t+Cn+Ge(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Mn+t+Cn+Ge(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Mn+t+Cn+t+t}return t}function Nn(t){return yn(Pn("",null,null,null,[""],t=mn(t),0,[0],t))}function Pn(t,e,n,r,o,i,a,s,l){for(var c=0,u=0,p=a,d=0,f=0,h=0,g=1,m=1,y=1,v=0,b="",x=o,w=i,S=r,k=b;m;)switch(h=v,v=pn()){case 40:if(108!=h&&58==k.charCodeAt(p-1)){-1!=qe(k+=Ge(vn(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=vn(v);break;case 9:case 10:case 13:case 32:k+=bn(h);break;case 92:k+=xn(fn()-1,7);continue;case 47:switch(dn()){case 42:case 47:tn(Rn(Sn(pn(),fn()),e,n),l);break;default:k+="/"}break;case 123*g:s[c++]=Je(k)*y;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:f>0&&Je(k)-p&&tn(f>32?Bn(k+";",r,n,p-1):Bn(Ge(k," ","")+";",r,n,p-2),l);break;case 59:k+=";";default:if(tn(S=zn(k,e,n,c,u,o,s,b,x=[],w=[],p),i),123===v)if(0===u)Pn(k,e,S,S,x,i,p,s,w);else switch(d){case 100:case 109:case 115:Pn(t,S,S,r&&tn(zn(t,S,S,0,0,o,s,b,o,x=[],p),w),o,w,p,s,r?x:w);break;default:Pn(k,S,S,S,[""],w,0,s,w)}}c=u=f=0,g=y=1,b=k="",p=a;break;case 58:p=1+Je(k),f=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==un())continue;switch(k+=Ve(v),v*g){case 38:y=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(Je(k)-1)*y,y=1;break;case 64:45===dn()&&(k+=vn(pn())),d=dn(),u=p=Je(b=k+=kn(fn())),v++;break;case 45:45===h&&2==Je(k)&&(g=0)}}return i}function zn(t,e,n,r,o,i,a,s,l,c,u){for(var p=o-1,d=0===o?i:[""],f=$e(d),h=0,g=0,m=0;h0?d[y]+" "+v:Ge(v,/&\f/g,d[y])))&&(l[m++]=b);return ln(t,e,n,0===o?An:s,l,c,u)}function Rn(t,e,n){return ln(t,e,n,On,Ve(an),Qe(t,2,-2),0)}function Bn(t,e,n,r){return ln(t,e,n,Dn,Qe(t,0,r),Qe(t,r+1,-1),r)}var Fn=function(t,e,n){for(var r=0,o=0;r=o,o=dn(),38===r&&12===o&&(e[n]=1),!gn(o);)pn();return hn(t,on)},Hn=new WeakMap,Un=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||Hn.get(n))&&!r){Hn.set(t,!0);for(var o=[],i=function(t,e){return yn(function(t,e){var n=-1,r=44;do{switch(gn(r)){case 0:38===r&&12===dn()&&(e[n]=1),t[n]+=Fn(on-1,e,n);break;case 2:t[n]+=vn(r);break;case 4:if(44===r){t[++n]=58===dn()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=Ve(r)}}while(r=pn());return t}(mn(t),e))}(e,o),a=n.props,s=0,l=0;s-1&&!t.return)switch(t.type){case Dn:t.return=Tn(t.value,t.length);break;case jn:return In([cn(t,{value:Ge(t.value,"@","@"+Mn)})],r);case An:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(e)){case":read-only":case":read-write":return In([cn(t,{props:[Ge(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return In([cn(t,{props:[Ge(e,/:(plac\w+)/,":-webkit-input-$1")]}),cn(t,{props:[Ge(e,/:(plac\w+)/,":-moz-$1")]}),cn(t,{props:[Ge(e,/:(plac\w+)/,Cn+"input-$1")]})],r)}return""}))}}],Vn=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r,o,i=t.stylisPlugins||Wn,a={},s=[];r=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Zn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Qn=function(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}},Jn=/[A-Z]|^ms/g,$n=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tr=function(t){return 45===t.charCodeAt(1)},er=function(t){return null!=t&&"boolean"!=typeof t},nr=Qn((function(t){return tr(t)?t:t.replace(Jn,"-$&").toLowerCase()})),rr=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace($n,(function(t,e,n){return ir={name:e,styles:n,next:ir},e}))}return 1===Zn[t]||tr(t)||"number"!=typeof e||0===e?e:e+"px"};function or(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ir={name:n.name,styles:n.styles,next:ir},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ir={name:r.name,styles:r.styles,next:ir},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var o=0;o=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function _r(t){return _r="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},_r(t)}var Er=n(5639);function Mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t,e){for(var n=0;n-1}function Wr(t){return Yr(t)?window.pageYOffset:t.scrollTop}function Vr(t,e){Yr(t)?window.scrollTo(0,e):t.scrollTop=e}function Kr(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function Xr(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Rr,o=Wr(t),i=e-o,a=10,s=0;function l(){var e=Kr(s+=a,o,i,n);Vr(t,e),s=f)return{placement:"bottom",maxHeight:e};if(k>=f&&!a)return i&&Xr(l,C,E),{placement:"bottom",maxHeight:e};if(!a&&k>=r||a&&w>=r)return i&&Xr(l,C,E),{placement:"bottom",maxHeight:a?w-v:k-v};if("auto"===o||a){var M=e,O=a?x:S;return O>=r&&(M=Math.min(O-v-s.controlHeight,e)),{placement:"top",maxHeight:M}}if("bottom"===o)return i&&Vr(l,C),{placement:"bottom",maxHeight:e};break;case"top":if(x>=f)return{placement:"top",maxHeight:e};if(S>=f&&!a)return i&&Xr(l,_,E),{placement:"top",maxHeight:e};if(!a&&S>=r||a&&x>=r){var A=e;return(!a&&S>=r||a&&x>=r)&&(A=a?x-b:S-b),i&&Xr(l,_,E),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var to=function(t){return"auto"===t?"bottom":t},eo=(0,t.createContext)({getPortalPlacement:null}),no=function(t){Dr(n,t);var e=zr(n);function n(){var t;Mr(this,n);for(var r=arguments.length,o=new Array(r),i=0;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n0,g=p-d-c,m=!1;g>e&&s.current&&(o&&o(t),s.current=!1),h&&l.current&&(a&&a(t),l.current=!1),h&&e>g?(r&&!s.current&&r(t),f.scrollTop=p,m=!0,s.current=!0):!h&&-e>c&&(i&&!l.current&&i(t),f.scrollTop=0,m=!0,l.current=!0),m&&function(t){t.preventDefault(),t.stopPropagation()}(t)}}),[]),d=(0,t.useCallback)((function(t){p(t,t.deltaY)}),[p]),f=(0,t.useCallback)((function(t){c.current=t.changedTouches[0].clientY}),[]),h=(0,t.useCallback)((function(t){var e=c.current-t.changedTouches[0].clientY;p(t,e)}),[p]),g=(0,t.useCallback)((function(t){if(t){var e=!!Jr&&{passive:!1};"function"==typeof t.addEventListener&&t.addEventListener("wheel",d,e),"function"==typeof t.addEventListener&&t.addEventListener("touchstart",f,e),"function"==typeof t.addEventListener&&t.addEventListener("touchmove",h,e)}}),[h,f,d]),m=(0,t.useCallback)((function(t){t&&("function"==typeof t.removeEventListener&&t.removeEventListener("wheel",d,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchstart",f,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchmove",h,!1))}),[h,f,d]);return(0,t.useEffect)((function(){if(n){var t=u.current;return g(t),function(){m(t)}}}),[n,g,m]),function(t){u.current=t}}({isEnabled:void 0===i||i,onBottomArrive:n.onBottomArrive,onBottomLeave:n.onBottomLeave,onTopArrive:n.onTopArrive,onTopLeave:n.onTopLeave}),s=function(e){var n=e.isEnabled,r=e.accountForScrollbars,o=void 0===r||r,i=(0,t.useRef)({}),a=(0,t.useRef)(null),s=(0,t.useCallback)((function(t){if(ti){var e=document.body,n=e&&e.style;if(o&&Go.forEach((function(t){var e=n&&n[t];i.current[t]=e})),o&&ei<1){var r=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(qo).forEach((function(t){var e=qo[t];n&&(n[t]=e)})),n&&(n.paddingRight="".concat(s,"px"))}e&&$o()&&(e.addEventListener("touchmove",Zo,ni),t&&(t.addEventListener("touchstart",Jo,ni),t.addEventListener("touchmove",Qo,ni))),ei+=1}}),[]),l=(0,t.useCallback)((function(t){if(ti){var e=document.body,n=e&&e.style;ei=Math.max(ei-1,0),o&&ei<1&&Go.forEach((function(t){var e=i.current[t];n&&(n[t]=e)})),e&&$o()&&(e.removeEventListener("touchmove",Zo,ni),t&&(t.removeEventListener("touchstart",Jo,ni),t.removeEventListener("touchmove",Qo,ni)))}}),[]);return(0,t.useEffect)((function(){if(n){var t=a.current;return s(t),function(){l(t)}}}),[n,s,l]),function(t){a.current=t}}({isEnabled:o});return vr(e().Fragment,null,o&&vr("div",{onClick:ri,css:oi}),r((function(t){a(t),s(t)})))}var ai={clearIndicator:bo,container:function(t){var e=t.isDisabled;return{label:"container",direction:t.isRtl?"rtl":null,pointerEvents:e?"none":null,position:"relative"}},control:function(t){var e=t.isDisabled,n=t.isFocused,r=t.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:e?o.neutral5:o.neutral0,borderColor:e?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:vo,group:function(t){var e=t.theme.spacing;return{paddingBottom:2*e.baseUnit,paddingTop:2*e.baseUnit}},groupHeading:function(t){var e=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*e.baseUnit,paddingRight:3*e.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:e?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:e?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(t){var e=t.isFocused,n=t.size,r=t.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:e?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:io,menu:function(t){var e,n=t.placement,r=t.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return jr(e={label:"menu"},function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),jr(e,"backgroundColor",a.neutral0),jr(e,"borderRadius",o),jr(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),jr(e,"marginBottom",i.menuGutter),jr(e,"marginTop",i.menuGutter),jr(e,"position","absolute"),jr(e,"width","100%"),jr(e,"zIndex",1),e},menuList:function(t){var e=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:e,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(t){var e=t.rect,n=t.offset,r=t.position;return{left:e.left,position:r,top:n,width:e.width,zIndex:1}},multiValue:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius;return{label:"multiValue",backgroundColor:e.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(t){var e=t.theme,n=e.borderRadius,r=e.colors,o=t.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius,o=e.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:t.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:oo,option:function(t){var e=t.isDisabled,n=t.isFocused,r=t.isSelected,o=t.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:e?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!e&&(r?a.primary:a.primary50)}}},placeholder:function(t){var e=t.theme,n=e.spacing;return{label:"placeholder",color:e.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:e?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(t){var e=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},si={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},li={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Gr(),captureMenuScroll:!Gr(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){var n=Tr({ignoreCase:!0,ignoreAccents:!0,stringify:Ko,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?Vo(e):e,c=a?Vo(i(t)):i(t);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=Wo(l),c=Yo(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(t){return!!t.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function ci(t,e,n,r){return{type:"option",data:e,isDisabled:gi(t,e,n),isSelected:mi(t,e,n),label:fi(t,e),value:hi(t,e),index:r}}function ui(t,e){return t.options.map((function(n,r){if(n.options){var o=n.options.map((function(n,r){return ci(t,n,e,r)})).filter((function(e){return di(t,e)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=ci(t,n,e,r);return di(t,i)?i:void 0})).filter((function(t){return!!t}))}function pi(t){return t.reduce((function(t,e){return"group"===e.type?t.push.apply(t,Do(e.options.map((function(t){return t.data})))):t.push(e.data),t}),[])}function di(t,e){var n=t.inputValue,r=void 0===n?"":n,o=e.data,i=e.isSelected,a=e.label,s=e.value;return(!vi(t)||!i)&&yi(t,{label:a,value:s,data:o},r)}var fi=function(t,e){return t.getOptionLabel(e)},hi=function(t,e){return t.getOptionValue(e)};function gi(t,e,n){return"function"==typeof t.isOptionDisabled&&t.isOptionDisabled(e,n)}function mi(t,e,n){if(n.indexOf(e)>-1)return!0;if("function"==typeof t.isOptionSelected)return t.isOptionSelected(e,n);var r=hi(t,e);return n.some((function(e){return hi(t,e)===r}))}function yi(t,e,n){return!t.filterOption||t.filterOption(e,n)}var vi=function(t){var e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},bi=1,xi=function(t){Dr(r,t);var n=zr(r);function r(t){var e;return Mr(this,r),(e=n.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},e.blockOptionHover=!1,e.isComposing=!1,e.commonProps=void 0,e.initialTouchX=0,e.initialTouchY=0,e.instancePrefix="",e.openAfterFocus=!1,e.scrollToFocusedOptionOnUpdate=!1,e.userIsDragging=void 0,e.controlRef=null,e.getControlRef=function(t){e.controlRef=t},e.focusedOptionRef=null,e.getFocusedOptionRef=function(t){e.focusedOptionRef=t},e.menuListRef=null,e.getMenuListRef=function(t){e.menuListRef=t},e.inputRef=null,e.getInputRef=function(t){e.inputRef=t},e.focus=e.focusInput,e.blur=e.blurInput,e.onChange=function(t,n){var r=e.props,o=r.onChange,i=r.name;n.name=i,e.ariaOnChange(t,n),o(t,n)},e.setValue=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:void 0,o=e.props,i=o.closeMenuOnSelect,a=o.isMulti;e.onInputChange("",{action:"set-value"}),i&&(e.setState({inputIsHiddenAfterUpdate:!a}),e.onMenuClose()),e.setState({clearFocusValueOnUpdate:!0}),e.onChange(t,{action:n,option:r})},e.selectOption=function(t){var n=e.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=e.state.selectValue,s=o&&e.isOptionSelected(t,a),l=e.isOptionDisabled(t,a);if(s){var c=e.getOptionValue(t);e.setValue(a.filter((function(t){return e.getOptionValue(t)!==c})),"deselect-option",t)}else{if(l)return void e.ariaOnChange(t,{action:"select-option",name:i});o?e.setValue([].concat(Do(a),[t]),"select-option",t):e.setValue(t,"select-option")}r&&e.blurInput()},e.removeValue=function(t){var n=e.props.isMulti,r=e.state.selectValue,o=e.getOptionValue(t),i=r.filter((function(t){return e.getOptionValue(t)!==o})),a=n?i:i[0]||null;e.onChange(a,{action:"remove-value",removedValue:t}),e.focusInput()},e.clearValue=function(){var t=e.state.selectValue;e.onChange(e.props.isMulti?[]:null,{action:"clear",removedValues:t})},e.popValue=function(){var t=e.props.isMulti,n=e.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=t?o:o[0]||null;e.onChange(i,{action:"pop-value",removedValue:r})},e.getValue=function(){return e.state.selectValue},e.cx=function(){for(var t=arguments.length,n=new Array(t),r=0;r5||i>5}},e.onTouchEnd=function(t){e.userIsDragging||(e.controlRef&&!e.controlRef.contains(t.target)&&e.menuListRef&&!e.menuListRef.contains(t.target)&&e.blurInput(),e.initialTouchX=0,e.initialTouchY=0)},e.onControlTouchEnd=function(t){e.userIsDragging||e.onControlMouseDown(t)},e.onClearIndicatorTouchEnd=function(t){e.userIsDragging||e.onClearIndicatorMouseDown(t)},e.onDropdownIndicatorTouchEnd=function(t){e.userIsDragging||e.onDropdownIndicatorMouseDown(t)},e.handleInputChange=function(t){var n=t.currentTarget.value;e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange(n,{action:"input-change"}),e.props.menuIsOpen||e.onMenuOpen()},e.onInputFocus=function(t){e.props.onFocus&&e.props.onFocus(t),e.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(e.openAfterFocus||e.props.openMenuOnFocus)&&e.openMenu("first"),e.openAfterFocus=!1},e.onInputBlur=function(t){e.menuListRef&&e.menuListRef.contains(document.activeElement)?e.inputRef.focus():(e.props.onBlur&&e.props.onBlur(t),e.onInputChange("",{action:"input-blur"}),e.onMenuClose(),e.setState({focusedValue:null,isFocused:!1}))},e.onOptionHover=function(t){e.blockOptionHover||e.state.focusedOption===t||e.setState({focusedOption:t})},e.shouldHideSelectedOptions=function(){return vi(e.props)},e.onKeyDown=function(t){var n=e.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,l=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,p=n.tabSelectsValue,d=n.openMenuOnFocus,f=e.state,h=f.focusedOption,g=f.focusedValue,m=f.selectValue;if(!(l||"function"==typeof u&&(u(t),t.defaultPrevented))){switch(e.blockOptionHover=!0,t.key){case"ArrowLeft":if(!r||a)return;e.focusValue("previous");break;case"ArrowRight":if(!r||a)return;e.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)e.removeValue(g);else{if(!o)return;r?e.popValue():s&&e.clearValue()}break;case"Tab":if(e.isComposing)return;if(t.shiftKey||!c||!p||!h||d&&e.isOptionSelected(h,m))return;e.selectOption(h);break;case"Enter":if(229===t.keyCode)break;if(c){if(!h)return;if(e.isComposing)return;e.selectOption(h);break}return;case"Escape":c?(e.setState({inputIsHiddenAfterUpdate:!1}),e.onInputChange("",{action:"menu-close"}),e.onMenuClose()):s&&i&&e.clearValue();break;case" ":if(a)return;if(!c){e.openMenu("first");break}if(!h)return;e.selectOption(h);break;case"ArrowUp":c?e.focusOption("up"):e.openMenu("last");break;case"ArrowDown":c?e.focusOption("down"):e.openMenu("first");break;case"PageUp":if(!c)return;e.focusOption("pageup");break;case"PageDown":if(!c)return;e.focusOption("pagedown");break;case"Home":if(!c)return;e.focusOption("first");break;case"End":if(!c)return;e.focusOption("last");break;default:return}t.preventDefault()}},e.instancePrefix="react-select-"+(e.props.instanceId||++bi),e.state.selectValue=Hr(t.value),e}return Ar(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(t){var e,n,r,o,i,a=this.props,s=a.isDisabled,l=a.menuIsOpen,c=this.state.isFocused;(c&&!s&&t.isDisabled||c&&l&&!t.menuIsOpen)&&this.focusInput(),c&&s&&!t.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(e=this.menuListRef,n=this.focusedOptionRef,r=e.getBoundingClientRect(),o=n.getBoundingClientRect(),i=n.offsetHeight/3,o.bottom+i>r.bottom?Vr(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+i,e.scrollHeight)):o.top-i-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return e.onMenuOpen()}))}},{key:"focusValue",value:function(t){var e=this.state,n=e.selectValue,r=e.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(t){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===t?o=i>0?i-1:r.length-1:"down"===t?o=(i+1)%r.length:"pageup"===t?(o=i-e)<0&&(o=0):"pagedown"===t?(o=i+e)>r.length-1&&(o=r.length-1):"last"===t&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(si):Tr(Tr({},si),this.props.theme):si}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,l=a.isRtl,c=a.options;return{clearValue:t,cx:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:c,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return gi(this.props,t,e)}},{key:"isOptionSelected",value:function(t,e){return mi(this.props,t,e)}},{key:"filterOption",value:function(t,e){return yi(this.props,t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:r})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var t=this.props,n=t.isDisabled,r=t.isSearchable,o=t.inputId,i=t.inputValue,a=t.tabIndex,s=t.form,c=this.getComponents().Input,u=this.state.inputIsHidden,p=this.commonProps,d=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return r?e().createElement(c,l({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:d,innerRef:this.getInputRef,isDisabled:n,isHidden:u,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},f)):e().createElement(Xo,l({id:d,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Rr,onFocus:this.onInputFocus,readOnly:!0,disabled:n,tabIndex:a,form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,n=this.getComponents(),r=n.MultiValue,o=n.MultiValueContainer,i=n.MultiValueLabel,a=n.MultiValueRemove,s=n.SingleValue,c=n.Placeholder,u=this.commonProps,p=this.props,d=p.controlShouldRenderValue,f=p.isDisabled,h=p.isMulti,g=p.inputValue,m=p.placeholder,y=this.state,v=y.selectValue,b=y.focusedValue,x=y.isFocused;if(!this.hasValue()||!d)return g?null:e().createElement(c,l({},u,{key:"placeholder",isDisabled:f,isFocused:x}),m);if(h){var w=v.map((function(n,s){var c=n===b;return e().createElement(r,l({},u,{components:{Container:o,Label:i,Remove:a},isFocused:c,isDisabled:f,key:"".concat(t.getOptionValue(n)).concat(s),index:s,removeProps:{onClick:function(){return t.removeValue(n)},onTouchEnd:function(){return t.removeValue(n)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:n}),t.formatOptionLabel(n,"value"))}));return w}if(g)return null;var S=v[0];return e().createElement(s,l({},u,{data:S,isDisabled:f}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,i=r.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return e().createElement(t,l({},n,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,i=r.isLoading,a=this.state.isFocused;return t&&i?e().createElement(t,l({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),n=t.DropdownIndicator,r=t.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return e().createElement(r,l({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return e().createElement(t,l({},n,{innerProps:i,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var t=this,n=this.getComponents(),r=n.Group,o=n.GroupHeading,i=n.Menu,a=n.MenuList,s=n.MenuPortal,c=n.LoadingMessage,u=n.NoOptionsMessage,p=n.Option,d=this.commonProps,f=this.state.focusedOption,h=this.props,g=h.captureMenuScroll,m=h.inputValue,y=h.isLoading,v=h.loadingMessage,b=h.minMenuHeight,x=h.maxMenuHeight,w=h.menuIsOpen,S=h.menuPlacement,k=h.menuPosition,C=h.menuPortalTarget,_=h.menuShouldBlockScroll,E=h.menuShouldScrollIntoView,M=h.noOptionsMessage,O=h.onMenuScrollToTop,A=h.onMenuScrollToBottom;if(!w)return null;var D,j=function(n,r){var o=n.type,i=n.data,a=n.isDisabled,s=n.isSelected,c=n.label,u=n.value,h=f===i,g=a?void 0:function(){return t.onOptionHover(i)},m=a?void 0:function(){return t.selectOption(i)},y="".concat(t.getElementId("option"),"-").concat(r),v={id:y,onClick:m,onMouseMove:g,onMouseOver:g,tabIndex:-1};return e().createElement(p,l({},d,{innerProps:v,data:i,isDisabled:a,isSelected:s,key:y,label:c,type:o,value:u,isFocused:h,innerRef:h?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map((function(n){if("group"===n.type){var i=n.data,a=n.options,s=n.index,c="".concat(t.getElementId("group"),"-").concat(s),u="".concat(c,"-heading");return e().createElement(r,l({},d,{key:c,data:i,options:a,Heading:o,headingProps:{id:u,data:n.data},label:t.formatGroupLabel(n.data)}),n.options.map((function(t){return j(t,"".concat(s,"-").concat(t.index))})))}if("option"===n.type)return j(n,"".concat(n.index))}));else if(y){var I=v({inputValue:m});if(null===I)return null;D=e().createElement(c,d,I)}else{var L=M({inputValue:m});if(null===L)return null;D=e().createElement(u,d,L)}var T={minMenuHeight:b,maxMenuHeight:x,menuPlacement:S,menuPosition:k,menuShouldScrollIntoView:E},N=e().createElement(no,l({},d,T),(function(n){var r=n.ref,o=n.placerProps,s=o.placement,c=o.maxHeight;return e().createElement(i,l({},d,T,{innerRef:r,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:y,placement:s}),e().createElement(ii,{captureEnabled:g,onTopArrive:O,onBottomArrive:A,lockEnabled:_},(function(n){return e().createElement(a,l({},d,{innerRef:function(e){t.getMenuListRef(e),n(e)},isLoading:y,maxHeight:c,focusedOption:f}),D)})))}));return C||"fixed"===k?e().createElement(s,l({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:S,menuPosition:k}),N):N}},{key:"renderFormField",value:function(){var t=this,n=this.props,r=n.delimiter,o=n.isDisabled,i=n.isMulti,a=n.name,s=this.state.selectValue;if(a&&!o){if(i){if(r){var l=s.map((function(e){return t.getOptionValue(e)})).join(r);return e().createElement("input",{name:a,type:"hidden",value:l})}var c=s.length>0?s.map((function(n,r){return e().createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:t.getOptionValue(n)})})):e().createElement("input",{name:a,type:"hidden"});return e().createElement("div",null,c)}var u=s[0]?this.getOptionValue(s[0]):"";return e().createElement("input",{name:a,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,n=this.state,r=n.ariaSelection,o=n.focusedOption,i=n.focusedValue,a=n.isFocused,s=n.selectValue,c=this.getFocusableOptions();return e().createElement(Po,l({},t,{ariaSelection:r,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:c}))}},{key:"render",value:function(){var t=this.getComponents(),n=t.Control,r=t.IndicatorsContainer,o=t.SelectContainer,i=t.ValueContainer,a=this.props,s=a.className,c=a.id,u=a.isDisabled,p=a.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return e().createElement(o,l({},f,{className:s,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),e().createElement(n,l({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:p}),e().createElement(i,l({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),e().createElement(r,l({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.clearFocusValueOnUpdate,o=e.inputIsHiddenAfterUpdate,i=t.options,a=t.value,s=t.menuIsOpen,l=t.inputValue,c={};if(n&&(a!==n.value||i!==n.options||s!==n.menuIsOpen||l!==n.inputValue)){var u=Hr(a),p=s?function(t,e){return pi(ui(t,e))}(t,u):[],d=r?function(t,e){var n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r-1?n:e[0]}(e,p);c={selectValue:u,focusedOption:f,focusedValue:d,clearFocusValueOnUpdate:!1}}var h=null!=o&&t!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{};return Tr(Tr(Tr({},c),h),{},{prevProps:t})}}]),r}(t.Component);xi.defaultProps=li;var wi,Si,ki,Ci=(t.Component,wi=xi,ki=Si=function(t){Dr(r,t);var n=zr(r);function r(){var t;Mr(this,r);for(var e=arguments.length,o=new Array(e),i=0;i1?n-1:0),o=1;o=a&&n<=s)return!0}))).map((function(t){return Ii(Ii({},t),{created_at:(0,ht.date)(r.formats.date,new Date(t.created_at),r.timezone.string)})})),(n=p?[Ti(n)]:Ni(n).map((function(t){return Ti(t)}))).forEach((function(t,n){for(var r=function(n){var r=u[n],i=r.value,a=r.label,s=o.map((function(e){if(null==t?void 0:t[e]){var n=null==t?void 0:t[e];if(!p&&(null==n?void 0:n.nx_id)){var o=c.find((function(t){if((null==n?void 0:n.nx_id)==(null==t?void 0:t.nx_id))return!0}));((null==o?void 0:o.title)||(null==o?void 0:o.nx_id))&&(a=r.label+" "+((null==o?void 0:o.title)||(null==o?void 0:o.nx_id)))}switch(i){case"clicks":return n.clicks;case"views":return n.views;case"ctr":return(n.views?n.clicks/n.views:0).toFixed(2)}}return 0}));e.push({name:a,data:s})},i=0;i\n window.notificationXArr = window.notificationXArr || []; \nwindow.notificationXArr.push(%s);\n<\/script>%s",JSON.stringify(p),l.xss_scripts)}var d=window.ajaxurl,f=(0,t.useCallback)((function(t){r&&ve.swal({title:(0,lt.__)("Are you sure?","notificationx"),text:(0,lt.__)("You won't be able to revert this!","notificationx"),icon:"error",showCancelButton:!0,confirmButtonText:(0,lt.__)("Yes, Delete It","notificationx"),cancelButtonText:(0,lt.__)("No, Cancel","notificationx"),reverseButtons:!0,customClass:{actions:"nx-delete-actions"},confirmedCallback:function(){return ve.delete("nx/".concat(r),{nx_id:r})},completeAction:function(t){a((function(t){return!t}))},completeArgs:function(){return["deleted",(0,lt.__)("Notification Alert has been Deleted.","notificationx")]},afterComplete:function(){}})}),[r,o]),h=(0,t.useCallback)((function(t){if(r){if("inline"==(null==s?void 0:s.type))return void Bi()("[notificationx_inline id=".concat(r,"]"),{format:"text/plain",onCopy:function(){se((0,lt.__)("Inline Notification Alert has been copied to Clipboard.","notificationx"))}});vt().fire({iconHtml:'NotificationX'),iconColor:"#6a4bff",title:"Copy to Clipboard",showConfirmButton:!1,showCancelButton:!0,cancelButtonText:(0,lt.__)("Cancel","notificationx"),cancelButtonColor:"#d14529",html:'
        \n \n \n
        "),didOpen:function(){document.getElementById("regulat-shortcode").addEventListener("click",(function(){Bi()("[notificationx id=".concat(r,"]"),{format:"text/plain",onCopy:function(){se((0,lt.__)("Regular Notification Alert has been copied to Clipboard.","notificationx"))}})})),document.getElementById("inline-shortcode").addEventListener("click",(function(){Bi()("[notificationx_inline id=".concat(r,"]"),{format:"text/plain",onCopy:function(){se((0,lt.__)("Inline Notification Alert has been copied to Clipboard.","notificationx"))}})}))}})}}),[r,o]);return e().createElement("div",{className:"nx-admin-actions"},e().createElement(ot,{className:"nx-admin-title-edit",title:(0,lt.__)("Edit","notificationx"),to:{pathname:"/admin.php",search:"?page=nx-edit&id=".concat(r)}},e().createElement("span",null,(0,lt.__)("Edit","notificationx"))),e().createElement("a",{className:Ie()("nx-admin-title-translate",{hidden:!(null==l?void 0:l.can_translate)}),title:(0,lt.__)("Translate","notificationx"),href:"".concat(d,"?action=nx-translate&id=").concat(r)},e().createElement("span",null,(0,lt.__)("Translate","notificationx"))),e().createElement(ot,{className:Ie()("nx-admin-title-duplicate",{hidden:null==l?void 0:l.createRedirect}),title:(0,lt.__)("Duplicate","notificationx"),to:{pathname:"/admin.php",search:"?page=nx-edit",state:{duplicate:!0,_id:r}}},e().createElement("span",null,(0,lt.__)("Duplicate","notificationx"))),(null==l?void 0:l.is_pro_active)&&"press_bar"!=s.source&&"woo_inline_stock-theme-one"!==s.themes&&"woo_inline_stock-theme-two"!==s.themes&&e().createElement("button",{className:"nx-admin-title-shortcode nx-shortcode-btn",title:(0,lt.__)("Shortcode","notificationx"),onClick:h},e().createElement("span",null,(0,lt.__)("ShortCode","notificationx"))),!(null==l?void 0:l.is_pro_active)&&"press_bar"!=s.source&&"woo_inline_stock-theme-one"!==s.themes&&"woo_inline_stock-theme-two"!==s.themes&&e().createElement(zi.CopyToClipboard,{className:"nx-admin-title-shortcode nx-shortcode-btn",title:(0,lt.__)("Shortcode","notificationx"),text:"[notificationx_inline id=".concat(r,"]"),options:{format:"text/plain"},onCopy:function(){se((0,lt.__)("Inline Notification Alert has been copied to Clipboard.","notificationx"))}},e().createElement("a",null)),!(null==s?void 0:s.elementor_id)&&e().createElement(zi.CopyToClipboard,{className:"nx-admin-title-xss",title:(0,lt.__)("Cross Domain Notice","notificationx"),text:c,options:{format:"text/plain"},onCopy:function(t,e){(null==l?void 0:l.is_pro_active)?se((0,lt.__)("Cross Domain Notice code has been copied to Clipboard.","notificationx")):me((0,lt.sprintf)((0,lt.__)("You need to upgrade to the Premium Version to use Cross Domain Notice feature.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx","https://notificationx.com/docs/notificationx-cross-domain-notice/")).fire()}},e().createElement("a",null)),i&&e().createElement("button",{className:"nx-admin-title-regenerate",onClick:function(t){ve.swal({title:(0,lt.__)("Are you sure you want to Regenerate?","notificationx"),text:(0,lt.__)("Regenerating will fetch new data based on settings","notificationx"),iconHtml:'NotificationX'),showCancelButton:!0,iconColor:"transparent",confirmButtonText:(0,lt.__)("Regenerate","notificationx"),cancelButtonText:(0,lt.__)("Cancel","notificationx"),reverseButtons:!0,customClass:{actions:"nx-delete-actions"},confirmedCallback:function(){return ve.get("regenerate/".concat(r),{nx_id:r})},completeAction:function(t){},completeArgs:function(){return["regenerated",(0,lt.__)("Notification Alert has been Regenerated.","notificationx")]},afterComplete:function(){}})},title:(0,lt.__)("Regenerate","notificationx")},e().createElement("span",null,(0,lt.__)("Regenerate","notificationx"))),e().createElement("button",{className:Ie()("nx-admin-title-trash",{hidden:null==l?void 0:l.createRedirect}),title:(0,lt.__)("Delete","notificationx"),onClick:f},e().createElement("span",null,(0,lt.__)("Delete","notificationx"))))},Ui=function(){return Ui=Object.assign||function(t){for(var e,n=1,r=arguments.length;nPremium Version to use this feature.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx"):(0,lt.__)("Disabled","notificationx")).fire():me(e?(0,lt.sprintf)((0,lt.__)("You need to upgrade to the Premium Version to use multiple notification.","notificationx"),"http://wpdeveloper.com/in/upgrade-notificationx"):(0,lt.__)("Disabled","notificationx")).fire(),t})).catch((function(t){w(!1),le((0,lt.__)("Oops, Something went wrong. Please try again.","notificationx"))})))}})),e().createElement("td",null,e().createElement("div",{className:"nx-admin-type",title:null==g?void 0:g.source_label},(null==g?void 0:g.type_label)||g.type)),e().createElement("td",null,e().createElement("div",{className:"nx-admin-stats"},e().createElement(st,{to:{pathname:"/admin.php",search:"?page=nx-analytics&comparison=views&nx="+s}},(0,lt.sprintf)((0,lt.__)("%s views","notificationx"),(null==g?void 0:g.views)||0)))),e().createElement("td",null,e().createElement("div",{className:"nx-admin-date"},(0,ht.isInTheFuture)(v.format())?(0,lt.__)("Scheduled For","notificationx"):(0,lt.__)("Published","notificationx"),e().createElement("br",null),e().createElement("span",{className:"nx-admin-publish-date"},(0,ht.date)(null===(i=null==y?void 0:y.formats)||void 0===i?void 0:i.datetime,v,void 0)))),e().createElement("td",null,e().createElement(Hi,Ui({getNotice:c,updateNotice:u,id:s,regenerate:null==g?void 0:g.can_regenerate,enabled:g.enabled,setTotalItems:p,setReload:h},g))))},Wi=function(){return Wi=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\nwindow.notificationXArr = window.notificationXArr || []; \nwindow.notificationXArr.push(%s);\n<\/script>%s",JSON.stringify(s),p.xss_scripts);en()(l,{format:"text/plain",onCopy:function(){st((0,le.__)("Cross Domain Notice code has been copied to Clipboard.","notificationx"))}})}(e):function(e){yt.swal({title:(0,le.__)("Are you sure?","notificationx"),html:(0,le.sprintf)((0,le._n)("You're about to delete %s notification alert,
        ","You're about to delete %s notification alerts,
        ",e.length,"notificationx"),e.length)+(0,le.__)("You won't be able to revert this!","notificationx"),icon:(0,le.__)("error","notificationx"),showCancelButton:!0,confirmButtonText:(0,le.__)("Yes, Delete It","notificationx"),cancelButtonText:(0,le.__)("No, Cancel","notificationx"),reverseButtons:!0,customClass:{actions:"nx-delete-actions"},confirmedCallback:function(){return g(!0),w(e)},completeAction:function(e){if(c(!1),g(!1),null==e?void 0:e.success)return u((function(e){return!e})),{all:Object.keys(e.count).length};throw new Error((0,le.__)("Something went wrong.","notificationx"))},completeArgs:function(e){ +pe((0,lt.sprintf)((0,lt.__)("%d Notification Alerts have been Disabled.","notificationx"),n))}(t,e)})).catch((function(t){le((0,lt.__)("Unable to complete bulk action.","notificationx"))}))):function(t){for(var e={pressbar:[],global:[],active:[]},n=0,r=a;n\nwindow.notificationXArr = window.notificationXArr || []; \nwindow.notificationXArr.push(%s);\n<\/script>%s",JSON.stringify(s),d.xss_scripts);Bi()(l,{format:"text/plain",onCopy:function(){se((0,lt.__)("Cross Domain Notice code has been copied to Clipboard.","notificationx"))}})}(t):function(t){ve.swal({title:(0,lt.__)("Are you sure?","notificationx"),html:(0,lt.sprintf)((0,lt._n)("You're about to delete %s notification alert,
        ","You're about to delete %s notification alerts,
        ",t.length,"notificationx"),t.length)+(0,lt.__)("You won't be able to revert this!","notificationx"),icon:(0,lt.__)("error","notificationx"),showCancelButton:!0,confirmButtonText:(0,lt.__)("Yes, Delete It","notificationx"),cancelButtonText:(0,lt.__)("No, Cancel","notificationx"),reverseButtons:!0,customClass:{actions:"nx-delete-actions"},confirmedCallback:function(){return g(!0),w(t)},completeAction:function(t){if(c(!1),g(!1),null==t?void 0:t.success)return u((function(t){return!t})),{all:Object.keys(t.count).length};throw new Error((0,lt.__)("Something went wrong.","notificationx"))},completeArgs:function(t){ // translators: %d: Number of Notification Alerts deleted. -return["deleted",(0,le.sprintf)((0,le.__)("%d notification Alerts have been\n Deleted.","notificationx"),(null==e?void 0:e.all)||0)]},afterComplete:function(){}})}(e))}},disabled:!y},h?(0,le.__)("Applying...","notificationx"):(0,le.__)("Apply","notificationx"))))},pn=n(4942);function fn(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}var hn=n(5671),gn=n(3144),mn=n(136);function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vn(e)}var yn=n(1002);function bn(e,t){if(t&&("object"===(0,yn.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function xn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vn(e);if(t){var o=vn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bn(this,n)}}var wn=function(e){var n,r="".concat(e.rootPrefixCls,"-item"),o=Dt()(r,"".concat(r,"-").concat(e.page),(n={},(0,pn.Z)(n,"".concat(r,"-active"),e.active),(0,pn.Z)(n,"".concat(r,"-disabled"),!e.page),(0,pn.Z)(n,e.className,!!e.className),n));return t().createElement("li",{title:e.showTitle?e.page:null,className:o,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",t().createElement("a",{rel:"nofollow"},e.page)))},Sn=function(e){(0,mn.Z)(r,e);var n=xn(r);function r(){var e;(0,hn.Z)(this,r);for(var t=arguments.length,o=new Array(t),i=0;i=0||t.relatedTarget.className.indexOf("".concat(i,"-item"))>=0)||o(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(13!==t.keyCode&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,gn.Z)(r,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,n=this.props,r=n.pageSize,o=n.locale,i=n.rootPrefixCls,a=n.changeSize,s=n.quickGo,l=n.goButton,c=n.selectComponentClass,u=n.buildOptionText,d=n.selectPrefixCls,p=n.disabled,f=this.state.goInputText,h="".concat(i,"-options"),g=c,m=null,v=null,y=null;if(!a&&!s)return null;var b=this.getPageSizeOptions();if(a&&g){var x=b.map((function(n,r){return t().createElement(g.Option,{key:r,value:n.toString()},(u||e.buildOptionText)(n))}));m=t().createElement(g,{disabled:p,prefixCls:d,showSearch:!1,className:"".concat(h,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(r||b[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},x)}return s&&(l&&(y="boolean"==typeof l?t().createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:p,className:"".concat(h,"-quick-jumper-button")},o.jump_to_confirm):t().createElement("span",{onClick:this.go,onKeyUp:this.go},l)),v=t().createElement("div",{className:"".concat(h,"-quick-jumper")},o.jump_to,t().createElement("input",{disabled:p,type:"text",value:f,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":o.page}),o.page,y)),t().createElement("li",{className:"".concat(h)},m,v)}}]),r}(t().Component);Sn.defaultProps={pageSizeOptions:["10","20","50","100"]};var kn=Sn;function Cn(){}function En(e){var t=Number(e);return"number"==typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function An(e,t,n){var r=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var Mn=function(n){(0,mn.Z)(o,n);var r=xn(o);function o(e){var n;(0,hn.Z)(this,o),(n=r.call(this,e)).getJumpPrevPage=function(){return Math.max(1,n.state.current-(n.props.showLessItems?3:5))},n.getJumpNextPage=function(){return Math.min(An(void 0,n.state,n.props),n.state.current+(n.props.showLessItems?3:5))},n.getItemIcon=function(e,r){var o=n.props.prefixCls,i=e||t().createElement("button",{type:"button","aria-label":r,className:"".concat(o,"-item-link")});return"function"==typeof e&&(i=t().createElement(e,function(e){for(var t=1;t0},n.shouldDisplayQuickJumper=function(){var e=n.props,t=e.showQuickJumper;return!(e.total<=n.state.pageSize)&&t},n.handleKeyDown=function(e){38!==e.keyCode&&40!==e.keyCode||e.preventDefault()},n.handleKeyUp=function(e){var t=n.getValidValue(e);t!==n.state.currentInputValue&&n.setState({currentInputValue:t}),13===e.keyCode?n.handleChange(t):38===e.keyCode?n.handleChange(t-1):40===e.keyCode&&n.handleChange(t+1)},n.handleBlur=function(e){var t=n.getValidValue(e);n.handleChange(t)},n.changePageSize=function(e){var t=n.state.current,r=An(e,n.state,n.props);t=t>r?r:t,0===r&&(t=n.state.current),"number"==typeof e&&("pageSize"in n.props||n.setState({pageSize:e}),"current"in n.props||n.setState({current:t,currentInputValue:t})),n.props.onShowSizeChange(t,e),"onChange"in n.props&&n.props.onChange&&n.props.onChange(t,e)},n.handleChange=function(e){var t=n.props,r=t.disabled,o=t.onChange,i=n.state,a=i.pageSize,s=i.current,l=i.currentInputValue;if(n.isValid(e)&&!r){var c=An(void 0,n.state,n.props),u=e;return e>c?u=c:e<1&&(u=1),"current"in n.props||n.setState({current:u}),u!==l&&n.setState({currentInputValue:u}),o(u,a),u}return s},n.prev=function(){n.hasPrev()&&n.handleChange(n.state.current-1)},n.next=function(){n.hasNext()&&n.handleChange(n.state.current+1)},n.jumpPrev=function(){n.handleChange(n.getJumpPrevPage())},n.jumpNext=function(){n.handleChange(n.getJumpNextPage())},n.hasPrev=function(){return n.state.current>1},n.hasNext=function(){return n.state.current2?n-2:0),o=2;o=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>r}},{key:"renderPrev",value:function(t){var n=this.props,r=n.prevIcon,o=(0,n.itemRender)(t,"prev",this.getItemIcon(r,"prev page")),i=!this.hasPrev();return(0,e.isValidElement)(o)?(0,e.cloneElement)(o,{disabled:i}):o}},{key:"renderNext",value:function(t){var n=this.props,r=n.nextIcon,o=(0,n.itemRender)(t,"next",this.getItemIcon(r,"next page")),i=!this.hasNext();return(0,e.isValidElement)(o)?(0,e.cloneElement)(o,{disabled:i}):o}},{key:"render",value:function(){var n=this,r=this.props,o=r.prefixCls,i=r.className,a=r.style,s=r.disabled,c=r.hideOnSinglePage,u=r.total,d=r.locale,p=r.showQuickJumper,f=r.showLessItems,h=r.showTitle,g=r.showTotal,m=r.simple,v=r.itemRender,y=r.showPrevNextJumpers,b=r.jumpPrevIcon,x=r.jumpNextIcon,w=r.selectComponentClass,S=r.selectPrefixCls,k=r.pageSizeOptions,C=this.state,E=C.current,A=C.pageSize,M=C.currentInputValue;if(!0===c&&u<=A)return null;var O=An(void 0,this.state,this.props),_=[],T=null,D=null,L=null,I=null,N=null,j=p&&p.goButton,P=f?1:2,z=E-1>0?E-1:0,R=E+1=2*P&&3!==E&&(_[0]=(0,e.cloneElement)(_[0],{className:"".concat(o,"-item-after-jump-prev")}),_.unshift(T)),O-E>=2*P&&E!==O-2&&(_[_.length-1]=(0,e.cloneElement)(_[_.length-1],{className:"".concat(o,"-item-before-jump-next")}),_.push(D)),1!==X&&_.unshift(L),V!==O&&_.push(I)}var Z=null;g&&(Z=t().createElement("li",{className:"".concat(o,"-total-text")},g(u,[0===u?0:(E-1)*A+1,E*A>u?u:E*A])));var q=!this.hasPrev()||!O,Q=!this.hasNext()||!O;return t().createElement("ul",(0,l.Z)({className:Dt()(o,i,(0,pn.Z)({},"".concat(o,"-disabled"),s)),style:a,unselectable:"unselectable",ref:this.savePaginationNode},B),Z,t().createElement("li",{title:h?d.prev_page:null,onClick:this.prev,tabIndex:q?null:0,onKeyPress:this.runIfEnterPrev,className:Dt()("".concat(o,"-prev"),(0,pn.Z)({},"".concat(o,"-disabled"),q)),"aria-disabled":q},this.renderPrev(z)),_,t().createElement("li",{title:h?d.next_page:null,onClick:this.next,tabIndex:Q?null:0,onKeyPress:this.runIfEnterNext,className:Dt()("".concat(o,"-next"),(0,pn.Z)({},"".concat(o,"-disabled"),Q)),"aria-disabled":Q},this.renderNext(R)),t().createElement(kn,{disabled:s,locale:d,rootPrefixCls:o,selectComponentClass:w,selectPrefixCls:S,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:E,pageSize:A,pageSizeOptions:k,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:j}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,o=An(e.pageSize,t,e);r=r>o?o:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),o}(t().Component);Mn.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Cn,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Cn,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var On=Mn,Tn={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},Dn=n(488),Ln=(Dn.domToReact,Dn.htmlToDOM,Dn.attributesToProps,Dn.Element,Dn),In=function(n){var r=de(),o=(0,e.useState)(!1),i=o[0],a=o[1],s=(0,e.useState)(!1),l=s[0],c=s[1],u=(0,e.useRef)(null),d={title:(0,le.__)("loading...","notificationx")},p=(0,e.useState)(!0),f=p[0],h=p[1],g=(0,e.useState)({all:0,enabled:0,disabled:0}),m=g[0],v=g[1],y=(0,e.useState)(20),b=y[0],x=y[1],w=(0,e.useState)(1),S=w[0],k=w[1],C=(0,e.useState)([d]),E=C[0],A=C[1],M=(0,e.useState)([d]),O=M[0],_=M[1],T=Q(),D=function(e,t){return yt.useQuery(T.search).get(e)||t},L=D("status","all");return(0,e.useEffect)((function(){u.current=!0;var e=D("p",1),t=D("per-page",20);return k(Number(e)),x(Number(t)),function(){u.current=!1}}),[]),(0,e.useEffect)((function(){if(0!==S&&0!==b){h(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return yt.get("nx?status=".concat(L,"&page=").concat(S,"&per_page=").concat(b),{signal:null==e?void 0:e.signal}).then((function(t){var n;(null===(n=null==e?void 0:e.signal)||void 0===n?void 0:n.aborted)||(h(!1),(0,ft.isArray)(null==t?void 0:t.posts)&&u.current&&(A(null==t?void 0:t.posts),_(yt.filtered(null==t?void 0:t.posts,L))),(null==t?void 0:t.total)&&u.current&&v({all:(null==t?void 0:t.total)||0,enabled:(null==t?void 0:t.enabled)||0,disabled:(null==t?void 0:t.disabled)||0}))})).catch((function(e){h(!1),console.error((0,le.__)("NotificationX Fetch Error: ","notificationx"),e)})),function(){null==e||e.abort()}}}),[S,b,L,l]),t().useEffect((function(){_(yt.filtered(E,L))}),[E]),t().useEffect((function(){0!==b&&r.setRedirect({page:"nx-admin",status:L,p:S,"per-page":b})}),[b,S]),(0,e.useEffect)((function(){0==O.length&&S>1&&k((function(e){return--e}))}),[O]),t().createElement(t().Fragment,null,t().createElement("div",{className:"notificationx-items"},t().createElement(dn,{status:L,perPage:b,setCurrentPage:k,notificationx:E,updateNotice:A,totalItems:m,filteredNotice:O,setTotalItems:v,setCheckAll:a,setReload:c}),t().createElement(Et,{isLoading:f,div:!1},0==O.length&&t().createElement("div",{className:"nx-no-items"},t().createElement("img",{src:vt("images/logos/large-logo-icon.png")}),"all"==L?t().createElement(t().Fragment,null,t().createElement("h4",null,(0,le.__)("No notifications are found.","notificationx")),t().createElement("p",null,(0,le.__)("Seems like you haven’t created any notification alerts.","notificationx"),t().createElement("br",null),Ln((0,le.sprintf)((0,le.__)('Hit on %1$s"Add New"%2$s button to get started',"notificationx"),"","")))):"enabled"==L?t().createElement(t().Fragment,null,t().createElement("h4",null,(0,le.__)("No notifications are enabled.","notificationx")),t().createElement("p",null,(0,le.__)("There’s no enabled Notification Alerts.","notificationx"),t().createElement("br",null),Ln((0,le.sprintf)((0,le.__)('Simply use the toggle switch to turn your notifications from %1$s"All NotificationX"%2$s page.',"notificationx"),"","")))):t().createElement(t().Fragment,null,t().createElement("h4",null,(0,le.__)("No notifications are disabled.","notificationx")),t().createElement("p",null,(0,le.__)("There’s no disabled Notification Alerts.","notificationx")))),O.length>0&&t().createElement(t().Fragment,null,t().createElement(sn,{filteredNotice:O,setFilteredNotice:_,getNotice:E,updateNotice:A,totalItems:m,setTotalItems:v,checkAll:i,setCheckAll:a,setReload:c}),t().createElement("div",{className:"nx-admin-items-footer"},t().createElement(_t.SelectControl,{label:"Show Notifications :",value:b.toString(),onChange:function(e){x(parseInt(e)),k(1)},options:[{value:"10",label:(0,le.__)("10")},{value:"20",label:(0,le.__)("20")},{value:"50",label:(0,le.__)("50")},{value:"100",label:(0,le.__)("100")},{value:"200",label:(0,le.__)("200")}]}),t().createElement(On,{current:S,onChange:k,total:null==m?void 0:m[L],pageSize:b,itemRender:function(e,n,r){return t().createElement(ln,{status:L,current:e,perPage:b},(0,le.__)(e))},showTitle:!1,hideOnSinglePage:!0,locale:Tn}))))))},Nn=zt((function(e){var n=de();return t().createElement("div",null,t().createElement(kt,null),t().createElement(Bt,{analytics:null==n?void 0:n.analytics,assetsURL:n.assets}),t().createElement(In,null))}),(0,le.__)("All NotificationX","notificationx")),jn=function(e){var n=e.assetsUrl,r=e.is_pro_active,o=void 0!==r&&r;return t().createElement("div",{className:"nx-settings-right"},t().createElement("div",{className:"nx-sidebar"},t().createElement("div",{className:"nx-sidebar-block"},t().createElement("div",{className:"nx-admin-sidebar-logo"},t().createElement("img",{alt:"NotificationX",src:"".concat(n.admin,"images/logo.svg")})),t().createElement("div",{className:"nx-admin-sidebar-cta"},o?t().createElement("a",{href:"https://store.wpdeveloper.com",rel:"nofollow",target:"_blank"},(0,le.__)("Manage License","notificationx")):t().createElement("a",{href:"http://wpdeveloper.com/in/upgrade-notificationx",rel:"nofollow",target:"_blank"},(0,le.__)("Upgrade to Pro","notificationx")))),t().createElement("div",{className:"nx-sidebar-block nx-license-block"},(0,i.applyFilters)("nx_licensing"))))},Pn=function(e){var n=e.assetsUrl;return t().createElement("div",{className:"nx-settings-documentation"},t().createElement("div",{className:"nx-settings-row"},t().createElement("div",{className:"nx-admin-block nx-admin-block-docs"},t().createElement("header",{className:"nx-admin-block-header"},t().createElement("div",{className:"nx-admin-block-header-icon"},t().createElement("img",{src:"".concat(n.admin,"images/icons/icon-documentation.svg"),alt:"notificationx-documentation"})),t().createElement("h4",{className:"nx-admin-title"},(0,le.__)("Documentation","notificationx"))),t().createElement("div",{className:"nx-admin-block-content"},t().createElement("p",null,(0,le.__)("Get started by spending some time with the documentation to get familiar with NotificationX. Build awesome websites for you or your clients with ease.","notificationx")),t().createElement("a",{rel:"nofollow",href:"https://notificationx.com/docs/",className:"nx-button",target:"_blank"},(0,le.__)("Documentation","notificationx")))),t().createElement("div",{className:"nx-admin-block nx-admin-block-contribute"},t().createElement("header",{className:"nx-admin-block-header"},t().createElement("div",{className:"nx-admin-block-header-icon"},t().createElement("img",{src:"".concat(n.admin,"images/icons/icon-contribute.svg"),alt:"notificationx-contribute"})),t().createElement("h4",{className:"nx-admin-title"},(0,le.__)("Contribute to NotificationX","notificationx"))),t().createElement("div",{className:"nx-admin-block-content"},t().createElement("p",null,(0,le.__)("You can contribute to make NotificationX better reporting bugs, creating issues, pull requests at","notificationx")," ",t().createElement("a",{rel:"nofollow",target:"_blank",href:"https://github.com/WPDevelopers/notificationx"},"GitHub.")),t().createElement("a",{rel:"nofollow",href:"https://github.com/WPDevelopers/notificationx/issues/new",className:"nx-button",target:"_blank"},(0,le.__)("Report a bug","notificationx")))),t().createElement("div",{className:"nx-admin-block nx-admin-block-need-help"},t().createElement("header",{className:"nx-admin-block-header"},t().createElement("div",{className:"nx-admin-block-header-icon"},t().createElement("img",{src:"".concat(n.admin,"images/icons/icon-need-help.svg"),alt:"notificationx-help"})),t().createElement("h4",{className:"nx-admin-title"},(0,le.__)("Need Help?","notificationx"))),t().createElement("div",{className:"nx-admin-block-content"},t().createElement("p",null,(0,le.__)("Stuck with something? Get help from live chat or support ticket.","notificationx")),t().createElement("a",{rel:"nofollow",href:"https://wpdeveloper.com",className:"nx-button",target:"_blank"},(0,le.__)("Initiate a Chat","notificationx")))),t().createElement("div",{className:"nx-admin-block nx-admin-block-community"},t().createElement("header",{className:"nx-admin-block-header"},t().createElement("div",{className:"nx-admin-block-header-icon"},t().createElement("img",{src:"".concat(n.admin,"images/icons/icon-show-love.svg"),alt:"notificationx-commuinity"})),t().createElement("h4",{className:"nx-admin-title"},(0,le.__)("Show Your Love","notificationx"))),t().createElement("div",{className:"nx-admin-block-content"},t().createElement("p",null,(0,le.__)("We love to have you in NotificationX family. We are making it more awesome everyday. Take your 2 minutes to review the plugin and spread the love to encourage us to keep it going.","notificationx")),t().createElement("a",{rel:"nofollow",href:"https://wpdeveloper.com/review-notificationx",className:"nx-button",target:"_blank"},(0,le.__)("Leave a Review","notificationx"))))))},zn=function(e){return t().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"m35 17.5a1.026 1.026 0 0 0 -.487-.871l-3.557-2.193 3.561-2.216a1.025 1.025 0 0 0 0-1.739l-16.473-10.325a1.025 1.025 0 0 0 -1.089 0l-16.474 10.323a1.025 1.025 0 0 0 0 1.739l3.536 2.2-3.535 2.213a1.025 1.025 0 0 0 0 1.74l3.536 2.2-3.536 2.212a1.025 1.025 0 0 0 0 1.738l16.474 10.323a1.025 1.025 0 0 0 1.089 0l16.474-10.323a1.025 1.025 0 0 0 -.006-1.742l-3.557-2.193 3.561-2.216a1.025 1.025 0 0 0 .483-.87zm-32.039-6.155 14.539-9.109 14.539 9.109-14.539 9.049zm29.071 12.315-14.532 9.105-14.542-9.111 3-1.875 11 6.846a1.025 1.025 0 0 0 1.084 0l10.969-6.825zm-14.532 2.886-14.537-9.046 3-1.872 11 6.846a1.025 1.025 0 0 0 1.084 0l10.969-6.827 3.011 1.853z"}))},Rn=function(e){return t().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"m10.322 28.779a4.09 4.09 0 0 0 -1.3-3v-.006c.073-1 .132-2.062.176-3.154a6.707 6.707 0 0 1 4.425 2.381 4.954 4.954 0 0 1 .682 3.828 3.088 3.088 0 0 0 2.344 3.768 15.678 15.678 0 0 0 2.961.285 15.49 15.49 0 0 0 15.39-15.381c0-8.656-7.526-15.717-15.387-15.435a17.907 17.907 0 0 0 -10.813 4.599q-.051-.476-.107-.926a24.7 24.7 0 0 0 -.693-3.701c-.176-.61-.594-2.037-1.779-2.037s-1.6 1.427-1.782 2.037a24.707 24.707 0 0 0 -.686 3.7 100.513 100.513 0 0 0 -.608 11.763c0 2.893.1 5.755.279 8.277v.006a4.09 4.09 0 0 0 -1.3 3v2.117a2.114 2.114 0 0 1 -2.124 2.049v2.051h4.17a6.208 6.208 0 0 0 6.152-6.221zm9.364-24.665c6.607-.237 13.265 5.795 13.263 13.386a13.413 13.413 0 0 1 -15.913 13.079 1.047 1.047 0 0 1 -.729-1.307 6.927 6.927 0 0 0 -1.013-5.465c-1.2-1.691-3.232-2.784-6.033-3.255.024-1 .036-3.128.036-3.167a3.076 3.076 0 1 0 -.062-3.943c-.046-1.457-.116-2.854-.209-4.16a16.223 16.223 0 0 1 10.66-5.168zm-9.049 11a1.025 1.025 0 1 1 .725 1.256 1.025 1.025 0 0 1 -.725-1.259zm-4.95-8.248a32.829 32.829 0 0 1 .534-3.522 32.829 32.829 0 0 1 .534 3.522 104.392 104.392 0 0 1 .491 10.634q0 .514 0 1.025h-2.046q0-.511 0-1.025a104.392 104.392 0 0 1 .487-10.634zm-.454 13.709h1.976c-.035 1.448-.095 2.856-.178 4.183a4.1 4.1 0 0 0 -1.62 0c-.083-1.327-.143-2.735-.178-4.183zm-1.063 10.325v-2.121a2.051 2.051 0 0 1 4.1 0 4.141 4.141 0 0 1 -4.1 4.17h-.564a3.991 3.991 0 0 0 .564-2.049z"}),t().createElement("path",{d:"m331.094 131.418a3.076 3.076 0 1 0 -4.35 0 3.074 3.074 0 0 0 4.35 0zm-2.9-2.9a1.025 1.025 0 1 1 0 1.45 1.027 1.027 0 0 1 0-1.45z",transform:"translate(-303.568 -117.543)"}),t().createElement("path",{d:"m213.809 101.132a3.076 3.076 0 1 0 -3.768-2.175 3.08 3.08 0 0 0 3.768 2.175zm-1.061-3.962a1.025 1.025 0 1 1 -.725 1.256 1.027 1.027 0 0 1 .725-1.255z",transform:"translate(-195.585 -88.585)"}),t().createElement("path",{d:"m272.158 330.771a3.076 3.076 0 1 0 2.175-3.771 3.08 3.08 0 0 0 -2.175 3.771zm2.706-1.787a1.025 1.025 0 1 1 -.725 1.256 1.025 1.025 0 0 1 .725-1.256z",transform:"translate(-253.455 -304.551)"}),t().createElement("path",{d:"m357.011 244.325a3.076 3.076 0 1 0 3.768-2.175 3.08 3.08 0 0 0 -3.768 2.175zm3.962 1.062a1.025 1.025 0 1 1 -.725-1.256 1.025 1.025 0 0 1 .725 1.256z",transform:"translate(-332.508 -225.499)"}))},Bn=function(e){return t().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"m18.867 25.566a1.367 1.367 0 0 1 -1.367 1.368h-8.066a1.367 1.367 0 0 1 0-2.734h8.066a1.367 1.367 0 0 1 1.367 1.366zm16.133-17.353v16.009a7.807 7.807 0 0 1 -2.3 5.557l-2.921 2.921a7.807 7.807 0 0 1 -5.557 2.3h-16.009a8.209 8.209 0 0 1 -8.213-8.213v-18.574a8.209 8.209 0 0 1 8.213-8.213h18.574a8.209 8.209 0 0 1 8.213 8.213zm-2.918 17.376h-3.758a2.737 2.737 0 0 0 -2.734 2.734v3.759a5.1 5.1 0 0 0 2.256-1.317l2.919-2.919a5.1 5.1 0 0 0 1.317-2.257zm.183-17.376a5.476 5.476 0 0 0 -5.479-5.479h-18.573a5.476 5.476 0 0 0 -5.479 5.479v18.574a5.476 5.476 0 0 0 5.479 5.479h14.642v-3.942a5.475 5.475 0 0 1 5.469-5.469h3.942zm-6.7 7.919h-16.131a1.367 1.367 0 1 0 0 2.734h16.132a1.367 1.367 0 1 0 0-2.734zm0-8.066h-16.131a1.367 1.367 0 1 0 0 2.734h16.132a1.367 1.367 0 1 0 0-2.734z"}))},Fn=function(e){return t().createElement("svg",{viewBox:"0 0 35 30.078",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"m30.9 36h-26.8a4.106 4.106 0 0 0 -4.1 4.1v16.408a4.106 4.106 0 0 0 4.1 4.1h12.033v2.734h-7.11v2.734h16.954v-2.732h-7.11v-2.735h12.033a4.106 4.106 0 0 0 4.1-4.1v-16.409a4.106 4.106 0 0 0 -4.1-4.1zm1.367 20.508a1.369 1.369 0 0 1 -1.367 1.367h-26.8a1.369 1.369 0 0 1 -1.367-1.367v-16.408a1.369 1.369 0 0 1 1.367-1.366h26.8a1.369 1.369 0 0 1 1.366 1.366z",transform:"translate(0 -36)"}))},Hn=function(e){return t().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"m141.976 133.609a8.367 8.367 0 1 0 8.367 8.367 8.376 8.376 0 0 0 -8.367-8.367zm0 14.641a6.275 6.275 0 1 1 6.275-6.275 6.282 6.282 0 0 1 -6.275 6.275zm0 0",transform:"translate(-124.476 -124.476)"}),t().createElement("path",{d:"m34.176 13.515-2.69-.585a14.64 14.64 0 0 0 -.866-2.088l1.49-2.316a1.046 1.046 0 0 0 -.14-1.3l-4.191-4.196a1.046 1.046 0 0 0 -1.3-.14l-2.322 1.489a14.64 14.64 0 0 0 -2.088-.866l-.584-2.69a1.046 1.046 0 0 0 -1.022-.823h-5.926a1.046 1.046 0 0 0 -1.022.824l-.585 2.69a14.64 14.64 0 0 0 -2.088.866l-2.316-1.49a1.046 1.046 0 0 0 -1.3.14l-4.196 4.191a1.046 1.046 0 0 0 -.14 1.3l1.489 2.316a14.64 14.64 0 0 0 -.866 2.088l-2.69.585a1.046 1.046 0 0 0 -.823 1.027v5.926a1.046 1.046 0 0 0 .824 1.022l2.69.585a14.64 14.64 0 0 0 .866 2.088l-1.49 2.316a1.046 1.046 0 0 0 .14 1.3l4.191 4.196a1.046 1.046 0 0 0 1.3.14l2.316-1.489a14.64 14.64 0 0 0 2.088.866l.585 2.69a1.046 1.046 0 0 0 1.027.823h5.926a1.046 1.046 0 0 0 1.022-.824l.585-2.69a14.64 14.64 0 0 0 2.088-.866l2.316 1.489a1.046 1.046 0 0 0 1.3-.14l4.191-4.191a1.046 1.046 0 0 0 .14-1.3l-1.489-2.316a14.64 14.64 0 0 0 .866-2.088l2.69-.585a1.046 1.046 0 0 0 .828-1.026v-5.926a1.046 1.046 0 0 0 -.824-1.022zm-1.268 6.105-2.467.536a1.046 1.046 0 0 0 -.785.741 12.548 12.548 0 0 1 -1.156 2.795 1.045 1.045 0 0 0 .031 1.08l1.364 2.128-3 3-2.125-1.366a1.045 1.045 0 0 0 -1.079-.031 12.555 12.555 0 0 1 -2.791 1.153 1.046 1.046 0 0 0 -.741.785l-.536 2.467h-4.243l-.536-2.467a1.046 1.046 0 0 0 -.741-.785 12.548 12.548 0 0 1 -2.795-1.156 1.046 1.046 0 0 0 -1.08.031l-2.128 1.364-3-3 1.366-2.124a1.046 1.046 0 0 0 .031-1.08 12.562 12.562 0 0 1 -1.154-2.791 1.046 1.046 0 0 0 -.785-.741l-2.466-.539v-4.24l2.467-.536a1.046 1.046 0 0 0 .785-.741 12.548 12.548 0 0 1 1.156-2.795 1.045 1.045 0 0 0 -.031-1.08l-1.364-2.128 3-3 2.125 1.366a1.045 1.045 0 0 0 1.079.031 12.556 12.556 0 0 1 2.791-1.154 1.046 1.046 0 0 0 .741-.785l.536-2.467h4.24l.536 2.467a1.046 1.046 0 0 0 .741.785 12.548 12.548 0 0 1 2.798 1.157 1.046 1.046 0 0 0 1.08-.031l2.128-1.364 3 3-1.366 2.124a1.046 1.046 0 0 0 -.031 1.08 12.549 12.549 0 0 1 1.153 2.791 1.046 1.046 0 0 0 .785.741l2.467.536zm0 0"}))},Yn=function(){return t().createElement("svg",{viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M406 449.9c18.5-3.2 37.8-7.8 57.9-13.8s38.6-14.3 55.5-24.8 30.8-23.5 41.6-39.3c10.9-15.7 16.3-35.2 16.3-58.5 0-34.6-12.5-60.9-37.5-79s-57.9-27.2-99-27.2c-16.9 0-31.9.6-45.2 1.8s-25.5 3.2-36.8 6-22.8 6-34.4 9.6c-11.6 3.7-24 7.9-36.8 12.7-11.3-20.9-20.5-42.6-27.7-65.2-7.3-22.6-11.6-45.8-13.3-70 20.9-7.3 40.3-13.5 57.9-18.7 17.7-5.2 35-9.5 51.9-12.7 17.1-3.1 33.9-5.3 50.8-6.6 16.9-1.1 35-1.8 54.3-1.8 96.5 0 169.3 21.9 218.5 65.8 49.1 43.8 73.6 103.9 73.6 180.4 0 37.8-7.3 70.4-21.7 97.8-14.4 27.3-31.9 50.5-52.5 69.4-20.5 18.9-41.6 34.2-63.3 45.9-21.7 11.6-39.5 20.3-53.1 26v109.7c-28.2 4.8-55.1 7.3-80.8 7.3-26.5 0-51.9-2.5-76-7.3zm-12 480.3c-4.8-29.8-7.3-59.2-7.3-88.1s2.4-58.7 7.3-89.3c29.8-4.8 59.2-7.3 88.1-7.3 29 0 58.7 2.5 89.3 7.3 4.8 30.6 7.3 59.9 7.3 88.1 0 29.8-2.5 59.5-7.3 89.3-30.6 4.8-59.9 7.3-88.1 7.3-29.8 0-59.6-2.4-89.3-7.3z"}))},Un=function(){return Un=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0||e.relatedTarget.className.indexOf("".concat(i,"-item"))>=0)||o(t.getValidValue()))},t.go=function(e){""!==t.state.goInputText&&(13!==e.keyCode&&"click"!==e.type||(t.setState({goInputText:""}),t.props.quickGo(t.getValidValue())))},t}return Ar(r,[{key:"getValidValue",value:function(){var t=this.state.goInputText;return!t||isNaN(t)?void 0:Number(t)}},{key:"getPageSizeOptions",value:function(){var t=this.props,e=t.pageSize,n=t.pageSizeOptions;return n.some((function(t){return t.toString()===e.toString()}))?n:n.concat([e.toString()]).sort((function(t,e){return(isNaN(Number(t))?0:Number(t))-(isNaN(Number(e))?0:Number(e))}))}},{key:"render",value:function(){var t=this,n=this.props,r=n.pageSize,o=n.locale,i=n.rootPrefixCls,a=n.changeSize,s=n.quickGo,l=n.goButton,c=n.selectComponentClass,u=n.buildOptionText,p=n.selectPrefixCls,d=n.disabled,f=this.state.goInputText,h="".concat(i,"-options"),g=c,m=null,y=null,v=null;if(!a&&!s)return null;var b=this.getPageSizeOptions();if(a&&g){var x=b.map((function(n,r){return e().createElement(g.Option,{key:r,value:n.toString()},(u||t.buildOptionText)(n))}));m=e().createElement(g,{disabled:d,prefixCls:p,showSearch:!1,className:"".concat(h,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(r||b[0]).toString(),onChange:this.changeSize,getPopupContainer:function(t){return t.parentNode},"aria-label":o.page_size,defaultOpen:!1},x)}return s&&(l&&(v="boolean"==typeof l?e().createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:d,className:"".concat(h,"-quick-jumper-button")},o.jump_to_confirm):e().createElement("span",{onClick:this.go,onKeyUp:this.go},l)),y=e().createElement("div",{className:"".concat(h,"-quick-jumper")},o.jump_to,e().createElement("input",{disabled:d,type:"text",value:f,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":o.page}),o.page,v)),e().createElement("li",{className:"".concat(h)},m,y)}}]),r}(e().Component);ea.defaultProps={pageSizeOptions:["10","20","50","100"]};var na=ea;function ra(){}function oa(t){var e=Number(t);return"number"==typeof e&&!isNaN(e)&&isFinite(e)&&Math.floor(e)===e}function ia(t,e,n){var r=void 0===t?e.pageSize:t;return Math.floor((n.total-1)/r)+1}var aa=function(n){Dr(o,n);var r=$i(o);function o(t){var n;Mr(this,o),(n=r.call(this,t)).getJumpPrevPage=function(){return Math.max(1,n.state.current-(n.props.showLessItems?3:5))},n.getJumpNextPage=function(){return Math.min(ia(void 0,n.state,n.props),n.state.current+(n.props.showLessItems?3:5))},n.getItemIcon=function(t,r){var o=n.props.prefixCls,i=t||e().createElement("button",{type:"button","aria-label":r,className:"".concat(o,"-item-link")});return"function"==typeof t&&(i=e().createElement(t,function(t){for(var e=1;e0},n.shouldDisplayQuickJumper=function(){var t=n.props,e=t.showQuickJumper;return!(t.total<=n.state.pageSize)&&e},n.handleKeyDown=function(t){38!==t.keyCode&&40!==t.keyCode||t.preventDefault()},n.handleKeyUp=function(t){var e=n.getValidValue(t);e!==n.state.currentInputValue&&n.setState({currentInputValue:e}),13===t.keyCode?n.handleChange(e):38===t.keyCode?n.handleChange(e-1):40===t.keyCode&&n.handleChange(e+1)},n.handleBlur=function(t){var e=n.getValidValue(t);n.handleChange(e)},n.changePageSize=function(t){var e=n.state.current,r=ia(t,n.state,n.props);e=e>r?r:e,0===r&&(e=n.state.current),"number"==typeof t&&("pageSize"in n.props||n.setState({pageSize:t}),"current"in n.props||n.setState({current:e,currentInputValue:e})),n.props.onShowSizeChange(e,t),"onChange"in n.props&&n.props.onChange&&n.props.onChange(e,t)},n.handleChange=function(t){var e=n.props,r=e.disabled,o=e.onChange,i=n.state,a=i.pageSize,s=i.current,l=i.currentInputValue;if(n.isValid(t)&&!r){var c=ia(void 0,n.state,n.props),u=t;return t>c?u=c:t<1&&(u=1),"current"in n.props||n.setState({current:u}),u!==l&&n.setState({currentInputValue:u}),o(u,a),u}return s},n.prev=function(){n.hasPrev()&&n.handleChange(n.state.current-1)},n.next=function(){n.hasNext()&&n.handleChange(n.state.current+1)},n.jumpPrev=function(){n.handleChange(n.getJumpPrevPage())},n.jumpNext=function(){n.handleChange(n.getJumpNextPage())},n.hasPrev=function(){return n.state.current>1},n.hasNext=function(){return n.state.current2?n-2:0),o=2;o=n?n:Number(e)}},{key:"getShowSizeChanger",value:function(){var t=this.props,e=t.showSizeChanger,n=t.total,r=t.totalBoundaryShowSizeChanger;return void 0!==e?e:n>r}},{key:"renderPrev",value:function(e){var n=this.props,r=n.prevIcon,o=(0,n.itemRender)(e,"prev",this.getItemIcon(r,"prev page")),i=!this.hasPrev();return(0,t.isValidElement)(o)?(0,t.cloneElement)(o,{disabled:i}):o}},{key:"renderNext",value:function(e){var n=this.props,r=n.nextIcon,o=(0,n.itemRender)(e,"next",this.getItemIcon(r,"next page")),i=!this.hasNext();return(0,t.isValidElement)(o)?(0,t.cloneElement)(o,{disabled:i}):o}},{key:"render",value:function(){var n=this,r=this.props,o=r.prefixCls,i=r.className,a=r.style,s=r.disabled,c=r.hideOnSinglePage,u=r.total,p=r.locale,d=r.showQuickJumper,f=r.showLessItems,h=r.showTitle,g=r.showTotal,m=r.simple,y=r.itemRender,v=r.showPrevNextJumpers,b=r.jumpPrevIcon,x=r.jumpNextIcon,w=r.selectComponentClass,S=r.selectPrefixCls,k=r.pageSizeOptions,C=this.state,_=C.current,E=C.pageSize,M=C.currentInputValue;if(!0===c&&u<=E)return null;var O=ia(void 0,this.state,this.props),A=[],D=null,j=null,I=null,L=null,T=null,N=d&&d.goButton,P=f?1:2,z=_-1>0?_-1:0,R=_+1=2*P&&3!==_&&(A[0]=(0,t.cloneElement)(A[0],{className:"".concat(o,"-item-after-jump-prev")}),A.unshift(D)),O-_>=2*P&&_!==O-2&&(A[A.length-1]=(0,t.cloneElement)(A[A.length-1],{className:"".concat(o,"-item-before-jump-next")}),A.push(j)),1!==V&&A.unshift(I),K!==O&&A.push(L)}var q=null;g&&(q=e().createElement("li",{className:"".concat(o,"-total-text")},g(u,[0===u?0:(_-1)*E+1,_*E>u?u:_*E])));var Z=!this.hasPrev()||!O,Q=!this.hasNext()||!O;return e().createElement("ul",l({className:Ie()(o,i,jr({},"".concat(o,"-disabled"),s)),style:a,unselectable:"unselectable",ref:this.savePaginationNode},B),q,e().createElement("li",{title:h?p.prev_page:null,onClick:this.prev,tabIndex:Z?null:0,onKeyPress:this.runIfEnterPrev,className:Ie()("".concat(o,"-prev"),jr({},"".concat(o,"-disabled"),Z)),"aria-disabled":Z},this.renderPrev(z)),A,e().createElement("li",{title:h?p.next_page:null,onClick:this.next,tabIndex:Q?null:0,onKeyPress:this.runIfEnterNext,className:Ie()("".concat(o,"-next"),jr({},"".concat(o,"-disabled"),Q)),"aria-disabled":Q},this.renderNext(R)),e().createElement(na,{disabled:s,locale:p,rootPrefixCls:o,selectComponentClass:w,selectPrefixCls:S,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:_,pageSize:E,pageSizeOptions:k,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:N}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n={};if("current"in t&&(n.current=t.current,t.current!==e.current&&(n.currentInputValue=n.current)),"pageSize"in t&&t.pageSize!==e.pageSize){var r=e.current,o=ia(t.pageSize,e,t);r=r>o?o:r,"current"in t||(n.current=r,n.currentInputValue=r),n.pageSize=t.pageSize}return n}}]),o}(e().Component);aa.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ra,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ra,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(t,e,n){return n},totalBoundaryShowSizeChanger:50};var sa=aa,la={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},ca=n(488),ua=(ca.domToReact,ca.htmlToDOM,ca.attributesToProps,ca.Element,ca),pa=function(n){var r=pt(),o=(0,t.useState)(!1),i=o[0],a=o[1],s=(0,t.useState)(!1),l=s[0],c=s[1],u=(0,t.useRef)(null),p={title:(0,lt.__)("loading...","notificationx")},d=(0,t.useState)(!0),f=d[0],h=d[1],g=(0,t.useState)({all:0,enabled:0,disabled:0}),m=g[0],y=g[1],v=(0,t.useState)(20),b=v[0],x=v[1],w=(0,t.useState)(1),S=w[0],k=w[1],C=(0,t.useState)([p]),_=C[0],E=C[1],M=(0,t.useState)([p]),O=M[0],A=M[1],D=Q(),j=function(t,e){return ve.useQuery(D.search).get(t)||e},I=j("status","all");return(0,t.useEffect)((function(){u.current=!0;var t=j("p",1),e=j("per-page",20);return k(Number(t)),x(Number(e)),function(){u.current=!1}}),[]),(0,t.useEffect)((function(){if(0!==S&&0!==b){h(!0);var t="undefined"==typeof AbortController?void 0:new AbortController;return ve.get("nx?status=".concat(I,"&page=").concat(S,"&per_page=").concat(b),{signal:null==t?void 0:t.signal}).then((function(e){var n;(null===(n=null==t?void 0:t.signal)||void 0===n?void 0:n.aborted)||(h(!1),(0,fe.isArray)(null==e?void 0:e.posts)&&u.current&&(E(null==e?void 0:e.posts),A(ve.filtered(null==e?void 0:e.posts,I))),(null==e?void 0:e.total)&&u.current&&y({all:(null==e?void 0:e.total)||0,enabled:(null==e?void 0:e.enabled)||0,disabled:(null==e?void 0:e.disabled)||0}))})).catch((function(t){h(!1),console.error((0,lt.__)("NotificationX Fetch Error: ","notificationx"),t)})),function(){null==t||t.abort()}}}),[S,b,I,l]),e().useEffect((function(){A(ve.filtered(_,I))}),[_]),e().useEffect((function(){0!==b&&r.setRedirect({page:"nx-admin",status:I,p:S,"per-page":b})}),[b,S]),(0,t.useEffect)((function(){0==O.length&&S>1&&k((function(t){return--t}))}),[O]),e().createElement(e().Fragment,null,e().createElement("div",{className:"notificationx-items"},e().createElement(qi,{status:I,perPage:b,setCurrentPage:k,notificationx:_,updateNotice:E,totalItems:m,filteredNotice:O,setTotalItems:y,setCheckAll:a,setReload:c}),e().createElement(_e,{isLoading:f,div:!1},0==O.length&&e().createElement("div",{className:"nx-no-items"},e().createElement("img",{src:ye("images/logos/large-logo-icon.png")}),"all"==I?e().createElement(e().Fragment,null,e().createElement("h4",null,(0,lt.__)("No notifications are found.","notificationx")),e().createElement("p",null,(0,lt.__)("Seems like you haven’t created any notification alerts.","notificationx"),e().createElement("br",null),ua((0,lt.sprintf)((0,lt.__)('Hit on %1$s"Add New"%2$s button to get started',"notificationx"),"","")))):"enabled"==I?e().createElement(e().Fragment,null,e().createElement("h4",null,(0,lt.__)("No notifications are enabled.","notificationx")),e().createElement("p",null,(0,lt.__)("There’s no enabled Notification Alerts.","notificationx"),e().createElement("br",null),ua((0,lt.sprintf)((0,lt.__)('Simply use the toggle switch to turn your notifications from %1$s"All NotificationX"%2$s page.',"notificationx"),"","")))):e().createElement(e().Fragment,null,e().createElement("h4",null,(0,lt.__)("No notifications are disabled.","notificationx")),e().createElement("p",null,(0,lt.__)("There’s no disabled Notification Alerts.","notificationx")))),O.length>0&&e().createElement(e().Fragment,null,e().createElement(Vi,{filteredNotice:O,setFilteredNotice:A,getNotice:_,updateNotice:E,totalItems:m,setTotalItems:y,checkAll:i,setCheckAll:a,setReload:c}),e().createElement("div",{className:"nx-admin-items-footer"},e().createElement(De.SelectControl,{label:"Show Notifications :",value:b.toString(),onChange:function(t){x(parseInt(t)),k(1)},options:[{value:"10",label:(0,lt.__)("10")},{value:"20",label:(0,lt.__)("20")},{value:"50",label:(0,lt.__)("50")},{value:"100",label:(0,lt.__)("100")},{value:"200",label:(0,lt.__)("200")}]}),e().createElement(sa,{current:S,onChange:k,total:null==m?void 0:m[I],pageSize:b,itemRender:function(t,n,r){return e().createElement(Ki,{status:I,current:t,perPage:b},(0,lt.__)(t))},showTitle:!1,hideOnSinglePage:!0,locale:la}))))))},da=Re((function(t){var n=pt();return e().createElement("div",null,e().createElement(ke,null),e().createElement(Ue,{analytics:null==n?void 0:n.analytics,assetsURL:n.assets}),e().createElement(pa,null))}),(0,lt.__)("All NotificationX","notificationx")),fa=function(t){var n=t.assetsUrl,r=t.is_pro_active,o=void 0!==r&&r;return e().createElement("div",{className:"nx-settings-right"},e().createElement("div",{className:"nx-sidebar"},e().createElement("div",{className:"nx-sidebar-block"},e().createElement("div",{className:"nx-admin-sidebar-logo"},e().createElement("img",{alt:"NotificationX",src:"".concat(n.admin,"images/logo.svg")})),e().createElement("div",{className:"nx-admin-sidebar-cta"},o?e().createElement("a",{href:"https://store.wpdeveloper.com",rel:"nofollow",target:"_blank"},(0,lt.__)("Manage License","notificationx")):e().createElement("a",{href:"http://wpdeveloper.com/in/upgrade-notificationx",rel:"nofollow",target:"_blank"},(0,lt.__)("Upgrade to Pro","notificationx")))),e().createElement("div",{className:"nx-sidebar-block nx-license-block"},(0,i.applyFilters)("nx_licensing"))))},ha=function(t){var n=t.assetsUrl;return e().createElement("div",{className:"nx-settings-documentation"},e().createElement("div",{className:"nx-settings-row"},e().createElement("div",{className:"nx-admin-block nx-admin-block-docs"},e().createElement("header",{className:"nx-admin-block-header"},e().createElement("div",{className:"nx-admin-block-header-icon"},e().createElement("img",{src:"".concat(n.admin,"images/icons/icon-documentation.svg"),alt:"notificationx-documentation"})),e().createElement("h4",{className:"nx-admin-title"},(0,lt.__)("Documentation","notificationx"))),e().createElement("div",{className:"nx-admin-block-content"},e().createElement("p",null,(0,lt.__)("Get started by spending some time with the documentation to get familiar with NotificationX. Build awesome websites for you or your clients with ease.","notificationx")),e().createElement("a",{rel:"nofollow",href:"https://notificationx.com/docs/",className:"nx-button",target:"_blank"},(0,lt.__)("Documentation","notificationx")))),e().createElement("div",{className:"nx-admin-block nx-admin-block-contribute"},e().createElement("header",{className:"nx-admin-block-header"},e().createElement("div",{className:"nx-admin-block-header-icon"},e().createElement("img",{src:"".concat(n.admin,"images/icons/icon-contribute.svg"),alt:"notificationx-contribute"})),e().createElement("h4",{className:"nx-admin-title"},(0,lt.__)("Contribute to NotificationX","notificationx"))),e().createElement("div",{className:"nx-admin-block-content"},e().createElement("p",null,(0,lt.__)("You can contribute to make NotificationX better reporting bugs, creating issues, pull requests at","notificationx")," ",e().createElement("a",{rel:"nofollow",target:"_blank",href:"https://github.com/WPDevelopers/notificationx"},"GitHub.")),e().createElement("a",{rel:"nofollow",href:"https://github.com/WPDevelopers/notificationx/issues/new",className:"nx-button",target:"_blank"},(0,lt.__)("Report a bug","notificationx")))),e().createElement("div",{className:"nx-admin-block nx-admin-block-need-help"},e().createElement("header",{className:"nx-admin-block-header"},e().createElement("div",{className:"nx-admin-block-header-icon"},e().createElement("img",{src:"".concat(n.admin,"images/icons/icon-need-help.svg"),alt:"notificationx-help"})),e().createElement("h4",{className:"nx-admin-title"},(0,lt.__)("Need Help?","notificationx"))),e().createElement("div",{className:"nx-admin-block-content"},e().createElement("p",null,(0,lt.__)("Stuck with something? Get help from live chat or support ticket.","notificationx")),e().createElement("a",{rel:"nofollow",href:"https://wpdeveloper.com",className:"nx-button",target:"_blank"},(0,lt.__)("Initiate a Chat","notificationx")))),e().createElement("div",{className:"nx-admin-block nx-admin-block-community"},e().createElement("header",{className:"nx-admin-block-header"},e().createElement("div",{className:"nx-admin-block-header-icon"},e().createElement("img",{src:"".concat(n.admin,"images/icons/icon-show-love.svg"),alt:"notificationx-commuinity"})),e().createElement("h4",{className:"nx-admin-title"},(0,lt.__)("Show Your Love","notificationx"))),e().createElement("div",{className:"nx-admin-block-content"},e().createElement("p",null,(0,lt.__)("We love to have you in NotificationX family. We are making it more awesome everyday. Take your 2 minutes to review the plugin and spread the love to encourage us to keep it going.","notificationx")),e().createElement("a",{rel:"nofollow",href:"https://wpdeveloper.com/review-notificationx",className:"nx-button",target:"_blank"},(0,lt.__)("Leave a Review","notificationx"))))))},ga=function(t){return e().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},e().createElement("path",{d:"m35 17.5a1.026 1.026 0 0 0 -.487-.871l-3.557-2.193 3.561-2.216a1.025 1.025 0 0 0 0-1.739l-16.473-10.325a1.025 1.025 0 0 0 -1.089 0l-16.474 10.323a1.025 1.025 0 0 0 0 1.739l3.536 2.2-3.535 2.213a1.025 1.025 0 0 0 0 1.74l3.536 2.2-3.536 2.212a1.025 1.025 0 0 0 0 1.738l16.474 10.323a1.025 1.025 0 0 0 1.089 0l16.474-10.323a1.025 1.025 0 0 0 -.006-1.742l-3.557-2.193 3.561-2.216a1.025 1.025 0 0 0 .483-.87zm-32.039-6.155 14.539-9.109 14.539 9.109-14.539 9.049zm29.071 12.315-14.532 9.105-14.542-9.111 3-1.875 11 6.846a1.025 1.025 0 0 0 1.084 0l10.969-6.825zm-14.532 2.886-14.537-9.046 3-1.872 11 6.846a1.025 1.025 0 0 0 1.084 0l10.969-6.827 3.011 1.853z"}))},ma=function(t){return e().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},e().createElement("path",{d:"m10.322 28.779a4.09 4.09 0 0 0 -1.3-3v-.006c.073-1 .132-2.062.176-3.154a6.707 6.707 0 0 1 4.425 2.381 4.954 4.954 0 0 1 .682 3.828 3.088 3.088 0 0 0 2.344 3.768 15.678 15.678 0 0 0 2.961.285 15.49 15.49 0 0 0 15.39-15.381c0-8.656-7.526-15.717-15.387-15.435a17.907 17.907 0 0 0 -10.813 4.599q-.051-.476-.107-.926a24.7 24.7 0 0 0 -.693-3.701c-.176-.61-.594-2.037-1.779-2.037s-1.6 1.427-1.782 2.037a24.707 24.707 0 0 0 -.686 3.7 100.513 100.513 0 0 0 -.608 11.763c0 2.893.1 5.755.279 8.277v.006a4.09 4.09 0 0 0 -1.3 3v2.117a2.114 2.114 0 0 1 -2.124 2.049v2.051h4.17a6.208 6.208 0 0 0 6.152-6.221zm9.364-24.665c6.607-.237 13.265 5.795 13.263 13.386a13.413 13.413 0 0 1 -15.913 13.079 1.047 1.047 0 0 1 -.729-1.307 6.927 6.927 0 0 0 -1.013-5.465c-1.2-1.691-3.232-2.784-6.033-3.255.024-1 .036-3.128.036-3.167a3.076 3.076 0 1 0 -.062-3.943c-.046-1.457-.116-2.854-.209-4.16a16.223 16.223 0 0 1 10.66-5.168zm-9.049 11a1.025 1.025 0 1 1 .725 1.256 1.025 1.025 0 0 1 -.725-1.259zm-4.95-8.248a32.829 32.829 0 0 1 .534-3.522 32.829 32.829 0 0 1 .534 3.522 104.392 104.392 0 0 1 .491 10.634q0 .514 0 1.025h-2.046q0-.511 0-1.025a104.392 104.392 0 0 1 .487-10.634zm-.454 13.709h1.976c-.035 1.448-.095 2.856-.178 4.183a4.1 4.1 0 0 0 -1.62 0c-.083-1.327-.143-2.735-.178-4.183zm-1.063 10.325v-2.121a2.051 2.051 0 0 1 4.1 0 4.141 4.141 0 0 1 -4.1 4.17h-.564a3.991 3.991 0 0 0 .564-2.049z"}),e().createElement("path",{d:"m331.094 131.418a3.076 3.076 0 1 0 -4.35 0 3.074 3.074 0 0 0 4.35 0zm-2.9-2.9a1.025 1.025 0 1 1 0 1.45 1.027 1.027 0 0 1 0-1.45z",transform:"translate(-303.568 -117.543)"}),e().createElement("path",{d:"m213.809 101.132a3.076 3.076 0 1 0 -3.768-2.175 3.08 3.08 0 0 0 3.768 2.175zm-1.061-3.962a1.025 1.025 0 1 1 -.725 1.256 1.027 1.027 0 0 1 .725-1.255z",transform:"translate(-195.585 -88.585)"}),e().createElement("path",{d:"m272.158 330.771a3.076 3.076 0 1 0 2.175-3.771 3.08 3.08 0 0 0 -2.175 3.771zm2.706-1.787a1.025 1.025 0 1 1 -.725 1.256 1.025 1.025 0 0 1 .725-1.256z",transform:"translate(-253.455 -304.551)"}),e().createElement("path",{d:"m357.011 244.325a3.076 3.076 0 1 0 3.768-2.175 3.08 3.08 0 0 0 -3.768 2.175zm3.962 1.062a1.025 1.025 0 1 1 -.725-1.256 1.025 1.025 0 0 1 .725 1.256z",transform:"translate(-332.508 -225.499)"}))},ya=function(t){return e().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},e().createElement("path",{d:"m18.867 25.566a1.367 1.367 0 0 1 -1.367 1.368h-8.066a1.367 1.367 0 0 1 0-2.734h8.066a1.367 1.367 0 0 1 1.367 1.366zm16.133-17.353v16.009a7.807 7.807 0 0 1 -2.3 5.557l-2.921 2.921a7.807 7.807 0 0 1 -5.557 2.3h-16.009a8.209 8.209 0 0 1 -8.213-8.213v-18.574a8.209 8.209 0 0 1 8.213-8.213h18.574a8.209 8.209 0 0 1 8.213 8.213zm-2.918 17.376h-3.758a2.737 2.737 0 0 0 -2.734 2.734v3.759a5.1 5.1 0 0 0 2.256-1.317l2.919-2.919a5.1 5.1 0 0 0 1.317-2.257zm.183-17.376a5.476 5.476 0 0 0 -5.479-5.479h-18.573a5.476 5.476 0 0 0 -5.479 5.479v18.574a5.476 5.476 0 0 0 5.479 5.479h14.642v-3.942a5.475 5.475 0 0 1 5.469-5.469h3.942zm-6.7 7.919h-16.131a1.367 1.367 0 1 0 0 2.734h16.132a1.367 1.367 0 1 0 0-2.734zm0-8.066h-16.131a1.367 1.367 0 1 0 0 2.734h16.132a1.367 1.367 0 1 0 0-2.734z"}))},va=function(t){return e().createElement("svg",{viewBox:"0 0 35 30.078",xmlns:"http://www.w3.org/2000/svg"},e().createElement("path",{d:"m30.9 36h-26.8a4.106 4.106 0 0 0 -4.1 4.1v16.408a4.106 4.106 0 0 0 4.1 4.1h12.033v2.734h-7.11v2.734h16.954v-2.732h-7.11v-2.735h12.033a4.106 4.106 0 0 0 4.1-4.1v-16.409a4.106 4.106 0 0 0 -4.1-4.1zm1.367 20.508a1.369 1.369 0 0 1 -1.367 1.367h-26.8a1.369 1.369 0 0 1 -1.367-1.367v-16.408a1.369 1.369 0 0 1 1.367-1.366h26.8a1.369 1.369 0 0 1 1.366 1.366z",transform:"translate(0 -36)"}))},ba=function(t){return e().createElement("svg",{viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg"},e().createElement("path",{d:"m141.976 133.609a8.367 8.367 0 1 0 8.367 8.367 8.376 8.376 0 0 0 -8.367-8.367zm0 14.641a6.275 6.275 0 1 1 6.275-6.275 6.282 6.282 0 0 1 -6.275 6.275zm0 0",transform:"translate(-124.476 -124.476)"}),e().createElement("path",{d:"m34.176 13.515-2.69-.585a14.64 14.64 0 0 0 -.866-2.088l1.49-2.316a1.046 1.046 0 0 0 -.14-1.3l-4.191-4.196a1.046 1.046 0 0 0 -1.3-.14l-2.322 1.489a14.64 14.64 0 0 0 -2.088-.866l-.584-2.69a1.046 1.046 0 0 0 -1.022-.823h-5.926a1.046 1.046 0 0 0 -1.022.824l-.585 2.69a14.64 14.64 0 0 0 -2.088.866l-2.316-1.49a1.046 1.046 0 0 0 -1.3.14l-4.196 4.191a1.046 1.046 0 0 0 -.14 1.3l1.489 2.316a14.64 14.64 0 0 0 -.866 2.088l-2.69.585a1.046 1.046 0 0 0 -.823 1.027v5.926a1.046 1.046 0 0 0 .824 1.022l2.69.585a14.64 14.64 0 0 0 .866 2.088l-1.49 2.316a1.046 1.046 0 0 0 .14 1.3l4.191 4.196a1.046 1.046 0 0 0 1.3.14l2.316-1.489a14.64 14.64 0 0 0 2.088.866l.585 2.69a1.046 1.046 0 0 0 1.027.823h5.926a1.046 1.046 0 0 0 1.022-.824l.585-2.69a14.64 14.64 0 0 0 2.088-.866l2.316 1.489a1.046 1.046 0 0 0 1.3-.14l4.191-4.191a1.046 1.046 0 0 0 .14-1.3l-1.489-2.316a14.64 14.64 0 0 0 .866-2.088l2.69-.585a1.046 1.046 0 0 0 .828-1.026v-5.926a1.046 1.046 0 0 0 -.824-1.022zm-1.268 6.105-2.467.536a1.046 1.046 0 0 0 -.785.741 12.548 12.548 0 0 1 -1.156 2.795 1.045 1.045 0 0 0 .031 1.08l1.364 2.128-3 3-2.125-1.366a1.045 1.045 0 0 0 -1.079-.031 12.555 12.555 0 0 1 -2.791 1.153 1.046 1.046 0 0 0 -.741.785l-.536 2.467h-4.243l-.536-2.467a1.046 1.046 0 0 0 -.741-.785 12.548 12.548 0 0 1 -2.795-1.156 1.046 1.046 0 0 0 -1.08.031l-2.128 1.364-3-3 1.366-2.124a1.046 1.046 0 0 0 .031-1.08 12.562 12.562 0 0 1 -1.154-2.791 1.046 1.046 0 0 0 -.785-.741l-2.466-.539v-4.24l2.467-.536a1.046 1.046 0 0 0 .785-.741 12.548 12.548 0 0 1 1.156-2.795 1.045 1.045 0 0 0 -.031-1.08l-1.364-2.128 3-3 2.125 1.366a1.045 1.045 0 0 0 1.079.031 12.556 12.556 0 0 1 2.791-1.154 1.046 1.046 0 0 0 .741-.785l.536-2.467h4.24l.536 2.467a1.046 1.046 0 0 0 .741.785 12.548 12.548 0 0 1 2.798 1.157 1.046 1.046 0 0 0 1.08-.031l2.128-1.364 3 3-1.366 2.124a1.046 1.046 0 0 0 -.031 1.08 12.549 12.549 0 0 1 1.153 2.791 1.046 1.046 0 0 0 .785.741l2.467.536zm0 0"}))},xa=function(){return e().createElement("svg",{viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg"},e().createElement("path",{d:"M406 449.9c18.5-3.2 37.8-7.8 57.9-13.8s38.6-14.3 55.5-24.8 30.8-23.5 41.6-39.3c10.9-15.7 16.3-35.2 16.3-58.5 0-34.6-12.5-60.9-37.5-79s-57.9-27.2-99-27.2c-16.9 0-31.9.6-45.2 1.8s-25.5 3.2-36.8 6-22.8 6-34.4 9.6c-11.6 3.7-24 7.9-36.8 12.7-11.3-20.9-20.5-42.6-27.7-65.2-7.3-22.6-11.6-45.8-13.3-70 20.9-7.3 40.3-13.5 57.9-18.7 17.7-5.2 35-9.5 51.9-12.7 17.1-3.1 33.9-5.3 50.8-6.6 16.9-1.1 35-1.8 54.3-1.8 96.5 0 169.3 21.9 218.5 65.8 49.1 43.8 73.6 103.9 73.6 180.4 0 37.8-7.3 70.4-21.7 97.8-14.4 27.3-31.9 50.5-52.5 69.4-20.5 18.9-41.6 34.2-63.3 45.9-21.7 11.6-39.5 20.3-53.1 26v109.7c-28.2 4.8-55.1 7.3-80.8 7.3-26.5 0-51.9-2.5-76-7.3zm-12 480.3c-4.8-29.8-7.3-59.2-7.3-88.1s2.4-58.7 7.3-89.3c29.8-4.8 59.2-7.3 88.1-7.3 29 0 58.7 2.5 89.3 7.3 4.8 30.6 7.3 59.9 7.3 88.1 0 29.8-2.5 59.5-7.3 89.3-30.6 4.8-59.9 7.3-88.1 7.3-29.8 0-59.6-2.4-89.3-7.3z"}))},wa=function(){return wa=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o.setFormField(null,null==e?void 0:e.tabs)})),null===(t=null===(e=null==n?void 0:n.location)||void 0===e?void 0:e.state)||void 0===t?void 0:t.duplicate){var a=parseInt(null===(i=null===(r=null==n?void 0:n.location)||void 0===r?void 0:r.state)||void 0===i?void 0:i._id);u(!0),yt.get("nx/".concat(a)).then((function(e){e&&(delete e.id,delete e.nx_id,e.nx_id=null,e.enabled=!0,o.setValues(e),o.setSavedValues(e),o.setActiveTab(null==e?void 0:e.currentTab), +u((0,lt.sprintf)((0,lt.__)("NotificationX - %1$s - %2$s","notificationx"),i,s))}),[null===(r=null==o?void 0:o.values)||void 0===r?void 0:r.type]),e().createElement(fe.BuilderProvider,{value:ja(ja({},o),{isLoading:a,setIsLoading:s,title:c,setTitle:u})},e().createElement(ke,{addNew:!0}),e().createElement(_e,{isLoading:a},e().createElement(Da,{isLoading:a})))}),(0,lt.__)("Quick Builder","notificationx")),La=function(){return La=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o.setFormField(null,null==t?void 0:t.tabs)})),null===(e=null===(t=null==n?void 0:n.location)||void 0===t?void 0:t.state)||void 0===e?void 0:e.duplicate){var a=parseInt(null===(i=null===(r=null==n?void 0:n.location)||void 0===r?void 0:r.state)||void 0===i?void 0:i._id);u(!0),ve.get("nx/".concat(a)).then((function(t){t&&(delete t.id,delete t.nx_id,t.nx_id=null,t.enabled=!0,o.setValues(t),o.setSavedValues(t),o.setActiveTab(null==t?void 0:t.currentTab), // translators: Postfix for notice created by duplicate button. -s((null==e?void 0:e.title)+(0,le.__)(" - Copy","notificationx")),u(!1))}))}}),[]),t().createElement(ft.BuilderProvider,{value:o},t().createElement("div",null,t().createElement(kt,{addNew:!0}),t().createElement(Et,{isLoading:c},t().createElement(lr,{setIsLoading:u,title:a,setTitle:s}))))}),(0,le.__)("Add New","notificationx"));(0,i.addFilter)("nx_adv_template_default","notificationx",(function(e){var t=function(e){var t=e.themes.replace(e.source+"_","");return t=t.replace(e.type+"_",""),(null==e?void 0:e.custom_type)&&(t=t.replace((null==e?void 0:e.custom_type)+"_","")),t}(e),n=rr(rr({},{first_param:"",second_param:"",third_param:"",fourth_param:"",fifth_param:"",sixth_param:"",map_fourth_param:"",ga_fourth_param:"",ga_fifth_param:"",review_fourth_param:""}),null==e?void 0:e["notification-template"]);for(var r in n)if(Object.hasOwnProperty.call(n,r)){var o=n[r]||"";"tag_custom"==o&&(null==n?void 0:n["custom_"+r])&&(o=(null==n?void 0:n["custom_"+r])||""),"tag_siteview"==o||"tag_realtime_siteview"==o?n[r]="{{views}}":"ga_title"==o?n[r]="{{title}}":0===o.indexOf("tag_")?n[r]="{{"+o.replace("tag_","")+"}}":0===o.indexOf("product_")?n[r]="{{"+o.replace("product_","")+"}}":n[r]=o||""}switch(e.themes){case"donation_theme-one":case"donation_theme-two":case"donation_theme-three":case"donation_theme-four":case"donation_theme-five":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param),"".concat(null==n?void 0:n.fourth_param),"".concat(null==n?void 0:n.fifth_param)];case"donation_conv-theme-seven":case"donation_conv-theme-eight":case"donation_conv-theme-nine":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param),"in ".concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.fourth_param)]}switch(t){case"theme-one":case"theme-two":case"theme-three":case"theme-four":case"theme-five":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param),"".concat(null==n?void 0:n.third_param),"".concat(null==n?void 0:n.fourth_param)];case"conv-theme-six":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param),"".concat(null==n?void 0:n.map_fourth_param," ").concat(null==n?void 0:n.fourth_param),"".concat(null==n?void 0:n.fifth_param)];case"conv-theme-seven":case"conv-theme-eight":case"conv-theme-nine":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param),"".concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.fourth_param)];case"theme-six-free":case"theme-seven-free":case"theme-eight-free":case"review-comment":case"review-comment-2":case"review-comment-3":case"total-rated":case"reviewed":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param," "),"".concat(null==n?void 0:n.third_param),"".concat(null==n?void 0:n.fourth_param)];case"review_saying":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.review_fourth_param),"".concat(null==n?void 0:n.fifth_param),"".concat(null==n?void 0:n.sixth_param)];case"today-download":case"7day-download":case"total-download":return["".concat(null==n?void 0:n.first_param," "),"".concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param),"".concat(null==n?void 0:n.fourth_param)];case"actively_using":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param," "),"".concat(null==n?void 0:n.third_param)];case"maps_theme":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.map_fourth_param),"".concat(null==n?void 0:n.fourth_param),"".concat(null==n?void 0:n.fifth_param)];case"pa-theme-one":return["".concat(null==n?void 0:n.first_param),"".concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.ga_fourth_param," ").concat(null==n?void 0:n.ga_fifth_param," ").concat(null==n?void 0:n.sixth_param)];case"pa-theme-two":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param),"".concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.ga_fourth_param," ").concat(null==n?void 0:n.ga_fifth_param," ").concat(null==n?void 0:n.sixth_param)];case"pa-theme-three":return["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param),"".concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.ga_fourth_param)];case"stock-theme-one":case"stock-theme-two":return["".concat(null==n?void 0:n.second_param," ").concat(null==n?void 0:n.third_param," ").concat(null==n?void 0:n.fourth_param," ").concat(null==n?void 0:n.fifth_param)];default:return console.error("Please select a theme",e),["".concat(null==n?void 0:n.first_param," ").concat(null==n?void 0:n.second_param),"".concat(null==n?void 0:n.third_param),"".concat(null==n?void 0:n.fourth_param)]}}));var hr=function(){return hr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){var n=m.filter((function(e){return null==e?void 0:e.options})).map((function(e){return null==e?void 0:e.options})).flat();h(n)}}),[null===(r=null==m?void 0:m[0])||void 0===r?void 0:r.options]),(0,e.useEffect)((function(){var e=wr()((0,br.convertToRaw)(u.getCurrentContent()));n.onChange({target:{type:"advanced-template",value:e,name:n.name}})}),[u]);var v=function(e){var t,n=u.getCurrentContent(),r=u.getSelection(),o=br.EditorState.createEmpty();t=r.isCollapsed()?br.Modifier.insertText(n,r,"{{".concat(e,"}}")):br.Modifier.replaceText(n,r,"{{".concat(e,"}}")),o=br.EditorState.push(u,t,"insert-fragment"),d(o),setTimeout((function(){l.current.editor.focus()}),300)};return(0,e.useEffect)((function(){var e,t,n;if(!(null===(e=s.savedValues)||void 0===e?void 0:e.advanced_template)){var r=s.values.themes,o=Cr({},s.values);if(console.log(r,o),"page_analytics_pa-theme-two"==r||"page_analytics_pa-theme-one"==r){var a=null===(t=o["notification-template"].ga_fifth_param)||void 0===t?void 0:t.trim(),l=null===(n=o["notification-template"].sixth_param)||void 0===n?void 0:n.replace("tag_",""),c="{{".concat(l,":").concat(a,"}}");o=Cr(Cr({},o),{"notification-template":Cr(Cr({},o["notification-template"]),{ga_fifth_param:c,sixth_param:""})})}var u=(0,i.applyFilters)("nx_adv_template_default",o),p=kr()(u.map((function(e){return"

        ".concat(e,"

        ")})).join("\r\n")),f=p.contentBlocks,h=p.entityMap,g=br.ContentState.createFromBlockArray(f,h),m=br.EditorState.createWithContent(g);d(m)}}),[s.values.themes,s.values["notification-template"]]),t().createElement(t().Fragment,null,t().createElement(yr.Editor,{ref:l,toolbar:Ar,editorState:u,toolbarClassName:"wprf-editor-toolbar",wrapperClassName:"wprf-editor wprf-control",editorClassName:"wprf-editor-main",onEditorStateChange:d,handleBeforeInput:function(e,t,n){if((0,br.convertToRaw)(t.getCurrentContent()).blocks.length>3)return"handled"},handleReturn:function(e,t){if((0,br.convertToRaw)(t.getCurrentContent()).blocks.length>=3)return e.preventDefault(),e.stopPropagation(),"handled"},handlePastedText:function(e,t,n){if((0,br.convertToRaw)(n.getCurrentContent()).blocks.length+e.split(/\r\n|\r|\n/).length>4)return!0}}),(null===(o=null==n?void 0:n.sales_count_themes)||void 0===o?void 0:o.includes(s.values.themes))&&t().createElement("div",{className:"template-example"},t().createElement("span",{className:"advance-template-label"},"Example: "," "),t().createElement("code",null,"{{title}} {{7days}}"),t().createElement("span",{className:"advance-template-doc"}," or "),t().createElement("code",null,"{{title}} in last {{day:7}}"),t().createElement("span",{className:"advance-template-doc"},". "," ","For more information check out this ",t().createElement("a",{href:"https://notificationx.com/docs/notificationx-advanced-template/",target:"_blank"},"doc"),".")),("page_analytics_pa-theme-one"==s.values.themes||"page_analytics_pa-theme-two"==s.values.themes)&&t().createElement("div",{className:"template-example"},t().createElement("span",{className:"advance-template-label"},"Example: "," "),t().createElement("code",null,"in last {{day:7}}"),t().createElement("span",{className:"advance-template-doc"},". "," ","For more information check out this ",t().createElement("a",{href:"https://notificationx.com/docs/notificationx-advanced-template/",target:"_blank"},"doc"),".")),t().createElement("br",null),t().createElement("div",{className:"template-options"},t().createElement("span",{className:"advance-template-label"},"Variables:"),s.eligibleOptions(f).map((function(e,n){if("tag_day"!=e.value&&"tag_month"!=e.value&&"tag_year"!=e.value&&"tag_custom"!=e.value&&"select_a_tag"!=e.value){var r=e.value.replace("tag_",""),o=e.label,i="elementor_form"===s.values.source&&r.includes("el_");return t().createElement(t().Fragment,{key:n},t().createElement("span",{className:"button button-secondary",title:i?"{{".concat(r,"}}"):o,onClick:function(){return v(r)}},i?o:"{{".concat(r,"}}")))}})),(null===(a=null==n?void 0:n.sales_count_themes)||void 0===a?void 0:a.includes(s.values.themes))&&t().createElement(t().Fragment,{key:":days"},t().createElement("span",{className:"button button-secondary",title:"7 days",onClick:function(){return v("day:7")}},"{{day:7}}")),("page_analytics_pa-theme-one"==s.values.themes||"page_analytics_pa-theme-two"==s.values.themes)&&t().createElement(t().Fragment,null,t().createElement(t().Fragment,{key:"day"},t().createElement("span",{className:"button button-secondary",title:"{{day:7}}",onClick:function(){return v("day:7")}},"{{day:7}}")),t().createElement(t().Fragment,{key:"month"},t().createElement("span",{className:"button button-secondary",title:"{{month:7}}",onClick:function(){return v("month:7")}},"{{month:7}}")),t().createElement(t().Fragment,{key:"year"},t().createElement("span",{className:"button button-secondary",title:"{{year:7}}",onClick:function(){return v("year:7")}},"{{year:7}}")))))},Or=function(){return Or=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){var n=m.filter((function(t){return null==t?void 0:t.options})).map((function(t){return null==t?void 0:t.options})).flat();h(n)}}),[null===(r=null==m?void 0:m[0])||void 0===r?void 0:r.options]),(0,t.useEffect)((function(){var t=ts()((0,Ja.convertToRaw)(u.getCurrentContent()));n.onChange({target:{type:"advanced-template",value:t,name:n.name}})}),[u]);var y=function(t){var e,n=u.getCurrentContent(),r=u.getSelection(),o=Ja.EditorState.createEmpty();e=r.isCollapsed()?Ja.Modifier.insertText(n,r,"{{".concat(t,"}}")):Ja.Modifier.replaceText(n,r,"{{".concat(t,"}}")),o=Ja.EditorState.push(u,e,"insert-fragment"),p(o),setTimeout((function(){l.current.editor.focus()}),300)};return(0,t.useEffect)((function(){var t,e,n;if(!(null===(t=s.savedValues)||void 0===t?void 0:t.advanced_template)){var r=s.values.themes,o=rs({},s.values);if(console.log(r,o),"page_analytics_pa-theme-two"==r||"page_analytics_pa-theme-one"==r){var a=null===(e=o["notification-template"].ga_fifth_param)||void 0===e?void 0:e.trim(),l=null===(n=o["notification-template"].sixth_param)||void 0===n?void 0:n.replace("tag_",""),c="{{".concat(l,":").concat(a,"}}");o=rs(rs({},o),{"notification-template":rs(rs({},o["notification-template"]),{ga_fifth_param:c,sixth_param:""})})}var u=(0,i.applyFilters)("nx_adv_template_default",o),d=ns()(u.map((function(t){return"

        ".concat(t,"

        ")})).join("\r\n")),f=d.contentBlocks,h=d.entityMap,g=Ja.ContentState.createFromBlockArray(f,h),m=Ja.EditorState.createWithContent(g);p(m)}}),[s.values.themes,s.values["notification-template"]]),e().createElement(e().Fragment,null,e().createElement(Qa.Editor,{ref:l,toolbar:is,editorState:u,toolbarClassName:"wprf-editor-toolbar",wrapperClassName:"wprf-editor wprf-control",editorClassName:"wprf-editor-main",onEditorStateChange:p,handleBeforeInput:function(t,e,n){if((0,Ja.convertToRaw)(e.getCurrentContent()).blocks.length>3)return"handled"},handleReturn:function(t,e){if((0,Ja.convertToRaw)(e.getCurrentContent()).blocks.length>=3)return t.preventDefault(),t.stopPropagation(),"handled"},handlePastedText:function(t,e,n){if((0,Ja.convertToRaw)(n.getCurrentContent()).blocks.length+t.split(/\r\n|\r|\n/).length>4)return!0}}),(null===(o=null==n?void 0:n.sales_count_themes)||void 0===o?void 0:o.includes(s.values.themes))&&e().createElement("div",{className:"template-example"},e().createElement("span",{className:"advance-template-label"},"Example: "," "),e().createElement("code",null,"{{title}} {{7days}}"),e().createElement("span",{className:"advance-template-doc"}," or "),e().createElement("code",null,"{{title}} in last {{day:7}}"),e().createElement("span",{className:"advance-template-doc"},". "," ","For more information check out this ",e().createElement("a",{href:"https://notificationx.com/docs/notificationx-advanced-template/",target:"_blank"},"doc"),".")),("page_analytics_pa-theme-one"==s.values.themes||"page_analytics_pa-theme-two"==s.values.themes)&&e().createElement("div",{className:"template-example"},e().createElement("span",{className:"advance-template-label"},"Example: "," "),e().createElement("code",null,"in last {{day:7}}"),e().createElement("span",{className:"advance-template-doc"},". "," ","For more information check out this ",e().createElement("a",{href:"https://notificationx.com/docs/notificationx-advanced-template/",target:"_blank"},"doc"),".")),e().createElement("br",null),e().createElement("div",{className:"template-options"},e().createElement("span",{className:"advance-template-label"},"Variables:"),s.eligibleOptions(f).map((function(t,n){if("tag_day"!=t.value&&"tag_month"!=t.value&&"tag_year"!=t.value&&"tag_custom"!=t.value&&"select_a_tag"!=t.value){var r=t.value.replace("tag_",""),o=t.label,i="elementor_form"===s.values.source&&r.includes("el_");return e().createElement(e().Fragment,{key:n},e().createElement("span",{className:"button button-secondary",title:i?"{{".concat(r,"}}"):o,onClick:function(){return y(r)}},i?o:"{{".concat(r,"}}")))}})),(null===(a=null==n?void 0:n.sales_count_themes)||void 0===a?void 0:a.includes(s.values.themes))&&e().createElement(e().Fragment,{key:":days"},e().createElement("span",{className:"button button-secondary",title:"7 days",onClick:function(){return y("day:7")}},"{{day:7}}")),("page_analytics_pa-theme-one"==s.values.themes||"page_analytics_pa-theme-two"==s.values.themes)&&e().createElement(e().Fragment,null,e().createElement(e().Fragment,{key:"day"},e().createElement("span",{className:"button button-secondary",title:"{{day:7}}",onClick:function(){return y("day:7")}},"{{day:7}}")),e().createElement(e().Fragment,{key:"month"},e().createElement("span",{className:"button button-secondary",title:"{{month:7}}",onClick:function(){return y("month:7")}},"{{month:7}}")),e().createElement(e().Fragment,{key:"year"},e().createElement("span",{className:"button button-secondary",title:"{{year:7}}",onClick:function(){return y("year:7")}},"{{year:7}}")))))},ss=function(){return ss=Object.assign||function(t){for(var e,n=1,r=arguments.length;n":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],i={")":["("],":":["?","?:"]},o=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};var c={contextDelimiter:"",onMissingKey:null};function d(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},c)this.options[n]=void 0!==t&&n in t?t[n]:c[n]}d.prototype.getPluralForm=function(e,t){var n,l,u,c,d=this.pluralForms[e];return d||("function"!=typeof(u=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(l=function(e){var t,n,r;for(t=e.split(";"),n=0;n=0||r[u]3&&void 0!==arguments[3]?arguments[3]:10;const o=e[t];if(!m(n))return;if(!h(r))return;if("function"!=typeof a)return void console.error("The hook callback must be a function.");if("number"!=typeof i)return void console.error("If specified, the hook priority must be a number.");const l={callback:a,priority:i,namespace:r};if(o[n]){const e=o[n].handlers;let t;for(t=e.length;t>0&&!(i>=e[t-1].priority);t--);t===e.length?e[t]=l:e.splice(t,0,l),o.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++}))}else o[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,a,i)}},y=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,a){const i=e[t];if(!m(r))return;if(!n&&!h(a))return;if(!i[r])return 0;let o=0;if(n)o=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else{const e=i[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===a&&(e.splice(t,1),o++,i.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,a),o}},g=function(e,t){return function(n,r){const a=e[t];return void 0!==r?n in a&&a[n].handlers.some((e=>e.namespace===r)):n in a}},b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){const a=e[t];a[r]||(a[r]={handlers:[],runs:0}),a[r].runs++;const i=a[r].handlers;for(var o=arguments.length,l=new Array(o>1?o-1:0),u=1;u{const r=new d({}),a=new Set,i=()=>{a.forEach((e=>e()))},o=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[n]={...r.data[n],...e},r.data[n][""]={...f,...null===(t=r.data[n])||void 0===t?void 0:t[""]},delete r.pluralForms[n]},l=(e,t)=>{o(e,t),i()},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||o(void 0,e),r.dcnpgettext(e,t,n,a,i)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},_x=(e,t,r)=>{let a=u(r,t,e);return n?(a=n.applyFilters("i18n.gettext_with_context",a,e,t,r),n.applyFilters("i18n.gettext_with_context_"+s(r),a,e,t,r)):a};if(n){const e=e=>{p.test(e)&&i()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:l,addLocaleData:function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[n]={...r.data[n],...e,"":{...f,...null===(t=r.data[n])||void 0===t?void 0:t[""],...null==e?void 0:e[""]}},delete r.pluralForms[n],i()},resetLocaleData:(e,t)=>{r.data={},r.pluralForms={},l(e,t)},subscribe:e=>(a.add(e),()=>a.delete(e)),__:(e,t)=>{let r=u(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+s(t),r,e,t)):r},_x:_x,_n:(e,t,r,a)=>{let i=u(a,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,a),n.applyFilters("i18n.ngettext_"+s(a),i,e,t,r,a)):i},_nx:(e,t,r,a,i)=>{let o=u(i,a,e,t,r);return n?(o=n.applyFilters("i18n.ngettext_with_context",o,e,t,r,a,i),n.applyFilters("i18n.ngettext_with_context_"+s(i),o,e,t,r,a,i)):o},isRTL:()=>"rtl"===_x("ltr","text direction"),hasTranslation:(e,t,a)=>{var i,o;const l=t?t+""+e:e;let u=!(null===(i=r.data)||void 0===i||null===(o=i[null!=a?a:"default"])||void 0===o||!o[l]);return n&&(u=n.applyFilters("i18n.has_translation",u,e,t,a),u=n.applyFilters("i18n.has_translation_"+s(a),u,e,t,a)),u}}})(0,0,x);W.getLocaleData.bind(W);const H=W.setLocaleData.bind(W),__=(W.resetLocaleData.bind(W),W.subscribe.bind(W),W.__.bind(W));W._x.bind(W),W._n.bind(W),W._nx.bind(W),W.isRTL.bind(W),W.hasTranslation.bind(W)},4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([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,T=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},L={};function z(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(L[e]=a),t&&(L[t[0]]=function(){return D(a.apply(this,arguments),t[1],t[2])}),n&&(L[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=F(t,e.localeData()),P[t]=P[t]||function(e){var t,n,r,a=e.match(N);for(t=0,n=a.length;t=0&&T.test(e);)e=e.replace(T,r),T.lastIndex=0,n-=1;return e}var I={};function Y(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function A(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)o(e,n)&&(t=A(n))&&(r[t]=e[n]);return r}var V={};function W(e,t){V[e]=t}function H(e){return e%4==0&&e%100!=0||e%400==0}function B(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=B(t)),n}function G(e,t){return function(n){return null!=n?(Q(this,e,n),r.updateOffset(this,t),this):Z(this,e)}}function Z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&H(e.year())&&1===e.month()&&29===e.date()?(n=$(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var q,X=/\d/,K=/\d\d/,J=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,ae=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,le=/[+-]?\d{1,6}/,ue=/\d+/,se=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,de=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[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 pe(e,t,n){q[e]=j(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return o(q,e)?q[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}q={};var ve={};function ye(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),s(t)&&(a=function(e,n){n[t]=$(e)}),r=e.length,n=0;n68?1900:2e3)};var Te=G("FullYear",!0);function Pe(e,t,n,r,a,i,o){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,a,i,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,a,i,o),l}function Le(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){var r=7+t-n;return-(7+Le(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,a){var i,o,l=1+7*(t-1)+(7+n-r)%7+ze(e,r,a);return l<=0?o=Ne(i=e-1)+l:l>Ne(e)?(i=e+1,o=l-Ne(e)):(i=e,o=l),{year:i,dayOfYear:o}}function Fe(e,t,n){var r,a,i=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+Ie(a=e.year()-1,t,n):o>Ie(e.year(),t,n)?(r=o-Ie(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function Ie(e,t,n){var r=ze(e,t,n),a=ze(e+1,t,n);return(Ne(e)-r+a)/7}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),W("week",5),W("isoWeek",5),pe("w",ne),pe("ww",ne,K),pe("W",ne),pe("WW",ne,K),ge(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=$(e)}));function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}z("d",0,"do","day"),z("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),z("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),z("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),pe("d",ne),pe("e",ne),pe("E",ne),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ge(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,n,r){t[r]=$(e)}));var Ae="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ve="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=fe,He=fe,Be=fe;function $e(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=_e.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=_e.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=_e.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=_e.call(this._weekdaysParse,o))||-1!==(a=_e.call(this._shortWeekdaysParse,o))||-1!==(a=_e.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=_e.call(this._shortWeekdaysParse,o))||-1!==(a=_e.call(this._weekdaysParse,o))||-1!==(a=_e.call(this._minWeekdaysParse,o))?a:null:-1!==(a=_e.call(this._minWeekdaysParse,o))||-1!==(a=_e.call(this._weekdaysParse,o))||-1!==(a=_e.call(this._shortWeekdaysParse,o))?a:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],l=[],u=[],s=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=me(this.weekdaysMin(n,"")),a=me(this.weekdaysShort(n,"")),i=me(this.weekdays(n,"")),o.push(r),l.push(a),u.push(i),s.push(r),s.push(a),s.push(i);o.sort(e),l.sort(e),u.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ze(){return this.hours()%12||12}function Qe(e,t){z(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function qe(e,t){return t._meridiemParse}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Ze),z("k",["kk",2],0,(function(){return this.hours()||24})),z("hmm",0,0,(function(){return""+Ze.apply(this)+D(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+Ze.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Qe("a",!0),Qe("A",!1),Y("hour","h"),W("hour",13),pe("a",qe),pe("A",qe),pe("H",ne),pe("h",ne),pe("k",ne),pe("HH",ne,K),pe("hh",ne,K),pe("kk",ne,K),pe("hmm",re),pe("hmmss",ae),pe("Hmm",re),pe("Hmmss",ae),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var r=$(e);t[3]=24===r?0:r})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=$(e),h(n).bigHour=!0})),ye("hmm",(function(e,t,n){var r=e.length-2;t[3]=$(e.substr(0,r)),t[4]=$(e.substr(r)),h(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=$(e.substr(0,r)),t[4]=$(e.substr(r,2)),t[5]=$(e.substr(a)),h(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var r=e.length-2;t[3]=$(e.substr(0,r)),t[4]=$(e.substr(r))})),ye("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=$(e.substr(0,r)),t[4]=$(e.substr(r,2)),t[5]=$(e.substr(a))}));var Xe=G("Hours",!0);var Ke,Je={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:ke,monthsShort:Se,week:{dow:0,doy:6},weekdays:Ae,weekdaysMin:Ve,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=at(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&nt(a,n)>=t-1)break;t--}i++}return Ke}(e)}function ut(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var st=/^\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)?)?$/,ct=/^\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)?)?$/,dt=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["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]],pt=[["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/]],ht=/^\/?Date\((-?\d+)/i,mt=/^(?:(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}))$/,vt={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,n,r,a,i,o,l=e._i,u=st.exec(l)||ct.exec(l),s=ft.length,c=pt.length;if(u){for(h(e).iso=!0,t=0,n=s;t7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,s=Fe(Et(),i,o),n=_t(t.gg,e._a[0],s.year),r=_t(t.w,s.week),null!=t.d?((a=t.d)<0||a>6)&&(u=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),r<1||r>Ie(n,i,o)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(l=Re(n,r,a,i,o),e._a[0]=l.year,e._dayOfYear=l.dayOfYear)}(e),null!=e._dayOfYear&&(o=_t(e._a[0],a[0]),(e._dayOfYear>Ne(o)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Le(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=l[t]=a[t];for(;t<7;t++)e._a[t]=l[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?Le:Pe).apply(null,l),i=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!==i&&(h(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,a,i,o,l,u,s=""+e._i,c=s.length,d=0;for(u=(a=F(e._f,e._locale).match(N)||[]).length,t=0;t0&&h(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),d+=n.length),L[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),be(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=c-d,s.length>0&&h(e).unusedInput.push(s),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(l=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(l,e._a[0])),wt(e),ut(e)}else bt(e);else yt(e)}function St(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ut(t)):(c(t)?e._d=t:a(n)?function(e){var t,n,r,a,i,o,l=!1,u=e._f.length;if(0===u)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:v()}));function Ot(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-an:new Date(e,t,n).valueOf()}function un(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-an:Date.UTC(e,t,n)}function sn(e,t){return t.erasAbbrRegex(e)}function cn(){var e,t,n=[],r=[],a=[],i=[],o=this.eras();for(e=0,t=o.length;e(i=Ie(e,r,a))&&(t=i),pn.call(this,e,t,n,r,a))}function pn(e,t,n,r,a){var i=Re(e,t,n,r,a),o=Le(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),pe("N",sn),pe("NN",sn),pe("NNN",sn),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e})),pe("y",ue),pe("yy",ue),pe("yyy",ue),pe("yyyy",ue),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),pe("G",se),pe("g",se),pe("GG",ne,K),pe("gg",ne,K),pe("GGGG",oe,ee),pe("gggg",oe,ee),pe("GGGGG",le,te),pe("ggggg",le,te),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=$(e)})),ge(["gg","GG"],(function(e,t,n,a){t[a]=r.parseTwoDigitYear(e)})),z("Q",0,"Qo","quarter"),Y("quarter","Q"),W("quarter",7),pe("Q",X),ye("Q",(function(e,t){t[1]=3*($(e)-1)})),z("D",["DD",2],"Do","date"),Y("date","D"),W("date",9),pe("D",ne),pe("DD",ne,K),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=$(e.match(ne)[0])}));var hn=G("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),W("dayOfYear",4),pe("DDD",ie),pe("DDDD",J),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=$(e)})),z("m",["mm",2],0,"minute"),Y("minute","m"),W("minute",14),pe("m",ne),pe("mm",ne,K),ye(["m","mm"],4);var mn=G("Minutes",!1);z("s",["ss",2],0,"second"),Y("second","s"),W("second",15),pe("s",ne),pe("ss",ne,K),ye(["s","ss"],5);var vn,yn,gn=G("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Y("millisecond","ms"),W("millisecond",16),pe("S",ie,X),pe("SS",ie,K),pe("SSS",ie,J),vn="SSSS";vn.length<=9;vn+="S")pe(vn,ue);function bn(e,t){t[6]=$(1e3*("0."+e))}for(vn="S";vn.length<=9;vn+="S")ye(vn,bn);yn=G("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var wn=_.prototype;function kn(e){return e}wn.add=$t,wn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):qt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Et(),a=Rt(n,this).startOf("day"),i=r.calendarFormat(this,a)||"sameElse",o=t&&(j(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,Et(n)))},wn.clone=function(){return new _(this)},wn.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=A(t)){case"year":i=Xt(this,r)/12;break;case"month":i=Xt(this,r);break;case"quarter":i=Xt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:B(i)},wn.endOf=function(e){var t,n;if(void 0===(e=A(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?un:ln,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=rn-on(t+(this._isUTC?0:this.utcOffset()*nn),rn)-1;break;case"minute":t=this._d.valueOf(),t+=nn-on(t,nn)-1;break;case"second":t=this._d.valueOf(),t+=tn-on(t,tn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},wn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},wn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Et(e).isValid())?Ut({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wn.fromNow=function(e){return this.from(Et(),e)},wn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Et(e).isValid())?Ut({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},wn.toNow=function(e){return this.to(Et(),e)},wn.get=function(e){return j(this[e=A(e)])?this[e]():this},wn.invalidAt=function(){return h(this).overflow},wn.isAfter=function(e,t){var n=w(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=A(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},wn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(wn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),wn.toJSON=function(){return this.isValid()?this.toISOString():null},wn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},wn.unix=function(){return Math.floor(this.valueOf()/1e3)},wn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},wn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},wn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},wn.isLocal=function(){return!!this.isValid()&&!this._isUTC},wn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},wn.isUtc=It,wn.isUTC=It,wn.zoneAbbr=function(){return this._isUTC?"UTC":""},wn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},wn.dates=S("dates accessor is deprecated. Use date instead.",hn),wn.months=S("months accessor is deprecated. Use month instead",Me),wn.years=S("years accessor is deprecated. Use year instead",Te),wn.zone=S("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()})),wn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=St(t))._a?(e=t._isUTC?p(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var Sn=M.prototype;function xn(e,t,n,r){var a=lt(),i=p().set(r,t);return a[n](i,e)}function En(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return xn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=xn(e,r,n,"month");return a}function Cn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var a,i=lt(),o=e?i._week.dow:0,l=[];if(null!=n)return xn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)l[a]=xn(t,(a+o)%7,r,"day");return l}Sn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},Sn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Sn.invalidDate=function(){return this._invalidDate},Sn.ordinal=function(e){return this._ordinal.replace("%d",e)},Sn.preparse=kn,Sn.postformat=kn,Sn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return j(a)?a(e,t,n,r):a.replace(/%d/i,e)},Sn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},Sn.set=function(e){var t,n;for(n in e)o(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Sn.eras=function(e,t){var n,a,i,o=this._eras||lt("en")._eras;for(n=0,a=o.length;n=0)return u[r]},Sn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},Sn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},Sn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},Sn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},Sn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},Sn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Sn.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return je.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Sn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||De.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Ce),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Sn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||De.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Ee),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Sn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},Sn.firstDayOfYear=function(){return this._week.doy},Sn.firstDayOfWeek=function(){return this._week.dow},Sn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(n,this._week.dow):e?n[e.day()]:n},Sn.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Sn.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Sn.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return $e.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Sn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Sn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=He),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Sn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Be),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Sn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Sn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"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===$(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",lt);var jn=Math.abs;function On(e,t,n,r){var a=Ut(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Mn(e){return e<0?Math.floor(e):Math.ceil(e)}function Dn(e){return 4800*e/146097}function Nn(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var Pn=Tn("ms"),Ln=Tn("s"),zn=Tn("m"),Rn=Tn("h"),Fn=Tn("d"),In=Tn("w"),Yn=Tn("M"),An=Tn("Q"),Un=Tn("y");function Vn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wn=Vn("milliseconds"),Hn=Vn("seconds"),Bn=Vn("minutes"),$n=Vn("hours"),Gn=Vn("days"),Zn=Vn("months"),Qn=Vn("years");var qn=Math.round,Xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Kn(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var Jn=Math.abs;function er(e){return(e>0)-(e<0)||+e}function tr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,l,u=Jn(this._milliseconds)/1e3,s=Jn(this._days),c=Jn(this._months),d=this.asSeconds();return d?(e=B(u/60),t=B(e/60),u%=60,e%=60,n=B(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",i=er(this._months)!==er(d)?"-":"",o=er(this._days)!==er(d)?"-":"",l=er(this._milliseconds)!==er(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(s?o+s+"D":"")+(t||e||u?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(u?l+r+"S":"")):"P0D"}var nr=Dt.prototype;return nr.isValid=function(){return this._isValid},nr.abs=function(){var e=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),e.milliseconds=jn(e.milliseconds),e.seconds=jn(e.seconds),e.minutes=jn(e.minutes),e.hours=jn(e.hours),e.months=jn(e.months),e.years=jn(e.years),this},nr.add=function(e,t){return On(this,e,t,1)},nr.subtract=function(e,t){return On(this,e,t,-1)},nr.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=A(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Dn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Nn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},nr.asMilliseconds=Pn,nr.asSeconds=Ln,nr.asMinutes=zn,nr.asHours=Rn,nr.asDays=Fn,nr.asWeeks=In,nr.asMonths=Yn,nr.asQuarters=An,nr.asYears=Un,nr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},nr._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,l=this._months,u=this._data;return i>=0&&o>=0&&l>=0||i<=0&&o<=0&&l<=0||(i+=864e5*Mn(Nn(l)+o),o=0,l=0),u.milliseconds=i%1e3,e=B(i/1e3),u.seconds=e%60,t=B(e/60),u.minutes=t%60,n=B(t/60),u.hours=n%24,o+=B(n/24),l+=a=B(Dn(o)),o-=Mn(Nn(a)),r=B(l/12),l%=12,u.days=o,u.months=l,u.years=r,this},nr.clone=function(){return Ut(this)},nr.get=function(e){return e=A(e),this.isValid()?this[e+"s"]():NaN},nr.milliseconds=Wn,nr.seconds=Hn,nr.minutes=Bn,nr.hours=$n,nr.days=Gn,nr.weeks=function(){return B(this.days()/7)},nr.months=Zn,nr.years=Qn,nr.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=Xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},Xn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=function(e,t,n,r){var a=Ut(e).abs(),i=qn(a.as("s")),o=qn(a.as("m")),l=qn(a.as("h")),u=qn(a.as("d")),s=qn(a.as("M")),c=qn(a.as("w")),d=qn(a.as("y")),f=i<=n.ss&&["s",i]||i0,f[4]=r,Kn.apply(null,f)}(this,!a,i,n=this.localeData()),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},nr.toISOString=tr,nr.toString=tr,nr.toJSON=tr,nr.locale=Kt,nr.localeData=en,nr.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tr),nr.lang=Jt,z("X",0,0,"unix"),z("x",0,0,"valueOf"),pe("x",se),pe("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date($(e))})),r.version="2.29.4",t=Et,r.fn=wn,r.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},r.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(e){return Et(1e3*e)},r.months=function(e,t){return En(e,t,"months")},r.isDate=c,r.locale=it,r.invalid=v,r.duration=Ut,r.isMoment=w,r.weekdays=function(e,t,n){return Cn(e,t,n,"weekdays")},r.parseZone=function(){return Et.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=Nt,r.monthsShort=function(e,t){return En(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Cn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,r,a=Je;null!=et[e]&&null!=et[e].parentLocale?et[e].set(O(et[e]._config,t)):(null!=(r=at(e))&&(a=r._config),t=O(a,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=et[e],et[e]=n),it(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===it()&&it(e)):null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return x(et)},r.weekdaysShort=function(e,t,n){return Cn(e,t,n,"weekdaysShort")},r.normalizeUnits=A,r.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Xn[e]&&(void 0===t?Xn[e]:(Xn[e]=t,"s"===e&&(Xn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=wn,r.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"},r}()},7418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,l,u=a(e),s=1;s