Metform Elementor Contact Form Builder – Flexible and Design-Friendly Contact Form builder plugin for WordPress - Version 1.5.1

Version Description

Metform 1.3.0-beta1 is a major update. We have reconstructed the widgets with react and huge optimization for future proof. If you faced any issue please contact our support team from here https://wpmet.com/support-ticket

Download this release

Release Info

Developer ataurr
Plugin Icon 128x128 Metform Elementor Contact Form Builder – Flexible and Design-Friendly Contact Form builder plugin for WordPress
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

languages/metform.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: MetForm 1.5.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n"
7
- "POT-Creation-Date: 2021-07-13 04:22:01+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: MetForm 1.5.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n"
7
+ "POT-Creation-Date: 2021-07-15 14:21:22+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
metform.php CHANGED
@@ -5,7 +5,7 @@ defined( 'ABSPATH' ) || exit;
5
  * Plugin Name: MetForm
6
  * Plugin URI: http://products.wpmet.com/metform/
7
  * Description: Most flexible and design friendly form builder for Elementor
8
- * Version: 1.5.0
9
  * Author: Wpmet
10
  * Author URI: https://wpmet.com
11
  * Text Domain: metform
5
  * Plugin Name: MetForm
6
  * Plugin URI: http://products.wpmet.com/metform/
7
  * Description: Most flexible and design friendly form builder for Elementor
8
+ * Version: 1.5.1
9
  * Author: Wpmet
10
  * Author URI: https://wpmet.com
11
  * Text Domain: metform
plugin.php CHANGED
@@ -20,7 +20,7 @@ final class Plugin
20
 
21
  public function version()
22
  {
23
- return '1.5.0';
24
  }
25
 
26
  public function package_type()
20
 
21
  public function version()
22
  {
23
+ return '1.5.1';
24
  }
25
 
26
  public function package_type()
public/assets/css/admin-style.css CHANGED
@@ -1 +1 @@
1
- body.metform_page_metform-menu-settings{overflow-y:scroll}.mf-settings-dashboard{margin-top:40px}.mf-settings-dashboard .attr-row>div{-webkit-box-sizing:border-box;box-sizing:border-box}.mf-settings-dashboard>.attr-row{margin:0}.mf-settings-dashboard .mf-setting-sidebar{position:fixed;width:415px}.nav-tab-wrapper{border:none;padding:0}.mf-admin-setting-btn{border:2px solid #ff433c;color:#ff433c;font-size:14px;line-height:16px;text-decoration:none;text-transform:uppercase;border-radius:100px;padding:10px 23px;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s;font-weight:700;cursor:pointer;background-color:#fff;display:inline-block}.mf-admin-setting-btn span{margin-right:6px}.mf-admin-setting-btn.medium{padding:13px 23px}.mf-admin-setting-btn.fatty{padding:17px 23px}.mf-admin-setting-btn.active,.mf-admin-setting-btn:hover{background-color:#ff433c;color:#fff}.mf-admin-setting-btn:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.mf-settings-tab{margin-bottom:40px}.mf-settings-tab li{-webkit-box-shadow:none;box-shadow:none;border:none;margin:0;background-color:#fff}.mf-settings-tab li:focus,.mf-settings-tab li:hover{outline:0;-webkit-box-shadow:none;box-shadow:none;border:none}.mf-settings-tab li.nav-tab-active{background-color:#fff;border-left-color:#ff324d;border-radius:10px}.mf-settings-tab li.nav-tab-active .mf-setting-title{color:#ff433c}.mf-settings-tab li.nav-tab-active .mf-setting-nav-link{background-color:#fff;border-top-left-radius:10px;border-bottom-left-radius:10px}.mf-settings-tab li.nav-tab-active .mf-setting-nav-link::before{content:"";background-color:#ff433c;height:10px;width:10px;position:absolute;left:17px;border-radius:100px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.mf-settings-tab .mf-setting-nav-link{outline:0;float:none;display:-webkit-box;display:-ms-flexbox;display:flex;color:#121116;border:none;background-color:#f1f1f1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:0;-webkit-box-shadow:none;box-shadow:none;position:relative;padding:23px 40px;text-decoration:none;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.mf-settings-tab .mf-setting-nav-link:focus,.mf-settings-tab .mf-setting-nav-link:hover{outline:0;-webkit-box-shadow:none;box-shadow:none;border:none}.mf-settings-tab .mf-setting-nav-link.mf-setting-nav-link.top{border-bottom-right-radius:20px}.mf-settings-tab .mf-setting-nav-link.mf-setting-nav-link.bottom{border-top-right-radius:20px}.mf-settings-tab .mf-setting-nav-link.mf-setting-nav-hidden{background-color:#f1f1f1;cursor:default;padding:15px}.mf-settings-tab.nav-tab-active.mf-setting-nav-link{border-radius:10px;background-color:#fff}.mf-settings-tab .mf-setting-tab-content .mf-setting-title{font-size:.8125rem;font-weight:700;color:#333;display:block;margin-bottom:2px;line-height:1;text-transform:uppercase}.mf-settings-tab .mf-setting-tab-content .mf-setting-subtitle{color:#72777c;font-size:.8125rem;-webkit-transition:all 150ms ease-out;-o-transition:all 150ms ease-out;transition:all 150ms ease-out}.mf-settings-section{opacity:0;visibility:hidden;-webkit-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;position:absolute;top:-9999px;display:none}.mf-settings-section.active{opacity:1;position:static;visibility:visible;display:block}.metform-admin-container{background-color:#fff;padding:50px;border-radius:20px;border:none;min-height:550px;padding-top:30px;margin-bottom:0}.metform-admin-container--body .mf-settings-single-section--title{margin:0;margin-top:0;color:#ff433c;font-size:24px;line-height:28px;font-weight:700;vertical-align:middle;position:relative}.metform-admin-container--body .mf-settings-single-section--title span{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;width:40px;height:40px;line-height:40px!important;margin-right:24px;background-color:rgba(255,67,60,.1);color:#ff433c;text-align:center;border-radius:5px;vertical-align:middle;font-size:18px;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased}.metform-admin-container--body .mf-setting-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:40px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:17px;position:relative;margin-left:-50px;margin-right:-50px;padding-left:50px;padding-right:51px}.metform-admin-container--body .mf-setting-header::before{content:"";position:absolute;display:block;width:48px;height:2px;bottom:-1px;left:0;background:#ff433c;margin-left:50px;margin-right:50px;z-index:2}.metform-admin-container--body .mf-setting-header::after{content:"";position:absolute;display:block;width:calc(100% - 100px);height:1px;bottom:-1px;left:0;background:#e0e4e9;margin-left:50px;z-index:1}.metform-admin-container--body .mf-setting-header.fixed{position:fixed;top:0;padding-top:20px;background-color:#fff;z-index:999}.metform-admin-container--body .mf-setting-header.fixed+div{padding-top:88px}.metform-admin-container--body .mf-setting-input{width:100%;max-width:100%;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.metform-admin-container--body .mf-setting-label{display:block;margin-bottom:8px;color:#101010;font-size:16px;line-height:19px;font-weight:500}.metform-admin-container--body .mf-admin-control-input{margin:0}.metform-admin-container--body .mf-admin-control-input[type=checkbox]{position:relative;-webkit-box-shadow:none;box-shadow:none;height:16px;width:16px;border:2px solid #ff5d20}.metform-admin-container--body .mf-admin-control-input[type=checkbox]:checked::before{content:"";position:absolute;background-color:#ff3747;width:8px;height:9px;-webkit-box-sizing:border-box;box-sizing:border-box;left:2px;border-radius:2px;text-align:center;margin:0;top:1.6px}.metform-admin-container .mf-setting-input{border-radius:3px;padding:5px 15px;height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:17px;display:inline-block;-webkit-box-shadow:none;box-shadow:none;color:#121116;border:1px solid #dee3ea;font-weight:400}.metform-admin-container .mf-setting-input:active,.metform-admin-container .mf-setting-input:focus{border-color:#ff324d;-webkit-box-shadow:none;box-shadow:none;outline:0}.metform-admin-container .mf-admin-save-icon{color:#fff;font-size:14px;margin-right:6px;height:14px;width:14px}.metform-admin-container .button-primary{text-decoration:none;text-shadow:none;background-color:#ff324d;border-radius:4px;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3);font-size:14px;line-height:16px;text-transform:uppercase;color:#fff;font-weight:500;border:none;padding:12px 23px;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s;display:-webkit-box;display:-ms-flexbox;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:-webkit-linear-gradient(45deg,#ff324d,#ff6b11);background-image:-o-linear-gradient(45deg,#ff324d,#ff6b11);background-image:linear-gradient(45deg,#ff324d,#ff6b11);position:relative;z-index:9}.metform-admin-container .button-primary:focus,.metform-admin-container .button-primary:hover{border:none;outline:0;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3)}.metform-admin-container .button-primary::before{border-radius:inherit;background-image:-webkit-linear-gradient(45deg,#ff6b11,#ff324d);background-image:-o-linear-gradient(45deg,#ff6b11,#ff324d);background-image:linear-gradient(45deg,#ff6b11,#ff324d);content:"";display:block;height:100%;position:absolute;top:0;left:0;opacity:0;width:100%;z-index:-1;-webkit-transition:opacity .7s ease-in-out;-o-transition:opacity .7s ease-in-out;transition:opacity .7s ease-in-out}.metform-admin-container .button-primary:hover{background-color:#dc0420}.metform-admin-container .button-primary:hover::before{opacity:1}.mf-recaptcha-settings{display:none}.mf_setting_logo{padding-top:25px}.mf_setting_logo img{max-width:200px}.mf-setting-dashboard-banner{border-radius:20px;padding-top:0}.mf-setting-dashboard-banner img{width:100%}.mf-setting-dashboard-banner--content{padding:30px}.mf-setting-dashboard-banner--content h3{margin:0;margin-bottom:15px}.mf-setting-btn{text-decoration:none;background-color:#ff324d;padding:8px 15px;border:none;-webkit-box-shadow:none;box-shadow:none;background-image:-webkit-linear-gradient(45deg,#ff324d,#ff6b11);background-image:-o-linear-gradient(45deg,#ff324d,#ff6b11);background-image:linear-gradient(45deg,#ff324d,#ff6b11);font-weight:500}.mf-setting-btn-link{background-image:none;color:#1f55f8;border-radius:0;background-color:transparent;border:none;padding:0;text-decoration:none;border-bottom:1px solid #1f55f8;font-weight:600;font-size:14px;display:inline-block;line-height:18px;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.mf-setting-btn-link:hover{color:#507bff}.mf-setting-separator{margin:50px 0}.mf-setting-input-group{margin-bottom:30px}.mf-setting-input-group:last-child{margin-bottom:0}.mf-setting-input-group .description{font-weight:400;font-size:13px;line-height:15px;color:#999;font-style:normal;margin:0;margin-top:8px}.mf-setting-input-desc{display:none;padding-right:100px}.mf-setting-input-desc .mf-setting-btn-link{margin-top:15px}.mf-setting-input-desc--title{margin-top:0;margin-bottom:8px}.mf-setting-input-desc li,.mf-setting-input-desc p{font-size:14px;line-height:18px;color:#111}.mf-setting-tab-nav{margin-bottom:30px}.mf-setting-tab-nav li{margin-right:15px;cursor:pointer}.mf-setting-tab-nav li:last-child{margin-right:0}.mf-setting-tab-nav .attr-nav-tabs{border:none}.mf-setting-tab-nav .attr-nav-item{border:none;border-radius:4px;text-decoration:none;text-align:center;color:#111;font-size:14px;text-transform:capitalize;font-weight:600;padding:8px 14px;margin-right:0;display:inline-block;-webkit-box-shadow:none;box-shadow:none;z-index:2}.mf-setting-tab-nav .attr-nav-item:hover{color:#fff;background-color:#ff433c}.mf-setting-tab-nav .attr-active .attr-nav-item{color:#fff;background-color:#ff433c;border:none}.mf-setting-tab-nav .attr-active .attr-nav-item:active,.mf-setting-tab-nav .attr-active .attr-nav-item:focus,.mf-setting-tab-nav .attr-active .attr-nav-item:hover{border:none;-webkit-box-shadow:none;box-shadow:none;outline:0;color:#fff;background-color:#ff433c}.mf-setting-input-desc-data{display:none}.mf-setting-select-container{position:relative}.mf-setting-select-container .mf-setting-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0}.mf-setting-select-container::before{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #111;position:absolute;right:15px;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);top:50%}.mf-setting-refresh-btn{margin:0 10px;font-size:18px;line-height:24px}.mf-set-dash-tab-img{text-align:center}.mf-set-dash-section{padding:100px 0}.mf-set-dash-section:not(:first-child):not(:last-child){padding-bottom:20px;display:none}.mf-setting-dash-section-heading{text-align:center;position:relative;margin:0 auto;margin-bottom:32px}.mf-setting-dash-section-heading--title{font-size:36px;line-height:42px;margin:0;color:#121116;font-weight:700;letter-spacing:-1px}.mf-setting-dash-section-heading--title strong{color:#ff433c}.mf-setting-dash-section-heading--subtitle{color:rgba(0,0,0,.05);font-size:60px;line-height:69px;margin:0;font-weight:700;position:absolute;top:-25px;left:50%;width:100%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.mf-setting-dash-section-heading--content{width:440px;margin:0 auto;margin-top:8px}.mf-setting-dash-section-heading--content p{font-size:16px;line-height:21px;color:#121116}.mf-setting-dash-section-heading--content p:first-child{margin-top:0}.mf-setting-dash-section-heading--content p:last-child{margin-bottom:0}.mf-set-dash-top-notch{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border-right:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.mf-set-dash-top-notch--item{-webkit-box-flex:0;-ms-flex:0 0 33.33%;flex:0 0 33.33%;border:1px solid #f0f0f0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px;position:relative;border-right:0;border-bottom:0}.mf-set-dash-top-notch--item__title{font-size:18px;line-height:21px;color:#121116;font-weight:600;margin:0;margin-bottom:17px}.mf-set-dash-top-notch--item__desc{font-weight:400;font-size:16px;line-height:21px;color:#999}.mf-set-dash-top-notch--item::before{content:attr(data-count);font-size:60px;line-height:69px;position:absolute;top:-5px;right:5px;-webkit-text-stroke:2px;-webkit-text-fill-color:transparent;color:#f0f0f0}.mf-set-dash-free-pro-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.mf-set-dash-free-pro-content img{max-width:100%}.mf-set-dash-free-pro-content .attr-nav-tabs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0;border:1px solid #f0f0f0;width:290px}.mf-set-dash-free-pro-content .attr-nav-link{text-decoration:none;font-size:16px;line-height:18px;color:#121116!important;border:none!important;padding:20px 23px;margin:0;border-radius:0;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.mf-set-dash-free-pro-content .attr-nav-link:focus{outline:0;-webkit-box-shadow:none;box-shadow:none;background-color:transparent;border:none}.mf-set-dash-free-pro-content .attr-nav-link:hover{background-color:transparent}.mf-set-dash-free-pro-content .attr-nav-item{border-bottom:1px solid #f0f0f0}.mf-set-dash-free-pro-content .attr-nav-item:last-child{border-bottom:0}.mf-set-dash-free-pro-content .attr-nav-item:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.mf-set-dash-free-pro-content .attr-nav-item.attr-active>a{border:none}.mf-set-dash-free-pro-content .attr-nav-item.attr-active .attr-nav-link{background-color:#ff433c;color:#fff!important}.mf-set-dash-free-pro-content .attr-nav-item.attr-active .mf-icon{color:#fff}.mf-set-dash-free-pro-content .attr-nav-item.attr-active .mf-set-dash-badge{background-color:#fff}.mf-set-dash-free-pro-content .mf-icon{font-size:14px;color:#ff433c;margin-right:7px}.mf-set-dash-free-pro-content .mf-set-dash-badge{background-color:rgba(242,41,91,.1);color:#f2295b;font-size:10px;line-height:11px;border-radius:2px;display:inline-block;padding:3px 6px;margin-left:18px;font-weight:600;text-transform:uppercase}.mf-set-dash-free-pro-content .attr-tab-content{border:1px solid #f0f0f0;border-left:0;padding:50px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 calc(100% - 292px);flex:0 0 calc(100% - 292px)}.mf-set-dash-free-pro-content .attr-tab-content p{font-size:16px;line-height:24px;font-weight:400;color:#444}.mf-set-dash-free-pro-content .attr-tab-content ul li{color:#444;font-size:16px;line-height:21px}.mf-set-dash-free-pro-content .attr-tab-content ul li::before{content:"";height:5px;width:5px;background-color:#f2295b;border-radius:100px;display:inline-block;vertical-align:middle;margin-right:7px}.mf-set-dash-free-pro-content .attr-tab-content .mf-admin-setting-btn{margin-top:35px}.admin-bar .mf-setting-header.fixed{top:30px}#mf-set-dash-faq{background-color:#f1f1f1;padding-bottom:100px;margin:100px 0;text-align:center;margin-left:-50px;margin-right:-50px}#mf-set-dash-faq .mf-admin-setting-btn{margin-top:30px}.mf-admin-accordion{max-width:700px;margin:0 auto;margin-top:30px}.mf-admin-single-accordion{background-color:#fff;-webkit-box-shadow:0 7px 15px rgba(0,0,0,.07);box-shadow:0 7px 15px rgba(0,0,0,.07);margin:10px 0;text-align:left}.mf-admin-single-accordion.active .mf-admin-single-accordion--heading::after{content:"\e995";color:#f2295b}.mf-admin-single-accordion--heading{cursor:pointer;margin:0;color:#121116;font-size:14px;line-height:20px;padding:18px 20px;position:relative}.mf-admin-single-accordion--heading::after{content:"\e994";font-family:metform;position:absolute;right:30px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);font-size:12px}.mf-admin-single-accordion--body{padding:0;display:none}.mf-admin-single-accordion--body__content{padding:30px;padding-top:0}.mf-admin-single-accordion--body p{margin:0}#mf-set-dash-rate-now{margin-top:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:0;padding-top:0;-ms-flex-wrap:wrap;flex-wrap:wrap}#mf-set-dash-rate-now .mf-setting-dash-section-heading{text-align:left}#mf-set-dash-rate-now .mf-admin-left-thumb{margin-bottom:-50px;-ms-flex-item-align:end;align-self:flex-end}#mf-set-dash-rate-now>div{-webkit-box-flex:1;-ms-flex:1;flex:1}.mf-admin-left-thumb img{max-width:100%}@media (min-width:768px){.mf-setting-input-desc-data{display:block}.mf-settings-dashboard>.attr-row>div:last-of-type{padding-left:0}.mf-settings-dashboard>.attr-row>div:first-of-type{padding-right:0}}@media (max-width:767px){.mf-setting-dash-section-heading--content{width:100%}.mf-set-dash-free-pro-content .attr-nav-tabs{min-width:100%}.mf-set-dash-free-pro-content .attr-tab-content{border-left:1px solid #f0f0f0;padding:20px;-webkit-box-flex:100%;-ms-flex:100%;flex:100%}.mf-settings-dashboard .mf-setting-sidebar{position:static;width:100%!important}.metform-admin-container{padding:30px}.metform-admin-container--body .mf-setting-header{margin-left:-30px;margin-right:-30px;padding-left:30px;padding-right:30px}.metform-admin-container--body .mf-setting-header::after,.metform-admin-container--body .mf-setting-header::before{margin-left:30px;margin-right:30px}.metform-admin-container--body .mf-setting-header::after{width:calc(100% - 60px)}.mf-set-dash-top-notch--item{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.admin-bar .mf-setting-header.fixed{top:0}#mf-set-dash-faq{margin-left:-30px;margin-right:-30px}.mf-admin-left-thumb{margin-bottom:-30px;text-align:center;width:100%;margin-top:15px}.metform-admin-container--body .mf-settings-single-section--title{font-size:19px}.metform-admin-container--body .mf-settings-single-section--title span{display:none}.mf-setting-dash-section-heading--title{font-size:25px;line-height:30px}.mf-setting-dash-section-heading--subtitle{font-size:52px;line-height:59px}}.mf-setting-spin{-webkit-animation-name:rotate;animation-name:rotate;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.loading .attr-modal-content::before{opacity:.8;position:absolute;content:"";top:0;left:0;height:100%;width:100%;background-color:#fff;-webkit-transition:opaicty .5s ease;-o-transition:opaicty .5s ease;transition:opaicty .5s ease;z-index:5;border-radius:inherit}.loading .mf-spinner{display:block}#metform_form_modal{overflow-y:scroll}.elementor-editor-active .metform-form-save-btn-editor{display:none!important}.attr-modal-dialog-centered{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:30px;width:725px;max-width:100%}.attr-modal-dialog-centered .attr-modal-header{padding:36px 50px;border-bottom:none}.attr-modal-dialog-centered .attr-modal-header .attr-modal-title{font-size:20px;font-weight:700;color:#111;text-transform:capitalize;margin-bottom:38px;line-height:1}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs{border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs li{-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs a{text-decoration:none;color:#111;font-size:14px;text-transform:capitalize;font-weight:600;padding:8px 10px;border:none;margin-right:0;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs a:hover{border:none;background-color:transparent}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs a:focus{outline:0;-webkit-box-shadow:none;box-shadow:none;border:none}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs li.attr-active a{border:none;color:#fff;background-color:#1f55f8;border-radius:4px;text-align:center}.attr-modal-dialog-centered .attr-modal-header button.attr-close{opacity:.8;font-size:inherit;outline:0;margin-top:-15px;margin-right:-25px}.attr-modal-dialog-centered .attr-modal-header button.attr-close span{color:#e81123;font-size:35px;font-weight:100;background-color:#fce7e9;height:36px;width:36px;display:inline-block;line-height:36px;border-radius:100px;outline:0;margin-top:5px;font-family:initial}.attr-modal-dialog-centered .attr-tab-content .attr-modal-body{padding:40px 50px;padding-top:0}.attr-modal-dialog-centered .attr-tab-content div#limit_status.hide_input{display:none}.attr-modal-dialog-centered .attr-tab-content .mf-input-group label.attr-input-label{color:#111;font-size:16px;margin-bottom:7px;display:block;font-weight:500;padding:15px 0 8px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group{border-bottom:1px solid #f5f5f5;padding-bottom:14px;margin-bottom:14px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group:last-of-type{border-bottom:none;padding-bottom:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .attr-form-control,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input{color:#000;font-size:14px;height:48px;padding:0 22px;border-color:#ededed;margin-top:12px;max-width:100%;background-color:#f9f9f9;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .attr-form-control:focus,.attr-modal-dialog-centered .attr-tab-content .mf-input-group .attr-form-control:hover,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input:focus,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input:hover{background-color:#fff}.attr-modal-dialog-centered .attr-tab-content .mf-input-group textarea{padding:22px!important}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]{display:none}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span{position:relative;display:block}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span::before{content:"No";width:55px;height:25px;background-color:#ededed;left:0;border-radius:15px;text-align:right;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s;float:right;line-height:18px;cursor:pointer}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span::after{content:"";width:20px;height:20px;background-color:#fff;border-radius:100px;display:inline-block;position:absolute;right:31px;top:2px;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]:checked+span::before{content:"Yes";width:55px;height:25px;background-color:#1f55f8;left:0;border-radius:15px;display:inline-block;text-align:left;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:10px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]:checked+span::after{content:"";width:20px;height:20px;background-color:#fff;border-radius:100px;display:inline-block;position:absolute;right:2px;top:2px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-rest-api-method{padding:0 18px;margin:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group span.mf-input-help{color:#b7b7b7;font-style:italic;font-size:12px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group span.mf-input-help strong{color:#555;font-weight:700}.attr-modal-dialog-centered .attr-tab-content .mf-input-group span.mf-input-help a{color:#1f55f8;text-decoration:none;font-weight:700}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner label.attr-input-label{display:inline-block}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner #limit_status{width:100px;margin:0;position:relative;margin-left:15px;float:right;margin-top:-2px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input{margin:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input[type=checkbox]+span::before{position:relative;top:-2px;left:5px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input[type=checkbox]+span::after{right:28px;top:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input[type=checkbox]:checked+span::after{right:-2px;top:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:initial;-ms-flex-align:initial;align-items:initial}.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .attr-input-label,.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .mf-inputs{-webkit-box-flex:1;-ms-flex:1;flex:1}.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .attr-input-label select,.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .mf-inputs select{margin:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=number]+span,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=text]+span{display:block;margin-top:5px}.attr-modal-dialog-centered .attr-tab-content #limit_status.show_input{margin-top:32px}.attr-modal-dialog-centered .attr-modal-footer{padding:30px 50px}.attr-modal-dialog-centered .attr-modal-footer button{color:#fff;background-color:#1f55f8;font-size:16px;font-weight:700;-webkit-box-sizing:border-box;box-sizing:border-box;padding:12px 20px;-webkit-box-shadow:none;box-shadow:none;border:1px solid transparent;-webkit-transition:all .4s;-o-transition:all .4s;transition:all .4s;outline:0}.attr-modal-dialog-centered .attr-modal-footer button:focus{border:none;outline:0}.attr-modal-dialog-centered .attr-modal-footer button.metform-form-save-btn-editor{background-color:#d8d8d8;color:#111}.attr-modal-dialog-centered>form{width:100%}.modal-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.5);z-index:9999}.attr-modal{z-index:10000}.mf_multipile_ajax_search_filed .select2-container--default .select2-selection--multiple .select2-selection__choice{line-height:1.5;font-size:.9em;border:none;border-radius:0;color:#6d7882}.mf-headerfooter-status{display:inline-block;margin-left:5px;padding:2px 5px 3px;color:#fff;background-color:#9a9a9a;border-radius:3px;font-size:10px;line-height:1;font-weight:700}.mf-headerfooter-status-active{background-color:#00cd00}.irs--round .irs-max,.irs--round .irs-min{display:none}.irs--round .irs-handle{cursor:pointer}.mf-success-msg{position:fixed;z-index:9;text-align:center;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-box-shadow:0 2px 5px rgba(153,153,153,.2);box-shadow:0 2px 5px rgba(153,153,153,.2);min-width:300px}textarea.attr-form-control{height:auto!important}.post-type-metform-form .row-actions .inline{display:none!important}div.metform-entry-browser-data table tbody,div.metform-entry-browser-data table thead,div.metform-entry-data table tbody,div.metform-entry-data table thead{text-align:left}img.form-editor-icon{height:20px;width:20px;margin-right:5px;vertical-align:middle}div.mf-file-show button.attr-btn.attr-btn-primary{margin-left:10px}.mf-file-show a{text-decoration:none}.mf-modal-container{margin-top:50px}.mf-modal-container .attr-modal-body img{margin:0 auto}.mf-entry-input,.mf-entry-label{-webkit-box-sizing:border-box;box-sizing:border-box}.mf-entry-filter{margin-right:10px;min-width:15%}.mf-entry-export-csv{min-width:20%}.metform_open_content_editor_modal .attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span::before{line-height:20px}.mf-image-select-input,.mf-toggle-select-input{position:absolute;opacity:0;width:0;height:0}.mf-image-select-input+img,.mf-toggle-select-input+p{cursor:pointer}.mf-input-rest-api-group .mf-rest-api-key{width:100px;display:inline-block;position:relative;top:17px}.mf-input-rest-api-group .mf-rest-api{width:calc(100% - 110px);vertical-align:middle;display:inline-block!important}.metform_open_content_editor_modal .mf-rest-api-key{top:19px}.metform-entry-data table.mf-entry-data{width:100%;background-color:#fff;border:1px solid #eaf2fa;color:#000}.metform-entry-data table.mf-entry-data tbody tr.mf-data-label{background-color:#eaf2fa}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value{background-color:#fff}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value pre{margin:0;font:inherit}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value td.mf-value-space{width:20px}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value .signature-img{max-width:100%}.mf-cf-single-field{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;position:relative;margin-bottom:1rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mf-cf-single-field .mf-cf-single-field-input{width:48%}.mf-cf-single-field .mf-cf-single-field-input label{color:#111;font-size:12px;display:block;font-weight:500}.mf-cf-single-field .mf-cf-single-field-input input,.mf-cf-single-field .mf-cf-single-field-input select{margin-top:8px!important}.mf-cf-single-field .mf-btn-del-singl-field{outline:0;color:#fd397a;background-color:rgba(253,57,122,.1);text-decoration:none;font-size:12px;font-weight:700;padding:0 10px;position:absolute;right:0;top:0;line-height:19px;display:inline-block;border-radius:4px}.mf-cf-single-field .mf-btn-del-singl-field:hover{color:#fff;background-color:#fd397a}.mf-cf-single-field .mf-btn-del-singl-field:focus{color:#fff;background-color:#c9302c}.mf-add-cf{color:#716aca;background-color:rgba(113,106,202,.1);font-size:20px;line-height:.65em;padding:10px 10px;border:none!important;-webkit-box-shadow:none;box-shadow:none;font-weight:700;cursor:pointer;border-radius:4px;outline:0}.mf-add-cf span{-webkit-transform:translateY(-2px);-ms-transform:translateY(-2px);transform:translateY(-2px);display:block}.mf-add-cf:hover{color:#fff;background-color:#716aca}.mf-add-cf:focus{color:#fff;background-color:#286090}.achor-style{color:#1f55f8;text-decoration:none;font-weight:700}
1
+ body.metform_page_metform-menu-settings{overflow-y:scroll}.mf-settings-dashboard{margin-top:40px}.mf-settings-dashboard .attr-row>div{-webkit-box-sizing:border-box;box-sizing:border-box}.mf-settings-dashboard>.attr-row{margin:0}.mf-settings-dashboard .mf-setting-sidebar{position:fixed;width:415px}.nav-tab-wrapper{border:none;padding:0}.mf-admin-setting-btn{border:2px solid #ff433c;color:#ff433c;font-size:14px;line-height:16px;text-decoration:none;text-transform:uppercase;border-radius:100px;padding:10px 23px;-webkit-transition:all .4s;transition:all .4s;font-weight:700;cursor:pointer;background-color:#fff;display:inline-block}.mf-admin-setting-btn span{margin-right:6px}.mf-admin-setting-btn.medium{padding:13px 23px}.mf-admin-setting-btn.fatty{padding:17px 23px}.mf-admin-setting-btn.active,.mf-admin-setting-btn:hover{background-color:#ff433c;color:#fff}.mf-admin-setting-btn:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.mf-settings-tab{margin-bottom:40px}.mf-settings-tab li{-webkit-box-shadow:none;box-shadow:none;border:none;margin:0;background-color:#fff}.mf-settings-tab li:focus,.mf-settings-tab li:hover{outline:0;-webkit-box-shadow:none;box-shadow:none;border:none}.mf-settings-tab li.nav-tab-active{background-color:#fff;border-left-color:#ff324d;border-radius:10px}.mf-settings-tab li.nav-tab-active .mf-setting-title{color:#ff433c}.mf-settings-tab li.nav-tab-active .mf-setting-nav-link{background-color:#fff;border-top-left-radius:10px;border-bottom-left-radius:10px}.mf-settings-tab li.nav-tab-active .mf-setting-nav-link::before{content:"";background-color:#ff433c;height:10px;width:10px;position:absolute;left:17px;border-radius:100px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mf-settings-tab .mf-setting-nav-link{outline:0;float:none;display:-webkit-box;display:-ms-flexbox;display:flex;color:#121116;border:none;background-color:#f1f1f1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:0;-webkit-box-shadow:none;box-shadow:none;position:relative;padding:23px 40px;text-decoration:none;-webkit-transition:all .4s;transition:all .4s}.mf-settings-tab .mf-setting-nav-link:focus,.mf-settings-tab .mf-setting-nav-link:hover{outline:0;-webkit-box-shadow:none;box-shadow:none;border:none}.mf-settings-tab .mf-setting-nav-link.mf-setting-nav-link.top{border-bottom-right-radius:20px}.mf-settings-tab .mf-setting-nav-link.mf-setting-nav-link.bottom{border-top-right-radius:20px}.mf-settings-tab .mf-setting-nav-link.mf-setting-nav-hidden{background-color:#f1f1f1;cursor:default;padding:15px}.mf-settings-tab.nav-tab-active.mf-setting-nav-link{border-radius:10px;background-color:#fff}.mf-settings-tab .mf-setting-tab-content .mf-setting-title{font-size:.8125rem;font-weight:700;color:#333;display:block;margin-bottom:2px;line-height:1;text-transform:uppercase}.mf-settings-tab .mf-setting-tab-content .mf-setting-subtitle{color:#72777c;font-size:.8125rem;-webkit-transition:all 150ms ease-out;transition:all 150ms ease-out}.mf-settings-section{opacity:0;visibility:hidden;-webkit-transition:opacity .4s;transition:opacity .4s;position:absolute;top:-9999px;display:none}.mf-settings-section.active{opacity:1;position:static;visibility:visible;display:block}.metform-admin-container{background-color:#fff;padding:50px;border-radius:20px;border:none;min-height:550px;padding-top:30px;margin-bottom:0}.metform-admin-container--body .mf-settings-single-section--title{margin:0;margin-top:0;color:#ff433c;font-size:24px;line-height:28px;font-weight:700;vertical-align:middle;position:relative}.metform-admin-container--body .mf-settings-single-section--title span{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;width:40px;height:40px;line-height:40px!important;margin-right:24px;background-color:rgba(255,67,60,.1);color:#ff433c;text-align:center;border-radius:5px;vertical-align:middle;font-size:18px;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased}.metform-admin-container--body .mf-setting-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:40px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:17px;position:relative;margin-left:-50px;margin-right:-50px;padding-left:50px;padding-right:51px}.metform-admin-container--body .mf-setting-header::before{content:"";position:absolute;display:block;width:48px;height:2px;bottom:-1px;left:0;background:#ff433c;margin-left:50px;margin-right:50px;z-index:2}.metform-admin-container--body .mf-setting-header::after{content:"";position:absolute;display:block;width:calc(100% - 100px);height:1px;bottom:-1px;left:0;background:#e0e4e9;margin-left:50px;z-index:1}.metform-admin-container--body .mf-setting-header.fixed{position:fixed;top:0;padding-top:20px;background-color:#fff;z-index:999}.metform-admin-container--body .mf-setting-header.fixed+div{padding-top:88px}.metform-admin-container--body .mf-setting-input{width:100%;max-width:100%;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.metform-admin-container--body .mf-setting-label{display:block;margin-bottom:8px;color:#101010;font-size:16px;line-height:19px;font-weight:500}.metform-admin-container--body .mf-admin-control-input{margin:0}.metform-admin-container--body .mf-admin-control-input[type=checkbox]{position:relative;-webkit-box-shadow:none;box-shadow:none;height:16px;width:16px;border:2px solid #ff5d20}.metform-admin-container--body .mf-admin-control-input[type=checkbox]:checked::before{content:"";position:absolute;background-color:#ff3747;width:8px;height:9px;-webkit-box-sizing:border-box;box-sizing:border-box;left:2px;border-radius:2px;text-align:center;margin:0;top:1.6px}.metform-admin-container .mf-setting-input{border-radius:3px;padding:5px 15px;height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:17px;display:inline-block;-webkit-box-shadow:none;box-shadow:none;color:#121116;border:1px solid #dee3ea;font-weight:400}.metform-admin-container .mf-setting-input:active,.metform-admin-container .mf-setting-input:focus{border-color:#ff324d;-webkit-box-shadow:none;box-shadow:none;outline:0}.metform-admin-container .mf-admin-save-icon{color:#fff;font-size:14px;margin-right:6px;height:14px;width:14px}.metform-admin-container .button-primary{text-decoration:none;text-shadow:none;background-color:#ff324d;border-radius:4px;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3);font-size:14px;line-height:16px;text-transform:uppercase;color:#fff;font-weight:500;border:none;padding:12px 23px;-webkit-transition:all .4s;transition:all .4s;display:-webkit-box;display:-ms-flexbox;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-image:linear-gradient(45deg,#ff324d,#ff6b11);position:relative;z-index:9}.metform-admin-container .button-primary:focus,.metform-admin-container .button-primary:hover{border:none;outline:0;-webkit-box-shadow:0 7px 15px rgba(242,41,91,.3);box-shadow:0 7px 15px rgba(242,41,91,.3)}.metform-admin-container .button-primary::before{border-radius:inherit;background-image:linear-gradient(45deg,#ff6b11,#ff324d);content:"";display:block;height:100%;position:absolute;top:0;left:0;opacity:0;width:100%;z-index:-1;-webkit-transition:opacity .7s ease-in-out;transition:opacity .7s ease-in-out}.metform-admin-container .button-primary:hover{background-color:#dc0420}.metform-admin-container .button-primary:hover::before{opacity:1}.mf-recaptcha-settings{display:none}.mf_setting_logo{padding-top:25px}.mf_setting_logo img{max-width:200px}.mf-setting-dashboard-banner{border-radius:20px;padding-top:0}.mf-setting-dashboard-banner img{width:100%}.mf-setting-dashboard-banner--content{padding:30px}.mf-setting-dashboard-banner--content h3{margin:0;margin-bottom:15px}.mf-setting-btn{text-decoration:none;background-color:#ff324d;padding:8px 15px;border:none;-webkit-box-shadow:none;box-shadow:none;background-image:linear-gradient(45deg,#ff324d,#ff6b11);font-weight:500}.mf-setting-btn-link{background-image:none;color:#1f55f8;border-radius:0;background-color:transparent;border:none;padding:0;text-decoration:none;border-bottom:1px solid #1f55f8;font-weight:600;font-size:14px;display:inline-block;line-height:18px;-webkit-transition:all .4s;transition:all .4s}.mf-setting-btn-link:hover{color:#507bff}.mf-setting-separator{margin:50px 0}.mf-setting-input-group{margin-bottom:30px}.mf-setting-input-group:last-child{margin-bottom:0}.mf-setting-input-group .description{font-weight:400;font-size:13px;line-height:15px;color:#999;font-style:normal;margin:0;margin-top:8px}.mf-setting-input-desc{display:none;padding-right:100px}.mf-setting-input-desc .mf-setting-btn-link{margin-top:15px}.mf-setting-input-desc--title{margin-top:0;margin-bottom:8px}.mf-setting-input-desc li,.mf-setting-input-desc p{font-size:14px;line-height:18px;color:#111}.mf-setting-tab-nav{margin-bottom:30px}.mf-setting-tab-nav li{margin-right:15px;cursor:pointer}.mf-setting-tab-nav li:last-child{margin-right:0}.mf-setting-tab-nav .attr-nav-tabs{border:none}.mf-setting-tab-nav .attr-nav-item{border:none;border-radius:4px;text-decoration:none;text-align:center;color:#111;font-size:14px;text-transform:capitalize;font-weight:600;padding:8px 14px;margin-right:0;display:inline-block;-webkit-box-shadow:none;box-shadow:none;z-index:2}.mf-setting-tab-nav .attr-nav-item:hover{color:#fff;background-color:#ff433c}.mf-setting-tab-nav .attr-active .attr-nav-item{color:#fff;background-color:#ff433c;border:none}.mf-setting-tab-nav .attr-active .attr-nav-item:active,.mf-setting-tab-nav .attr-active .attr-nav-item:focus,.mf-setting-tab-nav .attr-active .attr-nav-item:hover{border:none;-webkit-box-shadow:none;box-shadow:none;outline:0;color:#fff;background-color:#ff433c}.mf-setting-input-desc-data{display:none}.mf-setting-select-container{position:relative}.mf-setting-select-container .mf-setting-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0}.mf-setting-select-container::before{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #111;position:absolute;right:15px;-webkit-transform:translateY(-50%);transform:translateY(-50%);top:50%}.mf-setting-refresh-btn{margin:0 10px;font-size:18px;line-height:24px}.mf-set-dash-tab-img{text-align:center}.mf-set-dash-section{padding:100px 0}.mf-set-dash-section:not(:first-child):not(:last-child){padding-bottom:20px;display:none}.mf-setting-dash-section-heading{text-align:center;position:relative;margin:0 auto;margin-bottom:32px}.mf-setting-dash-section-heading--title{font-size:36px;line-height:42px;margin:0;color:#121116;font-weight:700;letter-spacing:-1px}.mf-setting-dash-section-heading--title strong{color:#ff433c}.mf-setting-dash-section-heading--subtitle{color:rgba(0,0,0,.05);font-size:60px;line-height:69px;margin:0;font-weight:700;position:absolute;top:-25px;left:50%;width:100%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.mf-setting-dash-section-heading--content{width:440px;margin:0 auto;margin-top:8px}.mf-setting-dash-section-heading--content p{font-size:16px;line-height:21px;color:#121116}.mf-setting-dash-section-heading--content p:first-child{margin-top:0}.mf-setting-dash-section-heading--content p:last-child{margin-bottom:0}.mf-set-dash-top-notch{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;border-right:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.mf-set-dash-top-notch--item{-webkit-box-flex:0;-ms-flex:0 0 33.33%;flex:0 0 33.33%;border:1px solid #f0f0f0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px;position:relative;border-right:0;border-bottom:0}.mf-set-dash-top-notch--item__title{font-size:18px;line-height:21px;color:#121116;font-weight:600;margin:0;margin-bottom:17px}.mf-set-dash-top-notch--item__desc{font-weight:400;font-size:16px;line-height:21px;color:#999}.mf-set-dash-top-notch--item::before{content:attr(data-count);font-size:60px;line-height:69px;position:absolute;top:-5px;right:5px;-webkit-text-stroke:2px;-webkit-text-fill-color:transparent;color:#f0f0f0}.mf-set-dash-free-pro-content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.mf-set-dash-free-pro-content img{max-width:100%}.mf-set-dash-free-pro-content .attr-nav-tabs{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0;border:1px solid #f0f0f0;width:290px}.mf-set-dash-free-pro-content .attr-nav-link{text-decoration:none;font-size:16px;line-height:18px;color:#121116!important;border:none!important;padding:20px 23px;margin:0;border-radius:0;-webkit-transition:all .4s;transition:all .4s}.mf-set-dash-free-pro-content .attr-nav-link:focus{outline:0;-webkit-box-shadow:none;box-shadow:none;background-color:transparent;border:none}.mf-set-dash-free-pro-content .attr-nav-link:hover{background-color:transparent}.mf-set-dash-free-pro-content .attr-nav-item{border-bottom:1px solid #f0f0f0}.mf-set-dash-free-pro-content .attr-nav-item:last-child{border-bottom:0}.mf-set-dash-free-pro-content .attr-nav-item:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.mf-set-dash-free-pro-content .attr-nav-item.attr-active>a{border:none}.mf-set-dash-free-pro-content .attr-nav-item.attr-active .attr-nav-link{background-color:#ff433c;color:#fff!important}.mf-set-dash-free-pro-content .attr-nav-item.attr-active .mf-icon{color:#fff}.mf-set-dash-free-pro-content .attr-nav-item.attr-active .mf-set-dash-badge{background-color:#fff}.mf-set-dash-free-pro-content .mf-icon{font-size:14px;color:#ff433c;margin-right:7px}.mf-set-dash-free-pro-content .mf-set-dash-badge{background-color:rgba(242,41,91,.1);color:#f2295b;font-size:10px;line-height:11px;border-radius:2px;display:inline-block;padding:3px 6px;margin-left:18px;font-weight:600;text-transform:uppercase}.mf-set-dash-free-pro-content .attr-tab-content{border:1px solid #f0f0f0;border-left:0;padding:50px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 calc(100% - 292px);flex:0 0 calc(100% - 292px)}.mf-set-dash-free-pro-content .attr-tab-content p{font-size:16px;line-height:24px;font-weight:400;color:#444}.mf-set-dash-free-pro-content .attr-tab-content ul li{color:#444;font-size:16px;line-height:21px}.mf-set-dash-free-pro-content .attr-tab-content ul li::before{content:"";height:5px;width:5px;background-color:#f2295b;border-radius:100px;display:inline-block;vertical-align:middle;margin-right:7px}.mf-set-dash-free-pro-content .attr-tab-content .mf-admin-setting-btn{margin-top:35px}.admin-bar .mf-setting-header.fixed{top:30px}#mf-set-dash-faq{background-color:#f1f1f1;padding-bottom:100px;margin:100px 0;text-align:center;margin-left:-50px;margin-right:-50px}#mf-set-dash-faq .mf-admin-setting-btn{margin-top:30px}.mf-admin-accordion{max-width:700px;margin:0 auto;margin-top:30px}.mf-admin-single-accordion{background-color:#fff;-webkit-box-shadow:0 7px 15px rgba(0,0,0,.07);box-shadow:0 7px 15px rgba(0,0,0,.07);margin:10px 0;text-align:left}.mf-admin-single-accordion.active .mf-admin-single-accordion--heading::after{content:"\e995";color:#f2295b}.mf-admin-single-accordion--heading{cursor:pointer;margin:0;color:#121116;font-size:14px;line-height:20px;padding:18px 20px;position:relative}.mf-admin-single-accordion--heading::after{content:"\e994";font-family:metform;position:absolute;right:30px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:12px}.mf-admin-single-accordion--body{padding:0;display:none}.mf-admin-single-accordion--body__content{padding:30px;padding-top:0}.mf-admin-single-accordion--body p{margin:0}#mf-set-dash-rate-now{margin-top:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:0;padding-top:0;-ms-flex-wrap:wrap;flex-wrap:wrap}#mf-set-dash-rate-now .mf-setting-dash-section-heading{text-align:left}#mf-set-dash-rate-now .mf-admin-left-thumb{margin-bottom:-50px;-ms-flex-item-align:end;align-self:flex-end}#mf-set-dash-rate-now>div{-webkit-box-flex:1;-ms-flex:1;flex:1}.mf-admin-left-thumb img{max-width:100%}@media (min-width:768px){.mf-setting-input-desc-data{display:block}.mf-settings-dashboard>.attr-row>div:last-of-type{padding-left:0}.mf-settings-dashboard>.attr-row>div:first-of-type{padding-right:0}}@media (max-width:767px){.mf-setting-dash-section-heading--content{width:100%}.mf-set-dash-free-pro-content .attr-nav-tabs{min-width:100%}.mf-set-dash-free-pro-content .attr-tab-content{border-left:1px solid #f0f0f0;padding:20px;-webkit-box-flex:100%;-ms-flex:100%;flex:100%}.mf-settings-dashboard .mf-setting-sidebar{position:static;width:100%!important}.metform-admin-container{padding:30px}.metform-admin-container--body .mf-setting-header{margin-left:-30px;margin-right:-30px;padding-left:30px;padding-right:30px}.metform-admin-container--body .mf-setting-header::after,.metform-admin-container--body .mf-setting-header::before{margin-left:30px;margin-right:30px}.metform-admin-container--body .mf-setting-header::after{width:calc(100% - 60px)}.mf-set-dash-top-notch--item{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%}.admin-bar .mf-setting-header.fixed{top:0}#mf-set-dash-faq{margin-left:-30px;margin-right:-30px}.mf-admin-left-thumb{margin-bottom:-30px;text-align:center;width:100%;margin-top:15px}.metform-admin-container--body .mf-settings-single-section--title{font-size:19px}.metform-admin-container--body .mf-settings-single-section--title span{display:none}.mf-setting-dash-section-heading--title{font-size:25px;line-height:30px}.mf-setting-dash-section-heading--subtitle{font-size:52px;line-height:59px}}.mf-setting-spin{-webkit-animation-name:rotate;animation-name:rotate;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.loading .attr-modal-content::before{opacity:.8;position:absolute;content:"";top:0;left:0;height:100%;width:100%;background-color:#fff;-webkit-transition:opaicty .5s ease;transition:opaicty .5s ease;z-index:5;border-radius:inherit}.loading .mf-spinner{display:block}#metform_form_modal{overflow-y:scroll}.elementor-editor-active .metform-form-save-btn-editor{display:none!important}.attr-modal-dialog-centered{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:30px;width:725px;max-width:100%}.attr-modal-dialog-centered .attr-modal-header{padding:36px 50px;border-bottom:none}.attr-modal-dialog-centered .attr-modal-header .attr-modal-title{font-size:20px;font-weight:700;color:#111;text-transform:capitalize;margin-bottom:38px;line-height:1}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs{border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs li{-webkit-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs a{text-decoration:none;color:#111;font-size:14px;text-transform:capitalize;font-weight:600;padding:8px 10px;border:none;margin-right:0;-webkit-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs a:hover{border:none;background-color:transparent}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs a:focus{outline:0;-webkit-box-shadow:none;box-shadow:none;border:none}.attr-modal-dialog-centered .attr-modal-header .attr-nav-tabs li.attr-active a{border:none;color:#fff;background-color:#1f55f8;border-radius:4px;text-align:center}.attr-modal-dialog-centered .attr-modal-header button.attr-close{opacity:.8;font-size:inherit;outline:0;margin-top:-15px;margin-right:-25px}.attr-modal-dialog-centered .attr-modal-header button.attr-close span{color:#e81123;font-size:35px;font-weight:100;background-color:#fce7e9;height:36px;width:36px;display:inline-block;line-height:36px;border-radius:100px;outline:0;margin-top:5px;font-family:initial}.attr-modal-dialog-centered .attr-tab-content .attr-modal-body{padding:40px 50px;padding-top:0}.attr-modal-dialog-centered .attr-tab-content div#limit_status.hide_input{display:none}.attr-modal-dialog-centered .attr-tab-content .mf-input-group label.attr-input-label{color:#111;font-size:16px;margin-bottom:7px;display:block;font-weight:500;padding:15px 0 8px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group{border-bottom:1px solid #f5f5f5;padding-bottom:14px;margin-bottom:14px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group:last-of-type{border-bottom:none;padding-bottom:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .attr-form-control,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input{color:#000;font-size:14px;height:48px;padding:0 22px;border-color:#ededed;margin-top:12px;max-width:100%;background-color:#f9f9f9;-webkit-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .attr-form-control:focus,.attr-modal-dialog-centered .attr-tab-content .mf-input-group .attr-form-control:hover,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input:focus,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input:hover{background-color:#fff}.attr-modal-dialog-centered .attr-tab-content .mf-input-group textarea{padding:22px!important}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]{display:none}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span{position:relative;display:block}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span::before{content:"No";width:55px;height:25px;background-color:#ededed;left:0;border-radius:15px;text-align:right;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px;-webkit-transition:all .4s;transition:all .4s;float:right;line-height:18px;cursor:pointer}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span::after{content:"";width:20px;height:20px;background-color:#fff;border-radius:100px;display:inline-block;position:absolute;right:31px;top:2px;-webkit-transition:all .4s;transition:all .4s}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]:checked+span::before{content:"Yes";width:55px;height:25px;background-color:#1f55f8;left:0;border-radius:15px;display:inline-block;text-align:left;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:10px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]:checked+span::after{content:"";width:20px;height:20px;background-color:#fff;border-radius:100px;display:inline-block;position:absolute;right:2px;top:2px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-rest-api-method{padding:0 18px;margin:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group span.mf-input-help{color:#b7b7b7;font-style:italic;font-size:12px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group span.mf-input-help strong{color:#555;font-weight:700}.attr-modal-dialog-centered .attr-tab-content .mf-input-group span.mf-input-help a{color:#1f55f8;text-decoration:none;font-weight:700}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner label.attr-input-label{display:inline-block}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner #limit_status{width:100px;margin:0;position:relative;margin-left:15px;float:right;margin-top:-2px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input{margin:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input[type=checkbox]+span::before{position:relative;top:-2px;left:5px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input[type=checkbox]+span::after{right:28px;top:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group .mf-input-group-inner input[type=checkbox]:checked+span::after{right:-2px;top:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:initial;-ms-flex-align:initial;align-items:initial}.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .attr-input-label,.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .mf-inputs{-webkit-box-flex:1;-ms-flex:1;flex:1}.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .attr-input-label select,.attr-modal-dialog-centered .attr-tab-content .mf-input-group.mf-input-group-inline .mf-inputs select{margin:0}.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=number]+span,.attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=text]+span{display:block;margin-top:5px}.attr-modal-dialog-centered .attr-tab-content #limit_status.show_input{margin-top:32px}.attr-modal-dialog-centered .attr-modal-footer{padding:30px 50px}.attr-modal-dialog-centered .attr-modal-footer button{color:#fff;background-color:#1f55f8;font-size:16px;font-weight:700;-webkit-box-sizing:border-box;box-sizing:border-box;padding:12px 20px;-webkit-box-shadow:none;box-shadow:none;border:1px solid transparent;-webkit-transition:all .4s;transition:all .4s;outline:0}.attr-modal-dialog-centered .attr-modal-footer button:focus{border:none;outline:0}.attr-modal-dialog-centered .attr-modal-footer button.metform-form-save-btn-editor{background-color:#d8d8d8;color:#111}.attr-modal-dialog-centered>form{width:100%}.modal-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.5);z-index:9999}.attr-modal{z-index:10000}.mf_multipile_ajax_search_filed .select2-container--default .select2-selection--multiple .select2-selection__choice{line-height:1.5;font-size:.9em;border:none;border-radius:0;color:#6d7882}.mf-headerfooter-status{display:inline-block;margin-left:5px;padding:2px 5px 3px;color:#fff;background-color:#9a9a9a;border-radius:3px;font-size:10px;line-height:1;font-weight:700}.mf-headerfooter-status-active{background-color:#00cd00}.irs--round .irs-max,.irs--round .irs-min{display:none}.irs--round .irs-handle{cursor:pointer}.mf-success-msg{position:fixed;z-index:9;text-align:center;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-box-shadow:0 2px 5px rgba(153,153,153,.2);box-shadow:0 2px 5px rgba(153,153,153,.2);min-width:300px}textarea.attr-form-control{height:auto!important}.post-type-metform-form .row-actions .inline{display:none!important}div.metform-entry-browser-data table tbody,div.metform-entry-browser-data table thead,div.metform-entry-data table tbody,div.metform-entry-data table thead{text-align:left}img.form-editor-icon{height:20px;width:20px;margin-right:5px;vertical-align:middle}div.mf-file-show button.attr-btn.attr-btn-primary{margin-left:10px}.mf-file-show a{text-decoration:none}.mf-modal-container{margin-top:50px}.mf-modal-container .attr-modal-body img{margin:0 auto}.mf-entry-input,.mf-entry-label{-webkit-box-sizing:border-box;box-sizing:border-box}.mf-entry-filter{margin-right:10px;min-width:15%}.mf-entry-export-csv{min-width:20%}.metform_open_content_editor_modal .attr-modal-dialog-centered .attr-tab-content .mf-input-group input[type=checkbox]+span::before{line-height:20px}.mf-image-select-input,.mf-toggle-select-input{position:absolute;opacity:0;width:0;height:0}.mf-image-select-input+img,.mf-toggle-select-input+p{cursor:pointer}.mf-input-rest-api-group .mf-rest-api-key{width:100px;display:inline-block;position:relative;top:17px}.mf-input-rest-api-group .mf-rest-api{width:calc(100% - 110px);vertical-align:middle;display:inline-block!important}.metform_open_content_editor_modal .mf-rest-api-key{top:19px}.metform-entry-data table.mf-entry-data{width:100%;background-color:#fff;border:1px solid #eaf2fa;color:#000}.metform-entry-data table.mf-entry-data tbody tr.mf-data-label{background-color:#eaf2fa}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value{background-color:#fff}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value pre{margin:0;font:inherit}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value td.mf-value-space{width:20px}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value .signature-img{max-width:100%}.mf-cf-single-field{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;position:relative;margin-bottom:1rem;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mf-cf-single-field .mf-cf-single-field-input{width:48%}.mf-cf-single-field .mf-cf-single-field-input label{color:#111;font-size:12px;display:block;font-weight:500}.mf-cf-single-field .mf-cf-single-field-input input,.mf-cf-single-field .mf-cf-single-field-input select{margin-top:8px!important}.mf-cf-single-field .mf-btn-del-singl-field{outline:0;color:#fd397a;background-color:rgba(253,57,122,.1);text-decoration:none;font-size:12px;font-weight:700;padding:0 10px;position:absolute;right:0;top:0;line-height:19px;display:inline-block;border-radius:4px}.mf-cf-single-field .mf-btn-del-singl-field:hover{color:#fff;background-color:#fd397a}.mf-cf-single-field .mf-btn-del-singl-field:focus{color:#fff;background-color:#c9302c}.mf-add-cf{color:#716aca;background-color:rgba(113,106,202,.1);font-size:20px;line-height:.65em;padding:10px 10px;border:none!important;-webkit-box-shadow:none;box-shadow:none;font-weight:700;cursor:pointer;border-radius:4px;outline:0}.mf-add-cf span{-webkit-transform:translateY(-2px);transform:translateY(-2px);display:block}.mf-add-cf:hover{color:#fff;background-color:#716aca}.mf-add-cf:focus{color:#fff;background-color:#286090}.achor-style{color:#1f55f8;text-decoration:none;font-weight:700}
public/assets/css/style.css CHANGED
@@ -1 +1 @@
1
- @-webkit-keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@-webkit-keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}#elementor .mf-btn-wraper a.metform-btn{background:#337ab7;color:#fff;border-radius:5px;height:20%;font-size:16px;padding:10px}.mf-form-wrapper section,.single-metform-form section{padding-top:0;padding-bottom:0}.mf-input-switch-control{position:relative;display:inline-block}.mf-input-switch-control>input[type=checkbox]{display:none!important}.mf-input-control{position:absolute;z-index:-1;opacity:0}.mf-input-switch .mf-input-control-label::before{content:attr(data-disable);width:55px;height:25px;background-color:#ededed;left:0;border-radius:15px;text-align:right;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px;-webkit-transition:all .4s;transition:all .4s;float:right;line-height:18px;cursor:pointer;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.metform-form-content{position:relative;z-index:0}.mf-response-msg-wrap{-webkit-transition:height .45s,opacity .45s,visibility .45s;transition:height .45s,opacity .45s,visibility .45s;background-color:#fff}.mf-response-msg-wrap[data-show="0"]{height:0!important;opacity:0;visibility:hidden}.mf-response-msg-wrap[data-show="1"]{height:auto;opacity:1;visibility:visible;margin-bottom:20px}.mf-response-msg{border-radius:5px;text-align:center;padding:15px 34px;height:100%}.wf-error-res{background-color:#f8d7da;border-color:#f5c6cb}.mf-success-icon,.wf-error-res .mf-alert-icon{color:#721c24;font-size:30px;margin-bottom:5px}.mf-success-icon{color:#101010}.mf-response-msg p{font-size:17px;line-height:20px;color:#101010;margin-bottom:0}.wf-error-res p{color:#721c24}.custom-file-label,.custom-select,.mf-input-control-label::before{-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.mf-input-control-label::after{position:absolute;top:2px;left:2px;display:block;width:14px;height:14px;content:"";background-color:#adb5bd;border-radius:100px;-webkit-transition:all .4s;transition:all .4s;cursor:pointer}.mf-input-switch label.mf-input-control-label{display:inline-block;vertical-align:middle;position:relative;margin:0}.mf-input-control:checked~.mf-input-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff;content:attr(data-enable);text-align:left;padding-left:10px;-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start}.mf-input-switch .mf-input-control:checked~.mf-input-control-label::after{background-color:#fff}.mf-input-wrapper .mf-input-help{display:block;font-size:.9em;margin-top:5px;opacity:.7;clear:both;font-weight:400}.mf-input-wrapper .mf-input{width:100%;max-width:100%;padding:12px;height:auto;border-width:1px;border-style:solid;border-color:#eaeaea;border-radius:2px;background:0 0;background-color:#fafafa;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .2s linear;transition:all .2s linear;font-size:14px;line-height:21px}.mf-input-wrapper .mf-input:focus,.mf-input-wrapper.mf-field-error .mf-input,.mf-input-wrapper.mf-field-error .mf-input:focus{outline:0}.mf-input-wrapper .mf-input:focus{border-color:#4285f478}.mf-input-wrapper .mf-input:-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input:-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}@media (max-width:767px){.attr-form-group>.attr-control-label,.attr-form-group>.mf-input,.mf-input-wrapper>.mf-captcha-input-wrapper,.mf-input-wrapper>.mf-checkbox,.mf-input-wrapper>.mf-image-select,.mf-input-wrapper>.mf-input-label,.mf-input-wrapper>.mf-input:not(.mf-left-parent),.mf-input-wrapper>.mf-payment-method,.mf-input-wrapper>.mf-radio,.mf-input-wrapper>.mf-repeater-field-label,.mf-input-wrapper>.mf-signature{width:100%;min-width:100%}}.mf-input-wrapper .mf-input-label,.mf-repeater-field-label{font-family:Roboto,sans-serif;font-weight:600;font-size:14px;display:block;color:#000;font-size:14px;line-height:16px;margin-bottom:5px}.mf-input-wrapper .mf-input,.mf-input-wrapper .mf-input-label{vertical-align:middle}div.mf-input-wrapper>textarea.mf-input{padding:15px}.irs--round .irs-max,.irs--round .irs-min{display:none}.irs--round .irs-handle{cursor:pointer}.multi-option-input-type{vertical-align:middle}.mf-checkbox-option input[type=checkbox]{display:none!important}.mf-checkbox-option:not(.disabled) label{cursor:pointer}.mf-checkbox-option input[type=checkbox]+span::before{position:relative;content:"\f0c8";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px}.mf-checkbox-option input[type=checkbox]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-checkbox-option input[type=checkbox]:checked+span::before{content:"\f14a";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-radio-option input[type=radio]{display:none!important}.mf-checkbox-option,.mf-radio-option{padding-right:15px}.mf-radio-option input[type=radio]+span::before{content:"\f111";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px;position:relative}.mf-radio-option input[type=radio]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-radio-option input[type=radio]:checked+span::before{content:"\f058";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-input-wrapper .mf-input-select{padding:0!important}.mf-input-select .mf_select__control{min-height:0;padding:12px;border-width:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;border-radius:none!important;border:1px solid #eaeaea;background-color:transparent}.mf-input-select .mf_select__control:hover{border:1px solid #eaeaea}.mf-input-select .mf_select__indicator-separator{display:none}.mf-input-select .mf_select__value-container,.mf-input-select .mf_select__value-container input{padding:0}.mf-input-select .mf_select__placeholder{margin-left:0;margin-right:0;color:inherit}.mf-input-select .mf_select__indicators{margin-right:2px}.mf-input-multiselect .mf_multiselect__indicators{margin-right:15px}.mf-input-multiselect .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__indicator{padding:0;border-style:solid;border-width:5px 4px 0;border-color:currentColor transparent transparent}.mf-input-multiselect .mf_multiselect__control--menu-is-open .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__control--menu-is-open .mf_select__indicator{border-width:0 4px 5px;border-color:transparent transparent currentColor}.mf-input-multiselect .mf_multiselect__dropdown-indicator>svg,.mf-input-select .mf_select__indicator>svg{display:none}.mf-input-select .mf_select__menu{width:100%;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff}.mf-input-select .mf_select__menu>div{overflow-x:hidden}.mf-input-select .mf_select__menu-list{padding:0}.mf-input-select .mf_select__option{cursor:pointer;border:1px solid #eaeaea}.mf-input-select .mf_select__option.mf_select__option--is-focused,.mf-input-select .mf_select__option.mf_select__option--is-selected,.mf-input-select .mf_select__option:hover{background-color:#f0f0f0}.mf-input-select .mf_select__control.mf_select__control--is-focused{border-color:#4285f478;background-color:inherit}.mf-input.mf-input-select{border:none!important;background-color:#fafafa}.mf-input-select .mf_select__single-value{position:relative;top:0;width:100%;max-width:calc(100% - 22px);margin-left:0;margin-right:0;-webkit-transform:none;transform:none}.mf-input-wrapper select.mf-input-dropdown{border:none;padding:15px 25px;font-size:15px;font-weight:500!important;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-style:solid;border-color:#eaeaea}.mf-input-wrapper select.mf-input-dropdown option{background-color:#fff;color:#222;font-size:15px}.mf-input-switch-control.mf-input-switch.mf-input{-webkit-box-shadow:none!important;box-shadow:none!important;vertical-align:-webkit-baseline-middle;border:none;padding:0}.mf-input-wrapper .range-slider{display:inline-block;width:100%}.mf-input-wrapper .asRange{width:100%;background-color:#f1f4f9}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip::before,.mf-input-wrapper .asRange .asRange-pointer::before,.mf-input-wrapper .asRange .asRange-selected{background-color:#1fb787}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip{background-color:#1fb787;border:1px solid #1fb787;top:inherit;bottom:18px;left:-50%;margin-left:8px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.metform-btn{background-color:#4285f4;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;max-width:100%;padding:16px 40px;font-size:16px;border-radius:2px;cursor:pointer;-webkit-box-shadow:0 5px 5px 0 rgba(66,133,244,.3);box-shadow:0 5px 5px 0 rgba(66,133,244,.3);line-height:18px;-webkit-transition:all .4s;transition:all .4s;font-weight:500;text-decoration:none}.metform-btn:focus,.metform-btn:hover{background-color:#4285f4;text-decoration:none;outline:0}button.metform-btn,button.metform-btn:not(.toggle){background-color:#4285f4}button.metform-btn:focus,button.metform-btn:hover{background-color:#4285f4}@media (max-width:767px){.mf-btn--mobile-justify .metform-btn{width:100%}}@media (min-width:768px) and (max-width:1024px){.mf-btn--tablet-justify .metform-btn{width:100%}}@media (min-width:1025px){.mf-btn--justify .metform-btn{width:100%}}.metform-submit-btn{position:relative;z-index:0}.metform-submit-btn::after,.metform-submit-btn::before{content:" ";position:absolute;top:50%;left:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-style:solid;border-color:currentColor;border-width:0;border-radius:50%;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.metform-submit-btn[disabled]::after,.metform-submit-btn[disabled]::before{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}.metform-submit-btn::before{border-width:2px}.metform-submit-btn[disabled]::before{opacity:.25}.metform-submit-btn::after{border-top-width:2px;-webkit-animation:submitspin .55s linear infinite;animation:submitSpin .55s linear infinite}.metform-submit-btn>span{-webkit-transition:opacity .15s ease .15s;transition:opacity .15s ease .15s}.metform-submit-btn[disabled]>span{opacity:0;-webkit-transition-delay:0;transition-delay:0}@-webkit-keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mf-input-wrapper .iti{display:block}.mf-input-wrapper>.iti{display:inline-block;width:100%}.mf-input-wrapper .iti .mf-input{width:100%!important}.mf-input-wrapper .iti--separate-dial-code .iti__selected-flag{background-color:#f7f6f6}.mf-input-wrapper .iti .iti__flag-container{display:none}.mf-input-wrapper .iti>.iti__flag-container{display:block}.flatpickr-calendar{margin-top:8px}.flatpickr-month{margin-top:3px;margin-bottom:5px}.mf-input-wrapper>.flatpickr-wrapper{display:block}.flatpickr-wrapper select{display:inline-block}.elementor-widget-mf-date.elementor-element-edit-mode .flatpickr-calendar,.elementor-widget-mf-time.elementor-element-edit-mode .flatpickr-calendar{top:100%!important;left:0!important}.mf-ratings{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;cursor:pointer}.mf-ratings>input{display:none!important}.mf-ratings>label{cursor:pointer}.mf-ratings>label:not(:last-child){padding-right:5px}.mf-ratings.is-selected>label,.mf-ratings:not(.is-selected):hover>label{color:#ffdb72}.mf-ratings.is-selected:not(:hover)>input:checked+label~label,.mf-ratings.is-selected>label:hover~label,.mf-ratings:not(.is-selected),.mf-ratings:not(.is-selected)>label:hover~label{color:#ccc}.mf-input-file-upload{width:.1px;height:.1px;opacity:0;visibility:hidden;position:absolute}.mf-input-file-upload-label{color:#fff;margin-right:10px;padding:5px 15px;display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-box-shadow:none;box-shadow:none;font-size:16px;font-weight:400;line-height:28px}.mf-input-file-upload-label i{font-size:18px}.mf-input-file-upload-label svg{max-width:18px;height:auto;vertical-align:middle}.mf-file-name span{display:inline-block;font-size:15px}.mf-input-wrapper .error{display:block;font-size:14px}.mf-input-multiselect,.mf-input-select{padding:0;cursor:pointer}.mf-input.mf-input-multiselect{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;border:none!important}.mf-input-multiselect .mf_multiselect__control{border:1px solid #eaeaea;border-radius:0;background-color:#fafafa;cursor:pointer}.mf-input-multiselect .mf_multiselect__control:focus,.mf-input-multiselect .mf_multiselect__control:hover{border:1px solid #eaeaea;outline:0;-webkit-box-shadow:none;box-shadow:none}.mf_multiselect__indicator-separator{display:none}.mf_multiselect__option.mf_multiselect__option--is-focused,.mf_multiselect__option:hover{background-color:#f0f0f0}.mf_multiselect__option.mf_multiselect__option--is-focused{background-color:#fff}.mf_multiselect__option{border:1px solid #eaeaea;background-color:#fff;padding:10px 15px;font-size:15px}.mf-input-multiselect .mf_multiselect__menu{margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.mf-input-multiselect .mf_multiselect__menu-list{padding:0}.mf-input-multiselect .mf_multiselect__placeholder{color:#c9c1c1}.mf_multiselect__menu-notice--no-options{border:1px solid #eaeaea;color:#c9c1c1}.mf_multiselect__control .mf_multiselect__value-container{padding:8px 12px}.mf_multiselect__control .mf_multiselect__value-container>div:last-child{height:25px}.mf-input-multiselect .mf_multiselect__multi-value{margin:0 5px 0 0}.mf_multiselect__multi-value__remove{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.mf_multiselect__multi-value__label{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.mf-input-multiselect .mf_multiselect__input>input{min-height:0}.mf-input.mf-input-summary{padding:0;background-color:#fff;border-width:0}.mf-entry-data{margin:0;padding:0;list-style:none;word-break:break-word}.mf-entry-data>li{border:1px solid rgba(0,0,0,.1)}.mf-entry-data>li:not(:last-child){border-bottom-width:0}.mf-entry-data>li>strong{display:block;padding:8px;background-color:#eaf2fa;border-bottom:1px solid rgba(0,0,0,.1)}.mf-entry-data>li>span{display:block;padding:8px 28px;min-height:42px}.elementor-widget-mf-range .mf-field-error .error{display:none!important}.g-recaptcha>div{position:relative;z-index:0}.g-recaptcha>div::after,.g-recaptcha>div::before,.g-recaptcha>div>div::after,.g-recaptcha>div>div::before{content:" ";position:absolute;border-style:solid;border-color:#d3d3d3;border-width:0;z-index:0}.g-recaptcha>div::before{top:0;left:0;bottom:2px;border-left-width:1px}.g-recaptcha>div::after{top:0;right:2px;bottom:2px;border-right-width:1px}.g-recaptcha>div>div::before{top:0;left:0;right:2px;border-top-width:1px}.g-recaptcha>div>div::after{left:0;right:2px;bottom:2px;border-bottom-width:1px}.g-recaptcha+.attr-alert{display:none}.g-recaptcha:empty+.attr-alert{display:block!important}.mf-captcha-input-wrapper.mf-captcha-block>i{padding-left:25px}img.mf-input.mf-captcha-image{max-width:200px;border:none;-webkit-box-sizing:unset;box-sizing:unset;background:0 0;padding:0;display:inline-block}.mf-captcha-block>img.mf-input.mf-captcha-image{margin:5px 0 5px 0}.mf-captcha-inline>img.mf-input.mf-captcha-image{margin:0 5px 0 0}.mf-captcha-input-wrapper.mf-captcha-inline{display:-ms-inline-flexbox!important;display:-webkit-inline-box!important;display:inline-flex!important;-ms-flex-align:center;-webkit-box-align:center;align-items:center;width:100%}.mf-captcha-input-wrapper.mf-captcha-inline>i{margin-left:25px!important;-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}.mf-refresh-captcha::before{content:"\f01e";font-family:"Font Awesome 5 Free";font-weight:700;font-style:normal;cursor:pointer}.mf-error-message{display:block}.mf-input-wrapper .input-range__slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:4px solid #000;border-radius:100%;cursor:pointer;display:block;height:15px;margin-left:-7.5px;margin-top:-11px;outline:0;position:absolute;top:50%;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;width:15px}.mf-input-wrapper .input-range__slider:focus{-webkit-box-shadow:0 0 0 5px rgba(63,81,181,.2);box-shadow:0 0 0 5px rgba(63,81,181,.2)}.input-range--disabled .input-range__slider{background:#ccc;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none;-webkit-transform:none;transform:none}.mf-input-wrapper .input-range__slider-container{-webkit-transition:left .3s ease-out;transition:left .3s ease-out}.mf-input-wrapper .input-range__label{color:#aaa;font-family:"Helvetica Neue",san-serif;font-size:.8rem;-webkit-transform:translateZ(0);transform:translateZ(0);white-space:nowrap}.mf-input-wrapper .input-range__label--max,.mf-input-wrapper .input-range__label--min{bottom:-1.4rem;position:absolute;display:none}.mf-input-wrapper .input-range__label--min{left:0}.mf-input-wrapper .input-range__label--max{right:0}.mf-input-wrapper .input-range__label--value{position:absolute;bottom:20px}.mf-input-wrapper .input-range__label-container{left:-50%;position:relative;background-color:#000;width:36px;height:20px;display:inline-block;color:#fff;font-size:12px;text-align:center;border-radius:3px}.mf-input-wrapper .input-range__label-container::before{position:absolute;bottom:-3px;left:50%;display:inline-block;width:6px;height:6px;margin-left:-3px;content:"";background-color:#000;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.mf-input-wrapper .input-range__label--max .input-range__label-container{left:50%}.mf-input-wrapper .input-range__track{background:#f1f4f9;border-radius:.3rem;cursor:pointer;display:block;height:8px;position:relative;-webkit-transition:left .3s ease-out,width .3s ease-out;transition:left .3s ease-out,width .3s ease-out}.mf-input-wrapper .input-range--disabled .input-range__track{background:#f1f4f9}.mf-input-wrapper .input-range__track--background{left:0;margin-top:-.15rem;position:absolute;right:0;top:50%}.mf-input-wrapper .input-range__track--active{background:#000}.mf-input-wrapper .input-range{height:1rem;position:relative;width:100%}.mf-condition--hidden,[mf-condition-hidden=true]{display:none;visibility:hidden}.mf-main-response-wrap[data-show="1"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseOpen;animation-name:metform-responseOpen}.mf-main-response-wrap[data-show="0"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseClose;animation-name:metform-responseClose}.mf-main-response-wrap .mf-response-msg{border-radius:10px;border:1px solid #c3c2c2}.mf-main-response-wrap:not(.mf_pro_activated) .mf-response-msg{background-color:#fff}.mf-close-this-form{-webkit-animation-duration:.6s;animation-duration:.6s;-webkit-animation-name:metform-zoom-out-zero;animation-name:metform-zoom-out-zero}.mf-close-this-form>h2{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-zoom-in-full;animation-name:metform-zoom-in-full}
1
+ @-webkit-keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseOpen{from{-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(1);transform:scaley(1);opacity:1;-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@keyframes metform-responseClose{from{-webkit-transform:scaley(1);transform:scaley(1);-webkit-transform-origin:top center;transform-origin:top center}to{-webkit-transform:scaley(0);transform:scaley(0);-webkit-transform-origin:top center;transform-origin:top center}}@-webkit-keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@keyframes metform-zoom-out-zero{from{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(0);transform:scale(0)}}@-webkit-keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes metform-zoom-in-full{from{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}#elementor .mf-btn-wraper a.metform-btn{background:#337ab7;color:#fff;border-radius:5px;height:20%;font-size:16px;padding:10px}.mf-form-wrapper section,.single-metform-form section{padding-top:0;padding-bottom:0}.mf-input-switch-control{position:relative;display:inline-block}.mf-input-switch-control>input[type=checkbox]{display:none!important}.mf-input-control{position:absolute;z-index:-1;opacity:0}.mf-input-switch .mf-input-control-label::before{content:attr(data-disable);width:55px;height:25px;background-color:#ededed;left:0;border-radius:15px;text-align:right;color:#fff;text-transform:uppercase;font-weight:700;font-size:10px;padding:3px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:10px;-webkit-transition:all .4s;transition:all .4s;float:right;line-height:18px;cursor:pointer;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.metform-form-content{position:relative;z-index:0;overflow:hidden}.mf-multistep-container .elementor-top-section .elementor-inner-section{padding:0!important;margin:0!important}.mf-multistep-container .elementor-top-section .elementor-inner-column{min-height:inherit}.mf-multistep-container .elementor-top-section .elementor-inner-column .elementor-element-populated{padding-top:0!important;padding-bottom:0!important}.mf-multistep-container .elementor-top-section .elementor-inner-column .elementor-widget-container{margin:10px 0}.mf-response-msg-wrap{-webkit-transition:height .45s,opacity .45s,visibility .45s;transition:height .45s,opacity .45s,visibility .45s;background-color:#fff}.mf-response-msg-wrap[data-show="0"]{height:0!important;opacity:0;visibility:hidden}.mf-response-msg-wrap[data-show="1"]{height:auto;opacity:1;visibility:visible;margin-bottom:20px}.mf-response-msg{border-radius:5px;text-align:center;padding:15px 34px;height:100%}.wf-error-res{background-color:#f8d7da;border-color:#f5c6cb}.mf-success-icon,.wf-error-res .mf-alert-icon{color:#721c24;font-size:30px;margin-bottom:5px}.mf-success-icon{color:#101010}.mf-response-msg p{font-size:17px;line-height:20px;color:#101010;margin-bottom:0}.wf-error-res p{color:#721c24}.custom-file-label,.custom-select,.mf-input-control-label::before{-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.mf-input-control-label::after{position:absolute;top:2px;left:2px;display:block;width:14px;height:14px;content:"";background-color:#adb5bd;border-radius:100px;-webkit-transition:all .4s;transition:all .4s;cursor:pointer}.mf-input-switch label.mf-input-control-label{display:inline-block;vertical-align:middle;position:relative;margin:0}.mf-input-control:checked~.mf-input-control-label::before{color:#fff;border-color:#007bff;background-color:#007bff;content:attr(data-enable);text-align:left;padding-left:10px;-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start}.mf-input-switch .mf-input-control:checked~.mf-input-control-label::after{background-color:#fff}.mf-input-wrapper .mf-input-help{display:block;font-size:.9em;margin-top:5px;opacity:.7;clear:both;font-weight:400}.mf-input-wrapper .mf-input{width:100%;max-width:100%;padding:12px;height:auto;border-width:1px;border-style:solid;border-color:#eaeaea;border-radius:2px;background:0 0;background-color:#fafafa;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .2s linear;transition:all .2s linear;font-size:14px;line-height:21px}.mf-input-wrapper .mf-input:focus,.mf-input-wrapper.mf-field-error .mf-input,.mf-input-wrapper.mf-field-error .mf-input:focus{outline:0}.mf-input-wrapper .mf-input:focus{border-color:#4285f478}.mf-input-wrapper .mf-input:-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-ms-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input::-webkit-input-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}.mf-input-wrapper .mf-input:-moz-placeholder{color:#c9c1c1;font-weight:400;font-size:14px}@media (max-width:767px){.attr-form-group>.attr-control-label,.attr-form-group>.mf-input,.mf-input-wrapper>.mf-captcha-input-wrapper,.mf-input-wrapper>.mf-checkbox,.mf-input-wrapper>.mf-image-select,.mf-input-wrapper>.mf-input-label,.mf-input-wrapper>.mf-input:not(.mf-left-parent),.mf-input-wrapper>.mf-payment-method,.mf-input-wrapper>.mf-radio,.mf-input-wrapper>.mf-repeater-field-label,.mf-input-wrapper>.mf-signature{width:100%;min-width:100%}}.mf-input-wrapper .mf-input-label,.mf-repeater-field-label{font-family:Roboto,sans-serif;font-weight:600;font-size:14px;display:block;color:#000;font-size:14px;line-height:16px;margin-bottom:5px}.mf-input-wrapper .mf-input,.mf-input-wrapper .mf-input-label{vertical-align:middle}div.mf-input-wrapper>textarea.mf-input{padding:15px}.irs--round .irs-max,.irs--round .irs-min{display:none}.irs--round .irs-handle{cursor:pointer}.multi-option-input-type{vertical-align:middle}.mf-checkbox-option input[type=checkbox]{display:none!important}.mf-checkbox-option:not(.disabled) label{cursor:pointer}.mf-checkbox-option input[type=checkbox]+span::before{position:relative;content:"\f0c8";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px}.mf-checkbox-option input[type=checkbox]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-checkbox-option input[type=checkbox]:checked+span::before{content:"\f14a";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-radio-option input[type=radio]{display:none!important}.mf-checkbox-option,.mf-radio-option{padding-right:15px}.mf-radio-option input[type=radio]+span::before{content:"\f111";font-family:"Font Awesome 5 Free"!important;font-weight:500!important;display:inline-block;border:none;font-size:18px;color:#5f7bff;font-weight:400;width:25px;line-height:1;top:2px;position:relative}.mf-radio-option input[type=radio]+span{font-weight:400;font-size:14px;cursor:pointer}.mf-radio-option input[type=radio]:checked+span::before{content:"\f058";font-family:"Font Awesome 5 Free"!important;display:inline-block;border:none;font-size:18px;color:#5f7bff}.mf-input-wrapper .mf-input-select{padding:0!important}.mf-input-select .mf_select__control{min-height:0;padding:12px;border-width:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;border-radius:none!important;border:1px solid #eaeaea;background-color:transparent}.mf-input-select .mf_select__control:hover{border:1px solid #eaeaea}.mf-input-select .mf_select__indicator-separator{display:none}.mf-input-select .mf_select__value-container,.mf-input-select .mf_select__value-container input{padding:0}.mf-input-select .mf_select__placeholder{margin-left:0;margin-right:0;color:inherit}.mf-input-select .mf_select__indicators{margin-right:2px}.mf-input-multiselect .mf_multiselect__indicators{margin-right:15px}.mf-input-multiselect .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__indicator{padding:0;border-style:solid;border-width:5px 4px 0;border-color:currentColor transparent transparent}.mf-input-multiselect .mf_multiselect__control--menu-is-open .mf_multiselect__dropdown-indicator,.mf-input-select .mf_select__control--menu-is-open .mf_select__indicator{border-width:0 4px 5px;border-color:transparent transparent currentColor}.mf-input-multiselect .mf_multiselect__dropdown-indicator>svg,.mf-input-select .mf_select__indicator>svg{display:none}.mf-input-select .mf_select__menu{width:100%;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background-color:#fff}.mf-input-select .mf_select__menu>div{overflow-x:hidden}.mf-input-select .mf_select__menu-list{padding:0}.mf-input-select .mf_select__option{cursor:pointer;border:1px solid #eaeaea}.mf-input-select .mf_select__option.mf_select__option--is-focused,.mf-input-select .mf_select__option.mf_select__option--is-selected,.mf-input-select .mf_select__option:hover{background-color:#f0f0f0}.mf-input-select .mf_select__control.mf_select__control--is-focused{border-color:#4285f478;background-color:inherit}.mf-input.mf-input-select{border:none!important;background-color:#fafafa}.mf-input-select .mf_select__single-value{position:relative;top:0;width:100%;max-width:calc(100% - 22px);margin-left:0;margin-right:0;-webkit-transform:none;transform:none}.mf-input-wrapper select.mf-input-dropdown{border:none;padding:15px 25px;font-size:15px;font-weight:500!important;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none;border-width:1px;border-style:solid;border-color:#eaeaea}.mf-input-wrapper select.mf-input-dropdown option{background-color:#fff;color:#222;font-size:15px}.mf-input-switch-control.mf-input-switch.mf-input{-webkit-box-shadow:none!important;box-shadow:none!important;vertical-align:-webkit-baseline-middle;border:none;padding:0}.mf-input-wrapper .range-slider{display:inline-block;width:100%}.mf-input-wrapper .asRange{width:100%;background-color:#f1f4f9}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip::before,.mf-input-wrapper .asRange .asRange-pointer::before,.mf-input-wrapper .asRange .asRange-selected{background-color:#1fb787}.mf-input-wrapper .asRange .asRange-pointer .asRange-tip{background-color:#1fb787;border:1px solid #1fb787;top:inherit;bottom:18px;left:-50%;margin-left:8px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.metform-btn{background-color:#4285f4;border:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;max-width:100%;padding:16px 40px;font-size:16px;border-radius:2px;cursor:pointer;-webkit-box-shadow:0 5px 5px 0 rgba(66,133,244,.3);box-shadow:0 5px 5px 0 rgba(66,133,244,.3);line-height:18px;-webkit-transition:all .4s;transition:all .4s;font-weight:500;text-decoration:none}.metform-btn:focus,.metform-btn:hover{background-color:#4285f4;text-decoration:none;outline:0}button.metform-btn,button.metform-btn:not(.toggle){background-color:#4285f4}button.metform-btn:focus,button.metform-btn:hover{background-color:#4285f4}@media (max-width:767px){.mf-btn--mobile-justify .metform-btn{width:100%}}@media (min-width:768px) and (max-width:1024px){.mf-btn--tablet-justify .metform-btn{width:100%}}@media (min-width:1025px){.mf-btn--justify .metform-btn{width:100%}}.metform-submit-btn{position:relative;z-index:0}.metform-submit-btn::after,.metform-submit-btn::before{content:" ";position:absolute;top:50%;left:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-style:solid;border-color:currentColor;border-width:0;border-radius:50%;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.metform-submit-btn[disabled]::after,.metform-submit-btn[disabled]::before{opacity:1;-webkit-transition-delay:.15s;transition-delay:.15s}.metform-submit-btn::before{border-width:2px}.metform-submit-btn[disabled]::before{opacity:.25}.metform-submit-btn::after{border-top-width:2px;-webkit-animation:submitspin .55s linear infinite;animation:submitSpin .55s linear infinite}.metform-submit-btn>span{-webkit-transition:opacity .15s ease .15s;transition:opacity .15s ease .15s}.metform-submit-btn[disabled]>span{opacity:0;-webkit-transition-delay:0;transition-delay:0}@-webkit-keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes submitSpin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mf-input-wrapper .iti{display:block}.mf-input-wrapper>.iti{display:inline-block;width:100%}.mf-input-wrapper .iti .mf-input{width:100%!important}.mf-input-wrapper .iti--separate-dial-code .iti__selected-flag{background-color:#f7f6f6}.mf-input-wrapper .iti .iti__flag-container{display:none}.mf-input-wrapper .iti>.iti__flag-container{display:block}.flatpickr-calendar{margin-top:8px}.flatpickr-month{margin-top:3px;margin-bottom:5px}.mf-input-wrapper>.flatpickr-wrapper{display:block}.flatpickr-wrapper select{display:inline-block}.elementor-widget-mf-date.elementor-element-edit-mode .flatpickr-calendar,.elementor-widget-mf-time.elementor-element-edit-mode .flatpickr-calendar{top:100%!important;left:0!important}.mf-ratings{display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;cursor:pointer}.mf-ratings>input{display:none!important}.mf-ratings>label{cursor:pointer}.mf-ratings>label:not(:last-child){padding-right:5px}.mf-ratings.is-selected>label,.mf-ratings:not(.is-selected):hover>label{color:#ffdb72}.mf-ratings.is-selected:not(:hover)>input:checked+label~label,.mf-ratings.is-selected>label:hover~label,.mf-ratings:not(.is-selected),.mf-ratings:not(.is-selected)>label:hover~label{color:#ccc}.mf-input-file-upload{width:.1px;height:.1px;opacity:0;visibility:hidden;position:absolute}.mf-input-file-upload-label{color:#fff;margin-right:10px;padding:5px 15px;display:-ms-inline-flexbox;display:-webkit-inline-box;display:inline-flex;-ms-flex-align:center;-webkit-box-align:center;align-items:center;-webkit-box-shadow:none;box-shadow:none;font-size:16px;font-weight:400;line-height:28px}.mf-input-file-upload-label i{font-size:18px}.mf-input-file-upload-label svg{max-width:18px;height:auto;vertical-align:middle}.mf-file-name span{display:inline-block;font-size:15px}.mf-input-wrapper .error{display:block;font-size:14px}.mf-input-multiselect,.mf-input-select{padding:0;cursor:pointer}.mf-input.mf-input-multiselect{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;border:none!important}.mf-input-multiselect .mf_multiselect__control{border:1px solid #eaeaea;border-radius:0;background-color:#fafafa;cursor:pointer}.mf-input-multiselect .mf_multiselect__control:focus,.mf-input-multiselect .mf_multiselect__control:hover{border:1px solid #eaeaea;outline:0;-webkit-box-shadow:none;box-shadow:none}.mf_multiselect__indicator-separator{display:none}.mf_multiselect__option.mf_multiselect__option--is-focused,.mf_multiselect__option:hover{background-color:#f0f0f0}.mf_multiselect__option.mf_multiselect__option--is-focused{background-color:#fff}.mf_multiselect__option{border:1px solid #eaeaea;background-color:#fff;padding:10px 15px;font-size:15px}.mf-input-multiselect .mf_multiselect__menu{margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.mf-input-multiselect .mf_multiselect__menu-list{padding:0}.mf-input-multiselect .mf_multiselect__placeholder{color:#c9c1c1}.mf_multiselect__menu-notice--no-options{border:1px solid #eaeaea;color:#c9c1c1}.mf_multiselect__control .mf_multiselect__value-container{padding:8px 12px}.mf_multiselect__control .mf_multiselect__value-container>div:last-child{height:25px}.mf-input-multiselect .mf_multiselect__multi-value{margin:0 5px 0 0}.mf_multiselect__multi-value__remove{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.mf_multiselect__multi-value__label{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.mf-input-multiselect .mf_multiselect__input>input{min-height:0}.mf-input.mf-input-summary{padding:0;background-color:#fff;border-width:0}.mf-entry-data{margin:0;padding:0;list-style:none;word-break:break-word}.mf-entry-data>li{border:1px solid rgba(0,0,0,.1)}.mf-entry-data>li:not(:last-child){border-bottom-width:0}.mf-entry-data>li>strong{display:block;padding:8px;background-color:#eaf2fa;border-bottom:1px solid rgba(0,0,0,.1)}.mf-entry-data>li>span{display:block;padding:8px 28px;min-height:42px}.elementor-widget-mf-range .mf-field-error .error{display:none!important}.g-recaptcha>div{position:relative;z-index:0}.g-recaptcha>div::after,.g-recaptcha>div::before,.g-recaptcha>div>div::after,.g-recaptcha>div>div::before{content:" ";position:absolute;border-style:solid;border-color:#d3d3d3;border-width:0;z-index:0}.g-recaptcha>div::before{top:0;left:0;bottom:2px;border-left-width:1px}.g-recaptcha>div::after{top:0;right:2px;bottom:2px;border-right-width:1px}.g-recaptcha>div>div::before{top:0;left:0;right:2px;border-top-width:1px}.g-recaptcha>div>div::after{left:0;right:2px;bottom:2px;border-bottom-width:1px}.g-recaptcha+.attr-alert{display:none}.g-recaptcha:empty+.attr-alert{display:block!important}.mf-captcha-input-wrapper.mf-captcha-block>i{padding-left:25px}img.mf-input.mf-captcha-image{max-width:200px;border:none;-webkit-box-sizing:unset;box-sizing:unset;background:0 0;padding:0;display:inline-block}.mf-captcha-block>img.mf-input.mf-captcha-image{margin:5px 0 5px 0}.mf-captcha-inline>img.mf-input.mf-captcha-image{margin:0 5px 0 0}.mf-captcha-input-wrapper.mf-captcha-inline{display:-ms-inline-flexbox!important;display:-webkit-inline-box!important;display:inline-flex!important;-ms-flex-align:center;-webkit-box-align:center;align-items:center;width:100%}.mf-captcha-input-wrapper.mf-captcha-inline>i{margin-left:25px!important;-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}.mf-refresh-captcha::before{content:"\f01e";font-family:"Font Awesome 5 Free";font-weight:700;font-style:normal;cursor:pointer}.mf-error-message{display:block}.mf-input-wrapper .input-range__slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:4px solid #000;border-radius:100%;cursor:pointer;display:block;height:15px;margin-left:-7.5px;margin-top:-11px;outline:0;position:absolute;top:50%;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out,-webkit-box-shadow .3s ease-out;-webkit-transition:-webkit-transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;transition:transform .3s ease-out,box-shadow .3s ease-out,-webkit-transform .3s ease-out;width:15px}.mf-input-wrapper .input-range__slider:focus{-webkit-box-shadow:0 0 0 5px rgba(63,81,181,.2);box-shadow:0 0 0 5px rgba(63,81,181,.2)}.input-range--disabled .input-range__slider{background:#ccc;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none;-webkit-transform:none;transform:none}.mf-input-wrapper .input-range__slider-container{-webkit-transition:left .3s ease-out;transition:left .3s ease-out}.mf-input-wrapper .input-range__label{color:#aaa;font-family:"Helvetica Neue",san-serif;font-size:.8rem;-webkit-transform:translateZ(0);transform:translateZ(0);white-space:nowrap}.mf-input-wrapper .input-range__label--max,.mf-input-wrapper .input-range__label--min{bottom:-1.4rem;position:absolute;display:none}.mf-input-wrapper .input-range__label--min{left:0}.mf-input-wrapper .input-range__label--max{right:0}.mf-input-wrapper .input-range__label--value{position:absolute;bottom:20px}.mf-input-wrapper .input-range__label-container{left:-50%;position:relative;background-color:#000;width:36px;height:20px;display:inline-block;color:#fff;font-size:12px;text-align:center;border-radius:3px}.mf-input-wrapper .input-range__label-container::before{position:absolute;bottom:-3px;left:50%;display:inline-block;width:6px;height:6px;margin-left:-3px;content:"";background-color:#000;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.mf-input-wrapper .input-range__label--max .input-range__label-container{left:50%}.mf-input-wrapper .input-range__track{background:#f1f4f9;border-radius:.3rem;cursor:pointer;display:block;height:8px;position:relative;-webkit-transition:left .3s ease-out,width .3s ease-out;transition:left .3s ease-out,width .3s ease-out}.mf-input-wrapper .input-range--disabled .input-range__track{background:#f1f4f9}.mf-input-wrapper .input-range__track--background{left:0;margin-top:-.15rem;position:absolute;right:0;top:50%}.mf-input-wrapper .input-range__track--active{background:#000}.mf-input-wrapper .input-range{height:1rem;position:relative;width:100%}.mf-condition--hidden,[mf-condition-hidden=true]{display:none;visibility:hidden}.mf-main-response-wrap[data-show="1"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseOpen;animation-name:metform-responseOpen}.mf-main-response-wrap[data-show="0"] .mf-response-msg{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-responseClose;animation-name:metform-responseClose}.mf-main-response-wrap .mf-response-msg{border-radius:10px;border:1px solid #c3c2c2}.mf-main-response-wrap:not(.mf_pro_activated) .mf-response-msg{background-color:#fff}.mf-close-this-form{-webkit-animation-duration:.6s;animation-duration:.6s;-webkit-animation-name:metform-zoom-out-zero;animation-name:metform-zoom-out-zero}.mf-close-this-form>h2{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:metform-zoom-in-full;animation-name:metform-zoom-in-full}
public/assets/js/app.js CHANGED
@@ -9,7 +9,7 @@
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
11
  http://jedwatson.github.io/classnames
12
- */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o["default"]=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,p=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(g(e))return p?p.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}function v(e){return e?(e=function(e){if("number"==typeof e)return e;if(g(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}e.exports=function(e,t,n){var r,o,a;return e=null==(r=e)?"":h(r),o=function(e){var t=v(e),n=t%1;return t==t?n?t-n:t:0}(n),0,a=e.length,o==o&&(void 0!==a&&(o=o<=a?o:a),o=o>=0?o:0),n=o,t=h(t),e.slice(n,n+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,a="object"==typeof self&&self&&self.Object===Object&&self,i=o||a||Function("return this")(),s=Array.prototype,u=Function.prototype,c=Object.prototype,l=i["__core-js_shared__"],f=(n=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=u.toString,p=c.hasOwnProperty,h=c.toString,m=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=s.splice,v=k(i,"Map"),b=k(Object,"create");function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function x(e){return!(!E(e)||(t=e,f&&f in t))&&(function(e){var t=E(e)?h.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?m:r).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function D(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function k(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return x(n)?n:void 0}function S(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(S.Cache||C),n}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}y.prototype.clear=function(){this.__data__=b?b(null):{}},y.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},y.prototype.get=function(e){var t=this.__data__;if(b){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(t,e)?t[e]:void 0},y.prototype.has=function(e){var t=this.__data__;return b?void 0!==t[e]:p.call(t,e)},y.prototype.set=function(e,t){return this.__data__[e]=b&&void 0===t?"__lodash_hash_undefined__":t,this},w.prototype.clear=function(){this.__data__=[]},w.prototype["delete"]=function(e){var t=this.__data__,n=O(t,e);return!(n<0||(n==t.length-1?t.pop():g.call(t,n,1),0))},w.prototype.get=function(e){var t=this.__data__,n=O(t,e);return n<0?void 0:t[n][1]},w.prototype.has=function(e){return O(this.__data__,e)>-1},w.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new y,map:new(v||w),string:new y}},C.prototype["delete"]=function(e){return D(this,e)["delete"](e)},C.prototype.get=function(e){return D(this,e).get(e)},C.prototype.has=function(e){return D(this,e).has(e)},C.prototype.set=function(e,t){return D(this,e).set(e,t),this},S.Cache=C,e.exports=S}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=Math.max,d=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,a,i,s,u,c=0,l=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function y(e){return c=e,s=setTimeout(C,t),l?b(e):i}function w(e){var n=e-u;return void 0===u||n>=t||n<0||g&&e-c>=a}function C(){var e=p();if(w(e))return O(e);s=setTimeout(C,function(e){var n=t-(e-u);return g?d(n,a-(e-c)):n}(e))}function O(e){return s=void 0,v&&r?b(e):(r=o=void 0,i)}function x(){var e=p(),n=w(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return y(u);if(g)return s=setTimeout(C,t),b(u)}return void 0===s&&(s=setTimeout(C,t)),i}return t=m(t)||0,h(n)&&(l=!!n.leading,a=(g="maxWait"in n)?f(m(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=o=s=void 0},x.flush=function(){return void 0===s?i:O(p())},x}}).call(this,n(3))},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",a="[object Object]",i="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,c=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h[r]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h["[object Function]"]=h[o]=h["[object Number]"]=h[a]=h["[object RegExp]"]=h[i]=h["[object String]"]=h["[object WeakMap]"]=!1;var m="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),b=t&&!t.nodeType&&t,y=b&&"object"==typeof n&&n&&!n.nodeType&&n,w=y&&y.exports===b&&m.process,C=function(){try{return w&&w.binding("util")}catch(e){}}(),O=C&&C.isTypedArray;function x(e,t,n,r){var o=-1,a=e?e.length:0;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function D(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function k(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function E(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var _,P,j,T=Array.prototype,A=Function.prototype,I=Object.prototype,R=v["__core-js_shared__"],N=(_=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",L=A.toString,V=I.hasOwnProperty,F=I.toString,H=RegExp("^"+L.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=v.Symbol,W=v.Uint8Array,z=I.propertyIsEnumerable,B=T.splice,Y=(P=Object.keys,j=Object,function(e){return P(j(e))}),q=Oe(v,"DataView"),K=Oe(v,"Map"),$=Oe(v,"Promise"),G=Oe(v,"Set"),J=Oe(v,"WeakMap"),Q=Oe(Object,"create"),X=Pe(q),Z=Pe(K),ee=Pe($),te=Pe(G),ne=Pe(J),re=U?U.prototype:void 0,oe=re?re.valueOf:void 0,ae=re?re.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.__data__=new ue;++t<n;)this.add(e[t])}function le(e){this.__data__=new se(e)}function fe(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=Q?Q(null):{}},ie.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:V.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},se.prototype.clear=function(){this.__data__=[]},se.prototype["delete"]=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():B.call(t,n,1),0))},se.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},se.prototype.has=function(e){return fe(this.__data__,e)>-1},se.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ue.prototype.clear=function(){this.__data__={hash:new ie,map:new(K||se),string:new ie}},ue.prototype["delete"]=function(e){return Ce(this,e)["delete"](e)},ue.prototype.get=function(e){return Ce(this,e).get(e)},ue.prototype.has=function(e){return Ce(this,e).has(e)},ue.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)},le.prototype.clear=function(){this.__data__=new se},le.prototype["delete"]=function(e){return this.__data__["delete"](e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof se){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this;n=this.__data__=new ue(r)}return n.set(e,t),this};var de,pe=(de=function(e,t){return e&&he(e,t,We)},function(e,t){if(null==e)return e;if(!Re(e))return de(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),he=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var s=a[++r];if(!1===t(o[s],s,o))break}return e};function me(e,t){for(var n=0,r=(t=ke(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[_e(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function ve(e,t,n,s,u){return e===t||(null==e||null==t||!Ve(e)&&!Fe(t)?e!=e&&t!=t:function(e,t,n,s,u,c){var l=Ie(e),f=Ie(t),d="[object Array]",p="[object Array]";l||(d=(d=xe(e))==r?a:d),f||(p=(p=xe(t))==r?a:p);var h=d==a&&!S(e),m=p==a&&!S(t),g=d==p;if(g&&!h)return c||(c=new le),l||Ue(e)?we(e,t,n,s,u,c):function(e,t,n,r,a,s,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Te(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=E;case i:var l=2&s;if(c||(c=M),e.size!=t.size&&!l)return!1;var f=u.get(e);if(f)return f==t;s|=1,u.set(e,t);var d=we(c(e),c(t),r,a,s,u);return u["delete"](e),d;case"[object Symbol]":if(oe)return oe.call(e)==oe.call(t)}return!1}(e,t,d,n,s,u,c);if(!(2&u)){var v=h&&V.call(e,"__wrapped__"),b=m&&V.call(t,"__wrapped__");if(v||b){var y=v?e.value():e,w=b?t.value():t;return c||(c=new le),n(y,w,s,u,c)}}return!!g&&(c||(c=new le),function(e,t,n,r,o,a){var i=2&o,s=We(e),u=s.length;if(u!=We(t).length&&!i)return!1;for(var c=u;c--;){var l=s[c];if(!(i?l in t:V.call(t,l)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var d=!0;a.set(e,t),a.set(t,e);for(var p=i;++c<u;){var h=e[l=s[c]],m=t[l];if(r)var g=i?r(m,h,l,t,e,a):r(h,m,l,e,t,a);if(!(void 0===g?h===m||n(h,m,r,o,a):g)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(d=!1)}return a["delete"](e),a["delete"](t),d}(e,t,n,s,u,c))}(e,t,ve,n,s,u))}function be(e){return"function"==typeof e?e:null==e?ze:"object"==typeof e?Ie(e)?function(e,t){return ke(e)&&Se(t)?Ee(_e(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,o=-1,a=(t=ke(t,e)?[t]:ye(t)).length;++o<a;){var i=_e(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}return r||!!(a=e?e.length:0)&&Le(a)&&De(i,a)&&(Ie(e)||Ae(e))}(e,t,ge)}(n,e):ve(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=We(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Se(o)]}return t}(e);return 1==t.length&&t[0][2]?Ee(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,a=o;if(null==e)return!a;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){var s=(i=n[o])[0],u=e[s],c=i[1];if(i[2]){if(void 0===u&&!(s in e))return!1}else{var l,f=new le;if(!(void 0===l?ve(c,u,r,3,f):l))return!1}}return!0}(n,0,t)}}(e):ke(t=e)?(n=_e(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return me(t,e)}}(t);var t,n}function ye(e){return Ie(e)?e:Me(e)}function we(e,t,n,r,o,a){var i=2&o,s=e.length,u=t.length;if(s!=u&&!(i&&u>s))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var l=-1,f=!0,d=1&o?new ce:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var p=e[l],h=t[l];if(r)var m=i?r(h,p,l,t,e,a):r(p,h,l,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!D(t,(function(e,t){if(!d.has(t)&&(p===e||n(p,e,r,o,a)))return d.add(t)}))){f=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function Ce(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Oe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ve(e)||function(e){return!!N&&N in e}(e))&&(Ne(e)||S(e)?H:d).test(Pe(e))}(n)?n:void 0}var xe=function(e){return F.call(e)};function De(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t){if(Ie(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!He(e))||u.test(e)||!s.test(e)||null!=t&&e in Object(t)}function Se(e){return e==e&&!Ve(e)}function Ee(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(q&&"[object DataView]"!=xe(new q(new ArrayBuffer(1)))||K&&xe(new K)!=o||$&&"[object Promise]"!=xe($.resolve())||G&&xe(new G)!=i||J&&"[object WeakMap]"!=xe(new J))&&(xe=function(e){var t=F.call(e),n=t==a?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case X:return"[object DataView]";case Z:return o;case ee:return"[object Promise]";case te:return i;case ne:return"[object WeakMap]"}return t});var Me=je((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(He(e))return ae?ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(l,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function _e(e){if("string"==typeof e||He(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function je(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(je.Cache||ue),n}function Te(e,t){return e===t||e!=e&&t!=t}function Ae(e){return function(e){return Fe(e)&&Re(e)}(e)&&V.call(e,"callee")&&(!z.call(e,"callee")||F.call(e)==r)}je.Cache=ue;var Ie=Array.isArray;function Re(e){return null!=e&&Le(e.length)&&!Ne(e)}function Ne(e){var t=Ve(e)?F.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ve(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fe(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Fe(e)&&"[object Symbol]"==F.call(e)}var Ue=O?function(e){return function(t){return e(t)}}(O):function(e){return Fe(e)&&Le(e.length)&&!!h[F.call(e)]};function We(e){return Re(e)?function(e,t){var n=Ie(e)||Ae(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!V.call(e,a)||o&&("length"==a||De(a,r))||n.push(a);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||I))return Y(e);var t,n,r=[];for(var o in Object(e))V.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function ze(e){return e}n.exports=function(e,t,n){var r=Ie(e)?x:k,o=arguments.length<3;return r(e,be(t),n,o,pe)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},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}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){if(Array.isArray(e))return e}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"===l(Symbol.iterator)?function(e){return l(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":l(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var m=n(0),g=n.n(m),v=n(5),b=n.n(v),y=n(4),w=n.n(y),C=n(6),O=n.n(C),x=n(2),D=n.n(x),k=n(1),S=n.n(k);function E(e,t){return i(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s["return"]||s["return"]()}finally{if(o)throw a}}return n}(e,t)||s()}n(8);var M=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420"],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996"],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371"],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998"],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],_=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function P(e,t,n,r,o){return!n||o?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+n}function j(e,t,n,o,i){var s,u,c=[];return u=!0===t,[(s=[]).concat.apply(s,a(e.map((function(e){var a={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:P(n,e[3],e[4],o,i),priority:e[5]||0},s=[];return e[6]&&e[6].map((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},a);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,s.push(n)})),s.length>0?(a.mainCode=!0,u||"Array"===t.constructor.name&&t.includes(e[2])?(a.hasAreaCodes=!0,[a].concat(s)):(c=c.concat(s),[a])):[a]})))),c]}function T(e,t,n,r){if(null!==n){var o=Object.keys(n),a=Object.values(n);o.forEach((function(n,o){if(r)return e.push([n,a[o]]);var i=e.findIndex((function(e){return e[0]===n}));if(-1===i){var s=[n];s[t]=a[o],e.push(s)}else e[i][t]=a[o]}))}}function A(e,t){return 0===t.length?e:e.map((function(e){var n=t.findIndex((function(t){return t[0]===e[2]}));if(-1===n)return e;var r=t[n];return r[1]&&(e[4]=r[1]),r[3]&&(e[5]=r[3]),r[2]&&(e[6]=r[2]),e}))}var I=function N(e,t,n,r,o,i,s,c,l,f,d,p,h,m){u(this,N),this.filterRegions=function(e,t){if("string"==typeof e){var n=e;return t.filter((function(e){return e.regions.some((function(e){return e===n}))}))}return t.filter((function(t){return e.map((function(e){return t.regions.some((function(t){return t===e}))})).some((function(e){return e}))}))},this.sortTerritories=function(e,t){var n=[].concat(a(e),a(t));return n.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map((function(e){var n=t.find((function(t){return t.iso2===e}));if(n)return n})).filter((function(e){return e})):t.filter((function(t){return e.some((function(e){return e===t.iso2}))}))},this.localizeCountries=function(e,t,n){for(var r=0;r<e.length;r++)void 0!==t[e[r].iso2]?e[r].localName=t[e[r].iso2]:void 0!==t[e[r].name]&&(e[r].localName=t[e[r].name]);return n||e.sort((function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0})),e},this.getCustomAreas=function(e,t){for(var n=[],r=0;r<t.length;r++){var o=JSON.parse(JSON.stringify(e));o.dialCode+=t[r],n.push(o)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter((function(e){return!t.includes(e.iso2)}))};var g=function(e,t,n){var r=[];return T(r,1,e,!0),T(r,3,t),T(r,2,n),r}(c,l,f),v=A(JSON.parse(JSON.stringify(M)),g),b=A(JSON.parse(JSON.stringify(_)),g),y=E(j(v,e,p,h,m),2),w=y[0],C=y[1];if(t){var O=E(j(b,e,p,h,m),2),x=O[0];O[1],w=this.sortTerritories(x,w)}n&&(w=this.filterRegions(n,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(r,w,s.includes("onlyCountries")),i),d,s.includes("onlyCountries")),this.preferredCountries=0===o.length?[]:this.localizeCountries(this.getFilteredCountryList(o,w,s.includes("preferredCountries")),d,s.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(r,C),i)},R=function(e){function t(e){var n;u(this,t),(n=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(e):t}(this,p(t).call(this,e))).getProbableCandidate=w()((function(e){return e&&0!==e.length?n.state.onlyCountries.filter((function(t){return D()(t.name.toLowerCase(),e.toLowerCase())}),d(d(n)))[0]:null})),n.guessSelectedCountry=w()((function(e,t,r,o){var a;if(!1===n.props.enableAreaCodes&&(o.some((function(t){if(D()(e,t.dialCode))return r.some((function(e){if(t.iso2===e.iso2&&e.mainCode)return a=e,!0})),!0})),a))return a;var i=r.find((function(e){return e.iso2==t}));if(""===e.trim())return i;var s=r.reduce((function(t,n){if(D()(e,n.dialCode)){if(n.dialCode.length>t.dialCode.length)return n;if(n.dialCode.length===t.dialCode.length&&n.priority<t.priority)return n}return t}),{dialCode:"",priority:10001},d(d(n)));return s.name?s:i})),n.updateCountry=function(e){var t,r=n.state.onlyCountries;(t=e.indexOf(0)>="0"&&e.indexOf(0)<="9"?r.find((function(t){return t.dialCode==+e})):r.find((function(t){return t.iso2==e})))&&t.dialCode&&n.setState({selectedCountry:t,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(t.dialCode,t)})},n.scrollTo=function(e,t){if(e){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,a=r.getBoundingClientRect().top+document.body.scrollTop,i=a+o,s=e,u=s.getBoundingClientRect(),c=s.offsetHeight,l=u.top+document.body.scrollTop,f=l+c,d=l-a+r.scrollTop,p=o/2-c/2;if(n.props.enableSearch?l<a+32:l<a)t&&(d-=p),r.scrollTop=d;else if(f>i){t&&(d+=p);var h=o-c;r.scrollTop=d-h}}}},n.scrollToTop=function(){var e=n.dropdownRef;e&&document.body&&(e.scrollTop=0)},n.formatNumber=function(e,t){if(!t)return e;var r,a=t.format,u=n.props,c=u.disableCountryCode,l=u.enableAreaCodeStretch,f=u.enableLongNumbers,d=u.autoFormat;if(c?((r=a.split(" ")).shift(),r=r.join(" ")):l&&t.isAreaCode?((r=a.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),r=r.join(" ")):r=a,!e||0===e.length)return c?"":n.props.prefix;if(e&&e.length<2||!r||!d)return c?e:n.props.prefix+e;var p,h=O()(r,(function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,r=i(n=e.remainingText)||o(n)||s(),a=r[0],u=r.slice(1);return{formattedText:e.formattedText+a,remainingText:u}}),{formattedText:"",remainingText:e.split("")});return(p=f?h.formattedText+h.remainingText.join(""):h.formattedText).includes("(")&&!p.includes(")")&&(p+=")"),p},n.cursorToEnd=function(){var e=n.numberInputRef;e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)},n.getElement=function(e){return n["flag_no_".concat(e)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(e){if(e.preventDefault(),n.state.showDropdown||!n.props.disabled){var t=n.state,r=t.preferredCountries,o=t.selectedCountry,a=r.concat(n.state.onlyCountries).findIndex((function(e){return e.dialCode===o.dialCode&&e.iso2===o.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:a},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(e){var t=e.target.value,r=n.props,o=r.prefix,a=r.onChange,i=n.props.disableCountryCode?"":o,s=n.state.selectedCountry,u=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(s.hasAreaCodes?n.state.onlyCountries.find((function(e){return e.iso2===s.iso2&&e.mainCode})).dialCode:s.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return a&&a("",n.getCountryData(),e,""),n.setState({formattedNumber:""});if(t.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&t.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(t!==n.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var l=n.props.country,f=n.state,d=f.onlyCountries,p=f.selectedCountry,h=f.hiddenAreaCodes;if(a&&e.persist(),t.length>0){var m=t.replace(/\D/g,"");(!n.state.freezeSelection||p.dialCode.length>m.length)&&(s=n.props.disableCountryGuess?p:n.guessSelectedCountry(m.substring(0,6),l,d,h)||p,u=!1),i=n.formatNumber(m,s),s=s.dialCode?s:p}var g=e.target.selectionStart,v=n.state.formattedNumber,b=i.length-v.length;n.setState({formattedNumber:i,freezeSelection:u,selectedCountry:s},(function(){b>0&&(g-=b),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):g>0&&v.length>=i.length&&n.numberInputRef.setSelectionRange(g,g),a&&a(i.replace(/[^0-9]+/g,""),n.getCountryData(),e,i)}))}},n.handleInputClick=function(e){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(e,n.getCountryData())},n.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},n.handleFlagItemClick=function(e,t){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(t){return t==e}));if(o){var a=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),i=a.length>1?a.replace(r.dialCode,o.dialCode):o.dialCode,s=n.formatNumber(i.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(s.replace(/[^0-9]+/g,""),n.getCountryData(),t,s)}))}},n.handleInputFocus=function(e){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(e,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(e){e.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(e,n.getCountryData())},n.handleInputCopy=function(e){if(n.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},n.getHighlightCountryIndex=function(e){var t=n.state.highlightCountryIndex+e;return t<0||t>=n.state.onlyCountries.length+n.state.preferredCountries.length?t-e:n.props.enableSearch&&t>n.getSearchFilteredCountries().length?0:t},n.searchCountry=function(){var e=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],t=n.state.onlyCountries.findIndex((function(t){return t==e}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(t),!0),n.setState({queryString:"",highlightCountryIndex:t})},n.handleKeydown=function(e){var t=n.props.keys,r=e.target.className;if(r.includes("selected-flag")&&e.which===t.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(e);if(r.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(e)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],e):n.handleFlagItemClick([].concat(a(n.state.preferredCountries),a(n.state.onlyCountries))[n.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(e.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(e){var t=n.props,r=t.keys,o=t.onEnterKeyPress,a=t.onKeyDown;e.which===r.ENTER&&o&&o(e),a&&a(e)},n.handleClickOutside=function(e){n.dropdownRef&&!n.dropdownContainerRef.contains(e.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(e){var t=e.currentTarget.value,r=n.state,o=r.preferredCountries,a=r.selectedCountry,i=0;if(""===t&&a){var s=n.state.onlyCountries;i=o.concat(s).findIndex((function(e){return e==a})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.getDropdownCountryName=function(e){return e.localName||e.name},n.getSearchFilteredCountries=function(){var e=n.state,t=e.preferredCountries,r=e.onlyCountries,o=e.searchValue,i=n.props.enableSearch,s=t.concat(r),u=o.trim().toLowerCase();if(i&&u){if(/^\d+$/.test(u))return s.filter((function(e){var t=e.dialCode;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))}));var c=s.filter((function(e){var t=e.iso2;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))})),l=s.filter((function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some((function(e){return e.toLowerCase().includes(u)}))}));return n.scrollToTop(),a(new Set([].concat(c,l)))}return s},n.getCountryDropdownList=function(){var e,t=n.state,o=t.preferredCountries,a=t.highlightCountryIndex,i=t.showDropdown,s=t.searchValue,u=n.props,c=u.disableDropdown,l=u.prefix,f=n.props,d=f.enableSearch,p=f.searchNotFound,h=f.disableSearchIcon,m=f.searchClass,v=f.searchStyle,b=f.searchPlaceholder,y=f.autocompleteSearch,w=n.getSearchFilteredCountries().map((function(e,t){var r=a===t,o=S()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:r}),i="flag ".concat(e.iso2);return g.a.createElement("li",Object.assign({ref:function(e){return n["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:o,"data-dial-code":"1",tabIndex:c?"-1":"0","data-country-code":e.iso2,onClick:function(t){return n.handleFlagItemClick(e,t)},role:"option"},r?{"aria-selected":!0}:{}),g.a.createElement("div",{className:i}),g.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(e)),g.a.createElement("span",{className:"dial-code"},e.format?n.formatNumber(e.dialCode,e):l+e.dialCode))})),C=g.a.createElement("li",{key:"dashes",className:"divider"});o.length>0&&(!d||d&&!s.trim())&&w.splice(o.length,0,C);var O=S()((r(e={},n.props.dropdownClass,!0),r(e,"country-list",!0),r(e,"hide",!i),e));return g.a.createElement("ul",{ref:function(e){return!d&&e&&e.focus(),n.dropdownRef=e},className:O,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},d&&g.a.createElement("li",{className:S()(r({search:!0},m,m))},!h&&g.a.createElement("span",{className:S()(r({"search-emoji":!0},"".concat(m,"-emoji"),m)),role:"img","aria-label":"Magnifying glass"},"🔎"),g.a.createElement("input",{className:S()(r({"search-box":!0},"".concat(m,"-box"),m)),style:v,type:"search",placeholder:b,autoFocus:!0,autoComplete:y?"on":"off",value:s,onChange:n.handleSearchChange})),w.length>0?w:g.a.createElement("li",{className:"no-entries-message"},g.a.createElement("span",null,p)))};var c,l=new I(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),h=l.onlyCountries,m=l.preferredCountries,v=l.hiddenAreaCodes,y=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:y.length>1?n.guessSelectedCountry(y.substring(0,6),e.country,h,v)||0:e.country&&h.find((function(t){return t.iso2==e.country}))||0;var C,x=y.length<2&&c&&!D()(y,c.dialCode)?c.dialCode:"";C=""===y&&0===c?"":n.formatNumber((e.disableCountryCode?"":x)+y,c.name?c:void 0);var k=h.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:C,onlyCountries:h,preferredCountries:m,hiddenAreaCodes:v,selectedCountry:c,highlightCountryIndex:k,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(n.searchCountry,250),searchValue:""},n}var n,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(l=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,r=t.selectedCountry,o=t.hiddenAreaCodes,a=this.props,i=a.country,s=a.prefix;if(""===e)return this.setState({selectedCountry:r,formattedNumber:""});var u,c,l=e.replace(/\D/g,"");if(r&&D()(e,s+r.dialCode))c=this.formatNumber(l,r),this.setState({formattedNumber:c});else{var f=(u=this.props.disableCountryGuess?r:this.guessSelectedCountry(l.substring(0,6),i,n,o)||r)&&D()(l,s+u.dialCode)?u.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":f)+l,u||void 0),this.setState({selectedCountry:u,formattedNumber:c})}}},{key:"render",value:function(){var e,t,n,o,a,i=this,s=this.state,u=s.onlyCountries,c=s.selectedCountry,l=s.showDropdown,f=s.formattedNumber,d=s.hiddenAreaCodes,p=this.props,h=p.disableDropdown,m=p.renderStringAsFlag,v=p.isValid,b=p.defaultErrorMessage,y=p.specialLabel;if("boolean"==typeof v)o=v;else{var w=v(f.replace(/\D/g,""),c,u,d);"boolean"==typeof w?!1===(o=w)&&(a=b):(o=!1,a=w)}var C=S()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),O=S()({arrow:!0,up:l}),x=S()((r(t={},this.props.inputClass,!0),r(t,"form-control",!0),r(t,"invalid-number",!o),r(t,"open",l),t)),D=S()({"selected-flag":!0,open:l}),k=S()((r(n={},this.props.buttonClass,!0),r(n,"flag-dropdown",!0),r(n,"invalid-number",!o),r(n,"open",l),n)),E="flag ".concat(c&&c.iso2);return g.a.createElement("div",{className:C,style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},y&&g.a.createElement("div",{className:"special-label"},y),a&&g.a.createElement("div",{className:"invalid-number-message"},a),g.a.createElement("input",Object.assign({className:x,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:f,ref:function(e){return i.numberInputRef=e},onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps)),g.a.createElement("div",{className:k,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef=e}},m?g.a.createElement("div",{className:D},m):g.a.createElement("div",{onClick:h?void 0:this.handleFlagDropdownClick,className:D,title:c?"".concat(c.name,": + ").concat(c.dialCode):"",tabIndex:h?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},g.a.createElement("div",{className:E},!h&&g.a.createElement("div",{className:O}))),l&&this.getCountryDropdownList()))}}])&&c(n.prototype,l),t}(g.a.Component);R.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t["default"]=R}])},73:function(e,t,n){var r;e.exports=(r=n(804),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(2)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,o,a){n(this,e),this.startPoint=t,this.control1=r,this.control2=o,this.endPoint=a}return r(e,[{key:"length",value:function(){var e,t,n,r,o,a,i,s,u=10,c=0;for(e=0;u>=e;e++)t=e/u,n=this._point(t,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this._point(t,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),e>0&&(i=n-o,s=r-a,c+=Math.sqrt(i*i+s*s)),o=n,a=r;return c}},{key:"_point",value:function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;s=c=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,n=i,r=!0}},u=r(n(4)),c=r(n(1)),l=r(n(3)),f=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.velocityFilterWeight=this.props.velocityFilterWeight||.7,this.minWidth=this.props.minWidth||.5,this.maxWidth=this.props.maxWidth||2.5,this.dotSize=this.props.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=this.props.penColor||"black",this.backgroundColor=this.props.backgroundColor||"rgba(0,0,0,0)",this.onEnd=this.props.onEnd,this.onBegin=this.props.onBegin}return a(t,e),i(t,[{key:"componentDidMount",value:function(){this._canvas=this.refs.cv,this._ctx=this._canvas.getContext("2d"),this.clear(),this._handleMouseEvents(),this._handleTouchEvents(),this._resizeCanvas()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"clear",value:function(e){e&&e.preventDefault();var t=this._ctx,n=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,n.width,n.height),t.fillRect(0,0,n.width,n.height),this._reset()}},{key:"toDataURL",value:function(e,t){var n=this._canvas;return n.toDataURL.apply(n,arguments)}},{key:"fromDataURL",value:function(e){var t=this,n=new Image,r=window.devicePixelRatio||1,o=this._canvas.width/r,a=this._canvas.height/r;this._reset(),n.src=e,n.onload=function(){t._ctx.drawImage(n,0,0,o,a)},this._isEmpty=!1}},{key:"isEmpty",value:function(){return this._isEmpty}},{key:"_resizeCanvas",value:function(){var e=this._ctx,t=this._canvas,n=Math.max(window.devicePixelRatio||1,1);t.width=t.offsetWidth*n,t.height=t.offsetHeight*n,e.scale(n,n),this._isEmpty=!0}},{key:"_reset",value:function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor}},{key:"_handleMouseEvents",value:function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown.bind(this)),this._canvas.addEventListener("mousemove",this._handleMouseMove.bind(this)),document.addEventListener("mouseup",this._handleMouseUp.bind(this)),window.addEventListener("resize",this._resizeCanvas.bind(this))}},{key:"_handleTouchEvents",value:function(){this._canvas.style.msTouchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._canvas.addEventListener("touchmove",this._handleTouchMove.bind(this)),document.addEventListener("touchend",this._handleTouchEnd.bind(this))}},{key:"off",value:function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),document.removeEventListener("touchend",this._handleTouchEnd),window.removeEventListener("resize",this._resizeCanvas)}},{key:"_handleMouseDown",value:function(e){1===e.which&&(this._mouseButtonDown=!0,this._strokeBegin(e))}},{key:"_handleMouseMove",value:function(e){this._mouseButtonDown&&this._strokeUpdate(e)}},{key:"_handleMouseUp",value:function(e){1===e.which&&this._mouseButtonDown&&(this._mouseButtonDown=!1,this._strokeEnd(e))}},{key:"_handleTouchStart",value:function(e){var t=e.changedTouches[0];this._strokeBegin(t)}},{key:"_handleTouchMove",value:function(e){e.preventDefault();var t=e.changedTouches[0];this._strokeUpdate(t)}},{key:"_handleTouchEnd",value:function(e){e.target===this._canvas&&this._strokeEnd(e)}},{key:"_strokeUpdate",value:function(e){var t=this._createPoint(e);this._addPoint(t)}},{key:"_strokeBegin",value:function(e){this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)}},{key:"_strokeDraw",value:function(e){var t=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()}},{key:"_strokeEnd",value:function(e){var t=this.points.length>2,n=this.points[0];!t&&n&&this._strokeDraw(n),"function"==typeof this.onEnd&&this.onEnd(e)}},{key:"_createPoint",value:function(e){var t=this._canvas.getBoundingClientRect();return new l["default"](e.clientX-t.left,e.clientY-t.top)}},{key:"_addPoint",value:function(e){var t,n,r,o=this.points;o.push(e),o.length>2&&(3===o.length&&o.unshift(o[0]),t=this._calculateCurveControlPoints(o[0],o[1],o[2]).c2,n=this._calculateCurveControlPoints(o[1],o[2],o[3]).c1,r=new c["default"](o[1],t,n,o[2]),this._addCurve(r),o.shift())}},{key:"_calculateCurveControlPoints",value:function(e,t,n){var r=e.x-t.x,o=e.y-t.y,a=t.x-n.x,i=t.y-n.y,s={x:(e.x+t.x)/2,y:(e.y+t.y)/2},u={x:(t.x+n.x)/2,y:(t.y+n.y)/2},c=Math.sqrt(r*r+o*o),f=Math.sqrt(a*a+i*i),d=s.x-u.x,p=s.y-u.y,h=f/(c+f),m={x:u.x+d*h,y:u.y+p*h},g=t.x-m.x,v=t.y-m.y;return{c1:new l["default"](s.x+g,s.y+v),c2:new l["default"](u.x+g,u.y+v)}}},{key:"_addCurve",value:function(e){var t,n,r=e.startPoint;t=e.endPoint.velocityFrom(r),t=this.velocityFilterWeight*t+(1-this.velocityFilterWeight)*this._lastVelocity,n=this._strokeWidth(t),this._drawCurve(e,this._lastWidth,n),this._lastVelocity=t,this._lastWidth=n}},{key:"_drawPoint",value:function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1}},{key:"_drawCurve",value:function(e,t,n){var r,o,a,i,s,u,c,l,f,d,p,h=this._ctx,m=n-t;for(r=Math.floor(e.length()),h.beginPath(),a=0;r>a;a++)u=(s=(i=a/r)*i)*i,d=(f=(l=(c=1-i)*c)*c)*e.startPoint.x,d+=3*l*i*e.control1.x,d+=3*c*s*e.control2.x,d+=u*e.endPoint.x,p=f*e.startPoint.y,p+=3*l*i*e.control1.y,p+=3*c*s*e.control2.y,p+=u*e.endPoint.y,o=t+u*m,this._drawPoint(d,p,o);h.closePath(),h.fill()}},{key:"_strokeWidth",value:function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)}},{key:"render",value:function(){return u["default"].createElement("div",{id:"signature-pad",className:"m-signature-pad"},u["default"].createElement("div",{className:"m-signature-pad--body"},u["default"].createElement("canvas",{ref:"cv"})),this.props.clearButton&&u["default"].createElement("div",{className:"m-signature-pad--footer"},u["default"].createElement("button",{className:"btn btn-default button clear",onClick:this.clear.bind(this)},"Clear")))}}]),t}(u["default"].Component);t["default"]=f,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,o){n(this,e),this.x=t,this.y=r,this.time=o||(new Date).getTime()}return r(e,[{key:"velocityFrom",value:function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1}},{key:"distanceTo",value:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t){e.exports=r}]))},804:function(e){"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}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)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=n(804),t=n.n(e),r=e=>e instanceof HTMLElement;const o="blur",a="change",i="input",s="onBlur",u="onChange",c="onSubmit",l="onTouched",f="all",d="undefined",p="max",h="min",m="maxLength",g="minLength",v="pattern",b="required",y="validate";var w=e=>null==e;const C=e=>"object"==typeof e;var O=e=>!w(e)&&!Array.isArray(e)&&C(e)&&!(e instanceof Date),x=e=>/^\w*$/.test(e),D=e=>e.filter(Boolean),k=e=>D(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function S(e,t,n){let r=-1;const o=x(t)?[t]:k(t),a=o.length,i=a-1;for(;++r<a;){const t=o[r];let a=n;if(r!==i){const n=e[t];a=O(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}e[t]=a,e=e[t]}return e}var E=(e,t={})=>{for(const n in e)x(n)?t[n]=e[n]:S(t,n,e[n]);return t},M=e=>e===undefined,_=(e={},t,n)=>{const r=D(t.split(/[,[\].]+?/)).reduce(((e,t)=>w(e)?e:e[t]),e);return M(r)||r===e?M(e[t])?n:e[t]:r},P=(e,t)=>{r(e)&&e.removeEventListener&&(e.removeEventListener(i,t),e.removeEventListener(a,t),e.removeEventListener(o,t))};const j={isValid:!1,value:""};var T=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.ref.checked?{isValid:!0,value:t.ref.value}:e),j):j,A=e=>"radio"===e.type,I=e=>"file"===e.type,R=e=>"checkbox"===e.type,N=e=>"select-multiple"===e.type;const L={value:!1,isValid:!1},V={value:!0,isValid:!0};var F=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.ref.checked)).map((({ref:{value:e}})=>e));return{value:t,isValid:!!t.length}}const{checked:t,value:n,attributes:r}=e[0].ref;return t?r&&!M(r.value)?M(n)||""===n?V:{value:n,isValid:!0}:V:L}return L};function H(e,t,n,r){const o=e.current[t];if(o){const{ref:{value:e,disabled:t},ref:n,valueAsNumber:i,valueAsDate:s,setValueAs:u}=o;if(t&&r)return;return I(n)?n.files:A(n)?T(o.options).value:N(n)?(a=n.options,[...a].filter((({selected:e})=>e)).map((({value:e})=>e))):R(n)?F(o.options).value:i?+e:s?n.valueAsDate:u?u(e):e}var a;if(n)return _(n.current,t)}function U(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&U(e.parentNode)}var W=e=>O(e)&&!Object.keys(e).length,z=e=>"boolean"==typeof e;function B(e,t){const n=x(t)?[t]:k(t),r=1==n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=M(e)?r++:e[t[r++]];return e}(e,n),o=n[n.length-1];let a;r&&delete r[o];for(let t=0;t<n.slice(0,-1).length;t++){let r,o=-1;const i=n.slice(0,-(t+1)),s=i.length-1;for(t>0&&(a=e);++o<i.length;){const t=i[o];r=r?r[t]:e[t],s===o&&(O(r)&&W(r)||Array.isArray(r)&&!r.filter((e=>O(e)&&!W(e)||z(e))).length)&&(a?delete a[t]:delete e[t]),a=r}}return e}const Y=(e,t)=>e&&e.ref===t;var q=e=>w(e)||!C(e);function K(e,t){if(q(e)||q(t))return t;for(const r in t){const o=e[r],a=t[r];try{e[r]=O(o)&&O(a)||Array.isArray(o)&&Array.isArray(a)?K(o,a):a}catch(n){}}return e}function $(e,t,n,r,o){let a=-1;for(;++a<e.length;){for(const r in e[a])Array.isArray(e[a][r])?(!n[a]&&(n[a]={}),n[a][r]=[],$(e[a][r],_(t[a]||{},r,[]),n[a][r],n[a],r)):_(t[a]||{},r)===e[a][r]?S(n[a]||{},r):n[a]=Object.assign(Object.assign({},n[a]),{[r]:!0});r&&!n.length&&delete r[o]}return n}var G=(e,t,n)=>K($(e,t,n),$(t,e,n)),J=e=>"string"==typeof e,Q=(e,t,n,r,o)=>{const a={};for(const t in e.current)(M(o)||(J(o)?t.startsWith(o):Array.isArray(o)&&o.find((e=>t.startsWith(e)))))&&(a[t]=H(e,t,undefined,r));return n?E(a):K(t,E(a))};function X(t,n,r){if(q(t)||q(n)||t instanceof Date||n instanceof Date)return t===n;if(!(0,e.isValidElement)(t)){const e=Object.keys(t),o=Object.keys(n);if(e.length!==o.length)return!1;for(const o of e){const e=t[o];if(!r||"ref"!==o){const t=n[o];if((O(e)||Array.isArray(e))&&(O(t)||Array.isArray(t))?!X(e,t,r):e!==t)return!1}}}return!0}var Z=e=>e instanceof RegExp,ee=e=>O(e)&&!Z(e)?e:{value:e,message:""},te=e=>"function"==typeof e,ne=t=>J(t)||(0,e.isValidElement)(t);function re(e,t,n="validate"){if(ne(e)||z(e)&&!e)return{type:n,message:ne(e)?e:"",ref:t}}var oe=(e,t,n,r,o)=>t?Object.assign(Object.assign({},n[e]),{types:Object.assign(Object.assign({},n[e]&&n[e].types?n[e].types:{}),{[r]:o||!0})}):{},ae=async(e,t,{ref:n,ref:{value:r},options:o,required:a,maxLength:i,minLength:s,min:u,max:c,pattern:l,validate:f},d)=>{const C=n.name,x={},D=A(n),k=R(n),S=D||k,E=""===r,M=oe.bind(null,C,t,x),_=(e,t,r,o=m,a=g)=>{const i=e?t:r;x[C]=Object.assign({type:e?o:a,message:i,ref:n},M(e?o:a,i))};if(a&&(!D&&!k&&(E||w(r))||z(r)&&!r||k&&!F(o).isValid||D&&!T(o).isValid)){const{value:r,message:o}=ne(a)?{value:!!a,message:a}:ee(a);if(r&&(x[C]=Object.assign({type:b,message:o,ref:S?((e.current[C].options||[])[0]||{}).ref:n},M(b,o)),!t))return x}if(!(w(u)&&w(c)||""===r)){let e,o;const a=ee(c),i=ee(u);if(isNaN(r)){const t=n.valueAsDate||new Date(r);J(a.value)&&(e=t>new Date(a.value)),J(i.value)&&(o=t<new Date(i.value))}else{const t=n.valueAsNumber||parseFloat(r);w(a.value)||(e=t>a.value),w(i.value)||(o=t<i.value)}if((e||o)&&(_(!!e,a.message,i.message,p,h),!t))return x}if(J(r)&&!E&&(i||s)){const e=ee(i),n=ee(s),o=!w(e.value)&&r.length>e.value,a=!w(n.value)&&r.length<n.value;if((o||a)&&(_(o,e.message,n.message),!t))return x}if(l&&!E){const{value:e,message:o}=ee(l);if(Z(e)&&!e.test(r)&&(x[C]=Object.assign({type:v,message:o,ref:n},M(v,o)),!t))return x}if(f){const r=H(e,C,d),a=S&&o?o[0].ref:n;if(te(f)){const e=re(await f(r),a);if(e&&(x[C]=Object.assign(Object.assign({},e),M(y,e.message)),!t))return x}else if(O(f)){let e={};for(const[n,o]of Object.entries(f)){if(!W(e)&&!t)break;const i=re(await o(r),a,n);i&&(e=Object.assign(Object.assign({},i),M(n,i.message)),t&&(x[C]=e))}if(!W(e)&&(x[C]=Object.assign({ref:a},e),!t))return x}}return x};const ie=(e,t,n=[])=>{for(const r in t){const o=e+(O(t)?`.${r}`:`[${r}]`);q(t[r])?n.push(o):ie(o,t[r],n)}return n};var se=(e,t,n,r,o)=>{let a=undefined;return n.add(t),W(e)||(a=_(e,t),(O(a)||Array.isArray(a))&&ie(t,a).forEach((e=>n.add(e)))),M(a)?o?r:_(r,t):a},ue=({isOnBlur:e,isOnChange:t,isOnTouch:n,isTouched:r,isReValidateOnBlur:o,isReValidateOnChange:a,isBlurEvent:i,isSubmitted:s,isOnAll:u})=>!u&&(!s&&n?!(r||i):(s?o:e)?!i:!(s?a:t)||i),ce=e=>e.substring(0,e.indexOf("["));const le=(e,t)=>RegExp(`^${t}([|.)\\d+`.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).test(e);var fe=(e,t)=>[...e].some((e=>le(t,e)));var de=typeof window!==d&&typeof document!==d;function pe(e){let t;if(q(e)||de&&e instanceof File)return e;if(e instanceof Date)return t=new Date(e.getTime()),t;if(e instanceof Set){t=new Set;for(const n of e)t.add(n);return t}if(e instanceof Map){t=new Map;for(const n of e.keys())t.set(n,pe(e.get(n)));return t}t=Array.isArray(e)?[]:{};for(const n in e)t[n]=pe(e[n]);return t}var he=e=>({isOnSubmit:!e||e===c,isOnBlur:e===s,isOnChange:e===u,isOnAll:e===f,isOnTouch:e===l}),me=e=>A(e)||R(e);const ge=typeof window===d,ve=de?"Proxy"in window:typeof Proxy!==d;function be({mode:t=c,reValidateMode:n=u,resolver:s,context:l,defaultValues:d={},shouldFocusError:p=!0,shouldUnregister:h=!0,criteriaMode:m}={}){const g=(0,e.useRef)({}),v=(0,e.useRef)({}),b=(0,e.useRef)({}),y=(0,e.useRef)(new Set),C=(0,e.useRef)({}),k=(0,e.useRef)({}),j=(0,e.useRef)({}),T=(0,e.useRef)({}),L=(0,e.useRef)(d),V=(0,e.useRef)({}),F=(0,e.useRef)(!1),z=(0,e.useRef)(!1),K=(0,e.useRef)(),$=(0,e.useRef)({}),Z=(0,e.useRef)({}),ee=(0,e.useRef)(l),ne=(0,e.useRef)(s),re=(0,e.useRef)(new Set),oe=(0,e.useRef)(he(t)),{isOnSubmit:le,isOnTouch:be}=oe.current,ye=m===f,[we,Ce]=(0,e.useState)({isDirty:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touched:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!le,errors:{}}),Oe=(0,e.useRef)({isDirty:!ve,dirtyFields:!ve,touched:!ve||be,isSubmitting:!ve,isValid:!ve}),xe=(0,e.useRef)(we),De=(0,e.useRef)(),{isOnBlur:ke,isOnChange:Se}=(0,e.useRef)(he(n)).current;ee.current=l,ne.current=s,xe.current=we,$.current=h?{}:W($.current)?pe(d):$.current;const Ee=(0,e.useCallback)(((e={})=>{F.current||(xe.current=Object.assign(Object.assign({},xe.current),e),Ce(xe.current))}),[]),Me=(0,e.useCallback)(((e,t,n=!1,r={},o)=>{let a=n||(({errors:e,name:t,error:n,validFields:r,fieldsWithValidation:o})=>{const a=M(n),i=_(e,t);return a&&!!i||!a&&!X(i,n,!0)||a&&_(o,t)&&!_(r,t)})({errors:xe.current.errors,error:t,name:e,validFields:T.current,fieldsWithValidation:j.current});const i=_(xe.current.errors,e);t?(B(T.current,e),a=a||!i||!X(i,t,!0),S(xe.current.errors,e,t)):((_(j.current,e)||ne.current)&&(S(T.current,e,!0),a=a||i),B(xe.current.errors,e)),(a&&!w(n)||!W(r))&&Ee(Object.assign(Object.assign({},r),ne.current?{isValid:!!o}:{}))}),[]),_e=(0,e.useCallback)(((e,t)=>{const{ref:n,options:o}=g.current[e],a=de&&r(n)&&w(t)?"":t;A(n)?(o||[]).forEach((({ref:e})=>e.checked=e.value===a)):I(n)&&!J(a)?n.files=a:N(n)?[...n.options].forEach((e=>e.selected=a.includes(e.value))):R(n)&&o?o.length>1?o.forEach((({ref:e})=>e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value)):o[0].ref.checked=!!a:n.value=a}),[]),Pe=(0,e.useCallback)(((e,t)=>{if(Oe.current.isDirty){const n=He();return e&&t&&S(n,e,t),!X(n,W(L.current)?V.current:L.current)}return!1}),[]),je=(0,e.useCallback)(((e,t=!0)=>{if(Oe.current.isDirty||Oe.current.dirtyFields){const n=!X(_(V.current,e),H(g,e,$)),r=_(xe.current.dirtyFields,e),o=xe.current.isDirty;n?S(xe.current.dirtyFields,e,!0):B(xe.current.dirtyFields,e);const a={isDirty:Pe(),dirtyFields:xe.current.dirtyFields},i=Oe.current.isDirty&&o!==a.isDirty||Oe.current.dirtyFields&&r!==_(xe.current.dirtyFields,e);return i&&t&&Ee(a),i?a:{}}return{}}),[]),Te=(0,e.useCallback)((async(e,t)=>{const n=(await ae(g,ye,g.current[e],$))[e];return Me(e,n,t),M(n)}),[Me,ye]),Ae=(0,e.useCallback)((async e=>{const{errors:t}=await ne.current(He(),ee.current,ye),n=xe.current.isValid;if(Array.isArray(e)){const n=e.map((e=>{const n=_(t,e);return n?S(xe.current.errors,e,n):B(xe.current.errors,e),!n})).every(Boolean);return Ee({isValid:W(t)}),n}{const r=_(t,e);return Me(e,r,n!==W(t),{},W(t)),!r}}),[Me,ye]),Ie=(0,e.useCallback)((async e=>{const t=e||Object.keys(g.current);if(ne.current)return Ae(t);if(Array.isArray(t)){!e&&(xe.current.errors={});const n=await Promise.all(t.map((async e=>await Te(e,null))));return Ee(),n.every(Boolean)}return await Te(t)}),[Ae,Te]),Re=(0,e.useCallback)(((e,t,{shouldDirty:n,shouldValidate:r})=>{const o={};S(o,e,t);for(const a of ie(e,t))g.current[a]&&(_e(a,_(o,a)),n&&je(a),r&&Ie(a))}),[Ie,_e,je]),Ne=(0,e.useCallback)(((e,t,n)=>{!q(t)&&S($.current,e,pe(t)),g.current[e]?(_e(e,t),n.shouldDirty&&je(e),n.shouldValidate&&Ie(e)):q(t)||(Re(e,t,n),re.current.has(e)&&(v.current[e]=t,Z.current[e]({[e]:t}),(Oe.current.isDirty||Oe.current.dirtyFields)&&n.shouldDirty&&(S(xe.current.dirtyFields,e,G(t,_(L.current,e,[]),_(xe.current.dirtyFields,e,[]))),Ee({isDirty:!X(Object.assign(Object.assign({},He()),{[e]:t}),L.current)})))),!h&&S($.current,e,t)}),[je,_e,Re]),Le=e=>z.current||y.current.has(e)||y.current.has((e.match(/\w+/)||[])[0]),Ve=(e,t=!0)=>{if(!W(C.current))for(const n in C.current)e&&C.current[n].size&&!C.current[n].has(e)&&!C.current[n].has(ce(e))||(k.current[n](),t=!1);return t};function Fe(e){if(!h){let t=pe(e);for(const e of re.current)x(e)&&!t[e]&&(t=Object.assign(Object.assign({},t),{[e]:[]}));return t}return e}function He(e){if(J(e))return H(g,e,$);if(Array.isArray(e)){const t={};for(const n of e)S(t,n,H(g,n,$));return t}return Fe(Q(g,pe($.current),h))}K.current=K.current?K.current:async({type:e,target:t})=>{let n=t.name;const r=g.current[n];let a,i;if(r){const s=e===o,u=ue(Object.assign({isBlurEvent:s,isReValidateOnChange:Se,isReValidateOnBlur:ke,isTouched:!!_(xe.current.touched,n),isSubmitted:xe.current.isSubmitted},oe.current));let c=je(n,!1),l=!W(c)||Le(n);if(s&&!_(xe.current.touched,n)&&Oe.current.touched&&(S(xe.current.touched,n,!0),c=Object.assign(Object.assign({},c),{touched:xe.current.touched})),!h&&R(t)&&S($.current,n,H(g,n)),u)return Ve(n),(!W(c)||l&&W(c))&&Ee(c);if(ne.current){const{errors:e}=await ne.current(He(),ee.current,ye),r=xe.current.isValid;if(a=_(e,n),R(t)&&!a&&ne.current){const t=ce(n),r=_(e,t,{});r.type&&r.message&&(a=r),t&&(r||_(xe.current.errors,t))&&(n=t)}i=W(e),r!==i&&(l=!0)}else a=(await ae(g,ye,r,$))[n];Ve(n),Me(n,a,l,c,i)}};const Ue=(0,e.useCallback)((async(e={})=>{const{errors:t}=await ne.current(Object.assign(Object.assign({},He()),e),ee.current,ye),n=W(t);xe.current.isValid!==n&&Ee({isValid:n})}),[ye]),We=(0,e.useCallback)(((e,t)=>function(e,t,n,r,o,a){const{ref:i,ref:{name:s}}=n,u=e.current[s];if(!o){const t=H(e,s,r);!M(t)&&S(r.current,s,t)}i.type&&u?A(i)||R(i)?Array.isArray(u.options)&&u.options.length?(D(u.options).forEach(((e={},n)=>{(U(e.ref)&&Y(e,e.ref)||a)&&(P(e.ref,t),B(u.options,`[${n}]`))})),u.options&&!D(u.options).length&&delete e.current[s]):delete e.current[s]:(U(i)&&Y(u,i)||a)&&(P(i,t),delete e.current[s]):delete e.current[s]}(g,K.current,e,$,h,t)),[h]),ze=(0,e.useCallback)((e=>{if(z.current)Ee();else{for(const t of y.current)if(t.startsWith(e)){Ee();break}Ve(e)}}),[]),Be=(0,e.useCallback)(((e,t)=>{e&&(We(e,t),h&&!D(e.options||[]).length&&(B(V.current,e.ref.name),B(T.current,e.ref.name),B(j.current,e.ref.name),B(xe.current.errors,e.ref.name),S(xe.current.dirtyFields,e.ref.name,!0),Ee({isDirty:Pe()}),Oe.current.isValid&&ne.current&&Ue(),ze(e.ref.name)))}),[Ue,We]);const Ye=(0,e.useCallback)(((e,t,n)=>{const r=n?C.current[n]:y.current;let o=Q(g,pe($.current),h,!1,e);if(J(e)){if(re.current.has(e)){const t=_(b.current,e,[]);o=t.length&&t.length===D(_(o,e,[])).length?o:b.current}return se(o,e,r,M(_(L.current,e))?t:_(L.current,e),!0)}const a=M(t)?L.current:t;return Array.isArray(e)?e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:se(o,t,r,a)})),{}):(z.current=M(n),E(!W(o)&&o||a))}),[]);function qe(e,t={}){const{name:n,type:s,value:u}=e,c=Object.assign({ref:e},t),l=g.current,f=me(e),d=fe(re.current,n),p=t=>de&&(!r(e)||t===e);let h,m=l[n],v=!0;if(m&&(f?Array.isArray(m.options)&&D(m.options).find((e=>u===e.ref.value&&p(e.ref))):p(m.ref)))return void(l[n]=Object.assign(Object.assign({},m),t));m=s?f?Object.assign({options:[...D(m&&m.options||[]),{ref:e}],ref:{type:s,name:n}},t):Object.assign({},c):c,l[n]=m;const b=M(_($.current,n));if(W(L.current)&&b||(h=_(b?L.current:$.current,n),v=M(h),v||d||_e(n,h)),W(t)||(S(j.current,n,!0),!le&&Oe.current.isValid&&ae(g,ye,m,$).then((e=>{const t=xe.current.isValid;W(e)?S(T.current,n,!0):B(T.current,n),t!==W(e)&&Ee()}))),!(V.current[n]||d&&v)){const e=H(g,n,$);S(V.current,n,v?O(e)?Object.assign({},e):e:h),!d&&B(xe.current.dirtyFields,n)}s&&function({ref:e},t,n){r(e)&&n&&(e.addEventListener(t?a:i,n),e.addEventListener(o,n))}(f&&m.options?m.options[m.options.length-1]:m,f||"select-one"===e.type,K.current)}const Ke=(0,e.useCallback)(((e,t)=>async n=>{n&&n.preventDefault&&(n.preventDefault(),n.persist());let r={},o=Fe(Q(g,pe($.current),h,!0));Oe.current.isSubmitting&&Ee({isSubmitting:!0});try{if(ne.current){const{errors:e,values:t}=await ne.current(o,ee.current,ye);xe.current.errors=r=e,o=t}else for(const e of Object.values(g.current))if(e){const{name:t}=e.ref,n=await ae(g,ye,e,$);n[t]?(S(r,t,n[t]),B(T.current,t)):_(j.current,t)&&(B(xe.current.errors,t),S(T.current,t,!0))}W(r)&&Object.keys(xe.current.errors).every((e=>e in g.current))?(Ee({errors:{},isSubmitting:!0}),await e(o,n)):(xe.current.errors=Object.assign(Object.assign({},xe.current.errors),r),t&&await t(xe.current.errors,n),p&&((e,t)=>{for(const n in e)if(_(t,n)){const t=e[n];if(t){if(t.ref.focus&&M(t.ref.focus()))break;if(t.options){t.options[0].ref.focus();break}}}})(g.current,xe.current.errors))}finally{xe.current.isSubmitting=!1,Ee({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:W(xe.current.errors),submitCount:xe.current.submitCount+1})}}),[p,ye]);(0,e.useEffect)((()=>{s&&Oe.current.isValid&&Ue(),De.current=De.current||!de?De.current:function(e,t){const n=new MutationObserver((()=>{for(const n of Object.values(e.current))if(n&&n.options)for(const e of n.options)e&&e.ref&&U(e.ref)&&t(n);else n&&U(n.ref)&&t(n)}));return n.observe(window.document,{childList:!0,subtree:!0}),n}(g,Be)}),[Be,L.current]),(0,e.useEffect)((()=>()=>{De.current&&De.current.disconnect(),F.current=!0,Object.values(g.current).forEach((e=>Be(e,!0)))}),[]),!s&&Oe.current.isValid&&(we.isValid=X(T.current,j.current)&&W(xe.current.errors));const $e={trigger:Ie,setValue:(0,e.useCallback)((function(e,t,n){Ne(e,t,n||{}),Le(e)&&Ee(),Ve(e)}),[Ne,Ie]),getValues:(0,e.useCallback)(He,[]),register:(0,e.useCallback)((function(e,t){if(!ge)if(J(e))qe({name:e},t);else{if(!O(e)||!("name"in e))return t=>t&&qe(t,e);qe(e,t)}}),[L.current]),unregister:(0,e.useCallback)((function(e){for(const t of Array.isArray(e)?e:[e])Be(g.current[t],!0)}),[]),formState:ve?new Proxy(we,{get:(e,t)=>t in e?(Oe.current[t]=!0,e[t]):undefined}):we},Ge=(0,e.useMemo)((()=>Object.assign({isFormDirty:Pe,updateWatchedValue:ze,shouldUnregister:h,updateFormState:Ee,removeFieldEventListener:We,watchInternal:Ye,mode:oe.current,reValidateMode:{isReValidateOnBlur:ke,isReValidateOnChange:Se},validateResolver:s?Ue:undefined,fieldsRef:g,resetFieldArrayFunctionRef:Z,useWatchFieldsRef:C,useWatchRenderFunctionsRef:k,fieldArrayDefaultValuesRef:v,validFieldsRef:T,fieldsWithValidationRef:j,fieldArrayNamesRef:re,readFormStateRef:Oe,formStateRef:xe,defaultValuesRef:L,shallowFieldsStateRef:$,fieldArrayValuesRef:b},$e)),[L.current,ze,h,We,Ye]);return Object.assign({watch:function(e,t){return Ye(e,t)},control:Ge,handleSubmit:Ke,reset:(0,e.useCallback)(((e,t={})=>{if(de)for(const e of Object.values(g.current))if(e){const{ref:t,options:o}=e,a=me(t)&&Array.isArray(o)?o[0].ref:t;if(r(a))try{a.closest("form").reset();break}catch(n){}}g.current={},L.current=Object.assign({},e||L.current),e&&Ve(""),Object.values(Z.current).forEach((e=>te(e)&&e())),$.current=h?{}:pe(e||L.current),(({errors:e,isDirty:t,isSubmitted:n,touched:r,isValid:o,submitCount:a,dirtyFields:i})=>{o||(T.current={},j.current={}),V.current={},v.current={},y.current=new Set,z.current=!1,Ee({submitCount:a?xe.current.submitCount:0,isDirty:!!t&&xe.current.isDirty,isSubmitted:!!n&&xe.current.isSubmitted,isValid:!!o&&xe.current.isValid,dirtyFields:i?xe.current.dirtyFields:{},touched:r?xe.current.touched:{},errors:e?xe.current.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})})(t)}),[]),clearErrors:(0,e.useCallback)((function(e){e&&(Array.isArray(e)?e:[e]).forEach((e=>g.current[e]&&x(e)?delete xe.current.errors[e]:B(xe.current.errors,e))),Ee({errors:e?xe.current.errors:{}})}),[]),setError:(0,e.useCallback)((function(e,t){const n=(g.current[e]||{}).ref;S(xe.current.errors,e,Object.assign(Object.assign({},t),{ref:n})),Ee({isValid:!1}),t.shouldFocus&&n&&n.focus&&n.focus()}),[]),errors:we.errors},$e)}
13
  /*! *****************************************************************************
14
  Copyright (c) Microsoft Corporation.
15
 
@@ -48,4 +48,4 @@ PERFORMANCE OF THIS SOFTWARE.
48
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49
  * SOFTWARE.
50
  */
51
- var _r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Pr=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(_r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var jr=_r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Pr))}};function Tr(e){return e&&"[object Function]"==={}.toString.call(e)}function Ar(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Ir(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Rr(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ar(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Rr(Ir(e))}function Nr(e){return e&&e.referenceNode?e.referenceNode:e}var Lr=_r&&!(!window.MSInputMethodContext||!document.documentMode),Vr=_r&&/MSIE 10/.test(navigator.userAgent);function Fr(e){return 11===e?Lr:10===e?Vr:Lr||Vr}function Hr(e){if(!e)return document.documentElement;for(var t=Fr(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ar(n,"position")?Hr(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Ur(e){return null!==e.parentNode?Ur(e.parentNode):e}function Wr(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(o,0);var i,s,u=a.commonAncestorContainer;if(e!==u&&t!==u||r.contains(o))return"BODY"===(s=(i=u).nodeName)||"HTML"!==s&&Hr(i.firstElementChild)!==i?Hr(u):u;var c=Ur(e);return c.host?Wr(c.host,t):Wr(e,Ur(t).host)}function zr(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||o;return a[n]}return e[n]}function Br(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=zr(t,"top"),o=zr(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=o*a,e.right+=o*a,e}function Yr(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function qr(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Fr(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Kr(e){var t=e.body,n=e.documentElement,r=Fr(10)&&getComputedStyle(n);return{height:qr("Height",t,n,r),width:qr("Width",t,n,r)}}var $r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Gr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Jr=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Xr(e){return Qr({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Zr(e){var t={};try{if(Fr(10)){t=e.getBoundingClientRect();var n=zr(e,"top"),r=zr(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(f){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?Kr(e.ownerDocument):{},i=a.width||e.clientWidth||o.width,s=a.height||e.clientHeight||o.height,u=e.offsetWidth-i,c=e.offsetHeight-s;if(u||c){var l=Ar(e);u-=Yr(l,"x"),c-=Yr(l,"y"),o.width-=u,o.height-=c}return Xr(o)}function eo(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=Fr(10),o="HTML"===t.nodeName,a=Zr(e),i=Zr(t),s=Rr(e),u=Ar(t),c=parseFloat(u.borderTopWidth),l=parseFloat(u.borderLeftWidth);n&&o&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var f=Xr({top:a.top-i.top-c,left:a.left-i.left-l,width:a.width,height:a.height});if(f.marginTop=0,f.marginLeft=0,!r&&o){var d=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);f.top-=c-d,f.bottom-=c-d,f.left-=l-p,f.right-=l-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=Br(f,t)),f}function to(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=e.ownerDocument.documentElement,r=eo(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:zr(n),s=t?0:zr(n,"left"),u={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:a};return Xr(u)}function no(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ar(e,"position"))return!0;var n=Ir(e);return!!n&&no(n)}function ro(e){if(!e||!e.parentElement||Fr())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ar(t,"transform");)t=t.parentElement;return t||document.documentElement}function oo(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined&&arguments[4],a={top:0,left:0},i=o?ro(e):Wr(e,Nr(t));if("viewport"===r)a=to(i,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Rr(Ir(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=eo(s,i,o);if("HTML"!==s.nodeName||no(i))a=u;else{var c=Kr(e.ownerDocument),l=c.height,f=c.width;a.top+=u.top-u.marginTop,a.bottom=l+u.top,a.left+=u.left-u.marginLeft,a.right=f+u.left}}var d="number"==typeof(n=n||0);return a.left+=d?n:n.left||0,a.top+=d?n:n.top||0,a.right-=d?n:n.right||0,a.bottom-=d?n:n.bottom||0,a}function ao(e){return e.width*e.height}function io(e,t,n,r,o){var a=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=oo(n,r,a,o),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},u=Object.keys(s).map((function(e){return Qr({key:e},s[e],{area:ao(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function so(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,o=r?ro(t):Wr(t,Nr(n));return eo(n,o,r)}function uo(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function co(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function lo(e,t,n){n=n.split("-")[0];var r=uo(e),o={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),i=a?"top":"left",s=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return o[i]=t[i]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[c]:t[co(s)],o}function fo(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function po(e,t,n){return(n===undefined?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=fo(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e["function"]||e.fn;e.enabled&&Tr(n)&&(t.offsets.popper=Xr(t.offsets.popper),t.offsets.reference=Xr(t.offsets.reference),t=n(t,e))})),t}function ho(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=so(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=io(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=lo(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=po(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function mo(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function go(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],a=o?""+o+n:e;if("undefined"!=typeof document.body.style[a])return a}return null}function vo(){return this.state.isDestroyed=!0,mo(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[go("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bo(e){var t=e.ownerDocument;return t?t.defaultView:window}function yo(e,t,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||yo(Rr(a.parentNode),t,n,r),r.push(a)}function wo(e,t,n,r){n.updateBound=r,bo(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Rr(e);return yo(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Co(){this.state.eventsEnabled||(this.state=wo(this.reference,this.options,this.state,this.scheduleUpdate))}function Oo(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,bo(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function xo(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Do(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&xo(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var ko=_r&&/Firefox/i.test(navigator.userAgent);function So(e,t,n){var r=fo(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var a="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}var Eo=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Mo=Eo.slice(3);function _o(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=Mo.indexOf(e),r=Mo.slice(n+1).concat(Mo.slice(0,n));return t?r.reverse():r}var Po="flip",jo="clockwise",To="counterclockwise";function Ao(e,t,n,r){var o=[0,0],a=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=i.indexOf(fo(i,(function(e){return-1!==e.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[i.slice(0,s).concat([i[s].split(u)[0]]),[i[s].split(u)[1]].concat(i.slice(s+1))]:[i];return(c=c.map((function(e,r){var o=(1===r?!a:a)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+o[1],i=o[2];if(!a)return e;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=r}return Xr(s)[t]/100*a}if("vh"===i||"vw"===i)return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a;return a}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){xo(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var Io={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,a=o.reference,i=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:Jr({},u,a[u]),end:Jr({},u,a[u]+a[c]-i[c])};e.offsets.popper=Qr({},i,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,a=o.popper,i=o.reference,s=r.split("-")[0],u=void 0;return u=xo(+n)?[+n,0]:Ao(n,a,i,s),"left"===s?(a.top+=u[0],a.left-=u[1]):"right"===s?(a.top+=u[0],a.left+=u[1]):"top"===s?(a.left+=u[0],a.top-=u[1]):"bottom"===s&&(a.left+=u[0],a.top+=u[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Hr(e.instance.popper);e.instance.reference===n&&(n=Hr(n));var r=go("transform"),o=e.instance.popper.style,a=o.top,i=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=oo(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=a,o.left=i,o[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),Jr({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),Jr({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=Qr({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],a=Math.floor,i=-1!==["top","bottom"].indexOf(o),s=i?"right":"bottom",u=i?"left":"top",c=i?"width":"height";return n[s]<a(r[u])&&(e.offsets.popper[u]=a(r[u])-n[c]),n[u]>a(r[s])&&(e.offsets.popper[u]=a(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!So(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],a=e.offsets,i=a.popper,s=a.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",l=u?"Top":"Left",f=l.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",h=uo(r)[c];s[p]-h<i[f]&&(e.offsets.popper[f]-=i[f]-(s[p]-h)),s[f]+h>i[p]&&(e.offsets.popper[f]+=s[f]+h-i[p]),e.offsets.popper=Xr(e.offsets.popper);var m=s[f]+s[c]/2-h/2,g=Ar(e.instance.popper),v=parseFloat(g["margin"+l]),b=parseFloat(g["border"+l+"Width"]),y=m-e.offsets.popper[f]-v-b;return y=Math.max(Math.min(i[c]-h,y),0),e.arrowElement=r,e.offsets.arrow=(Jr(n={},f,Math.round(y)),Jr(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(mo(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=oo(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=co(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case Po:i=[r,o];break;case jo:i=_o(r);break;case To:i=_o(r,!0);break;default:i=t.behavior}return i.forEach((function(s,u){if(r!==s||i.length===u+1)return e;r=e.placement.split("-")[0],o=co(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,d="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),p=f(c.left)<f(n.left),h=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),v="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===a&&p||b&&"end"===a&&h||!b&&"start"===a&&m||!b&&"end"===a&&g),w=!!t.flipVariationsByContent&&(b&&"start"===a&&h||b&&"end"===a&&p||!b&&"start"===a&&g||!b&&"end"===a&&m),C=y||w;(d||v||C)&&(e.flipped=!0,(d||v)&&(r=i[u+1]),C&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=Qr({},e.offsets.popper,lo(e.instance.popper,e.offsets.reference,e.placement)),e=po(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,a=r.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[i?"left":"top"]=a[n]-(s?o[i?"width":"height"]:0),e.placement=co(t),e.offsets.popper=Xr(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!So(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=fo(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,a=fo(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;a!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=a!==undefined?a:t.gpuAcceleration,s=Hr(e.instance.popper),u=Zr(s),c={position:o.position},l=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,a=Math.round,i=Math.floor,s=function(e){return e},u=a(o.width),c=a(r.width),l=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?l||f||u%2==c%2?a:i:s,p=t?a:s;return{left:d(u%2==1&&c%2==1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!ko),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=go("transform"),h=void 0,m=void 0;if(m="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,h="right"===d?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,i&&p)c[p]="translate3d("+h+"px, "+m+"px, 0)",c[f]=0,c[d]=0,c.willChange="transform";else{var g="bottom"===f?-1:1,v="right"===d?-1:1;c[f]=m*g,c[d]=h*v,c.willChange=f+", "+d}var b={"x-placement":e.placement};return e.attributes=Qr({},b,e.attributes),e.styles=Qr({},c,e.styles),e.arrowStyles=Qr({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Do(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Do(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=so(o,t,e,n.positionFixed),i=io(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),Do(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:undefined}}},Ro=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};$r(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=jr(this.update.bind(this)),this.options=Qr({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Qr({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Qr({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Qr({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Tr(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Gr(e,[{key:"update",value:function(){return ho.call(this)}},{key:"destroy",value:function(){return vo.call(this)}},{key:"enableEventListeners",value:function(){return Co.call(this)}},{key:"disableEventListeners",value:function(){return Oo.call(this)}}]),e}();Ro.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Ro.placements=Eo,Ro.Defaults=Io;var No=Ro,Lo=(n(353),function(e){do{e+=~~(1e6*Math.random())}while("undefined"!=typeof document&&document.getElementById(e));return e}),Vo=("undefined"!=typeof window&&"undefined"!=typeof window.document&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,{name:"kpm0v2",styles:"position:absolute;display:block;width:16px;height:8px;margin:0 5px;&:before,&:after{position:absolute;display:block;content:'';border-color:transparent;border-style:solid;}"}),Fo=function(t){t.placement;var n=bt(t,["placement"]);return ft(e.Fragment,null,ft(dt,{styles:Ho}),ft("div",wt({},n,{"data-arrow":"true",css:Vo})))},Ho={name:"rvo98s",styles:"[x-placement^='top']{margin-bottom:8px;[data-arrow]{bottom:-9px;}[data-arrow]:before{bottom:0;border-width:8px 8px 0;border-top-color:rgba(0,0,0,0.25);}[data-arrow]:after{bottom:1px;border-width:8px 8px 0;border-top-color:#fff;}}[x-placement^='right']{margin-left:8px;[data-arrow]{left:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{left:0;border-width:8px 8px 8px 0;border-right-color:rgba(0,0,0,0.25);}[data-arrow]:after{left:1px;border-width:8px 8px 8px 0;border-right-color:#fff;}}[x-placement^='bottom']{margin-top:8px;[data-arrow]{top:-9px;}[data-arrow]:before{top:0;border-width:0 8px 8px 8px;border-bottom-color:rgba(0,0,0,0.25);}[data-arrow]:after{top:1px;border-width:0 8px 8px 8px;border-bottom-color:#fff;}}[x-placement^='left']{margin-right:8px;[data-arrow]{right:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{right:0;border-width:8px 0 8px 8px;border-left-color:rgba(0,0,0,0.25);}[data-arrow]:after{right:1px;border-width:8px 0 8px 8px;border-left-color:#fff;}}"},Uo=function(n){var r,o,a,i=n.header,s=n.body,u=n.children,c=n.placement,l=n.trigger,f=n.styles,d=bt(n,["header","body","children","placement","trigger","styles"]),p=t().Children.only(u),h=(0,e.useRef)(null),m=(0,e.useState)(!1),g=m[0],v=m[1],b=(0,e.useState)(!1),y=b[0],w=b[1],C=(0,e.useState)({popoverId:null,referenceId:null,arrowId:null}),O=C[0],x=C[1],D=O.popoverId,k=O.referenceId,S=O.arrowId;r=h,o=function(e){e.target.id===k||document.getElementById(k).contains(e.target)||v(!1)},a=(0,e.useRef)(),(0,e.useEffect)((function(){a.current=o}),[o]),(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&a.current(event)};return Mr.forEach((function(t){document.addEventListener(t,e,{passive:!0})})),function(){Mr.forEach((function(t){document.removeEventListener(t,e,{passive:!0})}))}}),[r,o]),(0,e.useEffect)((function(){if(!D)return x({popoverId:Lo("popover"),referenceId:Lo("reference"),arrowId:Lo("arrow")});var e=document.getElementById(D),t=document.getElementById(k),n=document.getElementById(S);e&&t&&n&&(new No(t,e,{placement:c,modifiers:{arrow:{element:n}}}),w(g))}),[g]);var E={content:[Wo.content,f.content],header:[Wo.header,f.header],body:[Wo.body,f.body]};return ft(e.Fragment,null,D?ft("div",wt({},d,{id:D,ref:h,css:E.content,style:y?{display:"block"}:{}}),ft(Fo,{id:S}),i?ft("div",{css:E.header},i):null,ft("div",{css:E.body},s)):null,t().cloneElement(p,wt({},p.props,{id:k,onClick:function(){"click"===l&&v(!g)}})))};Uo.defaultProps={placement:"right",trigger:"click",styles:{}};var Wo={content:{name:"106ha8s",styles:"display:none;max-width:300px;background-color:#fff;border-radius:4px;border:1px solid rgba(0,0,0,0.2);z-index:1060;"},header:{name:"12koz1z",styles:"padding:8px 12px;background-color:#f7f7f7;font-size:16px;font-weight:bold;border-top-left-radius:4px;border-top-right-radius:4px;"},body:{name:"k7kym8",styles:"padding:8px 12px;font-size:14px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;"}},zo=Uo;function Bo(e){var t=e.touches;if(t&&t.length){var n=t[0];return{x:n.clientX,y:n.clientY}}return{x:e.clientX,y:e.clientY}}var Yo={position:"relative",display:"inline-block",backgroundColor:"#ddd",borderRadius:5,userSelect:"none",boxSizing:"border-box"},qo={position:"absolute",backgroundColor:"#5e72e4",borderRadius:5,userSelect:"none",boxSizing:"border-box"},Ko={position:"relative",display:"block",content:'""',width:18,height:18,backgroundColor:"#fff",borderRadius:"50%",boxShadow:"0 1px 1px rgba(0,0,0,.5)",userSelect:"none",cursor:"pointer",boxSizing:"border-box"},$o={x:{track:wt({},Yo,{width:200,height:10}),active:wt({},qo,{top:0,height:"100%"}),thumb:wt({},Ko)},y:{track:wt({},Yo,{width:10,height:200}),active:wt({},qo,{left:0,width:"100%"}),thumb:wt({},Ko)},xy:{track:{position:"relative",overflow:"hidden",width:200,height:200,backgroundColor:"#5e72e4",borderRadius:0},active:{},thumb:wt({},Ko)},disabled:{opacity:.5}},Go=function(t){var n=t.disabled,r=t.axis,o=t.x,a=t.y,i=t.xmin,s=t.xmax,u=t.ymin,c=t.ymax,l=t.xstep,f=t.ystep,d=t.onChange,p=t.onDragStart,h=t.onDragEnd,m=t.onClick,g=t.xreverse,v=t.yreverse,b=t.styles,y=bt(t,["disabled","axis","x","y","xmin","xmax","ymin","ymax","xstep","ystep","onChange","onDragStart","onDragEnd","onClick","xreverse","yreverse","styles"]),w=(0,e.useRef)(null),C=(0,e.useRef)(null),O=(0,e.useRef)({}),x=(0,e.useRef)({});function D(e){var t=e.top,n=e.left;if(d){var o=w.current.getBoundingClientRect(),a=o.width,p=o.height,h=0,m=0;n<0&&(n=0),n>a&&(n=a),t<0&&(t=0),t>p&&(t=p),"x"!==r&&"xy"!==r||(h=n/a*(s-i)),"y"!==r&&"xy"!==r||(m=t/p*(c-u));var b=(0!==h?parseInt(h/l,10)*l:0)+i,y=(0!==m?parseInt(m/f,10)*f:0)+u;d({x:g?s-b+i:b,y:v?c-y+u:y})}}function k(e){if(!n){e.preventDefault();var t=C.current,r=Bo(e);O.current={x:t.offsetLeft,y:t.offsetTop},x.current={x:r.x,y:r.y},document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",E),document.addEventListener("touchcancel",E),p&&p(e)}}function S(e){n||(e.preventDefault(),D(function(e){var t=Bo(e);return{left:t.x+O.current.x-x.current.x,top:t.y+O.current.y-x.current.y}}(e)))}function E(e){n||(e.preventDefault(),document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",S,{passive:!1}),document.removeEventListener("touchend",E),document.removeEventListener("touchcancel",E),h&&h(e))}var M,_,P=((M=(a-u)/(c-u)*100)>100&&(M=100),M<0&&(M=0),"x"===r&&(M=0),(_=(o-i)/(s-i)*100)>100&&(_=100),_<0&&(_=0),"y"===r&&(_=0),{top:M,left:_}),j={};"x"===r&&(j.width=P.left+"%"),"y"===r&&(j.height=P.top+"%"),g&&(j.left=100-P.left+"%"),v&&(j.top=100-P.top+"%");var T={position:"absolute",transform:"translate(-50%, -50%)",left:g?100-P.left+"%":P.left+"%",top:v?100-P.top+"%":P.top+"%"};"x"===r?T.top="50%":"y"===r&&(T.left="50%");var A={track:wt({},$o[r].track,{},b.track),active:wt({},$o[r].active,{},b.active),thumb:wt({},$o[r].thumb,{},b.thumb),disabled:wt({},$o.disabled,{},b.disabled)};return ft("div",wt({},y,{ref:w,css:lt([A.track,n&&A.disabled],";label:Slider;"),onClick:function(e){if(!n){var t=Bo(e),r=w.current.getBoundingClientRect();D({left:t.x-r.left,top:t.y-r.top}),m&&m(e)}}}),ft("div",{css:A.active,style:j}),ft("div",{ref:C,style:T,onTouchStart:k,onMouseDown:k,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:A.thumb})))};Go.defaultProps={disabled:!1,axis:"x",x:50,xmin:0,xmax:100,y:50,ymin:0,ymax:100,xstep:1,ystep:1,xreverse:!1,yreverse:!1,styles:{}};var Jo=Go,Qo=n(654),Xo=n.n(Qo),Zo=n(763),ea=n.n(Zo),ta=n(37),na=n.n(ta),ra="undefined"!=typeof navigator&&navigator.userAgent.match(/iPhone|iPad|iPod/i),oa=function(t){var n=t.step,r=t.min,o=t.max,a=t.value,i=t.onChange,s=t.onKeyDown,u=t.enableMobileNumericKeyboard,c=t.component,l=bt(t,["step","min","max","value","onChange","onKeyDown","enableMobileNumericKeyboard","component"]),f=(0,e.useState)(a),d=f[0],p=f[1];(0,e.useEffect)((function(){p(a)}),[a]);var h={value:d,onChange:function(e){var t=function(e){if(ea()(e))return e;if(na()(e)){if(!(e=e.trim()))return"";var t=parseFloat(e);if(!Xo()(t))return t}return""}(e);p(e),i&&i(t)},onKeyDown:function(e){38===e.keyCode?i&&i(ia("+",a,o,r,n)):40===e.keyCode&&i&&i(ia("-",a,o,r,n)),s&&s(e)},onWheel:function(e){e.target.blur()}};return ft(c,wt({},l,h,u?{css:aa,type:"number",inputMode:"numeric",pattern:ra?"[0-9]*":"",step:n,min:r,max:o}:{css:aa,type:"text"}))};oa.defaultProps={autoComplete:"off",enableMobileNumericKeyboard:!1,value:"",component:function(e){var t=e.onChange,n=bt(e,["onChange"]);return ft("input",wt({},n,{onChange:function(e){t&&t(e.target.value)}}))},step:1};var aa={MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}};function ia(e,t,n,r,o){if(""===t)return ea()(r)?r:"";if(t="+"===e?t+o:t-o,ea()(n)&&t>n)return n;if(ea()(r)&&t<r)return r;var a=(o.toString().split(".")[1]||[]).length;return a?parseFloat(t.toFixed(a)):t}var sa=oa;function ua(e){return"#"===e[0]&&(e=e.substr(1)),3===e.length?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16)}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16)}}function ca(e,t,n){var r=[],o=(n/=100)*(t/=100),a=e/60,i=o*(1-Math.abs(a%2-1)),s=n-o;return r=a>=0&&a<1?[o,i,0]:a>=1&&a<2?[i,o,0]:a>=2&&a<3?[0,o,i]:e>=3&&a<4?[0,i,o]:e>=4&&a<5?[i,0,o]:e>=5&&a<=6?[o,0,i]:[0,0,0],{r:Math.round(255*(r[0]+s)),g:Math.round(255*(r[1]+s)),b:Math.round(255*(r[2]+s))}}function la(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function fa(e,t,n){return"#"+[la(e),la(t),la(n)].join("")}function da(e,t,n){var r,o=Math.max(e,t,n),a=o-Math.min(e,t,n);return r=0===a?0:e===o?(t-n)/a%6:t===o?(n-e)/a+2:(e-t)/a+4,(r=Math.round(60*r))<0&&(r+=360),{h:r,s:Math.round(100*(0===o?0:a/o)),v:Math.round(o/255*100)}}function pa(e,t,n,r){return"rgba("+[e,t,n,r/100].join(",")+")"}var ha={name:"bzk4lp",styles:"width:100%;margin-top:10px;margin-bottom:10px;display:flex;"},ma={name:"lwa3hx",styles:"flex:1;margin-right:10px;"},ga=function(e){var t=e.color,n=e.onChange,r=t.r,o=t.g,a=t.b,i=t.a,s=t.h,u=t.s,c=t.v;function l(e){n&&n(wt({},e,{rgba:pa(e.r,e.g,e.b,e.a)}))}function f(e,n,r){var o=ca(e,n,r),a=o.r,i=o.g,s=o.b,u=fa(a,i,s);l(wt({},t,{h:e,s:n,v:r,r:a,g:i,b:s,hex:u}))}function d(e,n,r){var o=fa(e,n,r),a=da(e,n,r),i=a.h,s=a.s,u=a.v;l(wt({},t,{r:e,g:n,b:r,h:i,s:s,v:u,hex:o}))}function p(e){l(wt({},t,{a:e}))}var h=pa(r,o,a,i),m="linear-gradient(to right, "+pa(r,o,a,0)+", "+pa(r,o,a,100)+")",g=function(e,t,n){var r=ca(e,t,n);return fa(r.r,r.g,r.b)}(s,100,100);return ft("div",{css:va.picker,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:va.selector,style:{backgroundColor:g}},ft("div",{css:va.gradientWhite}),ft("div",{css:va.gradientDark}),ft(Jo,{axis:"xy",x:u,xmax:100,y:100-c,ymax:100,onChange:function(e){var t=e.x,n=e.y;return f(s,t,100-n)},styles:{track:{width:"100%",height:"100%",background:"none"},thumb:{width:12,height:12,backgroundColor:"rgba(0,0,0,0)",border:"2px solid #fff",borderRadius:"50%"}}})),ft("div",{css:ha},ft("div",{css:ma},ft(Jo,{axis:"x",x:s,xmax:359,onChange:function(e){return f(e.x,u,c)},styles:{track:{width:"100%",height:12,borderRadius:0,background:"linear-gradient(to left, #FF0000 0%, #FF0099 10%, #CD00FF 20%, #3200FF 30%, #0066FF 40%, #00FFFD 50%, #00FF66 60%, #35FF00 70%, #CDFF00 80%, #FF9900 90%, #FF0000 100%)"},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}}}),ft(Jo,{axis:"x",x:i,xmax:100,styles:{track:{width:"100%",height:12,borderRadius:0,background:m},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}},onChange:function(e){return p(e.x)}})),ft("div",{style:{backgroundColor:h,width:30,height:30}})),ft("div",{css:va.inputs},ft("div",{css:va.input},ft("input",{style:{width:70,textAlign:"left"},type:"text",value:t.hex,onChange:function(e){return function(e){var n=ua(e),r=n.r,o=n.g,a=n.b,i=da(r,o,a),s=i.h,u=i.s,c=i.v;l(wt({},t,{r:r,g:o,b:a,h:s,s:u,v:c,hex:e}))}(e.target.value)},onKeyUp:function(e){if(13===e.keyCode){var n=e.target.value.trim(),r=ua(n),o=r.r,a=r.g,s=r.b;l(wt({},t,{r:o,g:a,b:s,a:i,hex:n}))}}}),ft("div",null,"Hex")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:r,onChange:function(e){return d(e,o,a)}}),ft("div",null,"R")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:o,onChange:function(e){return d(r,e,a)}}),ft("div",null,"G")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:a,onChange:function(e){return d(r,o,e)}}),ft("div",null,"B")),ft("div",{css:va.input},ft(sa,{min:0,max:100,value:i,onChange:function(e){return p(e)}}),ft("div",null,"A"))))};ga.defaultProps={initialValue:"#5e72e4"};var va={picker:{fontFamily:"'Helvetica Neue',Helvetica,Arial,sans-serif",width:230,"*":{userSelect:"none"}},selector:{position:"relative",width:230,height:230},gradientWhite:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%)"},gradientDark:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to bottom, transparent 0%, #000000 100%)"},inputs:{display:"flex",justifyContent:"space-between",width:"100%"},input:{textAlign:"center",fontSize:13,fontWeight:"normal",color:"#000",input:{width:30,textAlign:"center"},div:{marginTop:4}}};function ba(e){var t,n=(e=e.toLowerCase()).substr(0,7),r=ua(n),o=r.r,a=r.g,i=r.b,s=da(o,a,i),u=e.length>7?(t=e.substr(7),Math.round(parseInt("0x"+t,16)/255*100)):100;return wt({},s,{r:o,g:a,b:i,a:u,hex:n,rgba:pa(o,a,i,u)})}var ya={name:"j4ndc3",styles:"position:relative;display:inline-block;box-sizing:border-box;width:49px;height:24px;padding:4px;background-color:#ffffff;border:1px solid #bebebe;border-radius:3px;user-select:none;"},wa={name:"trkpwz",styles:"display:block;width:100%;height:100%;cursor:pointer;"},Ca=function(t){var n=t.initialValue,r=t.onChange,o=t.placement,a=bt(t,["initialValue","onChange","placement"]),i=(0,e.useState)(ba(n)),s=i[0],u=i[1];function c(e){r&&(u(e),r(e))}return(0,e.useEffect)((function(){c(ba(n))}),[n]),ft(zo,{placement:o,body:ft(ga,{color:s,onChange:c})},ft("span",wt({},a,{css:ya}),ft("span",{css:wa,style:{backgroundColor:s.rgba}})))};Ca.defaultProps={placement:"bottom"};var Oa=Ca,xa=n(953),Da=n(73),ka=n.n(Da),Sa=n(251),Ea=n.n(Sa);function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _a,Pa=function(e){var t=function(){this.parser=new i},n=t.prototype;function r(e,t){for(var n=[],r=t,o=e.length;r<o;r++)n.push(e[r]);return n}var o=function(){var e=function n(e,t,r){this.prefix=(e||"")+":",this.level=t||n.NONE,this.out=r||window.console&&window.console.log.bind(window.console),this.warn=this.log.bind(this,n.WARN),this.info=this.log.bind(this,n.INFO),this.debug=this.log.bind(this,n.DEBUG)},t=e.prototype;return e.DEBUG=1,e.INFO=2,e.WARN=3,e.NONE=4,t.log=function(e,t){if(e>=this.level&&"function"==typeof this.out){var n=r(arguments,2);n=[this.prefix+t].concat(n),this.out.apply(this,n)}},e}(),a=function(){var e=function(e){this.obj=e||{}},t=e.prototype;return t.get=function(e){var t=this.obj[e];return t===undefined&&this.parent&&(t=this.parent.get(e)),t},t.set=function(e,t){return this.obj[e]=t,this.get(e)},e}(),i=function(){var e=new o("PARSER",o.NONE),t=new o("EMIT",o.NONE),n=function(){};function i(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function s(e,t,n){if(1===n.length&&"object"===Ma(n[0])){var r=n[0];t.forEach((function(t){e[t]=r[t]}))}else for(var o=0,i=t.length,s=n.length;o<i&&o<s;o++)e[t[o]]=n[o];delete e.runtimeError;var u=new a(e);return u.parent=l,u}function u(n){if(n!==undefined)switch(n.id){case"Expr":case"Tuple":return u(n.expr);case"OpenTuple":return n.expr?f(n.expr):f(n.left,n.right);case"Assign":return n.expr?u(n.expr):(s=n.left,l=u(l=n.right),function(e){return e.set(s.value,l.apply(null,arguments))});case"Sums":case"Prod":case"Power":return n.expr?u(n.expr):function(t,n,o){n=u(n),o=u(o);var a=undefined;function i(e){var t=r(arguments,1);return e(n.apply(this,t),o.apply(this,t))}switch(t.id){case"Plus":return i.bind(a,(function(e,t){return+e+t}));case"Minus":return i.bind(a,(function(e,t){return e-t}));case"Mul":return i.bind(a,(function(e,t){return e*t}));case"Div":return i.bind(a,(function(e,t){return e/t}));case"Mod":return i.bind(a,(function(e,t){return e%t}));case"Pow":return i.bind(a,(function(e,t){return Math.pow(e,t)}))}return e.warn("No emitter for %o",t),function(){}}(n.op,n.left,n.right);case"Unary":return n.expr?u(n.expr):function(t,n){switch(n=u(n),t.id){case"Plus":return function(){return n.apply(this,arguments)};case"Minus":return function(){return-n.apply(this,arguments)}}return e.warn("No emitter for %o",t),function(){}}(n.op,n.right);case"Call":return o=n.token,a=n.args,i=c(a),a=u(a),function(e){var t=e.get(o.value);if("function"==typeof t){var n=a.apply(null,arguments);return i||(n=[n]),t.apply(null,n)}e.set("runtimeError",{text:'Call to undefined "'+o.value+'"'})};case"Parens":return u(n.expr);case"Value":return u(n.token);case"Number":return function(){return n.value};case"Var":return function(e){return e.get(n.value)};default:t.warn("No emitter for %o",n)}var o,a,i,s,l;return function(){}}function c(e){if(e!==undefined)switch(e.id){case"Expr":case"Tuple":return c(e.expr);case"OpenTuple":return!0}return!1}function f(e,t){if(e===undefined)return function(){return[]};var n="OpenTuple"===e.id;return e=u(e),t===undefined?function(){return[e.apply(null,arguments)]}:(t=u(t),n?function(){var n=e.apply(null,arguments);return n.push(t.apply(null,arguments)),n}:function(){return[e.apply(null,arguments),t.apply(null,arguments)]})}n.prototype.parse=function(n){this.error=undefined;var r=function(e){var t,n,r=[],o=0;for(;(t=k(e,o))!==undefined;)t.error?n=t.error:"Space"!==t.id&&r.push(t),o=t.end;return{tokens:r,error:n}}(n),o=function(t){for(var n={tokens:t,pos:0,stack:[],scope:{}},r=0,o=t.length,a=!1;!a&&r<=o;){var i=t[r],s=n.stack[n.stack.length-1],u=(s?s.id:"(empty)")+":"+(i?i.id:"(eof)");switch(d[u]){case 1:e.debug("shift %s %o",u,h(n.stack)),n=m(n,i),r++;break;case 2:e.debug("reduce %s %o",u,h(n.stack)),n=v(n,i);break;case 0:e.debug("done %s %o",u,h(n.stack)),a=!0;break;default:if(i!==undefined){var c={pos:i.pos,text:'Unexpected token "'+i.string+'"'};n.error=c,e.warn("%s at %d (%s)",c.text,c.pos,u)}else{c={text:"Unexpected EOF",pos:n.pos+1};n.error=c,e.warn("%s (%s)",c.text,u)}a=!0}}if(!n.error&&n.stack.length>1){var l=b(n,1);c={pos:l.pos||0,text:"LParen"===l.id?"Open paren":"Invalid expression"};n.error=c,e.warn("%s at %d (eof)",c.text,c.pos)}return{root:n.stack.pop(),vars:Object.keys(n.scope),error:n.error}}(r.tokens);t.debug("AST: %o",o);var a,c,l=(a=u(o.root),function(e){try{return a.apply(null,arguments)}catch(t){e.set("runtimeError",{text:""+t})}});return c={},{error:r.error||o.error,args:i(o.vars),eval:function(){return l(s(c,o.vars,arguments))},set scope(e){c=e||{}},get scope(){return c}}};var d={};function p(e,t,n){for(var r=0,o=t.length;r<o;r++)for(var a=0,i=n.length;a<i;a++){var s=t[r]+":"+n[a];d[s]=e}}function h(t){return e.level>=o.DEBUG?t.map((function(e){return e.id})):""}function m(e,t){return g(e,0,t)}function g(e,t,n){var r=e.stack.slice(0,e.stack.length-t),o=e.pos;return n&&(r.push(n),n.pos!==undefined&&(o=n.pos)),{tokens:e.tokens,pos:o,stack:r,scope:e.scope,error:e.error}}function v(t,n){switch(b(t,0).id){case"Tuple":return function(e){var t=b(e,0);return g(e,1,{id:"Expr",expr:t})}(t);case"OpenTuple":case"Comma":return y(t,n);case"Assign":case"Sums":return function(e,t){var n=b(e,1),r=b(e,0);if(r!==undefined&&"Sums"===r.id)return w(e,["Eq"],"Assign");if(n!==undefined&&"Eq"===n.id)return w(e,["Eq"],"Assign");return y(e,t)}(t,n);case"Prod":return function(e){return w(e,["Plus","Minus"],"Sums")}(t);case"Power":case"Unary":return function(e){var t=b(e,1),n=b(e,0);if(n!==undefined&&"Unary"===n.id){var r=O(e,!1);return r||g(e,1,{id:"Power",expr:n})}if(n!==undefined&&"Power"===n.id&&t!==undefined&&"Pow"===t.id)return w(e,["Pow"],"Power");return function(e){return w(e,["Mul","Div","Mod"],"Prod")}(e)}(t);case"Call":case"Parens":return O(t);case"Value":case"RParen":return function(t){var n=b(t,3),r=b(t,2),o=b(t,1),a=b(t,0),i={id:"Parens"};if("RParen"===a.id){if(o!==undefined&&"LParen"===o.id)return r!==undefined&&"Var"===r.id?g(t,3,i={id:"Call",token:r}):g(t,2,i={id:"OpenTuple"});if(r===undefined||"LParen"!==r.id){var s={pos:a.pos,text:"Unmatched paren"};return t.error=s,e.warn("%s at %d",s.text,s.pos),g(t,1)}return n!==undefined&&"Var"===n.id?g(t,4,i={id:"Call",token:n,args:o}):(i.expr=o,g(t,3,i))}return i.expr=a,g(t,1,i)}(t);case"Number":case"Var":return function(e){var t=b(e,0);e=g(e,1,{id:"Value",token:t}),"Var"===t.id&&(e.scope[t.value]=t);return e}(t)}return t}function b(e,t){return t===undefined&&(t=0),e.stack[e.stack.length-(t+1)]}function y(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"OpenTuple"};return"Comma"===o.id?g(e,2,r):r!==undefined&&"Comma"===r.id?(a.op=r,a.left=n,a.right=o,g(e,3,a)):t!==undefined&&"Comma"===t.id?(a.expr=o,g(e,1,a)):g(e,1,a={id:"Tuple",expr:o})}function w(e,t,n){var r=b(e,2),o=b(e,1),a=b(e,0),i={id:n};return o!==undefined&&-1!==t.indexOf(o.id)?(i.op=o,i.left=r,i.right=a,g(e,3,i)):(i.expr=a,g(e,1,i))}p(1,["(empty)","Plus","Minus","Mul","Div","Mod","Pow","LParen","Eq","Comma"],["Plus","Minus","LParen","Number","Var"]),p(1,["Var"],["LParen","Eq"]),p(1,["Sums"],["Plus","Minus"]),p(1,["Prod"],["Mul","Div","Mod"]),p(1,["Unary"],["Pow"]),p(1,["OpenTuple","Tuple"],["Comma"]),p(1,["LParen","Expr"],["RParen"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign"],["Comma"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod"],["Plus","Minus"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power"],["Mul","Div","Mod"]),p(2,["Number","Var","Value","RParen","Parens","Call"],["Pow"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign","Comma","OpenTuple","Tuple"],["RParen","(eof)"]),p(0,["(empty)","Expr"],["(eof)"]);var C=["Pow","Mul","Div","Mod","Plus","Minus","Eq","Comma","LParen"];function O(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"Unary"};return r===undefined||"Minus"!==r.id&&"Plus"!==r.id||n!==undefined&&-1===C.indexOf(n.id)?!1!==t?(a.expr=o,g(e,1,a)):void 0:(a.op=r,a.right=o,g(e,2,a))}var x=/^(?:(\s+)|((?:\d+e[-+]?\d+|\d+(?:\.\d*)?|\d*\.\d+))|(\+)|(\-)|(\*)|(\/)|(%)|(\^)|(\()|(\))|(=)|(,)|([a-zA-Z]\w*))/i,D=["Space","Number","Plus","Minus","Mul","Div","Mod","Pow","LParen","RParen","Eq","Comma","Var"];function k(t,n){var r=t.slice(n);if(0!==r.length){var o=x.exec(r);if(null===o){var a=function(e,t){for(var n=e.length;t<n;t++){var r=e.slice(t);if(0===r.length)break;if(null!==x.exec(r))break}return t}(t,n),i={pos:n,text:'Unexpected symbol "'+t.slice(n,a)+'"'};return e.warn("%s at %d",i.text,i.pos),{error:i,end:a}}for(var s=0,u=D.length;s<u;s++){var c=o[s+1];if(c!==undefined)return{id:D[s],string:c,pos:n,end:n+c.length,value:E(D[s],c)}}}}var S=Number.parseFloat||parseFloat;function E(e,t){switch(e){case"Number":return S(t);default:return t}}return n}(),s=function(e,t){return Array.isArray(e)?function(e,t){return e.length?e.reduce((function(e,n){return"decrease_first_value"===t?Number(n)-Number(e):Number(e)+Number(n)})):NaN}(e,t):Number(e)};var u,c,l=((c=new a).set("pi",Math.PI),c.set("e",Math.E),c.set("inf",Number.POSITIVE_INFINITY),u=Math,Object.getOwnPropertyNames(Math).forEach((function(e){c.set(e,u[e])})),c);return n.parse=function(e,t,n){e=(e=e.replace(/\[|\]|-/g,"__")).replace(/\s+(__|–)\s+/g," - "),t=void 0===t?{}:t;var r=/\[|\]|-/g,o={};for(var a in t)o[a.replace(r,"__")]=s(t[a],n);var i=this.parser.parse(e);return i.scope.numberFormat=function(e){if(!Number.isNaN(e))return(new Intl.NumberFormat).format(e)},i.scope.floor=function(e){return Math.floor(e)},i.scope.round=function(e){return Math.round(e)},i.scope.float=function(e,t){return t=void 0===t?0:t,e.toFixed(t)},i.scope.ceil=function(e){return Math.ceil(e)},i.eval(o)},t}(),ja="";_a=jQuery,Element.prototype.getElSettings=function(e){if("settings"in this.dataset)return JSON.parse(this.dataset.settings.replace(/(&quot\;)/g,'"'))[e]||""},ja=function(e,t){var n=e.find(".mf-multistep-container");if(n.length){var r=[];n.find(".elementor-top-section").each((function(e){var t=this.getElSettings("metform_multistep_settings_title")||"Step-"+_a(this).data("id"),o=this.getElSettings("metform_multistep_settings_icon"),a="",i="";o&&(a="svg"===o.library?'<img class="metform-step-svg-icon" src="'+o.value.url+'" alt="SVG Icon" />':o.value.length?'<i class="metform-step-icon '+o.value+'"></i>':""),0===e?(i="active",n.hasClass("mf_slide_direction_vertical")&&_a(this).parents(".elementor-section-wrap").css("height",_a(this).height())):1===e&&(i="next"),t&&r.push("<li class='metform-step-item "+i+"' id='metform-step-item-"+_a(this).attr("data-id")+"' data-value='"+_a(this).attr("data-id")+"'>"+a+'<span class="metform-step-title">'+t+"</span></li>")})),r&&(n.find(".metform-form-content > .elementor").before("<ul class='metform-steps'>"+r.join("")+"</ul>"),n.find(".elementor-top-section:first-of-type").addClass("active"),n.find(".mf-progress-step-bar span").attr("data-portion",100/r.length).css("width",100/r.length+"%"))}n.find(".elementor-top-section .metform-btn").attr("type","button"),n.find(".mf-input").on("keypress",(function(e){13!==e.which||_a(this).hasClass("mf-textarea")||n.find(".metform-step-item.next").trigger("click")})),n.find(".elementor-top-section").on("keydown",(function(e){var t=_a(this),n=_a(":focus");if(9==e.which)if(t.hasClass("active")){var r=t.find(":focusable"),o=r.index(n),a=r.eq(o),i=r.eq(r.length-1);a.is(i)&&(a.focus(),e.preventDefault())}else n.focus(),e.preventDefault()})),n.find(".metform-steps").on("click",".metform-step-item",(function(){var e,r=this,o=_a(this).parents(".mf-form-wrapper").eq(0),a=o.find(".elementor-top-section.active .mf-input"),i=(_a("body").hasClass("rtl")?100:-100)*_a(this).index()+"%",s=(o.find(".mf-progress-step-bar").attr("data-total"),_a(this.nextElementSibling).hasClass("active")),u=[];a.each((function(){var e=_a(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),e=function(e){e&&(o.find(".elementor-top-section.active .metform-btn").attr("type","button"),(_a(r).hasClass("prev")||_a(r).hasClass("next"))&&(_a(r).addClass("active").removeClass("next prev").prev().addClass("prev").siblings().removeClass("prev").end().end().next().addClass("next").siblings().removeClass("next").end().end().siblings().removeClass("active"),o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').addClass("active").siblings().removeClass("active"),n.hasClass("mf_slide_direction_vertical")?(o.find(".elementor-section-wrap .elementor-top-section").css({transform:"translateY("+i+")"}),o.find(".elementor-section-wrap").css("height","calc("+o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').height()+"px)")):o.find(".elementor-section-wrap").css({transform:"translateX("+i+")"})),o.find(".mf-progress-step-bar span").css("width",(_a(r).index()+1)*o.find(".mf-progress-step-bar span").attr("data-portion")+"%"),o.find(".elementor-top-section.active").find(".metform-submit-btn").length&&setTimeout((function(){o.find(".elementor-top-section.active").find(".metform-submit-btn").attr("type","submit")}),0))},s?e(!0):t.doValidate(u).then(e)}))};var Ta=function(){document.querySelectorAll(".mf-input-map-location").forEach((function(e){if("undefined"!=typeof google){var t=new google.maps.places.Autocomplete(e,{types:["geocode"]});google.maps.event.addListener(t,"place_changed",(function(){e.dispatchEvent(new Event("input",{bubbles:!0}))}))}}))};window.mfMapLocation=Ta;var Aa=function(e,t){return React.createElement("div",{className:"mf-main-response-wrap ".concat(t," mf-response-msg-wrap"),"data-show":"1"},React.createElement("div",{className:"mf-response-msg"},React.createElement("i",{className:"mf-success-icon ".concat(e)}),React.createElement("p",null,"This is a dummy success message!!.")))},Ia=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=[].concat(t)[2],o=[].concat(t)[3],a=[].concat(t)[4],i=[].concat(t)[5],s=r.errors,u=r.success,c=r.form_res,l=function(){return s.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-alert-icon ".concat(a)}),React.createElement("p",null,s.map((function(e){return e+" "}))," ")):""},f=function(){return u.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-success-icon ".concat(o)}),React.createElement("p",null,u)):""};return React.createElement("div",{className:"mf-main-response-wrap ".concat(i," mf-response-msg-wrap").concat(s.length>0?" mf-error-res":""),"data-show":c},React.createElement("div",{className:"mf-response-msg"},l(),f()))};function Ra(e){return(Ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Na(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)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(u){s=!0,o=u}finally{try{i||null==n["return"]||n["return"]()}finally{if(s)throw o}}return a}(e,t)||Va(e,t)||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.")}()}function La(e){return function(e){if(Array.isArray(e))return Fa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Va(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Va(e,t){if(e){if("string"==typeof e)return Fa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fa(e,t):void 0}}function Fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ha(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ua(e,t){return(Ua=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wa(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=Ya(e);if(t){var o=Ya(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return za(this,n)}}function za(e,t){return!t||"object"!==Ra(t)&&"function"!=typeof t?Ba(e):t}function Ba(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ya(e){return(Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qa(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 Ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){$a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ga=new(Ea())({tolerance:200}),Ja=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ua(e,t)}(a,React.Component);var t,n,r,o=Wa(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),$a(Ba(t=o.call(this,e)),"handleFormSubmit",(function(e,n){var r;n.preventDefault();var o=t.state,a=o.formData,i=o.defaultData,s=t.props,u=s.action,c=s.wpNonce,l=s.validation,f=l.reset,d=new FormData,p=Ka(Ka({},i),a);for(var h in jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/before_submit",p),jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!0),p)d.append(h,p[h]);r="mf_success_duration"in t.props.widgetSettings?t.props.widgetSettings.mf_success_duration:5,r*=1e3,fetch(u,{method:"POST",headers:{"X-WP-Nonce":c},body:d}).then((function(e){return e.json()})).then((function(e){if(e.status?(t.setState({success:e.data.message?e.data.message:"",form_res:1},(function(){t.resetReCAPTCHA(),l.clearErrors("g-recaptcha-response")})),setTimeout((function(){e.status&&e.data.hide_form&&t.formRef.current.setAttribute("class","mf-close-this-form")}),r-600),setTimeout((function(){e.status&&e.data.hide_form&&(t.formRef.current.innerHTML='<h2 style="text-align:center">Thank You.</h2>')}),r)):t.setState({errors:La(e.error),form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),e.data.store&&"stripe"===e.data.store["mf-payment-method"]&&t.stripePayment(e),jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/after_submit",{data:p,response:e}),e.status&&e.data.redirect_to){var n=e.data.entry_id,o=e.data.redirect_to;n&&""!==n&&(o+=(o.includes("?")?"&":"?")+"mf_entry_id="+n),setTimeout((function(){window.location.href=o}),1500)}setTimeout((function(){t.setState({success:"",errors:[],form_res:0})}),r)}))["catch"]((function(e){t.setState({errors:["Something went wrong"],form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),console.error(e.message),setTimeout((function(){t.setState({errors:[],form_res:0})}),r)}))["finally"]((function(){if(jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!1),!t.props.stopVerticalEffect){var e=t.mfRefs.mainForm.querySelector(".mf-main-response-wrap");Ga.move(e)}setTimeout((function(){t.setState({formData:{}})}),350),f()}))})),$a(Ba(t),"handleCalculations",(function(e,n){var r=e.target.calc_behavior,o=ReactDOM.findDOMNode(Ba(t)),a=o.length?o.querySelectorAll(".mf-input-calculation"):[],i=Ka({},n);for(var s in i)if(Array.isArray(i[s])){var u=i[s].map((function(e){return isNaN(e)?e:Number(e)}));i[s]=u}a.forEach((function(e){var o=parseInt(e.dataset.fraction);o=o<0||o>99?2:o;var a=t.MfMathCalc.parse(e.dataset.equation,i,r)||0;n[e.name]=a.toFixed(o)}))})),$a(Ba(t),"handleConditionals",(function(e){var n=t.state,r=n.formData,o=n.defaultData,a=t.props,i=a.widgets,s=a.conditionalRefs,u=a.validation,c=u.getValues,l=u.setValue;s.forEach((function(e){(e=i[e]).list=e.settings.mf_conditional_logic_form_list,e.operator=e.settings.mf_conditional_logic_form_and_or_operators,e.action=e.settings.mf_conditional_logic_form_action,e.validatedValues=[],e.isValidated=!1,e.list.forEach((function(n){n.name=n.mf_conditional_logic_form_if,n.value=r[n.name]||o[n.name]||"",n.match=n.mf_conditional_logic_form_value,n.operator=t.decodeEntities(n.mf_conditional_logic_form_comparison_operators),Array.isArray(n.value)&&-1!==n.value.indexOf(n.match)&&(n.value=n.value[n.value.indexOf(n.match)]),e.validatedValues.push(function(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;case"/":return e/t;case"<":return e<t;case"<=":return e<=t;case">":return e>t;case">=":return e>=t;case"==":return e==t;case"!=":return e!=t;case"not-empty":return void 0!==e&&String(e).length>0;case"empty":return void 0!==e&&0==String(e).length;default:return!1}}(n.value,n.match,n.operator))})),e.isValidated=e.validatedValues.some((function(e){return!0===e})),"and"===e.operator&&(e.isValidated=e.validatedValues.every((function(e){return!0===e})));var n=e.settings.mf_input_name;e.isValidated&&"show"===e.action?(e.el.setAttribute("mf-condition-hidden",!1),e.el.classList.remove("mf-condition--hidden"),"noval"===c(n)&&l(n,undefined)):(e.el.setAttribute("mf-condition-hidden",!0),e.el.classList.add("mf-condition--hidden"),Object.values(e.el.classList).indexOf("elementor-widget-mf-select")>-1&&l(n,"noval"))}))})),$a(Ba(t),"getValue",(function(e){return e in t.state.formData?t.state.formData[e]:""})),$a(Ba(t),"getFileLabel",(function(e,n){var r=t.state.formData[e];return r?r.name:t.decodeEntities(n)})),$a(Ba(t),"getInputLabel",(function(e,n){var r=ReactDOM.findDOMNode(Ba(t)).querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():n})),$a(Ba(t),"decodeEntities",(function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value})),$a(Ba(t),"setDefault",(function(e){if(null!==e){var n=e.name,r=e.value,o=t.state.defaultData;o[n]=r,t.setState({defaultData:o})}})),$a(Ba(t),"isNumeric",(function(e){return!isNaN(parseFloat(e))&&isFinite(e)})),$a(Ba(t),"setStateValue",(function(e,n){t.setState({name:e,value:n})})),$a(Ba(t),"handleCardNumber",(function(e){var n=e.target,r=n.name,o=n.value,a=t.state.formData,i=a[r+"--type"],s=o.replace(/\s+/g,"").replace(/[^0-9]/gi,""),u=a[r],c="amex"===i?5:4,l="amex"===i?15:16;if(new RegExp("^[0-9]*$").test(s)&&s.length<=l){for(var f=s.match(/\d{4,16}/g),d=f&&f[0]||"",p=[],h=0,m=d.length;h<m;h+=c)p.push(d.substring(h,h+c));p.length&&(s=p.join(" ").trim()),u=s}t.setValue(r,u,!0),t.handleChange(e),e.target.value=u,t.handleCardType(s,e.target.name)})),$a(Ba(t),"handleCardType",(function(e,n){var r="blank",o=n+"--type";r=e.startsWith("34")||e.startsWith("37")?"amex":e.startsWith("4")?"visa":e.startsWith("5")?"master":e.startsWith("6")?"discover":"custom";var a=t.state.formData;a[o]=r,t.setState({formData:a})})),$a(Ba(t),"handleCardMonth",(function(e){var n=e.target,r=n.name,o=n.value,a=parseInt(o.replace(/-/g,""))||"",i=parseInt(a.toString().substring(0,1))||"";1<i&&i<10?t.setValue(r,i,!0):t.setValue(r,a>12?12:a,!0),t.handleChange(e)})),$a(Ba(t),"handleSubVal",(function(e,n){var r=e.target,o=r.name,a=r.value,i=parseInt(a.replace(/-/g,"").substring(0,n))||"";t.setValue(o,i,!0),e.target.value=i,t.handleChange(e)})),$a(Ba(t),"handleChange",(function(e){var n=e.target,r=n.name,o=n.value,a=n.type,i=t.state.formData;i[r]="number"===a&&"mobile"!==a?Number(o):o,t.handleCalculations(e,i),t.setState({formData:i});var s=e.target;s.className!==undefined&&-1!==s.className.indexOf("mf-repeater-type-simple")||t.trigger(r)})),$a(Ba(t),"handleDateTime",(function(e){var n=e.target,r=n.name,o=n.value;t.setValue(r,o,!0),t.handleChange(e)})),$a(Ba(t),"handleSelect",(function(e,n){var r=n.name,o=e.value;e.target={name:n.name,value:o},t.setValue(r,o,!0),t.handleChange(e)})),$a(Ba(t),"handleRadioDefault",(function(e){var n=t.state.formData;if(e&&e.dataset.checked){var r=e.name;e.setAttribute("checked",!0),r in n||setTimeout((function(){t.handleChange({target:{name:r,value:e.value}})}),300)}})),$a(Ba(t),"handleCheckbox",(function(e,n){var r,o="defaultvalue"!==e?e.target:n,a=t.state.formData[o.name];Array.isArray(a)||(a=[]),r=a.indexOf(o.value),o.checked&&-1===r?a.push(o.value):a.splice(r,1),t.handleChange({target:{name:o.name,value:a}})})),$a(Ba(t),"handleSwitch",(function(e){e.target.value=e.target.nextElementSibling.getAttribute("data-disable"),e.target.checked&&(e.target.value=e.target.nextElementSibling.getAttribute("data-enable")),t.handleChange(e)})),$a(Ba(t),"handleOptin",(function(e){e.target.checked||(e.target.value=""),t.handleChange(e)})),$a(Ba(t),"handleFileUpload",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.files[0]}})})),$a(Ba(t),"handleMultiStepBtns",(function(e){var n=jQuery(e.currentTarget).parents(".elementor-top-section.active"),r=e.currentTarget.dataset.direction,o=n.prev()[0]?n.prev()[0].dataset:"",a=n.next()[0]?n.next()[0].dataset:"",i=("next"===r?a:o).id;if(!i)return!1;var s=jQuery(e.currentTarget).parents(".metform-form-content").find('.metform-step-item[data-value="'+i+'"]'),u=[];n.find(".mf-input").each((function(){var e=jQuery(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),jQuery(e.currentTarget).parents(".mf-scroll-top-yes").length&&Ga.move(t.mfRefs.mainForm),"next"===r?t.trigger(u).then((function(e){e&&s.trigger("click")})):s.trigger("click")})),$a(Ba(t),"handleImagePreview",(function(e){var t=e.target,n=e.clientX,r=e.clientY,o=e.type,a=t.nextElementSibling;if(a){if("mouseleave"===o)return a.style.opacity="",void(a.style.visibility="hidden");a.style.opacity||(a.style.opacity="1",a.style.visibility="visible"),a.offsetHeight+r>window.innerHeight?(a.className="mf-select-hover-image mf-preview-top",r-=45):a.className="mf-select-hover-image",a.style.top=r+30+"px",a.style.left=n-28+"px"}})),$a(Ba(t),"handleSignature",(function(e){e.target={name:e.props.name,value:e.toDataURL()},t.handleChange(e),t.setValue(e.target.name,e.target.value,!0)})),$a(Ba(t),"refreshCaptcha",(function(e){t.setState({captcha_img:t.state.captcha_path+Date.now()})})),$a(Ba(t),"resetReCAPTCHA",(function(){t.getValue("mf-captcha-challenge")&&t.refreshCaptcha(),t.getValue("g-recaptcha-response")&&t.handleReCAPTCHA("reset")})),$a(Ba(t),"handleReCAPTCHA",(function(e){"reset"===e&&(e="",grecaptcha.reset());var n={target:{name:"g-recaptcha-response",value:(e=e||"")||""}};t.handleChange(n)})),$a(Ba(t),"activateValidation",(function(e,n,r){var o,a,i=t.state.formData,s=t.props.validation.register,u=e.type,c=e.required,l=e.message,f=e.minLength,d=e.maxLength,p=e.expression,h={};if(n&&c&&n.closest(".elementor-element")&&"true"===n.closest(".elementor-element").getAttribute("mf-condition-hidden"))h.required=!1;else{if((u&&"none"!==u||c)&&(h.required=!!c&&l),n&&n.classList.contains("mf-credit-card-number")&&(i[n.name]&&"amex"===i[n.name+"--type"]?h.minLength=h.maxLength={value:17,message:l}:h.minLength=h.maxLength={value:19,message:l}),e.inputType&&"credit_card_date"===e.inputType&&(f&&(h.min={value:f,message:l}),d&&(h.max={value:d,message:l})),n&&"file"===n.type&&n.files.length>0){var m=e.file_types,g=e.size_limit,v=n.files[0].name.slice((Math.max(0,n.files[0].name.lastIndexOf(".")-1)||Infinity)+1);h.validate={fileType:function(){return!(m!==[]&&!e.file_types.includes(v))||e.type_message},fileSize:function(){return!(-1!==g&&n.files[0].size>1024*parseInt(g))||e.limit_message}}}n&&"email"===n.type?h.pattern={value:/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,message:e.emailMessage}:n&&"url"===n.type&&(h.pattern={value:/^(http[s]?:\/\/(www\.)?|ftp:\/\/(www\.)?|www\.){1}([0-9A-Za-z-\.@:%_\+~#=]+)+((\.[a-zA-Z]{2,3})+)(\/(.)*)?(\?(.)*)?/g,message:e.urlMessage}),"by_character_length"===u?(o=n&&"number"===n.type?"min":"minLength",a=n&&"number"===n.type?"max":"maxLength",f&&(h[o]={value:f,message:l}),d&&(h[a]={value:d,message:l})):"by_word_length"===u?h.validate={wordLength:function(e){return t.handleWordValidate(e,f,d,l)}}:"by_expresssion_based"===u&&(h.validate={expression:function(e){return t.handleExpressionValidate(e,p,l)}})}return"function"==typeof r&&r(),n?s(n,h):h})),$a(Ba(t),"handleWordValidate",(function(e,t,n,r){var o=e.trim().split(/\s+/).length;return!!(n?o>=t&&o<=n:o>=t)||r})),$a(Ba(t),"handleExpressionValidate",(function(e,t,n){if(t)return!!new RegExp(t).test(e)||n})),$a(Ba(t),"colorChange",(function(e,n){t.handleChange({target:{name:n,value:e.hex}})})),$a(Ba(t),"colorChangeInput",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.value}})})),$a(Ba(t),"multiSelectChange",(function(e,n){var r=[];null!==e&&e.filter((function(e){return r.push(e.value)})),t.handleChange({target:{name:n,value:r}})})),$a(Ba(t),"handleRangeChange",(function(e,n){t.handleChange({target:{name:n,value:e.toFixed(2)}}),t.props.validation.setValue(n,e.toFixed(2))})),$a(Ba(t),"handleMultipileRangeChange",(function(e,n){t.handleChange({target:{name:n,value:[e.min,e.max],calc_behavior:"decrease_first_value"}})})),$a(Ba(t),"handleOnChangePhoneInput",(function(e,n){t.handleChange({target:{name:n,value:e,type:"mobile"}})})),t.state={formData:{},defaultData:{form_nonce:e.formNonce},recaptcha_uid:e.formId+"_"+Math.random().toString(36).substring(5,10),result_not_foud:"",total_result:0,form_res:0,errors:[],success:"",config:{}},t.MfMathCalc=new Pa,t.setValue=e.validation.setValue,t.trigger=e.validation.trigger,t.formRef=React.createRef(),t.mfRefs={},t.checkboxArr=[],t.checkboxReceive=!0,window["handleReCAPTCHA_"+t.state.recaptcha_uid]=t.handleReCAPTCHA;var n=e.templateEl.innerHTML;return t.jsx=new Function("parent","props","state","validation","register","setValue","html",n),e.templateEl.remove(),t}return t=a,(n=[{key:"stripePayment",value:function(e){var t,n=e.data.payment_data,r=this;n.keys&&""!==n.keys?((t=StripeCheckout.configure({key:n.keys,image:n.image_url,locale:"auto",token:function(t){var o;t.id?(n.stripe_token=t.id,o={sandbox:n.sandbox},fetch(e.data.ajax_stripe+"&token="+t.id,{headers:{"X-WP-Nonce":r.props.wpNonce},data:o}).then((function(e){return e.json()})).then((function(e){e.status?window.location.href=e.redirect_url:alert(e)}))):alert("Sorry!! Payment token invalid")}})).open({name:String(n.name_post),description:" Form No.: "+String(n.description),amount:100*Number(n.amount),currency:n.currency_code}),window.addEventListener("popstate",(function(){t.close()}))):alert("Please set your Stripe Keys in form settings.")}},{key:"handleCheckboxDefault",value:function(e){var t=this;e&&e.dataset.checked&&this.checkboxReceive&&-1===this.checkboxArr.indexOf(e.value)&&(this.checkboxReceive=!1,e.setAttribute("checked",!0),this.checkboxArr.push(e.value),setTimeout((function(){t.handleCheckbox("defaultvalue",e)}),500))}},{key:"renderReCaptcha",value:function(e,t){var n=window.grecaptcha,r=document.querySelectorAll(".g-recaptcha");r.length&&n.render("g-recaptcha",{sitekey:r[0].dataset.sitekey})}},{key:"componentDidUpdate",value:function(){var e,t=this.props.validation.formState.isValid;this.handleConditionals(),t||this.props.stopVerticalEffect||(e=this.mfRefs.mainForm.querySelector(".mf-error-message"))&&Ga.move(e.parentElement.parentElement)}},{key:"componentDidMount",value:function(e){var t=this,n=ReactDOM.findDOMNode(this),r=n.length?n.querySelectorAll(".elementor-element"):[];this.mfRefs.mainForm=n;var o=n.getElementsByTagName("input");for(var a in o)"email"===o[a].type&&""!==o[a].value&&this.setDefault(o[a]);r.forEach((function(e){var n=e.getAttribute("data-element_type"),r=e.getAttribute("data-widget_type"),o=null===r?n:r;if(jQuery(window).on("elementor/frontend/init",(function(){window.elementorFrontend.hooks.doAction("frontend/element_ready/"+o,jQuery(e))})),e.className.search("elementor-widget-mf-")>0&&e.dataset.settings){var a=JSON.parse(e.dataset.settings.replace(/&quot;/g,'"')),i=a.mf_input_name+"-"+e.getAttribute("data-id");t.props.widgets[i]={el:e,settings:a},a.mf_conditional_logic_form_enable&&t.props.conditionalRefs.push(i)}})),window.onload=function(e){t.renderReCaptcha(n,e)},this.handleConditionals(),this.props.formId&&fetch(mf.restURI+this.props.formId,{method:"POST",headers:{"X-WP-Nonce":this.props.wpNonce}}),Ta(),ja(jQuery(n).parents(".mf-multistep-container").parent(),{doValidate:this.trigger}),jQuery(n).on("change",".mf-repeater-field, .mf-repater-range-input, .mf-repeater-checkbox",this.handleChange);var i=this.state.formData;for(var s in jQuery(n).trigger("metform/after_form_load",i),i)this.setValue(s,i[s])}},{key:"render",value:function(){var e=this,t=e.props,n=e.state,r=t.validation,o=r.register,a=r.setValue,i=htm.bind(React.createElement);return React.createElement(React.Fragment,null,this.jsx(e,t,n,r,o,a,i))}}])&&Ha(t.prototype,n),r&&Ha(t,r),a}(),Qa=function(e){var t=Na(e.find(".mf-form-wrapper"),1)[0];if(t){var n,r=t.dataset,o=r.action,a=r.wpNonce,i=r.formNonce,s=r.formId,u=r.stopVerticalEffect,c=Na(e.find(".mf-template"),1)[0];if(c)ReactDOM.render(React.createElement((n=Ja,function(e){var t=Ka(Ka({},be()),{},{ErrorMessage:Ce});return React.createElement(n,Ka({validation:t},e))}),{formId:s,templateEl:c,action:o,wpNonce:a,formNonce:i,widgets:{},conditionalRefs:[],stopVerticalEffect:u,widgetSettings:e.data("settings")||{},Select:xr,InputColor:Oa,Flatpickr:xa.Z,InputRange:kr(),ReactPhoneInput:Er(),SignaturePad:ka(),moveTo:Ga,ResponseDummyMarkup:Aa,SubmitResponseMarkup:Ia}),t)}};jQuery(window).on("elementor/frontend/init",(function(){var e=["metform","shortcode","text-editor"];"metform-form"!==mf.postType||elementorFrontend.isEditMode()?("metform-form"===mf.postType&&elementorFrontend.isEditMode()&&(e=["mf-date","mf-time","mf-select","mf-multi-select","mf-range","mf-file-upload","mf-mobile","mf-image-select","mf-map-location","mf-color-picker","mf-signature"]),e.forEach((function(e){elementorFrontend.hooks.addAction("frontend/element_ready/"+e+".default",Qa)}))):Qa(elementorFrontend.elements.$body)})).on("load",(function(){document.querySelectorAll(".mf-form-shortcode").forEach((function(e){Qa(jQuery(e))}))}))}()}();
9
  Copyright (c) 2017 Jed Watson.
10
  Licensed under the MIT License (MIT), see
11
  http://jedwatson.github.io/classnames
12
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var i=o.apply(null,r);i&&e.push(i)}else if("object"===a)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o["default"]=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,p=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(g(e))return p?p.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}function v(e){return e?(e=function(e){if("number"==typeof e)return e;if(g(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}e.exports=function(e,t,n){var r,o,a;return e=null==(r=e)?"":h(r),o=function(e){var t=v(e),n=t%1;return t==t?n?t-n:t:0}(n),0,a=e.length,o==o&&(void 0!==a&&(o=o<=a?o:a),o=o>=0?o:0),n=o,t=h(t),e.slice(n,n+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof t&&t&&t.Object===Object&&t,a="object"==typeof self&&self&&self.Object===Object&&self,i=o||a||Function("return this")(),s=Array.prototype,u=Function.prototype,c=Object.prototype,l=i["__core-js_shared__"],f=(n=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=u.toString,p=c.hasOwnProperty,h=c.toString,m=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=s.splice,v=k(i,"Map"),b=k(Object,"create");function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function w(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function x(e){return!(!E(e)||(t=e,f&&f in t))&&(function(e){var t=E(e)?h.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?m:r).test(function(e){if(null!=e){try{return d.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function D(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function k(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return x(n)?n:void 0}function S(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(S.Cache||C),n}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}y.prototype.clear=function(){this.__data__=b?b(null):{}},y.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},y.prototype.get=function(e){var t=this.__data__;if(b){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(t,e)?t[e]:void 0},y.prototype.has=function(e){var t=this.__data__;return b?void 0!==t[e]:p.call(t,e)},y.prototype.set=function(e,t){return this.__data__[e]=b&&void 0===t?"__lodash_hash_undefined__":t,this},w.prototype.clear=function(){this.__data__=[]},w.prototype["delete"]=function(e){var t=this.__data__,n=O(t,e);return!(n<0||(n==t.length-1?t.pop():g.call(t,n,1),0))},w.prototype.get=function(e){var t=this.__data__,n=O(t,e);return n<0?void 0:t[n][1]},w.prototype.has=function(e){return O(this.__data__,e)>-1},w.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new y,map:new(v||w),string:new y}},C.prototype["delete"]=function(e){return D(this,e)["delete"](e)},C.prototype.get=function(e){return D(this,e).get(e)},C.prototype.has=function(e){return D(this,e).has(e)},C.prototype.set=function(e,t){return D(this,e).set(e,t),this},S.Cache=C,e.exports=S}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,c=s||u||Function("return this")(),l=Object.prototype.toString,f=Math.max,d=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||a.test(e)?i(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,a,i,s,u,c=0,l=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function y(e){return c=e,s=setTimeout(C,t),l?b(e):i}function w(e){var n=e-u;return void 0===u||n>=t||n<0||g&&e-c>=a}function C(){var e=p();if(w(e))return O(e);s=setTimeout(C,function(e){var n=t-(e-u);return g?d(n,a-(e-c)):n}(e))}function O(e){return s=void 0,v&&r?b(e):(r=o=void 0,i)}function x(){var e=p(),n=w(e);if(r=arguments,o=this,u=e,n){if(void 0===s)return y(u);if(g)return s=setTimeout(C,t),b(u)}return void 0===s&&(s=setTimeout(C,t)),i}return t=m(t)||0,h(n)&&(l=!!n.leading,a=(g="maxWait"in n)?f(m(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=o=s=void 0},x.flush=function(){return void 0===s?i:O(p())},x}}).call(this,n(3))},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",a="[object Object]",i="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,c=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h[r]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h["[object Function]"]=h[o]=h["[object Number]"]=h[a]=h["[object RegExp]"]=h[i]=h["[object String]"]=h["[object WeakMap]"]=!1;var m="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),b=t&&!t.nodeType&&t,y=b&&"object"==typeof n&&n&&!n.nodeType&&n,w=y&&y.exports===b&&m.process,C=function(){try{return w&&w.binding("util")}catch(e){}}(),O=C&&C.isTypedArray;function x(e,t,n,r){var o=-1,a=e?e.length:0;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function D(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function k(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function E(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function M(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var _,P,j,T=Array.prototype,A=Function.prototype,I=Object.prototype,R=v["__core-js_shared__"],N=(_=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",L=A.toString,V=I.hasOwnProperty,F=I.toString,H=RegExp("^"+L.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=v.Symbol,W=v.Uint8Array,z=I.propertyIsEnumerable,B=T.splice,Y=(P=Object.keys,j=Object,function(e){return P(j(e))}),q=Oe(v,"DataView"),K=Oe(v,"Map"),$=Oe(v,"Promise"),G=Oe(v,"Set"),J=Oe(v,"WeakMap"),Q=Oe(Object,"create"),X=Pe(q),Z=Pe(K),ee=Pe($),te=Pe(G),ne=Pe(J),re=U?U.prototype:void 0,oe=re?re.valueOf:void 0,ae=re?re.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.__data__=new ue;++t<n;)this.add(e[t])}function le(e){this.__data__=new se(e)}function fe(e,t){for(var n=e.length;n--;)if(Te(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=Q?Q(null):{}},ie.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return V.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:V.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},se.prototype.clear=function(){this.__data__=[]},se.prototype["delete"]=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():B.call(t,n,1),0))},se.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},se.prototype.has=function(e){return fe(this.__data__,e)>-1},se.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ue.prototype.clear=function(){this.__data__={hash:new ie,map:new(K||se),string:new ie}},ue.prototype["delete"]=function(e){return Ce(this,e)["delete"](e)},ue.prototype.get=function(e){return Ce(this,e).get(e)},ue.prototype.has=function(e){return Ce(this,e).has(e)},ue.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},ce.prototype.add=ce.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ce.prototype.has=function(e){return this.__data__.has(e)},le.prototype.clear=function(){this.__data__=new se},le.prototype["delete"]=function(e){return this.__data__["delete"](e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof se){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this;n=this.__data__=new ue(r)}return n.set(e,t),this};var de,pe=(de=function(e,t){return e&&he(e,t,We)},function(e,t){if(null==e)return e;if(!Re(e))return de(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e}),he=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var s=a[++r];if(!1===t(o[s],s,o))break}return e};function me(e,t){for(var n=0,r=(t=ke(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[_e(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function ve(e,t,n,s,u){return e===t||(null==e||null==t||!Ve(e)&&!Fe(t)?e!=e&&t!=t:function(e,t,n,s,u,c){var l=Ie(e),f=Ie(t),d="[object Array]",p="[object Array]";l||(d=(d=xe(e))==r?a:d),f||(p=(p=xe(t))==r?a:p);var h=d==a&&!S(e),m=p==a&&!S(t),g=d==p;if(g&&!h)return c||(c=new le),l||Ue(e)?we(e,t,n,s,u,c):function(e,t,n,r,a,s,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Te(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=E;case i:var l=2&s;if(c||(c=M),e.size!=t.size&&!l)return!1;var f=u.get(e);if(f)return f==t;s|=1,u.set(e,t);var d=we(c(e),c(t),r,a,s,u);return u["delete"](e),d;case"[object Symbol]":if(oe)return oe.call(e)==oe.call(t)}return!1}(e,t,d,n,s,u,c);if(!(2&u)){var v=h&&V.call(e,"__wrapped__"),b=m&&V.call(t,"__wrapped__");if(v||b){var y=v?e.value():e,w=b?t.value():t;return c||(c=new le),n(y,w,s,u,c)}}return!!g&&(c||(c=new le),function(e,t,n,r,o,a){var i=2&o,s=We(e),u=s.length;if(u!=We(t).length&&!i)return!1;for(var c=u;c--;){var l=s[c];if(!(i?l in t:V.call(t,l)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var d=!0;a.set(e,t),a.set(t,e);for(var p=i;++c<u;){var h=e[l=s[c]],m=t[l];if(r)var g=i?r(m,h,l,t,e,a):r(h,m,l,e,t,a);if(!(void 0===g?h===m||n(h,m,r,o,a):g)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(d=!1)}return a["delete"](e),a["delete"](t),d}(e,t,n,s,u,c))}(e,t,ve,n,s,u))}function be(e){return"function"==typeof e?e:null==e?ze:"object"==typeof e?Ie(e)?function(e,t){return ke(e)&&Se(t)?Ee(_e(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,o=-1,a=(t=ke(t,e)?[t]:ye(t)).length;++o<a;){var i=_e(t[o]);if(!(r=null!=e&&n(e,i)))break;e=e[i]}return r||!!(a=e?e.length:0)&&Le(a)&&De(i,a)&&(Ie(e)||Ae(e))}(e,t,ge)}(n,e):ve(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=We(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Se(o)]}return t}(e);return 1==t.length&&t[0][2]?Ee(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,a=o;if(null==e)return!a;for(e=Object(e);o--;){var i=n[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){var s=(i=n[o])[0],u=e[s],c=i[1];if(i[2]){if(void 0===u&&!(s in e))return!1}else{var l,f=new le;if(!(void 0===l?ve(c,u,r,3,f):l))return!1}}return!0}(n,0,t)}}(e):ke(t=e)?(n=_e(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return me(t,e)}}(t);var t,n}function ye(e){return Ie(e)?e:Me(e)}function we(e,t,n,r,o,a){var i=2&o,s=e.length,u=t.length;if(s!=u&&!(i&&u>s))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var l=-1,f=!0,d=1&o?new ce:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var p=e[l],h=t[l];if(r)var m=i?r(h,p,l,t,e,a):r(p,h,l,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(d){if(!D(t,(function(e,t){if(!d.has(t)&&(p===e||n(p,e,r,o,a)))return d.add(t)}))){f=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function Ce(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Oe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ve(e)||function(e){return!!N&&N in e}(e))&&(Ne(e)||S(e)?H:d).test(Pe(e))}(n)?n:void 0}var xe=function(e){return F.call(e)};function De(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t){if(Ie(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!He(e))||u.test(e)||!s.test(e)||null!=t&&e in Object(t)}function Se(e){return e==e&&!Ve(e)}function Ee(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(q&&"[object DataView]"!=xe(new q(new ArrayBuffer(1)))||K&&xe(new K)!=o||$&&"[object Promise]"!=xe($.resolve())||G&&xe(new G)!=i||J&&"[object WeakMap]"!=xe(new J))&&(xe=function(e){var t=F.call(e),n=t==a?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case X:return"[object DataView]";case Z:return o;case ee:return"[object Promise]";case te:return i;case ne:return"[object WeakMap]"}return t});var Me=je((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(He(e))return ae?ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return c.test(e)&&n.push(""),e.replace(l,(function(e,t,r,o){n.push(r?o.replace(f,"$1"):t||e)})),n}));function _e(e){if("string"==typeof e||He(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function je(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(je.Cache||ue),n}function Te(e,t){return e===t||e!=e&&t!=t}function Ae(e){return function(e){return Fe(e)&&Re(e)}(e)&&V.call(e,"callee")&&(!z.call(e,"callee")||F.call(e)==r)}je.Cache=ue;var Ie=Array.isArray;function Re(e){return null!=e&&Le(e.length)&&!Ne(e)}function Ne(e){var t=Ve(e)?F.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ve(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fe(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Fe(e)&&"[object Symbol]"==F.call(e)}var Ue=O?function(e){return function(t){return e(t)}}(O):function(e){return Fe(e)&&Le(e.length)&&!!h[F.call(e)]};function We(e){return Re(e)?function(e,t){var n=Ie(e)||Ae(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!V.call(e,a)||o&&("length"==a||De(a,r))||n.push(a);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||I))return Y(e);var t,n,r=[];for(var o in Object(e))V.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function ze(e){return e}n.exports=function(e,t,n){var r=Ie(e)?x:k,o=arguments.length<3;return r(e,be(t),n,o,pe)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},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}function o(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e){if(Array.isArray(e))return e}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"===l(Symbol.iterator)?function(e){return l(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":l(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var m=n(0),g=n.n(m),v=n(5),b=n.n(v),y=n(4),w=n.n(y),C=n(6),O=n.n(C),x=n(2),D=n.n(x),k=n(1),S=n.n(k);function E(e,t){return i(e)||function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s["return"]||s["return"]()}finally{if(o)throw a}}return n}(e,t)||s()}n(8);var M=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420"],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996"],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371"],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998"],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],_=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function P(e,t,n,r,o){return!n||o?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+n}function j(e,t,n,o,i){var s,u,c=[];return u=!0===t,[(s=[]).concat.apply(s,a(e.map((function(e){var a={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:P(n,e[3],e[4],o,i),priority:e[5]||0},s=[];return e[6]&&e[6].map((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},a);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,s.push(n)})),s.length>0?(a.mainCode=!0,u||"Array"===t.constructor.name&&t.includes(e[2])?(a.hasAreaCodes=!0,[a].concat(s)):(c=c.concat(s),[a])):[a]})))),c]}function T(e,t,n,r){if(null!==n){var o=Object.keys(n),a=Object.values(n);o.forEach((function(n,o){if(r)return e.push([n,a[o]]);var i=e.findIndex((function(e){return e[0]===n}));if(-1===i){var s=[n];s[t]=a[o],e.push(s)}else e[i][t]=a[o]}))}}function A(e,t){return 0===t.length?e:e.map((function(e){var n=t.findIndex((function(t){return t[0]===e[2]}));if(-1===n)return e;var r=t[n];return r[1]&&(e[4]=r[1]),r[3]&&(e[5]=r[3]),r[2]&&(e[6]=r[2]),e}))}var I=function N(e,t,n,r,o,i,s,c,l,f,d,p,h,m){u(this,N),this.filterRegions=function(e,t){if("string"==typeof e){var n=e;return t.filter((function(e){return e.regions.some((function(e){return e===n}))}))}return t.filter((function(t){return e.map((function(e){return t.regions.some((function(t){return t===e}))})).some((function(e){return e}))}))},this.sortTerritories=function(e,t){var n=[].concat(a(e),a(t));return n.sort((function(e,t){return e.name<t.name?-1:e.name>t.name?1:0})),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map((function(e){var n=t.find((function(t){return t.iso2===e}));if(n)return n})).filter((function(e){return e})):t.filter((function(t){return e.some((function(e){return e===t.iso2}))}))},this.localizeCountries=function(e,t,n){for(var r=0;r<e.length;r++)void 0!==t[e[r].iso2]?e[r].localName=t[e[r].iso2]:void 0!==t[e[r].name]&&(e[r].localName=t[e[r].name]);return n||e.sort((function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0})),e},this.getCustomAreas=function(e,t){for(var n=[],r=0;r<t.length;r++){var o=JSON.parse(JSON.stringify(e));o.dialCode+=t[r],n.push(o)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter((function(e){return!t.includes(e.iso2)}))};var g=function(e,t,n){var r=[];return T(r,1,e,!0),T(r,3,t),T(r,2,n),r}(c,l,f),v=A(JSON.parse(JSON.stringify(M)),g),b=A(JSON.parse(JSON.stringify(_)),g),y=E(j(v,e,p,h,m),2),w=y[0],C=y[1];if(t){var O=E(j(b,e,p,h,m),2),x=O[0];O[1],w=this.sortTerritories(x,w)}n&&(w=this.filterRegions(n,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(r,w,s.includes("onlyCountries")),i),d,s.includes("onlyCountries")),this.preferredCountries=0===o.length?[]:this.localizeCountries(this.getFilteredCountryList(o,w,s.includes("preferredCountries")),d,s.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(r,C),i)},R=function(e){function t(e){var n;u(this,t),(n=function(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?d(e):t}(this,p(t).call(this,e))).getProbableCandidate=w()((function(e){return e&&0!==e.length?n.state.onlyCountries.filter((function(t){return D()(t.name.toLowerCase(),e.toLowerCase())}),d(d(n)))[0]:null})),n.guessSelectedCountry=w()((function(e,t,r,o){var a;if(!1===n.props.enableAreaCodes&&(o.some((function(t){if(D()(e,t.dialCode))return r.some((function(e){if(t.iso2===e.iso2&&e.mainCode)return a=e,!0})),!0})),a))return a;var i=r.find((function(e){return e.iso2==t}));if(""===e.trim())return i;var s=r.reduce((function(t,n){if(D()(e,n.dialCode)){if(n.dialCode.length>t.dialCode.length)return n;if(n.dialCode.length===t.dialCode.length&&n.priority<t.priority)return n}return t}),{dialCode:"",priority:10001},d(d(n)));return s.name?s:i})),n.updateCountry=function(e){var t,r=n.state.onlyCountries;(t=e.indexOf(0)>="0"&&e.indexOf(0)<="9"?r.find((function(t){return t.dialCode==+e})):r.find((function(t){return t.iso2==e})))&&t.dialCode&&n.setState({selectedCountry:t,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(t.dialCode,t)})},n.scrollTo=function(e,t){if(e){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,a=r.getBoundingClientRect().top+document.body.scrollTop,i=a+o,s=e,u=s.getBoundingClientRect(),c=s.offsetHeight,l=u.top+document.body.scrollTop,f=l+c,d=l-a+r.scrollTop,p=o/2-c/2;if(n.props.enableSearch?l<a+32:l<a)t&&(d-=p),r.scrollTop=d;else if(f>i){t&&(d+=p);var h=o-c;r.scrollTop=d-h}}}},n.scrollToTop=function(){var e=n.dropdownRef;e&&document.body&&(e.scrollTop=0)},n.formatNumber=function(e,t){if(!t)return e;var r,a=t.format,u=n.props,c=u.disableCountryCode,l=u.enableAreaCodeStretch,f=u.enableLongNumbers,d=u.autoFormat;if(c?((r=a.split(" ")).shift(),r=r.join(" ")):l&&t.isAreaCode?((r=a.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),r=r.join(" ")):r=a,!e||0===e.length)return c?"":n.props.prefix;if(e&&e.length<2||!r||!d)return c?e:n.props.prefix+e;var p,h=O()(r,(function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,r=i(n=e.remainingText)||o(n)||s(),a=r[0],u=r.slice(1);return{formattedText:e.formattedText+a,remainingText:u}}),{formattedText:"",remainingText:e.split("")});return(p=f?h.formattedText+h.remainingText.join(""):h.formattedText).includes("(")&&!p.includes(")")&&(p+=")"),p},n.cursorToEnd=function(){var e=n.numberInputRef;e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)},n.getElement=function(e){return n["flag_no_".concat(e)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(e){if(e.preventDefault(),n.state.showDropdown||!n.props.disabled){var t=n.state,r=t.preferredCountries,o=t.selectedCountry,a=r.concat(n.state.onlyCountries).findIndex((function(e){return e.dialCode===o.dialCode&&e.iso2===o.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:a},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(e){var t=e.target.value,r=n.props,o=r.prefix,a=r.onChange,i=n.props.disableCountryCode?"":o,s=n.state.selectedCountry,u=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(s.hasAreaCodes?n.state.onlyCountries.find((function(e){return e.iso2===s.iso2&&e.mainCode})).dialCode:s.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return a&&a("",n.getCountryData(),e,""),n.setState({formattedNumber:""});if(t.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&t.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(t!==n.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var l=n.props.country,f=n.state,d=f.onlyCountries,p=f.selectedCountry,h=f.hiddenAreaCodes;if(a&&e.persist(),t.length>0){var m=t.replace(/\D/g,"");(!n.state.freezeSelection||p.dialCode.length>m.length)&&(s=n.props.disableCountryGuess?p:n.guessSelectedCountry(m.substring(0,6),l,d,h)||p,u=!1),i=n.formatNumber(m,s),s=s.dialCode?s:p}var g=e.target.selectionStart,v=n.state.formattedNumber,b=i.length-v.length;n.setState({formattedNumber:i,freezeSelection:u,selectedCountry:s},(function(){b>0&&(g-=b),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):g>0&&v.length>=i.length&&n.numberInputRef.setSelectionRange(g,g),a&&a(i.replace(/[^0-9]+/g,""),n.getCountryData(),e,i)}))}},n.handleInputClick=function(e){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(e,n.getCountryData())},n.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},n.handleFlagItemClick=function(e,t){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(t){return t==e}));if(o){var a=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),i=a.length>1?a.replace(r.dialCode,o.dialCode):o.dialCode,s=n.formatNumber(i.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(s.replace(/[^0-9]+/g,""),n.getCountryData(),t,s)}))}},n.handleInputFocus=function(e){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(e,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(e){e.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(e,n.getCountryData())},n.handleInputCopy=function(e){if(n.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},n.getHighlightCountryIndex=function(e){var t=n.state.highlightCountryIndex+e;return t<0||t>=n.state.onlyCountries.length+n.state.preferredCountries.length?t-e:n.props.enableSearch&&t>n.getSearchFilteredCountries().length?0:t},n.searchCountry=function(){var e=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],t=n.state.onlyCountries.findIndex((function(t){return t==e}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(t),!0),n.setState({queryString:"",highlightCountryIndex:t})},n.handleKeydown=function(e){var t=n.props.keys,r=e.target.className;if(r.includes("selected-flag")&&e.which===t.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(e);if(r.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(e)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],e):n.handleFlagItemClick([].concat(a(n.state.preferredCountries),a(n.state.onlyCountries))[n.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(e.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(e){var t=n.props,r=t.keys,o=t.onEnterKeyPress,a=t.onKeyDown;e.which===r.ENTER&&o&&o(e),a&&a(e)},n.handleClickOutside=function(e){n.dropdownRef&&!n.dropdownContainerRef.contains(e.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(e){var t=e.currentTarget.value,r=n.state,o=r.preferredCountries,a=r.selectedCountry,i=0;if(""===t&&a){var s=n.state.onlyCountries;i=o.concat(s).findIndex((function(e){return e==a})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.getDropdownCountryName=function(e){return e.localName||e.name},n.getSearchFilteredCountries=function(){var e=n.state,t=e.preferredCountries,r=e.onlyCountries,o=e.searchValue,i=n.props.enableSearch,s=t.concat(r),u=o.trim().toLowerCase();if(i&&u){if(/^\d+$/.test(u))return s.filter((function(e){var t=e.dialCode;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))}));var c=s.filter((function(e){var t=e.iso2;return["".concat(t)].some((function(e){return e.toLowerCase().includes(u)}))})),l=s.filter((function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some((function(e){return e.toLowerCase().includes(u)}))}));return n.scrollToTop(),a(new Set([].concat(c,l)))}return s},n.getCountryDropdownList=function(){var e,t=n.state,o=t.preferredCountries,a=t.highlightCountryIndex,i=t.showDropdown,s=t.searchValue,u=n.props,c=u.disableDropdown,l=u.prefix,f=n.props,d=f.enableSearch,p=f.searchNotFound,h=f.disableSearchIcon,m=f.searchClass,v=f.searchStyle,b=f.searchPlaceholder,y=f.autocompleteSearch,w=n.getSearchFilteredCountries().map((function(e,t){var r=a===t,o=S()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:r}),i="flag ".concat(e.iso2);return g.a.createElement("li",Object.assign({ref:function(e){return n["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:o,"data-dial-code":"1",tabIndex:c?"-1":"0","data-country-code":e.iso2,onClick:function(t){return n.handleFlagItemClick(e,t)},role:"option"},r?{"aria-selected":!0}:{}),g.a.createElement("div",{className:i}),g.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(e)),g.a.createElement("span",{className:"dial-code"},e.format?n.formatNumber(e.dialCode,e):l+e.dialCode))})),C=g.a.createElement("li",{key:"dashes",className:"divider"});o.length>0&&(!d||d&&!s.trim())&&w.splice(o.length,0,C);var O=S()((r(e={},n.props.dropdownClass,!0),r(e,"country-list",!0),r(e,"hide",!i),e));return g.a.createElement("ul",{ref:function(e){return!d&&e&&e.focus(),n.dropdownRef=e},className:O,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},d&&g.a.createElement("li",{className:S()(r({search:!0},m,m))},!h&&g.a.createElement("span",{className:S()(r({"search-emoji":!0},"".concat(m,"-emoji"),m)),role:"img","aria-label":"Magnifying glass"},"🔎"),g.a.createElement("input",{className:S()(r({"search-box":!0},"".concat(m,"-box"),m)),style:v,type:"search",placeholder:b,autoFocus:!0,autoComplete:y?"on":"off",value:s,onChange:n.handleSearchChange})),w.length>0?w:g.a.createElement("li",{className:"no-entries-message"},g.a.createElement("span",null,p)))};var c,l=new I(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),h=l.onlyCountries,m=l.preferredCountries,v=l.hiddenAreaCodes,y=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:y.length>1?n.guessSelectedCountry(y.substring(0,6),e.country,h,v)||0:e.country&&h.find((function(t){return t.iso2==e.country}))||0;var C,x=y.length<2&&c&&!D()(y,c.dialCode)?c.dialCode:"";C=""===y&&0===c?"":n.formatNumber((e.disableCountryCode?"":x)+y,c.name?c:void 0);var k=h.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:C,onlyCountries:h,preferredCountries:m,hiddenAreaCodes:v,selectedCountry:c,highlightCountryIndex:k,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(n.searchCountry,250),searchValue:""},n}var n,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(l=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,r=t.selectedCountry,o=t.hiddenAreaCodes,a=this.props,i=a.country,s=a.prefix;if(""===e)return this.setState({selectedCountry:r,formattedNumber:""});var u,c,l=e.replace(/\D/g,"");if(r&&D()(e,s+r.dialCode))c=this.formatNumber(l,r),this.setState({formattedNumber:c});else{var f=(u=this.props.disableCountryGuess?r:this.guessSelectedCountry(l.substring(0,6),i,n,o)||r)&&D()(l,s+u.dialCode)?u.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":f)+l,u||void 0),this.setState({selectedCountry:u,formattedNumber:c})}}},{key:"render",value:function(){var e,t,n,o,a,i=this,s=this.state,u=s.onlyCountries,c=s.selectedCountry,l=s.showDropdown,f=s.formattedNumber,d=s.hiddenAreaCodes,p=this.props,h=p.disableDropdown,m=p.renderStringAsFlag,v=p.isValid,b=p.defaultErrorMessage,y=p.specialLabel;if("boolean"==typeof v)o=v;else{var w=v(f.replace(/\D/g,""),c,u,d);"boolean"==typeof w?!1===(o=w)&&(a=b):(o=!1,a=w)}var C=S()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),O=S()({arrow:!0,up:l}),x=S()((r(t={},this.props.inputClass,!0),r(t,"form-control",!0),r(t,"invalid-number",!o),r(t,"open",l),t)),D=S()({"selected-flag":!0,open:l}),k=S()((r(n={},this.props.buttonClass,!0),r(n,"flag-dropdown",!0),r(n,"invalid-number",!o),r(n,"open",l),n)),E="flag ".concat(c&&c.iso2);return g.a.createElement("div",{className:C,style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},y&&g.a.createElement("div",{className:"special-label"},y),a&&g.a.createElement("div",{className:"invalid-number-message"},a),g.a.createElement("input",Object.assign({className:x,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:f,ref:function(e){return i.numberInputRef=e},onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps)),g.a.createElement("div",{className:k,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef=e}},m?g.a.createElement("div",{className:D},m):g.a.createElement("div",{onClick:h?void 0:this.handleFlagDropdownClick,className:D,title:c?"".concat(c.name,": + ").concat(c.dialCode):"",tabIndex:h?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},g.a.createElement("div",{className:E},!h&&g.a.createElement("div",{className:O}))),l&&this.getCountryDropdownList()))}}])&&c(n.prototype,l),t}(g.a.Component);R.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t["default"]=R}])},73:function(e,t,n){var r;e.exports=(r=n(804),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(2)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,o,a){n(this,e),this.startPoint=t,this.control1=r,this.control2=o,this.endPoint=a}return r(e,[{key:"length",value:function(){var e,t,n,r,o,a,i,s,u=10,c=0;for(e=0;u>=e;e++)t=e/u,n=this._point(t,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),r=this._point(t,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),e>0&&(i=n-o,s=r-a,c+=Math.sqrt(i*i+s*s)),o=n,a=r;return c}},{key:"_point",value:function(e,t,n,r,o){return t*(1-e)*(1-e)*(1-e)+3*n*(1-e)*(1-e)*e+3*r*(1-e)*e*e+o*e*e*e}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;s=c=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,n=i,r=!0}},u=r(n(4)),c=r(n(1)),l=r(n(3)),f=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.velocityFilterWeight=this.props.velocityFilterWeight||.7,this.minWidth=this.props.minWidth||.5,this.maxWidth=this.props.maxWidth||2.5,this.dotSize=this.props.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=this.props.penColor||"black",this.backgroundColor=this.props.backgroundColor||"rgba(0,0,0,0)",this.onEnd=this.props.onEnd,this.onBegin=this.props.onBegin}return a(t,e),i(t,[{key:"componentDidMount",value:function(){this._canvas=this.refs.cv,this._ctx=this._canvas.getContext("2d"),this.clear(),this._handleMouseEvents(),this._handleTouchEvents(),this._resizeCanvas()}},{key:"componentWillUnmount",value:function(){this.off()}},{key:"clear",value:function(e){e&&e.preventDefault();var t=this._ctx,n=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,n.width,n.height),t.fillRect(0,0,n.width,n.height),this._reset()}},{key:"toDataURL",value:function(e,t){var n=this._canvas;return n.toDataURL.apply(n,arguments)}},{key:"fromDataURL",value:function(e){var t=this,n=new Image,r=window.devicePixelRatio||1,o=this._canvas.width/r,a=this._canvas.height/r;this._reset(),n.src=e,n.onload=function(){t._ctx.drawImage(n,0,0,o,a)},this._isEmpty=!1}},{key:"isEmpty",value:function(){return this._isEmpty}},{key:"_resizeCanvas",value:function(){var e=this._ctx,t=this._canvas,n=Math.max(window.devicePixelRatio||1,1);t.width=t.offsetWidth*n,t.height=t.offsetHeight*n,e.scale(n,n),this._isEmpty=!0}},{key:"_reset",value:function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor}},{key:"_handleMouseEvents",value:function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown.bind(this)),this._canvas.addEventListener("mousemove",this._handleMouseMove.bind(this)),document.addEventListener("mouseup",this._handleMouseUp.bind(this)),window.addEventListener("resize",this._resizeCanvas.bind(this))}},{key:"_handleTouchEvents",value:function(){this._canvas.style.msTouchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart.bind(this)),this._canvas.addEventListener("touchmove",this._handleTouchMove.bind(this)),document.addEventListener("touchend",this._handleTouchEnd.bind(this))}},{key:"off",value:function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),document.removeEventListener("touchend",this._handleTouchEnd),window.removeEventListener("resize",this._resizeCanvas)}},{key:"_handleMouseDown",value:function(e){1===e.which&&(this._mouseButtonDown=!0,this._strokeBegin(e))}},{key:"_handleMouseMove",value:function(e){this._mouseButtonDown&&this._strokeUpdate(e)}},{key:"_handleMouseUp",value:function(e){1===e.which&&this._mouseButtonDown&&(this._mouseButtonDown=!1,this._strokeEnd(e))}},{key:"_handleTouchStart",value:function(e){var t=e.changedTouches[0];this._strokeBegin(t)}},{key:"_handleTouchMove",value:function(e){e.preventDefault();var t=e.changedTouches[0];this._strokeUpdate(t)}},{key:"_handleTouchEnd",value:function(e){e.target===this._canvas&&this._strokeEnd(e)}},{key:"_strokeUpdate",value:function(e){var t=this._createPoint(e);this._addPoint(t)}},{key:"_strokeBegin",value:function(e){this._reset(),this._strokeUpdate(e),"function"==typeof this.onBegin&&this.onBegin(e)}},{key:"_strokeDraw",value:function(e){var t=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;t.beginPath(),this._drawPoint(e.x,e.y,n),t.closePath(),t.fill()}},{key:"_strokeEnd",value:function(e){var t=this.points.length>2,n=this.points[0];!t&&n&&this._strokeDraw(n),"function"==typeof this.onEnd&&this.onEnd(e)}},{key:"_createPoint",value:function(e){var t=this._canvas.getBoundingClientRect();return new l["default"](e.clientX-t.left,e.clientY-t.top)}},{key:"_addPoint",value:function(e){var t,n,r,o=this.points;o.push(e),o.length>2&&(3===o.length&&o.unshift(o[0]),t=this._calculateCurveControlPoints(o[0],o[1],o[2]).c2,n=this._calculateCurveControlPoints(o[1],o[2],o[3]).c1,r=new c["default"](o[1],t,n,o[2]),this._addCurve(r),o.shift())}},{key:"_calculateCurveControlPoints",value:function(e,t,n){var r=e.x-t.x,o=e.y-t.y,a=t.x-n.x,i=t.y-n.y,s={x:(e.x+t.x)/2,y:(e.y+t.y)/2},u={x:(t.x+n.x)/2,y:(t.y+n.y)/2},c=Math.sqrt(r*r+o*o),f=Math.sqrt(a*a+i*i),d=s.x-u.x,p=s.y-u.y,h=f/(c+f),m={x:u.x+d*h,y:u.y+p*h},g=t.x-m.x,v=t.y-m.y;return{c1:new l["default"](s.x+g,s.y+v),c2:new l["default"](u.x+g,u.y+v)}}},{key:"_addCurve",value:function(e){var t,n,r=e.startPoint;t=e.endPoint.velocityFrom(r),t=this.velocityFilterWeight*t+(1-this.velocityFilterWeight)*this._lastVelocity,n=this._strokeWidth(t),this._drawCurve(e,this._lastWidth,n),this._lastVelocity=t,this._lastWidth=n}},{key:"_drawPoint",value:function(e,t,n){var r=this._ctx;r.moveTo(e,t),r.arc(e,t,n,0,2*Math.PI,!1),this._isEmpty=!1}},{key:"_drawCurve",value:function(e,t,n){var r,o,a,i,s,u,c,l,f,d,p,h=this._ctx,m=n-t;for(r=Math.floor(e.length()),h.beginPath(),a=0;r>a;a++)u=(s=(i=a/r)*i)*i,d=(f=(l=(c=1-i)*c)*c)*e.startPoint.x,d+=3*l*i*e.control1.x,d+=3*c*s*e.control2.x,d+=u*e.endPoint.x,p=f*e.startPoint.y,p+=3*l*i*e.control1.y,p+=3*c*s*e.control2.y,p+=u*e.endPoint.y,o=t+u*m,this._drawPoint(d,p,o);h.closePath(),h.fill()}},{key:"_strokeWidth",value:function(e){return Math.max(this.maxWidth/(e+1),this.minWidth)}},{key:"render",value:function(){return u["default"].createElement("div",{id:"signature-pad",className:"m-signature-pad"},u["default"].createElement("div",{className:"m-signature-pad--body"},u["default"].createElement("canvas",{ref:"cv"})),this.props.clearButton&&u["default"].createElement("div",{className:"m-signature-pad--footer"},u["default"].createElement("button",{className:"btn btn-default button clear",onClick:this.clear.bind(this)},"Clear")))}}]),t}(u["default"].Component);t["default"]=f,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,o){n(this,e),this.x=t,this.y=r,this.time=o||(new Date).getTime()}return r(e,[{key:"velocityFrom",value:function(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):1}},{key:"distanceTo",value:function(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}}]),e}();t["default"]=o,e.exports=t["default"]},function(e,t){e.exports=r}]))},804:function(e){"use strict";e.exports=React}},t={};function n(r){var o=t[r];if(o!==undefined)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}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)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=n(804),t=n.n(e),r=e=>e instanceof HTMLElement;const o="blur",a="change",i="input",s="onBlur",u="onChange",c="onSubmit",l="onTouched",f="all",d="undefined",p="max",h="min",m="maxLength",g="minLength",v="pattern",b="required",y="validate";var w=e=>null==e;const C=e=>"object"==typeof e;var O=e=>!w(e)&&!Array.isArray(e)&&C(e)&&!(e instanceof Date),x=e=>/^\w*$/.test(e),D=e=>e.filter(Boolean),k=e=>D(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function S(e,t,n){let r=-1;const o=x(t)?[t]:k(t),a=o.length,i=a-1;for(;++r<a;){const t=o[r];let a=n;if(r!==i){const n=e[t];a=O(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}e[t]=a,e=e[t]}return e}var E=(e,t={})=>{for(const n in e)x(n)?t[n]=e[n]:S(t,n,e[n]);return t},M=e=>e===undefined,_=(e={},t,n)=>{const r=D(t.split(/[,[\].]+?/)).reduce(((e,t)=>w(e)?e:e[t]),e);return M(r)||r===e?M(e[t])?n:e[t]:r},P=(e,t)=>{r(e)&&e.removeEventListener&&(e.removeEventListener(i,t),e.removeEventListener(a,t),e.removeEventListener(o,t))};const j={isValid:!1,value:null};var T=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.ref.checked?{isValid:!0,value:t.ref.value}:e),j):j,A=e=>"radio"===e.type,I=e=>"file"===e.type,R=e=>"checkbox"===e.type,N=e=>"select-multiple"===e.type;const L={value:!1,isValid:!1},V={value:!0,isValid:!0};var F=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.ref.checked)).map((({ref:{value:e}})=>e));return{value:t,isValid:!!t.length}}const{checked:t,value:n,attributes:r}=e[0].ref;return t?r&&!M(r.value)?M(n)||""===n?V:{value:n,isValid:!0}:V:L}return L};function H(e,t,n,r,o){const a=e.current[t];if(a){const{ref:{value:e,disabled:t},ref:n,valueAsNumber:s,valueAsDate:u,setValueAs:c}=a;if(t&&r)return;return I(n)?n.files:A(n)?T(a.options).value:N(n)?(i=n.options,[...i].filter((({selected:e})=>e)).map((({value:e})=>e))):R(n)?F(a.options).value:o?e:s?""===e?NaN:+e:u?n.valueAsDate:c?c(e):e}var i;if(n)return _(n.current,t)}function U(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&U(e.parentNode)}var W=e=>O(e)&&!Object.keys(e).length,z=e=>"boolean"==typeof e;function B(e,t){const n=x(t)?[t]:k(t),r=1==n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=M(e)?r++:e[t[r++]];return e}(e,n),o=n[n.length-1];let a;r&&delete r[o];for(let t=0;t<n.slice(0,-1).length;t++){let r,o=-1;const i=n.slice(0,-(t+1)),s=i.length-1;for(t>0&&(a=e);++o<i.length;){const t=i[o];r=r?r[t]:e[t],s===o&&(O(r)&&W(r)||Array.isArray(r)&&!r.filter((e=>O(e)&&!W(e)||z(e))).length)&&(a?delete a[t]:delete e[t]),a=r}}return e}const Y=(e,t)=>e&&e.ref===t;var q=e=>w(e)||!C(e);function K(e,t){if(q(e)||q(t))return t;for(const r in t){const o=e[r],a=t[r];try{e[r]=O(o)&&O(a)||Array.isArray(o)&&Array.isArray(a)?K(o,a):a}catch(n){}}return e}function $(t,n,r){if(q(t)||q(n)||t instanceof Date||n instanceof Date)return t===n;if(!(0,e.isValidElement)(t)){const e=Object.keys(t),o=Object.keys(n);if(e.length!==o.length)return!1;for(const o of e){const e=t[o];if(!r||"ref"!==o){const t=n[o];if((O(e)||Array.isArray(e))&&(O(t)||Array.isArray(t))?!$(e,t,r):e!==t)return!1}}}return!0}function G(e,t,n,r,o){let a=-1;for(;++a<e.length;){for(const r in e[a])Array.isArray(e[a][r])?(!n[a]&&(n[a]={}),n[a][r]=[],G(e[a][r],_(t[a]||{},r,[]),n[a][r],n[a],r)):$(_(t[a]||{},r),e[a][r])?S(n[a]||{},r):n[a]=Object.assign(Object.assign({},n[a]),{[r]:!0});r&&!n.length&&delete r[o]}return n}var J=(e,t,n)=>K(G(e,t,n.slice(0,e.length)),G(t,e,n.slice(0,e.length))),Q=e=>"string"==typeof e,X=(e,t,n,r,o)=>{const a={};for(const t in e.current)(M(o)||(Q(o)?t.startsWith(o):Array.isArray(o)&&o.find((e=>t.startsWith(e)))))&&(a[t]=H(e,t,undefined,r));return n?E(a):K(t,E(a))},Z=e=>e instanceof RegExp,ee=e=>O(e)&&!Z(e)?e:{value:e,message:""},te=e=>"function"==typeof e,ne=t=>Q(t)||(0,e.isValidElement)(t);function re(e,t,n="validate"){if(ne(e)||z(e)&&!e)return{type:n,message:ne(e)?e:"",ref:t}}var oe=(e,t,n,r,o)=>t?Object.assign(Object.assign({},n[e]),{types:Object.assign(Object.assign({},n[e]&&n[e].types?n[e].types:{}),{[r]:o||!0})}):{},ae=async(e,t,{ref:n,ref:{value:r},options:o,required:a,maxLength:i,minLength:s,min:u,max:c,pattern:l,validate:f},d)=>{const C=n.name,x={},D=A(n),k=R(n),S=D||k,E=""===r,M=oe.bind(null,C,t,x),_=(e,t,r,o=m,a=g)=>{const i=e?t:r;x[C]=Object.assign({type:e?o:a,message:i,ref:n},M(e?o:a,i))};if(a&&(!D&&!k&&(E||w(r))||z(r)&&!r||k&&!F(o).isValid||D&&!T(o).isValid)){const{value:r,message:o}=ne(a)?{value:!!a,message:a}:ee(a);if(r&&(x[C]=Object.assign({type:b,message:o,ref:S?((e.current[C].options||[])[0]||{}).ref:n},M(b,o)),!t))return x}if(!(w(u)&&w(c)||""===r)){let e,o;const a=ee(c),i=ee(u);if(isNaN(r)){const t=n.valueAsDate||new Date(r);Q(a.value)&&(e=t>new Date(a.value)),Q(i.value)&&(o=t<new Date(i.value))}else{const t=n.valueAsNumber||parseFloat(r);w(a.value)||(e=t>a.value),w(i.value)||(o=t<i.value)}if((e||o)&&(_(!!e,a.message,i.message,p,h),!t))return x}if(Q(r)&&!E&&(i||s)){const e=ee(i),n=ee(s),o=!w(e.value)&&r.length>e.value,a=!w(n.value)&&r.length<n.value;if((o||a)&&(_(o,e.message,n.message),!t))return x}if(Q(r)&&l&&!E){const{value:e,message:o}=ee(l);if(Z(e)&&!e.test(r)&&(x[C]=Object.assign({type:v,message:o,ref:n},M(v,o)),!t))return x}if(f){const r=H(e,C,d,!1,!0),a=S&&o?o[0].ref:n;if(te(f)){const e=re(await f(r),a);if(e&&(x[C]=Object.assign(Object.assign({},e),M(y,e.message)),!t))return x}else if(O(f)){let e={};for(const[n,o]of Object.entries(f)){if(!W(e)&&!t)break;const i=re(await o(r),a,n);i&&(e=Object.assign(Object.assign({},i),M(n,i.message)),t&&(x[C]=e))}if(!W(e)&&(x[C]=Object.assign({ref:a},e),!t))return x}}return x};const ie=(e,t,n=[])=>{for(const r in t){const o=e+(O(t)?`.${r}`:`[${r}]`);q(t[r])?n.push(o):ie(o,t[r],n)}return n};var se=(e,t,n,r,o)=>{let a=undefined;return n.add(t),W(e)||(a=_(e,t),(O(a)||Array.isArray(a))&&ie(t,a).forEach((e=>n.add(e)))),M(a)?o?r:_(r,t):a},ue=({isOnBlur:e,isOnChange:t,isOnTouch:n,isTouched:r,isReValidateOnBlur:o,isReValidateOnChange:a,isBlurEvent:i,isSubmitted:s,isOnAll:u})=>!u&&(!s&&n?!(r||i):(s?o:e)?!i:!(s?a:t)||i),ce=e=>e.substring(0,e.indexOf("["));const le=(e,t)=>RegExp(`^${t}([|.)\\d+`.replace(/\[/g,"\\[").replace(/\]/g,"\\]")).test(e);var fe=(e,t)=>[...e].some((e=>le(t,e)));var de=typeof window!==d&&typeof document!==d;function pe(e){var t;let n;if(q(e)||de&&(e instanceof File||r(e)))return e;if(!["Set","Map","Object","Date","Array"].includes(null===(t=e.constructor)||void 0===t?void 0:t.name))return e;if(e instanceof Date)return n=new Date(e.getTime()),n;if(e instanceof Set){n=new Set;for(const t of e)n.add(t);return n}if(e instanceof Map){n=new Map;for(const t of e.keys())n.set(t,pe(e.get(t)));return n}n=Array.isArray(e)?[]:{};for(const t in e)n[t]=pe(e[t]);return n}var he=e=>({isOnSubmit:!e||e===c,isOnBlur:e===s,isOnChange:e===u,isOnAll:e===f,isOnTouch:e===l}),me=e=>A(e)||R(e);const ge=typeof window===d,ve=de?"Proxy"in window:typeof Proxy!==d;function be({mode:t=c,reValidateMode:n=u,resolver:s,context:l,defaultValues:d={},shouldFocusError:p=!0,shouldUnregister:h=!0,criteriaMode:m}={}){const g=(0,e.useRef)({}),v=(0,e.useRef)({}),b=(0,e.useRef)({}),y=(0,e.useRef)(new Set),C=(0,e.useRef)({}),k=(0,e.useRef)({}),j=(0,e.useRef)({}),T=(0,e.useRef)({}),L=(0,e.useRef)(d),V=(0,e.useRef)(!1),F=(0,e.useRef)(!1),z=(0,e.useRef)(),K=(0,e.useRef)({}),G=(0,e.useRef)({}),Z=(0,e.useRef)(l),ee=(0,e.useRef)(s),ne=(0,e.useRef)(new Set),re=(0,e.useRef)(he(t)),{isOnSubmit:oe,isOnTouch:le}=re.current,be=m===f,[ye,we]=(0,e.useState)({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touched:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!oe,errors:{}}),Ce=(0,e.useRef)({isDirty:!ve,dirtyFields:!ve,touched:!ve||le,isValidating:!ve,isSubmitting:!ve,isValid:!ve}),Oe=(0,e.useRef)(ye),xe=(0,e.useRef)(),{isOnBlur:De,isOnChange:ke}=(0,e.useRef)(he(n)).current;Z.current=l,ee.current=s,Oe.current=ye,K.current=h?{}:W(K.current)?pe(d):K.current;const Se=(0,e.useCallback)(((e={})=>{V.current||(Oe.current=Object.assign(Object.assign({},Oe.current),e),we(Oe.current))}),[]),Ee=()=>Ce.current.isValidating&&Se({isValidating:!0}),Me=(0,e.useCallback)(((e,t,n=!1,r={},o)=>{let a=n||(({errors:e,name:t,error:n,validFields:r,fieldsWithValidation:o})=>{const a=M(n),i=_(e,t);return a&&!!i||!a&&!$(i,n,!0)||a&&_(o,t)&&!_(r,t)})({errors:Oe.current.errors,error:t,name:e,validFields:T.current,fieldsWithValidation:j.current});const i=_(Oe.current.errors,e);t?(B(T.current,e),a=a||!i||!$(i,t,!0),S(Oe.current.errors,e,t)):((_(j.current,e)||ee.current)&&(S(T.current,e,!0),a=a||i),B(Oe.current.errors,e)),(a&&!w(n)||!W(r)||Ce.current.isValidating)&&Se(Object.assign(Object.assign(Object.assign({},r),ee.current?{isValid:!!o}:{}),{isValidating:!1}))}),[]),_e=(0,e.useCallback)(((e,t)=>{const{ref:n,options:o}=g.current[e],a=de&&r(n)&&w(t)?"":t;A(n)?(o||[]).forEach((({ref:e})=>e.checked=e.value===a)):I(n)&&!Q(a)?n.files=a:N(n)?[...n.options].forEach((e=>e.selected=a.includes(e.value))):R(n)&&o?o.length>1?o.forEach((({ref:e})=>e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value)):o[0].ref.checked=!!a:n.value=a}),[]),Pe=(0,e.useCallback)(((e,t)=>{if(Ce.current.isDirty){const n=He();return e&&t&&S(n,e,t),!$(n,L.current)}return!1}),[]),je=(0,e.useCallback)(((e,t=!0)=>{if(Ce.current.isDirty||Ce.current.dirtyFields){const n=!$(_(L.current,e),H(g,e,K)),r=_(Oe.current.dirtyFields,e),o=Oe.current.isDirty;n?S(Oe.current.dirtyFields,e,!0):B(Oe.current.dirtyFields,e);const a={isDirty:Pe(),dirtyFields:Oe.current.dirtyFields},i=Ce.current.isDirty&&o!==a.isDirty||Ce.current.dirtyFields&&r!==_(Oe.current.dirtyFields,e);return i&&t&&Se(a),i?a:{}}return{}}),[]),Te=(0,e.useCallback)((async(e,t)=>{const n=(await ae(g,be,g.current[e],K))[e];return Me(e,n,t),M(n)}),[Me,be]),Ae=(0,e.useCallback)((async e=>{const{errors:t}=await ee.current(He(),Z.current,be),n=Oe.current.isValid;if(Array.isArray(e)){const n=e.map((e=>{const n=_(t,e);return n?S(Oe.current.errors,e,n):B(Oe.current.errors,e),!n})).every(Boolean);return Se({isValid:W(t),isValidating:!1}),n}{const r=_(t,e);return Me(e,r,n!==W(t),{},W(t)),!r}}),[Me,be]),Ie=(0,e.useCallback)((async e=>{const t=e||Object.keys(g.current);if(Ee(),ee.current)return Ae(t);if(Array.isArray(t)){!e&&(Oe.current.errors={});const n=await Promise.all(t.map((async e=>await Te(e,null))));return Se({isValidating:!1}),n.every(Boolean)}return await Te(t)}),[Ae,Te]),Re=(0,e.useCallback)(((e,t,{shouldDirty:n,shouldValidate:r})=>{const o={};S(o,e,t);for(const a of ie(e,t))g.current[a]&&(_e(a,_(o,a)),n&&je(a),r&&Ie(a))}),[Ie,_e,je]),Ne=(0,e.useCallback)(((e,t,n)=>{if(!h&&!q(t)&&S(K.current,e,Array.isArray(t)?[...t]:Object.assign({},t)),g.current[e])_e(e,t),n.shouldDirty&&je(e),n.shouldValidate&&Ie(e);else if(!q(t)&&(Re(e,t,n),ne.current.has(e))){const r=ce(e)||e;S(v.current,e,t),G.current[r]({[r]:_(v.current,r)}),(Ce.current.isDirty||Ce.current.dirtyFields)&&n.shouldDirty&&(S(Oe.current.dirtyFields,e,J(t,_(L.current,e,[]),_(Oe.current.dirtyFields,e,[]))),Se({isDirty:!$(Object.assign(Object.assign({},He()),{[e]:t}),L.current)}))}!h&&S(K.current,e,t)}),[je,_e,Re]),Le=e=>F.current||y.current.has(e)||y.current.has((e.match(/\w+/)||[])[0]),Ve=e=>{let t=!0;if(!W(C.current))for(const n in C.current)e&&C.current[n].size&&!C.current[n].has(e)&&!C.current[n].has(ce(e))||(k.current[n](),t=!1);return t};function Fe(e){if(!h){let t=pe(e);for(const e of ne.current)x(e)&&!t[e]&&(t=Object.assign(Object.assign({},t),{[e]:[]}));return t}return e}function He(e){if(Q(e))return H(g,e,K);if(Array.isArray(e)){const t={};for(const n of e)S(t,n,H(g,n,K));return t}return Fe(X(g,pe(K.current),h))}z.current=z.current?z.current:async({type:e,target:t})=>{let n=t.name;const r=g.current[n];let a,i;if(r){const s=e===o,u=ue(Object.assign({isBlurEvent:s,isReValidateOnChange:ke,isReValidateOnBlur:De,isTouched:!!_(Oe.current.touched,n),isSubmitted:Oe.current.isSubmitted},re.current));let c=je(n,!1),l=!W(c)||!s&&Le(n);if(s&&!_(Oe.current.touched,n)&&Ce.current.touched&&(S(Oe.current.touched,n,!0),c=Object.assign(Object.assign({},c),{touched:Oe.current.touched})),!h&&R(t)&&S(K.current,n,H(g,n)),u)return!s&&Ve(n),(!W(c)||l&&W(c))&&Se(c);if(Ee(),ee.current){const{errors:e}=await ee.current(He(),Z.current,be),r=Oe.current.isValid;if(a=_(e,n),R(t)&&!a&&ee.current){const t=ce(n),r=_(e,t,{});r.type&&r.message&&(a=r),t&&(r||_(Oe.current.errors,t))&&(n=t)}i=W(e),r!==i&&(l=!0)}else a=(await ae(g,be,r,K))[n];!s&&Ve(n),Me(n,a,l,c,i)}};const Ue=(0,e.useCallback)((async(e={})=>{const t=W(g.current)?L.current:{},{errors:n}=await ee.current(Object.assign(Object.assign(Object.assign({},t),He()),e),Z.current,be)||{},r=W(n);Oe.current.isValid!==r&&Se({isValid:r})}),[be]),We=(0,e.useCallback)(((e,t)=>{!function(e,t,n,r,o,a){const{ref:i,ref:{name:s}}=n,u=e.current[s];if(!o){const t=H(e,s,r);!M(t)&&S(r.current,s,t)}i.type&&u?A(i)||R(i)?Array.isArray(u.options)&&u.options.length?(D(u.options).forEach(((e={},n)=>{(U(e.ref)&&Y(e,e.ref)||a)&&(P(e.ref,t),B(u.options,`[${n}]`))})),u.options&&!D(u.options).length&&delete e.current[s]):delete e.current[s]:(U(i)&&Y(u,i)||a)&&(P(i,t),delete e.current[s]):delete e.current[s]}(g,z.current,e,K,h,t),h&&(B(T.current,e.ref.name),B(j.current,e.ref.name))}),[h]),ze=(0,e.useCallback)((e=>{if(F.current)Se();else{for(const t of y.current)if(t.startsWith(e)){Se();break}Ve(e)}}),[]),Be=(0,e.useCallback)(((e,t)=>{e&&(We(e,t),h&&!D(e.options||[]).length&&(B(Oe.current.errors,e.ref.name),S(Oe.current.dirtyFields,e.ref.name,!0),Se({isDirty:Pe()}),Ce.current.isValid&&ee.current&&Ue(),ze(e.ref.name)))}),[Ue,We]);const Ye=(0,e.useCallback)(((e,t,n)=>{const r=n?C.current[n]:y.current;let o=X(g,pe(K.current),h,!1,e);if(Q(e)){const n=ce(e)||e;return ne.current.has(n)&&(o=Object.assign(Object.assign({},b.current),o)),se(o,e,r,M(_(L.current,e))?t:_(L.current,e),!0)}const a=M(t)?L.current:t;return Array.isArray(e)?e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:se(o,t,r,a)})),{}):(F.current=M(n),E(!W(o)&&o||a))}),[]);function qe(e,t={}){const{name:n,type:s,value:u}=e,c=Object.assign({ref:e},t),l=g.current,f=me(e),d=fe(ne.current,n),p=t=>de&&(!r(e)||t===e);let m,v=l[n],b=!0;if(v&&(f?Array.isArray(v.options)&&D(v.options).find((e=>u===e.ref.value&&p(e.ref))):p(v.ref)))return void(l[n]=Object.assign(Object.assign({},v),t));v=s?f?Object.assign({options:[...D(v&&v.options||[]),{ref:e}],ref:{type:s,name:n}},t):Object.assign({},c):c,l[n]=v;const y=M(_(K.current,n));W(L.current)&&y||(m=_(y?L.current:K.current,n),b=M(m),b||d||_e(n,m)),W(t)||(S(j.current,n,!0),!oe&&Ce.current.isValid&&ae(g,be,v,K).then((e=>{const t=Oe.current.isValid;W(e)?S(T.current,n,!0):B(T.current,n),t!==W(e)&&Se()}))),!h||d&&b||!d&&B(Oe.current.dirtyFields,n),s&&function({ref:e},t,n){r(e)&&n&&(e.addEventListener(t?a:i,n),e.addEventListener(o,n))}(f&&v.options?v.options[v.options.length-1]:v,f||"select-one"===e.type,z.current)}const Ke=(0,e.useCallback)(((e,t)=>async n=>{n&&n.preventDefault&&(n.preventDefault(),n.persist());let r={},o=Fe(X(g,pe(K.current),h,!0));Ce.current.isSubmitting&&Se({isSubmitting:!0});try{if(ee.current){const{errors:e,values:t}=await ee.current(o,Z.current,be);Oe.current.errors=r=e,o=t}else for(const e of Object.values(g.current))if(e){const{name:t}=e.ref,n=await ae(g,be,e,K);n[t]?(S(r,t,n[t]),B(T.current,t)):_(j.current,t)&&(B(Oe.current.errors,t),S(T.current,t,!0))}W(r)&&Object.keys(Oe.current.errors).every((e=>e in g.current))?(Se({errors:{},isSubmitting:!0}),await e(o,n)):(Oe.current.errors=Object.assign(Object.assign({},Oe.current.errors),r),t&&await t(Oe.current.errors,n),p&&((e,t)=>{for(const n in e)if(_(t,n)){const t=e[n];if(t){if(t.ref.focus&&M(t.ref.focus()))break;if(t.options){t.options[0].ref.focus();break}}}})(g.current,Oe.current.errors))}finally{Oe.current.isSubmitting=!1,Se({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:W(Oe.current.errors),submitCount:Oe.current.submitCount+1})}}),[p,be]);(0,e.useEffect)((()=>{s&&Ce.current.isValid&&Ue(),xe.current=xe.current||!de?xe.current:function(e,t){const n=new MutationObserver((()=>{for(const n of Object.values(e.current))if(n&&n.options)for(const e of n.options)e&&e.ref&&U(e.ref)&&t(n);else n&&U(n.ref)&&t(n)}));return n.observe(window.document,{childList:!0,subtree:!0}),n}(g,Be)}),[Be,L.current]),(0,e.useEffect)((()=>()=>{xe.current&&xe.current.disconnect(),V.current=!0,Object.values(g.current).forEach((e=>Be(e,!0)))}),[]),!s&&Ce.current.isValid&&(ye.isValid=$(T.current,j.current)&&W(Oe.current.errors));const $e={trigger:Ie,setValue:(0,e.useCallback)((function(e,t,n){Ne(e,t,n||{}),Le(e)&&Se(),Ve(e)}),[Ne,Ie]),getValues:(0,e.useCallback)(He,[]),register:(0,e.useCallback)((function(e,t){if(!ge)if(Q(e))qe({name:e},t);else{if(!O(e)||!("name"in e))return t=>t&&qe(t,e);qe(e,t)}}),[L.current]),unregister:(0,e.useCallback)((function(e){for(const t of Array.isArray(e)?e:[e])Be(g.current[t],!0)}),[]),formState:ve?new Proxy(ye,{get:(e,t)=>t in e?(Ce.current[t]=!0,e[t]):undefined}):ye},Ge=(0,e.useMemo)((()=>Object.assign({isFormDirty:Pe,updateWatchedValue:ze,shouldUnregister:h,updateFormState:Se,removeFieldEventListener:We,watchInternal:Ye,mode:re.current,reValidateMode:{isReValidateOnBlur:De,isReValidateOnChange:ke},validateResolver:s?Ue:undefined,fieldsRef:g,resetFieldArrayFunctionRef:G,useWatchFieldsRef:C,useWatchRenderFunctionsRef:k,fieldArrayDefaultValuesRef:v,validFieldsRef:T,fieldsWithValidationRef:j,fieldArrayNamesRef:ne,readFormStateRef:Ce,formStateRef:Oe,defaultValuesRef:L,shallowFieldsStateRef:K,fieldArrayValuesRef:b},$e)),[L.current,ze,h,We,Ye]);return Object.assign({watch:function(e,t){return Ye(e,t)},control:Ge,handleSubmit:Ke,reset:(0,e.useCallback)(((e,t={})=>{if(de)for(const e of Object.values(g.current))if(e){const{ref:t,options:o}=e,a=me(t)&&Array.isArray(o)?o[0].ref:t;if(r(a))try{a.closest("form").reset();break}catch(n){}}g.current={},L.current=Object.assign({},e||L.current),e&&Ve(""),Object.values(G.current).forEach((e=>te(e)&&e())),K.current=h?{}:pe(e||L.current),(({errors:e,isDirty:t,isSubmitted:n,touched:r,isValid:o,submitCount:a,dirtyFields:i})=>{o||(T.current={},j.current={}),v.current={},y.current=new Set,F.current=!1,Se({submitCount:a?Oe.current.submitCount:0,isDirty:!!t&&Oe.current.isDirty,isSubmitted:!!n&&Oe.current.isSubmitted,isValid:!!o&&Oe.current.isValid,dirtyFields:i?Oe.current.dirtyFields:{},touched:r?Oe.current.touched:{},errors:e?Oe.current.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})})(t)}),[]),clearErrors:(0,e.useCallback)((function(e){e&&(Array.isArray(e)?e:[e]).forEach((e=>g.current[e]&&x(e)?delete Oe.current.errors[e]:B(Oe.current.errors,e))),Se({errors:e?Oe.current.errors:{}})}),[]),setError:(0,e.useCallback)((function(e,t){const n=(g.current[e]||{}).ref;S(Oe.current.errors,e,Object.assign(Object.assign({},t),{ref:n})),Se({isValid:!1}),t.shouldFocus&&n&&n.focus&&n.focus()}),[]),errors:ye.errors},$e)}
13
  /*! *****************************************************************************
14
  Copyright (c) Microsoft Corporation.
15
 
48
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49
  * SOFTWARE.
50
  */
51
+ var _r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Pr=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(_r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var jr=_r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Pr))}};function Tr(e){return e&&"[object Function]"==={}.toString.call(e)}function Ar(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Ir(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Rr(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Ar(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Rr(Ir(e))}function Nr(e){return e&&e.referenceNode?e.referenceNode:e}var Lr=_r&&!(!window.MSInputMethodContext||!document.documentMode),Vr=_r&&/MSIE 10/.test(navigator.userAgent);function Fr(e){return 11===e?Lr:10===e?Vr:Lr||Vr}function Hr(e){if(!e)return document.documentElement;for(var t=Fr(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Ar(n,"position")?Hr(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Ur(e){return null!==e.parentNode?Ur(e.parentNode):e}function Wr(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(o,0);var i,s,u=a.commonAncestorContainer;if(e!==u&&t!==u||r.contains(o))return"BODY"===(s=(i=u).nodeName)||"HTML"!==s&&Hr(i.firstElementChild)!==i?Hr(u):u;var c=Ur(e);return c.host?Wr(c.host,t):Wr(e,Ur(t).host)}function zr(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||o;return a[n]}return e[n]}function Br(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=zr(t,"top"),o=zr(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=o*a,e.right+=o*a,e}function Yr(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function qr(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Fr(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Kr(e){var t=e.body,n=e.documentElement,r=Fr(10)&&getComputedStyle(n);return{height:qr("Height",t,n,r),width:qr("Width",t,n,r)}}var $r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Gr=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Jr=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Xr(e){return Qr({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Zr(e){var t={};try{if(Fr(10)){t=e.getBoundingClientRect();var n=zr(e,"top"),r=zr(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(f){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?Kr(e.ownerDocument):{},i=a.width||e.clientWidth||o.width,s=a.height||e.clientHeight||o.height,u=e.offsetWidth-i,c=e.offsetHeight-s;if(u||c){var l=Ar(e);u-=Yr(l,"x"),c-=Yr(l,"y"),o.width-=u,o.height-=c}return Xr(o)}function eo(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=Fr(10),o="HTML"===t.nodeName,a=Zr(e),i=Zr(t),s=Rr(e),u=Ar(t),c=parseFloat(u.borderTopWidth),l=parseFloat(u.borderLeftWidth);n&&o&&(i.top=Math.max(i.top,0),i.left=Math.max(i.left,0));var f=Xr({top:a.top-i.top-c,left:a.left-i.left-l,width:a.width,height:a.height});if(f.marginTop=0,f.marginLeft=0,!r&&o){var d=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);f.top-=c-d,f.bottom-=c-d,f.left-=l-p,f.right-=l-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(f=Br(f,t)),f}function to(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=e.ownerDocument.documentElement,r=eo(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:zr(n),s=t?0:zr(n,"left"),u={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:a};return Xr(u)}function no(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Ar(e,"position"))return!0;var n=Ir(e);return!!n&&no(n)}function ro(e){if(!e||!e.parentElement||Fr())return document.documentElement;for(var t=e.parentElement;t&&"none"===Ar(t,"transform");)t=t.parentElement;return t||document.documentElement}function oo(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined&&arguments[4],a={top:0,left:0},i=o?ro(e):Wr(e,Nr(t));if("viewport"===r)a=to(i,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Rr(Ir(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=eo(s,i,o);if("HTML"!==s.nodeName||no(i))a=u;else{var c=Kr(e.ownerDocument),l=c.height,f=c.width;a.top+=u.top-u.marginTop,a.bottom=l+u.top,a.left+=u.left-u.marginLeft,a.right=f+u.left}}var d="number"==typeof(n=n||0);return a.left+=d?n:n.left||0,a.top+=d?n:n.top||0,a.right-=d?n:n.right||0,a.bottom-=d?n:n.bottom||0,a}function ao(e){return e.width*e.height}function io(e,t,n,r,o){var a=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var i=oo(n,r,a,o),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},u=Object.keys(s).map((function(e){return Qr({key:e},s[e],{area:ao(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=e.split("-")[1];return l+(f?"-"+f:"")}function so(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,o=r?ro(t):Wr(t,Nr(n));return eo(n,o,r)}function uo(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function co(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function lo(e,t,n){n=n.split("-")[0];var r=uo(e),o={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),i=a?"top":"left",s=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return o[i]=t[i]+t[u]/2-r[u]/2,o[s]=n===s?t[s]-r[c]:t[co(s)],o}function fo(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function po(e,t,n){return(n===undefined?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=fo(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e["function"]||e.fn;e.enabled&&Tr(n)&&(t.offsets.popper=Xr(t.offsets.popper),t.offsets.reference=Xr(t.offsets.reference),t=n(t,e))})),t}function ho(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=so(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=io(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=lo(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=po(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function mo(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function go(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],a=o?""+o+n:e;if("undefined"!=typeof document.body.style[a])return a}return null}function vo(){return this.state.isDestroyed=!0,mo(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[go("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bo(e){var t=e.ownerDocument;return t?t.defaultView:window}function yo(e,t,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||yo(Rr(a.parentNode),t,n,r),r.push(a)}function wo(e,t,n,r){n.updateBound=r,bo(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Rr(e);return yo(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Co(){this.state.eventsEnabled||(this.state=wo(this.reference,this.options,this.state,this.scheduleUpdate))}function Oo(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,bo(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function xo(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Do(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&xo(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var ko=_r&&/Firefox/i.test(navigator.userAgent);function So(e,t,n){var r=fo(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var a="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}var Eo=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Mo=Eo.slice(3);function _o(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=Mo.indexOf(e),r=Mo.slice(n+1).concat(Mo.slice(0,n));return t?r.reverse():r}var Po="flip",jo="clockwise",To="counterclockwise";function Ao(e,t,n,r){var o=[0,0],a=-1!==["right","left"].indexOf(r),i=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=i.indexOf(fo(i,(function(e){return-1!==e.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[i.slice(0,s).concat([i[s].split(u)[0]]),[i[s].split(u)[1]].concat(i.slice(s+1))]:[i];return(c=c.map((function(e,r){var o=(1===r?!a:a)?"height":"width",i=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+o[1],i=o[2];if(!a)return e;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=r}return Xr(s)[t]/100*a}if("vh"===i||"vw"===i)return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a;return a}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){xo(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var Io={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,a=o.reference,i=o.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:Jr({},u,a[u]),end:Jr({},u,a[u]+a[c]-i[c])};e.offsets.popper=Qr({},i,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,a=o.popper,i=o.reference,s=r.split("-")[0],u=void 0;return u=xo(+n)?[+n,0]:Ao(n,a,i,s),"left"===s?(a.top+=u[0],a.left-=u[1]):"right"===s?(a.top+=u[0],a.left+=u[1]):"top"===s?(a.left+=u[0],a.top-=u[1]):"bottom"===s&&(a.left+=u[0],a.top+=u[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Hr(e.instance.popper);e.instance.reference===n&&(n=Hr(n));var r=go("transform"),o=e.instance.popper.style,a=o.top,i=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=oo(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=a,o.left=i,o[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,f={primary:function(e){var n=l[e];return l[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(l[e],u[e])),Jr({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=l[n];return l[e]>u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),Jr({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=Qr({},l,f[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],a=Math.floor,i=-1!==["top","bottom"].indexOf(o),s=i?"right":"bottom",u=i?"left":"top",c=i?"width":"height";return n[s]<a(r[u])&&(e.offsets.popper[u]=a(r[u])-n[c]),n[u]>a(r[s])&&(e.offsets.popper[u]=a(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!So(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],a=e.offsets,i=a.popper,s=a.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",l=u?"Top":"Left",f=l.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",h=uo(r)[c];s[p]-h<i[f]&&(e.offsets.popper[f]-=i[f]-(s[p]-h)),s[f]+h>i[p]&&(e.offsets.popper[f]+=s[f]+h-i[p]),e.offsets.popper=Xr(e.offsets.popper);var m=s[f]+s[c]/2-h/2,g=Ar(e.instance.popper),v=parseFloat(g["margin"+l]),b=parseFloat(g["border"+l+"Width"]),y=m-e.offsets.popper[f]-v-b;return y=Math.max(Math.min(i[c]-h,y),0),e.arrowElement=r,e.offsets.arrow=(Jr(n={},f,Math.round(y)),Jr(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(mo(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=oo(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=co(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case Po:i=[r,o];break;case jo:i=_o(r);break;case To:i=_o(r,!0);break;default:i=t.behavior}return i.forEach((function(s,u){if(r!==s||i.length===u+1)return e;r=e.placement.split("-")[0],o=co(r);var c=e.offsets.popper,l=e.offsets.reference,f=Math.floor,d="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),p=f(c.left)<f(n.left),h=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),v="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===a&&p||b&&"end"===a&&h||!b&&"start"===a&&m||!b&&"end"===a&&g),w=!!t.flipVariationsByContent&&(b&&"start"===a&&h||b&&"end"===a&&p||!b&&"start"===a&&g||!b&&"end"===a&&m),C=y||w;(d||v||C)&&(e.flipped=!0,(d||v)&&(r=i[u+1]),C&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=Qr({},e.offsets.popper,lo(e.instance.popper,e.offsets.reference,e.placement)),e=po(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,a=r.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[i?"left":"top"]=a[n]-(s?o[i?"width":"height"]:0),e.placement=co(t),e.offsets.popper=Xr(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!So(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=fo(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,a=fo(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;a!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=a!==undefined?a:t.gpuAcceleration,s=Hr(e.instance.popper),u=Zr(s),c={position:o.position},l=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,a=Math.round,i=Math.floor,s=function(e){return e},u=a(o.width),c=a(r.width),l=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?l||f||u%2==c%2?a:i:s,p=t?a:s;return{left:d(u%2==1&&c%2==1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!ko),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=go("transform"),h=void 0,m=void 0;if(m="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-u.height+l.bottom:l.top,h="right"===d?"HTML"===s.nodeName?-s.clientWidth+l.right:-u.width+l.right:l.left,i&&p)c[p]="translate3d("+h+"px, "+m+"px, 0)",c[f]=0,c[d]=0,c.willChange="transform";else{var g="bottom"===f?-1:1,v="right"===d?-1:1;c[f]=m*g,c[d]=h*v,c.willChange=f+", "+d}var b={"x-placement":e.placement};return e.attributes=Qr({},b,e.attributes),e.styles=Qr({},c,e.styles),e.arrowStyles=Qr({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Do(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Do(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=so(o,t,e,n.positionFixed),i=io(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),Do(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:undefined}}},Ro=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};$r(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=jr(this.update.bind(this)),this.options=Qr({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Qr({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Qr({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Qr({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Tr(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Gr(e,[{key:"update",value:function(){return ho.call(this)}},{key:"destroy",value:function(){return vo.call(this)}},{key:"enableEventListeners",value:function(){return Co.call(this)}},{key:"disableEventListeners",value:function(){return Oo.call(this)}}]),e}();Ro.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,Ro.placements=Eo,Ro.Defaults=Io;var No=Ro,Lo=(n(353),function(e){do{e+=~~(1e6*Math.random())}while("undefined"!=typeof document&&document.getElementById(e));return e}),Vo=("undefined"!=typeof window&&"undefined"!=typeof window.document&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,{name:"kpm0v2",styles:"position:absolute;display:block;width:16px;height:8px;margin:0 5px;&:before,&:after{position:absolute;display:block;content:'';border-color:transparent;border-style:solid;}"}),Fo=function(t){t.placement;var n=bt(t,["placement"]);return ft(e.Fragment,null,ft(dt,{styles:Ho}),ft("div",wt({},n,{"data-arrow":"true",css:Vo})))},Ho={name:"rvo98s",styles:"[x-placement^='top']{margin-bottom:8px;[data-arrow]{bottom:-9px;}[data-arrow]:before{bottom:0;border-width:8px 8px 0;border-top-color:rgba(0,0,0,0.25);}[data-arrow]:after{bottom:1px;border-width:8px 8px 0;border-top-color:#fff;}}[x-placement^='right']{margin-left:8px;[data-arrow]{left:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{left:0;border-width:8px 8px 8px 0;border-right-color:rgba(0,0,0,0.25);}[data-arrow]:after{left:1px;border-width:8px 8px 8px 0;border-right-color:#fff;}}[x-placement^='bottom']{margin-top:8px;[data-arrow]{top:-9px;}[data-arrow]:before{top:0;border-width:0 8px 8px 8px;border-bottom-color:rgba(0,0,0,0.25);}[data-arrow]:after{top:1px;border-width:0 8px 8px 8px;border-bottom-color:#fff;}}[x-placement^='left']{margin-right:8px;[data-arrow]{right:-9px;width:8px;height:16px;margin:5px 0;}[data-arrow]:before{right:0;border-width:8px 0 8px 8px;border-left-color:rgba(0,0,0,0.25);}[data-arrow]:after{right:1px;border-width:8px 0 8px 8px;border-left-color:#fff;}}"},Uo=function(n){var r,o,a,i=n.header,s=n.body,u=n.children,c=n.placement,l=n.trigger,f=n.styles,d=bt(n,["header","body","children","placement","trigger","styles"]),p=t().Children.only(u),h=(0,e.useRef)(null),m=(0,e.useState)(!1),g=m[0],v=m[1],b=(0,e.useState)(!1),y=b[0],w=b[1],C=(0,e.useState)({popoverId:null,referenceId:null,arrowId:null}),O=C[0],x=C[1],D=O.popoverId,k=O.referenceId,S=O.arrowId;r=h,o=function(e){e.target.id===k||document.getElementById(k).contains(e.target)||v(!1)},a=(0,e.useRef)(),(0,e.useEffect)((function(){a.current=o}),[o]),(0,e.useEffect)((function(){var e=function(e){r.current&&!r.current.contains(e.target)&&a.current(event)};return Mr.forEach((function(t){document.addEventListener(t,e,{passive:!0})})),function(){Mr.forEach((function(t){document.removeEventListener(t,e,{passive:!0})}))}}),[r,o]),(0,e.useEffect)((function(){if(!D)return x({popoverId:Lo("popover"),referenceId:Lo("reference"),arrowId:Lo("arrow")});var e=document.getElementById(D),t=document.getElementById(k),n=document.getElementById(S);e&&t&&n&&(new No(t,e,{placement:c,modifiers:{arrow:{element:n}}}),w(g))}),[g]);var E={content:[Wo.content,f.content],header:[Wo.header,f.header],body:[Wo.body,f.body]};return ft(e.Fragment,null,D?ft("div",wt({},d,{id:D,ref:h,css:E.content,style:y?{display:"block"}:{}}),ft(Fo,{id:S}),i?ft("div",{css:E.header},i):null,ft("div",{css:E.body},s)):null,t().cloneElement(p,wt({},p.props,{id:k,onClick:function(){"click"===l&&v(!g)}})))};Uo.defaultProps={placement:"right",trigger:"click",styles:{}};var Wo={content:{name:"106ha8s",styles:"display:none;max-width:300px;background-color:#fff;border-radius:4px;border:1px solid rgba(0,0,0,0.2);z-index:1060;"},header:{name:"12koz1z",styles:"padding:8px 12px;background-color:#f7f7f7;font-size:16px;font-weight:bold;border-top-left-radius:4px;border-top-right-radius:4px;"},body:{name:"k7kym8",styles:"padding:8px 12px;font-size:14px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;"}},zo=Uo;function Bo(e){var t=e.touches;if(t&&t.length){var n=t[0];return{x:n.clientX,y:n.clientY}}return{x:e.clientX,y:e.clientY}}var Yo={position:"relative",display:"inline-block",backgroundColor:"#ddd",borderRadius:5,userSelect:"none",boxSizing:"border-box"},qo={position:"absolute",backgroundColor:"#5e72e4",borderRadius:5,userSelect:"none",boxSizing:"border-box"},Ko={position:"relative",display:"block",content:'""',width:18,height:18,backgroundColor:"#fff",borderRadius:"50%",boxShadow:"0 1px 1px rgba(0,0,0,.5)",userSelect:"none",cursor:"pointer",boxSizing:"border-box"},$o={x:{track:wt({},Yo,{width:200,height:10}),active:wt({},qo,{top:0,height:"100%"}),thumb:wt({},Ko)},y:{track:wt({},Yo,{width:10,height:200}),active:wt({},qo,{left:0,width:"100%"}),thumb:wt({},Ko)},xy:{track:{position:"relative",overflow:"hidden",width:200,height:200,backgroundColor:"#5e72e4",borderRadius:0},active:{},thumb:wt({},Ko)},disabled:{opacity:.5}},Go=function(t){var n=t.disabled,r=t.axis,o=t.x,a=t.y,i=t.xmin,s=t.xmax,u=t.ymin,c=t.ymax,l=t.xstep,f=t.ystep,d=t.onChange,p=t.onDragStart,h=t.onDragEnd,m=t.onClick,g=t.xreverse,v=t.yreverse,b=t.styles,y=bt(t,["disabled","axis","x","y","xmin","xmax","ymin","ymax","xstep","ystep","onChange","onDragStart","onDragEnd","onClick","xreverse","yreverse","styles"]),w=(0,e.useRef)(null),C=(0,e.useRef)(null),O=(0,e.useRef)({}),x=(0,e.useRef)({});function D(e){var t=e.top,n=e.left;if(d){var o=w.current.getBoundingClientRect(),a=o.width,p=o.height,h=0,m=0;n<0&&(n=0),n>a&&(n=a),t<0&&(t=0),t>p&&(t=p),"x"!==r&&"xy"!==r||(h=n/a*(s-i)),"y"!==r&&"xy"!==r||(m=t/p*(c-u));var b=(0!==h?parseInt(h/l,10)*l:0)+i,y=(0!==m?parseInt(m/f,10)*f:0)+u;d({x:g?s-b+i:b,y:v?c-y+u:y})}}function k(e){if(!n){e.preventDefault();var t=C.current,r=Bo(e);O.current={x:t.offsetLeft,y:t.offsetTop},x.current={x:r.x,y:r.y},document.addEventListener("mousemove",S),document.addEventListener("mouseup",E),document.addEventListener("touchmove",S,{passive:!1}),document.addEventListener("touchend",E),document.addEventListener("touchcancel",E),p&&p(e)}}function S(e){n||(e.preventDefault(),D(function(e){var t=Bo(e);return{left:t.x+O.current.x-x.current.x,top:t.y+O.current.y-x.current.y}}(e)))}function E(e){n||(e.preventDefault(),document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",S,{passive:!1}),document.removeEventListener("touchend",E),document.removeEventListener("touchcancel",E),h&&h(e))}var M,_,P=((M=(a-u)/(c-u)*100)>100&&(M=100),M<0&&(M=0),"x"===r&&(M=0),(_=(o-i)/(s-i)*100)>100&&(_=100),_<0&&(_=0),"y"===r&&(_=0),{top:M,left:_}),j={};"x"===r&&(j.width=P.left+"%"),"y"===r&&(j.height=P.top+"%"),g&&(j.left=100-P.left+"%"),v&&(j.top=100-P.top+"%");var T={position:"absolute",transform:"translate(-50%, -50%)",left:g?100-P.left+"%":P.left+"%",top:v?100-P.top+"%":P.top+"%"};"x"===r?T.top="50%":"y"===r&&(T.left="50%");var A={track:wt({},$o[r].track,{},b.track),active:wt({},$o[r].active,{},b.active),thumb:wt({},$o[r].thumb,{},b.thumb),disabled:wt({},$o.disabled,{},b.disabled)};return ft("div",wt({},y,{ref:w,css:lt([A.track,n&&A.disabled],";label:Slider;"),onClick:function(e){if(!n){var t=Bo(e),r=w.current.getBoundingClientRect();D({left:t.x-r.left,top:t.y-r.top}),m&&m(e)}}}),ft("div",{css:A.active,style:j}),ft("div",{ref:C,style:T,onTouchStart:k,onMouseDown:k,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:A.thumb})))};Go.defaultProps={disabled:!1,axis:"x",x:50,xmin:0,xmax:100,y:50,ymin:0,ymax:100,xstep:1,ystep:1,xreverse:!1,yreverse:!1,styles:{}};var Jo=Go,Qo=n(654),Xo=n.n(Qo),Zo=n(763),ea=n.n(Zo),ta=n(37),na=n.n(ta),ra="undefined"!=typeof navigator&&navigator.userAgent.match(/iPhone|iPad|iPod/i),oa=function(t){var n=t.step,r=t.min,o=t.max,a=t.value,i=t.onChange,s=t.onKeyDown,u=t.enableMobileNumericKeyboard,c=t.component,l=bt(t,["step","min","max","value","onChange","onKeyDown","enableMobileNumericKeyboard","component"]),f=(0,e.useState)(a),d=f[0],p=f[1];(0,e.useEffect)((function(){p(a)}),[a]);var h={value:d,onChange:function(e){var t=function(e){if(ea()(e))return e;if(na()(e)){if(!(e=e.trim()))return"";var t=parseFloat(e);if(!Xo()(t))return t}return""}(e);p(e),i&&i(t)},onKeyDown:function(e){38===e.keyCode?i&&i(ia("+",a,o,r,n)):40===e.keyCode&&i&&i(ia("-",a,o,r,n)),s&&s(e)},onWheel:function(e){e.target.blur()}};return ft(c,wt({},l,h,u?{css:aa,type:"number",inputMode:"numeric",pattern:ra?"[0-9]*":"",step:n,min:r,max:o}:{css:aa,type:"text"}))};oa.defaultProps={autoComplete:"off",enableMobileNumericKeyboard:!1,value:"",component:function(e){var t=e.onChange,n=bt(e,["onChange"]);return ft("input",wt({},n,{onChange:function(e){t&&t(e.target.value)}}))},step:1};var aa={MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}};function ia(e,t,n,r,o){if(""===t)return ea()(r)?r:"";if(t="+"===e?t+o:t-o,ea()(n)&&t>n)return n;if(ea()(r)&&t<r)return r;var a=(o.toString().split(".")[1]||[]).length;return a?parseFloat(t.toFixed(a)):t}var sa=oa;function ua(e){return"#"===e[0]&&(e=e.substr(1)),3===e.length?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16)}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16)}}function ca(e,t,n){var r=[],o=(n/=100)*(t/=100),a=e/60,i=o*(1-Math.abs(a%2-1)),s=n-o;return r=a>=0&&a<1?[o,i,0]:a>=1&&a<2?[i,o,0]:a>=2&&a<3?[0,o,i]:e>=3&&a<4?[0,i,o]:e>=4&&a<5?[i,0,o]:e>=5&&a<=6?[o,0,i]:[0,0,0],{r:Math.round(255*(r[0]+s)),g:Math.round(255*(r[1]+s)),b:Math.round(255*(r[2]+s))}}function la(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function fa(e,t,n){return"#"+[la(e),la(t),la(n)].join("")}function da(e,t,n){var r,o=Math.max(e,t,n),a=o-Math.min(e,t,n);return r=0===a?0:e===o?(t-n)/a%6:t===o?(n-e)/a+2:(e-t)/a+4,(r=Math.round(60*r))<0&&(r+=360),{h:r,s:Math.round(100*(0===o?0:a/o)),v:Math.round(o/255*100)}}function pa(e,t,n,r){return"rgba("+[e,t,n,r/100].join(",")+")"}var ha={name:"bzk4lp",styles:"width:100%;margin-top:10px;margin-bottom:10px;display:flex;"},ma={name:"lwa3hx",styles:"flex:1;margin-right:10px;"},ga=function(e){var t=e.color,n=e.onChange,r=t.r,o=t.g,a=t.b,i=t.a,s=t.h,u=t.s,c=t.v;function l(e){n&&n(wt({},e,{rgba:pa(e.r,e.g,e.b,e.a)}))}function f(e,n,r){var o=ca(e,n,r),a=o.r,i=o.g,s=o.b,u=fa(a,i,s);l(wt({},t,{h:e,s:n,v:r,r:a,g:i,b:s,hex:u}))}function d(e,n,r){var o=fa(e,n,r),a=da(e,n,r),i=a.h,s=a.s,u=a.v;l(wt({},t,{r:e,g:n,b:r,h:i,s:s,v:u,hex:o}))}function p(e){l(wt({},t,{a:e}))}var h=pa(r,o,a,i),m="linear-gradient(to right, "+pa(r,o,a,0)+", "+pa(r,o,a,100)+")",g=function(e,t,n){var r=ca(e,t,n);return fa(r.r,r.g,r.b)}(s,100,100);return ft("div",{css:va.picker,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},ft("div",{css:va.selector,style:{backgroundColor:g}},ft("div",{css:va.gradientWhite}),ft("div",{css:va.gradientDark}),ft(Jo,{axis:"xy",x:u,xmax:100,y:100-c,ymax:100,onChange:function(e){var t=e.x,n=e.y;return f(s,t,100-n)},styles:{track:{width:"100%",height:"100%",background:"none"},thumb:{width:12,height:12,backgroundColor:"rgba(0,0,0,0)",border:"2px solid #fff",borderRadius:"50%"}}})),ft("div",{css:ha},ft("div",{css:ma},ft(Jo,{axis:"x",x:s,xmax:359,onChange:function(e){return f(e.x,u,c)},styles:{track:{width:"100%",height:12,borderRadius:0,background:"linear-gradient(to left, #FF0000 0%, #FF0099 10%, #CD00FF 20%, #3200FF 30%, #0066FF 40%, #00FFFD 50%, #00FF66 60%, #35FF00 70%, #CDFF00 80%, #FF9900 90%, #FF0000 100%)"},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}}}),ft(Jo,{axis:"x",x:i,xmax:100,styles:{track:{width:"100%",height:12,borderRadius:0,background:m},active:{background:"none"},thumb:{width:5,height:14,borderRadius:0,backgroundColor:"#eee"}},onChange:function(e){return p(e.x)}})),ft("div",{style:{backgroundColor:h,width:30,height:30}})),ft("div",{css:va.inputs},ft("div",{css:va.input},ft("input",{style:{width:70,textAlign:"left"},type:"text",value:t.hex,onChange:function(e){return function(e){var n=ua(e),r=n.r,o=n.g,a=n.b,i=da(r,o,a),s=i.h,u=i.s,c=i.v;l(wt({},t,{r:r,g:o,b:a,h:s,s:u,v:c,hex:e}))}(e.target.value)},onKeyUp:function(e){if(13===e.keyCode){var n=e.target.value.trim(),r=ua(n),o=r.r,a=r.g,s=r.b;l(wt({},t,{r:o,g:a,b:s,a:i,hex:n}))}}}),ft("div",null,"Hex")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:r,onChange:function(e){return d(e,o,a)}}),ft("div",null,"R")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:o,onChange:function(e){return d(r,e,a)}}),ft("div",null,"G")),ft("div",{css:va.input},ft(sa,{min:0,max:255,value:a,onChange:function(e){return d(r,o,e)}}),ft("div",null,"B")),ft("div",{css:va.input},ft(sa,{min:0,max:100,value:i,onChange:function(e){return p(e)}}),ft("div",null,"A"))))};ga.defaultProps={initialValue:"#5e72e4"};var va={picker:{fontFamily:"'Helvetica Neue',Helvetica,Arial,sans-serif",width:230,"*":{userSelect:"none"}},selector:{position:"relative",width:230,height:230},gradientWhite:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%)"},gradientDark:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(to bottom, transparent 0%, #000000 100%)"},inputs:{display:"flex",justifyContent:"space-between",width:"100%"},input:{textAlign:"center",fontSize:13,fontWeight:"normal",color:"#000",input:{width:30,textAlign:"center"},div:{marginTop:4}}};function ba(e){var t,n=(e=e.toLowerCase()).substr(0,7),r=ua(n),o=r.r,a=r.g,i=r.b,s=da(o,a,i),u=e.length>7?(t=e.substr(7),Math.round(parseInt("0x"+t,16)/255*100)):100;return wt({},s,{r:o,g:a,b:i,a:u,hex:n,rgba:pa(o,a,i,u)})}var ya={name:"j4ndc3",styles:"position:relative;display:inline-block;box-sizing:border-box;width:49px;height:24px;padding:4px;background-color:#ffffff;border:1px solid #bebebe;border-radius:3px;user-select:none;"},wa={name:"trkpwz",styles:"display:block;width:100%;height:100%;cursor:pointer;"},Ca=function(t){var n=t.initialValue,r=t.onChange,o=t.placement,a=bt(t,["initialValue","onChange","placement"]),i=(0,e.useState)(ba(n)),s=i[0],u=i[1];function c(e){r&&(u(e),r(e))}return(0,e.useEffect)((function(){c(ba(n))}),[n]),ft(zo,{placement:o,body:ft(ga,{color:s,onChange:c})},ft("span",wt({},a,{css:ya}),ft("span",{css:wa,style:{backgroundColor:s.rgba}})))};Ca.defaultProps={placement:"bottom"};var Oa=Ca,xa=n(953),Da=n(73),ka=n.n(Da),Sa=n(251),Ea=n.n(Sa);function Ma(e){return(Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _a,Pa=function(e){var t=function(){this.parser=new i},n=t.prototype;function r(e,t){for(var n=[],r=t,o=e.length;r<o;r++)n.push(e[r]);return n}var o=function(){var e=function n(e,t,r){this.prefix=(e||"")+":",this.level=t||n.NONE,this.out=r||window.console&&window.console.log.bind(window.console),this.warn=this.log.bind(this,n.WARN),this.info=this.log.bind(this,n.INFO),this.debug=this.log.bind(this,n.DEBUG)},t=e.prototype;return e.DEBUG=1,e.INFO=2,e.WARN=3,e.NONE=4,t.log=function(e,t){if(e>=this.level&&"function"==typeof this.out){var n=r(arguments,2);n=[this.prefix+t].concat(n),this.out.apply(this,n)}},e}(),a=function(){var e=function(e){this.obj=e||{}},t=e.prototype;return t.get=function(e){var t=this.obj[e];return t===undefined&&this.parent&&(t=this.parent.get(e)),t},t.set=function(e,t){return this.obj[e]=t,this.get(e)},e}(),i=function(){var e=new o("PARSER",o.NONE),t=new o("EMIT",o.NONE),n=function(){};function i(e){var t={};return e.forEach((function(e,n){t[e]=n})),t}function s(e,t,n){if(1===n.length&&"object"===Ma(n[0])){var r=n[0];t.forEach((function(t){e[t]=r[t]}))}else for(var o=0,i=t.length,s=n.length;o<i&&o<s;o++)e[t[o]]=n[o];delete e.runtimeError;var u=new a(e);return u.parent=l,u}function u(n){if(n!==undefined)switch(n.id){case"Expr":case"Tuple":return u(n.expr);case"OpenTuple":return n.expr?f(n.expr):f(n.left,n.right);case"Assign":return n.expr?u(n.expr):(s=n.left,l=u(l=n.right),function(e){return e.set(s.value,l.apply(null,arguments))});case"Sums":case"Prod":case"Power":return n.expr?u(n.expr):function(t,n,o){n=u(n),o=u(o);var a=undefined;function i(e){var t=r(arguments,1);return e(n.apply(this,t),o.apply(this,t))}switch(t.id){case"Plus":return i.bind(a,(function(e,t){return+e+t}));case"Minus":return i.bind(a,(function(e,t){return e-t}));case"Mul":return i.bind(a,(function(e,t){return e*t}));case"Div":return i.bind(a,(function(e,t){return e/t}));case"Mod":return i.bind(a,(function(e,t){return e%t}));case"Pow":return i.bind(a,(function(e,t){return Math.pow(e,t)}))}return e.warn("No emitter for %o",t),function(){}}(n.op,n.left,n.right);case"Unary":return n.expr?u(n.expr):function(t,n){switch(n=u(n),t.id){case"Plus":return function(){return n.apply(this,arguments)};case"Minus":return function(){return-n.apply(this,arguments)}}return e.warn("No emitter for %o",t),function(){}}(n.op,n.right);case"Call":return o=n.token,a=n.args,i=c(a),a=u(a),function(e){var t=e.get(o.value);if("function"==typeof t){var n=a.apply(null,arguments);return i||(n=[n]),t.apply(null,n)}e.set("runtimeError",{text:'Call to undefined "'+o.value+'"'})};case"Parens":return u(n.expr);case"Value":return u(n.token);case"Number":return function(){return n.value};case"Var":return function(e){return e.get(n.value)};default:t.warn("No emitter for %o",n)}var o,a,i,s,l;return function(){}}function c(e){if(e!==undefined)switch(e.id){case"Expr":case"Tuple":return c(e.expr);case"OpenTuple":return!0}return!1}function f(e,t){if(e===undefined)return function(){return[]};var n="OpenTuple"===e.id;return e=u(e),t===undefined?function(){return[e.apply(null,arguments)]}:(t=u(t),n?function(){var n=e.apply(null,arguments);return n.push(t.apply(null,arguments)),n}:function(){return[e.apply(null,arguments),t.apply(null,arguments)]})}n.prototype.parse=function(n){this.error=undefined;var r=function(e){var t,n,r=[],o=0;for(;(t=k(e,o))!==undefined;)t.error?n=t.error:"Space"!==t.id&&r.push(t),o=t.end;return{tokens:r,error:n}}(n),o=function(t){for(var n={tokens:t,pos:0,stack:[],scope:{}},r=0,o=t.length,a=!1;!a&&r<=o;){var i=t[r],s=n.stack[n.stack.length-1],u=(s?s.id:"(empty)")+":"+(i?i.id:"(eof)");switch(d[u]){case 1:e.debug("shift %s %o",u,h(n.stack)),n=m(n,i),r++;break;case 2:e.debug("reduce %s %o",u,h(n.stack)),n=v(n,i);break;case 0:e.debug("done %s %o",u,h(n.stack)),a=!0;break;default:if(i!==undefined){var c={pos:i.pos,text:'Unexpected token "'+i.string+'"'};n.error=c,e.warn("%s at %d (%s)",c.text,c.pos,u)}else{c={text:"Unexpected EOF",pos:n.pos+1};n.error=c,e.warn("%s (%s)",c.text,u)}a=!0}}if(!n.error&&n.stack.length>1){var l=b(n,1);c={pos:l.pos||0,text:"LParen"===l.id?"Open paren":"Invalid expression"};n.error=c,e.warn("%s at %d (eof)",c.text,c.pos)}return{root:n.stack.pop(),vars:Object.keys(n.scope),error:n.error}}(r.tokens);t.debug("AST: %o",o);var a,c,l=(a=u(o.root),function(e){try{return a.apply(null,arguments)}catch(t){e.set("runtimeError",{text:""+t})}});return c={},{error:r.error||o.error,args:i(o.vars),eval:function(){return l(s(c,o.vars,arguments))},set scope(e){c=e||{}},get scope(){return c}}};var d={};function p(e,t,n){for(var r=0,o=t.length;r<o;r++)for(var a=0,i=n.length;a<i;a++){var s=t[r]+":"+n[a];d[s]=e}}function h(t){return e.level>=o.DEBUG?t.map((function(e){return e.id})):""}function m(e,t){return g(e,0,t)}function g(e,t,n){var r=e.stack.slice(0,e.stack.length-t),o=e.pos;return n&&(r.push(n),n.pos!==undefined&&(o=n.pos)),{tokens:e.tokens,pos:o,stack:r,scope:e.scope,error:e.error}}function v(t,n){switch(b(t,0).id){case"Tuple":return function(e){var t=b(e,0);return g(e,1,{id:"Expr",expr:t})}(t);case"OpenTuple":case"Comma":return y(t,n);case"Assign":case"Sums":return function(e,t){var n=b(e,1),r=b(e,0);if(r!==undefined&&"Sums"===r.id)return w(e,["Eq"],"Assign");if(n!==undefined&&"Eq"===n.id)return w(e,["Eq"],"Assign");return y(e,t)}(t,n);case"Prod":return function(e){return w(e,["Plus","Minus"],"Sums")}(t);case"Power":case"Unary":return function(e){var t=b(e,1),n=b(e,0);if(n!==undefined&&"Unary"===n.id){var r=O(e,!1);return r||g(e,1,{id:"Power",expr:n})}if(n!==undefined&&"Power"===n.id&&t!==undefined&&"Pow"===t.id)return w(e,["Pow"],"Power");return function(e){return w(e,["Mul","Div","Mod"],"Prod")}(e)}(t);case"Call":case"Parens":return O(t);case"Value":case"RParen":return function(t){var n=b(t,3),r=b(t,2),o=b(t,1),a=b(t,0),i={id:"Parens"};if("RParen"===a.id){if(o!==undefined&&"LParen"===o.id)return r!==undefined&&"Var"===r.id?g(t,3,i={id:"Call",token:r}):g(t,2,i={id:"OpenTuple"});if(r===undefined||"LParen"!==r.id){var s={pos:a.pos,text:"Unmatched paren"};return t.error=s,e.warn("%s at %d",s.text,s.pos),g(t,1)}return n!==undefined&&"Var"===n.id?g(t,4,i={id:"Call",token:n,args:o}):(i.expr=o,g(t,3,i))}return i.expr=a,g(t,1,i)}(t);case"Number":case"Var":return function(e){var t=b(e,0);e=g(e,1,{id:"Value",token:t}),"Var"===t.id&&(e.scope[t.value]=t);return e}(t)}return t}function b(e,t){return t===undefined&&(t=0),e.stack[e.stack.length-(t+1)]}function y(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"OpenTuple"};return"Comma"===o.id?g(e,2,r):r!==undefined&&"Comma"===r.id?(a.op=r,a.left=n,a.right=o,g(e,3,a)):t!==undefined&&"Comma"===t.id?(a.expr=o,g(e,1,a)):g(e,1,a={id:"Tuple",expr:o})}function w(e,t,n){var r=b(e,2),o=b(e,1),a=b(e,0),i={id:n};return o!==undefined&&-1!==t.indexOf(o.id)?(i.op=o,i.left=r,i.right=a,g(e,3,i)):(i.expr=a,g(e,1,i))}p(1,["(empty)","Plus","Minus","Mul","Div","Mod","Pow","LParen","Eq","Comma"],["Plus","Minus","LParen","Number","Var"]),p(1,["Var"],["LParen","Eq"]),p(1,["Sums"],["Plus","Minus"]),p(1,["Prod"],["Mul","Div","Mod"]),p(1,["Unary"],["Pow"]),p(1,["OpenTuple","Tuple"],["Comma"]),p(1,["LParen","Expr"],["RParen"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign"],["Comma"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod"],["Plus","Minus"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power"],["Mul","Div","Mod"]),p(2,["Number","Var","Value","RParen","Parens","Call"],["Pow"]),p(2,["Number","Var","Value","RParen","Parens","Call","Unary","Power","Prod","Sums","Assign","Comma","OpenTuple","Tuple"],["RParen","(eof)"]),p(0,["(empty)","Expr"],["(eof)"]);var C=["Pow","Mul","Div","Mod","Plus","Minus","Eq","Comma","LParen"];function O(e,t){var n=b(e,2),r=b(e,1),o=b(e,0),a={id:"Unary"};return r===undefined||"Minus"!==r.id&&"Plus"!==r.id||n!==undefined&&-1===C.indexOf(n.id)?!1!==t?(a.expr=o,g(e,1,a)):void 0:(a.op=r,a.right=o,g(e,2,a))}var x=/^(?:(\s+)|((?:\d+e[-+]?\d+|\d+(?:\.\d*)?|\d*\.\d+))|(\+)|(\-)|(\*)|(\/)|(%)|(\^)|(\()|(\))|(=)|(,)|([a-zA-Z]\w*))/i,D=["Space","Number","Plus","Minus","Mul","Div","Mod","Pow","LParen","RParen","Eq","Comma","Var"];function k(t,n){var r=t.slice(n);if(0!==r.length){var o=x.exec(r);if(null===o){var a=function(e,t){for(var n=e.length;t<n;t++){var r=e.slice(t);if(0===r.length)break;if(null!==x.exec(r))break}return t}(t,n),i={pos:n,text:'Unexpected symbol "'+t.slice(n,a)+'"'};return e.warn("%s at %d",i.text,i.pos),{error:i,end:a}}for(var s=0,u=D.length;s<u;s++){var c=o[s+1];if(c!==undefined)return{id:D[s],string:c,pos:n,end:n+c.length,value:E(D[s],c)}}}}var S=Number.parseFloat||parseFloat;function E(e,t){switch(e){case"Number":return S(t);default:return t}}return n}(),s=function(e,t){return Array.isArray(e)?function(e,t){return e.length?e.reduce((function(e,n){return"decrease_first_value"===t?Number(n)-Number(e):Number(e)+Number(n)})):NaN}(e,t):Number(e)};var u,c,l=((c=new a).set("pi",Math.PI),c.set("e",Math.E),c.set("inf",Number.POSITIVE_INFINITY),u=Math,Object.getOwnPropertyNames(Math).forEach((function(e){c.set(e,u[e])})),c);return n.parse=function(e,t,n){e=(e=e.replace(/\[|\]|-/g,"__")).replace(/\s+(__|–)\s+/g," - "),t=void 0===t?{}:t;var r=/\[|\]|-/g,o={};for(var a in t)o[a.replace(r,"__")]=s(t[a],n);var i=this.parser.parse(e);return i.scope.numberFormat=function(e){if(!Number.isNaN(e))return(new Intl.NumberFormat).format(e)},i.scope.floor=function(e){return Math.floor(e)},i.scope.round=function(e){return Math.round(e)},i.scope.float=function(e,t){return t=void 0===t?0:t,e.toFixed(t)},i.scope.ceil=function(e){return Math.ceil(e)},i.eval(o)},t}(),ja="";_a=jQuery,Element.prototype.getElSettings=function(e){if("settings"in this.dataset)return JSON.parse(this.dataset.settings.replace(/(&quot\;)/g,'"'))[e]||""},ja=function(e,t){var n=e.find(".mf-multistep-container");if(n.length){var r=[];n.find(".elementor-top-section").each((function(e){var t=this.getElSettings("metform_multistep_settings_title")||"Step-"+_a(this).data("id"),o=this.getElSettings("metform_multistep_settings_icon"),a="",i="";o&&(a="svg"===o.library?'<img class="metform-step-svg-icon" src="'+o.value.url+'" alt="SVG Icon" />':o.value.length?'<i class="metform-step-icon '+o.value+'"></i>':""),0===e?(i="active",n.hasClass("mf_slide_direction_vertical")&&_a(this).parents(".elementor-section-wrap").css("height",_a(this).height())):1===e&&(i="next"),t&&r.push("<li class='metform-step-item "+i+"' id='metform-step-item-"+_a(this).attr("data-id")+"' data-value='"+_a(this).attr("data-id")+"'>"+a+'<span class="metform-step-title">'+t+"</span></li>")})),r&&(n.find(".metform-form-content .metform-form-main-wrapper > .elementor").before("<ul class='metform-steps'>"+r.join("")+"</ul>"),n.find(".elementor-top-section:first-of-type").addClass("active"),n.find(".mf-progress-step-bar span").attr("data-portion",100/r.length).css("width",100/r.length+"%"))}n.find(".elementor-top-section .metform-btn").attr("type","button"),n.find(".mf-input").on("keypress",(function(e){13!==e.which||_a(this).hasClass("mf-textarea")||n.find(".metform-step-item.next").trigger("click")})),n.find(".elementor-top-section").on("keydown",(function(e){var t=_a(this),n=_a(":focus");if(9==e.which)if(t.hasClass("active")){var r=t.find(":focusable"),o=r.index(n),a=r.eq(o),i=r.eq(r.length-1);a.is(i)&&(a.focus(),e.preventDefault())}else n.focus(),e.preventDefault()})),n.find(".metform-steps").on("click",".metform-step-item",(function(){var e,r=this,o=_a(this).parents(".mf-form-wrapper").eq(0),a=o.find(".elementor-top-section.active .mf-input"),i=(_a("body").hasClass("rtl")?100:-100)*_a(this).index()+"%",s=(o.find(".mf-progress-step-bar").attr("data-total"),_a(this.nextElementSibling).hasClass("active")),u=[];a.each((function(){var e=_a(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),e=function(e){e&&(o.find(".elementor-top-section.active .metform-btn").attr("type","button"),(_a(r).hasClass("prev")||_a(r).hasClass("next"))&&(_a(r).addClass("active").removeClass("next prev").prev().addClass("prev").siblings().removeClass("prev").end().end().next().addClass("next").siblings().removeClass("next").end().end().siblings().removeClass("active"),o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').addClass("active").siblings().removeClass("active"),n.hasClass("mf_slide_direction_vertical")?(o.find(".elementor-section-wrap .elementor-top-section").css({transform:"translateY("+i+")"}),o.find(".elementor-section-wrap").css("height","calc("+o.find('.elementor-top-section[data-id="'+_a(r).data("value")+'"]').height()+"px)")):o.find(".elementor-section-wrap").css({transform:"translateX("+i+")"})),o.find(".mf-progress-step-bar span").css("width",(_a(r).index()+1)*o.find(".mf-progress-step-bar span").attr("data-portion")+"%"),o.find(".elementor-top-section.active").find(".metform-submit-btn").length&&setTimeout((function(){o.find(".elementor-top-section.active").find(".metform-submit-btn").attr("type","submit")}),0))},s?e(!0):t.doValidate(u).then(e)}))};var Ta=function(){document.querySelectorAll(".mf-input-map-location").forEach((function(e){if("undefined"!=typeof google){var t=new google.maps.places.Autocomplete(e,{types:["geocode"]});google.maps.event.addListener(t,"place_changed",(function(){e.dispatchEvent(new Event("input",{bubbles:!0}))}))}}))};window.mfMapLocation=Ta;var Aa=function(e,t){return React.createElement("div",{className:"mf-main-response-wrap ".concat(t," mf-response-msg-wrap"),"data-show":"1"},React.createElement("div",{className:"mf-response-msg"},React.createElement("i",{className:"mf-success-icon ".concat(e)}),React.createElement("p",null,"This is a dummy success message!!.")))},Ia=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=[].concat(t)[2],o=[].concat(t)[3],a=[].concat(t)[4],i=[].concat(t)[5],s=r.errors,u=r.success,c=r.form_res,l=function(){return s.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-alert-icon ".concat(a)}),React.createElement("p",null,s.map((function(e){return e+" "}))," ")):""},f=function(){return u.length>0?React.createElement(React.Fragment,null,React.createElement("i",{className:"mf-success-icon ".concat(o)}),React.createElement("p",null,u)):""};return React.createElement("div",{className:"mf-main-response-wrap ".concat(i," mf-response-msg-wrap").concat(s.length>0?" mf-error-res":""),"data-show":c},React.createElement("div",{className:"mf-response-msg"},l(),f()))};function Ra(e){return(Ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Na(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)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(u){s=!0,o=u}finally{try{i||null==n["return"]||n["return"]()}finally{if(s)throw o}}return a}(e,t)||Va(e,t)||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.")}()}function La(e){return function(e){if(Array.isArray(e))return Fa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Va(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Va(e,t){if(e){if("string"==typeof e)return Fa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fa(e,t):void 0}}function Fa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ha(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ua(e,t){return(Ua=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wa(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=Ya(e);if(t){var o=Ya(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return za(this,n)}}function za(e,t){return!t||"object"!==Ra(t)&&"function"!=typeof t?Ba(e):t}function Ba(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ya(e){return(Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qa(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 Ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){$a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ga=new(Ea())({tolerance:200}),Ja=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ua(e,t)}(a,React.Component);var t,n,r,o=Wa(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),$a(Ba(t=o.call(this,e)),"handleFormSubmit",(function(e,n){var r;n.preventDefault();var o=t.state,a=o.formData,i=o.defaultData,s=t.props,u=s.action,c=s.wpNonce,l=s.validation,f=l.reset,d=new FormData,p=Ka(Ka({},i),a);for(var h in jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/before_submit",p),jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!0),p)d.append(h,p[h]);r="mf_success_duration"in t.props.widgetSettings?t.props.widgetSettings.mf_success_duration:5,r*=1e3,fetch(u,{method:"POST",headers:{"X-WP-Nonce":c},body:d}).then((function(e){return e.json()})).then((function(e){if(e.status?(t.setState({success:e.data.message?e.data.message:"",form_res:1},(function(){t.resetReCAPTCHA(),l.clearErrors("g-recaptcha-response")})),setTimeout((function(){e.status&&e.data.hide_form&&t.formRef.current.setAttribute("class","mf-close-this-form")}),r-600),setTimeout((function(){e.status&&e.data.hide_form&&(t.formRef.current.innerHTML='<h2 style="text-align:center">Thank You.</h2>')}),r)):t.setState({errors:La(e.error),form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),e.data.store&&"stripe"===e.data.store["mf-payment-method"]&&t.stripePayment(e),jQuery(t.mfRefs.mainForm.parentElement).trigger("metform/after_submit",{data:p,response:e}),e.status&&e.data.redirect_to){var n=e.data.entry_id,o=e.data.redirect_to;n&&""!==n&&(o+=(o.includes("?")?"&":"?")+"mf_entry_id="+n),setTimeout((function(){window.location.href=o}),1500)}setTimeout((function(){t.setState({success:"",errors:[],form_res:0})}),r)}))["catch"]((function(e){t.setState({errors:["Something went wrong"],form_res:1},(function(){t.resetReCAPTCHA(),t.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),console.error(e.message),setTimeout((function(){t.setState({errors:[],form_res:0})}),r)}))["finally"]((function(){if(jQuery(t.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!1),!t.props.stopVerticalEffect){var e=t.mfRefs.mainForm.querySelector(".mf-main-response-wrap");Ga.move(e)}setTimeout((function(){t.setState({formData:{}})}),350),f()}))})),$a(Ba(t),"handleCalculations",(function(e,n){var r=e.target.calc_behavior,o=ReactDOM.findDOMNode(Ba(t)),a=o.length?o.querySelectorAll(".mf-input-calculation"):[],i=Ka({},n);for(var s in i)if(Array.isArray(i[s])){var u=i[s].map((function(e){return isNaN(e)?e:Number(e)}));i[s]=u}a.forEach((function(e){var o=parseInt(e.dataset.fraction);o=o<0||o>99?2:o;var a=t.MfMathCalc.parse(e.dataset.equation,i,r)||0;n[e.name]=a.toFixed(o)}))})),$a(Ba(t),"handleConditionals",(function(e){var n=t.state,r=n.formData,o=n.defaultData,a=t.props,i=a.widgets,s=a.conditionalRefs,u=a.validation,c=u.getValues,l=u.setValue;s.forEach((function(e){(e=i[e]).list=e.settings.mf_conditional_logic_form_list,e.operator=e.settings.mf_conditional_logic_form_and_or_operators,e.action=e.settings.mf_conditional_logic_form_action,e.validatedValues=[],e.isValidated=!1,e.list.forEach((function(n){n.name=n.mf_conditional_logic_form_if,n.value=r[n.name]||o[n.name]||"",n.match=n.mf_conditional_logic_form_value,n.operator=t.decodeEntities(n.mf_conditional_logic_form_comparison_operators),Array.isArray(n.value)&&-1!==n.value.indexOf(n.match)&&(n.value=n.value[n.value.indexOf(n.match)]),e.validatedValues.push(function(e,t,n){switch(n){case"+":return e+t;case"-":return e-t;case"*":return e*t;case"/":return e/t;case"<":return e<t;case"<=":return e<=t;case">":return e>t;case">=":return e>=t;case"==":return e==t;case"!=":return e!=t;case"not-empty":return void 0!==e&&String(e).length>0;case"empty":return void 0!==e&&0==String(e).length;default:return!1}}(n.value,n.match,n.operator))})),e.isValidated=e.validatedValues.some((function(e){return!0===e})),"and"===e.operator&&(e.isValidated=e.validatedValues.every((function(e){return!0===e})));var n=e.settings.mf_input_name;e.isValidated&&"show"===e.action?(e.el.setAttribute("mf-condition-hidden",!1),e.el.classList.remove("mf-condition--hidden"),"noval"===c(n)&&l(n,undefined)):(e.el.setAttribute("mf-condition-hidden",!0),e.el.classList.add("mf-condition--hidden"),Object.values(e.el.classList).indexOf("elementor-widget-mf-select")>-1&&l(n,"noval"))}))})),$a(Ba(t),"getValue",(function(e){return e in t.state.formData?t.state.formData[e]:""})),$a(Ba(t),"getFileLabel",(function(e,n){var r=t.state.formData[e];return r?r.name:t.decodeEntities(n)})),$a(Ba(t),"getInputLabel",(function(e,n){var r=ReactDOM.findDOMNode(Ba(t)).querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():n})),$a(Ba(t),"decodeEntities",(function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value})),$a(Ba(t),"setDefault",(function(e){if(null!==e){var n=e.name,r=e.value,o=t.state.defaultData;o[n]=r,t.setState({defaultData:o})}})),$a(Ba(t),"isNumeric",(function(e){return!isNaN(parseFloat(e))&&isFinite(e)})),$a(Ba(t),"setStateValue",(function(e,n){t.setState({name:e,value:n})})),$a(Ba(t),"handleCardNumber",(function(e){var n=e.target,r=n.name,o=n.value,a=t.state.formData,i=a[r+"--type"],s=o.replace(/\s+/g,"").replace(/[^0-9]/gi,""),u=a[r],c="amex"===i?5:4,l="amex"===i?15:16;if(new RegExp("^[0-9]*$").test(s)&&s.length<=l){for(var f=s.match(/\d{4,16}/g),d=f&&f[0]||"",p=[],h=0,m=d.length;h<m;h+=c)p.push(d.substring(h,h+c));p.length&&(s=p.join(" ").trim()),u=s}t.setValue(r,u,!0),t.handleChange(e),e.target.value=u,t.handleCardType(s,e.target.name)})),$a(Ba(t),"handleCardType",(function(e,n){var r="blank",o=n+"--type";r=e.startsWith("34")||e.startsWith("37")?"amex":e.startsWith("4")?"visa":e.startsWith("5")?"master":e.startsWith("6")?"discover":"custom";var a=t.state.formData;a[o]=r,t.setState({formData:a})})),$a(Ba(t),"handleCardMonth",(function(e){var n=e.target,r=n.name,o=n.value,a=parseInt(o.replace(/-/g,""))||"",i=parseInt(a.toString().substring(0,1))||"";1<i&&i<10?t.setValue(r,i,!0):t.setValue(r,a>12?12:a,!0),t.handleChange(e)})),$a(Ba(t),"handleSubVal",(function(e,n){var r=e.target,o=r.name,a=r.value,i=parseInt(a.replace(/-/g,"").substring(0,n))||"";t.setValue(o,i,!0),e.target.value=i,t.handleChange(e)})),$a(Ba(t),"handleChange",(function(e){var n=e.target,r=n.name,o=n.value,a=n.type,i=t.state.formData;i[r]="number"===a&&"mobile"!==a?Number(o):o,t.handleCalculations(e,i),t.setState({formData:i});var s=e.target;s.className!==undefined&&-1!==s.className.indexOf("mf-repeater-type-simple")||t.trigger(r)})),$a(Ba(t),"handleDateTime",(function(e){var n=e.target,r=n.name,o=n.value;t.setValue(r,o,!0),t.handleChange(e)})),$a(Ba(t),"handleSelect",(function(e,n){var r=n.name,o=e.value;e.target={name:n.name,value:o},t.setValue(r,o,!0),t.handleChange(e)})),$a(Ba(t),"handleRadioDefault",(function(e){var n=t.state.formData;if(e&&e.dataset.checked){var r=e.name;e.setAttribute("checked",!0),r in n||setTimeout((function(){t.handleChange({target:{name:r,value:e.value}})}),300)}})),$a(Ba(t),"handleCheckbox",(function(e,n){var r,o="defaultvalue"!==e?e.target:n,a=t.state.formData[o.name];Array.isArray(a)||(a=[]),r=a.indexOf(o.value),o.checked&&-1===r?a.push(o.value):a.splice(r,1),t.handleChange({target:{name:o.name,value:a}})})),$a(Ba(t),"handleSwitch",(function(e){e.target.value=e.target.nextElementSibling.getAttribute("data-disable"),e.target.checked&&(e.target.value=e.target.nextElementSibling.getAttribute("data-enable")),t.handleChange(e)})),$a(Ba(t),"handleOptin",(function(e){e.target.checked||(e.target.value=""),t.handleChange(e)})),$a(Ba(t),"handleFileUpload",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.files[0]}})})),$a(Ba(t),"handleMultiStepBtns",(function(e){var n=jQuery(e.currentTarget).parents(".elementor-top-section.active"),r=e.currentTarget.dataset.direction,o=n.prev()[0]?n.prev()[0].dataset:"",a=n.next()[0]?n.next()[0].dataset:"",i=("next"===r?a:o).id;if(!i)return!1;var s=jQuery(e.currentTarget).parents(".metform-form-content").find('.metform-step-item[data-value="'+i+'"]'),u=[];n.find(".mf-input").each((function(){var e=jQuery(this),t=this.name;(e.hasClass("mf-input-select")||e.hasClass("mf-input-multiselect"))&&(t=e.find('input[type="hidden"]')[0].name),e.parents(".mf-input-repeater").length&&(t=""),t&&u.push(t)})),jQuery(e.currentTarget).parents(".mf-scroll-top-yes").length&&Ga.move(t.mfRefs.mainForm),"next"===r?t.trigger(u).then((function(e){e&&s.trigger("click")})):s.trigger("click")})),$a(Ba(t),"handleImagePreview",(function(e){var t=e.target,n=e.clientX,r=e.clientY,o=e.type,a=t.nextElementSibling;if(a){if("mouseleave"===o)return a.style.opacity="",void(a.style.visibility="hidden");a.style.opacity||(a.style.opacity="1",a.style.visibility="visible"),a.offsetHeight+r>window.innerHeight?(a.className="mf-select-hover-image mf-preview-top",r-=45):a.className="mf-select-hover-image",a.style.top=r+30+"px",a.style.left=n-28+"px"}})),$a(Ba(t),"handleSignature",(function(e){e.target={name:e.props.name,value:e.toDataURL()},t.handleChange(e),t.setValue(e.target.name,e.target.value,!0)})),$a(Ba(t),"refreshCaptcha",(function(e){t.setState({captcha_img:t.state.captcha_path+Date.now()})})),$a(Ba(t),"resetReCAPTCHA",(function(){t.getValue("mf-captcha-challenge")&&t.refreshCaptcha(),t.getValue("g-recaptcha-response")&&t.handleReCAPTCHA("reset")})),$a(Ba(t),"handleReCAPTCHA",(function(e){"reset"===e&&(e="",grecaptcha.reset());var n={target:{name:"g-recaptcha-response",value:(e=e||"")||""}};t.handleChange(n)})),$a(Ba(t),"activateValidation",(function(e,n,r){var o,a,i=t.state.formData,s=t.props.validation.register,u=e.type,c=e.required,l=e.message,f=e.minLength,d=e.maxLength,p=e.expression,h={};if(n&&c&&n.closest(".elementor-element")&&"true"===n.closest(".elementor-element").getAttribute("mf-condition-hidden"))h.required=!1;else{if((u&&"none"!==u||c)&&(h.required=!!c&&l),n&&n.classList.contains("mf-credit-card-number")&&(i[n.name]&&"amex"===i[n.name+"--type"]?h.minLength=h.maxLength={value:17,message:l}:h.minLength=h.maxLength={value:19,message:l}),e.inputType&&"credit_card_date"===e.inputType&&(f&&(h.min={value:f,message:l}),d&&(h.max={value:d,message:l})),n&&"file"===n.type&&n.files.length>0){var m=e.file_types,g=e.size_limit,v=n.files[0].name.slice((Math.max(0,n.files[0].name.lastIndexOf(".")-1)||Infinity)+1);h.validate={fileType:function(){return!(m!==[]&&!e.file_types.includes(v))||e.type_message},fileSize:function(){return!(-1!==g&&n.files[0].size>1024*parseInt(g))||e.limit_message}}}n&&"email"===n.type?h.pattern={value:/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,message:e.emailMessage}:n&&"url"===n.type&&(h.pattern={value:/^(http[s]?:\/\/(www\.)?|ftp:\/\/(www\.)?|www\.){1}([0-9A-Za-z-\.@:%_\+~#=]+)+((\.[a-zA-Z]{2,3})+)(\/(.)*)?(\?(.)*)?/g,message:e.urlMessage}),"by_character_length"===u?(o=n&&"number"===n.type?"min":"minLength",a=n&&"number"===n.type?"max":"maxLength",f&&(h[o]={value:f,message:l}),d&&(h[a]={value:d,message:l})):"by_word_length"===u?h.validate={wordLength:function(e){return t.handleWordValidate(e,f,d,l)}}:"by_expresssion_based"===u&&(h.validate={expression:function(e){return t.handleExpressionValidate(e,p,l)}})}return"function"==typeof r&&r(),n?s(n,h):h})),$a(Ba(t),"handleWordValidate",(function(e,t,n,r){var o=e.trim().split(/\s+/).length;return!!(n?o>=t&&o<=n:o>=t)||r})),$a(Ba(t),"handleExpressionValidate",(function(e,t,n){if(t)return!!new RegExp(t).test(e)||n})),$a(Ba(t),"colorChange",(function(e,n){t.handleChange({target:{name:n,value:e.hex}})})),$a(Ba(t),"colorChangeInput",(function(e){t.handleChange({target:{name:e.target.name,value:e.target.value}})})),$a(Ba(t),"multiSelectChange",(function(e,n){var r=[];null!==e&&e.filter((function(e){return r.push(e.value)})),t.handleChange({target:{name:n,value:r}})})),$a(Ba(t),"handleRangeChange",(function(e,n){t.handleChange({target:{name:n,value:e.toFixed(2)}}),t.props.validation.setValue(n,e.toFixed(2))})),$a(Ba(t),"handleMultipileRangeChange",(function(e,n){t.handleChange({target:{name:n,value:[e.min,e.max],calc_behavior:"decrease_first_value"}})})),$a(Ba(t),"handleOnChangePhoneInput",(function(e,n){t.handleChange({target:{name:n,value:e,type:"mobile"}})})),t.state={formData:{},defaultData:{form_nonce:e.formNonce},recaptcha_uid:e.formId+"_"+Math.random().toString(36).substring(5,10),result_not_foud:"",total_result:0,form_res:0,errors:[],success:"",config:{}},t.MfMathCalc=new Pa,t.setValue=e.validation.setValue,t.trigger=e.validation.trigger,t.formRef=React.createRef(),t.mfRefs={},t.checkboxArr=[],t.checkboxReceive=!0,window["handleReCAPTCHA_"+t.state.recaptcha_uid]=t.handleReCAPTCHA;var n=e.templateEl.innerHTML;return t.jsx=new Function("parent","props","state","validation","register","setValue","html",n),e.templateEl.remove(),t}return t=a,(n=[{key:"stripePayment",value:function(e){var t,n=e.data.payment_data,r=this;n.keys&&""!==n.keys?((t=StripeCheckout.configure({key:n.keys,image:n.image_url,locale:"auto",token:function(t){var o;t.id?(n.stripe_token=t.id,o={sandbox:n.sandbox},fetch(e.data.ajax_stripe+"&token="+t.id,{headers:{"X-WP-Nonce":r.props.wpNonce},data:o}).then((function(e){return e.json()})).then((function(e){e.status?window.location.href=e.redirect_url:alert(e)}))):alert("Sorry!! Payment token invalid")}})).open({name:String(n.name_post),description:" Form No.: "+String(n.description),amount:100*Number(n.amount),currency:n.currency_code}),window.addEventListener("popstate",(function(){t.close()}))):alert("Please set your Stripe Keys in form settings.")}},{key:"handleCheckboxDefault",value:function(e){var t=this;e&&e.dataset.checked&&this.checkboxReceive&&-1===this.checkboxArr.indexOf(e.value)&&(this.checkboxReceive=!1,e.setAttribute("checked",!0),this.checkboxArr.push(e.value),setTimeout((function(){t.handleCheckbox("defaultvalue",e)}),500))}},{key:"renderReCaptcha",value:function(e,t){var n=window.grecaptcha,r=document.querySelectorAll(".g-recaptcha");r.length&&n.render("g-recaptcha",{sitekey:r[0].dataset.sitekey})}},{key:"componentDidUpdate",value:function(){var e,t=this.props.validation.formState.isValid;this.handleConditionals(),t||this.props.stopVerticalEffect||(e=this.mfRefs.mainForm.querySelector(".mf-error-message"))&&Ga.move(e.parentElement.parentElement)}},{key:"componentDidMount",value:function(e){var t=this,n=ReactDOM.findDOMNode(this),r=n.length?n.querySelectorAll(".elementor-element"):[];this.mfRefs.mainForm=n;var o=n.getElementsByTagName("input");for(var a in o)"email"===o[a].type&&""!==o[a].value&&this.setDefault(o[a]);r.forEach((function(e){var n=e.getAttribute("data-element_type"),r=e.getAttribute("data-widget_type"),o=null===r?n:r;if(jQuery(window).on("elementor/frontend/init",(function(){window.elementorFrontend.hooks.doAction("frontend/element_ready/"+o,jQuery(e))})),e.className.search("elementor-widget-mf-")>0&&e.dataset.settings){var a=JSON.parse(e.dataset.settings.replace(/&quot;/g,'"')),i=a.mf_input_name+"-"+e.getAttribute("data-id");t.props.widgets[i]={el:e,settings:a},a.mf_conditional_logic_form_enable&&t.props.conditionalRefs.push(i)}})),window.onload=function(e){t.renderReCaptcha(n,e)},this.handleConditionals(),this.props.formId&&fetch(mf.restURI+this.props.formId,{method:"POST",headers:{"X-WP-Nonce":this.props.wpNonce}}),Ta(),ja(jQuery(n).parents(".mf-multistep-container").parent(),{doValidate:this.trigger}),jQuery(n).on("change",".mf-repeater-field, .mf-repater-range-input, .mf-repeater-checkbox",this.handleChange);var i=this.state.formData;for(var s in jQuery(n).trigger("metform/after_form_load",i),i)this.setValue(s,i[s])}},{key:"render",value:function(){var e=this,t=e.props,n=e.state,r=t.validation,o=r.register,a=r.setValue,i=htm.bind(React.createElement);return React.createElement(React.Fragment,null,this.jsx(e,t,n,r,o,a,i))}}])&&Ha(t.prototype,n),r&&Ha(t,r),a}(),Qa=function(e){var t=Na(e.find(".mf-form-wrapper"),1)[0];if(t){var n,r=t.dataset,o=r.action,a=r.wpNonce,i=r.formNonce,s=r.formId,u=r.stopVerticalEffect,c=Na(e.find(".mf-template"),1)[0];if(c)ReactDOM.render(React.createElement((n=Ja,function(e){var t=Ka(Ka({},be()),{},{ErrorMessage:Ce});return React.createElement(n,Ka({validation:t},e))}),{formId:s,templateEl:c,action:o,wpNonce:a,formNonce:i,widgets:{},conditionalRefs:[],stopVerticalEffect:u,widgetSettings:e.data("settings")||{},Select:xr,InputColor:Oa,Flatpickr:xa.Z,InputRange:kr(),ReactPhoneInput:Er(),SignaturePad:ka(),moveTo:Ga,ResponseDummyMarkup:Aa,SubmitResponseMarkup:Ia}),t)}};jQuery(window).on("elementor/frontend/init",(function(){var e=["metform","shortcode","text-editor"];"metform-form"!==mf.postType||elementorFrontend.isEditMode()?("metform-form"===mf.postType&&elementorFrontend.isEditMode()&&(e=["mf-date","mf-time","mf-select","mf-multi-select","mf-range","mf-file-upload","mf-mobile","mf-image-select","mf-map-location","mf-color-picker","mf-signature"]),e.forEach((function(e){elementorFrontend.hooks.addAction("frontend/element_ready/"+e+".default",Qa)}))):Qa(elementorFrontend.elements.$body)})).on("load",(function(){document.querySelectorAll(".mf-form-shortcode").forEach((function(e){Qa(jQuery(e))}))}))}()}();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ataurr, wpmet, emranio, atiqsu, easin55474, enamulhoquemohon, ashr
3
  Tags: Form builder, Elementor form builder, contact form, custom form, forms, drag & drop form builder
4
  Requires at least: 4.8
5
  Tested up to: 5.7
6
- Stable tag: 1.5.0
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -227,6 +227,9 @@ Connect with Gmail, Slack, Mailchimp, and many more.
227
 
228
 
229
  == Changelog ==
 
 
 
230
  Version 1.5.0
231
  Improved: responsive message default time 5 seconds
232
  Fixed: Custom script tag issue
3
  Tags: Form builder, Elementor form builder, contact form, custom form, forms, drag & drop form builder
4
  Requires at least: 4.8
5
  Tested up to: 5.7
6
+ Stable tag: 1.5.1
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
227
 
228
 
229
  == Changelog ==
230
+ Version 1.5.1
231
+ Fixed: Multistep form minor issue
232
+
233
  Version 1.5.0
234
  Improved: responsive message default time 5 seconds
235
  Fixed: Custom script tag issue
utils/notice/notice.php CHANGED
@@ -319,7 +319,7 @@ class Notice{
319
  <img class="notice-logo" style="<?php echo esc_attr($this->logo_style); ?>" src="<?php echo esc_url($this->logo);?>" />
320
  <?php endif; ?>
321
 
322
- <div class="notice-right-container">
323
 
324
  <?php if(empty($this->html)): ?>
325
  <?php echo (empty($this->title) ? '' : sprintf('<div class="notice-main-title notice-vert-space">%s</div>', $this->title)); ?>
@@ -400,7 +400,7 @@ class Notice{
400
  // });
401
  // return;
402
 
403
- _this.addClass('hidden');
404
 
405
  $.ajax({
406
  url: ajaxurl,
@@ -428,6 +428,10 @@ class Notice{
428
  .wpmet-notice .notice-right-container{
429
  margin: .7rem .8rem .8rem;
430
  }
 
 
 
 
431
 
432
  .wpmet-notice.no-gutter, .wpmet-notice.no-gutter .notice-right-container{
433
  padding: 0!important;
319
  <img class="notice-logo" style="<?php echo esc_attr($this->logo_style); ?>" src="<?php echo esc_url($this->logo);?>" />
320
  <?php endif; ?>
321
 
322
+ <div class="notice-right-container <?php echo (empty($this->logo) ? 'notice-container-full-width' : ''); ?>">
323
 
324
  <?php if(empty($this->html)): ?>
325
  <?php echo (empty($this->title) ? '' : sprintf('<div class="notice-main-title notice-vert-space">%s</div>', $this->title)); ?>
400
  // });
401
  // return;
402
 
403
+ _this.hide();
404
 
405
  $.ajax({
406
  url: ajaxurl,
428
  .wpmet-notice .notice-right-container{
429
  margin: .7rem .8rem .8rem;
430
  }
431
+
432
+ .notice-container-full-width{
433
+ width:100%!important;
434
+ }
435
 
436
  .wpmet-notice.no-gutter, .wpmet-notice.no-gutter .notice-right-container{
437
  padding: 0!important;
utils/util.php CHANGED
@@ -316,7 +316,14 @@ class Util{
316
 
317
  ${is_dummy_markup ? message_position === 'top' ? props.ResponseDummyMarkup(message_successIcon, message_proClass) : '' : ''}
318
  ${is_dummy_markup ? ' ' : message_position === 'top' ? props.SubmitResponseMarkup`${parent}${state}${message_successIcon}${message_errorIcon}${message_proClass}` : ''}
319
- <div key=${'hide-form-after-submit'} ref=${parent.formRef}>
 
 
 
 
 
 
 
320
  ${html`
321
  <?php
322
  $replaceStrings = array(
316
 
317
  ${is_dummy_markup ? message_position === 'top' ? props.ResponseDummyMarkup(message_successIcon, message_proClass) : '' : ''}
318
  ${is_dummy_markup ? ' ' : message_position === 'top' ? props.SubmitResponseMarkup`${parent}${state}${message_successIcon}${message_errorIcon}${message_proClass}` : ''}
319
+
320
+ <!--------------------------------------------------------
321
+ *** IMPORTANT / DANGEROUS ***
322
+ ${html``} must be used as in immediate child of "metform-form-main-wrapper"
323
+ class otherwise multistep form will not run at all
324
+ ---------------------------------------------------------->
325
+
326
+ <div className="metform-form-main-wrapper" key=${'hide-form-after-submit'} ref=${parent.formRef}>
327
  ${html`
328
  <?php
329
  $replaceStrings = array(