Changes in metform/trunk [2896914:2907471]
- Location:
- metform/trunk
- Files:
-
- 9 edited
-
base/shortcode.php (modified) (1 diff)
-
controls/assets/css/form-picker-inspactor.css (modified) (1 diff)
-
core/entries/export.php (modified) (1 diff)
-
languages/metform.pot (modified) (1 diff)
-
metform.php (modified) (1 diff)
-
plugin.php (modified) (1 diff)
-
public/assets/css/admin-style.css (modified) (1 diff)
-
public/assets/js/app.js (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
metform/trunk/base/shortcode.php
r2896914 r2907471 1 1 <?php 2 2 3 3 namespace MetForm\Base; 4 4 5 5 defined('ABSPATH') || exit; 6 6 7 7 class Shortcode 8 8 { 9 9 10 10 use \MetForm\Traits\Singleton; 11 11 12 12 13 13 public function __construct() 14 14 { 15 15 add_shortcode('metform', [$this, 'render_form']); 16 16 add_shortcode('mf_thankyou', [$this, 'render_thank_you_page']); 17 17 add_shortcode('mf_first_name', [$this, 'render_first_name']); 18 18 add_shortcode('mf_last_name', [$this, 'render_last_name']); 19 19 add_shortcode('mf_payment_status', [$this, 'render_payment_status']); 20 20 add_shortcode('mf_transaction_id', [$this, 'render_transaction_id']); 21 21 add_shortcode('mf',[$this,'render_mf_field']); 22 22 } 23 23 24 24 public function enqueue_form_assets(){ 25 25 wp_enqueue_style('metform-ui'); 26 26 wp_enqueue_style('metform-style'); 27 27 wp_enqueue_script('htm'); 28 28 wp_enqueue_script('metform-app'); 29 29 } 30 30 31 31 32 32 public function render_form($atts) 33 33 { 34 34 $this->enqueue_form_assets(); 35 35 36 36 $attributes = shortcode_atts(array( 37 37 'form_id' => 'test', 38 38 ), $atts); 39 39 40 40 return '<div class="mf-form-shortcode">' . \MetForm\Utils\Util::render_form_content($attributes['form_id'], $attributes['form_id']) . '</div>'; 41 41 } 42 42 43 43 public function render_thank_you_page($atts) 44 44 { 45 45 if($GLOBALS['pagenow'] == 'post.php'){ 46 46 return; 47 47 } 48 48 global $post; 49 49 50 50 $this->enqueue_form_assets(); 51 51 52 52 $a = shortcode_atts(array( 53 53 'fname' => '', 54 54 'lname' => '', 55 55 ), $atts); 56 56 57 57 $settings = \MetForm\Core\Admin\Base::instance()->get_settings_option(); 58 58 $page_id = $settings['mf_thank_you_page']; 59 59 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added, Its a callback function of 'add_shortcode' 60 60 $post_id = isset($_GET['id']) ? sanitize_text_field(wp_unslash($_GET['id'])) : ''; 61 61 $postMeta = get_post_meta( 62 62 $post_id, 63 63 'metform_entries__form_data', 64 64 true 65 65 ); 66 66 $first_name = !empty($postMeta[$a['fname']]) ? $postMeta[$a['fname']] : ''; 67 67 68 68 $payment_status = get_post_meta( 69 69 $post_id, 70 70 'metform_entries__payment_status', 71 71 true 72 72 ); 73 73 74 74 $tnx_id = get_post_meta( 75 75 $post_id, 76 76 'metform_entries__payment_trans', 77 77 true 78 78 ); 79 79 80 80 $msg = ''; 81 81 82 82 if ($payment_status == 'paid') { 83 $msg = $first_name . ' Thank you for your payment. <br>' . ' Your transcation ID : '. $tnx_id;83 $msg = $first_name . esc_html__(' Thank you for your payment.', 'metform'). '<br>' . esc_html__(' Your transcation ID : ', 'metform' ). $tnx_id; 84 84 } else { 85 $msg = 'Thank you . Your payment status : '. $payment_status;85 $msg = esc_html__('Thank you . Your payment status : ', 'metform') . $payment_status; 86 86 } 87 87 88 88 return $msg; 89 89 } 90 90 91 91 public function render_mf_field($atts){ 92 92 $this->enqueue_form_assets(); 93 93 94 94 $a = shortcode_atts(array( 95 95 'field' => '' 96 96 ),$atts); 97 97 98 98 $settings = \MetForm\Core\Admin\Base::instance()->get_settings_option(); 99 99 $page_id = $settings['mf_thank_you_page']; 100 100 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added, Its a callback function of 'add_shortcode' 101 101 $post_id = isset($_GET['id']) ? sanitize_text_field(wp_unslash($_GET['id'])) : ''; 102 102 $field = get_post_meta( 103 103 $post_id, 104 104 'metform_entries__form_data', 105 105 true 106 )[$a['field']]; 106 ); 107 108 if(!is_array($field)){ 109 return esc_html__("Not entry was found associated with this id", 'metform')."<br>"; // br added if one page have multiple shortcode which is not available 110 } 111 112 if(!key_exists($a['field'], $field)){ 113 return $a['field'] . esc_html__(" key Not found ", 'metform').'<br>'; 114 } 115 116 $field = get_post_meta($post_id, 'metform_entries__form_data',true) [$a['field']]; 107 117 108 return $field;118 return is_array($field) ? map_deep(implode(" , ",$field), 'esc_html') : esc_html($field); 109 119 } 110 120 111 121 public function render_first_name($atts) 112 122 { 113 123 $this->enqueue_form_assets(); 114 124 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added, Its a callback function of 'add_shortcode' 115 125 $post_id = isset($_GET['id']) ? sanitize_text_field(wp_unslash($_GET['id'])) : ''; 116 126 $first_name = get_post_meta( 117 127 $post_id, 118 128 'metform_entries__form_data', 119 129 true 120 130 )['mf-listing-fname']; 121 return $first_name;131 return esc_html($first_name); 122 132 } 123 133 124 134 public function render_last_name($atts) 125 135 { 126 136 $this->enqueue_form_assets(); 127 137 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added, Its a callback function of 'add_shortcode' 128 138 $post_id = isset($_GET['id']) ? sanitize_text_field(wp_unslash($_GET['id'])) : ''; 129 139 $last_name = get_post_meta( 130 140 $post_id, 131 141 'metform_entries__form_data', 132 142 true 133 143 )['mf-listing-lname']; 134 return $last_name;144 return esc_html($last_name); 135 145 } 136 146 137 147 public function render_payment_status($atts) 138 148 { 139 149 $this->enqueue_form_assets(); 140 150 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added, Its a callback function of 'add_shortcode' 141 151 $post_id = isset($_GET['id']) ? sanitize_text_field(wp_unslash($_GET['id'])) : ''; 142 152 $payment_status = get_post_meta( 143 153 $post_id, 144 154 'metform_entries__payment_status', 145 155 true 146 156 ); 147 157 return $payment_status; 148 158 } 149 159 150 160 public function render_transaction_id($atts) 151 161 { 152 162 $this->enqueue_form_assets(); 153 163 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added, Its a callback function of 'add_shortcode' 154 164 $post_id = isset($_GET['id']) ? sanitize_text_field(wp_unslash($_GET['id'])) : ''; 155 165 $tnx_id = get_post_meta( 156 166 $post_id, 157 167 'metform_entries__payment_trans', 158 168 true 159 169 ); 160 170 161 171 return $tnx_id; 162 172 } 163 173 } -
metform/trunk/controls/assets/css/form-picker-inspactor.css
r2896914 r2907471 1 .formpicker_warper_editable{position:relative}.formpicker_warper_editable:hover{outline:1px solid #71d7f7}.formpicker_warper_editable:hover .formpicker_warper_edit{display:block}.formpicker_iframe_mini_modal,.formpicker_iframe_modal{display:block}.formpicker_iframe_modal .dialog-message{position:relative}.formpicker_iframe_modal iframe{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.formpicker_iframe_modal .dialog-widget-content{position:static!important;margin-top:10px}.formpicker_warper_edit{display:none;position:absolute;top:0;right:0;color:#fff;background:#71d7f7;line-height:1;padding:7px 8px;font-size:11px;border-bottom-left-radius:3px;cursor:pointer}.metform-dynamic-content-modal .dialog-widget-content{max-width:90%!important;margin-top:20px!important;margin-bottom:20px!important}.metform-dynamic-content-modal .elementor-templates-modal__header{background-color:#f1f3f5 }.elementor-device-desktop #elementor-preview-responsive-wrapper{min-width:auto!important}.metform-dynamic-content-modal .dialog-message{overflow:unset!important}.formpicker_iframe_mini_modal{position:fixed;top:50%;left:50%;z-index:9999;background:#fff;border:1px solid}#metform-open-content-editor{background-color:rgba(0,0,0,.8);width:100%;height:100%;position:fixed;left:0;top:0;z-index:2;overflow-y:auto}.metform-open-content-inner{position:relative;top:50px;left:50%;transform:translateX(-50%);z-index:999;width:622px;background-color:#fff;box-shadow:-15px 20px 50px rgba(0,0,0,.16);padding:50px 0 80px;border-radius:5px;text-align:center}.rtl .metform-open-content-inner{direction:ltr;left:auto;right:50%;transform:translateX(50%)}#metform-open-content-editor .metform-close-editor-modals{color:#ff433c;border:2px solid #ff433c;width:30px;height:30px;line-height:27px;text-align:center;border-radius:100px;font-size:17px;position:absolute;top:-10px;right:-10px;background-color:#fff;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.2)}.rtl #metform-open-content-editor .metform-close-editor-modals{left:-10px;right:auto}.metform-editor-input{height:56px;width:100%;display:block;box-sizing:border-box;background-color:#fff;box-shadow:0 15px 25px rgba(0,0,0,.07);border-radius:10px;border:none;padding:0 25px;color:#101010;font-size:14px;line-height:42px;border:1px solid #ccc}.metform-open-content-editor-button{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);background-color:#4285f4;border:none;font-size:16px;line-height:42px;color:#fff;border-radius:5px;padding:5px 30px 3px;min-width:170px;box-sizing:border-box;margin-top:30px;cursor:pointer}.position-left{left:30%}.metform-open-content-close-button{position:fixed;bottom:15px;left:70%;transform:translateX(-50%);background-color:#4285f4;border:none;font-size:16px;line-height:42px;color:#fff;border-radius:5px;padding:5px 30px 3px;min-width:170px;box-sizing:border-box;cursor:pointer}.metform-open-content-editor-button>span{margin-right:12px}.metform-editor-tab-content-item{display:none}.metform-editor-tab-content-item .metform-error{color:red;font-style:italic;margin-top:10px}.metform-editor-tab-content-item.active{display:block}.metform-content{overflow:scroll;max-height:70vh;padding:0 50px 30px;border-bottom:1px solid #f2f2f2}.metform-content::-webkit-scrollbar{display:none}.metform-content-editor-tab{display:flex;justify-content:center;flex-wrap:wrap;margin-bottom:20px}.metform-content-editor-tab-item{padding:0 15px}#metform-open-content-editor .metform-content-editor-radio{-webkit-appearance:none;appearance:none;outline:0;width:20px;height:20px;border:2px solid #747474;border-radius:100px;position:relative;margin:0;margin-right:8px;cursor:pointer}#metform-open-content-editor .metform-content-editor-radio:checked{border-color:#4285f4}#metform-open-content-editor .metform-content-editor-radio:checked:before{content:'';background-color:#4285f4;width:10px;height:10px;display:inline-block;position:absolute;left:50%;border-radius:100px;top:50%;transform:translate(-50%,-50%)}.metform-content-editor-tab-item label{display:flex;text-align:left;cursor:pointer}.metform-content-editor-radio-data p{color:#101010;font-size:16px;line-height:20px;margin:0}.metform-content-editor-radio-data span{color:#999;font-size:12px;line-height:25px;margin:0}.metform-template-input-con{margin-bottom:20px}.metform-templates-list{display:flex;flex-wrap:wrap}.metform-templates-list li{margin:5px;flex:0 0 31.4%;box-sizing:border-box}.metform-templates-list li input{display:none;cursor:pointer}.metform-template-radio-data{min-height:101px;border:1px solid #ccc;display:flex;justify-content:center;align-items:center;box-shadow:0 15px 25px rgba(0,0,0,.07);cursor:pointer;height:100%;position:relative;flex-direction:column}.metform-templates-list li input:checked+.metform-template-radio-data{border:1px solid #4285f4}.metform-template-radio-data--pro_tag{background:linear-gradient(45deg,#ff6b11 0,#ff324d 100%);color:#fff;padding:3px 5px;display:inline-block;position:absolute;right:2px;top:2px;text-transform:uppercase;font-size:10px;border-radius:3px;text-align:center}.metform-template-radio-data--demo_link{position:absolute;left:0;top:0;background-color:#4285f4;color:#fff;font-size:12px;border-bottom-right-radius:5px;padding:5px 8px;opacity:0;visibility:hidden;transition:all .4s}.metform-template-radio-data--demo_link:hover{color:#fff}.metform-template-radio-data:hover .metform-template-radio-data--demo_link{opacity:1;visibility:visible}.metform-template-item--go_pro .metform-template-radio-data{cursor:default}.metform-template-footer-content{align-self:normal;padding:10px;min-height:50px;border-top:1px solid rgba(204,204,204,.5);justify-self:auto;display:flex;align-items:center}.metform-template-footer-links a{color:#4285f4;font-size:13px;line-height:15px}.metform-template-footer-links--icon{margin-right:5px}.metform-template-footer-title{position:static;opacity:1;visibility:visible;transition:opacity 1s}.metform-template-footer-title h2{font-size:13px;text-align:left;font-weight:500;color:#6d7882}.metform-template-footer-links{display:flex;width:100%;justify-content:space-between;opacity:0;visibility:hidden;position:absolute;transition:opacity .4s}.metform-template-radio-data:hover .metform-template-footer-links{opacity:1;visibility:visible;position:static}.metform-template-radio-data:hover .metform-template-footer-title{opacity:0;visibility:hidden;position:absolute}.metform-templates-list img{max-width:100%;padding:5px;max-height:180px}.metform-form-edit-btn{position:absolute;left:135px;top:0;color:#4285f4;font-size:15px;text-transform:uppercase;padding:18px 0}.metform-form-update-close-btn{position:absolute;right:10px;top:7px;font-size:14px;text-transform:uppercase;background-color:#39b54a;color:#fff;padding:10px 25px;border-radius:100px;z-index:1;cursor:pointer;line-height:15px;padding-top:10px;transition:all .4s}.metform-form-update-close-btn:hover{background-color:#2d963c;color:#fff}.metform-form-edit-btn:hover{color:#4285f4}.rtl .metform-form-edit-btn{left:60px;right:auto}.metform-form-edit-btn i{margin-right:5px;font-size:18px;margin-top:-4px}.rtl .metform-form-edit-btn>i{margin-left:5px;margin-right:0}.metform-open-content-editor-templates{-webkit-appearance:none;-moz-appearance:none;background:0 0;background-image:url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");background-repeat:no-repeat;background-position-x:98%;background-position-y:50%}#metform-open-content-editor .metform-picker-close{display:none;position:static;border:none;background-color:transparent;box-shadow:none;color:#fff}.mf-edit-form{display:block;background-color:#39b54a;border:none;color:#fff;margin-top:15px;padding:12px 20px;font-weight:700;cursor:pointer;font-size:14px;border-radius:3px;transition:all .4s}.mf-edit-form:hover{background-color:#da3419}@media (prefers-color-scheme:dark){.metform-dynamic-content-modal .elementor-templates-modal__header.metform-formpicker-header{background-color:#34383c}.metform-form-elementor-templates-modal__header__logo span{color:#fff!important}.metform-form-elementor-templates-modal__header__logo span i{width:27px;height:27px;text-align:center;line-height:28px;border-radius:50%;color:#fff;background:#ff433c;font-size:10px}}1 .formpicker_warper_editable{position:relative}.formpicker_warper_editable:hover{outline:1px solid #71d7f7}.formpicker_warper_editable:hover .formpicker_warper_edit{display:block}.formpicker_iframe_mini_modal,.formpicker_iframe_modal{display:block}.formpicker_iframe_modal .dialog-message{position:relative}.formpicker_iframe_modal iframe{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.formpicker_iframe_modal .dialog-widget-content{position:static!important;margin-top:10px}.formpicker_warper_edit{display:none;position:absolute;top:0;right:0;color:#fff;background:#71d7f7;line-height:1;padding:7px 8px;font-size:11px;border-bottom-left-radius:3px;cursor:pointer}.metform-dynamic-content-modal .dialog-widget-content{max-width:90%!important;margin-top:20px!important;margin-bottom:20px!important}.metform-dynamic-content-modal .elementor-templates-modal__header{background-color:#f1f3f5;position:relative!important}.elementor-device-desktop #elementor-preview-responsive-wrapper{min-width:auto!important}.metform-dynamic-content-modal .dialog-message{overflow:unset!important}.formpicker_iframe_mini_modal{position:fixed;top:50%;left:50%;z-index:9999;background:#fff;border:1px solid}#metform-open-content-editor{background-color:rgba(0,0,0,.8);width:100%;height:100%;position:fixed;left:0;top:0;z-index:2;overflow-y:auto}.metform-open-content-inner{position:relative;top:50px;left:50%;transform:translateX(-50%);z-index:999;width:622px;background-color:#fff;box-shadow:-15px 20px 50px rgba(0,0,0,.16);padding:50px 0 80px;border-radius:5px;text-align:center}.rtl .metform-open-content-inner{direction:ltr;left:auto;right:50%;transform:translateX(50%)}#metform-open-content-editor .metform-close-editor-modals{color:#ff433c;border:2px solid #ff433c;width:30px;height:30px;line-height:27px;text-align:center;border-radius:100px;font-size:17px;position:absolute;top:-10px;right:-10px;background-color:#fff;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.2)}.rtl #metform-open-content-editor .metform-close-editor-modals{left:-10px;right:auto}.metform-editor-input{height:56px;width:100%;display:block;box-sizing:border-box;background-color:#fff;box-shadow:0 15px 25px rgba(0,0,0,.07);border-radius:10px;border:none;padding:0 25px;color:#101010;font-size:14px;line-height:42px;border:1px solid #ccc}.metform-open-content-editor-button{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);background-color:#4285f4;border:none;font-size:16px;line-height:42px;color:#fff;border-radius:5px;padding:5px 30px 3px;min-width:170px;box-sizing:border-box;margin-top:30px;cursor:pointer}.position-left{left:30%}.metform-open-content-close-button{position:fixed;bottom:15px;left:70%;transform:translateX(-50%);background-color:#4285f4;border:none;font-size:16px;line-height:42px;color:#fff;border-radius:5px;padding:5px 30px 3px;min-width:170px;box-sizing:border-box;cursor:pointer}.metform-open-content-editor-button>span{margin-right:12px}.metform-editor-tab-content-item{display:none}.metform-editor-tab-content-item .metform-error{color:red;font-style:italic;margin-top:10px}.metform-editor-tab-content-item.active{display:block}.metform-content{overflow:scroll;max-height:70vh;padding:0 50px 30px;border-bottom:1px solid #f2f2f2}.metform-content::-webkit-scrollbar{display:none}.metform-content-editor-tab{display:flex;justify-content:center;flex-wrap:wrap;margin-bottom:20px}.metform-content-editor-tab-item{padding:0 15px}#metform-open-content-editor .metform-content-editor-radio{-webkit-appearance:none;appearance:none;outline:0;width:20px;height:20px;border:2px solid #747474;border-radius:100px;position:relative;margin:0;margin-right:8px;cursor:pointer}#metform-open-content-editor .metform-content-editor-radio:checked{border-color:#4285f4}#metform-open-content-editor .metform-content-editor-radio:checked:before{content:'';background-color:#4285f4;width:10px;height:10px;display:inline-block;position:absolute;left:50%;border-radius:100px;top:50%;transform:translate(-50%,-50%)}.metform-content-editor-tab-item label{display:flex;text-align:left;cursor:pointer}.metform-content-editor-radio-data p{color:#101010;font-size:16px;line-height:20px;margin:0}.metform-content-editor-radio-data span{color:#999;font-size:12px;line-height:25px;margin:0}.metform-template-input-con{margin-bottom:20px}.metform-templates-list{display:flex;flex-wrap:wrap}.metform-templates-list li{margin:5px;flex:0 0 31.4%;box-sizing:border-box}.metform-templates-list li input{display:none;cursor:pointer}.metform-template-radio-data{min-height:101px;border:1px solid #ccc;display:flex;justify-content:center;align-items:center;box-shadow:0 15px 25px rgba(0,0,0,.07);cursor:pointer;height:100%;position:relative;flex-direction:column}.metform-templates-list li input:checked+.metform-template-radio-data{border:1px solid #4285f4}.metform-template-radio-data--pro_tag{background:linear-gradient(45deg,#ff6b11 0,#ff324d 100%);color:#fff;padding:3px 5px;display:inline-block;position:absolute;right:2px;top:2px;text-transform:uppercase;font-size:10px;border-radius:3px;text-align:center}.metform-template-radio-data--demo_link{position:absolute;left:0;top:0;background-color:#4285f4;color:#fff;font-size:12px;border-bottom-right-radius:5px;padding:5px 8px;opacity:0;visibility:hidden;transition:all .4s}.metform-template-radio-data--demo_link:hover{color:#fff}.metform-template-radio-data:hover .metform-template-radio-data--demo_link{opacity:1;visibility:visible}.metform-template-item--go_pro .metform-template-radio-data{cursor:default}.metform-template-footer-content{align-self:normal;padding:10px;min-height:50px;border-top:1px solid rgba(204,204,204,.5);justify-self:auto;display:flex;align-items:center}.metform-template-footer-links a{color:#4285f4;font-size:13px;line-height:15px}.metform-template-footer-links--icon{margin-right:5px}.metform-template-footer-title{position:static;opacity:1;visibility:visible;transition:opacity 1s}.metform-template-footer-title h2{font-size:13px;text-align:left;font-weight:500;color:#6d7882}.metform-template-footer-links{display:flex;width:100%;justify-content:space-between;opacity:0;visibility:hidden;position:absolute;transition:opacity .4s}.metform-template-radio-data:hover .metform-template-footer-links{opacity:1;visibility:visible;position:static}.metform-template-radio-data:hover .metform-template-footer-title{opacity:0;visibility:hidden;position:absolute}.metform-templates-list img{max-width:100%;padding:5px;max-height:180px}.metform-form-edit-btn{position:absolute;left:135px;top:0;color:#4285f4;font-size:15px;text-transform:uppercase;padding:18px 0}.metform-form-update-close-btn{position:absolute;right:10px;top:7px;font-size:14px;text-transform:uppercase;background-color:#39b54a;color:#fff;padding:10px 25px;border-radius:100px;z-index:1;cursor:pointer;line-height:15px;padding-top:10px;transition:all .4s}.metform-form-update-close-btn:hover{background-color:#2d963c;color:#fff}.metform-form-edit-btn:hover{color:#4285f4}.rtl .metform-form-edit-btn{left:60px;right:auto}.metform-form-edit-btn i{margin-right:5px;font-size:18px;margin-top:-4px}.rtl .metform-form-edit-btn>i{margin-left:5px;margin-right:0}.metform-open-content-editor-templates{-webkit-appearance:none;-moz-appearance:none;background:0 0;background-image:url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");background-repeat:no-repeat;background-position-x:98%;background-position-y:50%}#metform-open-content-editor .metform-picker-close{display:none;position:static;border:none;background-color:transparent;box-shadow:none;color:#fff}.mf-edit-form{display:block;background-color:#39b54a;border:none;color:#fff;margin-top:15px;padding:12px 20px;font-weight:700;cursor:pointer;font-size:14px;border-radius:3px;transition:all .4s}.mf-edit-form:hover{background-color:#da3419}@media (prefers-color-scheme:dark){.metform-dynamic-content-modal .elementor-templates-modal__header.metform-formpicker-header{background-color:#34383c}.metform-form-elementor-templates-modal__header__logo span{color:#fff!important}.metform-form-elementor-templates-modal__header__logo span i{width:27px;height:27px;text-align:center;line-height:28px;border-radius:50%;color:#fff;background:#ff433c;font-size:10px}} -
metform/trunk/core/entries/export.php
r2896914 r2907471 1 1 <?php 2 2 3 3 namespace MetForm\Core\Entries; 4 4 5 5 use MetForm\Traits\Singleton; 6 6 7 7 defined('ABSPATH') || exit; 8 8 9 9 class Export { 10 10 11 11 use Singleton; 12 13 public function export_data($form_id) { 14 15 if ( !current_user_can( 'manage_options' ) ){12 13 public function export_data($form_id) 14 { 15 if (!current_user_can('manage_options')) { 16 16 return; 17 17 } 18 18 19 19 $fields = Action::instance()->get_fields($form_id); 20 $title = get_the_title( $form_id);20 $title = get_the_title($form_id); 21 21 22 22 global $wpdb; 23 24 $entries = $wpdb->get_results($wpdb->prepare( "SELECT `post_id` FROM `".$wpdb->prefix."postmeta` WHERE `meta_key` = 'metform_entries__form_id' AND `meta_value` = %d",$form_id), OBJECT ); 23 $entries = $wpdb->get_results($wpdb->prepare("SELECT `post_id` FROM `" . $wpdb->prefix . "postmeta` WHERE `meta_key` = 'metform_entries__form_id' AND `meta_value` = %d", $form_id), OBJECT); 25 24 $entries = (is_array($entries)) ? $entries : []; 26 25 $export = []; 27 $header= [];26 $header = []; 28 27 29 foreach($entries as $entry){28 foreach ($entries as $entry) { 30 29 $entry_modify = []; 31 30 32 $form_entry = get_post_meta( $entry->post_id, 'metform_entries__form_data', true);31 $form_entry = get_post_meta($entry->post_id, 'metform_entries__form_data', true); 33 32 $form_entry = (is_array($form_entry) ? $form_entry : []); 34 $file_entry = get_post_meta( $entry->post_id, 'metform_entries__file_upload_new', true);33 $file_entry = get_post_meta($entry->post_id, 'metform_entries__file_upload_new', true); 35 34 $file_entry = (is_array($file_entry) ? $file_entry : []); 36 35 37 36 $entry_data = array_merge($form_entry, $file_entry); 38 $entry_data = (is_array($entry_data)) ? $entry_data : [] ;37 $entry_data = (is_array($entry_data)) ? $entry_data : []; 39 38 40 $entry_modify['ID'] = $entry->post_id;41 $header['__id'] = 'ID';39 $entry_modify['ID'] = $entry->post_id; 40 $header['__id'] = 'ID'; 42 41 43 foreach ( $fields as $key => $value) {44 $header_key = (($value->mf_input_name != '') ? $value->mf_input_name: $key);45 $header[$header_key] = empty($value->mf_input_label) ? $key : $value->mf_input_label;42 foreach ($fields as $key => $value) { 43 $header_key = (($value->mf_input_name != '') ? htmlspecialchars($value->mf_input_name) : $key); 44 $header[$header_key] = empty($value->mf_input_label) ? $key : htmlspecialchars($value->mf_input_label); 46 45 47 if($value->widgetType == 'mf-file-upload' && isset($entry_data[$key])){48 $entry_modify[$header_key] = (isset($entry_data[$key]) ? ((isset($entry_data[$key]['url'])) ? $entry_data[$key]['url'] : ' ' ) : ' ');49 for ($index = 0; $index < count($entry_data[$key]); $index++){50 $entry_modify[$header_key] .= ( $entry_data[$key][$index]['url']." \n");46 if ($value->widgetType == 'mf-file-upload' && isset($entry_data[$key])) { 47 $entry_modify[$header_key] = (isset($entry_data[$key]) ? ((isset($entry_data[$key]['url'])) ? $entry_data[$key]['url'] : ' ') : ' '); 48 for ($index = 0; $index < count($entry_data[$key]); $index++) { 49 $entry_modify[$header_key] .= (esc_url($entry_data[$key][$index]['url']) . " \n"); 51 50 } 52 } else if($value->widgetType == 'mf-simple-repeater'){51 } else if ($value->widgetType == 'mf-simple-repeater') { 53 52 $data_string = ''; 54 if (is_array($entry_data[$key])){55 foreach ( $entry_data[$key] as $key => $value ){56 $data_string .= $key.": ".$value." \n";53 if (is_array($entry_data[$key])) { 54 foreach ($entry_data[$key] as $key => $value) { 55 $data_string .= htmlspecialchars($key) . ": " . htmlspecialchars($value) . " \n"; 57 56 } 58 57 } 59 58 $entry_modify[$header_key] = $data_string; 60 }else{ 61 $entry_modify[$header_key] = (isset($entry_data[$key]) ? ((is_array($entry_data[$key])) ? implode(', ', $entry_data[$key]) : $entry_data[$key]) : ' ' ); 59 } else { 60 $entry_modify[$header_key] = (isset($entry_data[$key]) ? ((is_array($entry_data[$key])) ? implode(', ', $entry_data[$key]) : ($entry_data[$key])) : ' '); 61 } 62 63 // Prevent CSV injection by prefixing a single quote to values that begin with '=', '+', '-', '@' 64 if (preg_match('/^(\=|\+|\-|\@)/', $entry_modify[$header_key])) { 65 $entry_modify[$header_key] = "'" . ltrim($entry_modify[$header_key], '='); // ltrim remove the equal sign from the formula `=HYPERLINK()` will be `HYPERLINK()` 62 66 } 63 67 } 64 68 65 $entry_modify ['DATE'] = get_the_date( 'd-m-Y', $entry->post_id);69 $entry_modify['DATE'] = get_the_date('d-m-Y', $entry->post_id); 66 70 $export[] = $entry_modify; 67 $header['__dt'] = 'DATE';71 $header['__dt'] = 'DATE'; 68 72 } 69 73 70 $file_name = $title."-export-".time().".csv"; 74 $file_name = $title . "-export-" . time() . ".csv"; 75 // Sanitize the file name to prevent directory traversal 76 $file_name = sanitize_file_name($file_name); 77 71 78 header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); 72 79 header('Content-Description: File Transfer'); 73 80 header("Content-type: text/csv"); 74 header("Content-Disposition: attachment; filename={$file_name}"); 81 // Sanitize the file name to prevent CSV injection 82 header("Content-Disposition: attachment; filename=\"" . str_replace(array('"', "'", "\\", "\0"), '', $file_name) . "\""); 75 83 header("Expires: 0"); 76 84 header("Pragma: public"); 77 $file_pointer = @fopen( 'php://output', 'w');85 $file_pointer = @fopen('php://output', 'w'); 78 86 $csv_header = false; 79 87 80 88 // sort data 81 89 usort($export, function ($item1, $item2) { 82 90 return $item1['ID'] <=> $item2['ID']; 83 91 }); 84 85 foreach ( $export as $data) {92 93 foreach ($export as $data) { 86 94 // Add a header row if it hasn't been added yet 87 if ( !$csv_header) {95 if (!$csv_header) { 88 96 // Use the keys from $data as the titles 89 fputcsv($file_pointer, $header); 97 // Sanitize the header row to prevent CSV injection 98 fputcsv($file_pointer, array_map(function ($value) { 99 return str_replace(array('"', "'", "\\", "\0"), '', $value); 100 }, $header)); 90 101 $csv_header = true; 91 102 } 92 // Put the data into the stream 93 fputcsv($file_pointer, $data); 103 // Sanitize the data to prevent CSV injection 104 $sanitized_data = array_map(function ($value) { 105 return str_replace(array('"', "'", "\\", "\0"), '', $value); 106 }, $data); 107 // Put the sanitized data into the stream 108 fputcsv($file_pointer, $sanitized_data); 94 109 } 95 110 // Close the file 96 111 fclose($file_pointer); 97 112 exit; 98 113 } 99 114 } -
metform/trunk/languages/metform.pot
r2896914 r2907471 1 1 # Copyright (C) 2023 Wpmet 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: MetForm 3.3. 0\n"5 "Project-Id-Version: MetForm 3.3.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/metform\n" 7 "POT-Creation-Date: 2023-0 4-11 06:06:13+00:00\n"7 "POT-Creation-Date: 2023-05-03 12:11:07+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 11 "PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13 13 "Language-Team: LANGUAGE <LL@li.org>\n" 14 14 "X-Generator: grunt-wp-i18n 1.0.3\n" 15 15 16 16 #: traits/conditional-controls.php:120 17 17 msgid "50" 18 18 msgstr "" 19 19 20 20 #: widgets/file-upload/file-upload.php:139 21 21 msgid "128" 22 msgstr "" 23 24 #: base/shortcode.php:83 25 msgid " Thank you for your payment." 26 msgstr "" 27 28 #: base/shortcode.php:83 29 msgid " Your transcation ID : " 30 msgstr "" 31 32 #: base/shortcode.php:85 33 msgid "Thank you . Your payment status : " 34 msgstr "" 35 36 #: base/shortcode.php:109 37 msgid "Not entry was found associated with this id" 38 msgstr "" 39 40 #: base/shortcode.php:113 41 msgid " key Not found " 22 42 msgstr "" 23 43 24 44 #. Plugin Name of the plugin/theme 25 45 msgid "MetForm" 26 46 msgstr "" 27 47 28 48 #: controls/form-editor-modal.php:14 29 49 msgid "Form settings" 30 50 msgstr "" 31 51 32 52 #: controls/form-editor-modal.php:15 33 53 msgid "Update & Close" 34 54 msgstr "" 35 55 36 56 #: controls/form-editor-modal.php:20 controls/form-editor-modal.php:21 37 57 #: controls/form-picker-modal.php:95 38 58 msgid "Close" 39 59 msgstr "" 40 60 41 61 #: controls/form-editor-modal.php:46 42 62 msgid "Loading" 43 63 msgstr "" 44 64 45 65 #: controls/form-picker-modal.php:12 46 66 msgid "Select Form" 47 67 msgstr "" 48 68 49 69 #: controls/form-picker-modal.php:13 50 70 msgid "Select saved form" 51 71 msgstr "" 52 72 53 73 #: controls/form-picker-modal.php:23 54 74 msgid "New" 55 75 msgstr "" 56 76 57 77 #: controls/form-picker-modal.php:24 58 78 msgid "Create new form" 59 79 msgstr "" 60 80 61 81 #: controls/form-picker-modal.php:37 core/forms/views/modal-add-new-form.php:14 62 82 msgid "Enter a form name" 63 83 msgstr "" 64 84 65 85 #: controls/form-picker-modal.php:45 controls/form-picker-modal.php:50 66 86 #: core/forms/views/modal-add-new-form.php:22 67 87 #: core/forms/views/modal-add-new-form.php:27 68 88 msgid "General Form" 69 89 msgstr "" 70 90 71 91 #: controls/form-picker-modal.php:51 core/forms/views/modal-add-new-form.php:28 72 92 msgid "Quiz Form" 73 93 msgstr "" 74 94 75 95 #: controls/form-picker-modal.php:70 controls/form-picker-modal.php:73 76 96 #: core/forms/views/modal-add-new-form.php:47 77 97 #: core/forms/views/modal-add-new-form.php:50 78 98 msgid "Blank Template" 79 99 msgstr "" 80 100 81 101 #: controls/form-picker-modal.php:76 core/forms/views/modal-add-new-form.php:53 82 102 msgid "Create From Scratch" 83 103 msgstr "" 84 104 85 105 #: controls/form-picker-modal.php:92 core/forms/views/modal-add-new-form.php:67 86 106 msgid "Edit form" 87 107 msgstr "" 88 108 89 109 #: controls/form-picker-modal.php:93 90 110 msgid "Save & close" 91 111 msgstr "" 92 112 93 113 #: controls/form-picker-utils.php:33 94 114 msgid "Edit Form Content" 95 115 msgstr "" 96 116 97 117 #: controls/form-picker-utils.php:33 98 118 msgid "Edit" 99 119 msgstr "" 100 120 101 121 #: controls/form-picker-utils.php:40 102 122 msgid "No content is added yet." 103 123 msgstr "" 104 124 105 125 #: core/admin/base.php:31 traits/button-controls.php:37 106 126 #: widgets/checkbox/checkbox.php:179 widgets/date/date.php:120 107 127 #: widgets/email/email.php:71 widgets/file-upload/file-upload.php:96 108 128 #: widgets/gdpr-consent/gdpr-consent.php:93 109 129 #: widgets/listing-fname/listing-fname.php:48 110 130 #: widgets/listing-lname/listing-lname.php:48 111 131 #: widgets/listing-optin/listing-optin.php:74 112 132 #: widgets/multi-select/multi-select.php:138 widgets/number/number.php:48 113 133 #: widgets/password/password.php:48 widgets/radio/radio.php:183 114 134 #: widgets/range/range.php:48 widgets/rating/rating.php:48 115 135 #: widgets/select/select.php:201 widgets/summary/summary.php:48 116 136 #: widgets/switch/switch.php:66 widgets/telephone/telephone.php:48 117 137 #: widgets/text/text.php:54 widgets/textarea/textarea.php:49 118 138 #: widgets/time/time.php:52 widgets/url/url.php:49 119 139 msgid "Settings" 120 140 msgstr "" 121 141 122 142 #: core/admin/views/settings.php:22 core/admin/views/settings.php:82 123 143 msgid "Dashboard" 124 144 msgstr "" 125 145 126 146 #: core/admin/views/settings.php:23 127 147 msgid "All dashboard info here" 128 148 msgstr "" 129 149 130 150 #: core/admin/views/settings.php:31 core/admin/views/settings.php:304 131 151 #: core/forms/views/modal-editor.php:14 132 152 msgid "General" 133 153 msgstr "" 134 154 135 155 #: core/admin/views/settings.php:32 136 156 msgid "All General info here" 137 157 msgstr "" 138 158 139 159 #: core/admin/views/settings.php:41 core/admin/views/settings.php:448 140 160 #: core/entries/meta-data.php:342 core/forms/views/modal-editor.php:23 141 161 msgid "Payment" 142 162 msgstr "" 143 163 144 164 #: core/admin/views/settings.php:42 145 165 msgid "All payment info here" 146 166 msgstr "" 147 167 148 168 #: core/admin/views/settings.php:50 core/admin/views/settings.php:635 149 169 msgid "Newsletter Integration" 150 170 msgstr "" 151 171 152 172 #: core/admin/views/settings.php:51 153 173 msgid "All newsletter integration info here" 154 174 msgstr "" 155 175 156 176 #: core/admin/views/settings.php:59 core/admin/views/settings.php:956 157 177 msgid "Google Sheet Integration" 158 178 msgstr "" 159 179 160 180 #: core/admin/views/settings.php:60 161 181 msgid "All sheets info here" 162 182 msgstr "" 163 183 164 184 #: core/admin/views/settings.php:83 core/admin/views/settings.php:305 165 185 #: core/admin/views/settings.php:449 core/admin/views/settings.php:637 166 186 #: core/admin/views/settings.php:958 167 187 #: core/integrations/onboard/views/onboard-steps/step-06.php:5 168 188 #: utils/render.php:38 169 189 msgid "Save Changes" 170 190 msgstr "" 171 191 172 192 #: core/admin/views/settings.php:93 173 193 msgid "Top Notch" 174 194 msgstr "" 175 195 176 196 #: core/admin/views/settings.php:94 177 197 msgid "Features" 178 198 msgstr "" 179 199 180 200 #: core/admin/views/settings.php:95 core/admin/views/settings.php:154 181 201 msgid "features" 182 202 msgstr "" 183 203 184 204 #: core/admin/views/settings.php:97 core/admin/views/settings.php:156 185 205 #: core/admin/views/settings.php:230 186 206 msgid "" 187 207 "Get started by spending some time with the documentation to get familiar " 188 208 "with ElementsKit." 189 209 msgstr "" 190 210 191 211 #: core/admin/views/settings.php:105 core/admin/views/settings.php:164 192 212 msgid "Easy to use" 193 213 msgstr "" 194 214 195 215 #: core/admin/views/settings.php:107 core/admin/views/settings.php:114 196 216 #: core/admin/views/settings.php:121 core/admin/views/settings.php:128 197 217 #: core/admin/views/settings.php:135 core/admin/views/settings.php:142 198 218 msgid "" 199 219 "Get started by spending some time with the documentation to get familiar " 200 220 "with MetForm" 201 221 msgstr "" 202 222 203 223 #: core/admin/views/settings.php:112 204 224 msgid "Moden Typography" 205 225 msgstr "" 206 226 207 227 #: core/admin/views/settings.php:119 core/admin/views/settings.php:170 208 228 msgid "Perfectly Match" 209 229 msgstr "" 210 230 211 231 #: core/admin/views/settings.php:126 212 232 msgid "Dynamic Forms" 213 233 msgstr "" 214 234 215 235 #: core/admin/views/settings.php:133 216 236 msgid "Create Faster" 217 237 msgstr "" 218 238 219 239 #: core/admin/views/settings.php:140 220 240 msgid "Awesome Layout" 221 241 msgstr "" 222 242 223 243 #: core/admin/views/settings.php:152 224 244 msgid "What included with Free &" 225 245 msgstr "" 226 246 227 247 #: core/admin/views/settings.php:153 228 248 #: core/integrations/onboard/views/onboard-steps/step-05.php:13 229 249 msgid "PRO" 230 250 msgstr "" 231 251 232 252 #: core/admin/views/settings.php:164 core/admin/views/settings.php:167 233 253 #: core/admin/views/settings.php:170 234 254 msgid "Pro" 235 255 msgstr "" 236 256 237 257 #: core/admin/views/settings.php:167 238 258 msgid "Modern Typography" 239 259 msgstr "" 240 260 241 261 #: core/admin/views/settings.php:179 core/admin/views/settings.php:195 242 262 #: core/admin/views/settings.php:209 243 263 msgid "" 244 264 "Get started by spending some time with the documentation to get familiar " 245 265 "with MetForm Get started by spending some time with the documentation to " 246 266 "get notification in real time." 247 267 msgstr "" 248 268 249 269 #: core/admin/views/settings.php:182 core/admin/views/settings.php:198 250 270 #: core/admin/views/settings.php:212 251 271 msgid "Success Message" 252 272 msgstr "" 253 273 254 274 #: core/admin/views/settings.php:183 core/admin/views/settings.php:199 255 275 #: core/admin/views/settings.php:213 256 276 msgid "Required Login" 257 277 msgstr "" 258 278 259 279 #: core/admin/views/settings.php:184 core/admin/views/settings.php:200 260 280 #: core/admin/views/settings.php:214 261 281 msgid "Hide Form After Submission" 262 282 msgstr "" 263 283 264 284 #: core/admin/views/settings.php:186 core/admin/views/settings.php:202 265 285 #: core/admin/views/settings.php:216 266 286 msgid "Store Entries" 267 287 msgstr "" 268 288 269 289 #: core/admin/views/settings.php:189 270 290 msgid "View Details" 271 291 msgstr "" 272 292 273 293 #: core/admin/views/settings.php:227 274 294 #: core/integrations/onboard/views/settings-sections/dashboard.php:75 275 295 msgid "General Knowledge Base" 276 296 msgstr "" 277 297 278 298 #: core/admin/views/settings.php:228 279 299 #: core/integrations/onboard/views/settings-sections/dashboard.php:76 280 300 msgid "FAQ" 281 301 msgstr "" 282 302 283 303 #: core/admin/views/settings.php:238 284 304 msgid "1. How to create a Invitation Form using MetForm?" 285 305 msgstr "" 286 306 287 307 #: core/admin/views/settings.php:242 core/admin/views/settings.php:253 288 308 #: core/admin/views/settings.php:264 289 309 #: core/integrations/onboard/views/settings-sections/dashboard.php:86 290 310 #: core/integrations/onboard/views/settings-sections/dashboard.php:94 291 311 #: core/integrations/onboard/views/settings-sections/dashboard.php:102 292 312 msgid "" 293 313 "You will get 20+ complete homepages and total 450+ blocks in our layout " 294 314 "library and we’re continuously updating the numbers there." 295 315 msgstr "" 296 316 297 317 #: core/admin/views/settings.php:249 298 318 msgid "2. How to translate language with WPML?" 299 319 msgstr "" 300 320 301 321 #: core/admin/views/settings.php:260 302 322 #: core/integrations/onboard/views/settings-sections/dashboard.php:99 303 323 msgid "3. How to add custom css in specific section shortcode?" 304 324 msgstr "" 305 325 306 326 #: core/admin/views/settings.php:271 307 327 #: core/integrations/onboard/views/settings-sections/dashboard.php:110 308 328 msgid "View all faq’s" 309 329 msgstr "" 310 330 311 331 #: core/admin/views/settings.php:280 312 332 msgid "Satisfied!" 313 333 msgstr "" 314 334 315 335 #: core/admin/views/settings.php:280 316 336 #: core/integrations/onboard/views/settings-sections/dashboard.php:152 317 337 msgid "Don’t forget to rate our item." 318 338 msgstr "" 319 339 320 340 #: core/admin/views/settings.php:282 321 341 msgid "review" 322 342 msgstr "" 323 343 324 344 #: core/admin/views/settings.php:288 325 345 #: core/integrations/onboard/views/settings-sections/dashboard.php:154 326 346 msgid "Rate it now" 327 347 msgstr "" 328 348 329 349 #: core/admin/views/settings.php:293 330 350 #: core/integrations/onboard/views/settings-sections/dashboard.php:159 331 351 msgid "Rate Now Thumb" 332 352 msgstr "" 333 353 334 354 #: core/admin/views/settings.php:311 335 355 msgid "reCaptcha" 336 356 msgstr "" 337 357 338 358 #: core/admin/views/settings.php:316 339 359 msgid "Map" 340 360 msgstr "" 341 361 342 362 #: core/admin/views/settings.php:322 343 363 msgid "Others" 344 364 msgstr "" 345 365 346 366 #: core/admin/views/settings.php:335 347 367 msgid "Select version:" 348 368 msgstr "" 349 369 350 370 #: core/admin/views/settings.php:339 351 371 msgid "reCAPTCHA V2" 352 372 msgstr "" 353 373 354 374 #: core/admin/views/settings.php:342 355 375 msgid "reCAPTCHA V3" 356 376 msgstr "" 357 377 358 378 #: core/admin/views/settings.php:347 359 379 msgid "Select google reCaptcha version which one want to use." 360 380 msgstr "" 361 381 362 382 #: core/admin/views/settings.php:354 core/admin/views/settings.php:373 363 383 msgid "Site key:" 364 384 msgstr "" 365 385 366 386 #: core/admin/views/settings.php:356 core/admin/views/settings.php:375 367 387 msgid "Insert site key" 368 388 msgstr "" 369 389 370 390 #: core/admin/views/settings.php:358 core/admin/views/settings.php:377 371 391 msgid "Create google reCaptcha site key from reCaptcha admin panel. " 372 392 msgstr "" 373 393 374 394 #: core/admin/views/settings.php:358 core/admin/views/settings.php:366 375 395 #: core/admin/views/settings.php:377 core/admin/views/settings.php:385 376 396 #: core/admin/views/settings.php:403 core/admin/views/settings.php:482 377 397 #: core/admin/views/settings.php:490 core/admin/views/settings.php:522 378 398 #: core/admin/views/settings.php:530 core/admin/views/settings.php:549 379 399 #: core/admin/views/settings.php:556 core/admin/views/settings.php:977 380 400 #: core/admin/views/settings.php:984 381 401 msgid "Create from here" 382 402 msgstr "" 383 403 384 404 #: core/admin/views/settings.php:362 core/admin/views/settings.php:381 385 405 msgid "Secret key:" 386 406 msgstr "" 387 407 388 408 #: core/admin/views/settings.php:364 core/admin/views/settings.php:383 389 409 msgid "Insert secret key" 390 410 msgstr "" 391 411 392 412 #: core/admin/views/settings.php:366 core/admin/views/settings.php:385 393 413 msgid "Create google reCaptcha secret key from reCaptcha admin panel. " 394 414 msgstr "" 395 415 396 416 #: core/admin/views/settings.php:399 397 417 msgid "API:" 398 418 msgstr "" 399 419 400 420 #: core/admin/views/settings.php:401 401 421 msgid "Insert map API key" 402 422 msgstr "" 403 423 404 424 #: core/admin/views/settings.php:403 405 425 msgid "Create google map API key from google developer console. " 406 426 msgstr "" 407 427 408 428 #: core/admin/views/settings.php:418 409 429 msgid "Save Form Progress ?" 410 430 msgstr "" 411 431 412 432 #: core/admin/views/settings.php:424 413 433 msgid "" 414 434 "Turn this feature on if you want partial submissions to be saved for a form " 415 435 "so that the user can complete the form submission later. " 416 436 msgstr "" 417 437 418 438 #: core/admin/views/settings.php:425 419 439 msgid "Please note " 420 440 msgstr "" 421 441 422 442 #: core/admin/views/settings.php:425 423 443 msgid "" 424 444 "that the submissions will be saved for 2 hours, after which the form " 425 445 "submissions will be reset. " 426 446 msgstr "" 427 447 428 448 #: core/admin/views/settings.php:455 429 449 msgid "Paypal" 430 450 msgstr "" 431 451 432 452 #: core/admin/views/settings.php:460 433 453 msgid "Stripe" 434 454 msgstr "" 435 455 436 456 #: core/admin/views/settings.php:465 437 457 msgid "Thank You Page" 438 458 msgstr "" 439 459 440 460 #: core/admin/views/settings.php:468 441 461 msgid "Cancel Page" 442 462 msgstr "" 443 463 444 464 #: core/admin/views/settings.php:479 445 465 msgid "Paypal email:" 446 466 msgstr "" 447 467 448 468 #: core/admin/views/settings.php:480 449 469 msgid "Paypal email" 450 470 msgstr "" 451 471 452 472 #: core/admin/views/settings.php:482 453 473 msgid "Enter here your paypal email. " 454 474 msgstr "" 455 475 456 476 #: core/admin/views/settings.php:487 457 477 msgid "Paypal token:" 458 478 msgstr "" 459 479 460 480 #: core/admin/views/settings.php:488 461 481 msgid "Paypal token" 462 482 msgstr "" 463 483 464 484 #: core/admin/views/settings.php:490 465 485 msgid "Enter here your paypal token. This is optional. " 466 486 msgstr "" 467 487 468 488 #: core/admin/views/settings.php:495 core/admin/views/settings.php:536 469 489 msgid "Enable sandbox mode:" 470 490 msgstr "" 471 491 472 492 #: core/admin/views/settings.php:498 473 493 msgid "Enable this for testing payment method. " 474 494 msgstr "" 475 495 476 496 #: core/admin/views/settings.php:511 477 497 msgid "Image url:" 478 498 msgstr "" 479 499 480 500 #: core/admin/views/settings.php:512 481 501 msgid "Stripe image url" 482 502 msgstr "" 483 503 484 504 #: core/admin/views/settings.php:514 485 505 msgid "" 486 506 "Enter here your stripe image url. This image will show on stripe payment " 487 507 "pop up modal. " 488 508 msgstr "" 489 509 490 510 #: core/admin/views/settings.php:519 491 511 msgid "Live publishiable key:" 492 512 msgstr "" 493 513 494 514 #: core/admin/views/settings.php:520 495 515 msgid "Stripe live publishiable key" 496 516 msgstr "" 497 517 498 518 #: core/admin/views/settings.php:522 499 519 msgid "Enter here your stripe live publishiable key. " 500 520 msgstr "" 501 521 502 522 #: core/admin/views/settings.php:527 503 523 msgid "Live secret key:" 504 524 msgstr "" 505 525 506 526 #: core/admin/views/settings.php:528 507 527 msgid "Stripe live secret key" 508 528 msgstr "" 509 529 510 530 #: core/admin/views/settings.php:530 511 531 msgid "Enter here your stripe live secret key. " 512 532 msgstr "" 513 533 514 534 #: core/admin/views/settings.php:539 515 535 msgid "Enable this for testing your payment system. " 516 536 msgstr "" 517 537 518 538 #: core/admin/views/settings.php:546 519 539 msgid "Test publishiable key:" 520 540 msgstr "" 521 541 522 542 #: core/admin/views/settings.php:547 523 543 msgid "Stripe test publishiable key" 524 544 msgstr "" 525 545 526 546 #: core/admin/views/settings.php:549 527 547 msgid "Enter here your test publishiable key. " 528 548 msgstr "" 529 549 530 550 #: core/admin/views/settings.php:553 531 551 msgid "Test secret key:" 532 552 msgstr "" 533 553 534 554 #: core/admin/views/settings.php:554 535 555 msgid "Stripe test secret key" 536 556 msgstr "" 537 557 538 558 #: core/admin/views/settings.php:556 539 559 msgid "Enter here your test secret key. " 540 560 msgstr "" 541 561 542 562 #: core/admin/views/settings.php:571 543 563 msgid "Select Thank You Page :" 544 564 msgstr "" 545 565 546 566 #: core/admin/views/settings.php:574 core/admin/views/settings.php:601 547 567 msgid "Select a page" 548 568 msgstr "" 549 569 550 570 #: core/admin/views/settings.php:586 551 571 msgid "Handle successfull payment redirection page. Learn more about Thank you page" 552 572 msgstr "" 553 573 554 574 #: core/admin/views/settings.php:586 555 575 msgid "Here" 556 576 msgstr "" 557 577 558 578 #: core/admin/views/settings.php:587 559 579 msgid "Create Thank You Page" 560 580 msgstr "" 561 581 562 582 #: core/admin/views/settings.php:598 563 583 msgid "Select Cancel Page :" 564 584 msgstr "" 565 585 566 586 #: core/admin/views/settings.php:614 567 587 msgid "Handle canceled payment redirection page. Learn more about cancel page." 568 588 msgstr "" 569 589 570 590 #: core/admin/views/settings.php:615 571 591 msgid "Create Cancel Page" 572 592 msgstr "" 573 593 574 594 #: core/admin/views/settings.php:644 575 595 msgid "Mailchimp" 576 596 msgstr "" 577 597 578 598 #: core/admin/views/settings.php:649 579 599 msgid "AWeber" 580 600 msgstr "" 581 601 582 602 #: core/admin/views/settings.php:653 583 603 msgid "ActiveCampaign" 584 604 msgstr "" 585 605 586 606 #: core/admin/views/settings.php:657 587 607 msgid "Get Response" 588 608 msgstr "" 589 609 590 610 #: core/admin/views/settings.php:661 591 611 msgid "ConvertKit" 592 612 msgstr "" 593 613 594 614 #: core/admin/views/settings.php:676 core/admin/views/settings.php:773 595 615 #: core/admin/views/settings.php:827 core/admin/views/settings.php:854 596 616 msgid "API Key:" 597 617 msgstr "" 598 618 599 619 #: core/admin/views/settings.php:677 600 620 msgid "Mailchimp API key" 601 621 msgstr "" 602 622 603 623 #: core/admin/views/settings.php:679 604 624 msgid "Enter here your Mailchimp API key. " 605 625 msgstr "" 606 626 607 627 #: core/admin/views/settings.php:679 core/admin/views/settings.php:713 608 628 #: core/admin/views/settings.php:721 core/admin/views/settings.php:776 609 629 #: core/admin/views/settings.php:785 core/admin/views/settings.php:822 610 630 #: core/admin/views/settings.php:830 core/admin/views/settings.php:857 611 631 msgid "Get API." 612 632 msgstr "" 613 633 614 634 #: core/admin/views/settings.php:688 core/admin/views/settings.php:753 615 635 #: core/admin/views/settings.php:795 core/admin/views/settings.php:838 616 636 #: core/admin/views/settings.php:865 core/admin/views/settings.php:898 617 637 #: core/admin/views/settings.php:925 618 638 msgid "How To" 619 639 msgstr "" 620 640 621 641 #: core/admin/views/settings.php:689 core/admin/views/settings.php:754 622 642 #: core/admin/views/settings.php:796 core/admin/views/settings.php:839 623 643 #: core/admin/views/settings.php:866 core/admin/views/settings.php:899 624 644 #: core/admin/views/settings.php:926 625 645 msgid "" 626 646 "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. " 627 647 "Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse " 628 648 "urna nibh, viverra non, semper suscipit, posuere a, pede." 629 649 msgstr "" 630 650 631 651 #: core/admin/views/settings.php:692 core/admin/views/settings.php:757 632 652 #: core/admin/views/settings.php:799 core/admin/views/settings.php:842 633 653 #: core/admin/views/settings.php:869 core/admin/views/settings.php:902 634 654 #: core/admin/views/settings.php:929 635 655 msgid "Item 1" 636 656 msgstr "" 637 657 638 658 #: core/admin/views/settings.php:693 core/admin/views/settings.php:758 639 659 #: core/admin/views/settings.php:800 core/admin/views/settings.php:843 640 660 #: core/admin/views/settings.php:870 core/admin/views/settings.php:903 641 661 #: core/admin/views/settings.php:930 642 662 msgid "Item 2" 643 663 msgstr "" 644 664 645 665 #: core/admin/views/settings.php:694 core/admin/views/settings.php:759 646 666 #: core/admin/views/settings.php:801 core/admin/views/settings.php:844 647 667 #: core/admin/views/settings.php:871 core/admin/views/settings.php:904 648 668 #: core/admin/views/settings.php:931 649 669 msgid "Item 3" 650 670 msgstr "" 651 671 652 672 #: core/admin/views/settings.php:697 core/admin/views/settings.php:762 653 673 #: core/admin/views/settings.php:804 core/admin/views/settings.php:847 654 674 #: core/admin/views/settings.php:874 core/admin/views/settings.php:907 655 675 #: core/admin/views/settings.php:934 656 676 msgid "View Documentation" 657 677 msgstr "" 658 678 659 679 #: core/admin/views/settings.php:710 660 680 msgid "Developer App ID:" 661 681 msgstr "" 662 682 663 683 #: core/admin/views/settings.php:711 664 684 msgid "AWeber developer client Id key" 665 685 msgstr "" 666 686 667 687 #: core/admin/views/settings.php:713 668 688 msgid "Enter here your Aweber developer app key. " 669 689 msgstr "" 670 690 671 691 #: core/admin/views/settings.php:718 672 692 msgid "Developer App Secret:" 673 693 msgstr "" 674 694 675 695 #: core/admin/views/settings.php:719 676 696 msgid "AWeber developer secret key" 677 697 msgstr "" 678 698 679 699 #: core/admin/views/settings.php:721 680 700 msgid "Enter here your Aweber developer secret key. " 681 701 msgstr "" 682 702 683 703 #: core/admin/views/settings.php:726 684 704 msgid "Redirect url:" 685 705 msgstr "" 686 706 687 707 #: core/admin/views/settings.php:774 core/admin/views/settings.php:783 688 708 msgid "ConvertKit API key" 689 709 msgstr "" 690 710 691 711 #: core/admin/views/settings.php:776 core/admin/views/settings.php:785 692 712 msgid "Enter here your ConvertKit API key. " 693 713 msgstr "" 694 714 695 715 #: core/admin/views/settings.php:782 696 716 msgid "Secret Key:" 697 717 msgstr "" 698 718 699 719 #: core/admin/views/settings.php:819 700 720 msgid "API URL:" 701 721 msgstr "" 702 722 703 723 #: core/admin/views/settings.php:820 704 724 msgid "ActiveCampaign API URL" 705 725 msgstr "" 706 726 707 727 #: core/admin/views/settings.php:822 core/admin/views/settings.php:830 708 728 #: core/admin/views/settings.php:857 709 729 msgid "Enter here your ActiveCampaign API key. " 710 730 msgstr "" 711 731 712 732 #: core/admin/views/settings.php:828 core/admin/views/settings.php:855 713 733 msgid "ActiveCampaign API key" 714 734 msgstr "" 715 735 716 736 #: core/admin/views/settings.php:888 core/admin/views/settings.php:915 717 737 msgid "GetResponse API Key:" 718 738 msgstr "" 719 739 720 740 #: core/admin/views/settings.php:889 core/admin/views/settings.php:916 721 741 msgid "GetResponse API key" 722 742 msgstr "" 723 743 724 744 #: core/admin/views/settings.php:963 725 745 msgid "Google Sheet" 726 746 msgstr "" 727 747 728 748 #: core/admin/views/settings.php:974 729 749 msgid "Google Client Id:" 730 750 msgstr "" 731 751 732 752 #: core/admin/views/settings.php:975 733 753 msgid "Google OAuth Client Id" 734 754 msgstr "" 735 755 736 756 #: core/admin/views/settings.php:977 737 757 msgid "Enter here your google client id. " 738 758 msgstr "" 739 759 740 760 #: core/admin/views/settings.php:981 741 761 msgid "Google Client Secret:" 742 762 msgstr "" 743 763 744 764 #: core/admin/views/settings.php:982 745 765 msgid "Google OAuth Client Secret" 746 766 msgstr "" 747 767 748 768 #: core/admin/views/settings.php:984 749 769 msgid "Enter here your google secret id. " 750 770 msgstr "" 751 771 752 772 #: core/admin/views/settings.php:991 753 773 msgid "Check how to create App/Project On Google developer account" 754 774 msgstr "" 755 775 756 776 #: core/admin/views/settings.php:992 757 777 msgid "Must add the following URL to the \"Valid OAuth redirect URIs\" field:" 758 778 msgstr "" 759 779 760 780 #: core/admin/views/settings.php:993 761 781 msgid "After getting the App ID & App Secret, put those information" 762 782 msgstr "" 763 783 764 784 #: core/admin/views/settings.php:994 765 785 msgid "Click on \"Save Changes\"" 766 786 msgstr "" 767 787 768 788 #: core/admin/views/settings.php:995 769 789 msgid "Click on \"Generate Access Token\"" 770 790 msgstr "" 771 791 772 792 #: core/admin/views/settings.php:997 773 793 msgid "Generate Access Token" 774 794 msgstr "" 775 795 776 796 #: core/admin/views/settings.php:1000 777 797 msgid "" 778 798 "Note:- After 200 days your token will be expired, before the expiration of " 779 799 "your token, generate a new token." 780 800 msgstr "" 781 801 782 802 #: core/entries/action.php:43 783 803 msgid "Some thing went wrong." 784 804 msgstr "" 785 805 786 806 #: core/entries/action.php:66 core/entries/action.php:71 787 807 #: core/entries/action.php:96 788 808 msgid "Unauthorized submission." 789 809 msgstr "" 790 810 791 811 #: core/entries/action.php:76 792 812 msgid "You are trying to upload wrong file!" 793 813 msgstr "" 794 814 795 815 #: core/entries/action.php:106 796 816 msgid "Form validation failed" 797 817 msgstr "" 798 818 799 819 #: core/entries/action.php:114 core/entries/action.php:144 800 820 msgid "Please solve the recaptcha." 801 821 msgstr "" 802 822 803 823 #: core/entries/action.php:120 804 824 msgid "Google captcha token not found." 805 825 msgstr "" 806 826 807 827 #: core/entries/action.php:168 808 828 msgid "Time out of this captcha. Please reload or choose another one." 809 829 msgstr "" 810 830 811 831 #: core/entries/action.php:177 812 832 msgid "Enter correct captcha." 813 833 msgstr "" 814 834 815 835 #: core/entries/action.php:187 816 836 msgid "You must be logged in to submit form." 817 837 msgstr "" 818 838 819 839 #: core/entries/action.php:197 820 840 msgid "Form submission limit execed." 821 841 msgstr "" 822 842 823 843 #: core/entries/action.php:255 824 844 msgid "Problem with your mailchimp integration." 825 845 msgstr "" 826 846 827 847 #: core/entries/action.php:271 828 848 msgid "Problem with your activeCampaign integration." 829 849 msgstr "" 830 850 831 851 #: core/entries/action.php:286 832 852 msgid "Problem with your GetResponse integration." 833 853 msgstr "" 834 854 835 855 #: core/entries/action.php:307 836 856 msgid "Problem with your zapier integration." 837 857 msgstr "" 838 858 839 859 #: core/entries/action.php:330 840 860 msgid "Problem with your slack integration." 841 861 msgstr "" 842 862 843 863 #: core/entries/action.php:346 844 864 msgid "Problem with convertKit." 845 865 msgstr "" 846 866 847 867 #: core/entries/action.php:362 848 868 msgid "Problem with your Aweber integration." 849 869 msgstr "" 850 870 851 871 #: core/entries/action.php:376 852 872 msgid "Problem with your Mail Poet integration." 853 873 msgstr "" 854 874 855 875 #: core/entries/action.php:448 856 876 msgid "Problem with your RestApi integration." 857 877 msgstr "" 858 878 859 879 #: core/entries/action.php:472 860 880 msgid " Please wait... Redirecting to paypal." 861 881 msgstr "" 862 882 863 883 #: core/entries/action.php:515 864 884 msgid " Please wait... Open a Stripe Popup Box." 865 885 msgstr "" 866 886 867 887 #: core/entries/action.php:618 868 888 msgid "ssl certificate or google oauth credentials problem" 869 889 msgstr "" 870 890 871 891 #: core/entries/action.php:724 872 892 msgid "Mail not found." 873 893 msgstr "" 874 894 875 895 #: core/entries/action.php:730 core/entries/action.php:783 876 896 msgid "Please setup your SMTP mail server." 877 897 msgstr "" 878 898 879 899 #: core/entries/action.php:773 880 900 msgid "Admin mail not found to send email." 881 901 msgstr "" 882 902 883 903 #: core/entries/action.php:910 884 904 msgid "There was an error uploading your file. The error is: " 885 905 msgstr "" 886 906 887 907 #: core/entries/cpt.php:16 core/entries/cpt.php:17 888 908 msgid "Entry" 889 909 msgstr "" 890 910 891 911 #: core/entries/cpt.php:18 892 912 msgid "Entry Archives" 893 913 msgstr "" 894 914 895 915 #: core/entries/cpt.php:19 896 916 msgid "Entry Attributes" 897 917 msgstr "" 898 918 899 919 #: core/entries/cpt.php:20 core/forms/cpt.php:478 900 920 msgid "Parent Item:" 901 921 msgstr "" 902 922 903 923 #: core/entries/cpt.php:21 core/forms/hooks.php:36 904 924 msgid "Entries" 905 925 msgstr "" 906 926 907 927 #: core/entries/cpt.php:22 908 928 msgid "Add New Item" 909 929 msgstr "" 910 930 911 931 #: core/entries/cpt.php:23 core/forms/cpt.php:481 912 932 msgid "Add New" 913 933 msgstr "" 914 934 915 935 #: core/entries/cpt.php:24 916 936 msgid "New Item" 917 937 msgstr "" 918 938 919 939 #: core/entries/cpt.php:25 920 940 msgid "Edit Item" 921 941 msgstr "" 922 942 923 943 #: core/entries/cpt.php:26 924 944 msgid "Update Item" 925 945 msgstr "" 926 946 927 947 #: core/entries/cpt.php:27 928 948 msgid "View Item" 929 949 msgstr "" 930 950 931 951 #: core/entries/cpt.php:28 932 952 msgid "View Items" 933 953 msgstr "" 934 954 935 955 #: core/entries/cpt.php:29 936 956 msgid "Search Item" 937 957 msgstr "" 938 958 939 959 #: core/entries/cpt.php:30 core/forms/cpt.php:488 940 960 msgid "Not found" 941 961 msgstr "" 942 962 943 963 #: core/entries/cpt.php:31 core/forms/cpt.php:489 944 964 msgid "Not found in Trash" 945 965 msgstr "" 946 966 947 967 #: core/entries/cpt.php:32 core/forms/cpt.php:490 948 968 msgid "Featured Image" 949 969 msgstr "" 950 970 951 971 #: core/entries/cpt.php:33 core/forms/cpt.php:491 952 972 msgid "Set featured image" 953 973 msgstr "" 954 974 955 975 #: core/entries/cpt.php:34 core/forms/cpt.php:492 956 976 msgid "Remove featured image" 957 977 msgstr "" 958 978 959 979 #: core/entries/cpt.php:35 core/forms/cpt.php:493 960 980 msgid "Use as featured image" 961 981 msgstr "" 962 982 963 983 #: core/entries/cpt.php:36 964 984 msgid "Insert into item" 965 985 msgstr "" 966 986 967 987 #: core/entries/cpt.php:37 968 988 msgid "Uploaded to this item" 969 989 msgstr "" 970 990 971 991 #: core/entries/cpt.php:38 972 992 msgid "Form entries list" 973 993 msgstr "" 974 994 975 995 #: core/entries/cpt.php:39 976 996 msgid "Form entries list navigation" 977 997 msgstr "" 978 998 979 999 #: core/entries/cpt.php:40 980 1000 msgid "Filter from entry list" 981 1001 msgstr "" 982 1002 983 1003 #: core/entries/cpt.php:44 984 1004 msgid "Form entry" 985 1005 msgstr "" 986 1006 987 1007 #: core/entries/cpt.php:45 988 1008 msgid "metform-entry" 989 1009 msgstr "" 990 1010 991 1011 #: core/entries/form-data.php:157 core/entries/form-data.php:280 992 1012 msgid "Number:" 993 1013 msgstr "" 994 1014 995 1015 #: core/entries/form-data.php:161 core/entries/form-data.php:284 996 1016 msgid "Type:" 997 1017 msgstr "" 998 1018 999 1019 #: core/entries/form-data.php:300 core/entries/meta-data.php:239 1000 1020 msgid "Download" 1001 1021 msgstr "" 1002 1022 1003 1023 #: core/entries/hooks.php:26 core/forms/views/modal-add-new-form.php:13 1004 1024 msgid "Form Name" 1005 1025 msgstr "" 1006 1026 1007 1027 #: core/entries/hooks.php:28 1008 1028 msgid "Referral" 1009 1029 msgstr "" 1010 1030 1011 1031 #: core/entries/hooks.php:31 1012 1032 msgid "Email Verified" 1013 1033 msgstr "" 1014 1034 1015 1035 #: core/entries/hooks.php:38 1016 1036 msgid "Export Actions" 1017 1037 msgstr "" 1018 1038 1019 1039 #: core/entries/hooks.php:77 traits/common-controls.php:130 1020 1040 #: traits/common-controls.php:838 traits/quiz-control.php:303 1021 1041 #: traits/quiz-control.php:393 traits/quiz-control.php:476 1022 1042 #: traits/quiz-control.php:619 widgets/checkbox/checkbox.php:137 1023 1043 #: widgets/date/date.php:141 widgets/date/date.php:203 1024 1044 #: widgets/date/date.php:215 widgets/date/date.php:227 1025 1045 #: widgets/date/date.php:239 widgets/date/date.php:400 1026 1046 #: widgets/date/date.php:412 widgets/email/email.php:55 1027 1047 #: widgets/multi-select/multi-select.php:96 widgets/radio/radio.php:141 1028 1048 #: widgets/range/range.php:99 widgets/select/select.php:97 1029 1049 #: widgets/switch/switch.php:48 widgets/time/time.php:73 1030 1050 msgid "Yes" 1031 1051 msgstr "" 1032 1052 1033 1053 #: core/entries/hooks.php:79 traits/common-controls.php:131 1034 1054 #: traits/common-controls.php:839 traits/quiz-control.php:304 1035 1055 #: traits/quiz-control.php:394 traits/quiz-control.php:477 1036 1056 #: traits/quiz-control.php:620 widgets/checkbox/checkbox.php:138 1037 1057 #: widgets/date/date.php:142 widgets/date/date.php:204 1038 1058 #: widgets/date/date.php:216 widgets/date/date.php:228 1039 1059 #: widgets/date/date.php:240 widgets/date/date.php:401 1040 1060 #: widgets/date/date.php:413 widgets/email/email.php:56 1041 1061 #: widgets/multi-select/multi-select.php:97 widgets/radio/radio.php:142 1042 1062 #: widgets/range/range.php:100 widgets/select/select.php:98 1043 1063 #: widgets/switch/switch.php:57 widgets/time/time.php:74 1044 1064 msgid "No" 1045 1065 msgstr "" 1046 1066 1047 1067 #: core/entries/hooks.php:86 1048 1068 msgid "PDF Export" 1049 1069 msgstr "" 1050 1070 1051 1071 #: core/entries/meta-data.php:37 1052 1072 msgid "Info" 1053 1073 msgstr "" 1054 1074 1055 1075 #: core/entries/meta-data.php:60 1056 1076 msgid "Form Name " 1057 1077 msgstr "" 1058 1078 1059 1079 #: core/entries/meta-data.php:66 1060 1080 msgid "Entry ID" 1061 1081 msgstr "" 1062 1082 1063 1083 #: core/entries/meta-data.php:94 1064 1084 msgid "Data" 1065 1085 msgstr "" 1066 1086 1067 1087 #: core/entries/meta-data.php:97 1068 1088 msgid "Quiz Data" 1069 1089 msgstr "" 1070 1090 1071 1091 #: core/entries/meta-data.php:125 1072 1092 msgid "Browser Data" 1073 1093 msgstr "" 1074 1094 1075 1095 #: core/entries/meta-data.php:157 1076 1096 msgid "Browser data not captured." 1077 1097 msgstr "" 1078 1098 1079 1099 #: core/entries/meta-data.php:171 1080 1100 msgid "Files" 1081 1101 msgstr "" 1082 1102 1083 1103 #: core/entries/meta-data.php:240 1084 1104 msgid "View" 1085 1105 msgstr "" 1086 1106 1087 1107 #: core/entries/meta-data.php:242 1088 1108 msgid "This file is not uploaded." 1089 1109 msgstr "" 1090 1110 1091 1111 #: core/entries/meta-data.php:281 1092 1112 msgid "Woocommerce Checkout" 1093 1113 msgstr "" 1094 1114 1095 1115 #: core/entries/meta-data.php:303 1096 1116 msgid "Order ID " 1097 1117 msgstr "" 1098 1118 1099 1119 #: core/entries/meta-data.php:309 1100 1120 msgid "Order Status" 1101 1121 msgstr "" 1102 1122 1103 1123 #: core/entries/meta-data.php:316 1104 1124 msgid "Total" 1105 1125 msgstr "" 1106 1126 1107 1127 #: core/entries/meta-data.php:326 1108 1128 msgid "Order Details" 1109 1129 msgstr "" 1110 1130 1111 1131 #: core/forms/action.php:78 core/forms/action.php:100 1112 1132 msgid "Form settings inserted" 1113 1133 msgstr "" 1114 1134 1115 1135 #: core/forms/action.php:104 1116 1136 msgid "" 1117 1137 "You must active at least one field of these fields \"store entry/ " 1118 1138 "Confirmation/ Notification/ MailChimp/ Zapier\". " 1119 1139 msgstr "" 1120 1140 1121 1141 #: core/forms/action.php:108 core/forms/action.php:140 1122 1142 msgid "You must enable \"store entries\" for integrating payment method." 1123 1143 msgstr "" 1124 1144 1125 1145 #: core/forms/action.php:132 1126 1146 msgid "Form settings updated" 1127 1147 msgstr "" 1128 1148 1129 1149 #: core/forms/action.php:136 1130 1150 msgid "" 1131 1151 "You must active at least one field of these fields \"store entries/ " 1132 1152 "Confirmation/ Notification/ REST API/ MailChimp/ Slack/ Zapier\". " 1133 1153 msgstr "" 1134 1154 1135 1155 #: core/forms/api.php:319 1136 1156 msgid "Not Authorized" 1137 1157 msgstr "" 1138 1158 1139 1159 #: core/forms/cpt.php:474 core/forms/cpt.php:475 widgets/form.php:47 1140 1160 msgid "Form" 1141 1161 msgstr "" 1142 1162 1143 1163 #: core/forms/cpt.php:476 1144 1164 msgid "Form Archives" 1145 1165 msgstr "" 1146 1166 1147 1167 #: core/forms/cpt.php:477 1148 1168 msgid "Form Attributes" 1149 1169 msgstr "" 1150 1170 1151 1171 #: core/forms/cpt.php:479 core/forms/cpt.php:507 1152 1172 msgid "Forms" 1153 1173 msgstr "" 1154 1174 1155 1175 #: core/forms/cpt.php:480 1156 1176 msgid "Add New Form" 1157 1177 msgstr "" 1158 1178 1159 1179 #: core/forms/cpt.php:482 1160 1180 msgid "New Form" 1161 1181 msgstr "" 1162 1182 1163 1183 #: core/forms/cpt.php:483 1164 1184 msgid "Edit Form" 1165 1185 msgstr "" 1166 1186 1167 1187 #: core/forms/cpt.php:484 1168 1188 msgid "Update Form" 1169 1189 msgstr "" 1170 1190 1171 1191 #: core/forms/cpt.php:485 1172 1192 msgid "View Form" 1173 1193 msgstr "" 1174 1194 1175 1195 #: core/forms/cpt.php:486 1176 1196 msgid "View Forms" 1177 1197 msgstr "" 1178 1198 1179 1199 #: core/forms/cpt.php:487 1180 1200 msgid "Search Forms" 1181 1201 msgstr "" 1182 1202 1183 1203 #: core/forms/cpt.php:494 1184 1204 msgid "Insert into form" 1185 1205 msgstr "" 1186 1206 1187 1207 #: core/forms/cpt.php:495 1188 1208 msgid "Uploaded to this form" 1189 1209 msgstr "" 1190 1210 1191 1211 #: core/forms/cpt.php:496 1192 1212 msgid "Forms list" 1193 1213 msgstr "" 1194 1214 1195 1215 #: core/forms/cpt.php:497 1196 1216 msgid "Forms list navigation" 1197 1217 msgstr "" 1198 1218 1199 1219 #: core/forms/cpt.php:498 1200 1220 msgid "Filter froms list" 1201 1221 msgstr "" 1202 1222 1203 1223 #: core/forms/cpt.php:508 1204 1224 msgid "metform form" 1205 1225 msgstr "" 1206 1226 1207 1227 #: core/forms/hooks.php:35 1208 1228 msgid "Shortcode" 1209 1229 msgstr "" 1210 1230 1211 1231 #: core/forms/hooks.php:37 1212 1232 msgid "Views/ Conversion" 1213 1233 msgstr "" 1214 1234 1215 1235 #: core/forms/hooks.php:62 1216 1236 msgid "Export CSV" 1217 1237 msgstr "" 1218 1238 1219 1239 #: core/forms/views/modal-add-new-form.php:8 1220 1240 msgid "Create Form" 1221 1241 msgstr "" 1222 1242 1223 1243 #: core/forms/views/modal-add-new-form.php:34 1224 1244 msgid "Form Type" 1225 1245 msgstr "" 1226 1246 1227 1247 #: core/forms/views/modal-editor.php:11 1228 1248 msgid "Form Settings" 1229 1249 msgstr "" 1230 1250 1231 1251 #: core/forms/views/modal-editor.php:16 1232 1252 msgid "Confirmation" 1233 1253 msgstr "" 1234 1254 1235 1255 #: core/forms/views/modal-editor.php:18 1236 1256 msgid "Notification" 1237 1257 msgstr "" 1238 1258 1239 1259 #: core/forms/views/modal-editor.php:20 1240 1260 msgid "Integration" 1241 1261 msgstr "" 1242 1262 1243 1263 #: core/forms/views/modal-editor.php:25 1244 1264 msgid "CRM" 1245 1265 msgstr "" 1246 1266 1247 1267 #: core/forms/views/modal-editor.php:37 1248 1268 msgid "Title:" 1249 1269 msgstr "" 1250 1270 1251 1271 #: core/forms/views/modal-editor.php:38 1252 1272 msgid "New Form # " 1253 1273 msgstr "" 1254 1274 1255 1275 #: core/forms/views/modal-editor.php:39 1256 1276 msgid "This is the form title" 1257 1277 msgstr "" 1258 1278 1259 1279 #: core/forms/views/modal-editor.php:43 1260 1280 msgid "Success Message:" 1261 1281 msgstr "" 1262 1282 1263 1283 #: core/forms/views/modal-editor.php:44 1264 1284 msgid "Thank you! Form submitted successfully." 1265 1285 msgstr "" 1266 1286 1267 1287 #: core/forms/views/modal-editor.php:45 1268 1288 msgid "This message will be shown after a successful submission." 1269 1289 msgstr "" 1270 1290 1271 1291 #: core/forms/views/modal-editor.php:52 1272 1292 msgid "Show Quiz Summary:" 1273 1293 msgstr "" 1274 1294 1275 1295 #: core/forms/views/modal-editor.php:54 1276 1296 msgid "" 1277 1297 "Quiz summary will be shown to user after form submission with success " 1278 1298 "message." 1279 1299 msgstr "" 1280 1300 1281 1301 #: core/forms/views/modal-editor.php:61 1282 1302 msgid "Required Login:" 1283 1303 msgstr "" 1284 1304 1285 1305 #: core/forms/views/modal-editor.php:63 1286 1306 msgid "Without login, users can't submit the form." 1287 1307 msgstr "" 1288 1308 1289 1309 #: core/forms/views/modal-editor.php:69 1290 1310 msgid "Capture User Browser Data:" 1291 1311 msgstr "" 1292 1312 1293 1313 #: core/forms/views/modal-editor.php:71 1294 1314 msgid "Store user's browser data (ip, browser name, etc)" 1295 1315 msgstr "" 1296 1316 1297 1317 #: core/forms/views/modal-editor.php:77 1298 1318 msgid "Hide Form After Submission:" 1299 1319 msgstr "" 1300 1320 1301 1321 #: core/forms/views/modal-editor.php:79 1302 1322 msgid "After submission, hide the form for preventing multiple submission." 1303 1323 msgstr "" 1304 1324 1305 1325 #: core/forms/views/modal-editor.php:85 1306 1326 msgid "Store Entries:" 1307 1327 msgstr "" 1308 1328 1309 1329 #: core/forms/views/modal-editor.php:87 1310 1330 msgid "Save submitted form data to database." 1311 1331 msgstr "" 1312 1332 1313 1333 #: core/forms/views/modal-editor.php:91 1314 1334 msgid "Entry Title" 1315 1335 msgstr "" 1316 1336 1317 1337 #: core/forms/views/modal-editor.php:93 1318 1338 msgid "Enter here title of this form entries." 1319 1339 msgstr "" 1320 1340 1321 1341 #: core/forms/views/modal-editor.php:100 1322 1342 msgid "Limit Total Entries:" 1323 1343 msgstr "" 1324 1344 1325 1345 #: core/forms/views/modal-editor.php:106 1326 1346 msgid "Limit the total number of submissions for this form." 1327 1347 msgstr "" 1328 1348 1329 1349 #: core/forms/views/modal-editor.php:112 1330 1350 msgid "Count views:" 1331 1351 msgstr "" 1332 1352 1333 1353 #: core/forms/views/modal-editor.php:114 1334 1354 msgid "Track form views." 1335 1355 msgstr "" 1336 1356 1337 1357 #: core/forms/views/modal-editor.php:120 1338 1358 msgid "Stop Vertical Scrolling:" 1339 1359 msgstr "" 1340 1360 1341 1361 #: core/forms/views/modal-editor.php:122 1342 1362 msgid "Stop scrolling effect when submitting the form." 1343 1363 msgstr "" 1344 1364 1345 1365 #: core/forms/views/modal-editor.php:126 1346 1366 msgid "Redirect To:" 1347 1367 msgstr "" 1348 1368 1349 1369 #: core/forms/views/modal-editor.php:127 1350 1370 msgid "Redirection link" 1351 1371 msgstr "" 1352 1372 1353 1373 #: core/forms/views/modal-editor.php:128 1354 1374 msgid "Users will be redirected to the this link after submission." 1355 1375 msgstr "" 1356 1376 1357 1377 #: core/forms/views/modal-editor.php:142 1358 1378 msgid "Confirmation mail to user :" 1359 1379 msgstr "" 1360 1380 1361 1381 #: core/forms/views/modal-editor.php:144 1362 1382 msgid "Want to send a submission copy to user by email? Active this one." 1363 1383 msgstr "" 1364 1384 1365 1385 #: core/forms/views/modal-editor.php:144 core/forms/views/modal-editor.php:564 1366 1386 msgid "The form must have at least one Email widget and it should be required." 1367 1387 msgstr "" 1368 1388 1369 1389 #: core/forms/views/modal-editor.php:148 core/forms/views/modal-editor.php:195 1370 1390 msgid "Email Subject:" 1371 1391 msgstr "" 1372 1392 1373 1393 #: core/forms/views/modal-editor.php:149 core/forms/views/modal-editor.php:196 1374 1394 msgid "Email subject" 1375 1395 msgstr "" 1376 1396 1377 1397 #: core/forms/views/modal-editor.php:150 core/forms/views/modal-editor.php:197 1378 1398 msgid "Enter here email subject." 1379 1399 msgstr "" 1380 1400 1381 1401 #: core/forms/views/modal-editor.php:154 core/forms/views/modal-editor.php:207 1382 1402 msgid "Email From:" 1383 1403 msgstr "" 1384 1404 1385 1405 #: core/forms/views/modal-editor.php:155 1386 1406 msgid "From email" 1387 1407 msgstr "" 1388 1408 1389 1409 #: core/forms/views/modal-editor.php:156 1390 1410 msgid "Enter the email by which you want to send email to user." 1391 1411 msgstr "" 1392 1412 1393 1413 #: core/forms/views/modal-editor.php:160 core/forms/views/modal-editor.php:213 1394 1414 msgid "Email Reply To:" 1395 1415 msgstr "" 1396 1416 1397 1417 #: core/forms/views/modal-editor.php:161 1398 1418 msgid "Reply to email" 1399 1419 msgstr "" 1400 1420 1401 1421 #: core/forms/views/modal-editor.php:162 1402 1422 msgid "Enter email where user can reply/ you want to get reply." 1403 1423 msgstr "" 1404 1424 1405 1425 #: core/forms/views/modal-editor.php:166 1406 1426 msgid "Thank you message :" 1407 1427 msgstr "" 1408 1428 1409 1429 #: core/forms/views/modal-editor.php:167 1410 1430 msgid "Thank you message!" 1411 1431 msgstr "" 1412 1432 1413 1433 #: core/forms/views/modal-editor.php:168 1414 1434 msgid "" 1415 1435 "Enter here your message to include it in email body. Which will be send to " 1416 1436 "user." 1417 1437 msgstr "" 1418 1438 1419 1439 #: core/forms/views/modal-editor.php:174 1420 1440 msgid "Want to send a copy of submitted form to user ?" 1421 1441 msgstr "" 1422 1442 1423 1443 #: core/forms/views/modal-editor.php:189 1424 1444 msgid "Notification mail to admin :" 1425 1445 msgstr "" 1426 1446 1427 1447 #: core/forms/views/modal-editor.php:191 1428 1448 msgid "Want to send a submission copy to admin by email? Active this one." 1429 1449 msgstr "" 1430 1450 1431 1451 #: core/forms/views/modal-editor.php:201 1432 1452 msgid "Email To:" 1433 1453 msgstr "" 1434 1454 1435 1455 #: core/forms/views/modal-editor.php:202 1436 1456 msgid "example@mail.com, example@email.com" 1437 1457 msgstr "" 1438 1458 1439 1459 #: core/forms/views/modal-editor.php:203 1440 1460 msgid "Enter admin email where you want to send mail." 1441 1461 msgstr "" 1442 1462 1443 1463 #: core/forms/views/modal-editor.php:203 1444 1464 msgid " for multiple email addresses please use \",\" separator." 1445 1465 msgstr "" 1446 1466 1447 1467 #: core/forms/views/modal-editor.php:208 1448 1468 msgid "Email from" 1449 1469 msgstr "" 1450 1470 1451 1471 #: core/forms/views/modal-editor.php:209 1452 1472 msgid "Enter the email by which you want to send email to admin." 1453 1473 msgstr "" 1454 1474 1455 1475 #: core/forms/views/modal-editor.php:214 1456 1476 msgid "Email reply to" 1457 1477 msgstr "" 1458 1478 1459 1479 #: core/forms/views/modal-editor.php:215 1460 1480 msgid "Enter email where admin can reply/ you want to get reply." 1461 1481 msgstr "" 1462 1482 1463 1483 #: core/forms/views/modal-editor.php:219 1464 1484 msgid "Admin Note : " 1465 1485 msgstr "" 1466 1486 1467 1487 #: core/forms/views/modal-editor.php:220 1468 1488 msgid "Admin note!" 1469 1489 msgstr "" 1470 1490 1471 1491 #: core/forms/views/modal-editor.php:221 1472 1492 msgid "Enter here your email body. Which will be send to admin." 1473 1493 msgstr "" 1474 1494 1475 1495 #: core/forms/views/modal-editor.php:234 1476 1496 msgid "HubSpot Forms:" 1477 1497 msgstr "" 1478 1498 1479 1499 #: core/forms/views/modal-editor.php:236 1480 1500 msgid "Integrate hubspot with this form. " 1481 1501 msgstr "" 1482 1502 1483 1503 #: core/forms/views/modal-editor.php:236 1484 1504 msgid "Configure HubSpot." 1485 1505 msgstr "" 1486 1506 1487 1507 #: core/forms/views/modal-editor.php:243 1488 1508 msgid "Fetch HubSpot Forms" 1489 1509 msgstr "" 1490 1510 1491 1511 #: core/forms/views/modal-editor.php:263 1492 1512 msgid "HubSpot Contact:" 1493 1513 msgstr "" 1494 1514 1495 1515 #: core/forms/views/modal-editor.php:271 1496 1516 msgid "REST API:" 1497 1517 msgstr "" 1498 1518 1499 1519 #: core/forms/views/modal-editor.php:273 1500 1520 msgid "Send entry data to third party api/webhook" 1501 1521 msgstr "" 1502 1522 1503 1523 #: core/forms/views/modal-editor.php:278 1504 1524 msgid "URL/Webhook:" 1505 1525 msgstr "" 1506 1526 1507 1527 #: core/forms/views/modal-editor.php:279 1508 1528 msgid "Rest api url/webhook" 1509 1529 msgstr "" 1510 1530 1511 1531 #: core/forms/views/modal-editor.php:280 1512 1532 msgid "Enter rest api url/webhook here." 1513 1533 msgstr "" 1514 1534 1515 1535 #: core/forms/views/modal-editor.php:285 1516 1536 msgid "POST" 1517 1537 msgstr "" 1518 1538 1519 1539 #: core/forms/views/modal-editor.php:286 1520 1540 msgid "GET" 1521 1541 msgstr "" 1522 1542 1523 1543 #: core/forms/views/modal-editor.php:299 1524 1544 msgid "Mail Chimp:" 1525 1545 msgstr "" 1526 1546 1527 1547 #: core/forms/views/modal-editor.php:301 1528 1548 msgid "Integrate mailchimp with this form." 1529 1549 msgstr "" 1530 1550 1531 1551 #: core/forms/views/modal-editor.php:301 core/forms/views/modal-editor.php:339 1532 1552 #: core/forms/views/modal-editor.php:368 core/forms/views/modal-editor.php:392 1533 1553 #: core/forms/views/modal-editor.php:422 core/forms/views/modal-editor.php:457 1534 1554 #: core/forms/views/modal-editor.php:524 1535 1555 msgid "The form must have at least one Email widget and it should be required. " 1536 1556 msgstr "" 1537 1557 1538 1558 #: core/forms/views/modal-editor.php:301 1539 1559 msgid "Configure Mail Chimp." 1540 1560 msgstr "" 1541 1561 1542 1562 #: core/forms/views/modal-editor.php:305 1543 1563 msgid "MailChimp List ID:" 1544 1564 msgstr "" 1545 1565 1546 1566 #: core/forms/views/modal-editor.php:312 1547 1567 msgid "Mailchimp contact list id" 1548 1568 msgstr "" 1549 1569 1550 1570 #: core/forms/views/modal-editor.php:322 1551 1571 msgid "Google Sheet:" 1552 1572 msgstr "" 1553 1573 1554 1574 #: core/forms/views/modal-editor.php:324 1555 1575 msgid "Integrate google sheet with this form." 1556 1576 msgstr "" 1557 1577 1558 1578 #: core/forms/views/modal-editor.php:324 1559 1579 msgid "Configure Google Sheet." 1560 1580 msgstr "" 1561 1581 1562 1582 #: core/forms/views/modal-editor.php:335 1563 1583 msgid "MailPoet:" 1564 1584 msgstr "" 1565 1585 1566 1586 #: core/forms/views/modal-editor.php:338 1567 1587 msgid "Integrate MailPoet with this form." 1568 1588 msgstr "" 1569 1589 1570 1590 #: core/forms/views/modal-editor.php:341 1571 1591 msgid "Configure MailPoet." 1572 1592 msgstr "" 1573 1593 1574 1594 #: core/forms/views/modal-editor.php:348 1575 1595 msgid "MailPoet List ID:" 1576 1596 msgstr "" 1577 1597 1578 1598 #: core/forms/views/modal-editor.php:354 1579 1599 msgid "Enter here MailPoet list id. " 1580 1600 msgstr "" 1581 1601 1582 1602 #: core/forms/views/modal-editor.php:355 core/forms/views/modal-editor.php:379 1583 1603 #: core/forms/views/modal-editor.php:404 core/forms/views/modal-editor.php:479 1584 1604 #: core/forms/views/modal-editor.php:503 1585 1605 msgid "Refresh List" 1586 1606 msgstr "" 1587 1607 1588 1608 #: core/forms/views/modal-editor.php:366 1589 1609 msgid "Aweber:" 1590 1610 msgstr "" 1591 1611 1592 1612 #: core/forms/views/modal-editor.php:368 1593 1613 msgid "Integrate aweber with this form." 1594 1614 msgstr "" 1595 1615 1596 1616 #: core/forms/views/modal-editor.php:368 1597 1617 msgid "Configure aweber." 1598 1618 msgstr "" 1599 1619 1600 1620 #: core/forms/views/modal-editor.php:372 1601 1621 msgid "Aweber List ID:" 1602 1622 msgstr "" 1603 1623 1604 1624 #: core/forms/views/modal-editor.php:378 1605 1625 msgid "Enter here aweber list id. " 1606 1626 msgstr "" 1607 1627 1608 1628 #: core/forms/views/modal-editor.php:390 1609 1629 msgid "ConvertKit:" 1610 1630 msgstr "" 1611 1631 1612 1632 #: core/forms/views/modal-editor.php:392 1613 1633 msgid "Integrate convertKit with this form." 1614 1634 msgstr "" 1615 1635 1616 1636 #: core/forms/views/modal-editor.php:392 1617 1637 msgid "Configure ConvertKit." 1618 1638 msgstr "" 1619 1639 1620 1640 #: core/forms/views/modal-editor.php:396 1621 1641 msgid "ConvertKit Forms ID:" 1622 1642 msgstr "" 1623 1643 1624 1644 #: core/forms/views/modal-editor.php:402 1625 1645 msgid "Enter here ConvertKit form id. " 1626 1646 msgstr "" 1627 1647 1628 1648 #: core/forms/views/modal-editor.php:419 1629 1649 msgid "GetResponse:" 1630 1650 msgstr "" 1631 1651 1632 1652 #: core/forms/views/modal-editor.php:422 1633 1653 msgid "Integrate GetResponse with this form." 1634 1654 msgstr "" 1635 1655 1636 1656 #: core/forms/views/modal-editor.php:422 1637 1657 msgid "Configure GetResponse." 1638 1658 msgstr "" 1639 1659 1640 1660 #: core/forms/views/modal-editor.php:428 1641 1661 msgid "GetResponse List ID:" 1642 1662 msgstr "" 1643 1663 1644 1664 #: core/forms/views/modal-editor.php:436 1645 1665 msgid "GetResponse contact list id" 1646 1666 msgstr "" 1647 1667 1648 1668 #: core/forms/views/modal-editor.php:437 1649 1669 msgid "Enter here GetResponse list id. " 1650 1670 msgstr "" 1651 1671 1652 1672 #: core/forms/views/modal-editor.php:454 1653 1673 msgid "ActiveCampaign:" 1654 1674 msgstr "" 1655 1675 1656 1676 #: core/forms/views/modal-editor.php:457 1657 1677 msgid "Integrate ActiveCampaign with this form." 1658 1678 msgstr "" 1659 1679 1660 1680 #: core/forms/views/modal-editor.php:457 1661 1681 msgid "Configure ActiveCampaign." 1662 1682 msgstr "" 1663 1683 1664 1684 #: core/forms/views/modal-editor.php:462 1665 1685 msgid "Active campaign List ID:" 1666 1686 msgstr "" 1667 1687 1668 1688 #: core/forms/views/modal-editor.php:478 1669 1689 msgid "Enter here list id. " 1670 1690 msgstr "" 1671 1691 1672 1692 #: core/forms/views/modal-editor.php:486 1673 1693 msgid "Active campaign Tag ID:" 1674 1694 msgstr "" 1675 1695 1676 1696 #: core/forms/views/modal-editor.php:502 1677 1697 msgid "Enter here tag id. " 1678 1698 msgstr "" 1679 1699 1680 1700 #: core/forms/views/modal-editor.php:521 1681 1701 msgid "Mailster:" 1682 1702 msgstr "" 1683 1703 1684 1704 #: core/forms/views/modal-editor.php:524 1685 1705 msgid "Integrate Mailster with this form." 1686 1706 msgstr "" 1687 1707 1688 1708 #: core/forms/views/modal-editor.php:530 1689 1709 msgid "Mailster Forms" 1690 1710 msgstr "" 1691 1711 1692 1712 #: core/forms/views/modal-editor.php:562 1693 1713 msgid "Zapier:" 1694 1714 msgstr "" 1695 1715 1696 1716 #: core/forms/views/modal-editor.php:564 1697 1717 msgid "Integrate zapier with this form." 1698 1718 msgstr "" 1699 1719 1700 1720 #: core/forms/views/modal-editor.php:568 1701 1721 msgid "Zapier webhook:" 1702 1722 msgstr "" 1703 1723 1704 1724 #: core/forms/views/modal-editor.php:569 1705 1725 msgid "Zapier webhook" 1706 1726 msgstr "" 1707 1727 1708 1728 #: core/forms/views/modal-editor.php:570 1709 1729 msgid "Enter here zapier web hook." 1710 1730 msgstr "" 1711 1731 1712 1732 #: core/forms/views/modal-editor.php:579 1713 1733 msgid "Slack:" 1714 1734 msgstr "" 1715 1735 1716 1736 #: core/forms/views/modal-editor.php:581 1717 1737 msgid "Integrate slack with this form." 1718 1738 msgstr "" 1719 1739 1720 1740 #: core/forms/views/modal-editor.php:581 1721 1741 msgid "slack info." 1722 1742 msgstr "" 1723 1743 1724 1744 #: core/forms/views/modal-editor.php:585 1725 1745 msgid "Slack webhook:" 1726 1746 msgstr "" 1727 1747 1728 1748 #: core/forms/views/modal-editor.php:586 1729 1749 msgid "Slack webhook" 1730 1750 msgstr "" 1731 1751 1732 1752 #: core/forms/views/modal-editor.php:587 1733 1753 msgid "Enter here slack web hook." 1734 1754 msgstr "" 1735 1755 1736 1756 #: core/forms/views/modal-editor.php:587 1737 1757 msgid "create from here" 1738 1758 msgstr "" 1739 1759 1740 1760 #: core/forms/views/modal-editor.php:647 1741 1761 msgid "Paypal:" 1742 1762 msgstr "" 1743 1763 1744 1764 #: core/forms/views/modal-editor.php:649 1745 1765 msgid "Integrate paypal payment with this form." 1746 1766 msgstr "" 1747 1767 1748 1768 #: core/forms/views/modal-editor.php:649 1749 1769 msgid "Configure paypal payment." 1750 1770 msgstr "" 1751 1771 1752 1772 #: core/forms/views/modal-editor.php:658 1753 1773 msgid "Stripe:" 1754 1774 msgstr "" 1755 1775 1756 1776 #: core/forms/views/modal-editor.php:660 1757 1777 msgid "Integrate stripe payment with this form. " 1758 1778 msgstr "" 1759 1779 1760 1780 #: core/forms/views/modal-editor.php:660 1761 1781 msgid "Configure stripe payment." 1762 1782 msgstr "" 1763 1783 1764 1784 #: core/forms/views/modal-editor.php:680 1765 1785 msgid "Zoho Contact:" 1766 1786 msgstr "" 1767 1787 1768 1788 #: core/forms/views/modal-editor.php:682 1769 1789 msgid "Integrate Zoho contacts with this form. " 1770 1790 msgstr "" 1771 1791 1772 1792 #: core/forms/views/modal-editor.php:682 1773 1793 msgid "Configure Zoho." 1774 1794 msgstr "" 1775 1795 1776 1796 #: core/forms/views/modal-editor.php:693 1777 1797 msgid "Helpscout" 1778 1798 msgstr "" 1779 1799 1780 1800 #: core/forms/views/modal-editor.php:695 1781 1801 msgid "Integrate Helpscout with this form. " 1782 1802 msgstr "" 1783 1803 1784 1804 #: core/forms/views/modal-editor.php:695 1785 1805 msgid "Configure Helpscout." 1786 1806 msgstr "" 1787 1807 1788 1808 #: core/forms/views/modal-editor.php:700 1789 1809 msgid "Available Mailboxes" 1790 1810 msgstr "" 1791 1811 1792 1812 #: core/forms/views/modal-editor.php:738 1793 1813 msgid "Edit content" 1794 1814 msgstr "" 1795 1815 1796 1816 #: core/forms/views/modal-editor.php:740 1797 1817 msgid "Save changes" 1798 1818 msgstr "" 1799 1819 1800 1820 #: core/forms/views/modal-form-template-item.php:22 1801 1821 msgid "Buy Pro" 1802 1822 msgstr "" 1803 1823 1804 1824 #: core/forms/views/modal-form-template-item.php:26 1805 1825 msgid "Demo" 1806 1826 msgstr "" 1807 1827 1808 1828 #: core/integrations/crm/hubspot/loader.php:43 1809 1829 msgid "CRM & Marketing Integrations" 1810 1830 msgstr "" 1811 1831 1812 1832 #: core/integrations/crm/hubspot/loader.php:44 1813 1833 msgid "All CRM and Marketing integrations info here" 1814 1834 msgstr "" 1815 1835 1816 1836 #: core/integrations/crm/hubspot/loader.php:46 1817 1837 msgid "HubSpot" 1818 1838 msgstr "" 1819 1839 1820 1840 #: core/integrations/crm/hubspot/loader.php:77 1821 1841 #: core/integrations/crm/hubspot/loader.php:125 1822 1842 #: core/integrations/onboard/views/settings-sections/usersettings.php:33 1823 1843 msgid "Token" 1824 1844 msgstr "" 1825 1845 1826 1846 #: core/integrations/crm/hubspot/loader.php:80 1827 1847 msgid "Enter HubSpot token here" 1828 1848 msgstr "" 1829 1849 1830 1850 #: core/integrations/crm/hubspot/loader.php:128 1831 1851 msgid "Enter Hubsopt token here" 1832 1852 msgstr "" 1833 1853 1834 1854 #: core/integrations/crm/hubspot/loader.php:133 1835 1855 msgid "Refresh Token" 1836 1856 msgstr "" 1837 1857 1838 1858 #: core/integrations/crm/hubspot/loader.php:136 1839 1859 msgid "Enter Hubsopt refresh token here" 1840 1860 msgstr "" 1841 1861 1842 1862 #: core/integrations/crm/hubspot/loader.php:141 1843 1863 msgid "Token Tyoe" 1844 1864 msgstr "" 1845 1865 1846 1866 #: core/integrations/crm/hubspot/loader.php:144 1847 1867 msgid "Enter Hubsopt token type here" 1848 1868 msgstr "" 1849 1869 1850 1870 #: core/integrations/crm/hubspot/loader.php:149 1851 1871 msgid "Token Expires In" 1852 1872 msgstr "" 1853 1873 1854 1874 #: core/integrations/crm/hubspot/loader.php:152 1855 1875 msgid "Enter Hubsopt token expires in here" 1856 1876 msgstr "" 1857 1877 1858 1878 #: core/integrations/crm/hubspot/loader.php:158 1859 1879 msgid "" 1860 1880 "Your HubSpot account is now connected with Metform! You can remove the " 1861 1881 "access anytime using the below button." 1862 1882 msgstr "" 1863 1883 1864 1884 #: core/integrations/crm/hubspot/loader.php:159 1865 1885 msgid "Disconnect HubSpot Account" 1866 1886 msgstr "" 1867 1887 1868 1888 #: core/integrations/crm/hubspot/loader.php:165 1869 1889 msgid "" 1870 1890 "HubSpot is an all-in-one CRM and marketing platform that helps turn your " 1871 1891 "website visitors into leads, leads into customers, and customers into " 1872 1892 "raving fans." 1873 1893 msgstr "" 1874 1894 1875 1895 #: core/integrations/crm/hubspot/loader.php:166 1876 1896 msgid "" 1877 1897 "With MetForm, you can sync your form submissions seamlessly to HubSpot to " 1878 1898 "build lists, email marketing campaigns and so much more." 1879 1899 msgstr "" 1880 1900 1881 1901 #: core/integrations/crm/hubspot/loader.php:167 1882 1902 msgid "If you don't already have a HubSpot account, you can" 1883 1903 msgstr "" 1884 1904 1885 1905 #: core/integrations/crm/hubspot/loader.php:167 1886 1906 msgid "sign up for a free HubSpot account here." 1887 1907 msgstr "" 1888 1908 1889 1909 #: core/integrations/crm/hubspot/loader.php:168 1890 1910 msgid "Click Here To Connect Your HubSpot Account" 1891 1911 msgstr "" 1892 1912 1893 1913 #: core/integrations/google-recaptcha.php:38 1894 1914 #: core/integrations/google-recaptcha.php:71 1895 1915 msgid "Captcha is not verified." 1896 1916 msgstr "" 1897 1917 1898 1918 #: core/integrations/mail-chimp.php:53 1899 1919 msgid "Your data inserted on ActiveCampaign." 1900 1920 msgstr "" 1901 1921 1902 1922 #: core/integrations/onboard/classes/plugin-status.php:57 1903 1923 msgid "Activated" 1904 1924 msgstr "" 1905 1925 1906 1926 #: core/integrations/onboard/classes/plugin-status.php:60 1907 1927 msgid "Activate Now" 1908 1928 msgstr "" 1909 1929 1910 1930 #: core/integrations/onboard/classes/plugin-status.php:65 1911 1931 msgid "Install Now" 1912 1932 msgstr "" 1913 1933 1914 1934 #: core/integrations/onboard/controls/settings/switch.php:50 1915 1935 msgid "View Demo" 1916 1936 msgstr "" 1917 1937 1918 1938 #: core/integrations/onboard/views/layout-onboard.php:6 1919 1939 msgid "Tutorial" 1920 1940 msgstr "" 1921 1941 1922 1942 #: core/integrations/onboard/views/layout-onboard.php:7 1923 1943 msgid "Tutorial info" 1924 1944 msgstr "" 1925 1945 1926 1946 #: core/integrations/onboard/views/layout-onboard.php:12 1927 1947 msgid "Sign Up" 1928 1948 msgstr "" 1929 1949 1930 1950 #: core/integrations/onboard/views/layout-onboard.php:13 1931 1951 msgid "Sign Up info" 1932 1952 msgstr "" 1933 1953 1934 1954 #: core/integrations/onboard/views/layout-onboard.php:17 1935 1955 msgid "Website Powerup" 1936 1956 msgstr "" 1937 1957 1938 1958 #: core/integrations/onboard/views/layout-onboard.php:18 1939 1959 msgid "Website Powerup info" 1940 1960 msgstr "" 1941 1961 1942 1962 #: core/integrations/onboard/views/layout-onboard.php:22 1943 1963 msgid "Surprise" 1944 1964 msgstr "" 1945 1965 1946 1966 #: core/integrations/onboard/views/layout-onboard.php:23 1947 1967 msgid "Surprise info" 1948 1968 msgstr "" 1949 1969 1950 1970 #: core/integrations/onboard/views/layout-onboard.php:27 1951 1971 msgid "Finalizing" 1952 1972 msgstr "" 1953 1973 1954 1974 #: core/integrations/onboard/views/layout-onboard.php:28 1955 1975 msgid "Finalizing info" 1956 1976 msgstr "" 1957 1977 1958 1978 #: core/integrations/onboard/views/onboard-steps/step-01.php:4 1959 1979 #: core/integrations/onboard/views/onboard-steps/step-04.php:4 1960 1980 msgid "" 1961 1981 "Check Out the Easy to Understand Video Tutorials to learn the detailed use " 1962 1982 "of MetForm." 1963 1983 msgstr "" 1964 1984 1965 1985 #: core/integrations/onboard/views/onboard-steps/step-01.php:22 1966 1986 #: core/integrations/onboard/views/onboard-steps/step-04.php:22 1967 1987 msgid "Share non-sensitive diagnostic data and details about plugin usage." 1968 1988 msgstr "" 1969 1989 1970 1990 #: core/integrations/onboard/views/onboard-steps/step-01.php:25 1971 1991 #: core/integrations/onboard/views/onboard-steps/step-04.php:25 1972 1992 msgid "" 1973 1993 "We gather non-sensitive diagnostic data as well as information about plugin " 1974 1994 "use. Your site's URL, WordPress and PHP versions, plugins and themes, as " 1975 1995 "well as your email address, will be used to give you a discount coupon. " 1976 1996 "This information enables us to ensure that this plugin remains consistent " 1977 1997 "with the most common plugins and themes at all times. We pledge not to give " 1978 1998 "you any spam, for sure." 1979 1999 msgstr "" 1980 2000 1981 2001 #: core/integrations/onboard/views/onboard-steps/step-01.php:26 1982 2002 #: core/integrations/onboard/views/onboard-steps/step-04.php:26 1983 2003 msgid "What types of information do we gather?" 1984 2004 msgstr "" 1985 2005 1986 2006 #: core/integrations/onboard/views/onboard-steps/step-01.php:29 1987 2007 #: core/integrations/onboard/views/onboard-steps/step-02.php:16 1988 2008 #: core/integrations/onboard/views/onboard-steps/step-03.php:69 1989 2009 #: core/integrations/onboard/views/onboard-steps/step-04.php:29 1990 2010 #: core/integrations/onboard/views/onboard-steps/step-05.php:32 1991 2011 msgid "Back" 1992 2012 msgstr "" 1993 2013 1994 2014 #: core/integrations/onboard/views/onboard-steps/step-01.php:30 1995 2015 #: core/integrations/onboard/views/onboard-steps/step-02.php:17 1996 2016 #: core/integrations/onboard/views/onboard-steps/step-03.php:70 1997 2017 #: core/integrations/onboard/views/onboard-steps/step-04.php:30 1998 2018 #: core/integrations/onboard/views/onboard-steps/step-05.php:33 1999 2019 msgid "Next Step" 2000 2020 msgstr "" 2001 2021 2002 2022 #: core/integrations/onboard/views/onboard-steps/step-02.php:4 2003 2023 msgid "The Best Form Builder Plugin for Elementor." 2004 2024 msgstr "" 2005 2025 2006 2026 #: core/integrations/onboard/views/onboard-steps/step-02.php:5 2007 2027 msgid "Sign Up to Join a Big Community of Marketers, Developers, and Think Tankers" 2008 2028 msgstr "" 2009 2029 2010 2030 #: core/integrations/onboard/views/onboard-steps/step-02.php:11 2011 2031 msgid "Submit Your Best Email." 2012 2032 msgstr "" 2013 2033 2014 2034 #: core/integrations/onboard/views/onboard-steps/step-03.php:4 2015 2035 #: utils/pro-awareness/pro-awareness.php:243 2016 2036 msgid "Take your website to the next level" 2017 2037 msgstr "" 2018 2038 2019 2039 #: core/integrations/onboard/views/onboard-steps/step-03.php:5 2020 2040 #: utils/pro-awareness/pro-awareness.php:244 2021 2041 msgid "We have some plugins you can install to get most from Wordpress." 2022 2042 msgstr "" 2023 2043 2024 2044 #: core/integrations/onboard/views/onboard-steps/step-03.php:6 2025 2045 msgid "These are absolute FREE to use." 2026 2046 msgstr "" 2027 2047 2028 2048 #: core/integrations/onboard/views/onboard-steps/step-03.php:19 2029 2049 msgid "Fundraising" 2030 2050 msgstr "" 2031 2051 2032 2052 #: core/integrations/onboard/views/onboard-steps/step-03.php:20 2033 2053 msgid "Get FREE 1500 AI words, SEO Keyword, and Competitor Analysis credits" 2034 2054 msgstr "" 2035 2055 2036 2056 #: core/integrations/onboard/views/onboard-steps/step-03.php:20 2037 2057 msgid "on your personal AI assistant for Content & SEO right inside WordPress!" 2038 2058 msgstr "" 2039 2059 2040 2060 #: core/integrations/onboard/views/onboard-steps/step-03.php:30 2041 2061 msgid "Completely customize your WooCommerce WordPress" 2042 2062 msgstr "" 2043 2063 2044 2064 #: core/integrations/onboard/views/onboard-steps/step-03.php:40 2045 2065 msgid "All-in-One Addons for Elementor" 2046 2066 msgstr "" 2047 2067 2048 2068 #: core/integrations/onboard/views/onboard-steps/step-03.php:50 2049 2069 msgid "Integrate all your social media to your website" 2050 2070 msgstr "" 2051 2071 2052 2072 #: core/integrations/onboard/views/onboard-steps/step-03.php:60 2053 2073 msgid "Integrate various styled review system in your website" 2054 2074 msgstr "" 2055 2075 2056 2076 #: core/integrations/onboard/views/onboard-steps/step-05.php:4 2057 2077 msgid "Upgrade within the next" 2058 2078 msgstr "" 2059 2079 2060 2080 #: core/integrations/onboard/views/onboard-steps/step-05.php:5 2061 2081 msgid "2 hours" 2062 2082 msgstr "" 2063 2083 2064 2084 #: core/integrations/onboard/views/onboard-steps/step-05.php:6 2065 2085 msgid " and get a " 2066 2086 msgstr "" 2067 2087 2068 2088 #: core/integrations/onboard/views/onboard-steps/step-05.php:7 2069 2089 msgid "40% Discount" 2070 2090 msgstr "" 2071 2091 2072 2092 #: core/integrations/onboard/views/onboard-steps/step-05.php:13 2073 2093 #: widgets/manifest.php:114 2074 2094 msgid "Metform" 2075 2095 msgstr "" 2076 2096 2077 2097 #: core/integrations/onboard/views/onboard-steps/step-05.php:16 2078 2098 msgid "Free Premium’ Features" 2079 2099 msgstr "" 2080 2100 2081 2101 #: core/integrations/onboard/views/onboard-steps/step-05.php:17 2082 2102 msgid "Smart Conditional Logic" 2083 2103 msgstr "" 2084 2104 2085 2105 #: core/integrations/onboard/views/onboard-steps/step-05.php:18 2086 2106 msgid "Required Fields Validation" 2087 2107 msgstr "" 2088 2108 2089 2109 #: core/integrations/onboard/views/onboard-steps/step-05.php:19 2090 2110 msgid "Popular CRM Integrations" 2091 2111 msgstr "" 2092 2112 2093 2113 #: core/integrations/onboard/views/onboard-steps/step-05.php:20 2094 2114 msgid "Data Within Dashboard" 2095 2115 msgstr "" 2096 2116 2097 2117 #: core/integrations/onboard/views/onboard-steps/step-05.php:23 2098 2118 msgid "15+ Third-Party API Integrations" 2099 2119 msgstr "" 2100 2120 2101 2121 #: core/integrations/onboard/views/onboard-steps/step-05.php:24 2102 2122 msgid "35+ Form Input Widgets" 2103 2123 msgstr "" 2104 2124 2105 2125 #: core/integrations/onboard/views/onboard-steps/step-05.php:25 2106 2126 msgid "10+ Advanced Features for Customizations" 2107 2127 msgstr "" 2108 2128 2109 2129 #: core/integrations/onboard/views/onboard-steps/step-05.php:28 2110 2130 msgid "Explore PRO" 2111 2131 msgstr "" 2112 2132 2113 2133 #: core/integrations/onboard/views/onboard-steps/step-06.php:3 2114 2134 msgid "Congratulations!" 2115 2135 msgstr "" 2116 2136 2117 2137 #: core/integrations/onboard/views/onboard-steps/step-06.php:4 2118 2138 msgid "" 2119 2139 "Let’s dive into developing your website with the world’s best addons for " 2120 2140 "Elementor." 2121 2141 msgstr "" 2122 2142 2123 2143 #: core/integrations/onboard/views/settings-sections/dashboard.php:8 2124 2144 #: core/integrations/onboard/views/settings-sections/dashboard.php:128 2125 2145 msgid "Documentation Thumb" 2126 2146 msgstr "" 2127 2147 2128 2148 #: core/integrations/onboard/views/settings-sections/dashboard.php:12 2129 2149 msgid "Easy Documentation" 2130 2150 msgstr "" 2131 2151 2132 2152 #: core/integrations/onboard/views/settings-sections/dashboard.php:13 2133 2153 msgid "Docs" 2134 2154 msgstr "" 2135 2155 2136 2156 #: core/integrations/onboard/views/settings-sections/dashboard.php:15 2137 2157 #: core/integrations/onboard/views/settings-sections/dashboard.php:121 2138 2158 msgid "" 2139 2159 "Get started by spending some time with the documentation to get familiar " 2140 2160 "with ElementsKit Lite. Build awesome websites for you or your clients with " 2141 2161 "ease." 2142 2162 msgstr "" 2143 2163 2144 2164 #: core/integrations/onboard/views/settings-sections/dashboard.php:17 2145 2165 msgid "Get started" 2146 2166 msgstr "" 2147 2167 2148 2168 #: core/integrations/onboard/views/settings-sections/dashboard.php:26 2149 2169 msgid "Video Tutorials" 2150 2170 msgstr "" 2151 2171 2152 2172 #: core/integrations/onboard/views/settings-sections/dashboard.php:27 2153 2173 msgid "Tutorials" 2154 2174 msgstr "" 2155 2175 2156 2176 #: core/integrations/onboard/views/settings-sections/dashboard.php:29 2157 2177 #: core/integrations/onboard/views/settings-sections/dashboard.php:78 2158 2178 msgid "" 2159 2179 "Get started by spending some time with the documentation to get familiar " 2160 2180 "with ElementsKit Lite." 2161 2181 msgstr "" 2162 2182 2163 2183 #: core/integrations/onboard/views/settings-sections/dashboard.php:36 2164 2184 #: core/integrations/onboard/views/settings-sections/dashboard.php:44 2165 2185 #: core/integrations/onboard/views/settings-sections/dashboard.php:52 2166 2186 msgid "Totorial Thumb" 2167 2187 msgstr "" 2168 2188 2169 2189 #: core/integrations/onboard/views/settings-sections/dashboard.php:38 2170 2190 msgid "Parallax Effects" 2171 2191 msgstr "" 2172 2192 2173 2193 #: core/integrations/onboard/views/settings-sections/dashboard.php:46 2174 2194 msgid "Advanced Accordions" 2175 2195 msgstr "" 2176 2196 2177 2197 #: core/integrations/onboard/views/settings-sections/dashboard.php:54 2178 2198 msgid "Mega Menu Builder" 2179 2199 msgstr "" 2180 2200 2181 2201 #: core/integrations/onboard/views/settings-sections/dashboard.php:67 2182 2202 msgid "watch more videos" 2183 2203 msgstr "" 2184 2204 2185 2205 #: core/integrations/onboard/views/settings-sections/dashboard.php:83 2186 2206 msgid "1. How to create a shop page in ElementsKit Lite?" 2187 2207 msgstr "" 2188 2208 2189 2209 #: core/integrations/onboard/views/settings-sections/dashboard.php:91 2190 2210 msgid "2. How to translate theme with WPML?" 2191 2211 msgstr "" 2192 2212 2193 2213 #: core/integrations/onboard/views/settings-sections/dashboard.php:118 2194 2214 msgid "Top-notch Friendly Support" 2195 2215 msgstr "" 2196 2216 2197 2217 #: core/integrations/onboard/views/settings-sections/dashboard.php:119 2198 2218 msgid "Support" 2199 2219 msgstr "" 2200 2220 2201 2221 #: core/integrations/onboard/views/settings-sections/dashboard.php:123 2202 2222 msgid "Join support forum" 2203 2223 msgstr "" 2204 2224 2205 2225 #: core/integrations/onboard/views/settings-sections/dashboard.php:136 2206 2226 msgid "Feature a Request Thumb" 2207 2227 msgstr "" 2208 2228 2209 2229 #: core/integrations/onboard/views/settings-sections/dashboard.php:140 2210 2230 msgid "Maybe we’re missing something you can’t live without." 2211 2231 msgstr "" 2212 2232 2213 2233 #: core/integrations/onboard/views/settings-sections/dashboard.php:142 2214 2234 msgid "Feature a request" 2215 2235 msgstr "" 2216 2236 2217 2237 #: core/integrations/onboard/views/settings-sections/dashboard.php:152 2218 2238 msgid "Satisfied?" 2219 2239 msgstr "" 2220 2240 2221 2241 #: core/integrations/onboard/views/settings-sections/modules.php:16 2222 2242 msgid "" 2223 2243 "You can disable the modules you are not using on your site. That will " 2224 2244 "disable all associated assets of those modules to improve your site loading " 2225 2245 "speed." 2226 2246 msgstr "" 2227 2247 2228 2248 #: core/integrations/onboard/views/settings-sections/modules.php:20 2229 2249 msgid "Header Footer" 2230 2250 msgstr "" 2231 2251 2232 2252 #: core/integrations/onboard/views/settings-sections/modules.php:23 2233 2253 msgid "Widget Builder" 2234 2254 msgstr "" 2235 2255 2236 2256 #: core/integrations/onboard/views/settings-sections/usersettings.php:20 2237 2257 msgid "MailChimp Data" 2238 2258 msgstr "" 2239 2259 2240 2260 #: core/integrations/onboard/views/settings-sections/usersettings.php:60 2241 2261 msgid "Facebook Page Feed" 2242 2262 msgstr "" 2243 2263 2244 2264 #: core/integrations/onboard/views/settings-sections/usersettings.php:74 2245 2265 msgid "Facebook Page ID" 2246 2266 msgstr "" 2247 2267 2248 2268 #: core/integrations/onboard/views/settings-sections/usersettings.php:75 2249 2269 msgid "Facebook app id" 2250 2270 msgstr "" 2251 2271 2252 2272 #: core/integrations/onboard/views/settings-sections/usersettings.php:88 2253 2273 msgid "Page Access Token" 2254 2274 msgstr "" 2255 2275 2256 2276 #: core/integrations/onboard/views/settings-sections/usersettings.php:102 2257 2277 #: core/integrations/onboard/views/settings-sections/usersettings.php:179 2258 2278 #: core/integrations/onboard/views/settings-sections/usersettings.php:400 2259 2279 #: core/integrations/onboard/views/settings-sections/usersettings.php:540 2260 2280 msgid "Clear Cache" 2261 2281 msgstr "" 2262 2282 2263 2283 #: core/integrations/onboard/views/settings-sections/usersettings.php:108 2264 2284 #: core/integrations/onboard/views/settings-sections/usersettings.php:152 2265 2285 #: core/integrations/onboard/views/settings-sections/usersettings.php:393 2266 2286 #: core/integrations/onboard/views/settings-sections/usersettings.php:546 2267 2287 msgid "Get access token" 2268 2288 msgstr "" 2269 2289 2270 2290 #: core/integrations/onboard/views/settings-sections/usersettings.php:130 2271 2291 msgid "Facebook page review" 2272 2292 msgstr "" 2273 2293 2274 2294 #: core/integrations/onboard/views/settings-sections/usersettings.php:144 2275 2295 #: core/integrations/onboard/views/settings-sections/usersettings.php:294 2276 2296 msgid "Page ID" 2277 2297 msgstr "" 2278 2298 2279 2299 #: core/integrations/onboard/views/settings-sections/usersettings.php:152 2280 2300 msgid "Refresh access token" 2281 2301 msgstr "" 2282 2302 2283 2303 #: core/integrations/onboard/views/settings-sections/usersettings.php:158 2284 2304 msgid "Page Token" 2285 2305 msgstr "" 2286 2306 2287 2307 #: core/integrations/onboard/views/settings-sections/usersettings.php:246 2288 2308 msgid "Yelp Settings" 2289 2309 msgstr "" 2290 2310 2291 2311 #: core/integrations/onboard/views/settings-sections/usersettings.php:260 2292 2312 msgid "Yelp Page" 2293 2313 msgstr "" 2294 2314 2295 2315 #: core/integrations/onboard/views/settings-sections/usersettings.php:282 2296 2316 msgid "Facebook Messenger" 2297 2317 msgstr "" 2298 2318 2299 2319 #: core/integrations/onboard/views/settings-sections/usersettings.php:304 2300 2320 #: traits/common-controls.php:313 traits/common-controls.php:764 2301 2321 #: traits/common-controls.php:804 widgets/email/email.php:150 2302 2322 #: widgets/file-upload/file-upload.php:313 2303 2323 #: widgets/file-upload/file-upload.php:344 2304 2324 #: widgets/gdpr-consent/gdpr-consent.php:177 widgets/select/select.php:410 2305 2325 #: widgets/select/select.php:445 widgets/select/select.php:480 2306 2326 #: widgets/simple-captcha/simple-captcha.php:159 2307 2327 #: widgets/simple-captcha/simple-captcha.php:295 2308 2328 msgid "Color" 2309 2329 msgstr "" 2310 2330 2311 2331 #: core/integrations/onboard/views/settings-sections/usersettings.php:314 2312 2332 msgid "Logged-in user greeting" 2313 2333 msgstr "" 2314 2334 2315 2335 #: core/integrations/onboard/views/settings-sections/usersettings.php:324 2316 2336 msgid "Logged out user greeting" 2317 2337 msgstr "" 2318 2338 2319 2339 #: core/integrations/onboard/views/settings-sections/usersettings.php:334 2320 2340 msgid "Show Dialog Box" 2321 2341 msgstr "" 2322 2342 2323 2343 #: core/integrations/onboard/views/settings-sections/usersettings.php:363 2324 2344 msgid "Dribbble User Data" 2325 2345 msgstr "" 2326 2346 2327 2347 #: core/integrations/onboard/views/settings-sections/usersettings.php:380 2328 2348 msgid "Access token" 2329 2349 msgstr "" 2330 2350 2331 2351 #: core/integrations/onboard/views/settings-sections/usersettings.php:422 2332 2352 msgid "Twitter User Data" 2333 2353 msgstr "" 2334 2354 2335 2355 #: core/integrations/onboard/views/settings-sections/usersettings.php:434 2336 2356 msgid "Twitter Username" 2337 2357 msgstr "" 2338 2358 2339 2359 #: core/integrations/onboard/views/settings-sections/usersettings.php:444 2340 2360 #: core/integrations/onboard/views/settings-sections/usersettings.php:505 2341 2361 msgid "Access Token" 2342 2362 msgstr "" 2343 2363 2344 2364 #: core/integrations/onboard/views/settings-sections/usersettings.php:454 2345 2365 msgid "Get Access Token" 2346 2366 msgstr "" 2347 2367 2348 2368 #: core/integrations/onboard/views/settings-sections/usersettings.php:474 2349 2369 msgid "Instragram User Data" 2350 2370 msgstr "" 2351 2371 2352 2372 #: core/integrations/onboard/views/settings-sections/usersettings.php:495 2353 2373 msgid "User ID" 2354 2374 msgstr "" 2355 2375 2356 2376 #: core/integrations/onboard/views/settings-sections/usersettings.php:515 2357 2377 msgid "Token expires time" 2358 2378 msgstr "" 2359 2379 2360 2380 #: core/integrations/onboard/views/settings-sections/usersettings.php:525 2361 2381 msgid "Token generation date" 2362 2382 msgstr "" 2363 2383 2364 2384 #: core/integrations/onboard/views/settings-sections/usersettings.php:528 2365 2385 msgid "This is need to calculate the remaining time for token" 2366 2386 msgstr "" 2367 2387 2368 2388 #: core/integrations/onboard/views/settings-sections/usersettings.php:567 2369 2389 msgid "Zoom Data" 2370 2390 msgstr "" 2371 2391 2372 2392 #: core/integrations/onboard/views/settings-sections/usersettings.php:579 2373 2393 msgid "Api key" 2374 2394 msgstr "" 2375 2395 2376 2396 #: core/integrations/onboard/views/settings-sections/usersettings.php:588 2377 2397 msgid "Secret Key" 2378 2398 msgstr "" 2379 2399 2380 2400 #: core/integrations/onboard/views/settings-sections/usersettings.php:597 2381 2401 msgid "Check connection" 2382 2402 msgstr "" 2383 2403 2384 2404 #: core/integrations/onboard/views/settings-sections/usersettings.php:619 2385 2405 msgid "Google Map" 2386 2406 msgstr "" 2387 2407 2388 2408 #: core/integrations/onboard/views/settings-sections/usersettings.php:631 2389 2409 msgid "Api Key" 2390 2410 msgstr "" 2391 2411 2392 2412 #: core/integrations/onboard/views/settings-sections/widgets.php:14 2393 2413 msgid "" 2394 2414 "You can disable the elements you are not using on your site. That will " 2395 2415 "disable all associated assets of those widgets to improve your site loading " 2396 2416 "speed." 2397 2417 msgstr "" 2398 2418 2399 2419 #: core/integrations/slack.php:46 2400 2420 msgid "Your data inserted on slack." 2401 2421 msgstr "" 2402 2422 2403 2423 #: plugin.php:474 2404 2424 msgid "Activate Elementor" 2405 2425 msgstr "" 2406 2426 2407 2427 #: plugin.php:481 2408 2428 msgid "Install Elementor" 2409 2429 msgstr "" 2410 2430 2411 2431 #: plugin.php:485 plugin.php:518 2412 2432 msgid "MetForm requires Elementor version %1$s+, which is currently NOT RUNNING." 2413 2433 msgstr "" 2414 2434 2415 2435 #: plugin.php:501 2416 2436 msgid "MetForm Pro" 2417 2437 msgstr "" 2418 2438 2419 2439 #: plugin.php:505 plugin.php:521 2420 2440 msgid "We have MetForm Pro version. Check out our pro feature." 2421 2441 msgstr "" 2422 2442 2423 2443 #: plugin.php:517 2424 2444 msgid "Update Elementor" 2425 2445 msgstr "" 2426 2446 2427 #: plugin.php:55 02447 #: plugin.php:552 plugin.php:565 2428 2448 msgid "" 2429 2449 "Plain permalink is not supported with MetForm. We recommend to use post " 2430 2450 "name as your permalink settings." 2431 2451 msgstr "" 2432 2452 2433 #: plugin.php:55 62453 #: plugin.php:558 plugin.php:571 2434 2454 msgid "Change Permalink" 2435 2455 msgstr "" 2436 2456 2437 #: plugin.php:5 792457 #: plugin.php:595 2438 2458 msgid "Permalink Structure Updated!" 2439 2459 msgstr "" 2440 2460 2441 2461 #: traits/button-controls.php:24 traits/quiz-control.php:31 2442 2462 #: traits/quiz-control.php:52 widgets/checkbox/checkbox.php:209 2443 2463 #: widgets/checkbox/checkbox.php:219 widgets/date/date.php:433 2444 2464 #: widgets/email/email.php:89 widgets/file-upload/file-upload.php:200 2445 2465 #: widgets/listing-fname/listing-fname.php:68 2446 2466 #: widgets/listing-lname/listing-lname.php:68 2447 2467 #: widgets/multi-select/multi-select.php:166 2448 2468 #: widgets/multi-select/multi-select.php:174 widgets/number/number.php:66 2449 2469 #: widgets/password/password.php:66 widgets/radio/radio.php:213 2450 2470 #: widgets/radio/radio.php:223 widgets/range/range.php:137 2451 2471 #: widgets/rating/rating.php:88 widgets/recaptcha/recaptcha.php:63 2452 2472 #: widgets/select/select.php:229 widgets/select/select.php:238 2453 2473 #: widgets/simple-captcha/simple-captcha.php:123 widgets/summary/summary.php:69 2454 2474 #: widgets/switch/switch.php:96 widgets/telephone/telephone.php:66 2455 2475 #: widgets/text/text.php:74 widgets/text/text.php:84 2456 2476 #: widgets/textarea/textarea.php:67 widgets/time/time.php:90 2457 2477 #: widgets/url/url.php:76 2458 2478 msgid "Label" 2459 2479 msgstr "" 2460 2480 2461 2481 #: traits/button-controls.php:46 2462 2482 msgid "Button alignment" 2463 2483 msgstr "" 2464 2484 2465 2485 #: traits/button-controls.php:50 traits/common-controls.php:47 2466 2486 #: widgets/simple-captcha/simple-captcha.php:67 2467 2487 msgid "Left" 2468 2488 msgstr "" 2469 2489 2470 2490 #: traits/button-controls.php:54 2471 2491 msgid "Center" 2472 2492 msgstr "" 2473 2493 2474 2494 #: traits/button-controls.php:58 widgets/file-upload/file-upload.php:293 2475 2495 msgid "Right" 2476 2496 msgstr "" 2477 2497 2478 2498 #: traits/button-controls.php:62 2479 2499 msgid "Justified" 2480 2500 msgstr "" 2481 2501 2482 2502 #: traits/button-controls.php:77 traits/quiz-control.php:499 2483 2503 #: widgets/button/button.php:104 2484 2504 msgid "Icon" 2485 2505 msgstr "" 2486 2506 2487 2507 #: traits/button-controls.php:86 traits/quiz-control.php:515 2488 2508 msgid "Icon Position" 2489 2509 msgstr "" 2490 2510 2491 2511 #: traits/button-controls.php:90 traits/quiz-control.php:237 2492 2512 #: traits/quiz-control.php:519 widgets/file-upload/file-upload.php:77 2493 2513 msgid "Before" 2494 2514 msgstr "" 2495 2515 2496 2516 #: traits/button-controls.php:91 traits/quiz-control.php:236 2497 2517 #: traits/quiz-control.php:520 widgets/file-upload/file-upload.php:78 2498 2518 msgid "After" 2499 2519 msgstr "" 2500 2520 2501 2521 #: traits/button-controls.php:102 2502 2522 msgid "Class" 2503 2523 msgstr "" 2504 2524 2505 2525 #: traits/button-controls.php:104 2506 2526 msgid "Class Name" 2507 2527 msgstr "" 2508 2528 2509 2529 #: traits/button-controls.php:111 2510 2530 msgid "id" 2511 2531 msgstr "" 2512 2532 2513 2533 #: traits/button-controls.php:113 2514 2534 msgid "ID" 2515 2535 msgstr "" 2516 2536 2517 2537 #: traits/button-controls.php:124 2518 2538 msgid "Input Name : " 2519 2539 msgstr "" 2520 2540 2521 2541 #: traits/button-controls.php:132 traits/quiz-control.php:366 2522 2542 #: widgets/multi-select/multi-select.php:71 widgets/select/select.php:72 2523 2543 msgid "Input Value" 2524 2544 msgstr "" 2525 2545 2526 2546 #: traits/button-controls.php:141 2527 2547 msgid "Input Class" 2528 2548 msgstr "" 2529 2549 2530 2550 #: traits/button-controls.php:150 2531 2551 msgid "Input List" 2532 2552 msgstr "" 2533 2553 2534 2554 #: traits/button-controls.php:162 traits/common-controls.php:343 2535 2555 #: traits/common-controls.php:472 traits/common-controls.php:820 2536 2556 #: widgets/checkbox/checkbox.php:255 widgets/email/email.php:174 2537 2557 #: widgets/file-upload/file-upload.php:378 2538 2558 #: widgets/gdpr-consent/gdpr-consent.php:207 2539 2559 #: widgets/gdpr-consent/gdpr-consent.php:299 2540 2560 #: widgets/listing-optin/listing-optin.php:140 widgets/radio/radio.php:259 2541 2561 #: widgets/rating/rating.php:123 widgets/select/select.php:341 2542 2562 #: widgets/simple-captcha/simple-captcha.php:189 2543 2563 #: widgets/simple-captcha/simple-captcha.php:271 widgets/switch/switch.php:225 2544 2564 #: widgets/switch/switch.php:267 2545 2565 msgid "Padding" 2546 2566 msgstr "" 2547 2567 2548 2568 #: traits/button-controls.php:182 traits/common-controls.php:332 2549 2569 #: traits/common-controls.php:700 traits/common-controls.php:753 2550 2570 #: traits/common-controls.php:795 widgets/email/email.php:166 2551 2571 #: widgets/gdpr-consent/gdpr-consent.php:196 widgets/rating/rating.php:265 2552 2572 #: widgets/simple-captcha/simple-captcha.php:178 widgets/switch/switch.php:217 2553 2573 #: widgets/switch/switch.php:259 2554 2574 msgid "Typography" 2555 2575 msgstr "" 2556 2576 2557 2577 #: traits/button-controls.php:200 traits/button-controls.php:298 2558 2578 #: traits/common-controls.php:506 widgets/checkbox/checkbox.php:297 2559 2579 #: widgets/file-upload/file-upload.php:306 2560 2580 #: widgets/gdpr-consent/gdpr-consent.php:341 2561 2581 #: widgets/listing-optin/listing-optin.php:182 widgets/radio/radio.php:300 2562 2582 #: widgets/rating/rating.php:156 widgets/select/select.php:403 2563 2583 msgid "Normal" 2564 2584 msgstr "" 2565 2585 2566 2586 #: traits/button-controls.php:207 traits/button-controls.php:236 2567 2587 #: widgets/checkbox/checkbox.php:278 widgets/gdpr-consent/gdpr-consent.php:322 2568 2588 #: widgets/listing-optin/listing-optin.php:163 widgets/radio/radio.php:282 2569 2589 #: widgets/switch/switch.php:204 widgets/switch/switch.php:246 2570 2590 msgid "Text Color" 2571 2591 msgstr "" 2572 2592 2573 2593 #: traits/button-controls.php:229 traits/button-controls.php:322 2574 2594 #: traits/common-controls.php:570 widgets/file-upload/file-upload.php:337 2575 2595 #: widgets/select/select.php:438 2576 2596 msgid "Hover" 2577 2597 msgstr "" 2578 2598 2579 2599 #: traits/button-controls.php:265 traits/common-controls.php:140 2580 2600 msgid "None" 2581 2601 msgstr "" 2582 2602 2583 2603 #: traits/button-controls.php:347 traits/common-controls.php:249 2584 2604 #: traits/common-controls.php:711 widgets/file-upload/file-upload.php:411 2585 2605 #: widgets/range/range.php:215 widgets/rating/rating.php:227 2586 2606 #: widgets/select/select.php:286 widgets/select/select.php:365 2587 2607 msgid "Border Radius" 2588 2608 msgstr "" 2589 2609 2590 2610 #: traits/button-controls.php:378 2591 2611 msgid "Icon Color" 2592 2612 msgstr "" 2593 2613 2594 2614 #: traits/button-controls.php:394 2595 2615 msgid "Font Size" 2596 2616 msgstr "" 2597 2617 2598 2618 #: traits/button-controls.php:414 2599 2619 msgid "Padding Right" 2600 2620 msgstr "" 2601 2621 2602 2622 #: traits/button-controls.php:440 2603 2623 msgid "Padding Left" 2604 2624 msgstr "" 2605 2625 2606 2626 #: traits/button-controls.php:466 2607 2627 msgid "Vertical Align" 2608 2628 msgstr "" 2609 2629 2610 2630 #: traits/common-controls.php:29 widgets/simple-captcha/simple-captcha.php:49 2611 2631 msgid "Show Label" 2612 2632 msgstr "" 2613 2633 2614 2634 #: traits/common-controls.php:31 traits/quiz-control.php:488 2615 2635 #: widgets/simple-captcha/simple-captcha.php:51 2616 2636 msgid "Show" 2617 2637 msgstr "" 2618 2638 2619 2639 #: traits/common-controls.php:32 traits/quiz-control.php:489 2620 2640 #: widgets/simple-captcha/simple-captcha.php:52 2621 2641 msgid "Hide" 2622 2642 msgstr "" 2623 2643 2624 2644 #: traits/common-controls.php:35 widgets/simple-captcha/simple-captcha.php:55 2625 2645 msgid "for adding label on input turn it on. Don't want to use label? turn it off." 2626 2646 msgstr "" 2627 2647 2628 2648 #: traits/common-controls.php:42 widgets/file-upload/file-upload.php:289 2629 2649 msgid "Position" 2630 2650 msgstr "" 2631 2651 2632 2652 #: traits/common-controls.php:46 widgets/file-upload/file-upload.php:79 2633 2653 #: widgets/simple-captcha/simple-captcha.php:66 2634 2654 msgid "Top" 2635 2655 msgstr "" 2636 2656 2637 2657 #: traits/common-controls.php:55 widgets/simple-captcha/simple-captcha.php:75 2638 2658 msgid "" 2639 2659 "Select label position. where you want to see it. top of the input or left " 2640 2660 "of the input." 2641 2661 msgstr "" 2642 2662 2643 2663 #: traits/common-controls.php:63 widgets/simple-captcha/simple-captcha.php:98 2644 2664 msgid "Label : " 2645 2665 msgstr "" 2646 2666 2647 2667 #: traits/common-controls.php:66 widgets/simple-captcha/simple-captcha.php:101 2648 2668 msgid "Enter here label of input" 2649 2669 msgstr "" 2650 2670 2651 2671 #: traits/common-controls.php:77 2652 2672 msgid "Name : " 2653 2673 msgstr "" 2654 2674 2655 2675 #: traits/common-controls.php:89 traits/quiz-control.php:40 2656 2676 msgid "Name" 2657 2677 msgstr "" 2658 2678 2659 2679 #: traits/common-controls.php:92 2660 2680 msgid "Enter here name of the input" 2661 2681 msgstr "" 2662 2682 2663 2683 #: traits/common-controls.php:93 traits/quiz-control.php:44 2664 2684 msgid "" 2665 2685 "Name is must required. Enter name without space or any special character. " 2666 2686 "use only underscore/ hyphen (_/-) for multiple word. Name must be different." 2667 2687 msgstr "" 2668 2688 2669 2689 #: traits/common-controls.php:103 2670 2690 msgid "Place holder" 2671 2691 msgstr "" 2672 2692 2673 2693 #: traits/common-controls.php:106 traits/quiz-control.php:347 2674 2694 msgid "Enter here place holder" 2675 2695 msgstr "" 2676 2696 2677 2697 #: traits/common-controls.php:114 traits/quiz-control.php:161 2678 2698 #: widgets/simple-captcha/simple-captcha.php:111 2679 2699 msgid "Help Text : " 2680 2700 msgstr "" 2681 2701 2682 2702 #: traits/common-controls.php:117 widgets/simple-captcha/simple-captcha.php:114 2683 2703 msgid "Type your help text here" 2684 2704 msgstr "" 2685 2705 2686 2706 #: traits/common-controls.php:128 2687 2707 msgid "Required ?" 2688 2708 msgstr "" 2689 2709 2690 2710 #: traits/common-controls.php:134 2691 2711 msgid "Is this field is required for submit the form?. Make it \"Yes\"." 2692 2712 msgstr "" 2693 2713 2694 2714 #: traits/common-controls.php:141 2695 2715 msgid "By character length" 2696 2716 msgstr "" 2697 2717 2698 2718 #: traits/common-controls.php:145 2699 2719 msgid "By Word length" 2700 2720 msgstr "" 2701 2721 2702 2722 #: traits/common-controls.php:149 2703 2723 msgid "By expression based" 2704 2724 msgstr "" 2705 2725 2706 2726 #: traits/common-controls.php:156 2707 2727 msgid "Validation type" 2708 2728 msgstr "" 2709 2729 2710 2730 #: traits/common-controls.php:167 widgets/range/range.php:67 2711 2731 msgid "Min Length" 2712 2732 msgstr "" 2713 2733 2714 2734 #: traits/common-controls.php:178 widgets/range/range.php:77 2715 2735 msgid "Max Length" 2716 2736 msgstr "" 2717 2737 2718 2738 #: traits/common-controls.php:191 2719 2739 msgid "Expression for validate " 2720 2740 msgstr "" 2721 2741 2722 2742 #: traits/common-controls.php:194 2723 2743 msgid "Ex: [a-zA-Z]+ " 2724 2744 msgstr "" 2725 2745 2726 2746 #: traits/common-controls.php:205 traits/common-controls.php:207 2727 2747 msgid "Warning message" 2728 2748 msgstr "" 2729 2749 2730 2750 #: traits/common-controls.php:208 widgets/checkbox/checkbox.php:436 2731 2751 #: widgets/date/date.php:555 widgets/email/email.php:226 2732 2752 #: widgets/file-upload/file-upload.php:462 2733 2753 #: widgets/gdpr-consent/gdpr-consent.php:479 2734 2754 #: widgets/listing-fname/listing-fname.php:159 2735 2755 #: widgets/listing-lname/listing-lname.php:159 2736 2756 #: widgets/listing-optin/listing-optin.php:320 2737 2757 #: widgets/multi-select/multi-select.php:260 widgets/number/number.php:142 2738 2758 #: widgets/password/password.php:158 widgets/radio/radio.php:440 2739 2759 #: widgets/range/range.php:254 widgets/rating/rating.php:311 2740 2760 #: widgets/select/select.php:574 widgets/switch/switch.php:309 2741 2761 #: widgets/telephone/telephone.php:142 widgets/text/text.php:161 2742 2762 #: widgets/textarea/textarea.php:166 widgets/time/time.php:175 2743 2763 #: widgets/url/url.php:152 2744 2764 msgid "This field is required." 2745 2765 msgstr "" 2746 2766 2747 2767 #: traits/common-controls.php:234 traits/common-controls.php:741 2748 2768 #: widgets/rating/rating.php:276 widgets/select/select.php:323 2749 2769 msgid "Box Shadow" 2750 2770 msgstr "" 2751 2771 2752 2772 #: traits/common-controls.php:242 traits/common-controls.php:558 2753 2773 #: traits/common-controls.php:617 traits/common-controls.php:678 2754 2774 #: widgets/button/button.php:80 widgets/file-upload/file-upload.php:403 2755 2775 #: widgets/rating/rating.php:180 widgets/rating/rating.php:214 2756 2776 #: widgets/select/select.php:314 widgets/select/select.php:393 2757 2777 msgid "Border" 2758 2778 msgstr "" 2759 2779 2760 2780 #: traits/common-controls.php:281 widgets/gdpr-consent/gdpr-consent.php:145 2761 2781 #: widgets/range/range.php:184 widgets/simple-captcha/simple-captcha.php:131 2762 2782 #: widgets/switch/switch.php:132 2763 2783 msgid "Width" 2764 2784 msgstr "" 2765 2785 2766 2786 #: traits/common-controls.php:357 traits/common-controls.php:488 2767 2787 #: widgets/checkbox/checkbox.php:266 widgets/email/email.php:185 2768 2788 #: widgets/file-upload/file-upload.php:390 2769 2789 #: widgets/gdpr-consent/gdpr-consent.php:221 2770 2790 #: widgets/gdpr-consent/gdpr-consent.php:310 2771 2791 #: widgets/listing-optin/listing-optin.php:151 widgets/radio/radio.php:270 2772 2792 #: widgets/rating/rating.php:135 widgets/select/select.php:353 2773 2793 #: widgets/simple-captcha/simple-captcha.php:203 2774 2794 #: widgets/simple-captcha/simple-captcha.php:283 2775 2795 msgid "Margin" 2776 2796 msgstr "" 2777 2797 2778 2798 #: traits/common-controls.php:372 widgets/gdpr-consent/gdpr-consent.php:238 2779 2799 #: widgets/simple-captcha/simple-captcha.php:218 2780 2800 msgid "Required Indicator Color:" 2781 2801 msgstr "" 2782 2802 2783 2803 #: traits/common-controls.php:425 widgets/gdpr-consent/gdpr-consent.php:257 2784 2804 #: widgets/recaptcha/recaptcha.php:71 2785 2805 #: widgets/simple-captcha/simple-captcha.php:235 2786 2806 msgid "Warning Text Color:" 2787 2807 msgstr "" 2788 2808 2789 2809 #: traits/common-controls.php:446 widgets/gdpr-consent/gdpr-consent.php:277 2790 2810 #: widgets/recaptcha/recaptcha.php:88 2791 2811 #: widgets/simple-captcha/simple-captcha.php:252 2792 2812 msgid "Warning Text Typography" 2793 2813 msgstr "" 2794 2814 2795 2815 #: traits/common-controls.php:513 traits/common-controls.php:577 2796 2816 #: traits/common-controls.php:637 widgets/rating/rating.php:163 2797 2817 #: widgets/rating/rating.php:197 2798 2818 msgid "Input Color" 2799 2819 msgstr "" 2800 2820 2801 2821 #: traits/common-controls.php:545 traits/common-controls.php:605 2802 2822 #: traits/common-controls.php:664 widgets/file-upload/file-upload.php:326 2803 2823 #: widgets/file-upload/file-upload.php:357 widgets/select/select.php:427 2804 2824 #: widgets/select/select.php:462 widgets/select/select.php:497 2805 2825 msgid "Background" 2806 2826 msgstr "" 2807 2827 2808 2828 #: traits/common-controls.php:630 2809 2829 msgid "Focus" 2810 2830 msgstr "" 2811 2831 2812 2832 #: traits/common-controls.php:836 2813 2833 msgid "Get Value From URL?" 2814 2834 msgstr "" 2815 2835 2816 2836 #: traits/conditional-controls.php:25 2817 2837 msgid "Conditional logic" 2818 2838 msgstr "" 2819 2839 2820 2840 #: traits/conditional-controls.php:33 widgets/multi-select/multi-select.php:83 2821 2841 #: widgets/select/select.php:84 2822 2842 msgid "Enable" 2823 2843 msgstr "" 2824 2844 2825 2845 #: traits/conditional-controls.php:36 2826 2846 msgid "This feature only works on the frontend." 2827 2847 msgstr "" 2828 2848 2829 2849 #: traits/conditional-controls.php:47 2830 2850 msgid "Condition match criteria" 2831 2851 msgstr "" 2832 2852 2833 2853 #: traits/conditional-controls.php:52 2834 2854 msgid "AND" 2835 2855 msgstr "" 2836 2856 2837 2857 #: traits/conditional-controls.php:53 2838 2858 msgid "OR" 2839 2859 msgstr "" 2840 2860 2841 2861 #: traits/conditional-controls.php:65 2842 2862 msgid "Action" 2843 2863 msgstr "" 2844 2864 2845 2865 #: traits/conditional-controls.php:87 2846 2866 msgid "If" 2847 2867 msgstr "" 2848 2868 2849 2869 #: traits/conditional-controls.php:90 2850 2870 msgid "Input field name" 2851 2871 msgstr "" 2852 2872 2853 2873 #: traits/conditional-controls.php:97 2854 2874 msgid "Match ( comparison )" 2855 2875 msgstr "" 2856 2876 2857 2877 #: traits/conditional-controls.php:101 2858 2878 msgid "not empty" 2859 2879 msgstr "" 2860 2880 2861 2881 #: traits/conditional-controls.php:102 2862 2882 msgid "empty" 2863 2883 msgstr "" 2864 2884 2865 2885 #: traits/conditional-controls.php:103 2866 2886 msgid "equals" 2867 2887 msgstr "" 2868 2888 2869 2889 #: traits/conditional-controls.php:104 2870 2890 msgid "not equals" 2871 2891 msgstr "" 2872 2892 2873 2893 #: traits/conditional-controls.php:105 2874 2894 msgid "greater than" 2875 2895 msgstr "" 2876 2896 2877 2897 #: traits/conditional-controls.php:106 2878 2898 msgid "greater than equal" 2879 2899 msgstr "" 2880 2900 2881 2901 #: traits/conditional-controls.php:107 2882 2902 msgid "smaller than" 2883 2903 msgstr "" 2884 2904 2885 2905 #: traits/conditional-controls.php:108 2886 2906 msgid "smaller than equal" 2887 2907 msgstr "" 2888 2908 2889 2909 #: traits/conditional-controls.php:117 2890 2910 msgid "Match value" 2891 2911 msgstr "" 2892 2912 2893 2913 #: traits/conditional-controls.php:132 2894 2914 msgid "Value for set" 2895 2915 msgstr "" 2896 2916 2897 2917 #: traits/conditional-controls.php:134 2898 2918 msgid "Enter value for set" 2899 2919 msgstr "" 2900 2920 2901 2921 #: traits/conditional-controls.php:135 2902 2922 msgid "E.g 100, name, anything" 2903 2923 msgstr "" 2904 2924 2905 2925 #: traits/quiz-control.php:43 2906 2926 msgid "Enter name of the input" 2907 2927 msgstr "" 2908 2928 2909 2929 #: traits/quiz-control.php:55 2910 2930 msgid "Question" 2911 2931 msgstr "" 2912 2932 2913 2933 #: traits/quiz-control.php:56 traits/quiz-control.php:57 2914 2934 msgid "Enter question" 2915 2935 msgstr "" 2916 2936 2917 2937 #: traits/quiz-control.php:64 2918 2938 msgid "Point" 2919 2939 msgstr "" 2920 2940 2921 2941 #: traits/quiz-control.php:68 traits/quiz-control.php:69 2922 2942 msgid "Enter point" 2923 2943 msgstr "" 2924 2944 2925 2945 #: traits/quiz-control.php:70 2926 2946 msgid "" 2927 2947 "Note: if the point and the negative point both are set at zero, we won't " 2928 2948 "consider it a question." 2929 2949 msgstr "" 2930 2950 2931 2951 #: traits/quiz-control.php:78 2932 2952 msgid "Add answer for the question?" 2933 2953 msgstr "" 2934 2954 2935 2955 #: traits/quiz-control.php:90 2936 2956 msgid "Answer:" 2937 2957 msgstr "" 2938 2958 2939 2959 #: traits/quiz-control.php:93 traits/quiz-control.php:94 2940 2960 msgid "Enter answer" 2941 2961 msgstr "" 2942 2962 2943 2963 #: traits/quiz-control.php:104 traits/quiz-control.php:121 2944 2964 msgid "Add negative point?" 2945 2965 msgstr "" 2946 2966 2947 2967 #: traits/quiz-control.php:134 2948 2968 msgid "Negative point" 2949 2969 msgstr "" 2950 2970 2951 2971 #: traits/quiz-control.php:139 2952 2972 msgid "Enter negative point" 2953 2973 msgstr "" 2954 2974 2955 2975 #: traits/quiz-control.php:150 traits/quiz-control.php:221 2956 2976 #: traits/quiz-control.php:344 2957 2977 msgid "Placeholder" 2958 2978 msgstr "" 2959 2979 2960 2980 #: traits/quiz-control.php:153 traits/quiz-control.php:224 2961 2981 msgid "Enter placeholder" 2962 2982 msgstr "" 2963 2983 2964 2984 #: traits/quiz-control.php:164 2965 2985 msgid "Type your help text" 2966 2986 msgstr "" 2967 2987 2968 2988 #: traits/quiz-control.php:172 traits/quiz-control.php:193 2969 2989 #: widgets/checkbox/checkbox.php:66 widgets/gdpr-consent/gdpr-consent.php:46 2970 2990 #: widgets/radio/radio.php:70 2971 2991 msgid "Option Display : " 2972 2992 msgstr "" 2973 2993 2974 2994 #: traits/quiz-control.php:175 traits/quiz-control.php:196 2975 2995 #: widgets/checkbox/checkbox.php:70 widgets/gdpr-consent/gdpr-consent.php:50 2976 2996 #: widgets/radio/radio.php:74 2977 2997 msgid "Horizontal" 2978 2998 msgstr "" 2979 2999 2980 3000 #: traits/quiz-control.php:176 traits/quiz-control.php:197 2981 3001 #: widgets/checkbox/checkbox.php:71 widgets/gdpr-consent/gdpr-consent.php:51 2982 3002 #: widgets/radio/radio.php:75 2983 3003 msgid "Vertical" 2984 3004 msgstr "" 2985 3005 2986 3006 #: traits/quiz-control.php:184 2987 3007 msgid "Option display style." 2988 3008 msgstr "" 2989 3009 2990 3010 #: traits/quiz-control.php:203 2991 3011 msgid "Image select option display style." 2992 3012 msgstr "" 2993 3013 2994 3014 #: traits/quiz-control.php:212 widgets/select/select.php:107 2995 3015 msgid "Data Type" 2996 3016 msgstr "" 2997 3017 2998 3018 #: traits/quiz-control.php:233 widgets/checkbox/checkbox.php:84 2999 3019 #: widgets/gdpr-consent/gdpr-consent.php:64 3000 3020 #: widgets/listing-optin/listing-optin.php:47 widgets/radio/radio.php:88 3001 3021 msgid "Option Text Position : " 3002 3022 msgstr "" 3003 3023 3004 3024 #: traits/quiz-control.php:240 3005 3025 msgid "Where do you want to option?" 3006 3026 msgstr "" 3007 3027 3008 3028 #: traits/quiz-control.php:249 3009 3029 msgid "Type : " 3010 3030 msgstr "" 3011 3031 3012 3032 #: traits/quiz-control.php:252 3013 3033 msgid "Single Answer" 3014 3034 msgstr "" 3015 3035 3016 3036 #: traits/quiz-control.php:253 3017 3037 msgid "Multiple Answer" 3018 3038 msgstr "" 3019 3039 3020 3040 #: traits/quiz-control.php:265 traits/quiz-control.php:267 3021 3041 #: traits/quiz-control.php:355 widgets/checkbox/checkbox.php:101 3022 3042 #: widgets/radio/radio.php:105 3023 3043 msgid "Option Text" 3024 3044 msgstr "" 3025 3045 3026 3046 #: traits/quiz-control.php:269 traits/quiz-control.php:359 3027 3047 #: widgets/checkbox/checkbox.php:103 widgets/radio/radio.php:107 3028 3048 msgid "Select option text that will be show to user." 3029 3049 msgstr "" 3030 3050 3031 3051 #: traits/quiz-control.php:275 traits/quiz-control.php:277 3032 3052 #: traits/quiz-control.php:364 traits/quiz-control.php:446 3033 3053 #: traits/quiz-control.php:591 traits/quiz-control.php:593 3034 3054 #: widgets/checkbox/checkbox.php:109 widgets/checkbox/checkbox.php:111 3035 3055 #: widgets/radio/radio.php:113 widgets/radio/radio.php:115 3036 3056 msgid "Option Value" 3037 3057 msgstr "" 3038 3058 3039 3059 #: traits/quiz-control.php:284 traits/quiz-control.php:456 3040 3060 #: traits/quiz-control.php:600 widgets/checkbox/checkbox.php:119 3041 3061 #: widgets/radio/radio.php:123 3042 3062 msgid "Option Status" 3043 3063 msgstr "" 3044 3064 3045 3065 #: traits/quiz-control.php:292 traits/quiz-control.php:382 3046 3066 #: widgets/checkbox/checkbox.php:133 widgets/multi-select/multi-select.php:92 3047 3067 #: widgets/radio/radio.php:137 widgets/select/select.php:93 3048 3068 msgid "Select it default ? " 3049 3069 msgstr "" 3050 3070 3051 3071 #: traits/quiz-control.php:301 traits/quiz-control.php:391 3052 3072 #: traits/quiz-control.php:474 traits/quiz-control.php:617 3053 3073 msgid "Select as answer?" 3054 3074 msgstr "" 3055 3075 3056 3076 #: traits/quiz-control.php:313 traits/quiz-control.php:403 3057 3077 msgid "Options" 3058 3078 msgstr "" 3059 3079 3060 3080 #: traits/quiz-control.php:334 traits/quiz-control.php:424 3061 3081 #: traits/quiz-control.php:552 traits/quiz-control.php:647 3062 3082 #: widgets/checkbox/checkbox.php:168 widgets/multi-select/multi-select.php:127 3063 3083 #: widgets/radio/radio.php:172 widgets/select/select.php:141 3064 3084 msgid "You can add/edit here your selector options." 3065 3085 msgstr "" 3066 3086 3067 3087 #: traits/quiz-control.php:357 widgets/multi-select/multi-select.php:62 3068 3088 #: widgets/select/select.php:62 3069 3089 msgid "Input Text" 3070 3090 msgstr "" 3071 3091 3072 3092 #: traits/quiz-control.php:368 widgets/multi-select/multi-select.php:73 3073 3093 #: widgets/select/select.php:74 3074 3094 msgid "Select list value that will be store/mail to desired person." 3075 3095 msgstr "" 3076 3096 3077 3097 #: traits/quiz-control.php:374 widgets/multi-select/multi-select.php:79 3078 3098 #: widgets/select/select.php:80 3079 3099 msgid "Status" 3080 3100 msgstr "" 3081 3101 3082 3102 #: traits/quiz-control.php:436 3083 3103 msgid "Toggle for select" 3084 3104 msgstr "" 3085 3105 3086 3106 #: traits/quiz-control.php:438 3087 3107 msgid "toggle" 3088 3108 msgstr "" 3089 3109 3090 3110 #: traits/quiz-control.php:439 3091 3111 msgid "Enter toggle text" 3092 3112 msgstr "" 3093 3113 3094 3114 #: traits/quiz-control.php:448 3095 3115 msgid "value" 3096 3116 msgstr "" 3097 3117 3098 3118 #: traits/quiz-control.php:465 traits/quiz-control.php:608 3099 3119 msgid "Select it default ?" 3100 3120 msgstr "" 3101 3121 3102 3122 #: traits/quiz-control.php:486 3103 3123 msgid "Add\t Icon" 3104 3124 msgstr "" 3105 3125 3106 3126 #: traits/quiz-control.php:531 3107 3127 msgid "Toggle select Options" 3108 3128 msgstr "" 3109 3129 3110 3130 #: traits/quiz-control.php:565 3111 3131 msgid "Title" 3112 3132 msgstr "" 3113 3133 3114 3134 #: traits/quiz-control.php:573 3115 3135 msgid "Thumbnail" 3116 3136 msgstr "" 3117 3137 3118 3138 #: traits/quiz-control.php:584 3119 3139 msgid "Preview (Optional)" 3120 3140 msgstr "" 3121 3141 3122 3142 #: traits/quiz-control.php:629 3123 3143 msgid "Image select Options" 3124 3144 msgstr "" 3125 3145 3126 3146 #: utils/pro-awareness/pro-awareness.php:159 3127 3147 #: utils/pro-awareness/pro-awareness.php:174 3128 3148 msgid "Default Title" 3129 3149 msgstr "" 3130 3150 3131 3151 #: utils/stories/stories.php:255 3132 3152 msgid "Wpmet Stories" 3133 3153 msgstr "" 3134 3154 3135 3155 #: utils/stories/views/template.php:137 3136 3156 msgid "Need Help?" 3137 3157 msgstr "" 3138 3158 3139 3159 #: utils/stories/views/template.php:141 3140 3160 msgid "Blog" 3141 3161 msgstr "" 3142 3162 3143 3163 #: utils/stories/views/template.php:145 3144 3164 msgid "Facebook Community" 3145 3165 msgstr "" 3146 3166 3147 3167 #: widgets/button/button.php:16 3148 3168 msgid "Submit Button" 3149 3169 msgstr "" 3150 3170 3151 3171 #: widgets/button/button.php:36 widgets/checkbox/checkbox.php:46 3152 3172 #: widgets/checkbox/checkbox.php:56 widgets/date/date.php:108 3153 3173 #: widgets/email/email.php:45 widgets/file-upload/file-upload.php:37 3154 3174 #: widgets/form-basic.php:49 widgets/gdpr-consent/gdpr-consent.php:36 3155 3175 #: widgets/listing-fname/listing-fname.php:36 3156 3176 #: widgets/listing-lname/listing-lname.php:36 3157 3177 #: widgets/listing-optin/listing-optin.php:36 3158 3178 #: widgets/multi-select/multi-select.php:39 3159 3179 #: widgets/multi-select/multi-select.php:49 widgets/number/number.php:36 3160 3180 #: widgets/password/password.php:36 widgets/radio/radio.php:48 3161 3181 #: widgets/radio/radio.php:59 widgets/range/range.php:36 3162 3182 #: widgets/rating/rating.php:36 widgets/recaptcha/recaptcha.php:36 3163 3183 #: widgets/select/select.php:39 widgets/select/select.php:49 3164 3184 #: widgets/simple-captcha/simple-captcha.php:41 widgets/summary/summary.php:36 3165 3185 #: widgets/switch/switch.php:36 widgets/telephone/telephone.php:36 3166 3186 #: widgets/text/text.php:39 widgets/textarea/textarea.php:37 3167 3187 #: widgets/time/time.php:40 widgets/url/url.php:37 3168 3188 msgid "Content" 3169 3189 msgstr "" 3170 3190 3171 3191 #: widgets/button/button.php:52 3172 3192 msgid "Hidden" 3173 3193 msgstr "" 3174 3194 3175 3195 #: widgets/button/button.php:65 3176 3196 msgid "Button" 3177 3197 msgstr "" 3178 3198 3179 3199 #: widgets/button/button.php:92 3180 3200 msgid "Shadow" 3181 3201 msgstr "" 3182 3202 3183 3203 #: widgets/checkbox/checkbox.php:25 widgets/checkbox/checkbox.php:247 3184 3204 #: widgets/gdpr-consent/gdpr-consent.php:291 3185 3205 #: widgets/listing-optin/listing-optin.php:132 3186 3206 msgid "Checkbox" 3187 3207 msgstr "" 3188 3208 3189 3209 #: widgets/checkbox/checkbox.php:77 widgets/gdpr-consent/gdpr-consent.php:57 3190 3210 msgid "Checkbox option display style. " 3191 3211 msgstr "" 3192 3212 3193 3213 #: widgets/checkbox/checkbox.php:87 widgets/gdpr-consent/gdpr-consent.php:67 3194 3214 #: widgets/listing-optin/listing-optin.php:50 3195 3215 msgid "After Checkbox" 3196 3216 msgstr "" 3197 3217 3198 3218 #: widgets/checkbox/checkbox.php:88 widgets/gdpr-consent/gdpr-consent.php:68 3199 3219 #: widgets/listing-optin/listing-optin.php:51 3200 3220 msgid "Before Checkbox" 3201 3221 msgstr "" 3202 3222 3203 3223 #: widgets/checkbox/checkbox.php:91 widgets/gdpr-consent/gdpr-consent.php:71 3204 3224 #: widgets/listing-optin/listing-optin.php:54 widgets/radio/radio.php:95 3205 3225 msgid "Where do you want to label?" 3206 3226 msgstr "" 3207 3227 3208 3228 #: widgets/checkbox/checkbox.php:99 widgets/gdpr-consent/gdpr-consent.php:77 3209 3229 #: widgets/listing-optin/listing-optin.php:60 3210 3230 msgid "Checkbox Option Text" 3211 3231 msgstr "" 3212 3232 3213 3233 #: widgets/checkbox/checkbox.php:113 widgets/radio/radio.php:117 3214 3234 msgid "Select option value that will be store/mail to desired person." 3215 3235 msgstr "" 3216 3236 3217 3237 #: widgets/checkbox/checkbox.php:122 widgets/radio/radio.php:126 3218 3238 #: widgets/rating/rating.php:190 widgets/switch/switch.php:239 3219 3239 msgid "Active" 3220 3240 msgstr "" 3221 3241 3222 3242 #: widgets/checkbox/checkbox.php:123 widgets/multi-select/multi-select.php:84 3223 3243 #: widgets/radio/radio.php:127 widgets/select/select.php:85 3224 3244 msgid "Disable" 3225 3245 msgstr "" 3226 3246 3227 3247 #: widgets/checkbox/checkbox.php:127 widgets/multi-select/multi-select.php:86 3228 3248 #: widgets/radio/radio.php:131 widgets/select/select.php:87 3229 3249 msgid "" 3230 3250 "Want to make a option? which user can see the option but can't select it. " 3231 3251 "make it disable." 3232 3252 msgstr "" 3233 3253 3234 3254 #: widgets/checkbox/checkbox.php:140 widgets/multi-select/multi-select.php:99 3235 3255 #: widgets/radio/radio.php:144 widgets/select/select.php:100 3236 3256 msgid "Make this option default selected" 3237 3257 msgstr "" 3238 3258 3239 3259 #: widgets/checkbox/checkbox.php:147 3240 3260 msgid "Checkbox Options" 3241 3261 msgstr "" 3242 3262 3243 3263 #: widgets/checkbox/checkbox.php:190 widgets/date/date.php:130 3244 3264 #: widgets/file-upload/file-upload.php:106 3245 3265 #: widgets/gdpr-consent/gdpr-consent.php:103 3246 3266 #: widgets/listing-optin/listing-optin.php:84 3247 3267 #: widgets/multi-select/multi-select.php:148 widgets/radio/radio.php:194 3248 3268 #: widgets/range/range.php:58 widgets/rating/rating.php:58 3249 3269 #: widgets/select/select.php:211 widgets/summary/summary.php:58 3250 3270 #: widgets/switch/switch.php:77 widgets/time/time.php:62 widgets/url/url.php:59 3251 3271 msgid "Validation Type" 3252 3272 msgstr "" 3253 3273 3254 3274 #: widgets/checkbox/checkbox.php:304 widgets/checkbox/checkbox.php:329 3255 3275 #: widgets/gdpr-consent/gdpr-consent.php:348 3256 3276 #: widgets/gdpr-consent/gdpr-consent.php:373 3257 3277 #: widgets/listing-optin/listing-optin.php:189 3258 3278 #: widgets/listing-optin/listing-optin.php:214 3259 3279 msgid "Checkbox Color" 3260 3280 msgstr "" 3261 3281 3262 3282 #: widgets/checkbox/checkbox.php:322 widgets/gdpr-consent/gdpr-consent.php:366 3263 3283 #: widgets/listing-optin/listing-optin.php:207 widgets/radio/radio.php:325 3264 3284 msgid "Checked" 3265 3285 msgstr "" 3266 3286 3267 3287 #: widgets/checkbox/checkbox.php:349 widgets/gdpr-consent/gdpr-consent.php:393 3268 3288 #: widgets/listing-optin/listing-optin.php:234 widgets/radio/radio.php:352 3269 3289 msgid "Horizontal position of icon" 3270 3290 msgstr "" 3271 3291 3272 3292 #: widgets/checkbox/checkbox.php:372 widgets/gdpr-consent/gdpr-consent.php:416 3273 3293 #: widgets/listing-optin/listing-optin.php:257 3274 3294 msgid "Add space after checkbox" 3275 3295 msgstr "" 3276 3296 3277 3297 #: widgets/checkbox/checkbox.php:388 widgets/gdpr-consent/gdpr-consent.php:432 3278 3298 #: widgets/listing-optin/listing-optin.php:273 widgets/radio/radio.php:392 3279 3299 msgid "Typography for icon" 3280 3300 msgstr "" 3281 3301 3282 3302 #: widgets/checkbox/checkbox.php:399 widgets/gdpr-consent/gdpr-consent.php:443 3283 3303 #: widgets/listing-optin/listing-optin.php:284 widgets/radio/radio.php:403 3284 3304 msgid "Typography for text" 3285 3305 msgstr "" 3286 3306 3287 3307 #: widgets/checkbox/checkbox.php:411 widgets/date/date.php:495 3288 3308 #: widgets/email/email.php:199 widgets/file-upload/file-upload.php:426 3289 3309 #: widgets/gdpr-consent/gdpr-consent.php:454 3290 3310 #: widgets/listing-fname/listing-fname.php:119 3291 3311 #: widgets/listing-lname/listing-lname.php:119 3292 3312 #: widgets/listing-optin/listing-optin.php:295 3293 3313 #: widgets/multi-select/multi-select.php:226 widgets/number/number.php:117 3294 3314 #: widgets/password/password.php:117 widgets/radio/radio.php:415 3295 3315 #: widgets/range/range.php:230 widgets/rating/rating.php:286 3296 3316 #: widgets/select/select.php:524 widgets/simple-captcha/simple-captcha.php:313 3297 3317 #: widgets/summary/summary.php:108 widgets/switch/switch.php:284 3298 3318 #: widgets/telephone/telephone.php:117 widgets/text/text.php:136 3299 3319 #: widgets/textarea/textarea.php:141 widgets/time/time.php:141 3300 3320 #: widgets/url/url.php:127 3301 3321 msgid "Help Text" 3302 3322 msgstr "" 3303 3323 3304 3324 #: widgets/date/date.php:24 3305 3325 msgid "Date" 3306 3326 msgstr "" 3307 3327 3308 3328 #: widgets/date/date.php:41 3309 3329 msgid "Albanian" 3310 3330 msgstr "" 3311 3331 3312 3332 #: widgets/date/date.php:42 3313 3333 msgid "Arabic" 3314 3334 msgstr "" 3315 3335 3316 3336 #: widgets/date/date.php:43 3317 3337 msgid "Austria" 3318 3338 msgstr "" 3319 3339 3320 3340 #: widgets/date/date.php:44 3321 3341 msgid "Azerbaijan" 3322 3342 msgstr "" 3323 3343 3324 3344 #: widgets/date/date.php:45 3325 3345 msgid "Bangla" 3326 3346 msgstr "" 3327 3347 3328 3348 #: widgets/date/date.php:46 3329 3349 msgid "Belarusian" 3330 3350 msgstr "" 3331 3351 3332 3352 #: widgets/date/date.php:47 3333 3353 msgid "Bosnian" 3334 3354 msgstr "" 3335 3355 3336 3356 #: widgets/date/date.php:48 3337 3357 msgid "Bulgarian" 3338 3358 msgstr "" 3339 3359 3340 3360 #: widgets/date/date.php:49 3341 3361 msgid "Burmese" 3342 3362 msgstr "" 3343 3363 3344 3364 #: widgets/date/date.php:50 3345 3365 msgid "Catalan" 3346 3366 msgstr "" 3347 3367 3348 3368 #: widgets/date/date.php:51 3349 3369 msgid "Croatian" 3350 3370 msgstr "" 3351 3371 3352 3372 #: widgets/date/date.php:52 3353 3373 msgid "Czech" 3354 3374 msgstr "" 3355 3375 3356 3376 #: widgets/date/date.php:53 3357 3377 msgid "Danish" 3358 3378 msgstr "" 3359 3379 3360 3380 #: widgets/date/date.php:54 3361 3381 msgid "Dutch" 3362 3382 msgstr "" 3363 3383 3364 3384 #: widgets/date/date.php:55 3365 3385 msgid "English" 3366 3386 msgstr "" 3367 3387 3368 3388 #: widgets/date/date.php:56 3369 3389 msgid "Esperanto" 3370 3390 msgstr "" 3371 3391 3372 3392 #: widgets/date/date.php:57 3373 3393 msgid "Estonian" 3374 3394 msgstr "" 3375 3395 3376 3396 #: widgets/date/date.php:58 3377 3397 msgid "Faroese" 3378 3398 msgstr "" 3379 3399 3380 3400 #: widgets/date/date.php:59 3381 3401 msgid "Finnish" 3382 3402 msgstr "" 3383 3403 3384 3404 #: widgets/date/date.php:60 3385 3405 msgid "French" 3386 3406 msgstr "" 3387 3407 3388 3408 #: widgets/date/date.php:61 3389 3409 msgid "Georgian" 3390 3410 msgstr "" 3391 3411 3392 3412 #: widgets/date/date.php:62 3393 3413 msgid "German" 3394 3414 msgstr "" 3395 3415 3396 3416 #: widgets/date/date.php:63 3397 3417 msgid "Greek" 3398 3418 msgstr "" 3399 3419 3400 3420 #: widgets/date/date.php:64 3401 3421 msgid "Hebrew" 3402 3422 msgstr "" 3403 3423 3404 3424 #: widgets/date/date.php:65 3405 3425 msgid "Hindi" 3406 3426 msgstr "" 3407 3427 3408 3428 #: widgets/date/date.php:66 3409 3429 msgid "Hungarian" 3410 3430 msgstr "" 3411 3431 3412 3432 #: widgets/date/date.php:67 3413 3433 msgid "Icelandic" 3414 3434 msgstr "" 3415 3435 3416 3436 #: widgets/date/date.php:68 3417 3437 msgid "Indonesian" 3418 3438 msgstr "" 3419 3439 3420 3440 #: widgets/date/date.php:69 3421 3441 msgid "Italian" 3422 3442 msgstr "" 3423 3443 3424 3444 #: widgets/date/date.php:70 3425 3445 msgid "Japanese" 3426 3446 msgstr "" 3427 3447 3428 3448 #: widgets/date/date.php:71 3429 3449 msgid "Kazakh" 3430 3450 msgstr "" 3431 3451 3432 3452 #: widgets/date/date.php:72 3433 3453 msgid "Khmer" 3434 3454 msgstr "" 3435 3455 3436 3456 #: widgets/date/date.php:73 3437 3457 msgid "Korean" 3438 3458 msgstr "" 3439 3459 3440 3460 #: widgets/date/date.php:74 3441 3461 msgid "Latvian" 3442 3462 msgstr "" 3443 3463 3444 3464 #: widgets/date/date.php:75 3445 3465 msgid "Lithuanian" 3446 3466 msgstr "" 3447 3467 3448 3468 #: widgets/date/date.php:76 3449 3469 msgid "Macedonian" 3450 3470 msgstr "" 3451 3471 3452 3472 #: widgets/date/date.php:77 3453 3473 msgid "Malaysian" 3454 3474 msgstr "" 3455 3475 3456 3476 #: widgets/date/date.php:78 3457 3477 msgid "Mandarin" 3458 3478 msgstr "" 3459 3479 3460 3480 #: widgets/date/date.php:79 3461 3481 msgid "MandarinTraditional" 3462 3482 msgstr "" 3463 3483 3464 3484 #: widgets/date/date.php:80 3465 3485 msgid "Mongolian" 3466 3486 msgstr "" 3467 3487 3468 3488 #: widgets/date/date.php:81 3469 3489 msgid "Norwegian" 3470 3490 msgstr "" 3471 3491 3472 3492 #: widgets/date/date.php:82 3473 3493 msgid "Persian" 3474 3494 msgstr "" 3475 3495 3476 3496 #: widgets/date/date.php:83 3477 3497 msgid "Polish" 3478 3498 msgstr "" 3479 3499 3480 3500 #: widgets/date/date.php:84 3481 3501 msgid "Portuguese" 3482 3502 msgstr "" 3483 3503 3484 3504 #: widgets/date/date.php:85 3485 3505 msgid "Punjabi" 3486 3506 msgstr "" 3487 3507 3488 3508 #: widgets/date/date.php:86 3489 3509 msgid "Romanian" 3490 3510 msgstr "" 3491 3511 3492 3512 #: widgets/date/date.php:87 3493 3513 msgid "Russian" 3494 3514 msgstr "" 3495 3515 3496 3516 #: widgets/date/date.php:88 3497 3517 msgid "Serbian" 3498 3518 msgstr "" 3499 3519 3500 3520 #: widgets/date/date.php:89 3501 3521 msgid "SerbianCyrillic" 3502 3522 msgstr "" 3503 3523 3504 3524 #: widgets/date/date.php:90 3505 3525 msgid "Sinhala" 3506 3526 msgstr "" 3507 3527 3508 3528 #: widgets/date/date.php:91 3509 3529 msgid "Slovak" 3510 3530 msgstr "" 3511 3531 3512 3532 #: widgets/date/date.php:92 3513 3533 msgid "Slovenian" 3514 3534 msgstr "" 3515 3535 3516 3536 #: widgets/date/date.php:93 3517 3537 msgid "Spanish" 3518 3538 msgstr "" 3519 3539 3520 3540 #: widgets/date/date.php:94 3521 3541 msgid "Swedish" 3522 3542 msgstr "" 3523 3543 3524 3544 #: widgets/date/date.php:95 3525 3545 msgid "Thai" 3526 3546 msgstr "" 3527 3547 3528 3548 #: widgets/date/date.php:96 3529 3549 msgid "Turkish" 3530 3550 msgstr "" 3531 3551 3532 3552 #: widgets/date/date.php:97 3533 3553 msgid "Ukrainian" 3534 3554 msgstr "" 3535 3555 3536 3556 #: widgets/date/date.php:98 3537 3557 msgid "Vietnamese" 3538 3558 msgstr "" 3539 3559 3540 3560 #: widgets/date/date.php:99 3541 3561 msgid "Welsh" 3542 3562 msgstr "" 3543 3563 3544 3564 #: widgets/date/date.php:139 3545 3565 msgid "Set current date as minimum date" 3546 3566 msgstr "" 3547 3567 3548 3568 #: widgets/date/date.php:151 3549 3569 msgid "Set minimum date manually" 3550 3570 msgstr "" 3551 3571 3552 3572 #: widgets/date/date.php:166 3553 3573 msgid "Set maximum date manually" 3554 3574 msgstr "" 3555 3575 3556 3576 #: widgets/date/date.php:179 3557 3577 msgid "Disable date : " 3558 3578 msgstr "" 3559 3579 3560 3580 #: widgets/date/date.php:190 3561 3581 msgid "Disable date List" 3562 3582 msgstr "" 3563 3583 3564 3584 #: widgets/date/date.php:201 3565 3585 msgid "Range date input ?" 3566 3586 msgstr "" 3567 3587 3568 3588 #: widgets/date/date.php:213 3569 3589 msgid "Year input ?" 3570 3590 msgstr "" 3571 3591 3572 3592 #: widgets/date/date.php:225 3573 3593 msgid "Month input ?" 3574 3594 msgstr "" 3575 3595 3576 3596 #: widgets/date/date.php:237 3577 3597 msgid "Date input ?" 3578 3598 msgstr "" 3579 3599 3580 3600 #: widgets/date/date.php:249 widgets/date/date.php:296 3581 3601 #: widgets/date/date.php:330 widgets/date/date.php:364 3582 3602 msgid "Date format : " 3583 3603 msgstr "" 3584 3604 3585 3605 #: widgets/date/date.php:253 3586 3606 msgid "YYYY-MM-DD" 3587 3607 msgstr "" 3588 3608 3589 3609 #: widgets/date/date.php:254 3590 3610 msgid "DD-MM-YYYY" 3591 3611 msgstr "" 3592 3612 3593 3613 #: widgets/date/date.php:255 3594 3614 msgid "MM-DD-YYYY" 3595 3615 msgstr "" 3596 3616 3597 3617 #: widgets/date/date.php:256 3598 3618 msgid "YYYY.MM.DD" 3599 3619 msgstr "" 3600 3620 3601 3621 #: widgets/date/date.php:257 3602 3622 msgid "DD.MM.YYYY" 3603 3623 msgstr "" 3604 3624 3605 3625 #: widgets/date/date.php:258 3606 3626 msgid "MM.DD.YYYY" 3607 3627 msgstr "" 3608 3628 3609 3629 #: widgets/date/date.php:285 3610 3630 msgid "Localization" 3611 3631 msgstr "" 3612 3632 3613 3633 #: widgets/date/date.php:286 3614 3634 msgid "Language change will be shown on preview." 3615 3635 msgstr "" 3616 3636 3617 3637 #: widgets/date/date.php:300 3618 3638 msgid "MM-DD" 3619 3639 msgstr "" 3620 3640 3621 3641 #: widgets/date/date.php:301 3622 3642 msgid "DD-MM" 3623 3643 msgstr "" 3624 3644 3625 3645 #: widgets/date/date.php:302 3626 3646 msgid "MM.DD" 3627 3647 msgstr "" 3628 3648 3629 3649 #: widgets/date/date.php:303 3630 3650 msgid "DD.MM" 3631 3651 msgstr "" 3632 3652 3633 3653 #: widgets/date/date.php:334 3634 3654 msgid "MM-YY" 3635 3655 msgstr "" 3636 3656 3637 3657 #: widgets/date/date.php:335 3638 3658 msgid "YY-MM" 3639 3659 msgstr "" 3640 3660 3641 3661 #: widgets/date/date.php:336 3642 3662 msgid "MM.YY" 3643 3663 msgstr "" 3644 3664 3645 3665 #: widgets/date/date.php:337 3646 3666 msgid "YY.MM" 3647 3667 msgstr "" 3648 3668 3649 3669 #: widgets/date/date.php:368 3650 3670 msgid "DD-YY" 3651 3671 msgstr "" 3652 3672 3653 3673 #: widgets/date/date.php:369 3654 3674 msgid "YY-DD" 3655 3675 msgstr "" 3656 3676 3657 3677 #: widgets/date/date.php:370 3658 3678 msgid "DD.YY" 3659 3679 msgstr "" 3660 3680 3661 3681 #: widgets/date/date.php:371 3662 3682 msgid "YY.DD" 3663 3683 msgstr "" 3664 3684 3665 3685 #: widgets/date/date.php:398 3666 3686 msgid "Want to input time with it ?" 3667 3687 msgstr "" 3668 3688 3669 3689 #: widgets/date/date.php:410 3670 3690 msgid "Enable time 24hr?" 3671 3691 msgstr "" 3672 3692 3673 3693 #: widgets/date/date.php:460 widgets/email/email.php:118 3674 3694 #: widgets/file-upload/file-upload.php:227 3675 3695 #: widgets/listing-fname/listing-fname.php:95 3676 3696 #: widgets/listing-lname/listing-lname.php:95 3677 3697 #: widgets/multi-select/multi-select.php:202 widgets/number/number.php:93 3678 3698 #: widgets/password/password.php:93 widgets/rating/rating.php:115 3679 3699 #: widgets/summary/summary.php:96 widgets/switch/switch.php:124 3680 3700 #: widgets/telephone/telephone.php:93 widgets/text/text.php:112 3681 3701 #: widgets/textarea/textarea.php:94 widgets/time/time.php:117 3682 3702 #: widgets/url/url.php:103 3683 3703 msgid "Input" 3684 3704 msgstr "" 3685 3705 3686 3706 #: widgets/date/date.php:471 3687 3707 msgid "Calendar Typography" 3688 3708 msgstr "" 3689 3709 3690 3710 #: widgets/date/date.php:483 widgets/email/email.php:130 3691 3711 #: widgets/listing-fname/listing-fname.php:107 3692 3712 #: widgets/listing-lname/listing-lname.php:107 3693 3713 #: widgets/multi-select/multi-select.php:214 widgets/number/number.php:105 3694 3714 #: widgets/password/password.php:105 widgets/select/select.php:512 3695 3715 #: widgets/simple-captcha/simple-captcha.php:328 3696 3716 #: widgets/telephone/telephone.php:105 widgets/text/text.php:124 3697 3717 #: widgets/textarea/textarea.php:129 widgets/time/time.php:129 3698 3718 #: widgets/url/url.php:115 3699 3719 msgid "Place Holder" 3700 3720 msgstr "" 3701 3721 3702 3722 #: widgets/email/email.php:21 3703 3723 msgid "Email" 3704 3724 msgstr "" 3705 3725 3706 3726 #: widgets/email/email.php:53 3707 3727 msgid "Show Logged in Email" 3708 3728 msgstr "" 3709 3729 3710 3730 #: widgets/email/email.php:142 3711 3731 msgid "Error Message" 3712 3732 msgstr "" 3713 3733 3714 3734 #: widgets/email/email.php:227 3715 3735 msgid "Please enter a valid Email address" 3716 3736 msgstr "" 3717 3737 3718 3738 #: widgets/file-upload/file-upload.php:16 3719 3739 msgid "File Upload" 3720 3740 msgstr "" 3721 3741 3722 3742 #: widgets/file-upload/file-upload.php:47 3723 3743 msgid "Choose file Text" 3724 3744 msgstr "" 3725 3745 3726 3746 #: widgets/file-upload/file-upload.php:55 3727 3747 msgid "No file chosen Text" 3728 3748 msgstr "" 3729 3749 3730 3750 #: widgets/file-upload/file-upload.php:64 3731 3751 msgid "File Upload Icon:" 3732 3752 msgstr "" 3733 3753 3734 3754 #: widgets/file-upload/file-upload.php:73 3735 3755 msgid "File Upload Icon Position" 3736 3756 msgstr "" 3737 3757 3738 3758 #: widgets/file-upload/file-upload.php:115 3739 3759 msgid "Enable Multiple File Upload : " 3740 3760 msgstr "" 3741 3761 3742 3762 #: widgets/file-upload/file-upload.php:126 3743 3763 msgid "File Size Limit : " 3744 3764 msgstr "" 3745 3765 3746 3766 #: widgets/file-upload/file-upload.php:137 3747 3767 msgid "Maximum File Size (KB) : " 3748 3768 msgstr "" 3749 3769 3750 3770 #: widgets/file-upload/file-upload.php:149 3751 3771 msgid "File Types : " 3752 3772 msgstr "" 3753 3773 3754 3774 #: widgets/file-upload/file-upload.php:153 3755 3775 msgid ".jpg" 3756 3776 msgstr "" 3757 3777 3758 3778 #: widgets/file-upload/file-upload.php:154 3759 3779 msgid ".jpeg" 3760 3780 msgstr "" 3761 3781 3762 3782 #: widgets/file-upload/file-upload.php:155 3763 3783 msgid ".gif" 3764 3784 msgstr "" 3765 3785 3766 3786 #: widgets/file-upload/file-upload.php:156 3767 3787 msgid ".png" 3768 3788 msgstr "" 3769 3789 3770 3790 #: widgets/file-upload/file-upload.php:157 3771 3791 msgid ".ico" 3772 3792 msgstr "" 3773 3793 3774 3794 #: widgets/file-upload/file-upload.php:158 3775 3795 msgid ".pdf" 3776 3796 msgstr "" 3777 3797 3778 3798 #: widgets/file-upload/file-upload.php:159 3779 3799 msgid ".doc" 3780 3800 msgstr "" 3781 3801 3782 3802 #: widgets/file-upload/file-upload.php:160 3783 3803 msgid ".docx" 3784 3804 msgstr "" 3785 3805 3786 3806 #: widgets/file-upload/file-upload.php:161 3787 3807 msgid ".ppt" 3788 3808 msgstr "" 3789 3809 3790 3810 #: widgets/file-upload/file-upload.php:162 3791 3811 msgid ".pptx" 3792 3812 msgstr "" 3793 3813 3794 3814 #: widgets/file-upload/file-upload.php:163 3795 3815 msgid ".pps" 3796 3816 msgstr "" 3797 3817 3798 3818 #: widgets/file-upload/file-upload.php:164 3799 3819 msgid ".ppsx" 3800 3820 msgstr "" 3801 3821 3802 3822 #: widgets/file-upload/file-upload.php:165 3803 3823 msgid ".odt" 3804 3824 msgstr "" 3805 3825 3806 3826 #: widgets/file-upload/file-upload.php:166 3807 3827 msgid ".xls" 3808 3828 msgstr "" 3809 3829 3810 3830 #: widgets/file-upload/file-upload.php:167 3811 3831 msgid ".xlsx" 3812 3832 msgstr "" 3813 3833 3814 3834 #: widgets/file-upload/file-upload.php:168 3815 3835 msgid ".psd" 3816 3836 msgstr "" 3817 3837 3818 3838 #: widgets/file-upload/file-upload.php:169 3819 3839 msgid ".mp3" 3820 3840 msgstr "" 3821 3841 3822 3842 #: widgets/file-upload/file-upload.php:170 3823 3843 msgid ".m4a" 3824 3844 msgstr "" 3825 3845 3826 3846 #: widgets/file-upload/file-upload.php:171 3827 3847 msgid ".ogg" 3828 3848 msgstr "" 3829 3849 3830 3850 #: widgets/file-upload/file-upload.php:172 3831 3851 msgid ".wav" 3832 3852 msgstr "" 3833 3853 3834 3854 #: widgets/file-upload/file-upload.php:173 3835 3855 msgid ".mp4" 3836 3856 msgstr "" 3837 3857 3838 3858 #: widgets/file-upload/file-upload.php:174 3839 3859 msgid ".m4v" 3840 3860 msgstr "" 3841 3861 3842 3862 #: widgets/file-upload/file-upload.php:175 3843 3863 msgid ".mov" 3844 3864 msgstr "" 3845 3865 3846 3866 #: widgets/file-upload/file-upload.php:176 3847 3867 msgid ".wmv" 3848 3868 msgstr "" 3849 3869 3850 3870 #: widgets/file-upload/file-upload.php:177 3851 3871 msgid ".avi" 3852 3872 msgstr "" 3853 3873 3854 3874 #: widgets/file-upload/file-upload.php:178 3855 3875 msgid ".mpg" 3856 3876 msgstr "" 3857 3877 3858 3878 #: widgets/file-upload/file-upload.php:179 3859 3879 msgid ".ogv" 3860 3880 msgstr "" 3861 3881 3862 3882 #: widgets/file-upload/file-upload.php:180 3863 3883 msgid ".3gp" 3864 3884 msgstr "" 3865 3885 3866 3886 #: widgets/file-upload/file-upload.php:181 3867 3887 msgid ".3g2" 3868 3888 msgstr "" 3869 3889 3870 3890 #: widgets/file-upload/file-upload.php:182 3871 3891 msgid ".zip" 3872 3892 msgstr "" 3873 3893 3874 3894 #: widgets/file-upload/file-upload.php:183 3875 3895 msgid ".csv" 3876 3896 msgstr "" 3877 3897 3878 3898 #: widgets/file-upload/file-upload.php:184 3879 3899 msgid ".stp" 3880 3900 msgstr "" 3881 3901 3882 3902 #: widgets/file-upload/file-upload.php:185 3883 3903 msgid ".stl" 3884 3904 msgstr "" 3885 3905 3886 3906 #: widgets/file-upload/file-upload.php:237 3887 3907 msgid "Icon Size" 3888 3908 msgstr "" 3889 3909 3890 3910 #: widgets/file-upload/file-upload.php:265 3891 3911 msgid "Icon Spacing" 3892 3912 msgstr "" 3893 3913 3894 3914 #: widgets/file-upload/file-upload.php:280 3895 3915 msgid "File Name:" 3896 3916 msgstr "" 3897 3917 3898 3918 #: widgets/file-upload/file-upload.php:294 3899 3919 msgid "Bottom" 3900 3920 msgstr "" 3901 3921 3902 3922 #: widgets/file-upload/file-upload.php:465 3903 3923 msgid "Invalid file extension" 3904 3924 msgstr "" 3905 3925 3906 3926 #: widgets/form-basic.php:12 3907 3927 msgid "MetForm Basic" 3908 3928 msgstr "" 3909 3929 3910 3930 #: widgets/form-basic.php:58 3911 3931 msgid "Select Form : " 3912 3932 msgstr "" 3913 3933 3914 3934 #: widgets/form.php:63 3915 3935 msgid "Select Form: " 3916 3936 msgstr "" 3917 3937 3918 3938 #: widgets/gdpr-consent/gdpr-consent.php:16 3919 3939 msgid "GDPR Consent" 3920 3940 msgstr "" 3921 3941 3922 3942 #: widgets/gdpr-consent/gdpr-consent.php:82 3923 3943 #: widgets/listing-optin/listing-optin.php:64 3924 3944 msgid "Select option name that will be show to user." 3925 3945 msgstr "" 3926 3946 3927 3947 #: widgets/gdpr-consent/gdpr-consent.php:122 3928 3948 #: widgets/listing-optin/listing-optin.php:103 3929 3949 msgid "Input Label" 3930 3950 msgstr "" 3931 3951 3932 3952 #: widgets/listing-fname/listing-fname.php:16 3933 3953 msgid "First Name (Listing)" 3934 3954 msgstr "" 3935 3955 3936 3956 #: widgets/listing-lname/listing-lname.php:16 3937 3957 msgid "Last Name (Listing)" 3938 3958 msgstr "" 3939 3959 3940 3960 #: widgets/listing-optin/listing-optin.php:16 3941 3961 msgid "Opt in ( Listing )" 3942 3962 msgstr "" 3943 3963 3944 3964 #: widgets/listing-optin/listing-optin.php:62 3945 3965 msgid "Subscribe to ours newsletter." 3946 3966 msgstr "" 3947 3967 3948 3968 #: widgets/multi-select/multi-select.php:17 3949 3969 msgid "Multi Select" 3950 3970 msgstr "" 3951 3971 3952 3972 #: widgets/multi-select/multi-select.php:60 widgets/select/select.php:60 3953 3973 msgid "Input Field Text" 3954 3974 msgstr "" 3955 3975 3956 3976 #: widgets/multi-select/multi-select.php:64 widgets/select/select.php:64 3957 3977 msgid "Select list text that will be show to user." 3958 3978 msgstr "" 3959 3979 3960 3980 #: widgets/multi-select/multi-select.php:69 widgets/select/select.php:70 3961 3981 msgid "Input Field Value" 3962 3982 msgstr "" 3963 3983 3964 3984 #: widgets/multi-select/multi-select.php:106 3965 3985 msgid "Multi Select List" 3966 3986 msgstr "" 3967 3987 3968 3988 #: widgets/number/number.php:16 3969 3989 msgid "Number" 3970 3990 msgstr "" 3971 3991 3972 3992 #: widgets/password/password.php:16 3973 3993 msgid "Password" 3974 3994 msgstr "" 3975 3995 3976 3996 #: widgets/radio/radio.php:25 widgets/radio/radio.php:251 3977 3997 msgid "Radio" 3978 3998 msgstr "" 3979 3999 3980 4000 #: widgets/radio/radio.php:81 3981 4001 msgid "Radio option display style." 3982 4002 msgstr "" 3983 4003 3984 4004 #: widgets/radio/radio.php:91 3985 4005 msgid "After Radio" 3986 4006 msgstr "" 3987 4007 3988 4008 #: widgets/radio/radio.php:92 3989 4009 msgid "Before Radio" 3990 4010 msgstr "" 3991 4011 3992 4012 #: widgets/radio/radio.php:103 3993 4013 msgid "Radio Option Text" 3994 4014 msgstr "" 3995 4015 3996 4016 #: widgets/radio/radio.php:151 3997 4017 msgid "Radio Options" 3998 4018 msgstr "" 3999 4019 4000 4020 #: widgets/radio/radio.php:307 widgets/radio/radio.php:332 4001 4021 msgid "Radio Color" 4002 4022 msgstr "" 4003 4023 4004 4024 #: widgets/radio/radio.php:376 4005 4025 msgid "Add space after radio" 4006 4026 msgstr "" 4007 4027 4008 4028 #: widgets/range/range.php:16 4009 4029 msgid "Range Slider" 4010 4030 msgstr "" 4011 4031 4012 4032 #: widgets/range/range.php:88 4013 4033 msgid "Steps" 4014 4034 msgstr "" 4015 4035 4016 4036 #: widgets/range/range.php:97 4017 4037 msgid "Dual range input:" 4018 4038 msgstr "" 4019 4039 4020 4040 #: widgets/range/range.php:110 4021 4041 msgid "" 4022 4042 "<strong>Important Note : </strong> For taking dual range input, You have to " 4023 4043 "enter dual default value in the field Value (Exactly bottom of this notice " 4024 4044 "field. ). Example: Min:10, Max:20" 4025 4045 msgstr "" 4026 4046 4027 4047 #: widgets/range/range.php:121 4028 4048 msgid "Value" 4029 4049 msgstr "" 4030 4050 4031 4051 #: widgets/range/range.php:164 4032 4052 msgid "Range" 4033 4053 msgstr "" 4034 4054 4035 4055 #: widgets/range/range.php:176 4036 4056 msgid "Counter" 4037 4057 msgstr "" 4038 4058 4039 4059 #: widgets/range/range.php:199 widgets/switch/switch.php:149 4040 4060 #: widgets/textarea/textarea.php:102 4041 4061 msgid "Height" 4042 4062 msgstr "" 4043 4063 4044 4064 #: widgets/rating/rating.php:16 4045 4065 msgid "Rating" 4046 4066 msgstr "" 4047 4067 4048 4068 #: widgets/rating/rating.php:67 4049 4069 msgid "Number of rating star : " 4050 4070 msgstr "" 4051 4071 4052 4072 #: widgets/recaptcha/recaptcha.php:13 4053 4073 msgid "reCAPTCHA" 4054 4074 msgstr "" 4055 4075 4056 4076 #: widgets/recaptcha/recaptcha.php:44 4057 4077 msgid "reCAPTCHA configure: " 4058 4078 msgstr "" 4059 4079 4060 4080 #: widgets/recaptcha/recaptcha.php:54 4061 4081 msgid "Add Extra Class Name : " 4062 4082 msgstr "" 4063 4083 4064 4084 #: widgets/recaptcha/recaptcha.php:107 4065 4085 msgid "reCAPTCHA is required." 4066 4086 msgstr "" 4067 4087 4068 4088 #: widgets/recaptcha/recaptcha.php:145 widgets/recaptcha/recaptcha.php:180 4069 4089 msgid "reCAPTCHA will be shown on preview." 4070 4090 msgstr "" 4071 4091 4072 4092 #: widgets/select/select.php:17 widgets/select/select.php:266 4073 4093 msgid "Select" 4074 4094 msgstr "" 4075 4095 4076 4096 #: widgets/select/select.php:110 4077 4097 msgid "Custom" 4078 4098 msgstr "" 4079 4099 4080 4100 #: widgets/select/select.php:111 4081 4101 msgid "CSV File" 4082 4102 msgstr "" 4083 4103 4084 4104 #: widgets/select/select.php:120 4085 4105 msgid "Dropdown List" 4086 4106 msgstr "" 4087 4107 4088 4108 #: widgets/select/select.php:152 4089 4109 msgid "File Type" 4090 4110 msgstr "" 4091 4111 4092 4112 #: widgets/select/select.php:155 4093 4113 msgid "Upload File" 4094 4114 msgstr "" 4095 4115 4096 4116 #: widgets/select/select.php:156 4097 4117 msgid "Remote File URL" 4098 4118 msgstr "" 4099 4119 4100 4120 #: widgets/select/select.php:168 4101 4121 msgid "Upload CSV File" 4102 4122 msgstr "" 4103 4123 4104 4124 #: widgets/select/select.php:169 widgets/select/select.php:183 4105 4125 msgid "CSV file must have format like: Label, Value, true/false(optional)" 4106 4126 msgstr "" 4107 4127 4108 4128 #: widgets/select/select.php:182 4109 4129 msgid "Enter a CSV File URL" 4110 4130 msgstr "" 4111 4131 4112 4132 #: widgets/select/select.php:278 4113 4133 msgid "Options Wrapper" 4114 4134 msgstr "" 4115 4135 4116 4136 #: widgets/select/select.php:333 4117 4137 msgid "Option" 4118 4138 msgstr "" 4119 4139 4120 4140 #: widgets/select/select.php:473 4121 4141 msgid "Selected" 4122 4142 msgstr "" 4123 4143 4124 4144 #: widgets/select/select.php:633 4125 4145 msgid "" 4126 4146 "Your CSV data is not formatted properly. CSV file must have format like: " 4127 4147 "Label, Value, true/false(optional) default true" 4128 4148 msgstr "" 4129 4149 4130 4150 #: widgets/simple-captcha/simple-captcha.php:22 4131 4151 msgid "Simple Captcha" 4132 4152 msgstr "" 4133 4153 4134 4154 #: widgets/simple-captcha/simple-captcha.php:62 4135 4155 msgid "Label Position" 4136 4156 msgstr "" 4137 4157 4138 4158 #: widgets/simple-captcha/simple-captcha.php:83 4139 4159 msgid "Input captcha display" 4140 4160 msgstr "" 4141 4161 4142 4162 #: widgets/simple-captcha/simple-captcha.php:87 4143 4163 msgid "Block" 4144 4164 msgstr "" 4145 4165 4146 4166 #: widgets/simple-captcha/simple-captcha.php:88 4147 4167 msgid "Inline" 4148 4168 msgstr "" 4149 4169 4150 4170 #: widgets/simple-captcha/simple-captcha.php:90 4151 4171 msgid "Select input and captcha display property." 4152 4172 msgstr "" 4153 4173 4154 4174 #: widgets/simple-captcha/simple-captcha.php:263 4155 4175 msgid "Refresh Captcha" 4156 4176 msgstr "" 4157 4177 4158 4178 #: widgets/simple-captcha/simple-captcha.php:357 4159 4179 msgid "Captcha didn't matched." 4160 4180 msgstr "" 4161 4181 4162 4182 #: widgets/simple-captcha/simple-captcha.php:393 4163 4183 msgid "Entry captcha from the picture" 4164 4184 msgstr "" 4165 4185 4166 4186 #: widgets/summary/summary.php:16 4167 4187 msgid "Summary" 4168 4188 msgstr "" 4169 4189 4170 4190 #: widgets/summary/summary.php:149 4171 4191 msgid "Summary will be shown on preview." 4172 4192 msgstr "" 4173 4193 4174 4194 #: widgets/switch/switch.php:16 4175 4195 msgid "Switch" 4176 4196 msgstr "" 4177 4197 4178 4198 #: widgets/switch/switch.php:46 4179 4199 msgid "Active Text" 4180 4200 msgstr "" 4181 4201 4182 4202 #: widgets/switch/switch.php:55 4183 4203 msgid "Inactive Text" 4184 4204 msgstr "" 4185 4205 4186 4206 #: widgets/switch/switch.php:165 4187 4207 msgid "Input Active Color" 4188 4208 msgstr "" 4189 4209 4190 4210 #: widgets/switch/switch.php:185 4191 4211 msgid "Active and Inactive Text:" 4192 4212 msgstr "" 4193 4213 4194 4214 #: widgets/switch/switch.php:197 4195 4215 msgid "Inactive" 4196 4216 msgstr "" 4197 4217 4198 4218 #: widgets/telephone/telephone.php:16 4199 4219 msgid "Telephone" 4200 4220 msgstr "" 4201 4221 4202 4222 #: widgets/text/text.php:17 4203 4223 msgid "Text" 4204 4224 msgstr "" 4205 4225 4206 4226 #: widgets/textarea/textarea.php:17 4207 4227 msgid "Textarea" 4208 4228 msgstr "" 4209 4229 4210 4230 #: widgets/time/time.php:20 4211 4231 msgid "Time" 4212 4232 msgstr "" 4213 4233 4214 4234 #: widgets/time/time.php:71 4215 4235 msgid "Use time 24H" 4216 4236 msgstr "" 4217 4237 4218 4238 #: widgets/url/url.php:16 4219 4239 msgid "URL" 4220 4240 msgstr "" 4221 4241 4222 4242 #: widgets/url/url.php:153 4223 4243 msgid "Please enter a valid URL" 4224 4244 msgstr "" 4225 4245 4226 4246 #: widgets/widget-notice.php:18 4227 4247 msgid "Go Pro for More Features" 4228 4248 msgstr "" 4229 4249 4230 4250 #: widgets/widget-notice.php:25 4231 4251 msgid "Unlock more possibilities" 4232 4252 msgstr "" 4233 4253 4234 4254 #. Plugin URI of the plugin/theme 4235 4255 msgid "http://products.wpmet.com/metform/" 4236 4256 msgstr "" 4237 4257 4238 4258 #. Description of the plugin/theme 4239 4259 msgid "Most flexible and design friendly form builder for Elementor" 4240 4260 msgstr "" 4241 4261 4242 4262 #. Author of the plugin/theme 4243 4263 msgid "Wpmet" 4244 4264 msgstr "" 4245 4265 4246 4266 #. Author URI of the plugin/theme 4247 4267 msgid "https://wpmet.com" 4248 4268 msgstr "" 4249 4269 4250 4270 #: core/entries/cpt.php:14 4251 4271 msgctxt "Post Type General Name" 4252 4272 msgid "Entries" 4253 4273 msgstr "" 4254 4274 4255 4275 #: core/forms/cpt.php:472 4256 4276 msgctxt "Post Type General Name" 4257 4277 msgid "Forms" 4258 4278 msgstr "" 4259 4279 4260 4280 #: core/entries/cpt.php:15 4261 4281 msgctxt "Post Type Singular Name" 4262 4282 msgid "Entry" 4263 4283 msgstr "" 4264 4284 4265 4285 #: core/forms/cpt.php:473 4266 4286 msgctxt "Post Type Singular Name" 4267 4287 msgid "Form" 4268 4288 msgstr "" 4269 4289 4270 4290 #: traits/button-controls.php:262 4271 4291 msgctxt "Border Control" 4272 4292 msgid "Border Type" 4273 4293 msgstr "" 4274 4294 4275 4295 #: traits/button-controls.php:266 4276 4296 msgctxt "Border Control" 4277 4297 msgid "Solid" 4278 4298 msgstr "" 4279 4299 4280 4300 #: traits/button-controls.php:267 4281 4301 msgctxt "Border Control" 4282 4302 msgid "Double" 4283 4303 msgstr "" 4284 4304 4285 4305 #: traits/button-controls.php:268 4286 4306 msgctxt "Border Control" 4287 4307 msgid "Dotted" 4288 4308 msgstr "" 4289 4309 4290 4310 #: traits/button-controls.php:269 4291 4311 msgctxt "Border Control" 4292 4312 msgid "Dashed" 4293 4313 msgstr "" 4294 4314 4295 4315 #: traits/button-controls.php:270 4296 4316 msgctxt "Border Control" 4297 4317 msgid "Groove" 4298 4318 msgstr "" 4299 4319 4300 4320 #: traits/button-controls.php:282 4301 4321 msgctxt "Border Control" 4302 4322 msgid "Width" 4303 4323 msgstr "" 4304 4324 4305 4325 #: traits/button-controls.php:308 traits/button-controls.php:331 4306 4326 msgctxt "Border Control" 4307 4327 msgid "Color" 4308 4328 msgstr "" -
metform/trunk/metform.php
r2896914 r2907471 1 1 <?php 2 2 /** 3 3 * Plugin Name: MetForm 4 4 * Plugin URI: http://products.wpmet.com/metform/ 5 5 * Description: Most flexible and design friendly form builder for Elementor 6 * Version: 3.3. 06 * Version: 3.3.1 7 7 * Author: Wpmet 8 8 * Author URI: https://wpmet.com 9 9 * Text Domain: metform 10 10 * Domain Path: /languages 11 11 * License: GPL-2.0+ 12 12 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 13 13 */ 14 14 15 15 defined( 'ABSPATH' ) || exit; 16 16 17 17 require_once plugin_dir_path( __FILE__ ) . 'utils/notice/notice.php'; 18 18 require_once plugin_dir_path( __FILE__ ) . 'utils/banner/banner.php'; 19 19 20 20 require_once plugin_dir_path( __FILE__ ) . 'utils/stories/stories.php'; 21 21 require_once plugin_dir_path( __FILE__ ) . 'utils/pro-awareness/pro-awareness.php'; 22 22 require_once plugin_dir_path( __FILE__ ) . 'utils/rating/rating.php'; 23 23 24 24 require plugin_dir_path( __FILE__ ) .'autoloader.php'; 25 25 require plugin_dir_path( __FILE__ ) .'plugin.php'; 26 26 27 27 // init notice class 28 28 \Oxaim\Libs\Notice::init(); 29 29 // \Wpmet\Rating\Rating::init(); 30 30 \Wpmet\Libs\Pro_Awareness::init(); 31 31 32 32 33 33 register_activation_hook( __FILE__, [ MetForm\Plugin::instance(), 'flush_rewrites'] ); 34 34 35 35 add_action( 'plugins_loaded', function(){ 36 36 do_action('metform/before_load'); 37 37 MetForm\Plugin::instance()->init(); 38 38 do_action('metform/after_load'); 39 39 }, 111); 40 40 41 41 42 42 // Added Date: 20/07/2022 43 43 add_action('plugins_loaded', function(){ 44 44 if(class_exists('MetForm_Pro\Core\Integrations\Crm\Hubspot\Integration')){ 45 45 return; 46 46 } 47 47 require trailingslashit(plugin_dir_path(__FILE__)) . "core/integrations/crm/hubspot/loader.php"; 48 48 }, 222); -
metform/trunk/plugin.php
r2896914 r2907471 1 1 <?php 2 2 3 3 namespace MetForm; 4 4 5 5 use MetForm\Core\Integrations\Onboard\Attr; 6 6 use MetForm\Core\Integrations\Onboard\Onboard; 7 7 8 8 defined('ABSPATH') || exit; 9 9 10 10 final class Plugin { 11 11 12 12 private static $instance; 13 13 14 14 private $entries; 15 15 private $global_settings; 16 16 17 17 public function __construct() 18 18 { 19 19 Autoloader::run(); 20 20 add_action( 'wp_head', array( $this, 'add_meta_for_search_excluded' ) ); 21 21 add_action( 'init', array ($this, 'permalink_setup')); 22 22 } 23 23 24 24 public function version() 25 25 { 26 return '3.3. 0';26 return '3.3.1'; 27 27 } 28 28 29 29 public function package_type() 30 30 { 31 31 return apply_filters( 'metform/core/package_type', 'free' ); 32 32 } 33 33 34 34 public function plugin_url() 35 35 { 36 36 return trailingslashit(plugin_dir_url(__FILE__)); 37 37 } 38 38 39 39 public function plugin_dir() 40 40 { 41 41 return trailingslashit(plugin_dir_path(__FILE__)); 42 42 } 43 43 44 44 public function core_url() 45 45 { 46 46 return $this->plugin_url() . 'core/'; 47 47 } 48 48 49 49 public function core_dir() 50 50 { 51 51 return $this->plugin_dir() . 'core/'; 52 52 } 53 53 54 54 public function base_url() 55 55 { 56 56 return $this->plugin_url() . 'base/'; 57 57 } 58 58 59 59 public function base_dir() 60 60 { 61 61 return $this->plugin_dir() . 'base/'; 62 62 } 63 63 64 64 public function utils_url() 65 65 { 66 66 return $this->plugin_url() . 'utils/'; 67 67 } 68 68 69 69 public function utils_dir() 70 70 { 71 71 return $this->plugin_dir() . 'utils/'; 72 72 } 73 73 74 74 public function widgets_url() 75 75 { 76 76 return $this->plugin_url() . 'widgets/'; 77 77 } 78 78 79 79 public function widgets_dir() 80 80 { 81 81 return $this->plugin_dir() . 'widgets/'; 82 82 } 83 83 84 84 public function public_url() 85 85 { 86 86 return $this->plugin_url() . 'public/'; 87 87 } 88 88 89 89 public function public_dir() 90 90 { 91 91 return $this->plugin_dir() . 'public/'; 92 92 } 93 93 94 94 public function account_url(){ 95 95 return 'https://account.wpmet.com'; 96 96 } 97 97 98 98 public function i18n() 99 99 { 100 100 load_plugin_textdomain('metform', false, dirname(plugin_basename(__FILE__)) . '/languages/'); 101 101 } 102 102 103 103 public function init() 104 104 { 105 105 /** 106 106 * ---------------------------------------- 107 107 * Ask for rating ⭐⭐⭐⭐⭐ 108 108 * A rating notice will appear depends on 109 109 * @set_first_appear_day methods 110 110 * ---------------------------------------- 111 111 */ 112 112 Onboard::instance()->init(); 113 113 114 114 if(isset($_GET['met-onboard-steps']) && isset($_GET['met-onboard-steps-nonce']) && wp_verify_nonce(sanitize_text_field(wp_unslash($_GET['met-onboard-steps-nonce'])),'met-onboard-steps-action')) { 115 115 Attr::instance(); 116 116 } 117 117 118 118 \Wpmet\Libs\Rating::instance('metform') 119 119 ->set_plugin_logo('https://ps.w.org/metform/assets/icon-128x128.png') 120 120 ->set_plugin('Metform', 'https://wpmet.com/wordpress.org/rating/metform') 121 121 ->set_allowed_screens('edit-metform-entry') 122 122 ->set_allowed_screens('edit-metform-form') 123 123 ->set_allowed_screens('metform_page_metform_get_help') 124 124 ->set_priority(30) 125 125 ->set_first_appear_day(7) 126 126 ->set_condition(true) 127 127 ->call(); 128 128 129 129 130 130 $filter_string = ''; // elementskit,metform-pro 131 131 $filter_string .= ((!in_array('elementskit/elementskit.php', apply_filters('active_plugins', get_option('active_plugins')))) ? '' : ',elementskit'); 132 132 $filter_string .= (!class_exists('\MetForm\Plugin') ? '' : ',metform'); 133 133 $filter_string .= (!class_exists('\MetForm_Pro\Plugin') ? '' : ',metform-pro'); 134 134 135 135 // banner 136 136 \Wpmet\Libs\Banner::instance('metform') 137 137 ->set_filter(ltrim($filter_string, ',')) 138 138 ->set_api_url('https://api.wpmet.com/public/jhanda') 139 139 ->set_plugin_screens('edit-metform-form') 140 140 ->set_plugin_screens('edit-metform-entry') 141 141 ->set_plugin_screens('metform_page_metform-menu-settings') 142 142 ->call(); 143 143 144 144 145 145 146 146 /** 147 147 * Show WPMET stories widget in dashboard 148 148 */ 149 149 \Wpmet\Libs\Stories::instance('metform') 150 150 151 151 ->set_filter($filter_string) 152 152 ->set_plugin('Metform', 'https://wpmet.com/plugin/metform/') 153 153 ->set_api_url('https://api.wpmet.com/public/stories/') 154 154 ->call(); 155 155 156 156 /** 157 157 * Pro awareness feature; 158 158 */ 159 159 160 160 $is_pro_active = ''; 161 161 162 162 if (!in_array('metform-pro/metform-pro.php', apply_filters('active_plugins', get_option('active_plugins')))) { 163 163 $is_pro_active = 'Go Premium'; 164 164 } 165 165 166 166 $pro_awareness = \Wpmet\Libs\Pro_Awareness::instance('metform'); 167 167 if(version_compare($pro_awareness->get_version(), '1.2.0', '>=')) { 168 168 $pro_awareness 169 169 ->set_parent_menu_slug('metform-menu') 170 170 ->set_pro_link( 171 171 (in_array('metform-pro/metform-pro.php', apply_filters('active_plugins', get_option('active_plugins')))) ? '' : 172 172 'https://wpmet.com/metform-pricing' 173 173 ) 174 174 ->set_plugin_file('metform/metform.php') 175 175 ->set_default_grid_thumbnail($this->utils_url() . '/pro-awareness/assets/images/support.png') 176 176 ->set_page_grid([ 177 177 'url' => 'https://wpmet.com/fb-group', 178 178 'title' => 'Join the Community', 179 179 'thumbnail' => $this->utils_url() . '/pro-awareness/assets/images/community.png', 180 180 'description' => 'Join our Facebook group to get 20% discount coupon on premium products. Follow us to get more exciting offers.' 181 181 182 182 ]) 183 183 ->set_page_grid([ 184 184 'url' => 'https://www.youtube.com/playlist?list=PL3t2OjZ6gY8NoB_48DwWKUDRtBEuBOxSc', 185 185 'title' => 'Video Tutorials', 186 186 'thumbnail' => $this->utils_url() . '/pro-awareness/assets/images/videos.png', 187 187 'description' => 'Learn the step by step process for developing your site easily from video tutorials.' 188 188 ]) 189 189 ->set_page_grid([ 190 190 'url' => 'https://wpmet.com/plugin/metform/roadmaps#ideas', 191 191 'title' => 'Request a feature', 192 192 'thumbnail' => $this->utils_url() . '/pro-awareness/assets/images/request.png', 193 193 'description' => 'Have any special feature in mind? Let us know through the feature request.' 194 194 ]) 195 195 ->set_page_grid([ 196 196 'url' => 'https://wpmet.com/doc/metform/', 197 197 'title' => 'Documentation', 198 198 'thumbnail' => $this->utils_url() . 'pro-awareness/assets/images/documentation.png', 199 199 'description' => 'Detailed documentation to help you understand the functionality of each feature.' 200 200 ]) 201 201 ->set_page_grid([ 202 202 'url' => 'https://wpmet.com/plugin/metform/roadmaps/', 203 203 'title' => 'Public Roadmap', 204 204 'thumbnail' => $this->utils_url() . 'pro-awareness/assets/images/roadmaps.png', 205 205 'description' => 'Check our upcoming new features, detailed development stories and tasks' 206 206 ]) 207 207 208 208 // set wpmet products 209 209 ->set_products([ 210 210 'url' => 'https://getgenie.ai/', 211 211 'title' => 'GetGenie', 212 212 'thumbnail' => $this->core_url() . 'integrations/onboard/assets/images/products/getgenie-logo.svg', 213 213 'description' => 'Your AI-Powered Content & SEO Assistant for WordPress', 214 214 ]) 215 215 ->set_products([ 216 216 'url' => 'https://wpmet.com/plugin/shopengine/', 217 217 'title' => 'ShopEngine', 218 218 'thumbnail' => $this->core_url() . 'integrations/onboard/assets/images/products/shopengine-logo.svg', 219 219 'description' => 'Complete WooCommerce Solution for Elementor', 220 220 ]) 221 221 ->set_products([ 222 222 'url' => 'https://wpmet.com/plugin/metform/', 223 223 'title' => 'MetForm', 224 224 'thumbnail' => $this->core_url() . 'integrations/onboard/assets/images/products/metform-logo.svg', 225 225 'description' => 'Most flexible drag-and-drop form builder' 226 226 ]) 227 227 ->set_products([ 228 228 'url' => 'https://wpmet.com/plugin/wp-social/', 229 229 'title' => 'WP Social', 230 230 'thumbnail' => $this->core_url() . 'integrations/onboard/assets/images/products/wp-social-logo.svg', 231 231 'description' => 'Integrate all your social media to your website' 232 232 ]) 233 233 ->set_products([ 234 234 'url' => 'https://wpmet.com/plugin/wp-ultimate-review/?ref=wpmet', 235 235 'title' => 'Ultimate Review', 236 236 'thumbnail' => $this->core_url() . 'integrations/onboard/assets/images/products/ultimate-review-logo.svg', 237 237 'description' => 'Integrate various styled review system in your website' 238 238 ]) 239 239 ->set_products([ 240 240 'url' => 'https://products.wpmet.com/crowdfunding/?ref=wpmet', 241 241 'title' => 'Fundraising & Donation Platform', 242 242 'thumbnail' => $this->core_url() . 'integrations/onboard/assets/images/products/wp-fundraising-logo.svg', 243 243 'description' => 'Enable donation system in your website' 244 244 ]) 245 245 246 246 ->set_plugin_row_meta('Documentation', 'https://help.wpmet.com/docs-cat/metform/', ['target' => '_blank']) 247 247 ->set_plugin_row_meta('Facebook Community', 'https://wpmet.com/fb-group', ['target' => '_blank']) 248 248 ->set_plugin_row_meta('Rate the plugin ★★★★★', 'https://wordpress.org/support/plugin/metform/reviews/#new-post', ['target' => '_blank']) 249 249 ->set_plugin_action_link('Settings', admin_url() . 'admin.php?page=metform-menu-settings') 250 250 ->set_plugin_action_link($is_pro_active, 'https://wpmet.com/plugin/metform', ['target' => '_blank', 'style' => 'color: #FCB214; font-weight: bold;']) 251 251 ->call(); 252 252 } 253 253 254 254 255 255 256 256 // Check if Elementor installed and activated. 257 257 if (!did_action('elementor/loaded')) { 258 258 $this->missing_elementor(); 259 259 return; 260 260 } 261 261 // Check for required Elementor version. 262 262 if (!version_compare(ELEMENTOR_VERSION, '3.0.1', '>=')) { 263 263 $this->failed_elementor_version(); 264 264 // add_action('admin_notices', array($this, 'failed_elementor_version')); 265 265 return; 266 266 } 267 267 268 268 // pro available notice 269 269 if (!file_exists(WP_PLUGIN_DIR . '/metform-pro/metform-pro.php')) { 270 270 $this->available_metform_pro(); 271 271 // add_action('admin_notices', [$this, 'available_metform_pro']); 272 272 } 273 273 274 274 if (current_user_can('manage_options')) { 275 275 add_action('admin_menu', [$this, 'admin_menu']); 276 276 } 277 277 278 278 add_action('elementor/editor/before_enqueue_scripts', [$this, 'edit_view_scripts']); 279 279 add_action( 'elementor/editor/after_enqueue_scripts', [$this, 'metform_editor_script'] ); 280 280 281 281 add_action('init', [$this, 'i18n']); 282 282 283 283 add_action('admin_enqueue_scripts', [$this, 'js_css_admin']); 284 284 add_action('wp_enqueue_scripts', [$this, 'js_css_public']); 285 285 add_action('elementor/frontend/before_enqueue_scripts', [$this, 'elementor_js']); 286 286 287 287 add_action('elementor/editor/before_enqueue_styles', [$this, 'elementor_css']); 288 288 289 289 add_action('admin_footer', [$this, 'footer_data']); 290 290 291 291 Core\Forms\Base::instance()->init(); 292 292 Controls\Base::instance()->init(); 293 293 $this->entries = Core\Entries\Base::instance(); 294 294 295 295 Widgets\Manifest::instance()->init(); 296 296 297 297 // settings page 298 298 Core\Admin\Base::instance()->init(); 299 299 300 300 Core\Forms\Auto_Increment_Entry::instance(); 301 301 } 302 302 303 303 function metform_editor_script(){ 304 304 wp_enqueue_script('editor-panel-script', $this->public_url() . '/assets/js/editor-panel.js', ['jquery'], $this->version(), true); 305 305 } 306 306 307 307 function js_css_public() 308 308 { 309 309 $this->global_settings = \MetForm\Core\Admin\Base::instance()->get_settings_option(); 310 310 $is_form_cpt = ('metform-form' === get_post_type()); 311 311 312 312 wp_register_style('metform-ui', $this->public_url() . 'assets/css/metform-ui.css', false, $this->version()); 313 313 314 314 wp_register_style('metform-style', $this->public_url() . 'assets/css/style.css', false, $this->version()); 315 315 316 316 wp_register_script('htm', $this->public_url() . 'assets/js/htm.js', null, $this->version(), true); 317 317 318 318 wp_register_script('metform-app', $this->public_url() . 'assets/js/app.js', ['htm', 'jquery', 'wp-element'], $this->version(), true); 319 319 320 320 wp_localize_script('metform-app', 'mf', [ 321 321 'postType' => get_post_type(), 322 322 'restURI' => get_rest_url(null, 'metform/v1/forms/views/'), 323 323 ]); 324 324 325 325 // Recaptcha Support Script. 326 326 wp_register_script( 'recaptcha-support', $this->public_url() . 'assets/js/recaptcha-support.js', ['jquery'], $this->version(), true ); 327 327 328 328 329 329 // begins pro feature 330 330 // begins for mf-simple-repeater 331 331 wp_register_style('asRange', $this->public_url() . 'assets/css/asRange.min.css', false, $this->version()); 332 332 wp_register_script('asRange', $this->public_url() . 'assets/js/jquery-asRange.min.js', [], $this->version(), true); 333 333 334 334 wp_register_style('mf-select2', $this->public_url() . 'assets/css/select2.min.css', false, $this->version()); 335 335 wp_register_script('mf-select2', $this->public_url() . 'assets/js/select2.min.js', [], $this->version(), true); 336 336 // ends for mf-simple-repeater 337 337 338 338 wp_register_script('recaptcha-v2', 'https://google.com/recaptcha/api.js?render=explicit', [], null, true); 339 339 340 340 if (isset($this->global_settings['mf_recaptcha_version']) && ($this->global_settings['mf_recaptcha_version'] == 'recaptcha-v3') && isset($this->global_settings['mf_recaptcha_site_key_v3']) && ($this->global_settings['mf_recaptcha_site_key_v3'] != '')) { 341 341 wp_register_script('recaptcha-v3', 'https://www.google.com/recaptcha/api.js?render=' . $this->global_settings['mf_recaptcha_site_key_v3'], [], $this->version(), false); 342 342 } 343 343 344 344 if (isset($this->global_settings['mf_google_map_api_key']) && ($this->global_settings['mf_google_map_api_key'] != '')) { 345 345 wp_register_script('maps-api', 'https://maps.googleapis.com/maps/api/js?key=' . $this->global_settings['mf_google_map_api_key'] . '&libraries=places&&callback=mfMapLocation', [], '', true); 346 346 } 347 347 348 348 // for date, time, simple repeater 349 349 wp_deregister_style('flatpickr'); // flatpickr stylesheet 350 350 wp_register_style('flatpickr', $this->public_url() . 'assets/css/flatpickr.min.css', false, $this->version()); // flatpickr stylesheet 351 351 // ends pro feature 352 352 353 353 354 354 if($is_form_cpt){ 355 355 wp_enqueue_style('metform-ui'); 356 356 wp_enqueue_style('metform-style'); 357 357 wp_enqueue_script('htm'); 358 358 wp_enqueue_script('metform-app'); 359 359 } 360 360 361 361 do_action('metform/onload/enqueue_scripts'); 362 362 } 363 363 364 364 public function edit_view_scripts() 365 365 { 366 366 wp_enqueue_style('metform-ui', $this->public_url() . 'assets/css/metform-ui.css', false, $this->version()); 367 367 wp_enqueue_style('metform-admin-style', $this->public_url() . 'assets/css/admin-style.css', false, null); 368 368 369 369 370 370 wp_enqueue_script('metform-ui', $this->public_url() . 'assets/js/ui.min.js', [], $this->version(), true); 371 371 wp_enqueue_script('metform-admin-script', $this->public_url() . 'assets/js/admin-script.js', [], null, true); 372 372 373 373 wp_add_inline_script('metform-admin-script', " 374 374 var metform_api = { 375 375 resturl: '" . get_rest_url() . "' 376 376 } 377 377 "); 378 378 } 379 379 380 380 public function elementor_js() 381 381 { 382 382 } 383 383 384 384 public function elementor_css() 385 385 { 386 386 if ('metform-form' == get_post_type()) { 387 387 wp_enqueue_style('metform-category-top', $this->public_url() . 'assets/css/category-top.css', false, $this->version()); 388 388 } 389 389 } 390 390 391 391 function js_css_admin() 392 392 { 393 393 wp_enqueue_style( 'mf-wp-dashboard', $this->core_url() . 'admin/css/mf-wp-dashboard.css', [], $this->version() ); 394 394 395 395 $screen = get_current_screen(); 396 396 397 397 if (in_array($screen->id, ['edit-metform-form', 'metform_page_mt-form-settings', 'metform-entry', 'metform_page_metform-menu-settings'])) { 398 398 wp_enqueue_style('metform-admin-fonts', $this->public_url() . 'assets/admin-fonts.css', false, $this->version()); 399 399 wp_enqueue_style('metform-ui', $this->public_url() . 'assets/css/metform-ui.css', false, $this->version()); 400 400 wp_enqueue_style('metform-admin-style', $this->public_url() . 'assets/css/admin-style.css', false, null); 401 401 402 402 wp_enqueue_script('metform-ui', $this->public_url() . 'assets/js/ui.min.js', [], $this->version(), true); 403 403 wp_enqueue_script('metform-admin-script', $this->public_url() . 'assets/js/admin-script.js', [], null, true); 404 404 wp_localize_script('metform-admin-script', 'metform_api', ['resturl' => get_rest_url(), 'admin_url' => get_admin_url()]); 405 405 } 406 406 407 407 if ($screen->id == 'edit-metform-entry' || $screen->id == 'metform-entry') { 408 408 wp_enqueue_style('metform-ui', $this->public_url() . 'assets/css/metform-ui.css', false, $this->version()); 409 409 wp_enqueue_script('metform-entry-script', $this->public_url() . 'assets/js/admin-entry-script.js', [], $this->version(), true); 410 410 } 411 411 } 412 412 413 413 /** 414 414 * Excluding Metform form from search engine. 415 415 * 416 416 */ 417 417 public function add_meta_for_search_excluded() { 418 418 if ( in_array(get_post_type(), ['metform-form']) ) { 419 419 echo '<meta name="robots" content="noindex,nofollow" />', "\n"; 420 420 } 421 421 } 422 422 423 423 public function footer_data() 424 424 { 425 425 426 426 $screen = get_current_screen(); 427 427 428 428 if ($screen->id == 'edit-metform-entry') { 429 429 $args = [ 430 430 'post_type' => 'metform-form', 431 431 'post_status' => 'publish', 432 432 'numberposts' => -1, 433 433 ]; 434 434 435 435 $forms = get_posts($args); 436 436 //phpcs:ignore WordPress.Security.NonceVerification -- Nonce can't be added in CPT URL 437 437 $get_form_id = isset($_GET['form_id']) ? sanitize_key($_GET['form_id']) : ''; 438 438 ?> 439 439 <div id='metform-formlist' style='display:none;'><select name='mf_form_id' id='metform-form_id'> 440 440 <option value='all' <?php echo esc_attr(((($get_form_id == 'all') || ($get_form_id == '')) ? 'selected=selected' : '')); ?>>All</option> 441 441 <?php 442 442 443 443 foreach ($forms as $form) { 444 444 $form_list[$form->ID] = $form->post_title; 445 445 ?> 446 446 <option value="<?php echo esc_attr($form->ID); ?>" <?php echo esc_attr(($get_form_id == $form->ID) ? 'selected=selected' : ''); ?>><?php echo esc_html($form->post_title); ?></option> 447 447 <?php 448 448 } 449 449 echo "</select></div>"; 450 450 } 451 451 } 452 452 453 453 function admin_menu() 454 454 { 455 455 add_menu_page( 456 456 esc_html__('MetForm', 'metform'), 457 457 esc_html__('MetForm', 'metform'), 458 458 'read', 459 459 'metform-menu', 460 460 '', 461 461 $this->core_url() . 'admin/images/icon-menu.png', 462 462 5 463 463 ); 464 464 } 465 465 466 466 public function missing_elementor() 467 467 { 468 468 //phpcs:disable WordPress.Security.NonceVerification -- Can't set nonce. Cause it's fire on 'plugins_loaded' hook 469 469 if (isset($_GET['activate'])) { 470 470 unset($_GET['activate']); 471 471 } 472 472 //phpcs:enable 473 473 if (file_exists(WP_PLUGIN_DIR . '/elementor/elementor.php')) { 474 474 $btn['text'] = esc_html__('Activate Elementor', 'metform'); 475 475 $btn['id'] = 'unsupported-elementor-version'; 476 476 $btn['class'] = 'button-primary'; 477 477 $btn['url'] = wp_nonce_url('plugins.php?action=activate&plugin=elementor/elementor.php&plugin_status=all&paged=1', 'activate-plugin_elementor/elementor.php'); 478 478 } else { 479 479 $btn['id'] = 'unsupported-elementor-version'; 480 480 $btn['class'] = 'button-primary'; 481 481 $btn['text'] = esc_html__('Install Elementor', 'metform'); 482 482 $btn['url'] = wp_nonce_url(self_admin_url('update.php?action=install-plugin&plugin=elementor'), 'install-plugin_elementor'); 483 483 } 484 484 485 485 $message = sprintf(esc_html__('MetForm requires Elementor version %1$s+, which is currently NOT RUNNING.', 'metform'), '2.6.0'); 486 486 487 487 \Oxaim\Libs\Notice::instance('metform', 'unsupported-elementor-version') 488 488 ->set_dismiss('global', (3600 * 24 * 15)) 489 489 ->set_message($message) 490 490 ->set_button($btn) 491 491 ->call(); 492 492 } 493 493 494 494 public function available_metform_pro() 495 495 { 496 496 //phpcs:disable WordPress.Security.NonceVerification -- Can't set nonce. Cause it's fire on 'plugins_loaded' hook 497 497 if (isset($_GET['activate'])) { 498 498 unset($_GET['activate']); 499 499 } 500 500 //phpcs:enable 501 501 $btn['text'] = esc_html__('MetForm Pro', 'metform'); 502 502 $btn['url'] = esc_url('https://products.wpmet.com/metform/'); 503 503 $btn['class'] = 'button-primary'; 504 504 505 505 $message = sprintf(esc_html__('We have MetForm Pro version. Check out our pro feature.', 'metform'), '2.6.0'); 506 506 \Oxaim\Libs\Notice::instance('metform', 'unsupported-metform-pro-version') 507 507 ->set_dismiss('global', (3600 * 24 * 15)) 508 508 ->set_message($message) 509 509 ->set_button($btn) 510 510 ->call(); 511 511 } 512 512 513 513 514 514 public function failed_elementor_version() 515 515 { 516 516 517 517 $btn['text'] = esc_html__('Update Elementor', 'metform'); 518 518 $btn['url'] = sprintf(esc_html__('MetForm requires Elementor version %1$s+, which is currently NOT RUNNING.', 'metform'), '2.6.0'); 519 519 $btn['class'] = 'button-primary'; 520 520 521 521 $message = sprintf(esc_html__('We have MetForm Pro version. Check out our pro feature.', 'metform'), '2.6.0'); 522 522 \Oxaim\Libs\Notice::instance('metform', 'unsupported-elementor-version') 523 523 ->set_dismiss('global', (3600 * 24 * 15)) 524 524 ->set_message($message) 525 525 ->set_button($btn) 526 526 ->call(); 527 527 } 528 528 529 529 public function flush_rewrites() 530 530 { 531 531 $form_cpt = new Core\Forms\Cpt(); 532 532 $form_cpt->flush_rewrites(); 533 533 } 534 534 535 535 536 536 public static function instance() 537 537 { 538 538 if (!self::$instance) { 539 539 self::$instance = new self(); 540 540 } 541 541 return self::$instance; 542 542 } 543 543 544 544 public function permalink_setup(){ 545 545 if(isset($_GET['permalink']) && isset($_GET['_wpnonce']) && !wp_verify_nonce(sanitize_text_field(wp_unslash($_GET['_wpnonce'])))) { 546 546 547 return ;547 return; 548 548 } 549 if(get_option('rewrite_rules') =='' && !isset($_GET['permalink'])){ 550 $message = sprintf(esc_html__('Plain permalink is not supported with MetForm. We recommend to use post name as your permalink settings.', 'metform')); 551 \Oxaim\Libs\Notice::instance('metform', 'unsupported-permalink') 552 ->set_type('warning') 553 ->set_message($message) 554 ->set_button([ 555 'url' => wp_nonce_url(self_admin_url('options-permalink.php?permalink=post')), 556 'text' => esc_html__('Change Permalink','metform'), 557 'class' => 'button-primary', 558 ]) 559 ->call(); 560 561 } 562 if(isset($_GET['permalink']) && $_GET['permalink'] == 'post'){ 563 global $wp_rewrite; 564 $wp_rewrite->set_permalink_structure('/%postname%/'); 565 566 //Set the option 567 update_option( "rewrite_rules", false ); 568 569 //Flush the rules and tell it to write htaccess 570 $wp_rewrite->flush_rules( true ); 571 572 add_action('admin_notices', array( $this, 'permalink_structure_update_notice')); 573 } 549 550 if( current_user_can('manage_options') ) { 551 if(get_option('rewrite_rules') =='' && !isset($_GET['permalink'])){ 552 $message = sprintf(esc_html__('Plain permalink is not supported with MetForm. We recommend to use post name as your permalink settings.', 'metform')); 553 \Oxaim\Libs\Notice::instance('metform', 'unsupported-permalink') 554 ->set_type('warning') 555 ->set_message($message) 556 ->set_button([ 557 'url' => wp_nonce_url(self_admin_url('options-permalink.php?permalink=post')), 558 'text' => esc_html__('Change Permalink','metform'), 559 'class' => 'button-primary', 560 ]) 561 ->call(); 562 563 } 564 if(get_option('rewrite_rules') =='' && !isset($_GET['permalink'])){ 565 $message = sprintf(esc_html__('Plain permalink is not supported with MetForm. We recommend to use post name as your permalink settings.', 'metform')); 566 \Oxaim\Libs\Notice::instance('metform', 'unsupported-permalink') 567 ->set_type('warning') 568 ->set_message($message) 569 ->set_button([ 570 'url' => wp_nonce_url(self_admin_url('options-permalink.php?permalink=post')), 571 'text' => esc_html__('Change Permalink','metform'), 572 'class' => 'button-primary', 573 ]) 574 ->call(); 575 576 } 577 if(isset($_GET['permalink']) && $_GET['permalink'] == 'post'){ 578 global $wp_rewrite; 579 $wp_rewrite->set_permalink_structure('/%postname%/'); 580 581 //Set the option 582 update_option( "rewrite_rules", false ); 583 584 //Flush the rules and tell it to write htaccess 585 $wp_rewrite->flush_rules( true ); 586 587 add_action('admin_notices', array( $this, 'permalink_structure_update_notice')); 588 } 589 } 574 590 } 575 591 576 592 public function permalink_structure_update_notice() { 577 593 ?> 578 594 <div class="notice notice-success is-dismissible"> 579 595 <p><b><?php esc_html_e( 'Permalink Structure Updated!', 'metform' ); ?></b></p> 580 596 </div> 581 597 <?php 582 598 } 583 599 } -
metform/trunk/public/assets/css/admin-style.css
r2896914 r2907471 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%}.mf-other-tab .description{margin-top:10px}.mf-other-tab .description .description-highlight{color:red}.mf-setting-switch input[type=checkbox]{display:none}.mf-setting-switch input[type=checkbox]:checked+span::before{content:"Yes";width:55px;height:25px;background-color:#ff433c;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}.mf-setting-switch 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}.mf-setting-switch input[type=checkbox]+span{position:relative;display:block}.mf-setting-switch 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}.mf-setting-switch 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}@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 #mf-hubsopt-fileds{margin-top:10px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group #mf-hubsopt-fileds .mf-input-warning{color:red}.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 .metfrom-btn-refresh-hubsopt-list{margin-left:5px}.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%}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value td .simple-repeater-entry-data-divider:not(:last-child){width:100%;background:rgba(66,63,63,.169);height:1px;margin:6px 0}.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}.metform-add-new-form-model-contents .metform-template-input-con label{display:none}.metform-add-new-form-model-contents .metform-template-form-type label{display:none}.metform-add-new-form-model-contents .metform-editor-input{max-width:100%;height:56px;width:100%;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;border-radius:5px;border:none;padding:0 25px;color:#101010;font-size:18px;line-height:42px;border:1px solid #ccc}.metform-add-new-form-model-contents .metform-editor-input:focus{border:1px solid #a4afb7!important;-webkit-box-shadow:0 15px 25px rgba(0,0,0,.07);box-shadow:0 15px 25px rgba(0,0,0,.07)}.metform-add-new-form-model-contents .metform-editor-input:nth-child(2){margin-top:16px}.metform-templates-list{font-family:roboto,sans-serif}.metform-templates-list .metform-template-radio-data:hover .metform-template-footer-links a{text-decoration:none}.metform-templates-list .metform-template-radio-data:hover .metform-template-footer-links a:hover{color:#93003c}.formpicker_iframe_modal .dialog-widget-content{position:static!important}.formpicker_iframe_modal a{text-decoration:none}.formpicker_iframe_modal>*{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:38px}.formpicker_iframe_modal .metform-form-update-close-btn{position:absolute;right:10px;top:7px;font-size:14px;text-transform:uppercase;background-color:#39b54a;color:#fff;padding:10px 25px;border-radius:100px;z-index:1;cursor:pointer;line-height:15px;padding-top:10px;-webkit-transition:all .4s;transition:all .4s}.formpicker_iframe_modal .metform-form-edit-btn{position:absolute;left:135px;top:0;color:#4285f4;font-size:15px;text-transform:uppercase;padding:18px 0}.formpicker_iframe_modal .metform-form-edit-btn i{margin-right:5px;font-size:18px;margin-top:-2px}#metform-new-form-modalinput-form{position:relative;top:50px;z-index:999;width:622px;background-color:#fff;-webkit-box-shadow:-15px 20px 50px rgba(0,0,0,.16);box-shadow:-15px 20px 50px rgba(0,0,0,.16);padding:15px 0 40px;border-radius:5px;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#metform-new-form-modalinput-form .metform-add-new-form-model-contents{background-color:#fff;border-radius:10px;min-width:auto;padding:10px 38px 38px;overflow-y:scroll;max-height:50vh;border-bottom:1px solid #f2f2f2;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}#metform-new-form-modalinput-form .metform-add-new-form-model-contents::-webkit-scrollbar{display:none}#metform-new-form-modalinput-form .metform-template-radio-data--pro_tag{background:linear-gradient(45deg,#ff6b11 0,#ff324d 100%);color:#fff;padding:0 5px;display:inline-block;position:absolute;right:2px;top:2px;text-transform:uppercase;font-size:10px;border-radius:3px;text-align:center}#metform_form_modal{z-index:2147483647!important;background:rgba(0,0,0,.507)}.metform-add-new-form-model-title{font-size:28px}.elementor-loading-title{display:none}.metform-add-new-form-model-contents{background-color:#fff;min-width:700px;border-radius:10px;padding:10px 38px 38px}.metform-add-new-form-model-contents .metform-editor-input{height:56px;width:100%;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;border-radius:5px;padding:0 22px;color:#101010;font-size:18px;line-height:42px;border:1px solid #ccc}.metform-add-new-form-model-contents .metform-editor-input:focus{outline:0;border:none}.metform-templates-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px}.metform-templates-list li{margin-left:16px;margin-bottom:16px;-webkit-box-flex:0;-ms-flex:0 0 30.4%;flex:0 0 30.4%;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:5px}.metform-templates-list li input{display:none;cursor:pointer}.metform-template-radio-data{min-height:101px;border:1px solid #ccc;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;height:100%;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.metform-templates-list li input:checked+.metform-template-radio-data{border:1px solid #4285f4}.metform-templates-list img{max-width:100%;padding:5px;max-height:180px}.metform-template-footer-content{-ms-flex-item-align:normal;align-self:normal;padding:0 10px;min-height:45px;border-top:1px solid rgba(204,204,204,.5);justify-self:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.metform-template-footer-title{position:static;opacity:1;visibility:visible;-webkit-transition:opacity 1s;transition:opacity 1s}.metform-template-radio-data:hover .metform-template-footer-title{opacity:0;visibility:hidden;position:absolute}.metform-template-footer-links{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;opacity:0;visibility:hidden;position:absolute;-webkit-transition:opacity .4s;transition:opacity .4s}.metform-template-radio-data:hover .metform-template-footer-links{opacity:1;visibility:visible;position:static}.metform-template-footer-title h2{font-size:13px;text-align:left;font-weight:500;color:#6d7882}.metform-template-footer-links a{color:#4285f4;font-size:13px;line-height:15px}.metform-template-footer-links--icon{margin-right:5px}.metform-add-new-form-save-btn,.metform-open-new-form-editor-modal{background-color:#4285f4;border:none;font-size:16px;line-height:42px;color:#fff;border-radius:5px;padding:5px 30px 3px;min-width:170px;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:30px;cursor:pointer}.metform-add-new-form-save-btn{background-color:#d8d8d8;color:#111}.metform-open-new-form-editor-modal>span{margin-right:12px}.metform-add-new-form-modal-close-btn{color:#ff433c;border:2px solid #ff433c;width:30px;height:30px;line-height:27px;text-align:center;border-radius:100px;font-size:17px;position:absolute;top:-10px;right:-10px;background-color:#fff;cursor:pointer;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.2);box-shadow:0 5px 15px rgba(0,0,0,.2)}.metform-add-new-form-modal-close-btn::after,.metform-add-new-form-modal-close-btn::before{content:'';position:absolute;top:0;left:0;width:18px;height:2px;background-color:#ff433c;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:calc(50% - 1px);left:calc(50% - 9px)}.metform-add-new-form-modal-close-btn::after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#formpicker-control-iframe{width:100%;height:75vh}.metform-entry-data table.mf-entry-data tbody tr.mf_wrong_result{background-color:#f2dede}.metform-entry-data table.mf-entry-data tbody tr.mf_correct_result{background-color:#b7f09e}1 body.metform_page_metform-menu-settings{overflow-y:scroll}.elementor-templates-modal__header{position:relative}.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%}.mf-other-tab .description{margin-top:10px}.mf-other-tab .description .description-highlight{color:red}.mf-setting-switch input[type=checkbox]{display:none}.mf-setting-switch input[type=checkbox]:checked+span::before{content:"Yes";width:55px;height:25px;background-color:#ff433c;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}.mf-setting-switch 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}.mf-setting-switch input[type=checkbox]+span{position:relative;display:block}.mf-setting-switch 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}.mf-setting-switch 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}@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 #mf-hubsopt-fileds{margin-top:10px}.attr-modal-dialog-centered .attr-tab-content .mf-input-group #mf-hubsopt-fileds .mf-input-warning{color:red}.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 .metfrom-btn-refresh-hubsopt-list{margin-left:5px}.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%}.metform-entry-data table.mf-entry-data tbody tr.mf-data-value td .simple-repeater-entry-data-divider:not(:last-child){width:100%;background:rgba(66,63,63,.169);height:1px;margin:6px 0}.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}.metform-add-new-form-model-contents .metform-template-input-con label{display:none}.metform-add-new-form-model-contents .metform-template-form-type label{display:none}.metform-add-new-form-model-contents .metform-editor-input{max-width:100%;height:56px;width:100%;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;border-radius:5px;border:none;padding:0 25px;color:#101010;font-size:18px;line-height:42px;border:1px solid #ccc}.metform-add-new-form-model-contents .metform-editor-input:focus{border:1px solid #a4afb7!important;-webkit-box-shadow:0 15px 25px rgba(0,0,0,.07);box-shadow:0 15px 25px rgba(0,0,0,.07)}.metform-add-new-form-model-contents .metform-editor-input:nth-child(2){margin-top:16px}.metform-templates-list{font-family:roboto,sans-serif}.metform-templates-list .metform-template-radio-data:hover .metform-template-footer-links a{text-decoration:none}.metform-templates-list .metform-template-radio-data:hover .metform-template-footer-links a:hover{color:#93003c}.formpicker_iframe_modal .dialog-widget-content{position:static!important;margin:auto}.formpicker_iframe_modal a{text-decoration:none}.formpicker_iframe_modal>*{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:38px}.formpicker_iframe_modal .metform-form-update-close-btn{position:absolute;right:10px;top:7px;font-size:14px;text-transform:uppercase;background-color:#39b54a;color:#fff;padding:10px 25px;border-radius:100px;z-index:1;cursor:pointer;line-height:15px;padding-top:10px;-webkit-transition:all .4s;transition:all .4s}.formpicker_iframe_modal .metform-form-edit-btn{position:absolute;left:135px;top:0;color:#4285f4;font-size:15px;text-transform:uppercase;padding:18px 0}.formpicker_iframe_modal .metform-form-edit-btn i{margin-right:5px;font-size:18px;margin-top:-2px}#metform-new-form-modalinput-form{position:relative;top:50px;z-index:999;width:622px;background-color:#fff;-webkit-box-shadow:-15px 20px 50px rgba(0,0,0,.16);box-shadow:-15px 20px 50px rgba(0,0,0,.16);padding:15px 0 40px;border-radius:5px;text-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#metform-new-form-modalinput-form .metform-add-new-form-model-contents{background-color:#fff;border-radius:10px;min-width:auto;padding:10px 38px 38px;overflow-y:scroll;max-height:50vh;border-bottom:1px solid #f2f2f2;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}#metform-new-form-modalinput-form .metform-add-new-form-model-contents::-webkit-scrollbar{display:none}#metform-new-form-modalinput-form .metform-template-radio-data--pro_tag{background:linear-gradient(45deg,#ff6b11 0,#ff324d 100%);color:#fff;padding:0 5px;display:inline-block;position:absolute;right:2px;top:2px;text-transform:uppercase;font-size:10px;border-radius:3px;text-align:center}#metform_form_modal{z-index:2147483647!important;background:rgba(0,0,0,.507)}.metform-add-new-form-model-title{font-size:28px}.elementor-loading-title{display:none}.metform-add-new-form-model-contents{background-color:#fff;min-width:700px;border-radius:10px;padding:10px 38px 38px}.metform-add-new-form-model-contents .metform-editor-input{height:56px;width:100%;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;border-radius:5px;padding:0 22px;color:#101010;font-size:18px;line-height:42px;border:1px solid #ccc}.metform-add-new-form-model-contents .metform-editor-input:focus{outline:0;border:none}.metform-templates-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px}.metform-templates-list li{margin-left:16px;margin-bottom:16px;-webkit-box-flex:0;-ms-flex:0 0 30.4%;flex:0 0 30.4%;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:5px}.metform-templates-list li input{display:none;cursor:pointer}.metform-template-radio-data{min-height:101px;border:1px solid #ccc;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;height:100%;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.metform-templates-list li input:checked+.metform-template-radio-data{border:1px solid #4285f4}.metform-templates-list img{max-width:100%;padding:5px;max-height:180px}.metform-template-footer-content{-ms-flex-item-align:normal;align-self:normal;padding:0 10px;min-height:45px;border-top:1px solid rgba(204,204,204,.5);justify-self:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.metform-template-footer-title{position:static;opacity:1;visibility:visible;-webkit-transition:opacity 1s;transition:opacity 1s}.metform-template-radio-data:hover .metform-template-footer-title{opacity:0;visibility:hidden;position:absolute}.metform-template-footer-links{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;opacity:0;visibility:hidden;position:absolute;-webkit-transition:opacity .4s;transition:opacity .4s}.metform-template-radio-data:hover .metform-template-footer-links{opacity:1;visibility:visible;position:static}.metform-template-footer-title h2{font-size:13px;text-align:left;font-weight:500;color:#6d7882}.metform-template-footer-links a{color:#4285f4;font-size:13px;line-height:15px}.metform-template-footer-links--icon{margin-right:5px}.metform-add-new-form-save-btn,.metform-open-new-form-editor-modal{background-color:#4285f4;border:none;font-size:16px;line-height:42px;color:#fff;border-radius:5px;padding:5px 30px 3px;min-width:170px;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:30px;cursor:pointer}.metform-add-new-form-save-btn{background-color:#d8d8d8;color:#111}.metform-open-new-form-editor-modal>span{margin-right:12px}.metform-add-new-form-modal-close-btn{color:#ff433c;border:2px solid #ff433c;width:30px;height:30px;line-height:27px;text-align:center;border-radius:100px;font-size:17px;position:absolute;top:-10px;right:-10px;background-color:#fff;cursor:pointer;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.2);box-shadow:0 5px 15px rgba(0,0,0,.2)}.metform-add-new-form-modal-close-btn::after,.metform-add-new-form-modal-close-btn::before{content:'';position:absolute;top:0;left:0;width:18px;height:2px;background-color:#ff433c;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:calc(50% - 1px);left:calc(50% - 9px)}.metform-add-new-form-modal-close-btn::after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#formpicker-control-iframe{width:100%;height:75vh}.metform-entry-data table.mf-entry-data tbody tr.mf_wrong_result{background-color:#f2dede}.metform-entry-data table.mf-entry-data tbody tr.mf_correct_result{background-color:#b7f09e} -
metform/trunk/public/assets/js/app.js
r2896914 r2907471 1 !function(){var e={521:function(e,t){"use strict";function n(e){var t=undefined;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,r(e,t,n))}})),e}function r(e,t,n){var r=n.value;if("function"!=typeof r)throw new Error("@autobind decorator can only be applied to methods not: "+typeof r);var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t))return r;var n=r.bind(this);return o=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),o=!1,n}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return 1===t.length?n.apply(undefined,t):r.apply(undefined,t)},e.exports=t["default"]},527:function(e,t,n){"use strict";n.r(t),n.d(t,{"default":function(){return P}});const r=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],o={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:e=>"undefined"!=typeof console&&console.warn(e),getWeek:e=>{const t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:undefined,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,"static":!1,time_24hr:!1,weekNumbers:!1,wrap:!1},a={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:e=>{const t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1};var i=a;const s=(e,t=2)=>`000${e}`.slice(-1*t),u=e=>!0===e?1:0;function c(e,t){let n;return function(){clearTimeout(n),n=setTimeout((()=>e.apply(this,arguments)),t)}}const l=e=>e instanceof Array?e:[e];function f(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function d(e,t,n){const r=window.document.createElement(e);return t=t||"",n=n||"",r.className=t,n!==undefined&&(r.textContent=n),r}function p(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function h(e,t){return t(e)?e:e.parentNode?h(e.parentNode,t):undefined}function m(e,t){const n=d("div","numInputWrapper"),r=d("input","numInput "+e),o=d("span","arrowUp"),a=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),t!==undefined)for(const e in t)r.setAttribute(e,t[e]);return n.appendChild(r),n.appendChild(o),n.appendChild(a),n}function g(e){try{if("function"==typeof e.composedPath){return e.composedPath()[0]}return e.target}catch(t){return e.target}}const v=()=>undefined,y=(e,t,n)=>n.months[t?"shorthand":"longhand"][e],b={D:v,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:(e,t)=>{e.setHours(parseFloat(t))},H:(e,t)=>{e.setHours(parseFloat(t))},J:(e,t)=>{e.setDate(parseFloat(t))},K:(e,t,n)=>{e.setHours(e.getHours()%12+12*u(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:(e,t)=>{e.setSeconds(parseFloat(t))},U:(e,t)=>new Date(1e3*parseFloat(t)),W:function(e,t,n){const r=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(r-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:(e,t)=>{e.setFullYear(parseFloat(t))},Z:(e,t)=>new Date(t),d:(e,t)=>{e.setDate(parseFloat(t))},h:(e,t)=>{e.setHours(parseFloat(t))},i:(e,t)=>{e.setMinutes(parseFloat(t))},j:(e,t)=>{e.setDate(parseFloat(t))},l:v,m:(e,t)=>{e.setMonth(parseFloat(t)-1)},n:(e,t)=>{e.setMonth(parseFloat(t)-1)},s:(e,t)=>{e.setSeconds(parseFloat(t))},u:(e,t)=>new Date(parseFloat(t)),w:v,y:(e,t)=>{e.setFullYear(2e3+parseFloat(t))}},w={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},C={Z:e=>e.toISOString(),D:function(e,t,n){return t.weekdays.shorthand[C.w(e,t,n)]},F:function(e,t,n){return y(C.n(e,t,n)-1,!1,t)},G:function(e,t,n){return s(C.h(e,t,n))},H:e=>s(e.getHours()),J:function(e,t){return t.ordinal!==undefined?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:(e,t)=>t.amPM[u(e.getHours()>11)],M:function(e,t){return y(e.getMonth(),!0,t)},S:e=>s(e.getSeconds()),U:e=>e.getTime()/1e3,W:function(e,t,n){return n.getWeek(e)},Y:e=>s(e.getFullYear(),4),d:e=>s(e.getDate()),h:e=>e.getHours()%12?e.getHours()%12:12,i:e=>s(e.getMinutes()),j:e=>e.getDate(),l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:e=>s(e.getMonth()+1),n:e=>e.getMonth()+1,s:e=>e.getSeconds(),u:e=>e.getTime(),w:e=>e.getDay(),y:e=>String(e.getFullYear()).substring(2)},O=({config:e=o,l10n:t=a,isMobile:n=!1})=>(r,o,a)=>{const i=a||t;return e.formatDate===undefined||n?o.split("").map(((t,n,o)=>C[t]&&"\\"!==o[n-1]?C[t](r,i,e):"\\"!==t?t:"")).join(""):e.formatDate(r,o,i)},x=({config:e=o,l10n:t=a})=>(n,r,a,i)=>{if(0!==n&&!n)return undefined;const s=i||t;let u;const c=n;if(n instanceof Date)u=new Date(n.getTime());else if("string"!=typeof n&&n.toFixed!==undefined)u=new Date(n);else if("string"==typeof n){const t=r||(e||o).dateFormat,i=String(n).trim();if("today"===i)u=new Date,a=!0;else if(/Z$/.test(i)||/GMT$/.test(i))u=new Date(n);else if(e&&e.parseDate)u=e.parseDate(n,t);else{u=e&&e.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);let r,o=[];for(let e=0,a=0,i="";e<t.length;e++){const c=t[e],l="\\"===c,f="\\"===t[e-1]||l;if(w[c]&&!f){i+=w[c];const e=new RegExp(i).exec(n);e&&(r=!0)&&o["Y"!==c?"push":"unshift"]({fn:b[c],val:e[++a]})}else l||(i+=".");o.forEach((({fn:e,val:t})=>u=e(u,t,s)||u))}u=r?u:undefined}}return u instanceof Date&&!isNaN(u.getTime())?(!0===a&&u.setHours(0,0,0,0),u):(e.errorHandler(new Error(`Invalid date provided: ${c}`)),undefined)};function k(e,t,n=!0){return!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}const D=864e5;function S(e){let t=e.defaultHour,n=e.defaultMinute,r=e.defaultSeconds;if(e.minDate!==undefined){const o=e.minDate.getHours(),a=e.minDate.getMinutes(),i=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<a&&(n=a),t===o&&n===a&&r<i&&(r=e.minDate.getSeconds())}if(e.maxDate!==undefined){const o=e.maxDate.getHours(),a=e.maxDate.getMinutes();t=Math.min(t,o),t===o&&(n=Math.min(a,n)),t===o&&n===a&&(r=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:r}}n(895);function E(e,t){const n={config:Object.assign(Object.assign({},o),_.defaultConfig),l10n:i};function a(e){return e.bind(n)}function v(){const e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(n.calendarContainer!==undefined&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),n.daysContainer!==undefined){const t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(n.weekWrapper!==undefined?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}}))}function b(e){if(0===n.selectedDates.length){const e=n.config.minDate===undefined||k(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),t=S(n.config);e.setHours(t.hours,t.minutes,t.seconds,e.getMilliseconds()),n.selectedDates=[e],n.latestSelectedDateObj=e}e!==undefined&&"blur"!==e.type&&function(e){e.preventDefault();const t="keydown"===e.type,r=g(e),o=r;n.amPM!==undefined&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[u(n.amPM.textContent===n.l10n.amPM[0])]);const a=parseFloat(o.getAttribute("min")),i=parseFloat(o.getAttribute("max")),c=parseFloat(o.getAttribute("step")),l=parseInt(o.value,10),f=e.delta||(t?38===e.which?1:-1:0);let d=l+c*f;if("undefined"!=typeof o.value&&2===o.value.length){const e=o===n.hourElement,t=o===n.minuteElement;d<a?(d=i+d+u(!e)+(u(e)&&u(!n.amPM)),t&&N(undefined,-1,n.hourElement)):d>i&&(d=o===n.hourElement?d-i-u(!n.amPM):a,t&&N(undefined,1,n.hourElement)),n.amPM&&e&&(1===c?d+l===23:Math.abs(d-l)>c)&&(n.amPM.textContent=n.l10n.amPM[u(n.amPM.textContent===n.l10n.amPM[0])]),o.value=s(d)}}(e);const t=n._input.value;C(),ye(),n._input.value!==t&&n._debouncedChange()}function C(){if(n.hourElement===undefined||n.minuteElement===undefined)return;let e=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,t=(parseInt(n.minuteElement.value,10)||0)%60,r=n.secondElement!==undefined?(parseInt(n.secondElement.value,10)||0)%60:0;var o,a;n.amPM!==undefined&&(o=e,a=n.amPM.textContent,e=o%12+12*u(a===n.l10n.amPM[1]));const i=n.config.minTime!==undefined||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===k(n.latestSelectedDateObj,n.config.minDate,!0);if(n.config.maxTime!==undefined||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===k(n.latestSelectedDateObj,n.config.maxDate,!0)){const o=n.config.maxTime!==undefined?n.config.maxTime:n.config.maxDate;e=Math.min(e,o.getHours()),e===o.getHours()&&(t=Math.min(t,o.getMinutes())),t===o.getMinutes()&&(r=Math.min(r,o.getSeconds()))}if(i){const o=n.config.minTime!==undefined?n.config.minTime:n.config.minDate;e=Math.max(e,o.getHours()),e===o.getHours()&&t<o.getMinutes()&&(t=o.getMinutes()),t===o.getMinutes()&&(r=Math.max(r,o.getSeconds()))}M(e,t,r)}function E(e){const t=e||n.latestSelectedDateObj;t&&M(t.getHours(),t.getMinutes(),t.getSeconds())}function M(e,t,r){n.latestSelectedDateObj!==undefined&&n.latestSelectedDateObj.setHours(e%24,t,r||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=s(n.config.time_24hr?e:(12+e)%12+12*u(e%12==0)),n.minuteElement.value=s(t),n.amPM!==undefined&&(n.amPM.textContent=n.l10n.amPM[u(e>=12)]),n.secondElement!==undefined&&(n.secondElement.value=s(r)))}function P(e){const t=g(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&G(n)}function j(e,t,r,o){return t instanceof Array?t.forEach((t=>j(e,t,r,o))):e instanceof Array?e.forEach((e=>j(e,t,r,o))):(e.addEventListener(t,r,o),void n._handlers.push({remove:()=>e.removeEventListener(t,r)}))}function T(){pe("onChange")}function A(e,t){const r=e!==undefined?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),o=n.currentYear,a=n.currentMonth;try{r!==undefined&&(n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth())}catch(i){i.message="Invalid date supplied: "+r,n.config.errorHandler(i)}t&&n.currentYear!==o&&(pe("onYearChange"),U()),!t||n.currentYear===o&&n.currentMonth===a||pe("onMonthChange"),n.redraw()}function I(e){const t=g(e);~t.className.indexOf("arrow")&&N(e,t.classList.contains("arrowUp")?1:-1)}function N(e,t,n){const r=e&&g(e),o=n||r&&r.parentNode&&r.parentNode.firstChild,a=he("increment");a.delta=t,o&&o.dispatchEvent(a)}function R(e,t,r,o){const a=J(t,!0),i=d("span","flatpickr-day "+e,t.getDate().toString());return i.dateObj=t,i.$i=o,i.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===k(t,n.now)&&(n.todayDateElem=i,i.classList.add("today"),i.setAttribute("aria-current","date")),a?(i.tabIndex=-1,me(t)&&(i.classList.add("selected"),n.selectedDateElem=i,"range"===n.config.mode&&(f(i,"startRange",n.selectedDates[0]&&0===k(t,n.selectedDates[0],!0)),f(i,"endRange",n.selectedDates[1]&&0===k(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&i.classList.add("inRange")))):i.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(k(e,n.selectedDates[0])>=0&&k(e,n.selectedDates[1])<=0)}(t)&&!me(t)&&i.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&r%7==1&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),pe("onDayCreate",i),i}function L(e){e.focus(),"range"===n.config.mode&&te(e)}function V(e){const t=e>0?0:n.config.showMonths-1,r=e>0?n.config.showMonths:-1;for(let o=t;o!=r;o+=e){const t=n.daysContainer.children[o],r=e>0?0:t.children.length-1,a=e>0?t.children.length:-1;for(let n=r;n!=a;n+=e){const e=t.children[n];if(-1===e.className.indexOf("hidden")&&J(e.dateObj))return e}}return undefined}function F(e,t){const r=X(document.activeElement||document.body),o=e!==undefined?e:r?document.activeElement:n.selectedDateElem!==undefined&&X(n.selectedDateElem)?n.selectedDateElem:n.todayDateElem!==undefined&&X(n.todayDateElem)?n.todayDateElem:V(t>0?1:-1);o===undefined?n._input.focus():r?function(e,t){const r=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,o=t>0?n.config.showMonths:-1,a=t>0?1:-1;for(let i=r-n.currentMonth;i!=o;i+=a){const o=n.daysContainer.children[i],s=r-n.currentMonth===i?e.$i+t:t<0?o.children.length-1:0,u=o.children.length;for(let n=s;n>=0&&n<u&&n!=(t>0?u:-1);n+=a){const r=o.children[n];if(-1===r.className.indexOf("hidden")&&J(r.dateObj)&&Math.abs(e.$i-n)>=Math.abs(t))return L(r)}}n.changeMonth(a),F(V(a),0),undefined}(o,t):L(o)}function H(e,t){const r=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,o=n.utils.getDaysInMonth((t-1+12)%12,e),a=n.utils.getDaysInMonth(t,e),i=window.document.createDocumentFragment(),s=n.config.showMonths>1,u=s?"prevMonthDay hidden":"prevMonthDay",c=s?"nextMonthDay hidden":"nextMonthDay";let l=o+1-r,f=0;for(;l<=o;l++,f++)i.appendChild(R(u,new Date(e,t-1,l),l,f));for(l=1;l<=a;l++,f++)i.appendChild(R("",new Date(e,t,l),l,f));for(let o=a+1;o<=42-r&&(1===n.config.showMonths||f%7!=0);o++,f++)i.appendChild(R(c,new Date(e,t+1,o%a),o,f));const p=d("div","dayContainer");return p.appendChild(i),p}function z(){if(n.daysContainer===undefined)return;p(n.daysContainer),n.weekNumbers&&p(n.weekNumbers);const e=document.createDocumentFragment();for(let t=0;t<n.config.showMonths;t++){const r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),e.appendChild(H(r.getFullYear(),r.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&te()}function U(){if(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)return;const e=function(e){return!(n.config.minDate!==undefined&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(n.config.maxDate!==undefined&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(let t=0;t<12;t++){if(!e(t))continue;const r=d("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=y(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}function W(){const e=d("div","flatpickr-month"),t=window.document.createDocumentFragment();let r;n.config.showMonths>1||"static"===n.config.monthSelectorType?r=d("span","cur-month"):(n.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),j(n.monthsDropdownContainer,"change",(e=>{const t=g(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),pe("onMonthChange")})),U(),r=n.monthsDropdownContainer);const o=m("cur-year",{tabindex:"-1"}),a=o.getElementsByTagName("input")[0];a.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&a.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(a.setAttribute("max",n.config.maxDate.getFullYear().toString()),a.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());const i=d("div","flatpickr-current-month");return i.appendChild(r),i.appendChild(o),t.appendChild(i),e.appendChild(t),{container:e,yearElement:a,monthElement:r}}function B(){p(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(let e=n.config.showMonths;e--;){const e=W();n.yearElements.push(e.yearElement),n.monthElements.push(e.monthElement),n.monthNav.appendChild(e.container)}n.monthNav.appendChild(n.nextMonthNav)}function Y(){n.weekdayContainer?p(n.weekdayContainer):n.weekdayContainer=d("div","flatpickr-weekdays");for(let e=n.config.showMonths;e--;){const e=d("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(e)}return q(),n.weekdayContainer}function q(){if(!n.weekdayContainer)return;const e=n.l10n.firstDayOfWeek;let t=[...n.l10n.weekdays.shorthand];e>0&&e<t.length&&(t=[...t.splice(e,t.length),...t.splice(0,e)]);for(let e=n.config.showMonths;e--;)n.weekdayContainer.children[e].innerHTML=`\n <span class='flatpickr-weekday'>\n ${t.join("</span><span class='flatpickr-weekday'>")}\n </span>\n `}function $(e,t=!0){const r=t?e:e-n.currentMonth;r<0&&!0===n._hidePrevMonthArrow||r>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=r,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,pe("onYearChange"),U()),z(),pe("onMonthChange"),ge())}function K(e){return!(!n.config.appendTo||!n.config.appendTo.contains(e))||n.calendarContainer.contains(e)}function Q(e){if(n.isOpen&&!n.config.inline){const t=g(e),r=K(t),o=t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)),a="blur"===e.type?o&&e.relatedTarget&&!K(e.relatedTarget):!o&&!r&&!K(e.relatedTarget),i=!n.config.ignoredFocusElements.some((e=>e.contains(t)));a&&i&&(n.timeContainer!==undefined&&n.minuteElement!==undefined&&n.hourElement!==undefined&&""!==n.input.value&&n.input.value!==undefined&&b(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&(n.clear(!1),n.redraw()))}}function G(e){if(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())return;const t=e,r=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),r&&(n.redraw(),pe("onYearChange"),U())}function J(e,t=!0){var r;const o=n.parseDate(e,undefined,t);if(n.config.minDate&&o&&k(o,n.config.minDate,t!==undefined?t:!n.minDateHasTime)<0||n.config.maxDate&&o&&k(o,n.config.maxDate,t!==undefined?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(o===undefined)return!1;const a=!!n.config.enable,i=null!==(r=n.config.enable)&&void 0!==r?r:n.config.disable;for(let e,t=0;t<i.length;t++){if(e=i[t],"function"==typeof e&&e(o))return a;if(e instanceof Date&&o!==undefined&&e.getTime()===o.getTime())return a;if("string"==typeof e){const t=n.parseDate(e,undefined,!0);return t&&t.getTime()===o.getTime()?a:!a}if("object"==typeof e&&o!==undefined&&e.from&&e.to&&o.getTime()>=e.from.getTime()&&o.getTime()<=e.to.getTime())return a}return!a}function X(e){return n.daysContainer!==undefined&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function Z(e){!(e.target===n._input)||!(n.selectedDates.length>0||n._input.value.length>0)||e.relatedTarget&&K(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function ee(t){const r=g(t),o=n.config.wrap?e.contains(r):r===n._input,a=n.config.allowInput,i=n.isOpen&&(!a||!o),s=n.config.inline&&o&&!a;if(13===t.keyCode&&o){if(a)return n.setDate(n._input.value,!0,r===n.altInput?n.config.altFormat:n.config.dateFormat),r.blur();n.open()}else if(K(r)||i||s){const e=!!n.timeContainer&&n.timeContainer.contains(r);switch(t.keyCode){case 13:e?(t.preventDefault(),b(),ue()):ce(t);break;case 27:t.preventDefault(),ue();break;case 8:case 46:o&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(e||o)n.hourElement&&n.hourElement.focus();else if(t.preventDefault(),n.daysContainer!==undefined&&(!1===a||document.activeElement&&X(document.activeElement))){const e=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),$(e),F(V(1),0)):F(undefined,e)}break;case 38:case 40:t.preventDefault();const i=40===t.keyCode?1:-1;n.daysContainer&&r.$i!==undefined||r===n.input||r===n.altInput?t.ctrlKey?(t.stopPropagation(),G(n.currentYear-i),F(V(1),0)):e||F(undefined,7*i):r===n.currentYearElement?G(n.currentYear-i):n.config.enableTime&&(!e&&n.hourElement&&n.hourElement.focus(),b(t),n._debouncedChange());break;case 9:if(e){const e=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter((e=>e)),o=e.indexOf(r);if(-1!==o){const r=e[o+(t.shiftKey?-1:1)];t.preventDefault(),(r||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(r)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(n.amPM!==undefined&&r===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],C(),ye();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],C(),ye()}(o||K(r))&&pe("onKeyDown",t)}function te(e){if(1!==n.selectedDates.length||e&&(!e.classList.contains("flatpickr-day")||e.classList.contains("flatpickr-disabled")))return;const t=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),r=n.parseDate(n.selectedDates[0],undefined,!0).getTime(),o=Math.min(t,n.selectedDates[0].getTime()),a=Math.max(t,n.selectedDates[0].getTime());let i=!1,s=0,u=0;for(let e=o;e<a;e+=D)J(new Date(e),!0)||(i=i||e>o&&e<a,e<r&&(!s||e>s)?s=e:e>r&&(!u||e<u)&&(u=e));for(let o=0;o<n.config.showMonths;o++){const a=n.daysContainer.children[o];for(let o=0,d=a.children.length;o<d;o++){const d=a.children[o],p=d.dateObj.getTime(),h=s>0&&p<s||u>0&&p>u;h?(d.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach((e=>{d.classList.remove(e)}))):i&&!h||(["startRange","inRange","endRange","notAllowed"].forEach((e=>{d.classList.remove(e)})),e!==undefined&&(e.classList.add(t<=n.selectedDates[0].getTime()?"startRange":"endRange"),r<t&&p===r?d.classList.add("startRange"):r>t&&p===r&&d.classList.add("endRange"),p>=s&&(0===u||p<=u)&&(l=r,f=t,(c=p)>Math.min(l,f)&&c<Math.max(l,f))&&d.classList.add("inRange")))}}var c,l,f}function ne(){!n.isOpen||n.config["static"]||n.config.inline||ie()}function re(e){return t=>{const r=n.config[`_${e}Date`]=n.parseDate(t,n.config.dateFormat),o=n.config[`_${"min"===e?"max":"min"}Date`];r!==undefined&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=r.getHours()>0||r.getMinutes()>0||r.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter((e=>J(e))),n.selectedDates.length||"min"!==e||E(r),ye()),n.daysContainer&&(se(),r!==undefined?n.currentYearElement[e]=r.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!o&&r!==undefined&&o.getFullYear()===r.getFullYear())}}function oe(){return n.config.wrap?e.querySelector("[data-input]"):e}function ae(){"object"!=typeof n.config.locale&&"undefined"==typeof _.l10ns[n.config.locale]&&n.config.errorHandler(new Error(`flatpickr: invalid locale ${n.config.locale}`)),n.l10n=Object.assign(Object.assign({},_.l10ns["default"]),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?_.l10ns[n.config.locale]:undefined),w.K=`(${n.l10n.amPM[0]}|${n.l10n.amPM[1]}|${n.l10n.amPM[0].toLowerCase()}|${n.l10n.amPM[1].toLowerCase()})`;Object.assign(Object.assign({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr===undefined&&_.defaultConfig.time_24hr===undefined&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=O(n),n.parseDate=x({config:n.config,l10n:n.l10n})}function ie(e){if("function"==typeof n.config.position)return void n.config.position(n,e);if(n.calendarContainer===undefined)return;pe("onPreCalendarPosition");const t=e||n._positionElement,r=Array.prototype.reduce.call(n.calendarContainer.children,((e,t)=>e+t.offsetHeight),0),o=n.calendarContainer.offsetWidth,a=n.config.position.split(" "),i=a[0],s=a.length>1?a[1]:null,u=t.getBoundingClientRect(),c=window.innerHeight-u.bottom,l="above"===i||"below"!==i&&c<r&&u.top>r,d=window.pageYOffset+u.top+(l?-r-2:t.offsetHeight+2);if(f(n.calendarContainer,"arrowTop",!l),f(n.calendarContainer,"arrowBottom",l),n.config.inline)return;let p=window.pageXOffset+u.left,h=!1,m=!1;"center"===s?(p-=(o-u.width)/2,h=!0):"right"===s&&(p-=o-u.width,m=!0),f(n.calendarContainer,"arrowLeft",!h&&!m),f(n.calendarContainer,"arrowCenter",h),f(n.calendarContainer,"arrowRight",m);const g=window.document.body.offsetWidth-(window.pageXOffset+u.right),v=p+o>window.document.body.offsetWidth,y=g+o>window.document.body.offsetWidth;if(f(n.calendarContainer,"rightMost",v),!n.config["static"])if(n.calendarContainer.style.top=`${d}px`,v)if(y){const e=function(){let e=null;for(let n=0;n<document.styleSheets.length;n++){const r=document.styleSheets[n];try{r.cssRules}catch(t){continue}e=r;break}return null!=e?e:function(){const e=document.createElement("style");return document.head.appendChild(e),e.sheet}()}();if(e===undefined)return;const t=window.document.body.offsetWidth,r=Math.max(0,t/2-o/2),a=".flatpickr-calendar.centerMost:before",i=".flatpickr-calendar.centerMost:after",s=e.cssRules.length,c=`{left:${u.left}px;right:auto;}`;f(n.calendarContainer,"rightMost",!1),f(n.calendarContainer,"centerMost",!0),e.insertRule(`${a},${i}${c}`,s),n.calendarContainer.style.left=`${r}px`,n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=`${g}px`;else n.calendarContainer.style.left=`${p}px`,n.calendarContainer.style.right="auto"}function se(){n.config.noCalendar||n.isMobile||(U(),ge(),z())}function ue(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||navigator.msMaxTouchPoints!==undefined?setTimeout(n.close,0):n.close()}function ce(e){e.preventDefault(),e.stopPropagation();const t=h(g(e),(e=>e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")));if(t===undefined)return;const r=t,o=n.latestSelectedDateObj=new Date(r.dateObj.getTime()),a=(o.getMonth()<n.currentMonth||o.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=r,"single"===n.config.mode)n.selectedDates=[o];else if("multiple"===n.config.mode){const e=me(o);e?n.selectedDates.splice(parseInt(e),1):n.selectedDates.push(o)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=o,n.selectedDates.push(o),0!==k(o,n.selectedDates[0],!0)&&n.selectedDates.sort(((e,t)=>e.getTime()-t.getTime())));if(C(),a){const e=n.currentYear!==o.getFullYear();n.currentYear=o.getFullYear(),n.currentMonth=o.getMonth(),e&&(pe("onYearChange"),U()),pe("onMonthChange")}if(ge(),z(),ye(),a||"range"===n.config.mode||1!==n.config.showMonths?n.selectedDateElem!==undefined&&n.hourElement===undefined&&n.selectedDateElem&&n.selectedDateElem.focus():L(r),n.hourElement!==undefined&&n.hourElement!==undefined&&n.hourElement.focus(),n.config.closeOnSelect){const e="single"===n.config.mode&&!n.config.enableTime,t="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(e||t)&&ue()}T()}n.parseDate=x({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=j,n._setHoursFromDate=E,n._positionCalendar=ie,n.changeMonth=$,n.changeYear=G,n.clear=function(e=!0,t=!0){n.input.value="",n.altInput!==undefined&&(n.altInput.value="");n.mobileInput!==undefined&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=undefined,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){const{hours:e,minutes:t,seconds:r}=S(n.config);M(e,t,r)}n.redraw(),e&&pe("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(n.calendarContainer!==undefined&&n.calendarContainer.classList.remove("open"),n._input!==undefined&&n._input.classList.remove("active"));pe("onClose")},n._createElement=d,n.destroy=function(){n.config!==undefined&&pe("onDestroy");for(let e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=undefined;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config["static"]&&n.calendarContainer.parentNode){const e=n.calendarContainer.parentNode;if(e.lastChild&&e.removeChild(e.lastChild),e.parentNode){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.parentNode.removeChild(e)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((e=>{try{delete n[e]}catch(t){}}))},n.isEnabled=J,n.jumpToDate=A,n.open=function(e,t=n._positionElement){if(!0===n.isMobile){if(e){e.preventDefault();const t=g(e);t&&t.blur()}return n.mobileInput!==undefined&&(n.mobileInput.focus(),n.mobileInput.click()),void pe("onOpen")}if(n._input.disabled||n.config.inline)return;const r=n.isOpen;n.isOpen=!0,r||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),pe("onOpen"),ie(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||e!==undefined&&n.timeContainer.contains(e.relatedTarget)||setTimeout((()=>n.hourElement.select()),50))},n.redraw=se,n.set=function(e,t){if(null!==e&&"object"==typeof e){Object.assign(n.config,e);for(const t in e)le[t]!==undefined&&le[t].forEach((e=>e()))}else n.config[e]=t,le[e]!==undefined?le[e].forEach((e=>e())):r.indexOf(e)>-1&&(n.config[e]=l(t));n.redraw(),ye(!0)},n.setDate=function(e,t=!1,r=n.config.dateFormat){if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);fe(e,r),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),A(undefined,t),E(),0===n.selectedDates.length&&n.clear(!1);ye(t),t&&pe("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};const le={locale:[ae,q],showMonths:[B,v,Y],minDate:[A],maxDate:[A],clickOpens:[()=>{!0===n.config.clickOpens?(j(n._input,"focus",n.open),j(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function fe(e,t){let r=[];if(e instanceof Array)r=e.map((e=>n.parseDate(e,t)));else if(e instanceof Date||"number"==typeof e)r=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":r=[n.parseDate(e,t)];break;case"multiple":r=e.split(n.config.conjunction).map((e=>n.parseDate(e,t)));break;case"range":r=e.split(n.l10n.rangeSeparator).map((e=>n.parseDate(e,t)))}else n.config.errorHandler(new Error(`Invalid date supplied: ${JSON.stringify(e)}`));n.selectedDates=n.config.allowInvalidPreload?r:r.filter((e=>e instanceof Date&&J(e,!1))),"range"===n.config.mode&&n.selectedDates.sort(((e,t)=>e.getTime()-t.getTime()))}function de(e){return e.slice().map((e=>"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,undefined,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,undefined),to:n.parseDate(e.to,undefined)}:e)).filter((e=>e))}function pe(e,t){if(n.config===undefined)return;const r=n.config[e];if(r!==undefined&&r.length>0)for(let e=0;r[e]&&e<r.length;e++)r[e](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(he("change")),n.input.dispatchEvent(he("input")))}function he(e){const t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function me(e){for(let t=0;t<n.selectedDates.length;t++)if(0===k(n.selectedDates[t],e))return""+t;return!1}function ge(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach(((e,t)=>{const r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=y(r.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=r.getMonth().toString(),e.value=r.getFullYear().toString()})),n._hidePrevMonthArrow=n.config.minDate!==undefined&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=n.config.maxDate!==undefined&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function ve(e){return n.selectedDates.map((t=>n.formatDate(t,e))).filter(((e,t,r)=>"range"!==n.config.mode||n.config.enableTime||r.indexOf(e)===t)).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function ye(e=!0){n.mobileInput!==undefined&&n.mobileFormatStr&&(n.mobileInput.value=n.latestSelectedDateObj!==undefined?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=ve(n.config.dateFormat),n.altInput!==undefined&&(n.altInput.value=ve(n.config.altFormat)),!1!==e&&pe("onValueUpdate")}function be(e){const t=g(e),r=n.prevMonthNav.contains(t),o=n.nextMonthNav.contains(t);r||o?$(r?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){const i=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],s=Object.assign(Object.assign({},JSON.parse(JSON.stringify(e.dataset||{}))),t),u={};n.config.parseDate=s.parseDate,n.config.formatDate=s.formatDate,Object.defineProperty(n.config,"enable",{get:()=>n.config._enable,set:e=>{n.config._enable=de(e)}}),Object.defineProperty(n.config,"disable",{get:()=>n.config._disable,set:e=>{n.config._disable=de(e)}});const c="time"===s.mode;if(!s.dateFormat&&(s.enableTime||c)){const e=_.defaultConfig.dateFormat||o.dateFormat;u.dateFormat=s.noCalendar||c?"H:i"+(s.enableSeconds?":S":""):e+" H:i"+(s.enableSeconds?":S":"")}if(s.altInput&&(s.enableTime||c)&&!s.altFormat){const e=_.defaultConfig.altFormat||o.altFormat;u.altFormat=s.noCalendar||c?"h:i"+(s.enableSeconds?":S K":" K"):e+` h:i${s.enableSeconds?":S":""} K`}Object.defineProperty(n.config,"minDate",{get:()=>n.config._minDate,set:re("min")}),Object.defineProperty(n.config,"maxDate",{get:()=>n.config._maxDate,set:re("max")});const f=e=>t=>{n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")};Object.defineProperty(n.config,"minTime",{get:()=>n.config._minTime,set:f("min")}),Object.defineProperty(n.config,"maxTime",{get:()=>n.config._maxTime,set:f("max")}),"time"===s.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,u,s);for(let e=0;e<i.length;e++)n.config[i[e]]=!0===n.config[i[e]]||"true"===n.config[i[e]];r.filter((e=>n.config[e]!==undefined)).forEach((e=>{n.config[e]=l(n.config[e]||[]).map(a)})),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(let e=0;e<n.config.plugins.length;e++){const t=n.config.plugins[e](n)||{};for(const e in t)r.indexOf(e)>-1?n.config[e]=l(t[e]).map(a).concat(n.config[e]):"undefined"==typeof s[e]&&(n.config[e]=t[e])}s.altInputClass||(n.config.altInputClass=oe().className+" "+n.config.altInputClass);pe("onParseConfig")}(),ae(),function(){if(n.input=oe(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=d(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config["static"]&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");n._positionElement=n.config.positionElement||n._input}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;const e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&fe(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);n.config.minTime!==undefined&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));n.config.maxTime!==undefined&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:(e=n.currentMonth,t=n.currentYear)=>1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]},n.isMobile||function(){const e=window.document.createDocumentFragment();if(n.calendarContainer=d("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=d("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=d("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=d("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,B(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:()=>n.__hidePrevMonthArrow,set(e){n.__hidePrevMonthArrow!==e&&(f(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:()=>n.__hideNextMonthArrow,set(e){n.__hideNextMonthArrow!==e&&(f(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],ge(),n.monthNav)),n.innerContainer=d("div","flatpickr-innerContainer"),n.config.weekNumbers){const{weekWrapper:e,weekNumbers:t}=function(){n.calendarContainer.classList.add("hasWeeks");const e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",n.l10n.weekAbbreviation));const t=d("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}();n.innerContainer.appendChild(e),n.weekNumbers=t,n.weekWrapper=e}n.rContainer=d("div","flatpickr-rContainer"),n.rContainer.appendChild(Y()),n.daysContainer||(n.daysContainer=d("div","flatpickr-days"),n.daysContainer.tabIndex=-1),z(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");const e=S(n.config);n.timeContainer=d("div","flatpickr-time"),n.timeContainer.tabIndex=-1;const t=d("span","flatpickr-time-separator",":"),r=m("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];const o=m("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=o.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=s(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=s(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(r),n.timeContainer.appendChild(t),n.timeContainer.appendChild(o),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");const t=m("flatpickr-second");n.secondElement=t.getElementsByTagName("input")[0],n.secondElement.value=s(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(t)}n.config.time_24hr||(n.amPM=d("span","flatpickr-am-pm",n.l10n.amPM[u((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());f(n.calendarContainer,"rangeMode","range"===n.config.mode),f(n.calendarContainer,"animate",!0===n.config.animate),f(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);const t=n.config.appendTo!==undefined&&n.config.appendTo.nodeType!==undefined;if((n.config.inline||n.config["static"])&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!t&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):n.config.appendTo!==undefined&&n.config.appendTo.appendChild(n.calendarContainer)),n.config["static"])){const e=d("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(e,n.element),e.appendChild(n.element),n.altInput&&e.appendChild(n.altInput),e.appendChild(n.calendarContainer)}n.config["static"]||n.config.inline||(n.config.appendTo!==undefined?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach((e=>{Array.prototype.forEach.call(n.element.querySelectorAll(`[data-${e}]`),(t=>j(t,"click",n[e])))}));if(n.isMobile)return void function(){const e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=d("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",n.altInput!==undefined&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(t){}j(n.mobileInput,"change",(e=>{n.setDate(g(e).value,!1,n.mobileFormatStr),pe("onChange"),pe("onClose")}))}();const e=c(ne,50);n._debouncedChange=c(T,300),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&j(n.daysContainer,"mouseover",(e=>{"range"===n.config.mode&&te(g(e))}));j(window.document.body,"keydown",ee),n.config.inline||n.config["static"]||j(window,"resize",e);window.ontouchstart!==undefined?j(window.document,"touchstart",Q):j(window.document,"mousedown",Q);j(window.document,"focus",Q,{capture:!0}),!0===n.config.clickOpens&&(j(n._input,"focus",n.open),j(n._input,"click",n.open));n.daysContainer!==undefined&&(j(n.monthNav,"click",be),j(n.monthNav,["keyup","increment"],P),j(n.daysContainer,"click",ce));if(n.timeContainer!==undefined&&n.minuteElement!==undefined&&n.hourElement!==undefined){const e=e=>g(e).select();j(n.timeContainer,["increment"],b),j(n.timeContainer,"blur",b,{capture:!0}),j(n.timeContainer,"click",I),j([n.hourElement,n.minuteElement],["focus","click"],e),n.secondElement!==undefined&&j(n.secondElement,"focus",(()=>n.secondElement&&n.secondElement.select())),n.amPM!==undefined&&j(n.amPM,"click",(e=>{b(e),T()}))}n.config.allowInput&&j(n._input,"blur",Z)}(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&E(n.config.noCalendar?n.latestSelectedDateObj:undefined),ye(!1)),v();const i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&i&&ie(),pe("onReady")}(),n}function M(e,t){const n=Array.prototype.slice.call(e).filter((e=>e instanceof HTMLElement)),r=[];for(let e=0;e<n.length;e++){const a=n[e];try{if(null!==a.getAttribute("data-fp-omit"))continue;a._flatpickr!==undefined&&(a._flatpickr.destroy(),a._flatpickr=undefined),a._flatpickr=E(a,t||{}),r.push(a._flatpickr)}catch(o){console.error(o)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return M(this,e)},HTMLElement.prototype.flatpickr=function(e){return M([this],e)});var _=function(e,t){return"string"==typeof e?M(window.document.querySelectorAll(e),t):e instanceof Node?M([e],t):M(e,t)};_.defaultConfig={},_.l10ns={en:Object.assign({},i),"default":Object.assign({},i)},_.localize=e=>{_.l10ns["default"]=Object.assign(Object.assign({},_.l10ns["default"]),e)},_.setDefaults=e=>{_.defaultConfig=Object.assign(Object.assign({},_.defaultConfig),e)},_.parseDate=x({}),_.formatDate=O({}),_.compareDates=k,"undefined"!=typeof jQuery&&"undefined"!=typeof jQuery.fn&&(jQuery.fn.flatpickr=function(e){return M(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=_);var P=_},895:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(e,...t){if(!e)throw TypeError("Cannot convert undefined or null to object");for(const n of t)n&&Object.keys(n).forEach((t=>e[t]=n[t]));return e})},705:function(e,t,n){var r=n(638).Symbol;e.exports=r},239:function(e,t,n){var r=n(705),o=n(607),a=n(333),i=r?r.toStringTag:undefined;e.exports=function(e){return null==e?e===undefined?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},607:function(e,t,n){var r=n(705),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:undefined;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=undefined;var r=!0}catch(u){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},638:function(e,t,n){var r=n(957),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},469:function(e){var t=Array.isArray;e.exports=t},654:function(e,t,n){var r=n(763);e.exports=function(e){return r(e)&&e!=+e}},763:function(e,t,n){var r=n(239),o=n(5);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},5:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},37:function(e,t,n){var r=n(239),o=n(469),a=n(5);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},353:function(e){e.exports=function(e){return e===undefined}},251:function(e){"use strict";1 !function(){var e={521:function(e,t){"use strict";function n(e){var t=undefined;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,r(e,t,n))}})),e}function r(e,t,n){var r=n.value;if("function"!=typeof r)throw new Error("@autobind decorator can only be applied to methods not: "+typeof r);var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t))return r;var n=r.bind(this);return o=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),o=!1,n}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return 1===t.length?n.apply(undefined,t):r.apply(undefined,t)},e.exports=t["default"]},527:function(e,t,n){"use strict";n.r(t),n.d(t,{"default":function(){return A}});var r=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],o={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:undefined,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,"static":!1,time_24hr:!1,weekNumbers:!1,wrap:!1},a={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},i=a,s=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},u=function(e){return!0===e?1:0};function c(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,o)}),t)}}var l=function(e){return e instanceof Array?e:[e]};function f(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function d(e,t,n){var r=window.document.createElement(e);return t=t||"",n=n||"",r.className=t,n!==undefined&&(r.textContent=n),r}function p(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function h(e,t){return t(e)?e:e.parentNode?h(e.parentNode,t):undefined}function m(e,t){var n=d("div","numInputWrapper"),r=d("input","numInput "+e),o=d("span","arrowUp"),a=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),t!==undefined)for(var i in t)r.setAttribute(i,t[i]);return n.appendChild(r),n.appendChild(o),n.appendChild(a),n}function g(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var v=function(){return undefined},y=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},b={D:v,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*u(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var r=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(r-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:v,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:v,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},w={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},C={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[C.w(e,t,n)]},F:function(e,t,n){return y(C.n(e,t,n)-1,!1,t)},G:function(e,t,n){return s(C.h(e,t,n))},H:function(e){return s(e.getHours())},J:function(e,t){return t.ordinal!==undefined?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[u(e.getHours()>11)]},M:function(e,t){return y(e.getMonth(),!0,t)},S:function(e){return s(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return s(e.getFullYear(),4)},d:function(e){return s(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return s(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return s(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},O=function(e){var t=e.config,n=void 0===t?o:t,r=e.l10n,i=void 0===r?a:r,s=e.isMobile,u=void 0!==s&&s;return function(e,t,r){var o=r||i;return n.formatDate===undefined||u?t.split("").map((function(t,r,a){return C[t]&&"\\"!==a[r-1]?C[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},x=function(e){var t=e.config,n=void 0===t?o:t,r=e.l10n,i=void 0===r?a:r;return function(e,t,r,a){if(0!==e&&!e)return undefined;var s,u=a||i,c=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&e.toFixed!==undefined)s=new Date(e);else if("string"==typeof e){var l=t||(n||o).dateFormat,f=String(e).trim();if("today"===f)s=new Date,r=!0;else if(n&&n.parseDate)s=n.parseDate(e,l);else if(/Z$/.test(f)||/GMT$/.test(f))s=new Date(e);else{for(var d=void 0,p=[],h=0,m=0,g="";h<l.length;h++){var v=l[h],y="\\"===v,C="\\"===l[h-1]||y;if(w[v]&&!C){g+=w[v];var O=new RegExp(g).exec(e);O&&(d=!0)&&p["Y"!==v?"push":"unshift"]({fn:b[v],val:O[++m]})}else y||(g+=".")}s=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),p.forEach((function(e){var t=e.fn,n=e.val;return s=t(s,n,u)||s})),s=d?s:undefined}}return s instanceof Date&&!isNaN(s.getTime())?(!0===r&&s.setHours(0,0,0,0),s):(n.errorHandler(new Error("Invalid date provided: "+c)),undefined)}};function k(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var D=function(e,t,n){return 3600*e+60*t+n},S=864e5;function E(e){var t=e.defaultHour,n=e.defaultMinute,r=e.defaultSeconds;if(e.minDate!==undefined){var o=e.minDate.getHours(),a=e.minDate.getMinutes(),i=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<a&&(n=a),t===o&&n===a&&r<i&&(r=e.minDate.getSeconds())}if(e.maxDate!==undefined){var s=e.maxDate.getHours(),u=e.maxDate.getMinutes();(t=Math.min(t,s))===s&&(n=Math.min(u,n)),t===s&&n===u&&(r=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:r}}n(895);var M=undefined&&undefined.__assign||function(){return(M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},_=undefined&&undefined.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r};function P(e,t){var n={config:M(M({},o),T.defaultConfig),l10n:i};function a(){var e;return(null===(e=n.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function v(e){return e.bind(n)}function b(){var e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(n.calendarContainer!==undefined&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),n.daysContainer!==undefined){var t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(n.weekWrapper!==undefined?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}}))}function C(e){if(0===n.selectedDates.length){var t=n.config.minDate===undefined||k(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),r=E(n.config);t.setHours(r.hours,r.minutes,r.seconds,t.getMilliseconds()),n.selectedDates=[t],n.latestSelectedDateObj=t}e!==undefined&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,r=g(e),o=r;n.amPM!==undefined&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[u(n.amPM.textContent===n.l10n.amPM[0])]);var a=parseFloat(o.getAttribute("min")),i=parseFloat(o.getAttribute("max")),c=parseFloat(o.getAttribute("step")),l=parseInt(o.value,10),f=e.delta||(t?38===e.which?1:-1:0),d=l+c*f;if("undefined"!=typeof o.value&&2===o.value.length){var p=o===n.hourElement,h=o===n.minuteElement;d<a?(d=i+d+u(!p)+(u(p)&&u(!n.amPM)),h&&F(undefined,-1,n.hourElement)):d>i&&(d=o===n.hourElement?d-i-u(!n.amPM):a,h&&F(undefined,1,n.hourElement)),n.amPM&&p&&(1===c?d+l===23:Math.abs(d-l)>c)&&(n.amPM.textContent=n.l10n.amPM[u(n.amPM.textContent===n.l10n.amPM[0])]),o.value=s(d)}}(e);var o=n._input.value;P(),xe(),n._input.value!==o&&n._debouncedChange()}function P(){if(n.hourElement!==undefined&&n.minuteElement!==undefined){var e,t,r=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,o=(parseInt(n.minuteElement.value,10)||0)%60,a=n.secondElement!==undefined?(parseInt(n.secondElement.value,10)||0)%60:0;n.amPM!==undefined&&(e=r,t=n.amPM.textContent,r=e%12+12*u(t===n.l10n.amPM[1]));var i=n.config.minTime!==undefined||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===k(n.latestSelectedDateObj,n.config.minDate,!0),s=n.config.maxTime!==undefined||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===k(n.latestSelectedDateObj,n.config.maxDate,!0);if(n.config.maxTime!==undefined&&n.config.minTime!==undefined&&n.config.minTime>n.config.maxTime){var c=D(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),l=D(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),f=D(r,o,a);if(f>l&&f<c){var d=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]}(c);r=d[0],o=d[1],a=d[2]}}else{if(s){var p=n.config.maxTime!==undefined?n.config.maxTime:n.config.maxDate;(r=Math.min(r,p.getHours()))===p.getHours()&&(o=Math.min(o,p.getMinutes())),o===p.getMinutes()&&(a=Math.min(a,p.getSeconds()))}if(i){var h=n.config.minTime!==undefined?n.config.minTime:n.config.minDate;(r=Math.max(r,h.getHours()))===h.getHours()&&o<h.getMinutes()&&(o=h.getMinutes()),o===h.getMinutes()&&(a=Math.max(a,h.getSeconds()))}}A(r,o,a)}}function j(e){var t=e||n.latestSelectedDateObj;t&&t instanceof Date&&A(t.getHours(),t.getMinutes(),t.getSeconds())}function A(e,t,r){n.latestSelectedDateObj!==undefined&&n.latestSelectedDateObj.setHours(e%24,t,r||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=s(n.config.time_24hr?e:(12+e)%12+12*u(e%12==0)),n.minuteElement.value=s(t),n.amPM!==undefined&&(n.amPM.textContent=n.l10n.amPM[u(e>=12)]),n.secondElement!==undefined&&(n.secondElement.value=s(r)))}function I(e){var t=g(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&ee(n)}function N(e,t,r,o){return t instanceof Array?t.forEach((function(t){return N(e,t,r,o)})):e instanceof Array?e.forEach((function(e){return N(e,t,r,o)})):(e.addEventListener(t,r,o),void n._handlers.push({remove:function(){return e.removeEventListener(t,r,o)}}))}function R(){ye("onChange")}function L(e,t){var r=e!==undefined?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),o=n.currentYear,a=n.currentMonth;try{r!==undefined&&(n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth())}catch(i){i.message="Invalid date supplied: "+r,n.config.errorHandler(i)}t&&n.currentYear!==o&&(ye("onYearChange"),q()),!t||n.currentYear===o&&n.currentMonth===a||ye("onMonthChange"),n.redraw()}function V(e){var t=g(e);~t.className.indexOf("arrow")&&F(e,t.classList.contains("arrowUp")?1:-1)}function F(e,t,n){var r=e&&g(e),o=n||r&&r.parentNode&&r.parentNode.firstChild,a=be("increment");a.delta=t,o&&o.dispatchEvent(a)}function H(e,t,r,o){var a=te(t,!0),i=d("span",e,t.getDate().toString());return i.dateObj=t,i.$i=o,i.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===k(t,n.now)&&(n.todayDateElem=i,i.classList.add("today"),i.setAttribute("aria-current","date")),a?(i.tabIndex=-1,we(t)&&(i.classList.add("selected"),n.selectedDateElem=i,"range"===n.config.mode&&(f(i,"startRange",n.selectedDates[0]&&0===k(t,n.selectedDates[0],!0)),f(i,"endRange",n.selectedDates[1]&&0===k(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&i.classList.add("inRange")))):i.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(k(e,n.selectedDates[0])>=0&&k(e,n.selectedDates[1])<=0)}(t)&&!we(t)&&i.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&o%7==6&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),ye("onDayCreate",i),i}function z(e){e.focus(),"range"===n.config.mode&&ae(e)}function U(e){for(var t=e>0?0:n.config.showMonths-1,r=e>0?n.config.showMonths:-1,o=t;o!=r;o+=e)for(var a=n.daysContainer.children[o],i=e>0?0:a.children.length-1,s=e>0?a.children.length:-1,u=i;u!=s;u+=e){var c=a.children[u];if(-1===c.className.indexOf("hidden")&&te(c.dateObj))return c}return undefined}function W(e,t){var r=a(),o=ne(r||document.body),i=e!==undefined?e:o?r:n.selectedDateElem!==undefined&&ne(n.selectedDateElem)?n.selectedDateElem:n.todayDateElem!==undefined&&ne(n.todayDateElem)?n.todayDateElem:U(t>0?1:-1);i===undefined?n._input.focus():o?function(e,t){for(var r=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,o=t>0?n.config.showMonths:-1,a=t>0?1:-1,i=r-n.currentMonth;i!=o;i+=a)for(var s=n.daysContainer.children[i],u=r-n.currentMonth===i?e.$i+t:t<0?s.children.length-1:0,c=s.children.length,l=u;l>=0&&l<c&&l!=(t>0?c:-1);l+=a){var f=s.children[l];if(-1===f.className.indexOf("hidden")&&te(f.dateObj)&&Math.abs(e.$i-l)>=Math.abs(t))return z(f)}n.changeMonth(a),W(U(a),0),undefined}(i,t):z(i)}function B(e,t){for(var r=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,o=n.utils.getDaysInMonth((t-1+12)%12,e),a=n.utils.getDaysInMonth(t,e),i=window.document.createDocumentFragment(),s=n.config.showMonths>1,u=s?"prevMonthDay hidden":"prevMonthDay",c=s?"nextMonthDay hidden":"nextMonthDay",l=o+1-r,f=0;l<=o;l++,f++)i.appendChild(H("flatpickr-day "+u,new Date(e,t-1,l),0,f));for(l=1;l<=a;l++,f++)i.appendChild(H("flatpickr-day",new Date(e,t,l),0,f));for(var p=a+1;p<=42-r&&(1===n.config.showMonths||f%7!=0);p++,f++)i.appendChild(H("flatpickr-day "+c,new Date(e,t+1,p%a),0,f));var h=d("div","dayContainer");return h.appendChild(i),h}function Y(){if(n.daysContainer!==undefined){p(n.daysContainer),n.weekNumbers&&p(n.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<n.config.showMonths;t++){var r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),e.appendChild(B(r.getFullYear(),r.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&ae()}}function q(){if(!(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)){var e=function(e){return!(n.config.minDate!==undefined&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(n.config.maxDate!==undefined&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var r=d("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=y(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}}function K(){var e,t=d("div","flatpickr-month"),r=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=d("span","cur-month"):(n.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),N(n.monthsDropdownContainer,"change",(function(e){var t=g(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),ye("onMonthChange")})),q(),e=n.monthsDropdownContainer);var o=m("cur-year",{tabindex:"-1"}),a=o.getElementsByTagName("input")[0];a.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&a.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(a.setAttribute("max",n.config.maxDate.getFullYear().toString()),a.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());var i=d("div","flatpickr-current-month");return i.appendChild(e),i.appendChild(o),r.appendChild(i),t.appendChild(r),{container:t,yearElement:a,monthElement:e}}function Q(){p(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(var e=n.config.showMonths;e--;){var t=K();n.yearElements.push(t.yearElement),n.monthElements.push(t.monthElement),n.monthNav.appendChild(t.container)}n.monthNav.appendChild(n.nextMonthNav)}function G(){n.weekdayContainer?p(n.weekdayContainer):n.weekdayContainer=d("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=d("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return $(),n.weekdayContainer}function $(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=_(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=_(t.splice(e,t.length),t.splice(0,e)));for(var r=n.config.showMonths;r--;)n.weekdayContainer.children[r].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function J(e,t){void 0===t&&(t=!0);var r=t?e:e-n.currentMonth;r<0&&!0===n._hidePrevMonthArrow||r>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=r,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,ye("onYearChange"),q()),Y(),ye("onMonthChange"),Ce())}function X(e){return n.calendarContainer.contains(e)}function Z(e){if(n.isOpen&&!n.config.inline){var t=g(e),r=X(t),o=!(t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)))&&!r&&!X(e.relatedTarget),a=!n.config.ignoredFocusElements.some((function(e){return e.contains(t)}));o&&a&&(n.config.allowInput&&n.setDate(n._input.value,!1,n.config.altInput?n.config.altFormat:n.config.dateFormat),n.timeContainer!==undefined&&n.minuteElement!==undefined&&n.hourElement!==undefined&&""!==n.input.value&&n.input.value!==undefined&&C(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&n.clear(!1))}}function ee(e){if(!(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())){var t=e,r=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),r&&(n.redraw(),ye("onYearChange"),q())}}function te(e,t){var r;void 0===t&&(t=!0);var o=n.parseDate(e,undefined,t);if(n.config.minDate&&o&&k(o,n.config.minDate,t!==undefined?t:!n.minDateHasTime)<0||n.config.maxDate&&o&&k(o,n.config.maxDate,t!==undefined?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(o===undefined)return!1;for(var a=!!n.config.enable,i=null!==(r=n.config.enable)&&void 0!==r?r:n.config.disable,s=0,u=void 0;s<i.length;s++){if("function"==typeof(u=i[s])&&u(o))return a;if(u instanceof Date&&o!==undefined&&u.getTime()===o.getTime())return a;if("string"==typeof u){var c=n.parseDate(u,undefined,!0);return c&&c.getTime()===o.getTime()?a:!a}if("object"==typeof u&&o!==undefined&&u.from&&u.to&&o.getTime()>=u.from.getTime()&&o.getTime()<=u.to.getTime())return a}return!a}function ne(e){return n.daysContainer!==undefined&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function re(e){var t=e.target===n._input,r=n._input.value.trimEnd()!==Oe();!t||!r||e.relatedTarget&&X(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function oe(t){var r=g(t),o=n.config.wrap?e.contains(r):r===n._input,i=n.config.allowInput,s=n.isOpen&&(!i||!o),u=n.config.inline&&o&&!i;if(13===t.keyCode&&o){if(i)return n.setDate(n._input.value,!0,r===n.altInput?n.config.altFormat:n.config.dateFormat),n.close(),r.blur();n.open()}else if(X(r)||s||u){var c=!!n.timeContainer&&n.timeContainer.contains(r);switch(t.keyCode){case 13:c?(t.preventDefault(),C(),de()):pe(t);break;case 27:t.preventDefault(),de();break;case 8:case 46:o&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(c||o)n.hourElement&&n.hourElement.focus();else{t.preventDefault();var l=a();if(n.daysContainer!==undefined&&(!1===i||l&&ne(l))){var f=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),J(f),W(U(1),0)):W(undefined,f)}}break;case 38:case 40:t.preventDefault();var d=40===t.keyCode?1:-1;n.daysContainer&&r.$i!==undefined||r===n.input||r===n.altInput?t.ctrlKey?(t.stopPropagation(),ee(n.currentYear-d),W(U(1),0)):c||W(undefined,7*d):r===n.currentYearElement?ee(n.currentYear-d):n.config.enableTime&&(!c&&n.hourElement&&n.hourElement.focus(),C(t),n._debouncedChange());break;case 9:if(c){var p=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter((function(e){return e})),h=p.indexOf(r);if(-1!==h){var m=p[h+(t.shiftKey?-1:1)];t.preventDefault(),(m||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(r)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(n.amPM!==undefined&&r===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],P(),xe();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],P(),xe()}(o||X(r))&&ye("onKeyDown",t)}function ae(e,t){if(void 0===t&&(t="flatpickr-day"),1===n.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var r=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),o=n.parseDate(n.selectedDates[0],undefined,!0).getTime(),a=Math.min(r,n.selectedDates[0].getTime()),i=Math.max(r,n.selectedDates[0].getTime()),s=!1,u=0,c=0,l=a;l<i;l+=S)te(new Date(l),!0)||(s=s||l>a&&l<i,l<o&&(!u||l>u)?u=l:l>o&&(!c||l<c)&&(c=l));Array.from(n.rContainer.querySelectorAll("*:nth-child(-n+"+n.config.showMonths+") > ."+t)).forEach((function(t){var a,i,l,f=t.dateObj.getTime(),d=u>0&&f<u||c>0&&f>c;if(d)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){t.classList.remove(e)}));s&&!d||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){t.classList.remove(e)})),e!==undefined&&(e.classList.add(r<=n.selectedDates[0].getTime()?"startRange":"endRange"),o<r&&f===o?t.classList.add("startRange"):o>r&&f===o&&t.classList.add("endRange"),f>=u&&(0===c||f<=c)&&(i=o,l=r,(a=f)>Math.min(i,l)&&a<Math.max(i,l))&&t.classList.add("inRange")))}))}}function ie(){!n.isOpen||n.config["static"]||n.config.inline||le()}function se(e){return function(t){var r=n.config["_"+e+"Date"]=n.parseDate(t,n.config.dateFormat),o=n.config["_"+("min"===e?"max":"min")+"Date"];r!==undefined&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=r.getHours()>0||r.getMinutes()>0||r.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter((function(e){return te(e)})),n.selectedDates.length||"min"!==e||j(r),xe()),n.daysContainer&&(fe(),r!==undefined?n.currentYearElement[e]=r.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!o&&r!==undefined&&o.getFullYear()===r.getFullYear())}}function ue(){return n.config.wrap?e.querySelector("[data-input]"):e}function ce(){"object"!=typeof n.config.locale&&"undefined"==typeof T.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=M(M({},T.l10ns["default"]),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?T.l10ns[n.config.locale]:undefined),w.D="("+n.l10n.weekdays.shorthand.join("|")+")",w.l="("+n.l10n.weekdays.longhand.join("|")+")",w.M="("+n.l10n.months.shorthand.join("|")+")",w.F="("+n.l10n.months.longhand.join("|")+")",w.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",M(M({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr===undefined&&T.defaultConfig.time_24hr===undefined&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=O(n),n.parseDate=x({config:n.config,l10n:n.l10n})}function le(e){if("function"!=typeof n.config.position){if(n.calendarContainer!==undefined){ye("onPreCalendarPosition");var t=e||n._positionElement,r=Array.prototype.reduce.call(n.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),o=n.calendarContainer.offsetWidth,a=n.config.position.split(" "),i=a[0],s=a.length>1?a[1]:null,u=t.getBoundingClientRect(),c=window.innerHeight-u.bottom,l="above"===i||"below"!==i&&c<r&&u.top>r,d=window.pageYOffset+u.top+(l?-r-2:t.offsetHeight+2);if(f(n.calendarContainer,"arrowTop",!l),f(n.calendarContainer,"arrowBottom",l),!n.config.inline){var p=window.pageXOffset+u.left,h=!1,m=!1;"center"===s?(p-=(o-u.width)/2,h=!0):"right"===s&&(p-=o-u.width,m=!0),f(n.calendarContainer,"arrowLeft",!h&&!m),f(n.calendarContainer,"arrowCenter",h),f(n.calendarContainer,"arrowRight",m);var g=window.document.body.offsetWidth-(window.pageXOffset+u.right),v=p+o>window.document.body.offsetWidth,y=g+o>window.document.body.offsetWidth;if(f(n.calendarContainer,"rightMost",v),!n.config["static"])if(n.calendarContainer.style.top=d+"px",v)if(y){var b=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(o){continue}e=n;break}}return null!=e?e:(r=document.createElement("style"),document.head.appendChild(r),r.sheet);var r}();if(b===undefined)return;var w=window.document.body.offsetWidth,C=Math.max(0,w/2-o/2),O=b.cssRules.length,x="{left:"+u.left+"px;right:auto;}";f(n.calendarContainer,"rightMost",!1),f(n.calendarContainer,"centerMost",!0),b.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+x,O),n.calendarContainer.style.left=C+"px",n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=g+"px";else n.calendarContainer.style.left=p+"px",n.calendarContainer.style.right="auto"}}}else n.config.position(n,e)}function fe(){n.config.noCalendar||n.isMobile||(q(),Ce(),Y())}function de(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||navigator.msMaxTouchPoints!==undefined?setTimeout(n.close,0):n.close()}function pe(e){e.preventDefault(),e.stopPropagation();var t=h(g(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(t!==undefined){var r=t,o=n.latestSelectedDateObj=new Date(r.dateObj.getTime()),a=(o.getMonth()<n.currentMonth||o.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=r,"single"===n.config.mode)n.selectedDates=[o];else if("multiple"===n.config.mode){var i=we(o);i?n.selectedDates.splice(parseInt(i),1):n.selectedDates.push(o)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=o,n.selectedDates.push(o),0!==k(o,n.selectedDates[0],!0)&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(P(),a){var s=n.currentYear!==o.getFullYear();n.currentYear=o.getFullYear(),n.currentMonth=o.getMonth(),s&&(ye("onYearChange"),q()),ye("onMonthChange")}if(Ce(),Y(),xe(),a||"range"===n.config.mode||1!==n.config.showMonths?n.selectedDateElem!==undefined&&n.hourElement===undefined&&n.selectedDateElem&&n.selectedDateElem.focus():z(r),n.hourElement!==undefined&&n.hourElement!==undefined&&n.hourElement.focus(),n.config.closeOnSelect){var u="single"===n.config.mode&&!n.config.enableTime,c="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(u||c)&&de()}R()}}n.parseDate=x({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=N,n._setHoursFromDate=j,n._positionCalendar=le,n.changeMonth=J,n.changeYear=ee,n.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);n.input.value="",n.altInput!==undefined&&(n.altInput.value="");n.mobileInput!==undefined&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=undefined,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){var r=E(n.config),o=r.hours,a=r.minutes,i=r.seconds;A(o,a,i)}n.redraw(),e&&ye("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(n.calendarContainer!==undefined&&n.calendarContainer.classList.remove("open"),n._input!==undefined&&n._input.classList.remove("active"));ye("onClose")},n.onMouseOver=ae,n._createElement=d,n.createDay=H,n.destroy=function(){n.config!==undefined&&ye("onDestroy");for(var e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=undefined;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config["static"]&&n.calendarContainer.parentNode){var t=n.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete n[e]}catch(t){}}))},n.isEnabled=te,n.jumpToDate=L,n.updateValue=xe,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var r=g(e);r&&r.blur()}return n.mobileInput!==undefined&&(n.mobileInput.focus(),n.mobileInput.click()),void ye("onOpen")}if(n._input.disabled||n.config.inline)return;var o=n.isOpen;n.isOpen=!0,o||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),ye("onOpen"),le(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||e!==undefined&&n.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return n.hourElement.select()}),50))},n.redraw=fe,n.set=function(e,t){if(null!==e&&"object"==typeof e)for(var o in Object.assign(n.config,e),e)he[o]!==undefined&&he[o].forEach((function(e){return e()}));else n.config[e]=t,he[e]!==undefined?he[e].forEach((function(e){return e()})):r.indexOf(e)>-1&&(n.config[e]=l(t));n.redraw(),xe(!0)},n.setDate=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=n.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);me(e,r),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),L(undefined,t),j(),0===n.selectedDates.length&&n.clear(!1);xe(t),t&&ye("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};var he={locale:[ce,$],showMonths:[Q,b,G],minDate:[L],maxDate:[L],positionElement:[ve],clickOpens:[function(){!0===n.config.clickOpens?(N(n._input,"focus",n.open),N(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function me(e,t){var r=[];if(e instanceof Array)r=e.map((function(e){return n.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)r=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":r=[n.parseDate(e,t)];break;case"multiple":r=e.split(n.config.conjunction).map((function(e){return n.parseDate(e,t)}));break;case"range":r=e.split(n.l10n.rangeSeparator).map((function(e){return n.parseDate(e,t)}))}else n.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));n.selectedDates=n.config.allowInvalidPreload?r:r.filter((function(e){return e instanceof Date&&te(e,!1)})),"range"===n.config.mode&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function ge(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,undefined,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,undefined),to:n.parseDate(e.to,undefined)}:e})).filter((function(e){return e}))}function ve(){n._positionElement=n.config.positionElement||n._input}function ye(e,t){if(n.config!==undefined){var r=n.config[e];if(r!==undefined&&r.length>0)for(var o=0;r[o]&&o<r.length;o++)r[o](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(be("change")),n.input.dispatchEvent(be("input")))}}function be(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function we(e){for(var t=0;t<n.selectedDates.length;t++){var r=n.selectedDates[t];if(r instanceof Date&&0===k(r,e))return""+t}return!1}function Ce(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach((function(e,t){var r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=y(r.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=r.getMonth().toString(),e.value=r.getFullYear().toString()})),n._hidePrevMonthArrow=n.config.minDate!==undefined&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=n.config.maxDate!==undefined&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function Oe(e){var t=e||(n.config.altInput?n.config.altFormat:n.config.dateFormat);return n.selectedDates.map((function(e){return n.formatDate(e,t)})).filter((function(e,t,r){return"range"!==n.config.mode||n.config.enableTime||r.indexOf(e)===t})).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function xe(e){void 0===e&&(e=!0),n.mobileInput!==undefined&&n.mobileFormatStr&&(n.mobileInput.value=n.latestSelectedDateObj!==undefined?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=Oe(n.config.dateFormat),n.altInput!==undefined&&(n.altInput.value=Oe(n.config.altFormat)),!1!==e&&ye("onValueUpdate")}function ke(e){var t=g(e),r=n.prevMonthNav.contains(t),o=n.nextMonthNav.contains(t);r||o?J(r?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){var a=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=M(M({},JSON.parse(JSON.stringify(e.dataset||{}))),t),s={};n.config.parseDate=i.parseDate,n.config.formatDate=i.formatDate,Object.defineProperty(n.config,"enable",{get:function(){return n.config._enable},set:function(e){n.config._enable=ge(e)}}),Object.defineProperty(n.config,"disable",{get:function(){return n.config._disable},set:function(e){n.config._disable=ge(e)}});var u="time"===i.mode;if(!i.dateFormat&&(i.enableTime||u)){var c=T.defaultConfig.dateFormat||o.dateFormat;s.dateFormat=i.noCalendar||u?"H:i"+(i.enableSeconds?":S":""):c+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||u)&&!i.altFormat){var f=T.defaultConfig.altFormat||o.altFormat;s.altFormat=i.noCalendar||u?"h:i"+(i.enableSeconds?":S K":" K"):f+" h:i"+(i.enableSeconds?":S":"")+" K"}Object.defineProperty(n.config,"minDate",{get:function(){return n.config._minDate},set:se("min")}),Object.defineProperty(n.config,"maxDate",{get:function(){return n.config._maxDate},set:se("max")});var d=function(e){return function(t){n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")}};Object.defineProperty(n.config,"minTime",{get:function(){return n.config._minTime},set:d("min")}),Object.defineProperty(n.config,"maxTime",{get:function(){return n.config._maxTime},set:d("max")}),"time"===i.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,s,i);for(var p=0;p<a.length;p++)n.config[a[p]]=!0===n.config[a[p]]||"true"===n.config[a[p]];r.filter((function(e){return n.config[e]!==undefined})).forEach((function(e){n.config[e]=l(n.config[e]||[]).map(v)})),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(p=0;p<n.config.plugins.length;p++){var h=n.config.plugins[p](n)||{};for(var m in h)r.indexOf(m)>-1?n.config[m]=l(h[m]).map(v).concat(n.config[m]):"undefined"==typeof i[m]&&(n.config[m]=h[m])}i.altInputClass||(n.config.altInputClass=ue().className+" "+n.config.altInputClass);ye("onParseConfig")}(),ce(),function(){if(n.input=ue(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=d(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config["static"]&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");ve()}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;var e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&me(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);n.config.minTime!==undefined&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));n.config.maxTime!==undefined&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=n.currentMonth),void 0===t&&(t=n.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]}},n.isMobile||function(){var e=window.document.createDocumentFragment();if(n.calendarContainer=d("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=d("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=d("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=d("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,Q(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:function(){return n.__hidePrevMonthArrow},set:function(e){n.__hidePrevMonthArrow!==e&&(f(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(f(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Ce(),n.monthNav)),n.innerContainer=d("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=d("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),r=t.weekWrapper,o=t.weekNumbers;n.innerContainer.appendChild(r),n.weekNumbers=o,n.weekWrapper=r}n.rContainer=d("div","flatpickr-rContainer"),n.rContainer.appendChild(G()),n.daysContainer||(n.daysContainer=d("div","flatpickr-days"),n.daysContainer.tabIndex=-1),Y(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");var e=E(n.config);n.timeContainer=d("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=d("span","flatpickr-time-separator",":"),r=m("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];var o=m("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=o.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=s(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=s(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(r),n.timeContainer.appendChild(t),n.timeContainer.appendChild(o),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");var a=m("flatpickr-second");n.secondElement=a.getElementsByTagName("input")[0],n.secondElement.value=s(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(a)}n.config.time_24hr||(n.amPM=d("span","flatpickr-am-pm",n.l10n.amPM[u((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());f(n.calendarContainer,"rangeMode","range"===n.config.mode),f(n.calendarContainer,"animate",!0===n.config.animate),f(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);var a=n.config.appendTo!==undefined&&n.config.appendTo.nodeType!==undefined;if((n.config.inline||n.config["static"])&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!a&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):n.config.appendTo!==undefined&&n.config.appendTo.appendChild(n.calendarContainer)),n.config["static"])){var i=d("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(i,n.element),i.appendChild(n.element),n.altInput&&i.appendChild(n.altInput),i.appendChild(n.calendarContainer)}n.config["static"]||n.config.inline||(n.config.appendTo!==undefined?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(n.element.querySelectorAll("[data-"+e+"]"),(function(t){return N(t,"click",n[e])}))}));if(n.isMobile)return void function(){var e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=d("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",n.altInput!==undefined&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(t){}N(n.mobileInput,"change",(function(e){n.setDate(g(e).value,!1,n.mobileFormatStr),ye("onChange"),ye("onClose")}))}();var e=c(ie,50);n._debouncedChange=c(R,300),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&N(n.daysContainer,"mouseover",(function(e){"range"===n.config.mode&&ae(g(e))}));N(n._input,"keydown",oe),n.calendarContainer!==undefined&&N(n.calendarContainer,"keydown",oe);n.config.inline||n.config["static"]||N(window,"resize",e);window.ontouchstart!==undefined?N(window.document,"touchstart",Z):N(window.document,"mousedown",Z);N(window.document,"focus",Z,{capture:!0}),!0===n.config.clickOpens&&(N(n._input,"focus",n.open),N(n._input,"click",n.open));n.daysContainer!==undefined&&(N(n.monthNav,"click",ke),N(n.monthNav,["keyup","increment"],I),N(n.daysContainer,"click",pe));if(n.timeContainer!==undefined&&n.minuteElement!==undefined&&n.hourElement!==undefined){var t=function(e){return g(e).select()};N(n.timeContainer,["increment"],C),N(n.timeContainer,"blur",C,{capture:!0}),N(n.timeContainer,"click",V),N([n.hourElement,n.minuteElement],["focus","click"],t),n.secondElement!==undefined&&N(n.secondElement,"focus",(function(){return n.secondElement&&n.secondElement.select()})),n.amPM!==undefined&&N(n.amPM,"click",(function(e){C(e)}))}n.config.allowInput&&N(n._input,"blur",re)}(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&j(n.config.noCalendar?n.latestSelectedDateObj:undefined),xe(!1)),b();var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&a&&le(),ye("onReady")}(),n}function j(e,t){for(var n=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),r=[],o=0;o<n.length;o++){var a=n[o];try{if(null!==a.getAttribute("data-fp-omit"))continue;a._flatpickr!==undefined&&(a._flatpickr.destroy(),a._flatpickr=undefined),a._flatpickr=P(a,t||{}),r.push(a._flatpickr)}catch(i){console.error(i)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return j(this,e)},HTMLElement.prototype.flatpickr=function(e){return j([this],e)});var T=function(e,t){return"string"==typeof e?j(window.document.querySelectorAll(e),t):e instanceof Node?j([e],t):j(e,t)};T.defaultConfig={},T.l10ns={en:M({},i),"default":M({},i)},T.localize=function(e){T.l10ns["default"]=M(M({},T.l10ns["default"]),e)},T.setDefaults=function(e){T.defaultConfig=M(M({},T.defaultConfig),e)},T.parseDate=x({}),T.formatDate=O({}),T.compareDates=k,"undefined"!=typeof jQuery&&"undefined"!=typeof jQuery.fn&&(jQuery.fn.flatpickr=function(e){return j(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=T);var A=T},895:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var r=function(t){t&&Object.keys(t).forEach((function(n){return e[n]=t[n]}))},o=0,a=t;o<a.length;o++){var i=a[o];r(i)}return e})},705:function(e,t,n){var r=n(638).Symbol;e.exports=r},239:function(e,t,n){var r=n(705),o=n(607),a=n(333),i=r?r.toStringTag:undefined;e.exports=function(e){return null==e?e===undefined?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},607:function(e,t,n){var r=n(705),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:undefined;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=undefined;var r=!0}catch(u){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},638:function(e,t,n){var r=n(957),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},469:function(e){var t=Array.isArray;e.exports=t},654:function(e,t,n){var r=n(763);e.exports=function(e){return r(e)&&e!=+e}},763:function(e,t,n){var r=n(239),o=n(5);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},5:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},37:function(e,t,n){var r=n(239),o=n(469),a=n(5);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},353:function(e){e.exports=function(e){return e===undefined}},251:function(e){"use strict"; 2 2 /*! 3 3 * MoveTo - A lightweight scroll animation javascript library without any dependency. 4 4 * Version 1.8.2 (28-06-2019 14:30) 5 5 * Licensed under MIT 6 6 * Copyright 2019 Hasan Aydoğdu <hsnaydd@gmail.com> 7 */var t=function(){var e={tolerance:0,duration:800,easing:"easeOutQuart",container:window,callback:function(){}};function t(e,t,n,r){return e/=r,-n*(--e*e*e*e-1)+t}function n(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function r(e){return e instanceof HTMLElement?e.scrollTop:e.pageYOffset}function o(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this.options=n(e,r),this.easeFunctions=n({easeOutQuart:t},o)}return o.prototype.registerTrigger=function(e,t){var r=this;if(e){var o=e.getAttribute("href")||e.getAttribute("data-target"),a=o&&"#"!==o?document.getElementById(o.substring(1)):document.body,i=n(this.options,function(e,t){var n={};return Object.keys(t).forEach((function(t){var r=e.getAttribute("data-mt-".concat(t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))));r&&(n[t]=isNaN(r)?r:parseInt(r,10))})),n}(e,this.options));"function"==typeof t&&(i.callback=t);var s=function(e){e.preventDefault(),r.move(a,i)};return e.addEventListener("click",s,!1),function(){return e.removeEventListener("click",s,!1)}}},o.prototype.move=function(e){var t=this,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(0===e||e){o=n(this.options,o);var a,i="number"==typeof e?e:e.getBoundingClientRect().top,s=r(o.container),u=null;i-=o.tolerance;var c=function l(n){var c=r(t.options.container);u||(u=n-1);var f=n-u;if(a&&(i>0&&a>c||i<0&&a<c))return o.callback(e);a=c;var d=t.easeFunctions[o.easing](f,s,i,o.duration);o.container.scroll(0,d),f<o.duration?window.requestAnimationFrame(l):(o.container.scroll(0,i+s),o.callback(e))};window.requestAnimationFrame(c)}},o.prototype.addEaseFunction=function(e,t){this.easeFunctions[e]=t},o}();e.exports=t},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,b ool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},953:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.Z=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{"default":e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n["default"]=e,t&&t.set(e,n);return n}(n(363)),a=s(n(697)),i=s(n(527));function s(e){return e&&e.__esModule?e:{"default":e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(){return(c=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}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=["onChange","onOpen","onClose","onMonthChange","onYearChange","onReady","onValueUpdate","onDayCreate"],O=a["default"].oneOfType([a["default"].func,a["default"].arrayOf(a["default"].func)]),x=["onCreate","onDestroy"],k=a["default"].func,D=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&&m(e,t)}(s,e);var t,n,r,a=g(s);function s(){var e;p(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(y(e=a.call.apply(a,[this].concat(n))),"createFlatpickrInstance",(function(){var t=d({onClose:function(){e.node.blur&&e.node.blur()}},e.props.options);C.forEach((function(n){e.props[n]&&(t[n]=e.props[n])})),e.flatpickr=(0,i["default"])(e.node,t),e.props.hasOwnProperty("value")&&e.flatpickr.setDate(e.props.value,!1);var n=e.props.onCreate;n&&n(e.flatpickr)})),w(y(e),"destroyFlatpickrInstance",(function(){var t=e.props.onDestroy;t&&t(e.flatpickr),e.flatpickr.destroy(),e.flatpickr=null})),w(y(e),"handleNodeChange",(function(t){e.node=t,e.flatpickr&&(e.destroyFlatpickrInstance(),e.createFlatpickrInstance())})),e}return t=s,(n=[{key:"componentDidUpdate",value:function(e){var t=this,n=this.props.options,r=e.options;C.forEach((function(o){t.props.hasOwnProperty(o)&&(n[o]=t.props[o]),e.hasOwnProperty(o)&&(r[o]=e[o])}));for(var o=Object.getOwnPropertyNames(n),a=o.length-1;a>=0;a--){var i=o[a],s=n[i];s!==r[i]&&(-1===C.indexOf(i)||Array.isArray(s)||(s=[s]),this.flatpickr.set(i,s))}this.props.hasOwnProperty("value")&&this.props.value!==e.value&&this.flatpickr.setDate(this.props.value,!1)}},{key:"componentDidMount",value:function(){this.createFlatpickrInstance()}},{key:"componentWillUnmount",value:function(){this.destroyFlatpickrInstance()}},{key:"render",value:function(){var e=this.props,t=e.options,n=e.defaultValue,r=e.value,a=e.children,i=e.render,s=l(e,["options","defaultValue","value","children","render"]);return C.forEach((function(e){delete s[e]})),x.forEach((function(e){delete s[e]})),i?i(d(d({},s),{},{defaultValue:n,value:r}),this.handleNodeChange):t.wrap?o["default"].createElement("div",c({},s,{ref:this.handleNodeChange}),a):o["default"].createElement("input",c({},s,{defaultValue:n,ref:this.handleNodeChange}))}}])&&h(t.prototype,n),r&&h(t,r),s}(o.Component);w(D,"propTypes",{defaultValue:a["default"].string,options:a["default"].object,onChange:O,onOpen:O,onClose:O,onMonthChange:O,onYearChange:O,onReady:O,onValueUpdate:O,onDayCreate:O,onCreate:k,onDestroy:k,value:a["default"].oneOfType([a["default"].string,a["default"].array,a["default"].object,a["default"].number]),children:a["default"].node,className:a["default"].string,render:a["default"].func}),w(D,"defaultProps",{options:{}});var S=D;t.Z=S},639:function(e,t,n){"use strict";var r=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},o=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}}(),a=n(363),i=u(a),s=u(n(697));function u(e){return e&&e.__esModule?e:{"default":e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return d?"_"+Math.random().toString(36).substr(2,12):undefined},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||p(),prevId:e.id},n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||p(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(f(e,this.sizer),this.placeHolderSizer&&f(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!=typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&this.props.extraWidth===undefined?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?i["default"].createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&e!==undefined?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){l.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,i["default"].createElement("div",{className:this.props.className,style:t},this.renderStyles(),i["default"].createElement("input",r({},o,{ref:this.inputRef})),i["default"].createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?i["default"].createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(a.Component);h.propTypes={className:s["default"].string,defaultValue:s["default"].any,extraWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),id:s["default"].string,injectStyles:s["default"].bool,inputClassName:s["default"].string,inputRef:s["default"].func,inputStyle:s["default"].object,minWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),onAutosize:s["default"].func,onChange:s["default"].func,placeholder:s["default"].string,placeholderIsMinWidth:s["default"].bool,style:s["default"].object,value:s["default"].any},h.defaultProps={minWidth:1,injectStyles:!0},t.Z=h},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(288),a=(r=o)&&r.__esModule?r:{"default":r};t["default"]=a["default"],e.exports=t["default"]},203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"},e.exports=t["default"]},288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=v(n(363)),i=v(n(697)),s=v(n(521)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}(n(232)),c=v(n(203)),l=v(n(191)),f=v(n(807)),d=v(n(97)),p=v(n(737)),h=v(n(752)),m=n(302),g=n(878);function v(e){return e&&e.__esModule?e:{"default":e}}function y(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var b=(y((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.startValue=null,n.node=null,n.trackNode=null,n.isSliderDragging=!1,n.lastKeyMoved=null,n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{allowSameValues:i["default"].bool,ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string),disabled:i["default"].bool,draggableTrack:i["default"].bool,formatLabel:i["default"].func,maxValue:f["default"],minValue:f["default"],name:i["default"].string,onChangeStart:i["default"].func,onChange:i["default"].func.isRequired,onChangeComplete:i["default"].func,step:i["default"].number,value:d["default"]}}},{key:"defaultProps",get:function(){return{allowSameValues:!1,classNames:c["default"],disabled:!1,maxValue:10,minValue:0,step:1}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function(){return this.props.disabled?this.props.classNames.disabledInputRange:this.props.classNames.inputRange}},{key:"getTrackClientRect",value:function(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPositionsFromValues(t,this.props.minValue,this.props.maxValue,this.getTrackClientRect());if(this.isMultiValue()&&(0,m.distanceTo)(e,n.min)<(0,m.distanceTo)(e,n.max))return"min";return"max"}},{key:"getKeys",value:function(){return this.isMultiValue()?["min","max"]:["max"]}},{key:"hasStepDifference",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue());return(0,m.length)(e.min,t.min)>=this.props.step||(0,m.length)(e.max,t.max)>=this.props.step}},{key:"isMultiValue",value:function(){return(0,m.isObject)(this.props.value)}},{key:"isWithinRange",value:function(e){return this.isMultiValue()?e.min>=this.props.minValue&&e.max<=this.props.maxValue&&this.props.allowSameValues?e.min<=e.max:e.min<e.max:e.max>=this.props.minValue&&e.max<=this.props.maxValue}},{key:"shouldUpdate",value:function(e){return this.isWithinRange(e)&&this.hasStepDifference(e)}},{key:"updatePosition",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPositionsFromValues(n,this.props.minValue,this.props.maxValue,this.getTrackClientRect());r[e]=t,this.lastKeyMoved=e,this.updatePositions(r)}},{key:"updatePositions",value:function(e){var t={min:u.getValueFromPosition(e.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:u.getValueFromPosition(e.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())},n={min:u.getStepValueFromValue(t.min,this.props.step),max:u.getStepValueFromValue(t.max,this.props.step)};this.updateValues(n)}},{key:"updateValue",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue());n[e]=t,this.updateValues(n)}},{key:"updateValues",value:function(e){this.shouldUpdate(e)&&this.props.onChange(this.isMultiValue()?e:e.max)}},{key:"incrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]+this.props.step;this.updateValue(e,t)}},{key:"decrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]-this.props.step;this.updateValue(e,t)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function(e,t){var n=this;if(!this.props.disabled){var r=u.getPositionFromEvent(e,this.getTrackClientRect());this.isSliderDragging=!0,requestAnimationFrame((function(){return n.updatePosition(t,r)}))}}},{key:"handleTrackDrag",value:function(e,t){if(!this.props.disabled&&this.props.draggableTrack&&!this.isSliderDragging){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min,c=u.getPositionFromEvent(e,this.getTrackClientRect()),l=u.getValueFromPosition(c,o,r,this.getTrackClientRect()),f=u.getStepValueFromValue(l,this.props.step),d=u.getPositionFromEvent(t,this.getTrackClientRect()),p=u.getValueFromPosition(d,o,r,this.getTrackClientRect()),h=u.getStepValueFromValue(p,this.props.step)-f,m={min:s-h,max:i-h};this.updateValues(m)}}},{key:"handleSliderKeyDown",value:function(e,t){if(!this.props.disabled)switch(e.keyCode){case g.LEFT_ARROW:case g.DOWN_ARROW:e.preventDefault(),this.decrementValue(t);break;case g.RIGHT_ARROW:case g.UP_ARROW:e.preventDefault(),this.incrementValue(t)}}},{key:"handleTrackMouseDown",value:function(e,t){if(!this.props.disabled){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min;e.preventDefault();var c=u.getValueFromPosition(t,o,r,this.getTrackClientRect()),l=u.getStepValueFromValue(c,this.props.step);(!this.props.draggableTrack||l>i||l<s)&&this.updatePosition(this.getKeyByPosition(t),t)}}},{key:"handleInteractionStart",value:function(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value),this.props.onChangeComplete&&!(0,m.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function(){this.isSliderDragging&&(this.isSliderDragging=!1),this.props.onChangeComplete&&(0,m.isDefined)(this.startValue)&&(this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value),this.startValue=null)}},{key:"handleKeyDown",value:function(e){this.handleInteractionStart(e)}},{key:"handleKeyUp",value:function(e){this.handleInteractionEnd(e)}},{key:"handleMouseDown",value:function(e){this.handleInteractionStart(e),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(e){this.handleInteractionEnd(e),this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function(e){this.handleInteractionStart(e),this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function(e){this.handleInteractionEnd(e),this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function(){var e=this,t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPercentagesFromValues(t,this.props.minValue,this.props.maxValue);return(this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys()).map((function(r){var o=t[r],i=n[r],s=e.props,u=s.maxValue,c=s.minValue;return"min"===r?u=t.max:c=t.min,a["default"].createElement(p["default"],{ariaLabelledby:e.props.ariaLabelledby,ariaControls:e.props.ariaControls,classNames:e.props.classNames,formatLabel:e.props.formatLabel,key:r,maxValue:u,minValue:c,onSliderDrag:e.handleSliderDrag,onSliderKeyDown:e.handleSliderKeyDown,percentage:i,type:r,value:o})}))}},{key:"renderHiddenInputs",value:function(){var e=this;if(!this.props.name)return[];var t=this.isMultiValue(),n=u.getValueFromProps(this.props,t);return this.getKeys().map((function(r){var o=n[r],i=t?""+e.props.name+(0,m.captialize)(r):e.props.name;return a["default"].createElement("input",{key:r,type:"hidden",name:i,value:o})}))}},{key:"render",value:function(){var e=this,t=this.getComponentClassName(),n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPercentagesFromValues(n,this.props.minValue,this.props.maxValue);return a["default"].createElement("div",{"aria-disabled":this.props.disabled,ref:function(t){e.node=t},className:t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),a["default"].createElement(h["default"],{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function(t){e.trackNode=t},percentages:r,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]),t}(a["default"].Component)).prototype,"handleSliderDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderDrag"),r.prototype),y(r.prototype,"handleTrackDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackDrag"),r.prototype),y(r.prototype,"handleSliderKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderKeyDown"),r.prototype),y(r.prototype,"handleTrackMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackMouseDown"),r.prototype),y(r.prototype,"handleInteractionStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionStart"),r.prototype),y(r.prototype,"handleInteractionEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionEnd"),r.prototype),y(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),y(r.prototype,"handleKeyUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyUp"),r.prototype),y(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),y(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),y(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),y(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),r);t["default"]=b,e.exports=t["default"]},878:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DOWN_ARROW=40,t.LEFT_ARROW=37,t.RIGHT_ARROW=39,t.UP_ARROW=38},191:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var r=a(n(363)),o=a(n(697));function a(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.formatLabel?e.formatLabel(e.children,e.type):e.children;return r["default"].createElement("span",{className:e.classNames[e.type+"Label"]},r["default"].createElement("span",{className:e.classNames.labelContainer},t))}i.propTypes={children:o["default"].node.isRequired,classNames:o["default"].objectOf(o["default"].string).isRequired,formatLabel:o["default"].func,type:o["default"].string.isRequired},e.exports=t["default"]},807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=e.maxValue,n=e.minValue;if(!(0,r.isNumber)(n)||!(0,r.isNumber)(t))return new Error('"minValue" and "maxValue" must be a number');if(n>=t)return new Error('"minValue" must be smaller than "maxValue"')};var r=n(302);e.exports=t["default"]},737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=c(n(363)),i=c(n(697)),s=c(n(521)),u=c(n(191));function c(e){return e&&e.__esModule?e:{"default":e}}function l(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var f=(l((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string).isRequired,formatLabel:i["default"].func,maxValue:i["default"].number,minValue:i["default"].number,onSliderDrag:i["default"].func.isRequired,onSliderKeyDown:i["default"].func.isRequired,percentage:i["default"].number.isRequired,type:i["default"].string.isRequired,value:i["default"].number.isRequired}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener(),this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function(){return{position:"absolute",left:100*(this.props.percentage||0)+"%"}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function(){this.removeDocumentTouchMoveListener(),this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function(){this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchStart",value:function(){this.addDocumentTouchEndListener(),this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchEnd",value:function(){this.removeDocumentTouchMoveListener(),this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function(e){this.props.onSliderKeyDown(e,this.props.type)}},{key:"render",value:function(){var e=this,t=this.getStyle();return a["default"].createElement("span",{className:this.props.classNames.sliderContainer,ref:function(t){e.node=t},style:t},a["default"].createElement(u["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),a["default"].createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]),t}(a["default"].Component)).prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),l(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),l(r.prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),l(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),l(r.prototype,"handleTouchMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchMove"),r.prototype),l(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),l(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),r);t["default"]=f,e.exports=t["default"]},752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=u(n(363)),i=u(n(697)),s=u(n(521));function u(e){return e&&e.__esModule?e:{"default":e}}function c(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var l=(c((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n.trackDragEvent=null,n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{children:i["default"].node.isRequired,classNames:i["default"].objectOf(i["default"].string).isRequired,draggableTrack:i["default"].bool,onTrackDrag:i["default"].func,onTrackMouseDown:i["default"].func.isRequired,percentages:i["default"].objectOf(i["default"].number).isRequired}}}]),o(t,[{key:"getClientRect",value:function(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function(){var e=100*(this.props.percentages.max-this.props.percentages.min)+"%";return{left:100*this.props.percentages.min+"%",width:e}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function(e){this.props.draggableTrack&&(null!==this.trackDragEvent&&this.props.onTrackDrag(e,this.trackDragEvent),this.trackDragEvent=e)}},{key:"handleMouseUp",value:function(){this.props.draggableTrack&&(this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.trackDragEvent=null)}},{key:"handleMouseDown",value:function(e){var t={x:(e.touches?e.touches[0].clientX:e.clientX)-this.getClientRect().left,y:0};this.props.onTrackMouseDown(e,t),this.props.draggableTrack&&(this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener())}},{key:"handleTouchStart",value:function(e){e.preventDefault(),this.handleMouseDown(e)}},{key:"render",value:function(){var e=this,t=this.getActiveTrackStyle();return a["default"].createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function(t){e.node=t}},a["default"].createElement("div",{style:t,className:this.props.classNames.activeTrack}),this.props.children)}}]),t}(a["default"].Component)).prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),c(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),c(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),c(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),r);t["default"]=l,e.exports=t["default"]},97:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=e.maxValue,o=e.minValue,a=e[t];if(!((0,r.isNumber)(a)||(0,r.isObject)(a)&&(0,r.isNumber)(a.min)&&(0,r.isNumber)(a.max)))return new Error('"'+t+'" must be a number or a range object');if((0,r.isNumber)(a)&&(a<o||a>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"');if((0,r.isObject)(a)&&(a.min<o||a.min>n||a.max<o||a.max>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"')};var r=n(302);e.exports=t["default"]},232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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};t.getPercentageFromPosition=a,t.getValueFromPosition=function(e,t,n,r){var o=a(e,r);return t+(n-t)*o},t.getValueFromProps=function(e,t){if(t)return r({},e.value);return{min:e.minValue,max:e.value}},t.getPercentageFromValue=i,t.getPercentagesFromValues=function(e,t,n){return{min:i(e.min,t,n),max:i(e.max,t,n)}},t.getPositionFromValue=s,t.getPositionsFromValues=function(e,t,n,r){return{min:s(e.min,t,n,r),max:s(e.max,t,n,r)}},t.getPositionFromEvent=function(e,t){var n=t.width,r=(e.touches?e.touches[0]:e).clientX;return{x:(0,o.clamp)(r-t.left,0,n),y:0}},t.getStepValueFromValue=function(e,t){return Math.round(e/t)*t};var o=n(302);function a(e,t){var n=t.width;return e.x/n||0}function i(e,t,n){return((0,o.clamp)(e,t,n)-t)/(n-t)||0}function s(e,t,n,r){var o=r.width;return{x:i(e,t,n)*o,y:0}}},939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t["default"]},426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t,n){return Math.min(Math.max(e,t),n)},e.exports=t["default"]},588:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=Math.pow(t.x-e.x,2),r=Math.pow(t.y-e.y,2);return Math.sqrt(n+r)},e.exports=t["default"]},302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(939);Object.defineProperty(t,"captialize",{enumerable:!0,get:function(){return l(r)["default"]}});var o=n(426);Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return l(o)["default"]}});var a=n(588);Object.defineProperty(t,"distanceTo",{enumerable:!0,get:function(){return l(a)["default"]}});var i=n(330);Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return l(i)["default"]}});var s=n(49);Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return l(s)["default"]}});var u=n(344);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return l(u)["default"]}});var c=n(359);function l(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"length",{enumerable:!0,get:function(){return l(c)["default"]}})},330:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e!==undefined&&null!==e},e.exports=t["default"]},49:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return"number"==typeof e},e.exports=t["default"]},344:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=function(e){return null!==e&&"object"===(void 0===e?"undefined":n(e))},e.exports=t["default"]},359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){return Math.abs(e-t)},e.exports=t["default"]},555:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(363)},function(e,t,n){var r;7 */var t=function(){var e={tolerance:0,duration:800,easing:"easeOutQuart",container:window,callback:function(){}};function t(e,t,n,r){return e/=r,-n*(--e*e*e*e-1)+t}function n(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function r(e){return e instanceof HTMLElement?e.scrollTop:e.pageYOffset}function o(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};this.options=n(e,r),this.easeFunctions=n({easeOutQuart:t},o)}return o.prototype.registerTrigger=function(e,t){var r=this;if(e){var o=e.getAttribute("href")||e.getAttribute("data-target"),a=o&&"#"!==o?document.getElementById(o.substring(1)):document.body,i=n(this.options,function(e,t){var n={};return Object.keys(t).forEach((function(t){var r=e.getAttribute("data-mt-".concat(t.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))));r&&(n[t]=isNaN(r)?r:parseInt(r,10))})),n}(e,this.options));"function"==typeof t&&(i.callback=t);var s=function(e){e.preventDefault(),r.move(a,i)};return e.addEventListener("click",s,!1),function(){return e.removeEventListener("click",s,!1)}}},o.prototype.move=function(e){var t=this,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(0===e||e){o=n(this.options,o);var a,i="number"==typeof e?e:e.getBoundingClientRect().top,s=r(o.container),u=null;i-=o.tolerance;var c=function l(n){var c=r(t.options.container);u||(u=n-1);var f=n-u;if(a&&(i>0&&a>c||i<0&&a<c))return o.callback(e);a=c;var d=t.easeFunctions[o.easing](f,s,i,o.duration);o.container.scroll(0,d),f<o.duration?window.requestAnimationFrame(l):(o.container.scroll(0,i+s),o.callback(e))};window.requestAnimationFrame(c)}},o.prototype.addEaseFunction=function(e,t){this.easeFunctions[e]=t},o}();e.exports=t},703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},953:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.Z=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{"default":e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n["default"]=e,t&&t.set(e,n);return n}(n(363)),a=s(n(697)),i=s(n(527));function s(e){return e&&e.__esModule?e:{"default":e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(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 l(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 f(){return(f=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}).apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(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=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=["onChange","onOpen","onClose","onMonthChange","onYearChange","onReady","onValueUpdate","onDayCreate"],k=a["default"].oneOfType([a["default"].func,a["default"].arrayOf(a["default"].func)]),D=["onCreate","onDestroy"],S=a["default"].func,E=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&&v(e,t)}(s,e);var t,n,r,a=y(s);function s(){var e;m(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return O(w(e=a.call.apply(a,[this].concat(n))),"createFlatpickrInstance",(function(){var t=h({onClose:function(){e.node.blur&&e.node.blur()}},e.props.options);t=M(t,e.props),e.flatpickr=(0,i["default"])(e.node,t),e.props.hasOwnProperty("value")&&e.flatpickr.setDate(e.props.value,!1);var n=e.props.onCreate;n&&n(e.flatpickr)})),O(w(e),"destroyFlatpickrInstance",(function(){var t=e.props.onDestroy;t&&t(e.flatpickr),e.flatpickr.destroy(),e.flatpickr=null})),O(w(e),"handleNodeChange",(function(t){e.node=t,e.flatpickr&&(e.destroyFlatpickrInstance(),e.createFlatpickrInstance())})),e}return t=s,(n=[{key:"componentDidUpdate",value:function(e){var t=this.props.options,n=e.options;t=M(t,this.props),n=M(n,e);for(var r=Object.getOwnPropertyNames(t),o=r.length-1;o>=0;o--){var a=r[o],i=t[a];i!==n[a]&&(-1===x.indexOf(a)||Array.isArray(i)||(i=[i]),this.flatpickr.set(a,i))}!this.props.hasOwnProperty("value")||this.props.value&&Array.isArray(this.props.value)&&e.value&&Array.isArray(e.value)&&this.props.value.every((function(t,n){e[n]}))||this.props.value===e.value||this.flatpickr.setDate(this.props.value,!1)}},{key:"componentDidMount",value:function(){this.createFlatpickrInstance()}},{key:"componentWillUnmount",value:function(){this.destroyFlatpickrInstance()}},{key:"render",value:function(){var e=this.props,t=e.options,n=e.defaultValue,r=e.value,a=e.children,i=e.render,s=d(e,["options","defaultValue","value","children","render"]);return x.forEach((function(e){delete s[e]})),D.forEach((function(e){delete s[e]})),i?i(h(h({},s),{},{defaultValue:n,value:r}),this.handleNodeChange):t.wrap?o["default"].createElement("div",f({},s,{ref:this.handleNodeChange}),a):o["default"].createElement("input",f({},s,{defaultValue:n,ref:this.handleNodeChange}))}}])&&g(t.prototype,n),r&&g(t,r),s}(o.Component);function M(e,t){var n=h({},e);return x.forEach((function(e){if(t.hasOwnProperty(e)){var r;n[e]&&!Array.isArray(n[e])?n[e]=[n[e]]:n[e]||(n[e]=[]);var o=Array.isArray(t[e])?t[e]:[t[e]];(r=n[e]).push.apply(r,c(o))}})),n}O(E,"propTypes",{defaultValue:a["default"].string,options:a["default"].object,onChange:k,onOpen:k,onClose:k,onMonthChange:k,onYearChange:k,onReady:k,onValueUpdate:k,onDayCreate:k,onCreate:S,onDestroy:S,value:a["default"].oneOfType([a["default"].string,a["default"].array,a["default"].object,a["default"].number]),children:a["default"].node,className:a["default"].string,render:a["default"].func}),O(E,"defaultProps",{options:{}});var _=E;t.Z=_},639:function(e,t,n){"use strict";var r=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},o=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}}(),a=n(363),i=u(a),s=u(n(697));function u(e){return e&&e.__esModule?e:{"default":e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return d?"_"+Math.random().toString(36).substr(2,12):undefined},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||p(),prevId:e.id},n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||p(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(f(e,this.sizer),this.placeHolderSizer&&f(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!=typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&this.props.extraWidth===undefined?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?i["default"].createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!==e&&e!==undefined?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){l.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,i["default"].createElement("div",{className:this.props.className,style:t},this.renderStyles(),i["default"].createElement("input",r({},o,{ref:this.inputRef})),i["default"].createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?i["default"].createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(a.Component);h.propTypes={className:s["default"].string,defaultValue:s["default"].any,extraWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),id:s["default"].string,injectStyles:s["default"].bool,inputClassName:s["default"].string,inputRef:s["default"].func,inputStyle:s["default"].object,minWidth:s["default"].oneOfType([s["default"].number,s["default"].string]),onAutosize:s["default"].func,onChange:s["default"].func,placeholder:s["default"].string,placeholderIsMinWidth:s["default"].bool,style:s["default"].object,value:s["default"].any},h.defaultProps={minWidth:1,injectStyles:!0},t.Z=h},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(288),a=(r=o)&&r.__esModule?r:{"default":r};t["default"]=a["default"],e.exports=t["default"]},203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"},e.exports=t["default"]},288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=v(n(363)),i=v(n(697)),s=v(n(521)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}(n(232)),c=v(n(203)),l=v(n(191)),f=v(n(807)),d=v(n(97)),p=v(n(737)),h=v(n(752)),m=n(302),g=n(878);function v(e){return e&&e.__esModule?e:{"default":e}}function y(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var b=(y((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.startValue=null,n.node=null,n.trackNode=null,n.isSliderDragging=!1,n.lastKeyMoved=null,n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{allowSameValues:i["default"].bool,ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string),disabled:i["default"].bool,draggableTrack:i["default"].bool,formatLabel:i["default"].func,maxValue:f["default"],minValue:f["default"],name:i["default"].string,onChangeStart:i["default"].func,onChange:i["default"].func.isRequired,onChangeComplete:i["default"].func,step:i["default"].number,value:d["default"]}}},{key:"defaultProps",get:function(){return{allowSameValues:!1,classNames:c["default"],disabled:!1,maxValue:10,minValue:0,step:1}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function(){return this.props.disabled?this.props.classNames.disabledInputRange:this.props.classNames.inputRange}},{key:"getTrackClientRect",value:function(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPositionsFromValues(t,this.props.minValue,this.props.maxValue,this.getTrackClientRect());if(this.isMultiValue()&&(0,m.distanceTo)(e,n.min)<(0,m.distanceTo)(e,n.max))return"min";return"max"}},{key:"getKeys",value:function(){return this.isMultiValue()?["min","max"]:["max"]}},{key:"hasStepDifference",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue());return(0,m.length)(e.min,t.min)>=this.props.step||(0,m.length)(e.max,t.max)>=this.props.step}},{key:"isMultiValue",value:function(){return(0,m.isObject)(this.props.value)}},{key:"isWithinRange",value:function(e){return this.isMultiValue()?e.min>=this.props.minValue&&e.max<=this.props.maxValue&&this.props.allowSameValues?e.min<=e.max:e.min<e.max:e.max>=this.props.minValue&&e.max<=this.props.maxValue}},{key:"shouldUpdate",value:function(e){return this.isWithinRange(e)&&this.hasStepDifference(e)}},{key:"updatePosition",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPositionsFromValues(n,this.props.minValue,this.props.maxValue,this.getTrackClientRect());r[e]=t,this.lastKeyMoved=e,this.updatePositions(r)}},{key:"updatePositions",value:function(e){var t={min:u.getValueFromPosition(e.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:u.getValueFromPosition(e.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())},n={min:u.getStepValueFromValue(t.min,this.props.step),max:u.getStepValueFromValue(t.max,this.props.step)};this.updateValues(n)}},{key:"updateValue",value:function(e,t){var n=u.getValueFromProps(this.props,this.isMultiValue());n[e]=t,this.updateValues(n)}},{key:"updateValues",value:function(e){this.shouldUpdate(e)&&this.props.onChange(this.isMultiValue()?e:e.max)}},{key:"incrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]+this.props.step;this.updateValue(e,t)}},{key:"decrementValue",value:function(e){var t=u.getValueFromProps(this.props,this.isMultiValue())[e]-this.props.step;this.updateValue(e,t)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function(e,t){var n=this;if(!this.props.disabled){var r=u.getPositionFromEvent(e,this.getTrackClientRect());this.isSliderDragging=!0,requestAnimationFrame((function(){return n.updatePosition(t,r)}))}}},{key:"handleTrackDrag",value:function(e,t){if(!this.props.disabled&&this.props.draggableTrack&&!this.isSliderDragging){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min,c=u.getPositionFromEvent(e,this.getTrackClientRect()),l=u.getValueFromPosition(c,o,r,this.getTrackClientRect()),f=u.getStepValueFromValue(l,this.props.step),d=u.getPositionFromEvent(t,this.getTrackClientRect()),p=u.getValueFromPosition(d,o,r,this.getTrackClientRect()),h=u.getStepValueFromValue(p,this.props.step)-f,m={min:s-h,max:i-h};this.updateValues(m)}}},{key:"handleSliderKeyDown",value:function(e,t){if(!this.props.disabled)switch(e.keyCode){case g.LEFT_ARROW:case g.DOWN_ARROW:e.preventDefault(),this.decrementValue(t);break;case g.RIGHT_ARROW:case g.UP_ARROW:e.preventDefault(),this.incrementValue(t)}}},{key:"handleTrackMouseDown",value:function(e,t){if(!this.props.disabled){var n=this.props,r=n.maxValue,o=n.minValue,a=n.value,i=a.max,s=a.min;e.preventDefault();var c=u.getValueFromPosition(t,o,r,this.getTrackClientRect()),l=u.getStepValueFromValue(c,this.props.step);(!this.props.draggableTrack||l>i||l<s)&&this.updatePosition(this.getKeyByPosition(t),t)}}},{key:"handleInteractionStart",value:function(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value),this.props.onChangeComplete&&!(0,m.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function(){this.isSliderDragging&&(this.isSliderDragging=!1),this.props.onChangeComplete&&(0,m.isDefined)(this.startValue)&&(this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value),this.startValue=null)}},{key:"handleKeyDown",value:function(e){this.handleInteractionStart(e)}},{key:"handleKeyUp",value:function(e){this.handleInteractionEnd(e)}},{key:"handleMouseDown",value:function(e){this.handleInteractionStart(e),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(e){this.handleInteractionEnd(e),this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function(e){this.handleInteractionStart(e),this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function(e){this.handleInteractionEnd(e),this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function(){var e=this,t=u.getValueFromProps(this.props,this.isMultiValue()),n=u.getPercentagesFromValues(t,this.props.minValue,this.props.maxValue);return(this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys()).map((function(r){var o=t[r],i=n[r],s=e.props,u=s.maxValue,c=s.minValue;return"min"===r?u=t.max:c=t.min,a["default"].createElement(p["default"],{ariaLabelledby:e.props.ariaLabelledby,ariaControls:e.props.ariaControls,classNames:e.props.classNames,formatLabel:e.props.formatLabel,key:r,maxValue:u,minValue:c,onSliderDrag:e.handleSliderDrag,onSliderKeyDown:e.handleSliderKeyDown,percentage:i,type:r,value:o})}))}},{key:"renderHiddenInputs",value:function(){var e=this;if(!this.props.name)return[];var t=this.isMultiValue(),n=u.getValueFromProps(this.props,t);return this.getKeys().map((function(r){var o=n[r],i=t?""+e.props.name+(0,m.captialize)(r):e.props.name;return a["default"].createElement("input",{key:r,type:"hidden",name:i,value:o})}))}},{key:"render",value:function(){var e=this,t=this.getComponentClassName(),n=u.getValueFromProps(this.props,this.isMultiValue()),r=u.getPercentagesFromValues(n,this.props.minValue,this.props.maxValue);return a["default"].createElement("div",{"aria-disabled":this.props.disabled,ref:function(t){e.node=t},className:t,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),a["default"].createElement(h["default"],{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function(t){e.trackNode=t},percentages:r,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),a["default"].createElement(l["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]),t}(a["default"].Component)).prototype,"handleSliderDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderDrag"),r.prototype),y(r.prototype,"handleTrackDrag",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackDrag"),r.prototype),y(r.prototype,"handleSliderKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleSliderKeyDown"),r.prototype),y(r.prototype,"handleTrackMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTrackMouseDown"),r.prototype),y(r.prototype,"handleInteractionStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionStart"),r.prototype),y(r.prototype,"handleInteractionEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleInteractionEnd"),r.prototype),y(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),y(r.prototype,"handleKeyUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyUp"),r.prototype),y(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),y(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),y(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),y(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),r);t["default"]=b,e.exports=t["default"]},878:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DOWN_ARROW=40,t.LEFT_ARROW=37,t.RIGHT_ARROW=39,t.UP_ARROW=38},191:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var r=a(n(363)),o=a(n(697));function a(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=e.formatLabel?e.formatLabel(e.children,e.type):e.children;return r["default"].createElement("span",{className:e.classNames[e.type+"Label"]},r["default"].createElement("span",{className:e.classNames.labelContainer},t))}i.propTypes={children:o["default"].node.isRequired,classNames:o["default"].objectOf(o["default"].string).isRequired,formatLabel:o["default"].func,type:o["default"].string.isRequired},e.exports=t["default"]},807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){var t=e.maxValue,n=e.minValue;if(!(0,r.isNumber)(n)||!(0,r.isNumber)(t))return new Error('"minValue" and "maxValue" must be a number');if(n>=t)return new Error('"minValue" must be smaller than "maxValue"')};var r=n(302);e.exports=t["default"]},737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=c(n(363)),i=c(n(697)),s=c(n(521)),u=c(n(191));function c(e){return e&&e.__esModule?e:{"default":e}}function l(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var f=(l((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{ariaLabelledby:i["default"].string,ariaControls:i["default"].string,classNames:i["default"].objectOf(i["default"].string).isRequired,formatLabel:i["default"].func,maxValue:i["default"].number,minValue:i["default"].number,onSliderDrag:i["default"].func.isRequired,onSliderKeyDown:i["default"].func.isRequired,percentage:i["default"].number.isRequired,type:i["default"].string.isRequired,value:i["default"].number.isRequired}}}]),o(t,[{key:"componentWillUnmount",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.removeDocumentTouchEndListener(),this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function(){return{position:"absolute",left:100*(this.props.percentage||0)+"%"}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function(){this.removeDocumentTouchMoveListener(),this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function(){this.removeDocumentTouchEndListener(),this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function(){this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function(){this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchStart",value:function(){this.addDocumentTouchEndListener(),this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function(e){this.props.onSliderDrag(e,this.props.type)}},{key:"handleTouchEnd",value:function(){this.removeDocumentTouchMoveListener(),this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function(e){this.props.onSliderKeyDown(e,this.props.type)}},{key:"render",value:function(){var e=this,t=this.getStyle();return a["default"].createElement("span",{className:this.props.classNames.sliderContainer,ref:function(t){e.node=t},style:t},a["default"].createElement(u["default"],{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),a["default"].createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]),t}(a["default"].Component)).prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),l(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),l(r.prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),l(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),l(r.prototype,"handleTouchMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchMove"),r.prototype),l(r.prototype,"handleTouchEnd",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchEnd"),r.prototype),l(r.prototype,"handleKeyDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleKeyDown"),r.prototype),r);t["default"]=f,e.exports=t["default"]},752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=undefined;var r,o=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}}(),a=u(n(363)),i=u(n(697)),s=u(n(521));function u(e){return e&&e.__esModule?e:{"default":e}}function c(e,t,n,r,o){var a={};return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=undefined),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}var l=(c((r=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.node=null,n.trackDragEvent=null,n}return function(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&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",get:function(){return{children:i["default"].node.isRequired,classNames:i["default"].objectOf(i["default"].string).isRequired,draggableTrack:i["default"].bool,onTrackDrag:i["default"].func,onTrackMouseDown:i["default"].func.isRequired,percentages:i["default"].objectOf(i["default"].number).isRequired}}}]),o(t,[{key:"getClientRect",value:function(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function(){var e=100*(this.props.percentages.max-this.props.percentages.min)+"%";return{left:100*this.props.percentages.min+"%",width:e}}},{key:"addDocumentMouseMoveListener",value:function(){this.removeDocumentMouseMoveListener(),this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function(){this.removeDocumentMouseUpListener(),this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function(e){this.props.draggableTrack&&(null!==this.trackDragEvent&&this.props.onTrackDrag(e,this.trackDragEvent),this.trackDragEvent=e)}},{key:"handleMouseUp",value:function(){this.props.draggableTrack&&(this.removeDocumentMouseMoveListener(),this.removeDocumentMouseUpListener(),this.trackDragEvent=null)}},{key:"handleMouseDown",value:function(e){var t={x:(e.touches?e.touches[0].clientX:e.clientX)-this.getClientRect().left,y:0};this.props.onTrackMouseDown(e,t),this.props.draggableTrack&&(this.addDocumentMouseMoveListener(),this.addDocumentMouseUpListener())}},{key:"handleTouchStart",value:function(e){e.preventDefault(),this.handleMouseDown(e)}},{key:"render",value:function(){var e=this,t=this.getActiveTrackStyle();return a["default"].createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function(t){e.node=t}},a["default"].createElement("div",{style:t,className:this.props.classNames.activeTrack}),this.props.children)}}]),t}(a["default"].Component)).prototype,"handleMouseMove",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseMove"),r.prototype),c(r.prototype,"handleMouseUp",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseUp"),r.prototype),c(r.prototype,"handleMouseDown",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleMouseDown"),r.prototype),c(r.prototype,"handleTouchStart",[s["default"]],Object.getOwnPropertyDescriptor(r.prototype,"handleTouchStart"),r.prototype),r);t["default"]=l,e.exports=t["default"]},97:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=e.maxValue,o=e.minValue,a=e[t];if(!((0,r.isNumber)(a)||(0,r.isObject)(a)&&(0,r.isNumber)(a.min)&&(0,r.isNumber)(a.max)))return new Error('"'+t+'" must be a number or a range object');if((0,r.isNumber)(a)&&(a<o||a>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"');if((0,r.isObject)(a)&&(a.min<o||a.min>n||a.max<o||a.max>n))return new Error('"'+t+'" must be in between "minValue" and "maxValue"')};var r=n(302);e.exports=t["default"]},232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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};t.getPercentageFromPosition=a,t.getValueFromPosition=function(e,t,n,r){var o=a(e,r);return t+(n-t)*o},t.getValueFromProps=function(e,t){if(t)return r({},e.value);return{min:e.minValue,max:e.value}},t.getPercentageFromValue=i,t.getPercentagesFromValues=function(e,t,n){return{min:i(e.min,t,n),max:i(e.max,t,n)}},t.getPositionFromValue=s,t.getPositionsFromValues=function(e,t,n,r){return{min:s(e.min,t,n,r),max:s(e.max,t,n,r)}},t.getPositionFromEvent=function(e,t){var n=t.width,r=(e.touches?e.touches[0]:e).clientX;return{x:(0,o.clamp)(r-t.left,0,n),y:0}},t.getStepValueFromValue=function(e,t){return Math.round(e/t)*t};var o=n(302);function a(e,t){var n=t.width;return e.x/n||0}function i(e,t,n){return((0,o.clamp)(e,t,n)-t)/(n-t)||0}function s(e,t,n,r){var o=r.width;return{x:i(e,t,n)*o,y:0}}},939:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t["default"]},426:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t,n){return Math.min(Math.max(e,t),n)},e.exports=t["default"]},588:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){var n=Math.pow(t.x-e.x,2),r=Math.pow(t.y-e.y,2);return Math.sqrt(n+r)},e.exports=t["default"]},302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(939);Object.defineProperty(t,"captialize",{enumerable:!0,get:function(){return l(r)["default"]}});var o=n(426);Object.defineProperty(t,"clamp",{enumerable:!0,get:function(){return l(o)["default"]}});var a=n(588);Object.defineProperty(t,"distanceTo",{enumerable:!0,get:function(){return l(a)["default"]}});var i=n(330);Object.defineProperty(t,"isDefined",{enumerable:!0,get:function(){return l(i)["default"]}});var s=n(49);Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return l(s)["default"]}});var u=n(344);Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return l(u)["default"]}});var c=n(359);function l(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"length",{enumerable:!0,get:function(){return l(c)["default"]}})},330:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return e!==undefined&&null!==e},e.exports=t["default"]},49:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){return"number"==typeof e},e.exports=t["default"]},344:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=function(e){return null!==e&&"object"===(void 0===e?"undefined":n(e))},e.exports=t["default"]},359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){return Math.abs(e-t)},e.exports=t["default"]},555:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(363)},function(e,t,n){var r; 8 8 /*! 9 9 Copyright (c) 2017 Jed Watson. 10 10 Licensed under the MIT License (MIT), see 11 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=D(i,"Map"),y=D(Object,"create");function b(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 k(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 D(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)}b.prototype.clear=function(){this.__data__=y?y(null):{}},b.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},b.prototype.get=function(e){var t=this.__data__;if(y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(t,e)?t[e]:void 0},b.prototype.has=function(e){var t=this.__data__;return y?void 0!==t[e]:p.call(t,e)},b.prototype.set=function(e,t){return this.__data__[e]=y&&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 b,map:new(v||w),string:new b}},C.prototype["delete"]=function(e){return k(this,e)["delete"](e)},C.prototype.get=function(e){return k(this,e).get(e)},C.prototype.has=function(e){return k(this,e).has(e)},C.prototype.set=function(e,t){return k(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 y(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function b(e){return c=e,s=setTimeout(C,t),l?y(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?y(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 b(u);if(g)return s=setTimeout(C,t),y(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")(),y=t&&!t.nodeType&&t,b=y&&"object"==typeof n&&n&&!n.nodeType&&n,w=b&&b.exports===y&&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 k(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function D(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,N=v["__core-js_shared__"],R=(_=/[^.]+$/.exec(N&&N.keys&&N.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.*?")+"$"),z=v.Symbol,U=v.Uint8Array,W=I.propertyIsEnumerable,B=T.splice,Y=(P=Object.keys,j=Object,function(e){return P(j(e))}),q=Oe(v,"DataView"), $=Oe(v,"Map"),K=Oe(v,"Promise"),Q=Oe(v,"Set"),G=Oe(v,"WeakMap"),J=Oe(Object,"create"),X=Pe(q),Z=Pe($),ee=Pe(K),te=Pe(Q),ne=Pe(G),re=z?z.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__=J?J(null):{}},ie.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(J){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 J?void 0!==t[e]:V.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=J&&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($||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(!$||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,Ue)},function(e,t){if(null==e)return e;if(!Ne(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=De(t,e)?[t]:be(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||ze(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 U(e),new U(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__"),y=m&&V.call(t,"__wrapped__");if(v||y){var b=v?e.value():e,w=y?t.value():t;return c||(c=new le),n(b,w,s,u,c)}}return!!g&&(c||(c=new le),function(e,t,n,r,o,a){var i=2&o,s=Ue(e),u=s.length;if(u!=Ue(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,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(d=!1)}return a["delete"](e),a["delete"](t),d}(e,t,n,s,u,c))}(e,t,ve,n,s,u))}function ye(e){return"function"==typeof e?e:null==e?We:"object"==typeof e?Ie(e)?function(e,t){return De(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=De(t,e)?[t]:be(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)&&ke(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=Ue(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):De(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 be(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(!k(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!!R&&R in e}(e))&&(Re(e)||S(e)?H:d).test(Pe(e))}(n)?n:void 0}var xe=function(e){return F.call(e)};function ke(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function De(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)))||$&&xe(new $)!=o||K&&"[object Promise]"!=xe(K.resolve())||Q&&xe(new Q)!=i||G&&"[object WeakMap]"!=xe(new G))&&(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)&&Ne(e)}(e)&&V.call(e,"callee")&&(!W.call(e,"callee")||F.call(e)==r)}je.Cache=ue;var Ie=Array.isArray;function Ne(e){return null!=e&&Le(e.length)&&!Re(e)}function Re(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 ze=O?function(e){return function(t){return e(t)}}(O):function(e){return Fe(e)&&Le(e.length)&&!!h[F.call(e)]};function Ue(e){return Ne(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||ke(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 We(e){return e}n.exports=function(e,t,n){var r=Ie(e)?x:D,o=arguments.length<3;return r(e,ye(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),y=n.n(v),b=n(4),w=n.n(b),C=n(6),O=n.n(C),x=n(2),k=n.n(x),D=n(1),S=n.n(D);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 R(e,t,n,r,o,i,s,c,l,f,d,p,h,m){u(this,R),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),y=A(JSON.parse(JSON.stringify(_)),g),b=E(j(v,e,p,h,m),2),w=b[0],C=b[1];if(t){var O=E(j(y,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)},N=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 k()(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(k()(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(k()(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,y=i.length-v.length;n.setState({formattedNumber:i,freezeSelection:u,selectedCountry:s},(function(){y>0&&(g-=y),")"==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,y=f.searchPlaceholder,b=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:y,autoFocus:!0,autoComplete:b?"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,b=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:b.length>1?n.guessSelectedCountry(b.substring(0,6),e.country,h,v)||0:e.country&&h.find((function(t){return t.iso2==e.country}))||0;var C,x=b.length<2&&c&&!k()(b,c.dialCode)?c.dialCode:"";C=""===b&&0===c?"":n.formatNumber((e.disableCountryCode?"":x)+b,c.name?c:void 0);var D=h.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:C,onlyCountries:h,preferredCountries:m,hiddenAreaCodes:v,selectedCountry:c,highlightCountryIndex:D,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:y()(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&&k()(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)&&k()(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,y=p.defaultErrorMessage,b=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=y):(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)),k=S()({"selected-flag":!0,open:l}),D=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},b&&g.a.createElement("div",{className:"special-label"},b),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:D,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef=e}},m?g.a.createElement("div",{className:k},m):g.a.createElement("div",{onClick:h?void 0:this.handleFlagDropdownClick,className:k,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);N.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"]=N}])},73:function(e,t,n){var r;e.exports=(r=n(363),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}]))},363: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(363),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",y="required",b="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),k=e=>e.filter(Boolean),D=e=>k(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function S(e,t,n){let r=-1;const o=x(t)?[t]:D(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=k(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,N=e=>"checkbox"===e.type,R=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:R(n)?(i=n.options,[...i].filter((({selected:e})=>e)).map((({value:e})=>e))):N(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 z(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&z(e.parentNode)}var U=e=>O(e)&&!Object.keys(e).length,W=e=>"boolean"==typeof e;function B(e,t){const n=x(t)?[t]:D(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)&&U(r)||Array.isArray(r)&&!r.filter((e=>O(e)&&!U(e)||W(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 $(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)?$(o,a):a}catch(n){}}return e}function K(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))?!K(e,t,r):e!==t)return!1}}}return!0}function Q(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]=[],Q(e[a][r],_(t[a]||{},r,[]),n[a][r],n[a],r)):K(_(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)=>$(Q(e,t,n.slice(0,e.length)),Q(t,e,n.slice(0,e.length))),J=e=>"string"==typeof e,X=(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):$(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=>J(t)||(0,e.isValidElement)(t);function re(e,t,n="validate"){if(ne(e)||W(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={},k=A(n),D=N(n),S=k||D,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&&(!k&&!D&&(E||w(r))||W(r)&&!r||D&&!F(o).isValid||k&&!T(o).isValid)){const{value:r,message:o}=ne(a)?{value:!!a,message:a}:ee(a);if(r&&(x[C]=Object.assign({type:y,message:o,ref:S?((e.current[C].options||[])[0]||{}).ref:n},M(y,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(J(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(b,e.message)),!t))return x}else if(O(f)){let e={};for(const[n,o]of Object.entries(f)){if(!U(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(!U(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),U(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)||N(e);const ge=typeof window===d,ve=de?"Proxy"in window:typeof Proxy!==d;function ye({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)({}),y=(0,e.useRef)({}),b=(0,e.useRef)(new Set),C=(0,e.useRef)({}),D=(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),W=(0,e.useRef)(),$=(0,e.useRef)({}),Q=(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,ye=m===f,[be,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)(be),xe=(0,e.useRef)(),{isOnBlur:ke,isOnChange:De}=(0,e.useRef)(he(n)).current;Z.current=l,ee.current=s,Oe.current=be,$.current=h?{}:U($.current)?pe(d):$.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&&!K(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||!K(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)||!U(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)&&!J(a)?n.files=a:R(n)?[...n.options].forEach((e=>e.selected=a.includes(e.value))):N(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),!K(n,L.current)}return!1}),[]),je=(0,e.useCallback)(((e,t=!0)=>{if(Ce.current.isDirty||Ce.current.dirtyFields){const n=!K(_(L.current,e),H(g,e,$)),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,ye,g.current[e],$))[e];return Me(e,n,t),M(n)}),[Me,ye]),Ae=(0,e.useCallback)((async e=>{const{errors:t}=await ee.current(He(),Z.current,ye),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:U(t),isValidating:!1}),n}{const r=_(t,e);return Me(e,r,n!==U(t),{},U(t)),!r}}),[Me,ye]),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]),Ne=(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]),Re=(0,e.useCallback)(((e,t,n)=>{if(!h&&!q(t)&&S($.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)&&(Ne(e,t,n),ne.current.has(e))){const r=ce(e)||e;S(v.current,e,t),Q.current[r]({[r]:_(v.current,r)}),(Ce.current.isDirty||Ce.current.dirtyFields)&&n.shouldDirty&&(S(Oe.current.dirtyFields,e,G(t,_(L.current,e,[]),_(Oe.current.dirtyFields,e,[]))),Se({isDirty:!K(Object.assign(Object.assign({},He()),{[e]:t}),L.current)}))}!h&&S($.current,e,t)}),[je,_e,Ne]),Le=e=>F.current||b.current.has(e)||b.current.has((e.match(/\w+/)||[])[0]),Ve=e=>{let t=!0;if(!U(C.current))for(const n in C.current)e&&C.current[n].size&&!C.current[n].has(e)&&!C.current[n].has(ce(e))||(D.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(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(X(g,pe($.current),h))}W.current=W.current?W.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:De,isReValidateOnBlur:ke,isTouched:!!_(Oe.current.touched,n),isSubmitted:Oe.current.isSubmitted},re.current));let c=je(n,!1),l=!U(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&&N(t)&&S($.current,n,H(g,n)),u)return!s&&Ve(n),(!U(c)||l&&U(c))&&Se(c);if(Ee(),ee.current){const{errors:e}=await ee.current(He(),Z.current,ye),r=Oe.current.isValid;if(a=_(e,n),N(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=U(e),r!==i&&(l=!0)}else a=(await ae(g,ye,r,$))[n];!s&&Ve(n),Me(n,a,l,c,i)}};const ze=(0,e.useCallback)((async(e={})=>{const t=U(g.current)?L.current:{},{errors:n}=await ee.current(Object.assign(Object.assign(Object.assign({},t),He()),e),Z.current,ye)||{},r=U(n);Oe.current.isValid!==r&&Se({isValid:r})}),[ye]),Ue=(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)||N(i)?Array.isArray(u.options)&&u.options.length?(k(u.options).forEach(((e={},n)=>{(z(e.ref)&&Y(e,e.ref)||a)&&(P(e.ref,t),B(u.options,`[${n}]`))})),u.options&&!k(u.options).length&&delete e.current[s]):delete e.current[s]:(z(i)&&Y(u,i)||a)&&(P(i,t),delete e.current[s]):delete e.current[s]}(g,W.current,e,$,h,t),h&&(B(T.current,e.ref.name),B(j.current,e.ref.name))}),[h]),We=(0,e.useCallback)((e=>{if(F.current)Se();else{for(const t of b.current)if(t.startsWith(e)){Se();break}Ve(e)}}),[]),Be=(0,e.useCallback)(((e,t)=>{e&&(Ue(e,t),h&&!k(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&&ze(),We(e.ref.name)))}),[ze,Ue]);const Ye=(0,e.useCallback)(((e,t,n)=>{const r=n?C.current[n]:b.current;let o=X(g,pe($.current),h,!1,e);if(J(e)){const n=ce(e)||e;return ne.current.has(n)&&(o=Object.assign(Object.assign({},y.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(!U(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],y=!0;if(v&&(f?Array.isArray(v.options)&&k(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:[...k(v&&v.options||[]),{ref:e}],ref:{type:s,name:n}},t):Object.assign({},c):c,l[n]=v;const b=M(_($.current,n));U(L.current)&&b||(m=_(b?L.current:$.current,n),y=M(m),y||d||_e(n,m)),U(t)||(S(j.current,n,!0),!oe&&Ce.current.isValid&&ae(g,ye,v,$).then((e=>{const t=Oe.current.isValid;U(e)?S(T.current,n,!0):B(T.current,n),t!==U(e)&&Se()}))),!h||d&&y||!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,W.current)}const $e=(0,e.useCallback)(((e,t)=>async n=>{n&&n.preventDefault&&(n.preventDefault(),n.persist());let r={},o=Fe(X(g,pe($.current),h,!0));Ce.current.isSubmitting&&Se({isSubmitting:!0});try{if(ee.current){const{errors:e,values:t}=await ee.current(o,Z.current,ye);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,ye,e,$);n[t]?(S(r,t,n[t]),B(T.current,t)):_(j.current,t)&&(B(Oe.current.errors,t),S(T.current,t,!0))}U(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:U(Oe.current.errors),submitCount:Oe.current.submitCount+1})}}),[p,ye]);(0,e.useEffect)((()=>{s&&Ce.current.isValid&&ze(),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&&z(e.ref)&&t(n);else n&&z(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&&(be.isValid=K(T.current,j.current)&&U(Oe.current.errors));const Ke={trigger:Ie,setValue:(0,e.useCallback)((function(e,t,n){Re(e,t,n||{}),Le(e)&&Se(),Ve(e)}),[Re,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(be,{get:(e,t)=>t in e?(Ce.current[t]=!0,e[t]):undefined}):be},Qe=(0,e.useMemo)((()=>Object.assign({isFormDirty:Pe,updateWatchedValue:We,shouldUnregister:h,updateFormState:Se,removeFieldEventListener:Ue,watchInternal:Ye,mode:re.current,reValidateMode:{isReValidateOnBlur:ke,isReValidateOnChange:De},validateResolver:s?ze:undefined,fieldsRef:g,resetFieldArrayFunctionRef:Q,useWatchFieldsRef:C,useWatchRenderFunctionsRef:D,fieldArrayDefaultValuesRef:v,validFieldsRef:T,fieldsWithValidationRef:j,fieldArrayNamesRef:ne,readFormStateRef:Ce,formStateRef:Oe,defaultValuesRef:L,shallowFieldsStateRef:$,fieldArrayValuesRef:y},Ke)),[L.current,We,h,Ue,Ye]);return Object.assign({watch:function(e,t){return Ye(e,t)},control:Qe,handleSubmit:$e,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(Q.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={},b.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:be.errors},Ke)}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=D(i,"Map"),y=D(Object,"create");function b(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 k(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 D(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)}b.prototype.clear=function(){this.__data__=y?y(null):{}},b.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},b.prototype.get=function(e){var t=this.__data__;if(y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(t,e)?t[e]:void 0},b.prototype.has=function(e){var t=this.__data__;return y?void 0!==t[e]:p.call(t,e)},b.prototype.set=function(e,t){return this.__data__[e]=y&&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 b,map:new(v||w),string:new b}},C.prototype["delete"]=function(e){return k(this,e)["delete"](e)},C.prototype.get=function(e){return k(this,e).get(e)},C.prototype.has=function(e){return k(this,e).has(e)},C.prototype.set=function(e,t){return k(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 y(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function b(e){return c=e,s=setTimeout(C,t),l?y(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?y(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 b(u);if(g)return s=setTimeout(C,t),y(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")(),y=t&&!t.nodeType&&t,b=y&&"object"==typeof n&&n&&!n.nodeType&&n,w=b&&b.exports===y&&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 k(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function D(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,N=v["__core-js_shared__"],R=(_=/[^.]+$/.exec(N&&N.keys&&N.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.*?")+"$"),z=v.Symbol,U=v.Uint8Array,W=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"),Q=Oe(v,"Promise"),G=Oe(v,"Set"),$=Oe(v,"WeakMap"),J=Oe(Object,"create"),X=Pe(q),Z=Pe(K),ee=Pe(Q),te=Pe(G),ne=Pe($),re=z?z.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__=J?J(null):{}},ie.prototype["delete"]=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(J){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 J?void 0!==t[e]:V.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=J&&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,Ue)},function(e,t){if(null==e)return e;if(!Ne(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=De(t,e)?[t]:be(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||ze(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 U(e),new U(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__"),y=m&&V.call(t,"__wrapped__");if(v||y){var b=v?e.value():e,w=y?t.value():t;return c||(c=new le),n(b,w,s,u,c)}}return!!g&&(c||(c=new le),function(e,t,n,r,o,a){var i=2&o,s=Ue(e),u=s.length;if(u!=Ue(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,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(d=!1)}return a["delete"](e),a["delete"](t),d}(e,t,n,s,u,c))}(e,t,ve,n,s,u))}function ye(e){return"function"==typeof e?e:null==e?We:"object"==typeof e?Ie(e)?function(e,t){return De(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=De(t,e)?[t]:be(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)&&ke(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=Ue(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):De(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 be(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(!k(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!!R&&R in e}(e))&&(Re(e)||S(e)?H:d).test(Pe(e))}(n)?n:void 0}var xe=function(e){return F.call(e)};function ke(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||p.test(e))&&e>-1&&e%1==0&&e<t}function De(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||Q&&"[object Promise]"!=xe(Q.resolve())||G&&xe(new G)!=i||$&&"[object WeakMap]"!=xe(new $))&&(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)&&Ne(e)}(e)&&V.call(e,"callee")&&(!W.call(e,"callee")||F.call(e)==r)}je.Cache=ue;var Ie=Array.isArray;function Ne(e){return null!=e&&Le(e.length)&&!Re(e)}function Re(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 ze=O?function(e){return function(t){return e(t)}}(O):function(e){return Fe(e)&&Le(e.length)&&!!h[F.call(e)]};function Ue(e){return Ne(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||ke(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 We(e){return e}n.exports=function(e,t,n){var r=Ie(e)?x:D,o=arguments.length<3;return r(e,ye(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),y=n.n(v),b=n(4),w=n.n(b),C=n(6),O=n.n(C),x=n(2),k=n.n(x),D=n(1),S=n.n(D);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 R(e,t,n,r,o,i,s,c,l,f,d,p,h,m){u(this,R),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),y=A(JSON.parse(JSON.stringify(_)),g),b=E(j(v,e,p,h,m),2),w=b[0],C=b[1];if(t){var O=E(j(y,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)},N=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 k()(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(k()(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(k()(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;if(document.activeElement===e){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.onlyCountries,a=t.selectedCountry,i=n.concatPreferredCountries(r,o).findIndex((function(e){return e.dialCode===a.dialCode&&e.iso2===a.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:i},(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&&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=e.target.selectionStart,y=n.state.formattedNumber,b=i.length-y.length;n.setState({formattedNumber:i,freezeSelection:u,selectedCountry:s},(function(){b>0&&(v-=b),")"==i.charAt(i.length-1)?n.numberInputRef.setSelectionRange(i.length-1,i.length-1):v>0&&y.length>=i.length?n.numberInputRef.setSelectionRange(v,v):g<y.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,searchValue:""},(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=n.concatPreferredCountries(o,s).findIndex((function(e){return e==a})),setTimeout((function(){return n.scrollTo(n.getElement(i))}),100)}n.setState({searchValue:t,highlightCountryIndex:i})},n.concatPreferredCountries=function(e,t){return e.length>0?a(new Set(e.concat(t))):t},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=n.concatPreferredCountries(t,r),u=o.trim().toLowerCase().replace("+","");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=n.state,t=e.preferredCountries,o=e.highlightCountryIndex,a=e.showDropdown,i=e.searchValue,s=n.props,u=s.disableDropdown,c=s.prefix,l=n.props,f=l.enableSearch,d=l.searchNotFound,p=l.disableSearchIcon,h=l.searchClass,m=l.searchStyle,v=l.searchPlaceholder,y=l.autocompleteSearch,b=n.getSearchFilteredCountries().map((function(e,t){var r=o===t,a=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:a,"data-dial-code":"1",tabIndex:u?"-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):c+e.dialCode))})),w=g.a.createElement("li",{key:"dashes",className:"divider"});t.length>0&&(!f||f&&!i.trim())&&b.splice(t.length,0,w);var C=S()(r({"country-list":!0,hide:!a},n.props.dropdownClass,!0));return g.a.createElement("ul",{ref:function(e){return!f&&e&&e.focus(),n.dropdownRef=e},className:C,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},f&&g.a.createElement("li",{className:S()(r({search:!0},h,h))},!p&&g.a.createElement("span",{className:S()(r({"search-emoji":!0},"".concat(h,"-emoji"),h)),role:"img","aria-label":"Magnifying glass"},"🔎"),g.a.createElement("input",{className:S()(r({"search-box":!0},"".concat(h,"-box"),h)),style:m,type:"search",placeholder:v,autoFocus:!0,autoComplete:y?"on":"off",value:i,onChange:n.handleSearchChange})),b.length>0?b:g.a.createElement("li",{className:"no-entries-message"},g.a.createElement("span",null,d)))};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,b=e.value?e.value.replace(/\D/g,""):"";c=e.disableInitialCountryGuess?0:b.length>1?n.guessSelectedCountry(b.substring(0,6),e.country,h,v)||0:e.country&&h.find((function(t){return t.iso2==e.country}))||0;var C,x=b.length<2&&c&&!k()(b,c.dialCode)?c.dialCode:"";C=""===b&&0===c?"":n.formatNumber((e.disableCountryCode?"":x)+b,c.name?c:void 0);var D=h.findIndex((function(e){return e==c}));return n.state={showDropdown:e.showDropdown,formattedNumber:C,onlyCountries:h,preferredCountries:m,hiddenAreaCodes:v,selectedCountry:c,highlightCountryIndex:D,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:y()(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),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{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&&k()(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)&&k()(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=this,a=this.state,i=a.onlyCountries,s=a.selectedCountry,u=a.showDropdown,c=a.formattedNumber,l=a.hiddenAreaCodes,f=this.props,d=f.disableDropdown,p=f.renderStringAsFlag,h=f.isValid,m=f.defaultErrorMessage,v=f.specialLabel;if("boolean"==typeof h)t=h;else{var y=h(c.replace(/\D/g,""),s,i,l);"boolean"==typeof y?!1===(t=y)&&(n=m):(t=!1,n=y)}var b=S()((r(e={},this.props.containerClass,!0),r(e,"react-tel-input",!0),e)),w=S()({arrow:!0,up:u}),C=S()(r({"form-control":!0,"invalid-number":!t,open:u},this.props.inputClass,!0)),O=S()({"selected-flag":!0,open:u}),x=S()(r({"flag-dropdown":!0,"invalid-number":!t,open:u},this.props.buttonClass,!0)),k="flag ".concat(s&&s.iso2);return g.a.createElement("div",{className:"".concat(b," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},v&&g.a.createElement("div",{className:"special-label"},v),n&&g.a.createElement("div",{className:"invalid-number-message"},n),g.a.createElement("input",Object.assign({className:C,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:c,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(e){o.numberInputRef=e,"function"==typeof o.props.inputProps.ref?o.props.inputProps.ref(e):"object"==typeof o.props.inputProps.ref&&(o.props.inputProps.ref.current=e)}})),g.a.createElement("div",{className:x,style:this.props.buttonStyle,ref:function(e){return o.dropdownContainerRef=e}},p?g.a.createElement("div",{className:O},p):g.a.createElement("div",{onClick:d?void 0:this.handleFlagDropdownClick,className:O,title:s?"".concat(s.localName||s.name,": + ").concat(s.dialCode):"",tabIndex:d?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!u||void 0},g.a.createElement("div",{className:k},!d&&g.a.createElement("div",{className:w}))),u&&this.getCountryDropdownList()))}}])&&c(n.prototype,l),t}(g.a.Component);N.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:"",className:"",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"]=N}])},73:function(e,t,n){var r;e.exports=(r=n(363),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}]))},363: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(363),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",y="required",b="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),k=e=>e.filter(Boolean),D=e=>k(e.replace(/["|']/g,"").replace(/\[/g,".").replace(/\]/g,"").split("."));function S(e,t,n){let r=-1;const o=x(t)?[t]:D(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=k(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,N=e=>"checkbox"===e.type,R=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:R(n)?(i=n.options,[...i].filter((({selected:e})=>e)).map((({value:e})=>e))):N(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 z(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&z(e.parentNode)}var U=e=>O(e)&&!Object.keys(e).length,W=e=>"boolean"==typeof e;function B(e,t){const n=x(t)?[t]:D(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)&&U(r)||Array.isArray(r)&&!r.filter((e=>O(e)&&!U(e)||W(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 Q(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))?!Q(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)):Q(_(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 $=(e,t,n)=>K(G(e,t,n.slice(0,e.length)),G(t,e,n.slice(0,e.length))),J=e=>"string"==typeof e,X=(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))},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)||W(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={},k=A(n),D=N(n),S=k||D,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&&(!k&&!D&&(E||w(r))||W(r)&&!r||D&&!F(o).isValid||k&&!T(o).isValid)){const{value:r,message:o}=ne(a)?{value:!!a,message:a}:ee(a);if(r&&(x[C]=Object.assign({type:y,message:o,ref:S?((e.current[C].options||[])[0]||{}).ref:n},M(y,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(J(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(b,e.message)),!t))return x}else if(O(f)){let e={};for(const[n,o]of Object.entries(f)){if(!U(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(!U(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),U(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)||N(e);const ge=typeof window===d,ve=de?"Proxy"in window:typeof Proxy!==d;function ye({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)({}),y=(0,e.useRef)({}),b=(0,e.useRef)(new Set),C=(0,e.useRef)({}),D=(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),W=(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,ye=m===f,[be,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)(be),xe=(0,e.useRef)(),{isOnBlur:ke,isOnChange:De}=(0,e.useRef)(he(n)).current;Z.current=l,ee.current=s,Oe.current=be,K.current=h?{}:U(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&&!Q(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||!Q(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)||!U(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)&&!J(a)?n.files=a:R(n)?[...n.options].forEach((e=>e.selected=a.includes(e.value))):N(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),!Q(n,L.current)}return!1}),[]),je=(0,e.useCallback)(((e,t=!0)=>{if(Ce.current.isDirty||Ce.current.dirtyFields){const n=!Q(_(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,ye,g.current[e],K))[e];return Me(e,n,t),M(n)}),[Me,ye]),Ae=(0,e.useCallback)((async e=>{const{errors:t}=await ee.current(He(),Z.current,ye),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:U(t),isValidating:!1}),n}{const r=_(t,e);return Me(e,r,n!==U(t),{},U(t)),!r}}),[Me,ye]),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]),Ne=(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]),Re=(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)&&(Ne(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,$(t,_(L.current,e,[]),_(Oe.current.dirtyFields,e,[]))),Se({isDirty:!Q(Object.assign(Object.assign({},He()),{[e]:t}),L.current)}))}!h&&S(K.current,e,t)}),[je,_e,Ne]),Le=e=>F.current||b.current.has(e)||b.current.has((e.match(/\w+/)||[])[0]),Ve=e=>{let t=!0;if(!U(C.current))for(const n in C.current)e&&C.current[n].size&&!C.current[n].has(e)&&!C.current[n].has(ce(e))||(D.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(J(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))}W.current=W.current?W.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:De,isReValidateOnBlur:ke,isTouched:!!_(Oe.current.touched,n),isSubmitted:Oe.current.isSubmitted},re.current));let c=je(n,!1),l=!U(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&&N(t)&&S(K.current,n,H(g,n)),u)return!s&&Ve(n),(!U(c)||l&&U(c))&&Se(c);if(Ee(),ee.current){const{errors:e}=await ee.current(He(),Z.current,ye),r=Oe.current.isValid;if(a=_(e,n),N(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=U(e),r!==i&&(l=!0)}else a=(await ae(g,ye,r,K))[n];!s&&Ve(n),Me(n,a,l,c,i)}};const ze=(0,e.useCallback)((async(e={})=>{const t=U(g.current)?L.current:{},{errors:n}=await ee.current(Object.assign(Object.assign(Object.assign({},t),He()),e),Z.current,ye)||{},r=U(n);Oe.current.isValid!==r&&Se({isValid:r})}),[ye]),Ue=(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)||N(i)?Array.isArray(u.options)&&u.options.length?(k(u.options).forEach(((e={},n)=>{(z(e.ref)&&Y(e,e.ref)||a)&&(P(e.ref,t),B(u.options,`[${n}]`))})),u.options&&!k(u.options).length&&delete e.current[s]):delete e.current[s]:(z(i)&&Y(u,i)||a)&&(P(i,t),delete e.current[s]):delete e.current[s]}(g,W.current,e,K,h,t),h&&(B(T.current,e.ref.name),B(j.current,e.ref.name))}),[h]),We=(0,e.useCallback)((e=>{if(F.current)Se();else{for(const t of b.current)if(t.startsWith(e)){Se();break}Ve(e)}}),[]),Be=(0,e.useCallback)(((e,t)=>{e&&(Ue(e,t),h&&!k(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&&ze(),We(e.ref.name)))}),[ze,Ue]);const Ye=(0,e.useCallback)(((e,t,n)=>{const r=n?C.current[n]:b.current;let o=X(g,pe(K.current),h,!1,e);if(J(e)){const n=ce(e)||e;return ne.current.has(n)&&(o=Object.assign(Object.assign({},y.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(!U(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],y=!0;if(v&&(f?Array.isArray(v.options)&&k(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:[...k(v&&v.options||[]),{ref:e}],ref:{type:s,name:n}},t):Object.assign({},c):c,l[n]=v;const b=M(_(K.current,n));U(L.current)&&b||(m=_(b?L.current:K.current,n),y=M(m),y||d||_e(n,m)),U(t)||(S(j.current,n,!0),!oe&&Ce.current.isValid&&ae(g,ye,v,K).then((e=>{const t=Oe.current.isValid;U(e)?S(T.current,n,!0):B(T.current,n),t!==U(e)&&Se()}))),!h||d&&y||!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,W.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,ye);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,ye,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))}U(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:U(Oe.current.errors),submitCount:Oe.current.submitCount+1})}}),[p,ye]);(0,e.useEffect)((()=>{s&&Ce.current.isValid&&ze(),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&&z(e.ref)&&t(n);else n&&z(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&&(be.isValid=Q(T.current,j.current)&&U(Oe.current.errors));const Qe={trigger:Ie,setValue:(0,e.useCallback)((function(e,t,n){Re(e,t,n||{}),Le(e)&&Se(),Ve(e)}),[Re,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(be,{get:(e,t)=>t in e?(Ce.current[t]=!0,e[t]):undefined}):be},Ge=(0,e.useMemo)((()=>Object.assign({isFormDirty:Pe,updateWatchedValue:We,shouldUnregister:h,updateFormState:Se,removeFieldEventListener:Ue,watchInternal:Ye,mode:re.current,reValidateMode:{isReValidateOnBlur:ke,isReValidateOnChange:De},validateResolver:s?ze:undefined,fieldsRef:g,resetFieldArrayFunctionRef:G,useWatchFieldsRef:C,useWatchRenderFunctionsRef:D,fieldArrayDefaultValuesRef:v,validFieldsRef:T,fieldsWithValidationRef:j,fieldArrayNamesRef:ne,readFormStateRef:Ce,formStateRef:Oe,defaultValuesRef:L,shallowFieldsStateRef:K,fieldArrayValuesRef:y},Qe)),[L.current,We,h,Ue,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={},b.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:be.errors},Qe)} 13 13 /*! ***************************************************************************** 14 14 Copyright (c) Microsoft Corporation. 15 15 16 16 Permission to use, copy, modify, and/or distribute this software for any 17 17 purpose with or without fee is hereby granted. 18 18 19 19 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 20 20 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 21 21 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 22 22 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 23 23 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 24 24 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 25 25 PERFORMANCE OF THIS SOFTWARE. 26 ***************************************************************************** */const be=(0,e.createContext)(null);be.displayName="RHFContext";const we=()=>(0,e.useContext)(be);var Ce=function(t){var n=t.as,r=t.errors,o=t.name,a=t.message,i=t.render,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(t,["as","errors","name","message","render"]),u=we(),c=_(r||u.errors,o);if(!c)return null;var l=c.message,f=c.types,d=Object.assign({},s,{children:l||a});return(0,e.isValidElement)(n)?(0,e.cloneElement)(n,d):i?i({message:l||a,messages:f}):(0,e.createElement)(n||e.Fragment,d)},Oe=n(251),xe=n.n(Oe),ke=n(953);function De(){return(De=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}).apply(this,arguments)}function Se(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Me=function(){function e(e){this.isSpeedy=e.speedy===undefined||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==undefined&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(i){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var _e=function(e){function t(e,r,u,c,d){for(var p,h,m,g,w,O=0,x=0,k=0,D=0,S=0,T=0,I=m=p=0,R=0,L=0,V=0,F=0,H=u.length,z=H-1,U="",W="",B="",Y="";R<H;){if(h=u.charCodeAt(R),R===z&&0!==x+D+k+O&&(0!==x&&(h=47===x?10:47),D=k=O=0,H++,z++),0===x+D+k+O){if(R===z&&(0<L&&(U=U.replace(f,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=u.charAt(R)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,F=++R;R<H;){switch(h=u.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(R+1)){case 42:case 47:e:{for(I=R+1;I<z;++I)switch(u.charCodeAt(I)){case 47:if(42===h&&42===u.charCodeAt(I-1)&&R+2!==I){R=I+1;break e}break;case 10:if(47===h){R=I+1;break e}}R=I}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<z&&u.charCodeAt(R)!==h;);}if(0===m)break;R++}switch(m=u.substring(F,R),0===p&&(p=(U=U.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(U=U.replace(f,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=j}if(F=(m=t(r,L,m,h,d+1)).length,0<A&&(w=s(3,m,L=n(j,U,V),r,M,E,F,h,d,c),U=L.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:U=U.replace(C,i);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===c&&(W+=m,m="")}else m="";break;default:m=t(r,n(r,U,V),m,c,d+1)}B+=m,m=V=L=I=p=0,U="",h=u.charCodeAt(++R);break;case 125:case 59:if(1<(F=(U=(0<L?U.replace(f,""):U).trim()).length))switch(0===I&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(F=(U=U.replace(" ",":")).length),0<A&&void 0!==(w=s(1,U,r,e,M,E,W.length,c,d,c))&&0===(F=(U=w.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=U+u.charAt(R);break}default:58!==U.charCodeAt(F-1)&&(W+=o(U,p,h,U.charCodeAt(2)))}V=L=I=p=0,U="",h=u.charCodeAt(++R)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<U.length&&(L=1,U+="\0"),0<A*N&&s(0,U,r,e,M,E,W.length,c,d,c),E=1,M++;break;case 59:case 125:if(0===x+D+k+O){E++;break}default:switch(E++,g=u.charAt(R),h){case 9:case 32:if(0===D+O+x)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===D+x+O&&(L=V=1,g="\f"+g);break;case 108:if(0===D+x+O+_&&0<I)switch(R-I){case 2:112===S&&58===u.charCodeAt(R-3)&&(_=S);case 8:111===T&&(_=T)}break;case 58:0===D+x+O&&(I=R);break;case 44:0===x+k+D+O&&(L=1,g+="\r");break;case 34:case 39:0===x&&(D=D===h?0:0===D?h:D);break;case 91:0===D+x+k&&O++;break;case 93:0===D+x+k&&O--;break;case 41:0===D+x+O&&k--;break;case 40:if(0===D+x+O){if(0===p)switch(2*S+3*T){case 533:break;default:p=1}k++}break;case 64:0===x+k+D+O+I+m&&(m=1);break;case 42:case 47:if(!(0<D+O+k))switch(x){case 0:switch(2*h+3*u.charCodeAt(R+1)){case 235:x=47;break;case 220:F=R,x=42}break;case 42:47===h&&42===S&&F+2!==R&&(33===u.charCodeAt(F+2)&&(W+=u.substring(F,R+1)),g="",x=0)}}0===x&&(U+=g)}T=S,S=h,R++}if(0<(F=W.length)){if(L=r,0<A&&(void 0!==(w=s(2,W,L,e,M,E,F,c,d,c))&&0===(W=w).length))return Y+W+B;if(W=L.join(",")+"{"+W+"}",0!=P*_){switch(2!==P||a(W,2)||(_=0),_){case 111:W=W.replace(b,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}_=0}}return Y+W+B}function n(e,t,n){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<a;++s)for(var c=0;c<i;++c)t[u++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",s=2*t+3*n+4*r;if(944===s){e=i.indexOf(":",9)+1;var u=i.substring(e,i.length-1).trim();return u=i.substring(0,e).trim()+u+";",1===P||2===P&&a(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(u=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+u+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(u=i.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=i.replace(w,"tb");break;case 232:u=i.replace(w,"tb-rl");break;case 220:u=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+u+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(u=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:i=i.replace(u,"-webkit-"+u)+";"+i;break;case 207:case 102:i=i.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(u,"-webkit-"+u)+";"+i.replace(u,"-ms-"+u+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return u=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+u+"-ms-flex-"+u+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(x,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(x,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===D.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(u,"-webkit-"+u)+i.replace(u,"-moz-"+u.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),I(2!==t?r:r.replace(k,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,a,i,s,u,l){for(var f,d=0,p=t;d<A;++d)switch(f=T[d].call(c,e,p,n,r,o,a,i,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var o=s(-1,n,r,r,M,E,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var a=t(j,r,n,0,0);return 0<A&&(void 0!==(o=s(-2,a,r,r,M,E,a.length,0,0,0))&&(a=o)),"",_=0,E=M=1,a}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,x=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,D=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,E=1,M=1,_=0,P=1,j=[],T=[],A=0,I=null,N=0;return c.use=function R(e){switch(e){case void 0:case null:A=T.length=0;break;default:if("function"==typeof e)T[A++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)R(e[t]);else N=0|!!e}return R},c.set=u,void 0!==e&&u(e),c},Pe="/*|*/";function je(e){e&&Te.current.insert(e+"}")}var Te={current:null},Ae=function(e,t,n,r,o,a,i,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Te.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Pe;break;case 3:switch(s){case 102:case 112:return Te.current.insert(n[0]+t),"";default:return t+(0===c?Pe:"")}case-2:t.split("/*|*/}").forEach(je)}},Ie=function(e){e===undefined&&(e={});var t,n=e.key||"css";e.prefix!==undefined&&(t={prefix:e.prefix});var r=new _e(t);var o,a={};o=e.container||document.head;var i,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(Ae),i=function(e,t,n,o){var a=t.name;Te.current=n,r(e,t.styles),o&&(u.inserted[a]=!0)};var u={key:n,sheet:new Me({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:i};return u};function Ne(e,t,n){var r="";return n.split(" ").forEach((function(n){e[n]!==undefined?t.push(e[n]):r+=n+" "})),r}var Re=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&e.registered[r]===undefined&&(e.registered[r]=t.styles),e.inserted[t.name]===undefined){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(o!==undefined)}};var Le=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Ve={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Fe=/[A-Z]|^ms/g,He=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ze=function(e){return 45===e.charCodeAt(1)},Ue=function(e){return null!=e&&"boolean"!=typeof e},We=function(e){var t={};return function(n){return t[n]===undefined&&(t[n]=e(n)),t[n]}}((function(e){return ze(e)?e:e.replace(Fe,"-$&").toLowerCase()})),Be=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(He,(function(e,t,n){return qe={name:t,styles:n,next:qe},t}))}return 1===Ve[e]||ze(e)||"number"!=typeof t||0===t?t:t+"px"};function Ye(e,t,n,r){if(null==n)return"";if(n.__emotion_styles!==undefined)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return qe={name:n.name,styles:n.styles,next:qe},n.name;if(n.styles!==undefined){var o=n.next;if(o!==undefined)for(;o!==undefined;)qe={name:o.name,styles:o.styles,next:qe},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ye(e,t,n[o],!1);else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&t[i]!==undefined?r+=a+"{"+t[i]+"}":Ue(i)&&(r+=We(a)+":"+Be(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&t[i[0]]!==undefined){var s=Ye(e,t,i,!1);switch(a){case"animation":case"animationName":r+=We(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)Ue(i[u])&&(r+=We(a)+":"+Be(a,i[u])+";")}return r}(e,t,n);case"function":if(e!==undefined){var a=qe,i=n(e);return qe=a,Ye(e,t,i,r)}break;case"string":}if(null==t)return n;var s=t[n];return s===undefined||r?n:s}var qe,$e=/label:\s*([^\s;\n{]+)\s*;/g;var Ke=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&e[0].styles!==undefined)return e[0];var r=!0,o="";qe=undefined;var a=e[0];null==a||a.raw===undefined?(r=!1,o+=Ye(n,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=Ye(n,t,e[i],46===o.charCodeAt(o.length-1)),r&&(o+=a[i]);$e.lastIndex=0;for(var s,u="";null!==(s=$e.exec(o));)u+="-"+s[1];return{name:Le(o)+u,styles:o,next:qe}},Qe=Object.prototype.hasOwnProperty,Ge=(0,e.createContext)("undefined"!=typeof HTMLElement?Ie():null),Je=(0,e.createContext)({}),Xe=Ge.Provider,Ze=function(t){var n=function(n,r){return(0,e.createElement)(Ge.Consumer,null,(function(e){return t(n,e,r)}))};return(0,e.forwardRef)(n)},et="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tt=function(e,t){var n={};for(var r in t)Qe.call(t,r)&&(n[r]=t[r]);return n[et]=e,n},nt=function(t,n,r,o){var a=null===r?n.css:n.css(r);"string"==typeof a&&t.registered[a]!==undefined&&(a=t.registered[a]);var i=n[et],s=[a],u="";"string"==typeof n.className?u=Ne(t.registered,s,n.className):null!=n.className&&(u=n.className+" ");var c=Ke(s);Re(t,c,"string"==typeof i);u+=t.key+"-"+c.name;var l={};for(var f in n)Qe.call(n,f)&&"css"!==f&&f!==et&&(l[f]=n[f]);return l.ref=o,l.className=u,(0,e.createElement)(i,l)},rt=Ze((function(t,n,r){return"function"==typeof t.css?(0,e.createElement)(Je.Consumer,null,(function(e){return nt(n,t,e,r)})):nt(n,t,null,r)}));var ot=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ke(t)},at=function(t,n){var r=arguments;if(null==n||!Qe.call(n,"css"))return e.createElement.apply(undefined,r);var o=r.length,a=new Array(o);a[0]=rt,a[1]=tt(t,n);for(var i=2;i<o;i++)a[i]=r[i];return e.createElement.apply(null,a)},it=Ze((function(t,n){var r=t.styles;if("function"==typeof r)return(0,e.createElement)(Je.Consumer,null,(function(t){var o=Ke([r(t)]);return(0,e.createElement)(st,{serialized:o,cache:n})}));var o=Ke([r]);return(0,e.createElement)(st,{serialized:o,cache:n})})),st=function(e){var t,n;function r(t,n,r){return e.call(this,t,n,r)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Ee(t,n);var o=r.prototype;return o.componentDidMount=function(){this.sheet=new Me({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},o.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},o.insertStyles=function(){if(this.props.serialized.next!==undefined&&Re(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},o.componentWillUnmount=function(){this.sheet.flush()},o.render=function(){return null},r}(e.Component),ut=function ni(e){for(var t=e.length,n=0,r="";n<t;n++){var o=e[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=ni(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r};function ct(e,t,n){var r=[],o=Ne(e,r,n);return r.length<2?n:o+t(r)}var lt=Ze((function(t,n){return(0,e.createElement)(Je.Consumer,null,(function(e){var r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=Ke(t,n.registered);return Re(n,o,!1),n.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return ct(n.registered,r,ut(t))},theme:e},a=t.children(o);return!0,a}))})),ft=["mousedown","touchstart"];26 ***************************************************************************** */const be=(0,e.createContext)(null);be.displayName="RHFContext";const we=()=>(0,e.useContext)(be);var Ce=function(t){var n=t.as,r=t.errors,o=t.name,a=t.message,i=t.render,s=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(t,["as","errors","name","message","render"]),u=we(),c=_(r||u.errors,o);if(!c)return null;var l=c.message,f=c.types,d=Object.assign({},s,{children:l||a});return(0,e.isValidElement)(n)?(0,e.cloneElement)(n,d):i?i({message:l||a,messages:f}):(0,e.createElement)(n||e.Fragment,d)},Oe=n(251),xe=n.n(Oe),ke=n(953);function De(){return(De=Object.assign?Object.assign.bind():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}).apply(this,arguments)}function Se(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ee(e,t){return(Ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Me=function(){function e(e){this.isSpeedy=e.speedy===undefined||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==undefined&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(i){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var _e=function(e){function t(e,r,u,c,d){for(var p,h,m,g,w,O=0,x=0,k=0,D=0,S=0,T=0,I=m=p=0,R=0,L=0,V=0,F=0,H=u.length,z=H-1,U="",W="",B="",Y="";R<H;){if(h=u.charCodeAt(R),R===z&&0!==x+D+k+O&&(0!==x&&(h=47===x?10:47),D=k=O=0,H++,z++),0===x+D+k+O){if(R===z&&(0<L&&(U=U.replace(f,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=u.charAt(R)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,F=++R;R<H;){switch(h=u.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(R+1)){case 42:case 47:e:{for(I=R+1;I<z;++I)switch(u.charCodeAt(I)){case 47:if(42===h&&42===u.charCodeAt(I-1)&&R+2!==I){R=I+1;break e}break;case 10:if(47===h){R=I+1;break e}}R=I}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<z&&u.charCodeAt(R)!==h;);}if(0===m)break;R++}switch(m=u.substring(F,R),0===p&&(p=(U=U.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<L&&(U=U.replace(f,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=j}if(F=(m=t(r,L,m,h,d+1)).length,0<A&&(w=s(3,m,L=n(j,U,V),r,M,E,F,h,d,c),U=L.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:U=U.replace(C,i);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===c&&(W+=m,m="")}else m="";break;default:m=t(r,n(r,U,V),m,c,d+1)}B+=m,m=V=L=I=p=0,U="",h=u.charCodeAt(++R);break;case 125:case 59:if(1<(F=(U=(0<L?U.replace(f,""):U).trim()).length))switch(0===I&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(F=(U=U.replace(" ",":")).length),0<A&&void 0!==(w=s(1,U,r,e,M,E,W.length,c,d,c))&&0===(F=(U=w.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){Y+=U+u.charAt(R);break}default:58!==U.charCodeAt(F-1)&&(W+=o(U,p,h,U.charCodeAt(2)))}V=L=I=p=0,U="",h=u.charCodeAt(++R)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<U.length&&(L=1,U+="\0"),0<A*N&&s(0,U,r,e,M,E,W.length,c,d,c),E=1,M++;break;case 59:case 125:if(0===x+D+k+O){E++;break}default:switch(E++,g=u.charAt(R),h){case 9:case 32:if(0===D+O+x)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===D+x+O&&(L=V=1,g="\f"+g);break;case 108:if(0===D+x+O+_&&0<I)switch(R-I){case 2:112===S&&58===u.charCodeAt(R-3)&&(_=S);case 8:111===T&&(_=T)}break;case 58:0===D+x+O&&(I=R);break;case 44:0===x+k+D+O&&(L=1,g+="\r");break;case 34:case 39:0===x&&(D=D===h?0:0===D?h:D);break;case 91:0===D+x+k&&O++;break;case 93:0===D+x+k&&O--;break;case 41:0===D+x+O&&k--;break;case 40:if(0===D+x+O){if(0===p)switch(2*S+3*T){case 533:break;default:p=1}k++}break;case 64:0===x+k+D+O+I+m&&(m=1);break;case 42:case 47:if(!(0<D+O+k))switch(x){case 0:switch(2*h+3*u.charCodeAt(R+1)){case 235:x=47;break;case 220:F=R,x=42}break;case 42:47===h&&42===S&&F+2!==R&&(33===u.charCodeAt(F+2)&&(W+=u.substring(F,R+1)),g="",x=0)}}0===x&&(U+=g)}T=S,S=h,R++}if(0<(F=W.length)){if(L=r,0<A&&(void 0!==(w=s(2,W,L,e,M,E,F,c,d,c))&&0===(W=w).length))return Y+W+B;if(W=L.join(",")+"{"+W+"}",0!=P*_){switch(2!==P||a(W,2)||(_=0),_){case 111:W=W.replace(b,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}_=0}}return Y+W+B}function n(e,t,n){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<a;++s)for(var c=0;c<i;++c)t[u++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",s=2*t+3*n+4*r;if(944===s){e=i.indexOf(":",9)+1;var u=i.substring(e,i.length-1).trim();return u=i.substring(0,e).trim()+u+";",1===P||2===P&&a(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(u=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+u+i;case 1005:return p.test(i)?i.replace(d,":-webkit-")+i.replace(d,":-moz-")+i:i;case 1e3:switch(t=(u=i.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=i.replace(w,"tb");break;case 232:u=i.replace(w,"tb-rl");break;case 220:u=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+u+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(u=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:i=i.replace(u,"-webkit-"+u)+";"+i;break;case 207:case 102:i=i.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(u,"-webkit-"+u)+";"+i.replace(u,"-ms-"+u+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return u=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+u+"-ms-flex-"+u+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(x,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(x,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===D.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(u,"-webkit-"+u)+i.replace(u,"-moz-"+u.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),I(2!==t?r:r.replace(k,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,a,i,s,u,l){for(var f,d=0,p=t;d<A;++d)switch(f=T[d].call(c,e,p,n,r,o,a,i,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<A){var o=s(-1,n,r,r,M,E,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var a=t(j,r,n,0,0);return 0<A&&(void 0!==(o=s(-2,a,r,r,M,E,a.length,0,0,0))&&(a=o)),"",_=0,E=M=1,a}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,x=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,D=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,E=1,M=1,_=0,P=1,j=[],T=[],A=0,I=null,N=0;return c.use=function R(e){switch(e){case void 0:case null:A=T.length=0;break;default:if("function"==typeof e)T[A++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)R(e[t]);else N=0|!!e}return R},c.set=u,void 0!==e&&u(e),c},Pe="/*|*/";function je(e){e&&Te.current.insert(e+"}")}var Te={current:null},Ae=function(e,t,n,r,o,a,i,s,u,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Te.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Pe;break;case 3:switch(s){case 102:case 112:return Te.current.insert(n[0]+t),"";default:return t+(0===c?Pe:"")}case-2:t.split("/*|*/}").forEach(je)}},Ie=function(e){e===undefined&&(e={});var t,n=e.key||"css";e.prefix!==undefined&&(t={prefix:e.prefix});var r=new _e(t);var o,a={};o=e.container||document.head;var i,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(Ae),i=function(e,t,n,o){var a=t.name;Te.current=n,r(e,t.styles),o&&(u.inserted[a]=!0)};var u={key:n,sheet:new Me({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:i};return u};function Ne(e,t,n){var r="";return n.split(" ").forEach((function(n){e[n]!==undefined?t.push(e[n]):r+=n+" "})),r}var Re=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&e.registered[r]===undefined&&(e.registered[r]=t.styles),e.inserted[t.name]===undefined){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(o!==undefined)}};var Le=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Ve={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Fe=/[A-Z]|^ms/g,He=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ze=function(e){return 45===e.charCodeAt(1)},Ue=function(e){return null!=e&&"boolean"!=typeof e},We=function(e){var t={};return function(n){return t[n]===undefined&&(t[n]=e(n)),t[n]}}((function(e){return ze(e)?e:e.replace(Fe,"-$&").toLowerCase()})),Be=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(He,(function(e,t,n){return qe={name:t,styles:n,next:qe},t}))}return 1===Ve[e]||ze(e)||"number"!=typeof t||0===t?t:t+"px"};function Ye(e,t,n,r){if(null==n)return"";if(n.__emotion_styles!==undefined)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return qe={name:n.name,styles:n.styles,next:qe},n.name;if(n.styles!==undefined){var o=n.next;if(o!==undefined)for(;o!==undefined;)qe={name:o.name,styles:o.styles,next:qe},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ye(e,t,n[o],!1);else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&t[i]!==undefined?r+=a+"{"+t[i]+"}":Ue(i)&&(r+=We(a)+":"+Be(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&t[i[0]]!==undefined){var s=Ye(e,t,i,!1);switch(a){case"animation":case"animationName":r+=We(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)Ue(i[u])&&(r+=We(a)+":"+Be(a,i[u])+";")}return r}(e,t,n);case"function":if(e!==undefined){var a=qe,i=n(e);return qe=a,Ye(e,t,i,r)}break;case"string":}if(null==t)return n;var s=t[n];return s===undefined||r?n:s}var qe,Ke=/label:\s*([^\s;\n{]+)\s*;/g;var Qe=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&e[0].styles!==undefined)return e[0];var r=!0,o="";qe=undefined;var a=e[0];null==a||a.raw===undefined?(r=!1,o+=Ye(n,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=Ye(n,t,e[i],46===o.charCodeAt(o.length-1)),r&&(o+=a[i]);Ke.lastIndex=0;for(var s,u="";null!==(s=Ke.exec(o));)u+="-"+s[1];return{name:Le(o)+u,styles:o,next:qe}},Ge=Object.prototype.hasOwnProperty,$e=(0,e.createContext)("undefined"!=typeof HTMLElement?Ie():null),Je=(0,e.createContext)({}),Xe=$e.Provider,Ze=function(t){var n=function(n,r){return(0,e.createElement)($e.Consumer,null,(function(e){return t(n,e,r)}))};return(0,e.forwardRef)(n)},et="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tt=function(e,t){var n={};for(var r in t)Ge.call(t,r)&&(n[r]=t[r]);return n[et]=e,n},nt=function(){return null},rt=function(t,n,r,o){var a=null===r?n.css:n.css(r);"string"==typeof a&&t.registered[a]!==undefined&&(a=t.registered[a]);var i=n[et],s=[a],u="";"string"==typeof n.className?u=Ne(t.registered,s,n.className):null!=n.className&&(u=n.className+" ");var c=Qe(s);Re(t,c,"string"==typeof i);u+=t.key+"-"+c.name;var l={};for(var f in n)Ge.call(n,f)&&"css"!==f&&f!==et&&(l[f]=n[f]);l.ref=o,l.className=u;var d=(0,e.createElement)(i,l),p=(0,e.createElement)(nt,null);return(0,e.createElement)(e.Fragment,null,p,d)},ot=Ze((function(t,n,r){return"function"==typeof t.css?(0,e.createElement)(Je.Consumer,null,(function(e){return rt(n,t,e,r)})):rt(n,t,null,r)}));var at=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qe(t)},it=function(t,n){var r=arguments;if(null==n||!Ge.call(n,"css"))return e.createElement.apply(undefined,r);var o=r.length,a=new Array(o);a[0]=ot,a[1]=tt(t,n);for(var i=2;i<o;i++)a[i]=r[i];return e.createElement.apply(null,a)},st=Ze((function(t,n){var r=t.styles;if("function"==typeof r)return(0,e.createElement)(Je.Consumer,null,(function(t){var o=Qe([r(t)]);return(0,e.createElement)(ut,{serialized:o,cache:n})}));var o=Qe([r]);return(0,e.createElement)(ut,{serialized:o,cache:n})})),ut=function(e){var t,n;function r(t,n,r){return e.call(this,t,n,r)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Ee(t,n);var o=r.prototype;return o.componentDidMount=function(){this.sheet=new Me({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},o.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},o.insertStyles=function(){if(this.props.serialized.next!==undefined&&Re(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},o.componentWillUnmount=function(){this.sheet.flush()},o.render=function(){return null},r}(e.Component),ct=function ii(e){for(var t=e.length,n=0,r="";n<t;n++){var o=e[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=ii(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r};function lt(e,t,n){var r=[],o=Ne(e,r,n);return r.length<2?n:o+t(r)}var ft=function(){return null},dt=Ze((function(t,n){return(0,e.createElement)(Je.Consumer,null,(function(r){var o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=Qe(t,n.registered);return Re(n,o,!1),n.key+"-"+o.name},a={css:o,cx:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return lt(n.registered,o,ct(t))},theme:r},i=t.children(a);var s=(0,e.createElement)(ft,null);return(0,e.createElement)(e.Fragment,null,s,i)}))})),pt=["mousedown","touchstart"]; 27 27 /**! 28 28 * @fileOverview Kickass library to create and place poppers near their reference elements. 29 29 * @version 1.16.1 30 30 * @license 31 31 * Copyright (c) 2016 Federico Zivolo and contributors 32 32 * 33 33 * Permission is hereby granted, free of charge, to any person obtaining a copy 34 34 * of this software and associated documentation files (the "Software"), to deal 35 35 * in the Software without restriction, including without limitation the rights 36 36 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 37 37 * copies of the Software, and to permit persons to whom the Software is 38 38 * furnished to do so, subject to the following conditions: 39 39 * 40 40 * The above copyright notice and this permission notice shall be included in all 41 41 * copies or substantial portions of the Software. 42 42 * 43 43 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 44 44 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 45 45 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 46 46 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 47 47 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 48 48 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 49 49 * SOFTWARE. 50 50 */ 51 var dt="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,pt=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(dt&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var ht=dt&&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()}),pt))}};function mt(e){return e&&"[object Function]"==={}.toString.call(e)}function gt(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function vt(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function yt(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=gt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:yt(vt(e))}function bt(e){return e&&e.referenceNode?e.referenceNode:e}var wt=dt&&!(!window.MSInputMethodContext||!document.documentMode),Ct=dt&&/MSIE 10/.test(navigator.userAgent);function Ot(e){return 11===e?wt:10===e?Ct:wt||Ct}function xt(e){if(!e)return document.documentElement;for(var t=Ot(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"===gt(n,"position")?xt(n):n:e?e.ownerDocument.documentElement:document.documentElement}function kt(e){return null!==e.parentNode?kt(e.parentNode):e}function Dt(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&&xt(i.firstElementChild)!==i?xt(u):u;var c=kt(e);return c.host?Dt(c.host,t):Dt(e,kt(t).host)}function St(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 Et(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=St(t,"top"),o=St(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 Mt(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 _t(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Ot(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Pt(e){var t=e.body,n=e.documentElement,r=Ot(10)&&getComputedStyle(n);return{height:_t("Height",t,n,r),width:_t("Width",t,n,r)}}var jt=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Tt=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}}(),At=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},It=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 Nt(e){return It({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Rt(e){var t={};try{if(Ot(10)){t=e.getBoundingClientRect();var n=St(e,"top"),r=St(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?Pt(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=gt(e);u-=Mt(l,"x"),c-=Mt(l,"y"),o.width-=u,o.height-=c}return Nt(o)}function Lt(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=Ot(10),o="HTML"===t.nodeName,a=Rt(e),i=Rt(t),s=yt(e),u=gt(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=Nt({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=Et(f,t)),f}function Vt(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=e.ownerDocument.documentElement,r=Lt(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:St(n),s=t?0:St(n,"left"),u={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:a};return Nt(u)}function Ft(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===gt(e,"position"))return!0;var n=vt(e);return!!n&&Ft(n)}function Ht(e){if(!e||!e.parentElement||Ot())return document.documentElement;for(var t=e.parentElement;t&&"none"===gt(t,"transform");)t=t.parentElement;return t||document.documentElement}function zt(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined&&arguments[4],a={top:0,left:0},i=o?Ht(e):Dt(e,bt(t));if("viewport"===r)a=Vt(i,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=yt(vt(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=Lt(s,i,o);if("HTML"!==s.nodeName||Ft(i))a=u;else{var c=Pt(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 Ut(e){return e.width*e.height}function Wt(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=zt(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 It({key:e},s[e],{area:Ut(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 Bt(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,o=r?Ht(t):Dt(t,bt(n));return Lt(n,o,r)}function Yt(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 qt(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 $t(e,t,n){n=n.split("-")[0];var r=Yt(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[qt(s)],o}function Kt(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Qt(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=Kt(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&&mt(n)&&(t.offsets.popper=Nt(t.offsets.popper),t.offsets.reference=Nt(t.offsets.reference),t=n(t,e))})),t}function Gt(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Bt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Wt(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=$t(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Qt(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Jt(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Xt(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 Zt(){return this.state.isDestroyed=!0,Jt(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[Xt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function en(e){var t=e.ownerDocument;return t?t.defaultView:window}function tn(e,t,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||tn(yt(a.parentNode),t,n,r),r.push(a)}function nn(e,t,n,r){n.updateBound=r,en(e).addEventListener("resize",n.updateBound,{passive:!0});var o=yt(e);return tn(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function rn(){this.state.eventsEnabled||(this.state=nn(this.reference,this.options,this.state,this.scheduleUpdate))}function on(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,en(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 an(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function sn(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&an(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var un=dt&&/Firefox/i.test(navigator.userAgent);function cn(e,t,n){var r=Kt(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 ln=["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"],fn=ln.slice(3);function dn(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=fn.indexOf(e),r=fn.slice(n+1).concat(fn.slice(0,n));return t?r.reverse():r}var pn="flip",hn="clockwise",mn="counterclockwise";function gn(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(Kt(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 Nt(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){an(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var vn={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:At({},u,a[u]),end:At({},u,a[u]+a[c]-i[c])};e.offsets.popper=It({},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=an(+n)?[+n,0]:gn(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||xt(e.instance.popper);e.instance.reference===n&&(n=xt(n));var r=Xt("transform"),o=e.instance.popper.style,a=o.top,i=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=zt(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])),At({},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))),At({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=It({},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(!cn(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=Yt(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=Nt(e.offsets.popper);var m=s[f]+s[c]/2-h/2,g=gt(e.instance.popper),v=parseFloat(g["margin"+l]),y=parseFloat(g["border"+l+"Width"]),b=m-e.offsets.popper[f]-v-y;return b=Math.max(Math.min(i[c]-h,b),0),e.arrowElement=r,e.offsets.arrow=(At(n={},f,Math.round(b)),At(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Jt(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=zt(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=qt(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case pn:i=[r,o];break;case hn:i=dn(r);break;case mn:i=dn(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=qt(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,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===a&&p||y&&"end"===a&&h||!y&&"start"===a&&m||!y&&"end"===a&&g),w=!!t.flipVariationsByContent&&(y&&"start"===a&&h||y&&"end"===a&&p||!y&&"start"===a&&g||!y&&"end"===a&&m),C=b||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=It({},e.offsets.popper,$t(e.instance.popper,e.offsets.reference,e.placement)),e=Qt(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=qt(t),e.offsets.popper=Nt(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!cn(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Kt(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=Kt(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=xt(e.instance.popper),u=Rt(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||!un),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=Xt("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 y={"x-placement":e.placement};return e.attributes=It({},y,e.attributes),e.styles=It({},c,e.styles),e.arrowStyles=It({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return sn(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&&sn(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=Bt(o,t,e,n.positionFixed),i=Wt(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),sn(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:undefined}}},yn=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};jt(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=ht(this.update.bind(this)),this.options=It({},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(It({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=It({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return It({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&mt(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 Tt(e,[{key:"update",value:function(){return Gt.call(this)}},{key:"destroy",value:function(){return Zt.call(this)}},{key:"enableEventListeners",value:function(){return rn.call(this)}},{key:"disableEventListeners",value:function(){return on.call(this)}}]),e}();yn.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,yn.placements=ln,yn.Defaults=vn;var bn=yn,wn=(n(353),function(e){do{e+=~~(1e6*Math.random())}while("undefined"!=typeof document&&document.getElementById(e));return e}),Cn=("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;}"}),On=function(t){t.placement;var n=Se(t,["placement"]);return at(e.Fragment,null,at(it,{styles:xn}),at("div",De({},n,{"data-arrow":"true",css:Cn})))},xn={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;}}"},kn=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=Se(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],y=(0,e.useState)(!1),b=y[0],w=y[1],C=(0,e.useState)({popoverId:null,referenceId:null,arrowId:null}),O=C[0],x=C[1],k=O.popoverId,D=O.referenceId,S=O.arrowId;r=h,o=function(e){e.target.id===D||document.getElementById(D).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 ft.forEach((function(t){document.addEventListener(t,e,{passive:!0})})),function(){ft.forEach((function(t){document.removeEventListener(t,e,{passive:!0})}))}}),[r,o]),(0,e.useEffect)((function(){if(!k)return x({popoverId:wn("popover"),referenceId:wn("reference"),arrowId:wn("arrow")});var e=document.getElementById(k),t=document.getElementById(D),n=document.getElementById(S);e&&t&&n&&(new bn(t,e,{placement:c,modifiers:{arrow:{element:n}}}),w(g))}),[g]);var E={content:[Dn.content,f.content],header:[Dn.header,f.header],body:[Dn.body,f.body]};return at(e.Fragment,null,k?at("div",De({},d,{id:k,ref:h,css:E.content,style:b?{display:"block"}:{}}),at(On,{id:S}),i?at("div",{css:E.header},i):null,at("div",{css:E.body},s)):null,t().cloneElement(p,De({},p.props,{id:D,onClick:function(){"click"===l&&v(!g)}})))};kn.defaultProps={placement:"right",trigger:"click",styles:{}};var Dn={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;"}},Sn=kn;function En(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 Mn={position:"relative",display:"inline-block",backgroundColor:"#ddd",borderRadius:5,userSelect:"none",boxSizing:"border-box"},_n={position:"absolute",backgroundColor:"#5e72e4",borderRadius:5,userSelect:"none",boxSizing:"border-box"},Pn={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"},jn={x:{track:De({},Mn,{width:200,height:10}),active:De({},_n,{top:0,height:"100%"}),thumb:De({},Pn)},y:{track:De({},Mn,{width:10,height:200}),active:De({},_n,{left:0,width:"100%"}),thumb:De({},Pn)},xy:{track:{position:"relative",overflow:"hidden",width:200,height:200,backgroundColor:"#5e72e4",borderRadius:0},active:{},thumb:De({},Pn)},disabled:{opacity:.5}},Tn=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,y=t.styles,b=Se(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 k(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 y=(0!==h?parseInt(h/l,10)*l:0)+i,b=(0!==m?parseInt(m/f,10)*f:0)+u;d({x:g?s-y+i:y,y:v?c-b+u:b})}}function D(e){if(!n){e.preventDefault();var t=C.current,r=En(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(),k(function(e){var t=En(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:De({},jn[r].track,{},y.track),active:De({},jn[r].active,{},y.active),thumb:De({},jn[r].thumb,{},y.thumb),disabled:De({},jn.disabled,{},y.disabled)};return at("div",De({},b,{ref:w,css:ot([A.track,n&&A.disabled],";label:Slider;"),onClick:function(e){if(!n){var t=En(e),r=w.current.getBoundingClientRect();k({left:t.x-r.left,top:t.y-r.top}),m&&m(e)}}}),at("div",{css:A.active,style:j}),at("div",{ref:C,style:T,onTouchStart:D,onMouseDown:D,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},at("div",{css:A.thumb})))};Tn.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 An=Tn,In=n(654),Nn=n.n(In),Rn=n(763),Ln=n.n(Rn),Vn=n(37),Fn=n.n(Vn),Hn="undefined"!=typeof navigator&&navigator.userAgent.match(/iPhone|iPad|iPod/i),zn=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=Se(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(Ln()(e))return e;if(Fn()(e)){if(!(e=e.trim()))return"";var t=parseFloat(e);if(!Nn()(t))return t}return""}(e);p(e),i&&i(t)},onKeyDown:function(e){38===e.keyCode?i&&i(Wn("+",a,o,r,n)):40===e.keyCode&&i&&i(Wn("-",a,o,r,n)),s&&s(e)},onWheel:function(e){e.target.blur()}};return at(c,De({},l,h,u?{css:Un,type:"number",inputMode:"numeric",pattern:Hn?"[0-9]*":"",step:n,min:r,max:o}:{css:Un,type:"text"}))};zn.defaultProps={autoComplete:"off",enableMobileNumericKeyboard:!1,value:"",component:function(e){var t=e.onChange,n=Se(e,["onChange"]);return at("input",De({},n,{onChange:function(e){t&&t(e.target.value)}}))},step:1};var Un={MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}};function Wn(e,t,n,r,o){if(""===t)return Ln()(r)?r:"";if(t="+"===e?t+o:t-o,Ln()(n)&&t>n)return n;if(Ln()(r)&&t<r)return r;var a=(o.toString().split(".")[1]||[]).length;return a?parseFloat(t.toFixed(a)):t}var Bn=zn;function Yn(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 qn(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 $n(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Kn(e,t,n){return"#"+[$n(e),$n(t),$n(n)].join("")}function Qn(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 Gn(e,t,n,r){return"rgba("+[e,t,n,r/100].join(",")+")"}var Jn={name:"bzk4lp",styles:"width:100%;margin-top:10px;margin-bottom:10px;display:flex;"},Xn={name:"lwa3hx",styles:"flex:1;margin-right:10px;"},Zn=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(De({},e,{rgba:Gn(e.r,e.g,e.b,e.a)}))}function f(e,n,r){var o=qn(e,n,r),a=o.r,i=o.g,s=o.b,u=Kn(a,i,s);l(De({},t,{h:e,s:n,v:r,r:a,g:i,b:s,hex:u}))}function d(e,n,r){var o=Kn(e,n,r),a=Qn(e,n,r),i=a.h,s=a.s,u=a.v;l(De({},t,{r:e,g:n,b:r,h:i,s:s,v:u,hex:o}))}function p(e){l(De({},t,{a:e}))}var h=Gn(r,o,a,i),m="linear-gradient(to right, "+Gn(r,o,a,0)+", "+Gn(r,o,a,100)+")",g=function(e,t,n){var r=qn(e,t,n);return Kn(r.r,r.g,r.b)}(s,100,100);return at("div",{css:er.picker,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},at("div",{css:er.selector,style:{backgroundColor:g}},at("div",{css:er.gradientWhite}),at("div",{css:er.gradientDark}),at(An,{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%"}}})),at("div",{css:Jn},at("div",{css:Xn},at(An,{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"}}}),at(An,{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)}})),at("div",{style:{backgroundColor:h,width:30,height:30}})),at("div",{css:er.inputs},at("div",{css:er.input},at("input",{style:{width:70,textAlign:"left"},type:"text",value:t.hex,onChange:function(e){return function(e){var n=Yn(e),r=n.r,o=n.g,a=n.b,i=Qn(r,o,a),s=i.h,u=i.s,c=i.v;l(De({},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=Yn(n),o=r.r,a=r.g,s=r.b;l(De({},t,{r:o,g:a,b:s,a:i,hex:n}))}}}),at("div",null,"Hex")),at("div",{css:er.input},at(Bn,{min:0,max:255,value:r,onChange:function(e){return d(e,o,a)}}),at("div",null,"R")),at("div",{css:er.input},at(Bn,{min:0,max:255,value:o,onChange:function(e){return d(r,e,a)}}),at("div",null,"G")),at("div",{css:er.input},at(Bn,{min:0,max:255,value:a,onChange:function(e){return d(r,o,e)}}),at("div",null,"B")),at("div",{css:er.input},at(Bn,{min:0,max:100,value:i,onChange:function(e){return p(e)}}),at("div",null,"A"))))};Zn.defaultProps={initialValue:"#5e72e4"};var er={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 tr(e){var t,n=(e=e.toLowerCase()).substr(0,7),r=Yn(n),o=r.r,a=r.g,i=r.b,s=Qn(o,a,i),u=e.length>7?(t=e.substr(7),Math.round(parseInt("0x"+t,16)/255*100)):100;return De({},s,{r:o,g:a,b:i,a:u,hex:n,rgba:Gn(o,a,i,u)})}var nr={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;"},rr={name:"trkpwz",styles:"display:block;width:100%;height:100%;cursor:pointer;"},or=function(t){var n=t.initialValue,r=t.onChange,o=t.placement,a=Se(t,["initialValue","onChange","placement"]),i=(0,e.useState)(tr(n)),s=i[0],u=i[1];function c(e){r&&(u(e),r(e))}return(0,e.useEffect)((function(){c(tr(n))}),[n]),at(Sn,{placement:o,body:at(Zn,{color:s,onChange:c})},at("span",De({},a,{css:nr}),at("span",{css:rr,style:{backgroundColor:s.rgba}})))};or.defaultProps={placement:"bottom"};var ar=or,ir=n(322),sr=n.n(ir),ur=n(555),cr=n.n(ur);function lr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(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 dr(e,t,n){return t&&fr(e.prototype,t),n&&fr(e,n),e}function pr(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&&Ee(e,t)}function hr(e){return(hr="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 mr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gr(e,t){if(t&&("object"===hr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return mr(e)}function vr(e){return(vr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yr=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function br(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||yr(r)&&yr(o)))return!1;var r,o;return!0}var wr=function(e,t){var n;void 0===t&&(t=br);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}},Cr=ReactDOM;function Or(e,t){if(null==e)return{};var n,r,o=Se(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xr(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 kr(e,t){if(e){if("string"==typeof e)return xr(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)?xr(e,t):void 0}}function Dr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,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)||kr(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 Sr(e){return function(e){if(Array.isArray(e))return xr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kr(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 Er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mr=n(639),_r=function(){};function Pr(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function jr(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Pr(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Tr=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===hr(e)&&null!==e?[e]:[]};function Ar(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ir(e){return Ar(e)?window.pageYOffset:e.scrollTop}function Nr(e,t){Ar(e)?window.scrollTo(0,t):e.scrollTop=t}function Rr(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Lr(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:200,r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:_r,o=Ir(e),a=t-o,i=10,s=0;function u(){var t=Rr(s+=i,o,a,n);Nr(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function Vr(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Fr(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 Hr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zr(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}function Ur(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return o}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var l=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,h=f.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=Ir(u),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=m-b,C=g-h,O=w+v,x=l-v-h,k=d-g+v+y,D=v+h-b,S=160;switch(o){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:t};if(x>=p&&!i)return a&&Lr(u,k,S),{placement:"bottom",maxHeight:t};if(!i&&x>=r||i&&C>=r)return a&&Lr(u,k,S),{placement:"bottom",maxHeight:i?C-y:x-y};if("auto"===o||i){var E=t,M=i?w:O;return M>=r&&(E=Math.min(M-y-s.controlHeight,t)),{placement:"top",maxHeight:E}}if("bottom"===o)return Nr(u,k),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(O>=p&&!i)return a&&Lr(u,D,S),{placement:"top",maxHeight:t};if(!i&&O>=r||i&&w>=r){var _=t;return(!i&&O>=r||i&&w>=r)&&(_=i?w-b:O-b),a&&Lr(u,D,S),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Wr=function(e){return"auto"===e?"bottom":e},Br=(0,e.createContext)({getPortalPlacement:null}),Yr=function(e){pr(n,e);var t=zr(n);function n(){var e;lr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,a=n.menuPlacement,i=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var c="fixed"===i,l=Ur({maxHeight:o,menuEl:t,minHeight:r,placement:a,shouldScroll:s&&!c,isFixedPosition:c,theme:u}),f=e.context.getPortalPlacement;f&&f(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||Wr(t);return Hr(Hr({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return dr(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(e.Component);Yr.contextType=Br;var qr=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},$r=qr,Kr=qr,Qr=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return at("div",De({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};Qr.defaultProps={children:"No options"};var Gr=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return at("div",De({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};Gr.defaultProps={children:"Loading..."};var Jr=function(e){pr(n,e);var t=zr(n);function n(){var e;lr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==Wr(e.props.menuPlacement)&&e.setState({placement:n})},e}return dr(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,a=e.menuPosition,i=e.getStyles,s="fixed"===a;if(!t&&!s||!r)return null;var u=this.state.placement||Wr(o),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),l=s?0:window.pageYOffset,f=c[u]+l,d=at("div",{css:i("menuPortal",{offset:f,position:a,rect:c})},n);return at(Br.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,Cr.createPortal)(d,t):d)}}]),n}(e.Component),Xr=Array.isArray,Zr=Object.keys,eo=Object.prototype.hasOwnProperty;function to(e,t){if(e===t)return!0;if(e&&t&&"object"==hr(e)&&"object"==hr(t)){var n,r,o,a=Xr(e),i=Xr(t);if(a&&i){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!to(e[n],t[n]))return!1;return!0}if(a!=i)return!1;var s=e instanceof Date,u=t instanceof Date;if(s!=u)return!1;if(s&&u)return e.getTime()==t.getTime();var c=e instanceof RegExp,l=t instanceof RegExp;if(c!=l)return!1;if(c&&l)return e.toString()==t.toString();var f=Zr(e);if((r=f.length)!==Zr(t).length)return!1;for(n=r;0!=n--;)if(!eo.call(t,f[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=f[n])&&e.$$typeof||to(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function no(e,t){try{return to(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}function ro(){var e,t,n=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return ro=function(){return n},n}var oo={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},ao=function(e){var t=e.size,n=Or(e,["size"]);return at("svg",De({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oo},n))},io=function(e){return at(ao,De({size:20},e),at("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},so=function(e){return at(ao,De({size:20},e),at("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},uo=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},co=uo,lo=uo,fo=function(){var e=ot.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(ro()),po=function(e){var t=e.delay,n=e.offset;return at("span",{css:ot({animation:"".concat(fo," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},ho=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,a=e.isRtl;return at("div",De({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),at(po,{delay:0,offset:a}),at(po,{delay:160,offset:!0}),at(po,{delay:320,offset:!a}))};ho.defaultProps={size:4};function mo(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 go(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vo(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 yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vo(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bo=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function wo(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 Co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oo=function(e){var t=e.children,n=e.innerProps;return at("div",n,t)},xo=Oo,ko=Oo;var Do=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,i=e.getStyles,s=e.innerProps,u=e.isDisabled,c=e.removeProps,l=e.selectProps,f=r.Container,d=r.Label,p=r.Remove;return at(lt,null,(function(r){var h=r.css,m=r.cx;return at(f,{data:a,innerProps:Co(Co({},s),{},{className:m(h(i("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))}),selectProps:l},at(d,{data:a,innerProps:{className:m(h(i("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:l},t),at(p,{data:a,innerProps:Co({className:m(h(i("multiValueRemove",e)),o({"multi-value__remove":!0},n))},c),selectProps:l}))}))};Do.defaultProps={cropWithEllipsis:!0};function So(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 Eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?So(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):So(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}for(var Mo={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return at("div",De({},a,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||at(io,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,a=e.isDisabled,i=e.isFocused,s=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return at("div",De({ref:s,css:r("control",e),className:n({control:!0,"control--is-disabled":a,"control--is-focused":i,"control--menu-is-open":c},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return at("div",De({},a,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||at(so,null))},DownChevron:so,CrossIcon:io,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.Heading,i=e.headingProps,s=e.label,u=e.theme,c=e.selectProps;return at("div",{css:o("group",e),className:r({group:!0},n)},at(a,De({},i,{selectProps:c,theme:u,getStyles:o,cx:r}),s),at("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,a=(e.selectProps,Or(e,["className","cx","getStyles","theme","selectProps"]));return at("div",De({css:r("groupHeading",go({theme:o},a)),className:n({"group-heading":!0},t)},a))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return at("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return at("span",De({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,a=e.isHidden,i=e.isDisabled,s=e.theme,u=(e.selectProps,Or(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return at("div",{css:r("input",yo({theme:s},u))},at(Mr.Z,De({className:n({input:!0},t),inputRef:o,inputStyle:bo(a),disabled:i},u)))},LoadingIndicator:ho,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerRef,i=e.innerProps;return at("div",De({css:o("menu",e),className:r({menu:!0},n)},i,{ref:a}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isMulti,i=e.innerRef,s=e.innerProps;return at("div",De({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":a},n),ref:i},s),t)},MenuPortal:Jr,LoadingMessage:Gr,NoOptionsMessage:Qr,MultiValue:Do,MultiValueContainer:xo,MultiValueLabel:ko,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return at("div",n,t||at(io,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.isFocused,s=e.isSelected,u=e.innerRef,c=e.innerProps;return at("div",De({css:o("option",e),className:r({option:!0,"option--is-disabled":a,"option--is-focused":i,"option--is-selected":s},n),ref:u},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return at("div",De({css:o("placeholder",e),className:r({placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps,i=e.isDisabled,s=e.isRtl;return at("div",De({css:o("container",e),className:r({"--is-disabled":i,"--is-rtl":s},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.innerProps;return at("div",De({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":a},n)},i),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,a=e.getStyles,i=e.hasValue;return at("div",{css:a("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i},n)},t)}},_o=function(e){return Eo(Eo({},Mo),e.components)},Po=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],jo=new RegExp("["+Po.map((function(e){return e.letters})).join("")+"]","g"),To={},Ao=0;Ao<Po.length;Ao++)for(var Io=Po[Ao],No=0;No<Io.letters.length;No++)To[Io.letters[No]]=Io.base;var Ro=function(e){return e.replace(jo,(function(e){return To[e]}))};function Lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Vo=function(e){return e.replace(/^\s+|\s+$/g,"")},Fo=function(e){return"".concat(e.label," ").concat(e.value)};var Ho={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},zo=function(e){return at("span",De({css:Ho},e))};function Uo(e){e["in"],e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,Or(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return at("input",De({ref:t},n,{css:ot({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function Wo(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}var Bo=function(e){pr(n,e);var t=Wo(n);function n(){return lr(this,n),t.apply(this,arguments)}return dr(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,Cr.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(e.Component),Yo=["boxSizing","height","overflow","paddingRight","position"],qo={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function $o(e){e.preventDefault()}function Ko(e){e.stopPropagation()}function Qo(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Go(){return"ontouchstart"in window||navigator.maxTouchPoints}function Jo(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}var Xo=!(!window.document||!window.document.createElement),Zo=0,ea=function(e){pr(n,e);var t=Jo(n);function n(){var e;lr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).originalStyles={},e.listenerOptions={capture:!1,passive:!1},e}return dr(n,[{key:"componentDidMount",value:function(){var e=this;if(Xo){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;if(n&&Yo.forEach((function(t){var n=a&&a[t];e.originalStyles[t]=n})),n&&Zo<1){var i=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,u=window.innerWidth-s+i||0;Object.keys(qo).forEach((function(e){var t=qo[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(u,"px"))}o&&Go()&&(o.addEventListener("touchmove",$o,this.listenerOptions),r&&(r.addEventListener("touchstart",Qo,this.listenerOptions),r.addEventListener("touchmove",Ko,this.listenerOptions))),Zo+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(Xo){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;Zo=Math.max(Zo-1,0),n&&Zo<1&&Yo.forEach((function(t){var n=e.originalStyles[t];a&&(a[t]=n)})),o&&Go()&&(o.removeEventListener("touchmove",$o,this.listenerOptions),r&&(r.removeEventListener("touchstart",Qo,this.listenerOptions),r.removeEventListener("touchmove",Ko,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(e.Component);function ta(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}ea.defaultProps={accountForScrollbars:!0};var na={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},ra=function(e){pr(n,e);var t=ta(n);function n(){var e;lr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={touchScrollTarget:null},e.getScrollTarget=function(t){t!==e.state.touchScrollTarget&&e.setState({touchScrollTarget:t})},e.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},e}return dr(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?at("div",null,at("div",{onClick:this.blurSelectInput,css:na}),at(Bo,{innerRef:this.getScrollTarget},t),r?at(ea,{touchScrollTarget:r}):null):t}}]),n}(e.PureComponent);function oa(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}var aa=function(e){pr(r,e);var n=oa(r);function r(){var e;lr(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).isBottom=!1,e.isTop=!1,e.scrollTarget=void 0,e.touchStart=void 0,e.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},e.handleEventDelta=function(t,n){var r=e.props,o=r.onBottomArrive,a=r.onBottomLeave,i=r.onTopArrive,s=r.onTopLeave,u=e.scrollTarget,c=u.scrollTop,l=u.scrollHeight,f=u.clientHeight,d=e.scrollTarget,p=n>0,h=l-f-c,m=!1;h>n&&e.isBottom&&(a&&a(t),e.isBottom=!1),p&&e.isTop&&(s&&s(t),e.isTop=!1),p&&n>h?(o&&!e.isBottom&&o(t),d.scrollTop=l,m=!0,e.isBottom=!0):!p&&-n>c&&(i&&!e.isTop&&i(t),d.scrollTop=0,m=!0,e.isTop=!0),m&&e.cancelScroll(t)},e.onWheel=function(t){e.handleEventDelta(t,t.deltaY)},e.onTouchStart=function(t){e.touchStart=t.changedTouches[0].clientY},e.onTouchMove=function(t){var n=e.touchStart-t.changedTouches[0].clientY;e.handleEventDelta(t,n)},e.getScrollTarget=function(t){e.scrollTarget=t},e}return dr(r,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return t().createElement(Bo,{innerRef:this.getScrollTarget},this.props.children)}}]),r}(e.Component);function ia(e){var n=e.isEnabled,r=void 0===n||n,o=Or(e,["isEnabled"]);return r?t().createElement(aa,o):o.children}var sa=function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,a=t.isDisabled,i=t.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ua=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},ca=function(e){return!!e.isDisabled};var la={clearIndicator:lo,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:co,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Kr,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,i=r.colors;return Er(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),Er(t,"backgroundColor",i.neutral0),Er(t,"borderRadius",o),Er(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Er(t,"marginBottom",a.menuGutter),Er(t,"marginTop",a.menuGutter),Er(t,"position","absolute"),Er(t,"width","100%"),Er(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:$r,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var fa={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function da(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 pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ha(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}var ma,ga={backspaceRemovesValue:!0,blurInputOnSelect:Vr(),captureMenuScroll:!Vr(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:Fo,trim:!0,matchFrom:"any"},ma),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,s=n.matchFrom,u=i?Vo(t):t,c=i?Vo(a(e)):a(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),o&&(u=Ro(u),c=Ro(c)),"start"===s?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ca,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},va=1,ya=function(e){pr(r,e);var n=ha(r);function r(e){var t;lr(this,r),(t=n.call(this,e)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},t.blockOptionHover=!1,t.isComposing=!1,t.clearFocusValueOnUpdate=!1,t.commonProps=void 0,t.components=void 0,t.hasGroups=!1,t.initialTouchX=0,t.initialTouchY=0,t.inputIsHiddenAfterUpdate=void 0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.cacheComponents=function(e){t.components=_o({components:e})},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;o(e,pa(pa({},n),{},{name:a}))},t.setValue=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:undefined,o=t.props,a=o.closeMenuOnSelect,i=o.isMulti;t.onInputChange("",{action:"set-value"}),a&&(t.inputIsHiddenAfterUpdate=!i,t.onMenuClose()),t.clearFocusValueOnUpdate=!0,t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=t.state.selectValue;if(o)if(t.isOptionSelected(e,a)){var i=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==i})),"deselect-option",e),t.announceAriaLiveSelection({event:"deselect-option",context:{value:t.getOptionLabel(e)}})}else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue([].concat(Sr(a),[e]),"select-option",e),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue(e,"select-option"),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));r&&t.blurInput()},t.removeValue=function(e){var n=t.state.selectValue,r=t.getOptionValue(e),o=n.filter((function(e){return t.getOptionValue(e)!==r}));t.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),t.announceAriaLiveSelection({event:"remove-value",context:{value:e?t.getOptionLabel(e):""}}),t.focusInput()},t.clearValue=function(){t.onChange(null,{action:"clear"})},t.popValue=function(){var e=t.state.selectValue,n=e[e.length-1],r=e.slice(0,e.length-1);t.announceAriaLiveSelection({event:"pop-value",context:{value:n?t.getOptionLabel(n):""}}),t.onChange(r.length?r:null,{action:"pop-value",removedValue:n})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return jr.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return t.props.getOptionLabel(e)},t.getOptionValue=function(e){return t.props.getOptionValue(e)},t.getStyles=function(e,n){var r=la[e](n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,n):r},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getActiveDescendentId=function(){var e=t.props.menuIsOpen,n=t.state,r=n.menuOptions,o=n.focusedOption;if(!o||!e)return undefined;var a=r.focusable.indexOf(o),i=r.render[a];return i&&i.key},t.announceAriaLiveSelection=function(e){var n=e.event,r=e.context;t.setState({ariaLiveSelection:ua(n,r)})},t.announceAriaLiveContext=function(e){var n=e.event,r=e.context;t.setState({ariaLiveContext:sa(n,pa(pa({},r),{},{label:t.props["aria-label"]}))})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.inputIsHiddenAfterUpdate=!r,t.onMenuClose()):t.openMenu("first"),e.preventDefault(),e.stopPropagation()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.stopPropagation(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ar(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=e.currentTarget.value;t.inputIsHiddenAfterUpdate=!1,t.onInputChange(n,{action:"input-change"}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){var n=t.props,r=n.isSearchable,o=n.isMulti;t.props.onFocus&&t.props.onFocus(e),t.inputIsHiddenAfterUpdate=!1,t.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),t.setState({isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur"}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){var e=t.props,n=e.hideSelectedOptions,r=e.isMulti;return n===undefined?r:n},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,s=n.isClearable,u=n.isDisabled,c=n.menuIsOpen,l=n.onKeyDown,f=n.tabSelectsValue,d=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(u||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!f||!h||d&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.inputIsHiddenAfterUpdate=!1,t.onInputChange("",{action:"menu-close"}),t.onMenuClose()):s&&a&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.buildMenuOptions=function(e,n){var r=e.inputValue,o=void 0===r?"":r,a=e.options,i=function(e,r){var a=t.isOptionDisabled(e,n),i=t.isOptionSelected(e,n),s=t.getOptionLabel(e),u=t.getOptionValue(e);if(!(t.shouldHideSelectedOptions()&&i||!t.filterOption({label:s,value:u,data:e},o))){var c=a?undefined:function(){return t.onOptionHover(e)},l=a?undefined:function(){return t.selectOption(e)},f="".concat(t.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:l,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:a,isSelected:i,key:f,label:s,type:"option",value:u}}};return a.reduce((function(e,n,r){if(n.options){t.hasGroups||(t.hasGroups=!0);var o=n.options.map((function(t,n){var o=i(t,"".concat(r,"-").concat(n));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var a="".concat(t.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:a,data:n,options:o})}}else{var s=i(n,"".concat(r));s&&(e.render.push(s),e.focusable.push(n))}return e}),{render:[],focusable:[]})};var o=e.value;t.cacheComponents=wr(t.cacheComponents,no).bind(mr(t)),t.cacheComponents(e.components),t.instancePrefix="react-select-"+(t.props.instanceId||++va);var a=Tr(o);t.buildMenuOptions=wr(t.buildMenuOptions,(function(e,t){var n=Dr(e,2),r=n[0],o=n[1],a=Dr(t,2),i=a[0];return o===a[1]&&r.inputValue===i.inputValue&&r.options===i.options})).bind(mr(t));var i=e.menuIsOpen?t.buildMenuOptions(e,a):{render:[],focusable:[]};return t.state.menuOptions=i,t.state.selectValue=a,t}return dr(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,a=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==a){var i=Tr(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,i):{render:[],focusable:[]},u=this.getNextFocusedValue(i),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:i,focusedOption:c,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,a,i=this.props,s=i.isDisabled,u=i.menuIsOpen,c=this.state.isFocused;(c&&!s&&e.isDisabled||c&&u&&!e.menuIsOpen)&&this.focusInput(),c&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=n.offsetHeight/3,o.bottom+a>r.bottom?Nr(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+a,t.scrollHeight)):o.top-a<r.top&&Nr(t,Math.max(n.offsetTop-a,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildMenuOptions(this.props,r),i=this.props,s=i.isMulti,u=i.tabSelectsValue,c="first"===e?0:a.focusable.length-1;if(!s){var l=a.focusable.indexOf(r[0]);l>-1&&(c=l)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:a,focusedValue:null,focusedOption:a.focusable[c]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})}))}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,a=o.selectValue,i=o.focusedValue;if(n){this.setState({focusedOption:null});var s=a.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=a.length-1,c=-1;if(a.length){switch(e){case"previous":c=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:a[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"first",t=this.props,n=t.pageSize,r=t.tabSelectsValue,o=this.state,a=o.focusedOption,i=o.menuOptions,s=i.focusable;if(s.length){var u=0,c=s.indexOf(a);a||(c=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?u=c>0?c-1:s.length-1:"down"===e?u=(c+1)%s.length:"pageup"===e?(u=c-n)<0&&(u=0):"pagedown"===e?(u=c+n)>s.length-1&&(u=s.length-1):"last"===e&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:ca(s[u]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(fa):pa(pa({},fa),this.props.theme):fa}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.setValue,a=this.selectOption,i=this.props,s=i.isMulti,u=i.isRtl,c=i.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:a,setValue:o,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===undefined?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,a=this.props,i=a.options,s=a.menuIsOpen,u=a.inputValue,c=a.screenReaderStatus,l=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",f=o&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:i}):"",d=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:c({count:this.countOptions()})});return"".concat(l," ").concat(f," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,n=e.isDisabled,r=e.isSearchable,o=e.inputId,a=e.inputValue,i=e.tabIndex,s=e.form,u=this.components.Input,c=this.state.inputIsHidden,l=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!r)return t().createElement(Uo,De({id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:_r,onFocus:this.onInputFocus,readOnly:!0,disabled:n,tabIndex:i,form:s,value:""},f));var d=this.commonProps,p=d.cx,h=d.theme,m=d.selectProps;return t().createElement(u,De({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:n,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,form:s,theme:h,type:"text",value:a},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,n=this.components,r=n.MultiValue,o=n.MultiValueContainer,a=n.MultiValueLabel,i=n.MultiValueRemove,s=n.SingleValue,u=n.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,h=l.inputValue,m=l.placeholder,g=this.state,v=g.selectValue,y=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!f)return h?null:t().createElement(u,De({},c,{key:"placeholder",isDisabled:d,isFocused:b}),m);if(p)return v.map((function(n,s){var u=n===y;return t().createElement(r,De({},c,{components:{Container:o,Label:a,Remove:i},isFocused:u,isDisabled:d,key:"".concat(e.getOptionValue(n)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(n)},onTouchEnd:function(){return e.removeValue(n)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:n}),e.formatOptionLabel(n,"value"))}));if(h)return null;var w=v[0];return t().createElement(s,De({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,De({},n,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!e||!a)return null;return t().createElement(e,De({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,n=e.DropdownIndicator,r=e.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return t().createElement(r,De({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,De({},n,{innerProps:a,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,n=this.components,r=n.Group,o=n.GroupHeading,a=n.Menu,i=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,c=n.NoOptionsMessage,l=n.Option,f=this.commonProps,d=this.state,p=d.focusedOption,h=d.menuOptions,m=this.props,g=m.captureMenuScroll,v=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,C=m.maxMenuHeight,O=m.menuIsOpen,x=m.menuPlacement,k=m.menuPosition,D=m.menuPortalTarget,S=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,M=m.noOptionsMessage,_=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!O)return null;var j,T=function(n){var r=p===n.data;return n.innerRef=r?e.getFocusedOptionRef:undefined,t().createElement(l,De({},f,n,{isFocused:r}),e.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())j=h.render.map((function(n){if("group"===n.type){n.type;var a=Or(n,["type"]),i="".concat(n.key,"-heading");return t().createElement(r,De({},f,a,{Heading:o,headingProps:{id:i,data:n.data},label:e.formatGroupLabel(n.data)}),n.options.map((function(e){return T(e)})))}if("option"===n.type)return T(n)}));else if(y){var A=b({inputValue:v});if(null===A)return null;j=t().createElement(u,f,A)}else{var I=M({inputValue:v});if(null===I)return null;j=t().createElement(c,f,I)}var N={minMenuHeight:w,maxMenuHeight:C,menuPlacement:x,menuPosition:k,menuShouldScrollIntoView:E},R=t().createElement(Yr,De({},f,N),(function(n){var r=n.ref,o=n.placerProps,s=o.placement,u=o.maxHeight;return t().createElement(a,De({},f,N,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:s}),t().createElement(ia,{isEnabled:g,onTopArrive:_,onBottomArrive:P},t().createElement(ra,{isEnabled:S},t().createElement(i,De({},f,{innerRef:e.getMenuListRef,isLoading:y,maxHeight:u}),j))))}));return D||"fixed"===k?t().createElement(s,De({},f,{appendTo:D,controlElement:this.controlRef,menuPlacement:x,menuPosition:k}),R):R}},{key:"renderFormField",value:function(){var e=this,n=this.props,r=n.delimiter,o=n.isDisabled,a=n.isMulti,i=n.name,s=this.state.selectValue;if(i&&!o){if(a){if(r){var u=s.map((function(t){return e.getOptionValue(t)})).join(r);return t().createElement("input",{name:i,type:"hidden",value:u})}var c=s.length>0?s.map((function(n,r){return t().createElement("input",{key:"i-".concat(r),name:i,type:"hidden",value:e.getOptionValue(n)})})):t().createElement("input",{name:i,type:"hidden"});return t().createElement("div",null,c)}var l=s[0]?this.getOptionValue(s[0]):"";return t().createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?t().createElement(zo,{"aria-live":"polite"},t().createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),t().createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,n=e.Control,r=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,u=i.id,c=i.isDisabled,l=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return t().createElement(o,De({},d,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),t().createElement(n,De({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),t().createElement(a,De({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),t().createElement(r,De({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),r}(e.Component);function ba(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gr(this,n)}}ya.defaultProps=ga;var wa={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function Ca(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vr(e);if(t){var o=vr(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return gr(this,n)}}e.Component;var Oa,xa,ka,Da=(Oa=ya,ka=xa=function(e){pr(r,e);var n=ba(r);function r(){var e;lr(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).select=void 0,e.state={inputValue:e.props.inputValue!==undefined?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:e.props.menuIsOpen!==undefined?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:e.props.value!==undefined?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:r!==undefined?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return dr(r,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return this.props[e]!==undefined?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var e=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,Or(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return t().createElement(Oa,De({},r,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),r}(e.Component),xa.defaultProps=wa,ka),Sa=n(73),Ea=n.n(Sa),Ma=function(e,t,n,r,o){if(e){r(e.props.name,o.activateValidation(n,e.node));var a=window[t];t&&a&&(window.flatpickr.prototype.constructor.l10ns[t]=a["default"][t],e.flatpickr.set("locale",t))}},_a=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!!.")))},Pa=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 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 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"},s.length?l():f()))};function ja(e){return(ja="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 Ta=function(e,t,n){if("mf-captcha-challenge"!==e&&"g-recaptcha-response"!==e&&"right-answer"!==e&&"wrong-answer"!==e&&"quiz-marks"!==e&&"total-question"!==e){var r=n.getValue(e);n.formContainerRef.current.querySelectorAll("input").forEach((function(t){t.name==e&&"password"===t.type&&(r=".".repeat(r.length))})),Array.isArray(r)&&(r=r.join(", ")),"object"===ja(r)&&r.name&&(r=r.name);if(function(e){return"File"in window&&e instanceof File}(r[0])&&"object"===ja(r)&&(r=Object.keys(r).map((function(e){return r[e].name})).join(", ")),"string"==typeof r&&r.includes("data:image")&&(r=React.createElement("img",{src:r,alt:e})),!r)return"";var o=function(e,t,n){var r,o=null==n||null===(r=n.formContainerRef)||void 0===r?void 0:r.current,a=null==o?void 0:o.querySelector('[name="'+e+'"]'),i=a?a.closest(".mf-input-wrapper").querySelector("label"):null;return i?i.innerText.replace(/\*/g,"").trim():t}(e,e,n);return React.createElement("li",{key:t},React.createElement("strong",null," ",o," ")," ",React.createElement("span",null," ",r," "))}},Aa=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}))}))}}))};function Ia(e){return(Ia="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)}window.mfMapLocation=Aa;var Na,Ra=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"===Ia(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=D(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=y(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(y(t,0).id){case"Tuple":return function(e){var t=y(e,0);return g(e,1,{id:"Expr",expr:t})}(t);case"OpenTuple":case"Comma":return b(t,n);case"Assign":case"Sums":return function(e,t){var n=y(e,1),r=y(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 b(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=y(e,1),n=y(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=y(t,3),r=y(t,2),o=y(t,1),a=y(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=y(e,0);e=g(e,1,{id:"Value",token:t}),"Var"===t.id&&(e.scope[t.value]=t);return e}(t)}return t}function y(e,t){return t===undefined&&(t=0),e.stack[e.stack.length-(t+1)]}function b(e,t){var n=y(e,2),r=y(e,1),o=y(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=y(e,2),o=y(e,1),a=y(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=y(e,2),r=y(e,1),o=y(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,k=["Space","Number","Plus","Minus","Mul","Div","Mod","Pow","LParen","RParen","Eq","Comma","Var"];function D(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=k.length;s<u;s++){var c=o[s+1];if(c!==undefined)return{id:k[s],string:c,pos:n,end:n+c.length,value:E(k[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}(),La="";Na=jQuery,Element.prototype.getElSettings=function(e){if("settings"in this.dataset)return JSON.parse(this.dataset.settings.replace(/("\;)/g,'"'))[e]||""},La=function(e,t){var n=e.find(".mf-multistep-container");0===n.find(".elementor-section-wrap").length&&n.find('div[data-elementor-type="wp-post"]').addClass("elementor-section-wrap");var r=n.find(".e-container--column").length>0?".e-container--column":n.find(".e-con").length>0?".e-con":".elementor-top-section";if(n.length){var o=[];n.find('div[data-elementor-type="wp-post"] '.concat(r,":first-child")).parent().find("> ".concat(r)).each((function(e){var t=this.getElSettings("metform_multistep_settings_title")||"Step-"+Na(this).data("id"),r=this.getElSettings("metform_multistep_settings_icon"),a="",i="";r&&(a="svg"===r.library?'<img class="metform-step-svg-icon" src="'+r.value.url+'" alt="SVG Icon" />':r.value.length?'<i class="metform-step-icon '+r.value+'"></i>':""),0===e?(i="active",n.hasClass("mf_slide_direction_vertical")&&Na(this).parents(".elementor-section-wrap").css("height",Na(this).height())):1===e&&(i="next"),t&&o.push("<li class='metform-step-item "+i+"' id='metform-step-item-"+Na(this).attr("data-id")+"' data-value='"+Na(this).attr("data-id")+"'>"+a+'<span class="metform-step-title">'+t+"</span></li>")})),o&&(n.find(".metform-form-content .metform-form-main-wrapper > .elementor").before("<ul class='metform-steps'>"+o.join("")+"</ul>"),n.find("".concat(r,":first-of-type")).addClass("active"),n.find(".mf-progress-step-bar span").attr("data-portion",100/o.length).css("width",100/o.length+"%"))}n.find("".concat(r," .metform-btn")).attr("type","button"),n.find(".mf-input").on("keypress",(function(e){13!==e.which||Na(this).hasClass("mf-textarea")||n.find(".metform-step-item.next").trigger("click")})),n.find(r).on("keydown",(function(e){var t=Na(this),n=Na(":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,o=this,a=Na(this).parents(".mf-form-wrapper").eq(0),i=a.find("".concat(r,".active .mf-input")),s=(Na("body").hasClass("rtl")?100:-100)*Na(this).index()+"%",u=(a.find(".mf-progress-step-bar").attr("data-total"),Na(this.nextElementSibling).hasClass("active")),c=[];Na(this).hasClass("prev","progress")&&Na(this).removeClass("progress"),i.each((function(){var e=Na(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&&c.push(t)})),e=function(e){e&&(a.find("".concat(r,".active .metform-btn")).attr("type","button"),(Na(o).hasClass("prev")||Na(o).hasClass("next"))&&(Na(o).addClass("active").removeClass("next prev").prev().addClass("prev").siblings().removeClass("prev").end().end().next().addClass("next").siblings().removeClass("next").end().end().siblings().removeClass("active"),a.find("".concat(r,'[data-id="')+Na(o).data("value")+'"]').addClass("active").siblings().removeClass("active"),n.hasClass("mf_slide_direction_vertical")?(a.find(".elementor-section-wrap ".concat(r)).css({transform:"translateY("+s+")"}),a.find(".elementor-section-wrap").css("height","calc("+a.find("".concat(r,'[data-id="')+Na(o).data("value")+'"]').height()+"px)")):a.find(".elementor-section-wrap").css({transform:"translateX("+s+")"})),a.find(".mf-progress-step-bar span").css("width",(Na(o).index()+1)*a.find(".mf-progress-step-bar span").attr("data-portion")+"%"),a.find("".concat(r,".active")).find(".metform-submit-btn").length&&setTimeout((function(){a.find("".concat(r,".active")).find(".metform-submit-btn").attr("type","submit")}),0))},u?e(!0):(t.doValidate(c).then(e),"yes"===Na(this).closest("div[data-previous-steps-style]").attr("data-previous-steps-style")&&setTimeout((function(){Na(o).hasClass("active")&&Na(o).prevAll().addClass("progress")}),0))}))};function Va(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)||za(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 Fa(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=za(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(s)throw a}}}}function Ha(e){return function(e){if(Array.isArray(e))return Ua(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||za(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 za(e,t){if(e){if("string"==typeof e)return Ua(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)?Ua(e,t):void 0}}function Ua(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 Wa(e){return(Wa="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 Ba(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 Ya(e,t){return(Ya=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qa(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=Qa(e);if(t){var o=Qa(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $a(this,n)}}function $a(e,t){if(t&&("object"===Wa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ka(e)}function Ka(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qa(e){return(Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ga(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 Ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(n),!0).forEach((function(t){Xa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Za=new(xe())({tolerance:200}),ei=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&&Ya(e,t)}(a,React.Component);var t,n,r,o=qa(a);function a(e){var t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Xa(Ka(n=o.call(this,e)),"handleFormSubmit",(function(e,t){var r;t.preventDefault(),n.setState(Ja(Ja({},n.state),{},{errors:[]})),n.handleDefaultValues();var o=n.state,a=o.formData,i=o.defaultData,s=n.props,u=s.action,c=s.wpNonce,l=s.validation,f=l.reset,d=new FormData,p=Ja(Ja({},i),a);for(var h in jQuery(n.mfRefs.mainForm.parentElement).trigger("metform/before_submit",p),jQuery(n.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!0),p)if("object"==Wa(p[h])){var m=p[h][0];if(Blob&&m instanceof Blob)for(var g=p[h].length,v=0;v<g;v++)d.append(h+"[]",p[h][v]);else d.append(h,p[h])}else d.append(h,p[h]);r="mf_success_duration"in n.props.widgetSettings?n.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){var o,a;(n.formSubmitResponse=e,e.status)?(n.setState({success:"true"===n.props.quizSummery&&Object.keys(n.state.answers).length&&e.data.message?"".concat(e.data.message," You have got ").concat(n.state.formData["quiz-marks"]," Marks. Right Answer ").concat(null===(o=n.state.formData)||void 0===o?void 0:o["right-answer"].length,".\n\t\t\t\t\tWrong Answer ").concat(null===(a=n.state.formData)||void 0===a?void 0:a["wrong-answer"].length,"."):e.data.message?e.data.message:"",form_res:1},(function(){n.resetReCAPTCHA(),l.clearErrors("g-recaptcha-response")})),e.status&&e.data.hide_form&&(n.formRef.current.setAttribute("class","mf-close-this-form"),setTimeout((function(){n.formRef.current.innerHTML=""}),600)),n.setState({formData:{}}),jQuery(t.target).trigger("reset"),jQuery(t.target).find(".m-signature-pad .btn.clear").trigger("click"),jQuery(t.target).find(".mf-repeater-select-field").val(null).trigger("change"),0!=jQuery(t.target).find(".mf-repater-range-input").length&&jQuery(t.target).find(".mf-repater-range-input").asRange("set","0"),0!=jQuery(t.target).find(".g-recaptcha-response-v3").length&&grecaptcha.ready((function(){grecaptcha.execute(jQuery(t.target).find("#recaptcha_site_key_v3")[0].dataset.sitekey,{action:"submit"}).then((function(e){jQuery(t.target).find(".g-recaptcha-response-v3").val(e)}))})),n.setState(Ja(Ja({},n.state),{},{defaultData:{form_nonce:n.state.defaultData.form_nonce}})),f(),setTimeout((function(){n.setState({errors:[],form_res:0})}),r)):n.setState({errors:Ha(e.error),form_res:1},(function(){n.resetReCAPTCHA(),n.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")}));if(e.data.store&&"stripe"===e.data.store["mf-payment-method"]&&n.stripePayment(e),jQuery(n.mfRefs.mainForm.parentElement).trigger("metform/after_submit",{data:p,response:e}),(e.data.store&&"stripe"!==e.data.store["mf-payment-method"]||0==e.store_entries&&e.status&&""!==e.data.redirect_to.trim())&&e.status&&e.data.redirect_to.trim()){e.data.entry_id;var i=e.data.redirect_to;setTimeout((function(){window.location.href=i}),1500)}setTimeout((function(){e.data.hide_form||e.data.store&&"stripe"!==e.data.store["mf-payment-method"]&&n.setState({success:"",errors:[],form_res:0})}),r)}))["catch"]((function(e){n.setState({errors:["Something went wrong"],form_res:1},(function(){n.resetReCAPTCHA(),n.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),console.error(e.message),setTimeout((function(){n.setState({errors:[],form_res:0})}),r)}))["finally"]((function(){if(n.state.submitted=!0,jQuery(n.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!1),!n.props.stopVerticalEffect){var e=n.mfRefs.mainForm.querySelector(".mf-main-response-wrap");Za.move(e)}setTimeout((function(){n.setState({mobileWidget:{}}),localStorage.removeItem("metform-".concat(n.props.formId)),jQuery(n.mfRefs.mainForm).find(".mf-toggle-select-input").each((function(){jQuery(this).removeAttr("checked")})),n.state.hasOwnProperty(["QuizInfo"])&&(n.state.formData["total-question"]=n.state.QuizInfo.totalQuestion,n.state.formData["right-answer"]=n.state.QuizInfo.rightAnswer,n.state.formData["wrong-answer"]=n.state.QuizInfo.wrongAnswer,n.state.formData["quiz-marks"]=n.state.QuizInfo.marks)}),350)}))})),Xa(Ka(n),"handleCalculations",(function(e,t){var r=e.target.calc_behavior,o=ReactDOM.findDOMNode(Ka(n)),a=o.length?o.querySelectorAll(".mf-input-calculation"):[];for(var i in t)if(Array.isArray(t[i])){var s=t[i].map((function(e){return isNaN(e)?e:Number(e)}));t[i]=s}for(var u in a.forEach((function(e){var o=parseInt(e.dataset.fraction);o=o<0||o>99?2:o;var a=n.MfMathCalc.parse(e.dataset.equation,t,r)||0;if("NaN"!==a){var i=a.toString().split(".");i.length>1&&(i[1]=i[1].slice(0,o),i[1].length||i.pop()),t[e.name]=i.join(".")}})),t)if(Array.isArray(t[u]))for(var c=0;c<t[u].length;c++)"number"==typeof t[u][c]&&(t[u][c]=t[u][c]+"")})),Xa(Ka(n),"handleConditionals",(function(e){var t=n.state,r=t.formData,o=t.defaultData,a=n.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(t){t.name=t.mf_conditional_logic_form_if,t.value=r[t.name]||o[t.name]||"",t.match=isNaN(t.mf_conditional_logic_form_value)?t.mf_conditional_logic_form_value:+t.mf_conditional_logic_form_value,t.operator=n.decodeEntities(t.mf_conditional_logic_form_comparison_operators),Array.isArray(t.value)&&-1!==t.value.indexOf(t.match)&&(t.value=t.value[t.value.indexOf(t.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}}(t.value,t.match,t.operator));var a=t.mf_conditional_logic_form_if,i=jQuery("input[name = ".concat(a,"]")).closest(".elementor-element[mf-condition-hidden]").attr("mf-condition-hidden");e.parentCondition=i})),e.isValidated=e.validatedValues.some((function(e){return!0===e})),"and"===e.operator&&(e.isValidated=e.validatedValues.every((function(e){return!0===e})));var t=e.settings.mf_input_name;if(e.isValidated&&"show"===e.action){var a;e.el.setAttribute("mf-condition-hidden",!1),e.el.classList.remove("mf-condition--hidden"),null===(a=e.el.closest(".e-container, .e-con, .elementor-top-section"))||void 0===a||a.classList.remove("mf-condition--hidden"),e.parentCondition!==undefined&&e.el.setAttribute("mf-condition-hidden",e.parentCondition),"noval"===c(t)&&l(t,undefined)}else{var s,u,f;if(e.el.setAttribute("mf-condition-hidden",!0),!e.el.closest(".elementor-inner-section")&&!e.el.closest(".e-container")&&!e.el.closest(".e-con"))Array.isArray(null===(s=Object.values(e.el.closest(".elementor-widget-wrap"))[1])||void 0===s?void 0:s.children)||e.el.closest(".elementor-top-section").classList.add("mf-condition--hidden");if(e.el.closest(".e-container"))(null===(u=Object.values(e.el.closest(".e-container"))[1])||void 0===u||null===(f=u.children)||void 0===f?void 0:f.length)<=2&&e.el.closest(".e-container").classList.add("mf-condition--hidden");e.el.classList.add("mf-condition--hidden"),Object.values(e.el.classList).indexOf("elementor-widget-mf-select")>-1&&l(t,"noval")}}))})),Xa(Ka(n),"getValue",(function(e){return e in n.state.formData?n.state.formData[e]:""})),Xa(Ka(n),"getFileLabel",(function(e,t){var r=n.state.formData[e],o="";if(r&&(null==r?void 0:r.length)>1){for(var a=0;a<(null==r?void 0:r.length);a++)o+=r[a].name+",";o=o.slice(0,-1)}else 1==(null==r?void 0:r.length)&&(o=r?r[0].name:"");return r?o:n.decodeEntities(t)})),Xa(Ka(n),"getInputLabel",(function(e,t){var r=ReactDOM.findDOMNode(Ka(n)).querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():t})),Xa(Ka(n),"decodeEntities",(function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value})),Xa(Ka(n),"setDefault",(function(e){if(null!==e){var t=e.name,r=e.value,o=n.state.defaultData;o[t]=r,n.setState({defaultData:o})}})),Xa(Ka(n),"isNumeric",(function(e){return!isNaN(parseFloat(e))&&isFinite(e)})),Xa(Ka(n),"setStateValue",(function(e,t){n.setState({name:e,value:t})})),Xa(Ka(n),"handleCardNumber",(function(e){var t=e.target,r=t.name,o=t.value,a=n.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}n.setValue(r,u,!0),n.handleChange(e),e.target.value=u,n.handleCardType(s,e.target.name)})),Xa(Ka(n),"handleCardType",(function(e,t){var r="blank",o=t+"--type";r=e.startsWith("34")||e.startsWith("37")?"amex":e.startsWith("4")?"visa":e.startsWith("5")?"master":e.startsWith("6")?"discover":"custom";var a=n.state.formData;a[o]=r,n.setState({formData:a})})),Xa(Ka(n),"handleCardMonth",(function(e){var t=e.target,r=t.name,o=t.value,a=parseInt(o.replace(/-/g,""))||"",i=parseInt(a.toString().substring(0,1))||"";1<i&&i<10?n.setValue(r,i,!0):n.setValue(r,a>12?12:a,!0),n.handleChange(e)})),Xa(Ka(n),"handleSubVal",(function(e,t){var r=e.target,o=r.name,a=r.value,i=parseInt(a.replace(/-/g,"").substring(0,t))||"";n.setValue(o,i,!0),e.target.value=i,n.handleChange(e)})),Xa(Ka(n),"handleSaveProgress",(function(e,t){if(!elementorFrontend.isEditMode()&&"true"===n.props.saveProgress&&!(document.getElementsByName(e)[0].className.includes("mf-captcha-input")||document.getElementsByName(e)[0].className.includes("g-recaptcha-response")||document.getElementsByName(e)[0].className.includes("g-recaptcha-response-v3")||"password"==document.getElementsByName(e)[0].type||document.getElementsByName(e)[0].closest(".mf-credit-card-wrapper")||"file"===document.getElementsByName(e)[0].type)){var r=new Date;r.setMinutes(r.getMinutes()+120),null===localStorage.getItem("metform-".concat(n.props.formId))&&localStorage.setItem("metform-".concat(n.props.formId),JSON.stringify({expireTime:r.getTime()})),setTimeout((function(){var r,o,a=null===(r=document.getElementsByClassName("mf-input-calculation")[0])||void 0===r?void 0:r.value,i=null===(o=document.getElementsByClassName("mf-input-calculation")[0])||void 0===o?void 0:o.name,s=JSON.parse(localStorage.getItem("metform-".concat(n.props.formId)));for(var u in a&&(s[i]=a),s[e]=t,s)""===s[u]&&delete s[u];localStorage.setItem("metform-".concat(n.props.formId),JSON.stringify(s))}),0)}})),Xa(Ka(n),"compareArrays",(function(e,t){if(!e||!t)return!1;if(e.length!==t.length)return!1;var n=e.sort(),r=t.sort();return n.map((function(e,t){return r[t]===e})).every((function(e){return e}))})),Xa(Ka(n),"handleIncorrectAnswer",(function(e,t,n,r,o,a){var i,s,u;null!==(i=e.formData["wrong-answer"])&&void 0!==i&&i.includes(n)||(t["wrong-answer"]=t["wrong-answer"]?[].concat(Ha(t["wrong-answer"]),[n]):[n],t["quiz-marks"]=(t["quiz-marks"]?t["quiz-marks"]:0)-(!(null!==(u=t["right-answer"])&&void 0!==u&&u.includes(n))&&(a||0)));if(null!==(s=t["right-answer"])&&void 0!==s&&s.includes(n)){var c=t["right-answer"].indexOf(n);t["quiz-marks"]=t["quiz-marks"]-o,t["quiz-marks"]=t["quiz-marks"]-(a||0),t["right-answer"].splice(c,1)}return t})),Xa(Ka(n),"handleCorrectAnswer",(function(e,t,r,o){var a,i;e["quiz-marks"]=(e["quiz-marks"]?e["quiz-marks"]:0)+r,e["quiz-marks"]=(e["quiz-marks"]?e["quiz-marks"]:0)+(o||0),e["right-answer"]=e["right-answer"]?[].concat(Ha(e["right-answer"]),[t]):[t];var s=null===(a=e["wrong-answer"])||void 0===a?void 0:a.indexOf(t);null===(i=e["wrong-answer"])||void 0===i||i.splice(s,1),n.setState({formData:e})})),Xa(Ka(n),"handleChange",(function(e){var t=e.target,r=t.name,o=t.value,a=t.type,i=n.state.formData;i[r]="number"===a&&"mobile"!==a?Number(o):o,n.handleCalculations(e,i),n.setState({formData:i});var s=e.target;if(s.className!==undefined&&-1!==s.className.indexOf("mf-repeater-type-simple")||n.trigger(r),n.handleSaveProgress(r,o),"quiz-form"===n.props.formType&&Object.keys(n.state.answers).includes(r)){var u=parseFloat(n.state.answers[r].correctPoint),c=parseFloat(n.state.answers[r].incorrectPoint);if("multiselect"===a||"checkbox"===a){var l=n.handleIncorrectAnswer(n.state,i,r,o,u,c);n.compareArrays(o,n.state.answers[r].answer)&&n.handleCorrectAnswer(l,r,u,c)}else if("text"===a||"radio"===a){var f=n.handleIncorrectAnswer(n.state,i,r,o,u,c);(null==o?void 0:o.toLowerCase())===n.state.answers[r].answer.toLowerCase()&&n.handleCorrectAnswer(f,r,u,c)}else if("select"===a){var d=n.handleIncorrectAnswer(n.state,i,r,o,u,c);o===n.state.answers[r].answer&&n.handleCorrectAnswer(d,r,u,c)}}})),Xa(Ka(n),"handleDateTime",(function(e){var t=e.target,r=t.name,o=t.value;n.setValue(r,o,!0),n.handleChange(e)})),Xa(Ka(n),"handleSelect",(function(e,t){var r=e.value;e.target={name:t,value:r,type:"select"},n.setValue(t,r,!0),n.handleChange(e)})),Xa(Ka(n),"handleRadioDefault",(function(e){var t=n.state.formData;if(e&&e.dataset.checked){var r=e.name;e.setAttribute("checked",!0),r in t||n.handleChange({target:{name:r,value:e.value}})}})),Xa(Ka(n),"handleCheckbox",(function(e,t){if(!e)return!1;var r=n.state.formData,o=!1;if("onLoad"===t){var a=e.querySelectorAll(".mf-checkbox-input"),i=[];a.forEach((function(e){o||(o=e.name),e.checked&&i.push(e.value)})),!r[o]&&i.length&&n.handleChange({target:{name:o,value:i}})}if("onClick"===t){o||(o=e.name);var s=new Set(r[o]);e.checked&&s.add(e.value),e.checked||s["delete"](e.value),n.handleChange({target:{name:o,value:Array.from(s),type:"checkbox"}})}})),Xa(Ka(n),"handleSwitch",(function(e){e.target.value=e.target.nextElementSibling.getAttribute("data-disable"),e.target.checked&&(e.target.value=e.target.nextElementSibling.getAttribute("data-enable")),n.handleChange(e)})),Xa(Ka(n),"handleOptin",(function(e){e.target.checked||(e.target.value="Declined"),e.target.checked&&(e.target.value="Accepted"),n.handleChange(e)})),Xa(Ka(n),"handleFileUpload",(function(e){n.handleChange({target:{name:e.target.name,value:e.target.files}})})),Xa(Ka(n),"handleMultiStepBtns",(function(e){var t=jQuery(e.currentTarget).parents(".elementor-top-section.active").length>0?".elementor-top-section":jQuery(e.currentTarget).parents(".e-container--column.active").length>0?".e-container--column":".e-con",r=jQuery(e.currentTarget).parents("".concat(t,".active")),o=e.currentTarget.dataset.direction,a=r.prev()[0]?r.prev()[0].dataset:"",i=r.next()[0]?r.next()[0].dataset:"",s=("next"===o?i:a).id;if(!s)return!1;var u=jQuery(e.currentTarget).parents(".metform-form-content").find('.metform-step-item[data-value="'+s+'"]'),c=[];r.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&&c.push(t)})),jQuery(e.currentTarget).parents(".mf-scroll-top-yes").length&&Za.move(n.mfRefs.mainForm),"next"===o?n.trigger(c).then((function(e){e&&u.trigger("click")})):u.trigger("click")})),Xa(Ka(n),"handleImagePreview",(function(e){var t=e.target,n=e.clientX,r=e.clientY,o=e.type,a=t.nextElementSibling,i=t.closest(".mf-image-select"),s=i.getBoundingClientRect(),u=r-s.top,c=n-s.left;if(a){if(t.closest(".mf-multistep-container")&&(r=u+50,n=c+30),"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||r+2*i.clientHeight>window.innerHeight?(a.className="mf-select-hover-image mf-preview-top",r-=55):a.className="mf-select-hover-image",a.style.top=r+30+"px",a.style.left=n-28+"px"}})),Xa(Ka(n),"handleSignature",(function(e){e.target={name:e.props.name,value:e.toDataURL()},n.handleChange(e),n.setValue(e.target.name,e.target.value,!0)})),Xa(Ka(n),"refreshCaptcha",(function(e){n.setState({captcha_img:n.state.captcha_path+Date.now()})})),Xa(Ka(n),"resetReCAPTCHA",(function(){n.getValue("mf-captcha-challenge")&&n.refreshCaptcha(),n.getValue("g-recaptcha-response")&&n.handleReCAPTCHA("reset")})),Xa(Ka(n),"handleReCAPTCHA",(function(e){"reset"===e&&(e="",grecaptcha.reset());var t={target:{name:"g-recaptcha-response",value:(e=e||"")||""}};n.handleChange(t)})),Xa(Ka(n),"activateValidation",(function(e,t,r){var o,a,i=n.state.formData,s=n.props.validation.register,u=e.type,c=e.required,l=e.message,f=e.minLength,d=e.maxLength,p=e.expression,h={};if(t&&c&&t.closest(".elementor-element")&&"true"===t.closest(".elementor-element").getAttribute("mf-condition-hidden"))h.required=!1;else{if((u&&"none"!==u||c)&&(h.required=!!c&&l),t&&t.classList&&t.classList.contains("mf-credit-card-number")&&(i[t.name]&&"amex"===i[t.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})),t&&"file"===t.type&&t.files.length>0){var m=e.file_types,g=e.size_limit,v=t.files[0].name.substr(t.files[0].name.lastIndexOf(".")+1);h.validate={fileType:function(){return v=v.toLowerCase(),!(m!==[]&&!m.includes("."+v))||e.type_message},fileSize:function(){return!(-1!==g&&t.files[0].size>1024*parseInt(g))||e.limit_message}}}t&&"email"===t.type?h.pattern={value:/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,message:e.emailMessage}:t&&"url"===t.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=t&&"number"===t.type?"min":"minLength",a=t&&"number"===t.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 n.handleWordValidate(e,f,d,l)}}:"by_expresssion_based"===u&&(h.validate={expression:function(e){return n.handleExpressionValidate(e,p,l)}})}return"function"==typeof r&&r(),t?s(t,h):h})),Xa(Ka(n),"handleWordValidate",(function(e,t,n,r){var o=e.trim().split(/\s+/).length;return!!(n?o>=t&&o<=n:o>=t)||r})),Xa(Ka(n),"handleExpressionValidate",(function(e,t,n){if(t)return!!new RegExp(t).test(e)||n})),Xa(Ka(n),"colorChange",(function(e,t){n.handleChange({target:{name:t,value:e.hex}})})),Xa(Ka(n),"colorChangeInput",(function(e){n.handleChange({target:{name:e.target.name,value:e.target.value}})})),Xa(Ka(n),"multiSelectChange",(function(e,t){if("string"==typeof e)try{e=JSON.parse(e)}catch(o){return}var r=[];if(null!==e)try{e.filter((function(e){return r.push(e.value?e.value:e.mf_input_option_value)}))}catch(a){return}n.handleChange({target:{name:t,value:r,type:"multiselect"}})})),Xa(Ka(n),"handleRangeChange",(function(e,t){n.handleChange({target:{name:t,value:Number(e.toFixed(2)),type:"range"}}),n.props.validation.setValue(t,Number(e.toFixed(2)))})),Xa(Ka(n),"handleMultipileRangeChange",(function(e,t){n.handleChange({target:{name:t,value:[e.min,e.max],calc_behavior:"decrease_first_value"}})})),Xa(Ka(n),"handleOnChangePhoneInput",(function(e,t,r){var o="";r&&e!==r.dialCode&&(o=e),n.setState({mobileWidget:Ja(Ja({},n.state.mobileWidget),{},Xa({},t,e))}),n.handleChange({target:{name:t,value:o,type:"mobile"}})})),Xa(Ka(n),"setFormData",(function(e,t){n.state.formData[e]=t})),Xa(Ka(n),"getParams",(function(){for(var e,t=window.location.search,n={},r=/[?&]?([^=]+)=([^&]*)/g;e=r.exec(t);)n[decodeURIComponent(e[1])]=decodeURIComponent(e[2]);return n})),Xa(Ka(n),"setParamValueState",(function(){var e=n.state.formData,t=n.getParams(),r=n.props.widgets,o=function(o){var a=t[o].split(","),i=function(t){var i=r[t].el,s=jQuery(i),u=s.data().settings,c=u.mf_input_list,l=[];function f(e){return s.find(e).length>0}function d(){var t=a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)})),n=Ha(new Set(t));n.length>0&&(e[o]=n)}function p(t){e[o]=t}if(u.mf_input_name===o&&"yes"===u.mf_input_get_params_enable){if(c&&c.length>0){for(var h=0;h<c.length;h++)l.push(c[h].mf_input_option_value||c[h].value);if((f(".mf-input-select")||f("input.mf-radio-input:radio")||f("input.mf-image-select-input:radio")||f("input.mf-toggle-select-input:radio"))&&(function(){var t=a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)}))[0];t&&(e[o]=t)}(),f("input.mf-toggle-select-input:radio"))){var m=a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)}))[0];m&&s.find("input.mf-toggle-select-input:radio").each((function(){jQuery(this).prop("checked",!1),m.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)}))}if(f("input.mf-checkbox-input:checkbox")||f("input.mf-image-select-input:checkbox")||f("input.mf-toggle-select-input:checkbox"))d(),a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)})).length>0&&(s.find("input.mf-checkbox-input:checkbox").each((function(){jQuery(this).prop("checked",!1),a.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)})),s.find("input.mf-toggle-select-input:checkbox").each((function(){jQuery(this).prop("checked",!1),a.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)})));f(".mf-input-multiselect")&&d()}else{var g=a[0];if(f("input[type=email]")&&(p(g),s.find("input[type=email]").val(g)),f("input[type=checkbox]")&&"on"===g&&(p(g),s.find("input[type=checkbox]")[0].checked=!0),f("input[type=number]")){p(Number(g)),s.find("input[type=number]").val(Number(g));var v=s.find("input[type=number]")[0];v.addEventListener("click",(function(t){n.handleCalculations(t,e)})),v.click()}if(f(".range-slider")){var y=u.mf_input_min_length_range;u.mf_input_max_length_range>=Number(g)&&y<=Number(g)&&p(Number(g))}if(f(".mf-ratings"))u.mf_input_rating_number>=Number(g)&&0<=Number(g)&&p(Number(g));if(f("input.mf-input-switch-box:checkbox")){var b=u.mf_swtich_enable_text;b===g&&(p(b),s.find("input.mf-input-switch-box:checkbox")[0].checked=!0)}if(f("input.mf-payment-method-input:radio")){var w=["paypal","stripe"],C=a.filter((function(e){return e.length>0&&w.includes(e)}))[0];C&&p(C),C&&s.find("input.mf-payment-method-input:radio").each((function(){jQuery(this).prop("checked",!1),a.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)}))}if(f("input[type=text]")||f("input[type=password]")||f("input[type=tel")||f("textarea.mf-input")||f("input[type=url]")){var O=n.getParams()[o];if(f("input.flatpickr-input")){(g.match(/^[0-3]?[0-9].[0-3]?[0-9].(?:[0-9]{2})?[0-9]{2}$/)||g.match(/^(?:[0-9]{2})?[0-9]{2}.[0-3]?[0-9].[0-3]?[0-9]$/))&&p(O)}else p(O),s.find("input[type=text").val(O),s.find("input[type=password").val(O),s.find("input[type=tel").val(O),s.find("textarea.mf-input").val(O),s.find("input[type=url]").val(O)}}n.setState({formData:e})}};for(var s in r)i(s)};for(var a in t)o(a)})),n.storageData=JSON.parse(localStorage.getItem("metform-".concat(e.formId)))||{},(null===(t=n.storageData)||void 0===t?void 0:t.expireTime)<new Date&&(localStorage.removeItem("metform-".concat(e.formId)),n.storageData={}),n.state={formData:"true"===n.props.saveProgress?n.storageData:{},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:{},mobileWidget:{},formId:e.formId,answers:{},submitted:!1},n.formSubmitResponse,n.MfMathCalc=new Ra,n.setValue=e.validation.setValue,n.trigger=e.validation.trigger,n.formRef=React.createRef(),n.formContainerRef=React.createRef(),n.interval=null,n.mfRefs={},setTimeout((function(){if(!elementorFrontend.isEditMode()&&"true"===e.saveProgress){var t,r=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,o=n.state.formData,a=document.getElementsByClassName("mf-input-repeater")[0],i=null===(t=document.getElementsByClassName("mf-input-repeater-items attr-items")[0])||void 0===t?void 0:t.outerHTML;for(var s in o)if("string"==typeof o[s]&&r.test(o[s].split(",")[1])&&function(){var e,t=(null===(e=document.getElementsByName("".concat(s))[0])||void 0===e?void 0:e.parentElement.getElementsByTagName("canvas")[0]).getContext("2d"),n=new Image;n.onload=function(){t.drawImage(n,0,0)},n.src=o[s]}(),s.match(/\[[^\]]*\]/g)&&2===s.match(/\[[^\]]*\]/g).length){var u=s.match(/\d+/)[0];if(document.getElementsByName(s)[0]!==undefined)document.getElementsByName(s)[0].value=o[s];else{var c,l=(new DOMParser).parseFromString(i,"text/html");l.getElementsByClassName("mf-input-repeater-items")[0].dataset.index=u,l.getElementsByClassName("mf-input-repeater-items")[0].removeAttribute("style"),l.getElementsByClassName("mf-input attr-form-control")[0].name=s;var f=null===(c=l.getElementsByClassName("mf-input-repeater-items")[0])||void 0===c?void 0:c.outerHTML;a.insertAdjacentHTML("beforeend",f),document.getElementsByName(s)[0].value=o[s]}}}}),1e3),window["handleReCAPTCHA_"+n.state.recaptcha_uid]=n.handleReCAPTCHA;var r=e.templateEl.innerHTML,i=n.replaceWith([["‘","'"],["’","'"],["“",'"'],["”",'"'],["–","--"]],r);return n.jsx=new Function("parent","props","state","validation","register","setValue","html",i),e.templateEl.remove(),jQuery(document).on("click",".remove-btn",(function(e){var t=jQuery(e.target).parent().siblings(".mf-input-repeater-content").find(".mf-repeater-field")[0].name;n.state.formData[t]!==undefined&&(delete n.state.formData[t],n.setState({formData:n.state.formData}))})),n}return t=a,(n=[{key:"replaceWith",value:function(e,t){var n,r=t,o=Fa(e);try{for(o.s();!(n=o.n()).done;){var a=Va(n.value,2),i=a[0],s=a[1];r=r.replaceAll(i,s)}}catch(u){o.e(u)}finally{o.f()}return r}},{key:"handleDefaultValues",value:function(){var e,t=this.mfRefs.mainForm,n={},r=Fa(new FormData(t));try{for(r.s();!(e=r.n()).done;){var o=Va(e.value,2),a=o[0],i=o[1];n[a]=i}}catch(s){r.e(s)}finally{r.f()}this.setState({defaultData:Ja(Ja({},this.state.defaultData),n)})}},{key:"stripePayment",value:function(e){var t,n=e.data.payment_data,r=this;if(n.keys&&""!==n.keys)return(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?e.redirect_url?window.location.href=e.redirect_url:"success"===e.status?r.setState({success:"Payment Successful!",errors:[],form_res:1}):r.setState({success:"",errors:[e.message],form_res:1}):alert(e.message)}))):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()})),{type:"error",redirect_url:"",message:"Payment Unsuccessful!"};alert("Please set your Stripe Keys in form settings.")}},{key:"renderReCaptcha",value:function(e,t){var n=window.grecaptcha,r=document.querySelectorAll(".g-recaptcha"),o=document.querySelectorAll(".recaptcha_site_key_v3");r.length?n.render("g-recaptcha",{sitekey:r[0].dataset.sitekey}):o.length&&n.ready((function(){n.execute(o[0].dataset.sitekey,{action:"submit"}).then((function(t){e.querySelectorAll(".g-recaptcha-response-v3").forEach((function(e){e.value=t}))}))}))}},{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"))&&Za.move(e.parentElement.parentElement)}},{key:"componentDidMount",value:function(e){var t=this,n=window.grecaptcha,r=ReactDOM.findDOMNode(this),o=r.length?r.querySelectorAll(".elementor-element"):[];this.mfRefs.mainForm=r;var a=this.state.formData,i=r.querySelectorAll(".recaptcha_site_key_v3");i.length>0&&(this.interval=setInterval((function(){n.ready((function(){n.execute(i[0].dataset.sitekey,{action:""}).then((function(e){i.forEach((function(t){t.querySelector(".g-recaptcha-response-v3").value=e}))}))}))}),108e3));var s=r.getElementsByTagName("input");for(var u in s)"email"===s[u].type&&""!==s[u].value&&this.setDefault(s[u]);if(o.forEach((function(e){var n=e.getAttribute("data-element_type"),r=e.getAttribute("data-widget_type"),o=null===r?n:r;e.dataset&&e.dataset.settings&&(e.dataset.settings=e.dataset.settings.replace(/"/g,'"'));var a=window.elementorFrontend.hooks;if(a?a.doAction("frontend/element_ready/"+o,jQuery(e)):jQuery(window).on("elementor/frontend/init",(function(){(a=window.elementorFrontend.hooks).doAction("frontend/element_ready/"+o,jQuery(e))})),e.className.search("elementor-widget-mf-")>0&&e.dataset.settings){var i=JSON.parse(e.dataset.settings),s=i.mf_input_name+"-"+e.getAttribute("data-id");t.props.widgets[s]={el:e,settings:i},i.mf_conditional_logic_form_enable&&t.props.conditionalRefs.push(s)}})),Object.keys(this.state.answers).length&&"quiz-form"===this.props.formType){var c=this.state.answers,l=this.state;a["right-answer"]=[],a["wrong-answer"]=[],a["quiz-marks"]=0,l.QuizInfo={totalQuestion:0,rightAnswer:[],wrongAnswer:[],marks:0},Object.keys(c).forEach((function(e){"string"==typeof c[e].answer&&""===c[e].answer||"object"===Wa(c[e].answer)&&0===c[e].answer.length?(a["right-answer"]=[].concat(Ha(t.state.formData["right-answer"]),[e]),a["quiz-marks"]=a["quiz-marks"]+parseFloat(c[e].correctPoint)):(a["wrong-answer"]=[].concat(Ha(t.state.formData["wrong-answer"]),[e]),a["quiz-marks"]=a["quiz-marks"]-parseFloat(c[e].incorrectPoint))})),a["total-question"]=Object.keys(c).length,l.QuizInfo.rightAnswer=a["right-answer"],l.QuizInfo.wrongAnswer=a["wrong-answer"],l.QuizInfo.marks=a["quiz-marks"],l.QuizInfo.totalQuestion=Object.keys(c).length}for(var f in window.onload=function(e){t.renderReCaptcha(r,e)},this.handleConditionals(),this.props.formId&&fetch(mf.restURI+this.props.formId,{method:"POST",headers:{"X-WP-Nonce":this.props.wpNonce}}),Aa(),La(jQuery(r).parents(".mf-multistep-container").parent(),{doValidate:this.trigger}),jQuery(r).on("change asRange::change",".mf-repeater-field, .mf-repater-range-input, .mf-repeater-checkbox",this.handleChange),jQuery(r).trigger("metform/after_form_load",a),a)this.setValue(f,a[f]);this.setParamValueState()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{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))}}])&&Ba(t.prototype,n),r&&Ba(t,r),a}(),ti=function(e){var t=Va(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=r.saveProgress,l=r.formType,f=r.quizSummery,d=Va(e.find(".mf-template"),1)[0];if(d)ReactDOM.render(React.createElement((n=ei,function(e){var t=Ja(Ja({},ye()),{},{ErrorMessage:Ce});return React.createElement(n,Ja({validation:t},e))}),{formId:s,templateEl:d,action:o,wpNonce:a,formNonce:i,saveProgress:c,formType:l,quizSummery:f,widgets:{},conditionalRefs:[],stopVerticalEffect:u,widgetSettings:e.data("settings")||{},Select:Da,InputColor:ar,Flatpickr:ke.Z,InputRange:sr(),ReactPhoneInput:cr(),SignaturePad:Ea(),moveTo:Za,ResponseDummyMarkup:_a,SubmitResponseMarkup:Pa,SummaryWidget:Ta,DateWidget:Ma}),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",ti)}))):ti(elementorFrontend.elements.$body)})).on("load",(function(){document.querySelectorAll(".mf-form-shortcode").forEach((function(e){ti(jQuery(e))}))}))}()}();51 var ht="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,mt=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(ht&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var gt=ht&&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()}),mt))}};function vt(e){return e&&"[object Function]"==={}.toString.call(e)}function yt(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function bt(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function wt(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=yt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:wt(bt(e))}function Ct(e){return e&&e.referenceNode?e.referenceNode:e}var Ot=ht&&!(!window.MSInputMethodContext||!document.documentMode),xt=ht&&/MSIE 10/.test(navigator.userAgent);function kt(e){return 11===e?Ot:10===e?xt:Ot||xt}function Dt(e){if(!e)return document.documentElement;for(var t=kt(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"===yt(n,"position")?Dt(n):n:e?e.ownerDocument.documentElement:document.documentElement}function St(e){return null!==e.parentNode?St(e.parentNode):e}function Et(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&&Dt(i.firstElementChild)!==i?Dt(u):u;var c=St(e);return c.host?Et(c.host,t):Et(e,St(t).host)}function Mt(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 _t(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=Mt(t,"top"),o=Mt(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 Pt(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 jt(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],kt(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Tt(e){var t=e.body,n=e.documentElement,r=kt(10)&&getComputedStyle(n);return{height:jt("Height",t,n,r),width:jt("Width",t,n,r)}}var At=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},It=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}}(),Nt=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Rt=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 Lt(e){return Rt({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Vt(e){var t={};try{if(kt(10)){t=e.getBoundingClientRect();var n=Mt(e,"top"),r=Mt(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?Tt(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=yt(e);u-=Pt(l,"x"),c-=Pt(l,"y"),o.width-=u,o.height-=c}return Lt(o)}function Ft(e,t){var n=arguments.length>2&&arguments[2]!==undefined&&arguments[2],r=kt(10),o="HTML"===t.nodeName,a=Vt(e),i=Vt(t),s=wt(e),u=yt(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=Lt({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=_t(f,t)),f}function Ht(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=e.ownerDocument.documentElement,r=Ft(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),i=t?0:Mt(n),s=t?0:Mt(n,"left"),u={top:i-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:a};return Lt(u)}function zt(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===yt(e,"position"))return!0;var n=bt(e);return!!n&&zt(n)}function Ut(e){if(!e||!e.parentElement||kt())return document.documentElement;for(var t=e.parentElement;t&&"none"===yt(t,"transform");)t=t.parentElement;return t||document.documentElement}function Wt(e,t,n,r){var o=arguments.length>4&&arguments[4]!==undefined&&arguments[4],a={top:0,left:0},i=o?Ut(e):Et(e,Ct(t));if("viewport"===r)a=Ht(i,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=wt(bt(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var u=Ft(s,i,o);if("HTML"!==s.nodeName||zt(i))a=u;else{var c=Tt(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 Bt(e){return e.width*e.height}function Yt(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=Wt(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 Rt({key:e},s[e],{area:Bt(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 qt(e,t,n){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,o=r?Ut(t):Et(t,Ct(n));return Ft(n,o,r)}function Kt(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 Qt(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 Gt(e,t,n){n=n.split("-")[0];var r=Kt(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[Qt(s)],o}function $t(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Jt(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=$t(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&&vt(n)&&(t.offsets.popper=Lt(t.offsets.popper),t.offsets.reference=Lt(t.offsets.reference),t=n(t,e))})),t}function Xt(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=qt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Yt(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=Gt(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Jt(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Zt(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function en(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 tn(){return this.state.isDestroyed=!0,Zt(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[en("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function nn(e){var t=e.ownerDocument;return t?t.defaultView:window}function rn(e,t,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(t,n,{passive:!0}),o||rn(wt(a.parentNode),t,n,r),r.push(a)}function on(e,t,n,r){n.updateBound=r,nn(e).addEventListener("resize",n.updateBound,{passive:!0});var o=wt(e);return rn(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function an(){this.state.eventsEnabled||(this.state=on(this.reference,this.options,this.state,this.scheduleUpdate))}function sn(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,nn(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 un(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function cn(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&un(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var ln=ht&&/Firefox/i.test(navigator.userAgent);function fn(e,t,n){var r=$t(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 dn=["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"],pn=dn.slice(3);function hn(e){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1],n=pn.indexOf(e),r=pn.slice(n+1).concat(pn.slice(0,n));return t?r.reverse():r}var mn="flip",gn="clockwise",vn="counterclockwise";function yn(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($t(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 Lt(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){un(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var bn={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:Nt({},u,a[u]),end:Nt({},u,a[u]+a[c]-i[c])};e.offsets.popper=Rt({},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=un(+n)?[+n,0]:yn(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||Dt(e.instance.popper);e.instance.reference===n&&(n=Dt(n));var r=en("transform"),o=e.instance.popper.style,a=o.top,i=o.left,s=o[r];o.top="",o.left="",o[r]="";var u=Wt(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])),Nt({},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))),Nt({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=Rt({},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(!fn(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=Kt(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=Lt(e.offsets.popper);var m=s[f]+s[c]/2-h/2,g=yt(e.instance.popper),v=parseFloat(g["margin"+l]),y=parseFloat(g["border"+l+"Width"]),b=m-e.offsets.popper[f]-v-y;return b=Math.max(Math.min(i[c]-h,b),0),e.arrowElement=r,e.offsets.arrow=(Nt(n={},f,Math.round(b)),Nt(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Zt(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=Wt(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Qt(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case mn:i=[r,o];break;case gn:i=hn(r);break;case vn:i=hn(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=Qt(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,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===a&&p||y&&"end"===a&&h||!y&&"start"===a&&m||!y&&"end"===a&&g),w=!!t.flipVariationsByContent&&(y&&"start"===a&&h||y&&"end"===a&&p||!y&&"start"===a&&g||!y&&"end"===a&&m),C=b||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=Rt({},e.offsets.popper,Gt(e.instance.popper,e.offsets.reference,e.placement)),e=Jt(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=Qt(t),e.offsets.popper=Lt(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!fn(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=$t(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=$t(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=Dt(e.instance.popper),u=Vt(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||!ln),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",p=en("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 y={"x-placement":e.placement};return e.attributes=Rt({},y,e.attributes),e.styles=Rt({},c,e.styles),e.arrowStyles=Rt({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return cn(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&&cn(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var a=qt(o,t,e,n.positionFixed),i=Yt(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),cn(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:undefined}}},wn=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};At(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=gt(this.update.bind(this)),this.options=Rt({},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(Rt({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Rt({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Rt({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&vt(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 It(e,[{key:"update",value:function(){return Xt.call(this)}},{key:"destroy",value:function(){return tn.call(this)}},{key:"enableEventListeners",value:function(){return an.call(this)}},{key:"disableEventListeners",value:function(){return sn.call(this)}}]),e}();wn.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,wn.placements=dn,wn.Defaults=bn;var Cn=wn,On=(n(353),function(e){do{e+=~~(1e6*Math.random())}while("undefined"!=typeof document&&document.getElementById(e));return e}),xn=("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;}"}),kn=function(t){t.placement;var n=Se(t,["placement"]);return it(e.Fragment,null,it(st,{styles:Dn}),it("div",De({},n,{"data-arrow":"true",css:xn})))},Dn={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;}}"},Sn=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=Se(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],y=(0,e.useState)(!1),b=y[0],w=y[1],C=(0,e.useState)({popoverId:null,referenceId:null,arrowId:null}),O=C[0],x=C[1],k=O.popoverId,D=O.referenceId,S=O.arrowId;r=h,o=function(e){e.target.id===D||document.getElementById(D).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 pt.forEach((function(t){document.addEventListener(t,e,{passive:!0})})),function(){pt.forEach((function(t){document.removeEventListener(t,e,{passive:!0})}))}}),[r,o]),(0,e.useEffect)((function(){if(!k)return x({popoverId:On("popover"),referenceId:On("reference"),arrowId:On("arrow")});var e=document.getElementById(k),t=document.getElementById(D),n=document.getElementById(S);e&&t&&n&&(new Cn(t,e,{placement:c,modifiers:{arrow:{element:n}}}),w(g))}),[g]);var E={content:[En.content,f.content],header:[En.header,f.header],body:[En.body,f.body]};return it(e.Fragment,null,k?it("div",De({},d,{id:k,ref:h,css:E.content,style:b?{display:"block"}:{}}),it(kn,{id:S}),i?it("div",{css:E.header},i):null,it("div",{css:E.body},s)):null,t().cloneElement(p,De({},p.props,{id:D,onClick:function(){"click"===l&&v(!g)}})))};Sn.defaultProps={placement:"right",trigger:"click",styles:{}};var En={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;"}},Mn=Sn;function _n(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 Pn={position:"relative",display:"inline-block",backgroundColor:"#ddd",borderRadius:5,userSelect:"none",boxSizing:"border-box"},jn={position:"absolute",backgroundColor:"#5e72e4",borderRadius:5,userSelect:"none",boxSizing:"border-box"},Tn={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"},An={x:{track:De({},Pn,{width:200,height:10}),active:De({},jn,{top:0,height:"100%"}),thumb:De({},Tn)},y:{track:De({},Pn,{width:10,height:200}),active:De({},jn,{left:0,width:"100%"}),thumb:De({},Tn)},xy:{track:{position:"relative",overflow:"hidden",width:200,height:200,backgroundColor:"#5e72e4",borderRadius:0},active:{},thumb:De({},Tn)},disabled:{opacity:.5}},In=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,y=t.styles,b=Se(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 k(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 y=(0!==h?parseInt(h/l,10)*l:0)+i,b=(0!==m?parseInt(m/f,10)*f:0)+u;d({x:g?s-y+i:y,y:v?c-b+u:b})}}function D(e){if(!n){e.preventDefault();var t=C.current,r=_n(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(),k(function(e){var t=_n(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:De({},An[r].track,{},y.track),active:De({},An[r].active,{},y.active),thumb:De({},An[r].thumb,{},y.thumb),disabled:De({},An.disabled,{},y.disabled)};return it("div",De({},b,{ref:w,css:at([A.track,n&&A.disabled],";label:Slider;"),onClick:function(e){if(!n){var t=_n(e),r=w.current.getBoundingClientRect();k({left:t.x-r.left,top:t.y-r.top}),m&&m(e)}}}),it("div",{css:A.active,style:j}),it("div",{ref:C,style:T,onTouchStart:D,onMouseDown:D,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},it("div",{css:A.thumb})))};In.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 Nn=In,Rn=n(654),Ln=n.n(Rn),Vn=n(763),Fn=n.n(Vn),Hn=n(37),zn=n.n(Hn),Un="undefined"!=typeof navigator&&navigator.userAgent.match(/iPhone|iPad|iPod/i),Wn=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=Se(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(Fn()(e))return e;if(zn()(e)){if(!(e=e.trim()))return"";var t=parseFloat(e);if(!Ln()(t))return t}return""}(e);p(e),i&&i(t)},onKeyDown:function(e){38===e.keyCode?i&&i(Yn("+",a,o,r,n)):40===e.keyCode&&i&&i(Yn("-",a,o,r,n)),s&&s(e)},onWheel:function(e){e.target.blur()}};return it(c,De({},l,h,u?{css:Bn,type:"number",inputMode:"numeric",pattern:Un?"[0-9]*":"",step:n,min:r,max:o}:{css:Bn,type:"text"}))};Wn.defaultProps={autoComplete:"off",enableMobileNumericKeyboard:!1,value:"",component:function(e){var t=e.onChange,n=Se(e,["onChange"]);return it("input",De({},n,{onChange:function(e){t&&t(e.target.value)}}))},step:1};var Bn={MozAppearance:"textfield","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}};function Yn(e,t,n,r,o){if(""===t)return Fn()(r)?r:"";if(t="+"===e?t+o:t-o,Fn()(n)&&t>n)return n;if(Fn()(r)&&t<r)return r;var a=(o.toString().split(".")[1]||[]).length;return a?parseFloat(t.toFixed(a)):t}var qn=Wn;function Kn(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 Qn(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 Gn(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function $n(e,t,n){return"#"+[Gn(e),Gn(t),Gn(n)].join("")}function Jn(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 Xn(e,t,n,r){return"rgba("+[e,t,n,r/100].join(",")+")"}var Zn={name:"bzk4lp",styles:"width:100%;margin-top:10px;margin-bottom:10px;display:flex;"},er={name:"lwa3hx",styles:"flex:1;margin-right:10px;"},tr=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(De({},e,{rgba:Xn(e.r,e.g,e.b,e.a)}))}function f(e,n,r){var o=Qn(e,n,r),a=o.r,i=o.g,s=o.b,u=$n(a,i,s);l(De({},t,{h:e,s:n,v:r,r:a,g:i,b:s,hex:u}))}function d(e,n,r){var o=$n(e,n,r),a=Jn(e,n,r),i=a.h,s=a.s,u=a.v;l(De({},t,{r:e,g:n,b:r,h:i,s:s,v:u,hex:o}))}function p(e){l(De({},t,{a:e}))}var h=Xn(r,o,a,i),m="linear-gradient(to right, "+Xn(r,o,a,0)+", "+Xn(r,o,a,100)+")",g=function(e,t,n){var r=Qn(e,t,n);return $n(r.r,r.g,r.b)}(s,100,100);return it("div",{css:nr.picker,onClick:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}},it("div",{css:nr.selector,style:{backgroundColor:g}},it("div",{css:nr.gradientWhite}),it("div",{css:nr.gradientDark}),it(Nn,{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%"}}})),it("div",{css:Zn},it("div",{css:er},it(Nn,{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"}}}),it(Nn,{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)}})),it("div",{style:{backgroundColor:h,width:30,height:30}})),it("div",{css:nr.inputs},it("div",{css:nr.input},it("input",{style:{width:70,textAlign:"left"},type:"text",value:t.hex,onChange:function(e){return function(e){var n=Kn(e),r=n.r,o=n.g,a=n.b,i=Jn(r,o,a),s=i.h,u=i.s,c=i.v;l(De({},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=Kn(n),o=r.r,a=r.g,s=r.b;l(De({},t,{r:o,g:a,b:s,a:i,hex:n}))}}}),it("div",null,"Hex")),it("div",{css:nr.input},it(qn,{min:0,max:255,value:r,onChange:function(e){return d(e,o,a)}}),it("div",null,"R")),it("div",{css:nr.input},it(qn,{min:0,max:255,value:o,onChange:function(e){return d(r,e,a)}}),it("div",null,"G")),it("div",{css:nr.input},it(qn,{min:0,max:255,value:a,onChange:function(e){return d(r,o,e)}}),it("div",null,"B")),it("div",{css:nr.input},it(qn,{min:0,max:100,value:i,onChange:function(e){return p(e)}}),it("div",null,"A"))))};tr.defaultProps={initialValue:"#5e72e4"};var nr={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 rr(e){var t,n=(e=e.toLowerCase()).substr(0,7),r=Kn(n),o=r.r,a=r.g,i=r.b,s=Jn(o,a,i),u=e.length>7?(t=e.substr(7),Math.round(parseInt("0x"+t,16)/255*100)):100;return De({},s,{r:o,g:a,b:i,a:u,hex:n,rgba:Xn(o,a,i,u)})}var or={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;"},ar={name:"trkpwz",styles:"display:block;width:100%;height:100%;cursor:pointer;"},ir=function(t){var n=t.initialValue,r=t.onChange,o=t.placement,a=Se(t,["initialValue","onChange","placement"]),i=(0,e.useState)(rr(n)),s=i[0],u=i[1];function c(e){r&&(u(e),r(e))}return(0,e.useEffect)((function(){c(rr(n))}),[n]),it(Mn,{placement:o,body:it(tr,{color:s,onChange:c})},it("span",De({},a,{css:or}),it("span",{css:ar,style:{backgroundColor:s.rgba}})))};ir.defaultProps={placement:"bottom"};var sr=ir,ur=n(322),cr=n.n(ur),lr=n(555),fr=n.n(lr);function dr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e){return(pr="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 hr(e){var t=function(e,t){if("object"!==pr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!==pr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===pr(t)?t:String(t)}function mr(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,hr(r.key),r)}}function gr(e,t,n){return t&&mr(e.prototype,t),n&&mr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function vr(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ee(e,t)}function yr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function br(e,t){if(t&&("object"===pr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yr(e)}function wr(e){return(wr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Cr=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Or(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||Cr(r)&&Cr(o)))return!1;var r,o;return!0}var xr=function(e,t){var n;void 0===t&&(t=Or);var r,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}},kr=ReactDOM;function Dr(e,t){if(null==e)return{};var n,r,o=Se(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Sr(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 Er(e,t){if(e){if("string"==typeof e)return Sr(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)?Sr(e,t):void 0}}function Mr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],u=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(l){c=!0,o=l}finally{try{if(!u&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||Er(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 _r(e){return function(e){if(Array.isArray(e))return Sr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Er(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 Pr(e,t,n){return(t=hr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jr=n(639),Tr=function(){};function Ar(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ir(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(Ar(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Nr=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===pr(e)&&null!==e?[e]:[]};function Rr(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Lr(e){return Rr(e)?window.pageYOffset:e.scrollTop}function Vr(e,t){Rr(e)?window.scrollTo(0,t):e.scrollTop=t}function Fr(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Hr(e,t){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:200,r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:Tr,o=Lr(e),a=t-o,i=10,s=0;function u(){var t=Fr(s+=i,o,a,n);Vr(e,t),s<n?window.requestAnimationFrame(u):r(e)}u()}function zr(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Ur(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 Wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Br(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}function Yr(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.theme.spacing,u=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return a;return o}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var l=u.getBoundingClientRect().height,f=n.getBoundingClientRect(),d=f.bottom,p=f.height,h=f.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,v=Lr(u),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=m-b,C=g-h,O=w+v,x=l-v-h,k=d-g+v+y,D=v+h-b,S=160;switch(o){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:t};if(x>=p&&!i)return a&&Hr(u,k,S),{placement:"bottom",maxHeight:t};if(!i&&x>=r||i&&C>=r)return a&&Hr(u,k,S),{placement:"bottom",maxHeight:i?C-y:x-y};if("auto"===o||i){var E=t,M=i?w:O;return M>=r&&(E=Math.min(M-y-s.controlHeight,t)),{placement:"top",maxHeight:E}}if("bottom"===o)return Vr(u,k),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(O>=p&&!i)return a&&Hr(u,D,S),{placement:"top",maxHeight:t};if(!i&&O>=r||i&&w>=r){var _=t;return(!i&&O>=r||i&&w>=r)&&(_=i?w-b:O-b),a&&Hr(u,D,S),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var qr=function(e){return"auto"===e?"bottom":e},Kr=(0,e.createContext)({getPortalPlacement:null}),Qr=function(e){vr(n,e);var t=Br(n);function n(){var e;dr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,a=n.menuPlacement,i=n.menuPosition,s=n.menuShouldScrollIntoView,u=n.theme;if(t){var c="fixed"===i,l=Yr({maxHeight:o,menuEl:t,minHeight:r,placement:a,shouldScroll:s&&!c,isFixedPosition:c,theme:u}),f=e.context.getPortalPlacement;f&&f(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||qr(t);return Wr(Wr({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return gr(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(e.Component);Qr.contextType=Kr;var Gr=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},$r=Gr,Jr=Gr,Xr=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return it("div",De({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};Xr.defaultProps={children:"No options"};var Zr=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return it("div",De({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};Zr.defaultProps={children:"Loading..."};var eo=function(e){vr(n,e);var t=Br(n);function n(){var e;dr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==qr(e.props.menuPlacement)&&e.setState({placement:n})},e}return gr(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,a=e.menuPosition,i=e.getStyles,s="fixed"===a;if(!t&&!s||!r)return null;var u=this.state.placement||qr(o),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),l=s?0:window.pageYOffset,f=c[u]+l,d=it("div",{css:i("menuPortal",{offset:f,position:a,rect:c})},n);return it(Kr.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,kr.createPortal)(d,t):d)}}]),n}(e.Component),to=Array.isArray,no=Object.keys,ro=Object.prototype.hasOwnProperty;function oo(e,t){if(e===t)return!0;if(e&&t&&"object"==pr(e)&&"object"==pr(t)){var n,r,o,a=to(e),i=to(t);if(a&&i){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!oo(e[n],t[n]))return!1;return!0}if(a!=i)return!1;var s=e instanceof Date,u=t instanceof Date;if(s!=u)return!1;if(s&&u)return e.getTime()==t.getTime();var c=e instanceof RegExp,l=t instanceof RegExp;if(c!=l)return!1;if(c&&l)return e.toString()==t.toString();var f=no(e);if((r=f.length)!==no(t).length)return!1;for(n=r;0!=n--;)if(!ro.call(t,f[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=f[n])&&e.$$typeof||oo(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function ao(e,t){try{return oo(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}function io(){var e,t,n=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return io=function(){return n},n}var so={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},uo=function(e){var t=e.size,n=Dr(e,["size"]);return it("svg",De({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:so},n))},co=function(e){return it(uo,De({size:20},e),it("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},lo=function(e){return it(uo,De({size:20},e),it("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},fo=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},po=fo,ho=fo,mo=function(){var e=at.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(io()),go=function(e){var t=e.delay,n=e.offset;return it("span",{css:at({animation:"".concat(mo," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},vo=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,a=e.isRtl;return it("div",De({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),it(go,{delay:0,offset:a}),it(go,{delay:160,offset:!0}),it(go,{delay:320,offset:!a}))};vo.defaultProps={size:4};function yo(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 bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wo(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 Co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oo=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function xo(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 ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xo(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Do=function(e){var t=e.children,n=e.innerProps;return it("div",n,t)},So=Do,Eo=Do;var Mo=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,a=e.data,i=e.getStyles,s=e.innerProps,u=e.isDisabled,c=e.removeProps,l=e.selectProps,f=r.Container,d=r.Label,p=r.Remove;return it(dt,null,(function(r){var h=r.css,m=r.cx;return it(f,{data:a,innerProps:ko(ko({},s),{},{className:m(h(i("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":u},n))}),selectProps:l},it(d,{data:a,innerProps:{className:m(h(i("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:l},t),it(p,{data:a,innerProps:ko({className:m(h(i("multiValueRemove",e)),o({"multi-value__remove":!0},n))},c),selectProps:l}))}))};Mo.defaultProps={cropWithEllipsis:!0};function _o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_o(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}for(var jo={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return it("div",De({},a,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||it(co,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,a=e.isDisabled,i=e.isFocused,s=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return it("div",De({ref:s,css:r("control",e),className:n({control:!0,"control--is-disabled":a,"control--is-focused":i,"control--menu-is-open":c},o)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return it("div",De({},a,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||it(lo,null))},DownChevron:lo,CrossIcon:co,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.Heading,i=e.headingProps,s=e.label,u=e.theme,c=e.selectProps;return it("div",{css:o("group",e),className:r({group:!0},n)},it(a,De({},i,{selectProps:c,theme:u,getStyles:o,cx:r}),s),it("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,a=(e.selectProps,Dr(e,["className","cx","getStyles","theme","selectProps"]));return it("div",De({css:r("groupHeading",bo({theme:o},a)),className:n({"group-heading":!0},t)},a))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return it("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return it("span",De({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,a=e.isHidden,i=e.isDisabled,s=e.theme,u=(e.selectProps,Dr(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return it("div",{css:r("input",Co({theme:s},u))},it(jr.Z,De({className:n({input:!0},t),inputRef:o,inputStyle:Oo(a),disabled:i},u)))},LoadingIndicator:vo,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerRef,i=e.innerProps;return it("div",De({css:o("menu",e),className:r({menu:!0},n)},i,{ref:a}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isMulti,i=e.innerRef,s=e.innerProps;return it("div",De({css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":a},n),ref:i},s),t)},MenuPortal:eo,LoadingMessage:Zr,NoOptionsMessage:Xr,MultiValue:Mo,MultiValueContainer:So,MultiValueLabel:Eo,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return it("div",n,t||it(co,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.isFocused,s=e.isSelected,u=e.innerRef,c=e.innerProps;return it("div",De({css:o("option",e),className:r({option:!0,"option--is-disabled":a,"option--is-focused":i,"option--is-selected":s},n),ref:u},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps;return it("div",De({css:o("placeholder",e),className:r({placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.innerProps,i=e.isDisabled,s=e.isRtl;return it("div",De({css:o("container",e),className:r({"--is-disabled":i,"--is-rtl":s},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,a=e.isDisabled,i=e.innerProps;return it("div",De({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":a},n)},i),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,a=e.getStyles,i=e.hasValue;return it("div",{css:a("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i},n)},t)}},To=function(e){return Po(Po({},jo),e.components)},Ao=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Io=new RegExp("["+Ao.map((function(e){return e.letters})).join("")+"]","g"),No={},Ro=0;Ro<Ao.length;Ro++)for(var Lo=Ao[Ro],Vo=0;Vo<Lo.letters.length;Vo++)No[Lo.letters[Vo]]=Lo.base;var Fo=function(e){return e.replace(Io,(function(e){return No[e]}))};function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var zo=function(e){return e.replace(/^\s+|\s+$/g,"")},Uo=function(e){return"".concat(e.label," ").concat(e.value)};var Wo={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Bo=function(e){return it("span",De({css:Wo},e))};function Yo(e){e["in"],e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,Dr(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return it("input",De({ref:t},n,{css:at({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function qo(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}var Ko=function(e){vr(n,e);var t=qo(n);function n(){return dr(this,n),t.apply(this,arguments)}return gr(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,kr.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(e.Component),Qo=["boxSizing","height","overflow","paddingRight","position"],Go={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function $o(e){e.preventDefault()}function Jo(e){e.stopPropagation()}function Xo(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Zo(){return"ontouchstart"in window||navigator.maxTouchPoints}function ea(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}var ta=!(!window.document||!window.document.createElement),na=0,ra=function(e){vr(n,e);var t=ea(n);function n(){var e;dr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).originalStyles={},e.listenerOptions={capture:!1,passive:!1},e}return gr(n,[{key:"componentDidMount",value:function(){var e=this;if(ta){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;if(n&&Qo.forEach((function(t){var n=a&&a[t];e.originalStyles[t]=n})),n&&na<1){var i=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,u=window.innerWidth-s+i||0;Object.keys(Go).forEach((function(e){var t=Go[e];a&&(a[e]=t)})),a&&(a.paddingRight="".concat(u,"px"))}o&&Zo()&&(o.addEventListener("touchmove",$o,this.listenerOptions),r&&(r.addEventListener("touchstart",Xo,this.listenerOptions),r.addEventListener("touchmove",Jo,this.listenerOptions))),na+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(ta){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,a=o&&o.style;na=Math.max(na-1,0),n&&na<1&&Qo.forEach((function(t){var n=e.originalStyles[t];a&&(a[t]=n)})),o&&Zo()&&(o.removeEventListener("touchmove",$o,this.listenerOptions),r&&(r.removeEventListener("touchstart",Xo,this.listenerOptions),r.removeEventListener("touchmove",Jo,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(e.Component);function oa(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}ra.defaultProps={accountForScrollbars:!0};var aa={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},ia=function(e){vr(n,e);var t=oa(n);function n(){var e;dr(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={touchScrollTarget:null},e.getScrollTarget=function(t){t!==e.state.touchScrollTarget&&e.setState({touchScrollTarget:t})},e.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},e}return gr(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?it("div",null,it("div",{onClick:this.blurSelectInput,css:aa}),it(Ko,{innerRef:this.getScrollTarget},t),r?it(ra,{touchScrollTarget:r}):null):t}}]),n}(e.PureComponent);function sa(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}var ua=function(e){vr(r,e);var n=sa(r);function r(){var e;dr(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).isBottom=!1,e.isTop=!1,e.scrollTarget=void 0,e.touchStart=void 0,e.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},e.handleEventDelta=function(t,n){var r=e.props,o=r.onBottomArrive,a=r.onBottomLeave,i=r.onTopArrive,s=r.onTopLeave,u=e.scrollTarget,c=u.scrollTop,l=u.scrollHeight,f=u.clientHeight,d=e.scrollTarget,p=n>0,h=l-f-c,m=!1;h>n&&e.isBottom&&(a&&a(t),e.isBottom=!1),p&&e.isTop&&(s&&s(t),e.isTop=!1),p&&n>h?(o&&!e.isBottom&&o(t),d.scrollTop=l,m=!0,e.isBottom=!0):!p&&-n>c&&(i&&!e.isTop&&i(t),d.scrollTop=0,m=!0,e.isTop=!0),m&&e.cancelScroll(t)},e.onWheel=function(t){e.handleEventDelta(t,t.deltaY)},e.onTouchStart=function(t){e.touchStart=t.changedTouches[0].clientY},e.onTouchMove=function(t){var n=e.touchStart-t.changedTouches[0].clientY;e.handleEventDelta(t,n)},e.getScrollTarget=function(t){e.scrollTarget=t},e}return gr(r,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return t().createElement(Ko,{innerRef:this.getScrollTarget},this.props.children)}}]),r}(e.Component);function ca(e){var n=e.isEnabled,r=void 0===n||n,o=Dr(e,["isEnabled"]);return r?t().createElement(ua,o):o.children}var la=function(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,a=t.isDisabled,i=t.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},fa=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},da=function(e){return!!e.isDisabled};var pa={clearIndicator:ho,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,a=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:po,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,a=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Jr,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,i=r.colors;return Pr(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),Pr(t,"backgroundColor",i.neutral0),Pr(t,"borderRadius",o),Pr(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Pr(t,"marginBottom",a.menuGutter),Pr(t,"marginTop",a.menuGutter),Pr(t,"position","absolute"),Pr(t,"width","100%"),Pr(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:$r,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var ha={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function ma(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 ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function va(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}var ya,ba={backspaceRemovesValue:!0,blurInputOnSelect:zr(),captureMenuScroll:!zr(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ho(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ho(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:Uo,trim:!0,matchFrom:"any"},ya),r=n.ignoreCase,o=n.ignoreAccents,a=n.stringify,i=n.trim,s=n.matchFrom,u=i?zo(t):t,c=i?zo(a(e)):a(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),o&&(u=Fo(u),c=Fo(c)),"start"===s?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:da,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},wa=1,Ca=function(e){vr(r,e);var n=va(r);function r(e){var t;dr(this,r),(t=n.call(this,e)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},t.blockOptionHover=!1,t.isComposing=!1,t.clearFocusValueOnUpdate=!1,t.commonProps=void 0,t.components=void 0,t.hasGroups=!1,t.initialTouchX=0,t.initialTouchY=0,t.inputIsHiddenAfterUpdate=void 0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.cacheComponents=function(e){t.components=To({components:e})},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;o(e,ga(ga({},n),{},{name:a}))},t.setValue=function(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:undefined,o=t.props,a=o.closeMenuOnSelect,i=o.isMulti;t.onInputChange("",{action:"set-value"}),a&&(t.inputIsHiddenAfterUpdate=!i,t.onMenuClose()),t.clearFocusValueOnUpdate=!0,t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=t.state.selectValue;if(o)if(t.isOptionSelected(e,a)){var i=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==i})),"deselect-option",e),t.announceAriaLiveSelection({event:"deselect-option",context:{value:t.getOptionLabel(e)}})}else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue([].concat(_r(a),[e]),"select-option",e),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));else t.isOptionDisabled(e,a)?t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e),isDisabled:!0}}):(t.setValue(e,"select-option"),t.announceAriaLiveSelection({event:"select-option",context:{value:t.getOptionLabel(e)}}));r&&t.blurInput()},t.removeValue=function(e){var n=t.state.selectValue,r=t.getOptionValue(e),o=n.filter((function(e){return t.getOptionValue(e)!==r}));t.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),t.announceAriaLiveSelection({event:"remove-value",context:{value:e?t.getOptionLabel(e):""}}),t.focusInput()},t.clearValue=function(){t.onChange(null,{action:"clear"})},t.popValue=function(){var e=t.state.selectValue,n=e[e.length-1],r=e.slice(0,e.length-1);t.announceAriaLiveSelection({event:"pop-value",context:{value:n?t.getOptionLabel(n):""}}),t.onChange(r.length?r:null,{action:"pop-value",removedValue:n})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Ir.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return t.props.getOptionLabel(e)},t.getOptionValue=function(e){return t.props.getOptionValue(e)},t.getStyles=function(e,n){var r=pa[e](n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,n):r},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getActiveDescendentId=function(){var e=t.props.menuIsOpen,n=t.state,r=n.menuOptions,o=n.focusedOption;if(!o||!e)return undefined;var a=r.focusable.indexOf(o),i=r.render[a];return i&&i.key},t.announceAriaLiveSelection=function(e){var n=e.event,r=e.context;t.setState({ariaLiveSelection:fa(n,r)})},t.announceAriaLiveContext=function(e){var n=e.event,r=e.context;t.setState({ariaLiveContext:la(n,ga(ga({},r),{},{label:t.props["aria-label"]}))})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.inputIsHiddenAfterUpdate=!r,t.onMenuClose()):t.openMenu("first"),e.preventDefault(),e.stopPropagation()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.stopPropagation(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Rr(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=e.currentTarget.value;t.inputIsHiddenAfterUpdate=!1,t.onInputChange(n,{action:"input-change"}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){var n=t.props,r=n.isSearchable,o=n.isMulti;t.props.onFocus&&t.props.onFocus(e),t.inputIsHiddenAfterUpdate=!1,t.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),t.setState({isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur"}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){var e=t.props,n=e.hideSelectedOptions,r=e.isMulti;return n===undefined?r:n},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,s=n.isClearable,u=n.isDisabled,c=n.menuIsOpen,l=n.onKeyDown,f=n.tabSelectsValue,d=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(u||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!f||!h||d&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.inputIsHiddenAfterUpdate=!1,t.onInputChange("",{action:"menu-close"}),t.onMenuClose()):s&&a&&t.clearValue();break;case" ":if(i)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.buildMenuOptions=function(e,n){var r=e.inputValue,o=void 0===r?"":r,a=e.options,i=function(e,r){var a=t.isOptionDisabled(e,n),i=t.isOptionSelected(e,n),s=t.getOptionLabel(e),u=t.getOptionValue(e);if(!(t.shouldHideSelectedOptions()&&i||!t.filterOption({label:s,value:u,data:e},o))){var c=a?undefined:function(){return t.onOptionHover(e)},l=a?undefined:function(){return t.selectOption(e)},f="".concat(t.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:l,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:a,isSelected:i,key:f,label:s,type:"option",value:u}}};return a.reduce((function(e,n,r){if(n.options){t.hasGroups||(t.hasGroups=!0);var o=n.options.map((function(t,n){var o=i(t,"".concat(r,"-").concat(n));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var a="".concat(t.getElementId("group"),"-").concat(r);e.render.push({type:"group",key:a,data:n,options:o})}}else{var s=i(n,"".concat(r));s&&(e.render.push(s),e.focusable.push(n))}return e}),{render:[],focusable:[]})};var o=e.value;t.cacheComponents=xr(t.cacheComponents,ao).bind(yr(t)),t.cacheComponents(e.components),t.instancePrefix="react-select-"+(t.props.instanceId||++wa);var a=Nr(o);t.buildMenuOptions=xr(t.buildMenuOptions,(function(e,t){var n=Mr(e,2),r=n[0],o=n[1],a=Mr(t,2),i=a[0];return o===a[1]&&r.inputValue===i.inputValue&&r.options===i.options})).bind(yr(t));var i=e.menuIsOpen?t.buildMenuOptions(e,a):{render:[],focusable:[]};return t.state.menuOptions=i,t.state.selectValue=a,t}return gr(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,a=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==a){var i=Nr(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,i):{render:[],focusable:[]},u=this.getNextFocusedValue(i),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:i,focusedOption:c,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,n,r,o,a,i=this.props,s=i.isDisabled,u=i.menuIsOpen,c=this.state.isFocused;(c&&!s&&e.isDisabled||c&&u&&!e.menuIsOpen)&&this.focusInput(),c&&s&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=n.offsetHeight/3,o.bottom+a>r.bottom?Vr(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+a,t.scrollHeight)):o.top-a<r.top&&Vr(t,Math.max(n.offsetTop-a,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildMenuOptions(this.props,r),i=this.props,s=i.isMulti,u=i.tabSelectsValue,c="first"===e?0:a.focusable.length-1;if(!s){var l=a.focusable.indexOf(r[0]);l>-1&&(c=l)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:a,focusedValue:null,focusedOption:a.focusable[c]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})}))}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,a=o.selectValue,i=o.focusedValue;if(n){this.setState({focusedOption:null});var s=a.indexOf(i);i||(s=-1,this.announceAriaLiveContext({event:"value"}));var u=a.length-1,c=-1;if(a.length){switch(e){case"previous":c=0===s?0:-1===s?u:s-1;break;case"next":s>-1&&s<u&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:a[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"first",t=this.props,n=t.pageSize,r=t.tabSelectsValue,o=this.state,a=o.focusedOption,i=o.menuOptions,s=i.focusable;if(s.length){var u=0,c=s.indexOf(a);a||(c=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?u=c>0?c-1:s.length-1:"down"===e?u=(c+1)%s.length:"pageup"===e?(u=c-n)<0&&(u=0):"pagedown"===e?(u=c+n)>s.length-1&&(u=s.length-1):"last"===e&&(u=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[u],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:da(s[u]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ha):ga(ga({},ha),this.props.theme):ha}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.setValue,a=this.selectOption,i=this.props,s=i.isMulti,u=i.isRtl,c=i.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:a,setValue:o,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===undefined?n:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,a=this.props,i=a.options,s=a.menuIsOpen,u=a.inputValue,c=a.screenReaderStatus,l=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",f=o&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:i}):"",d=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:c({count:this.countOptions()})});return"".concat(l," ").concat(f," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,n=e.isDisabled,r=e.isSearchable,o=e.inputId,a=e.inputValue,i=e.tabIndex,s=e.form,u=this.components.Input,c=this.state.inputIsHidden,l=o||this.getElementId("input"),f={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!r)return t().createElement(Yo,De({id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tr,onFocus:this.onInputFocus,readOnly:!0,disabled:n,tabIndex:i,form:s,value:""},f));var d=this.commonProps,p=d.cx,h=d.theme,m=d.selectProps;return t().createElement(u,De({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:n,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:i,form:s,theme:h,type:"text",value:a},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,n=this.components,r=n.MultiValue,o=n.MultiValueContainer,a=n.MultiValueLabel,i=n.MultiValueRemove,s=n.SingleValue,u=n.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,d=l.isDisabled,p=l.isMulti,h=l.inputValue,m=l.placeholder,g=this.state,v=g.selectValue,y=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!f)return h?null:t().createElement(u,De({},c,{key:"placeholder",isDisabled:d,isFocused:b}),m);if(p)return v.map((function(n,s){var u=n===y;return t().createElement(r,De({},c,{components:{Container:o,Label:a,Remove:i},isFocused:u,isDisabled:d,key:"".concat(e.getOptionValue(n)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(n)},onTouchEnd:function(){return e.removeValue(n)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:n}),e.formatOptionLabel(n,"value"))}));if(h)return null;var w=v[0];return t().createElement(s,De({},c,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,De({},n,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,n=this.commonProps,r=this.props,o=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!e||!a)return null;return t().createElement(e,De({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,n=e.DropdownIndicator,r=e.IndicatorSeparator;if(!n||!r)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return t().createElement(r,De({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var n=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return t().createElement(e,De({},n,{innerProps:a,isDisabled:r,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,n=this.components,r=n.Group,o=n.GroupHeading,a=n.Menu,i=n.MenuList,s=n.MenuPortal,u=n.LoadingMessage,c=n.NoOptionsMessage,l=n.Option,f=this.commonProps,d=this.state,p=d.focusedOption,h=d.menuOptions,m=this.props,g=m.captureMenuScroll,v=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,C=m.maxMenuHeight,O=m.menuIsOpen,x=m.menuPlacement,k=m.menuPosition,D=m.menuPortalTarget,S=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,M=m.noOptionsMessage,_=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!O)return null;var j,T=function(n){var r=p===n.data;return n.innerRef=r?e.getFocusedOptionRef:undefined,t().createElement(l,De({},f,n,{isFocused:r}),e.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())j=h.render.map((function(n){if("group"===n.type){n.type;var a=Dr(n,["type"]),i="".concat(n.key,"-heading");return t().createElement(r,De({},f,a,{Heading:o,headingProps:{id:i,data:n.data},label:e.formatGroupLabel(n.data)}),n.options.map((function(e){return T(e)})))}if("option"===n.type)return T(n)}));else if(y){var A=b({inputValue:v});if(null===A)return null;j=t().createElement(u,f,A)}else{var I=M({inputValue:v});if(null===I)return null;j=t().createElement(c,f,I)}var N={minMenuHeight:w,maxMenuHeight:C,menuPlacement:x,menuPosition:k,menuShouldScrollIntoView:E},R=t().createElement(Qr,De({},f,N),(function(n){var r=n.ref,o=n.placerProps,s=o.placement,u=o.maxHeight;return t().createElement(a,De({},f,N,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:s}),t().createElement(ca,{isEnabled:g,onTopArrive:_,onBottomArrive:P},t().createElement(ia,{isEnabled:S},t().createElement(i,De({},f,{innerRef:e.getMenuListRef,isLoading:y,maxHeight:u}),j))))}));return D||"fixed"===k?t().createElement(s,De({},f,{appendTo:D,controlElement:this.controlRef,menuPlacement:x,menuPosition:k}),R):R}},{key:"renderFormField",value:function(){var e=this,n=this.props,r=n.delimiter,o=n.isDisabled,a=n.isMulti,i=n.name,s=this.state.selectValue;if(i&&!o){if(a){if(r){var u=s.map((function(t){return e.getOptionValue(t)})).join(r);return t().createElement("input",{name:i,type:"hidden",value:u})}var c=s.length>0?s.map((function(n,r){return t().createElement("input",{key:"i-".concat(r),name:i,type:"hidden",value:e.getOptionValue(n)})})):t().createElement("input",{name:i,type:"hidden"});return t().createElement("div",null,c)}var l=s[0]?this.getOptionValue(s[0]):"";return t().createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?t().createElement(Bo,{"aria-live":"polite"},t().createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),t().createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,n=e.Control,r=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,u=i.id,c=i.isDisabled,l=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return t().createElement(o,De({},d,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),t().createElement(n,De({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),t().createElement(a,De({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),t().createElement(r,De({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),r}(e.Component);function Oa(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return br(this,n)}}Ca.defaultProps=ba;var xa={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function ka(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=wr(e);if(t){var o=wr(this).constructor;Reflect.construct(r,arguments,o)}else r.apply(this,arguments);return br(this,n)}}e.Component;var Da,Sa,Ea,Ma=(Da=Ca,Ea=Sa=function(e){vr(r,e);var n=Oa(r);function r(){var e;dr(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).select=void 0,e.state={inputValue:e.props.inputValue!==undefined?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:e.props.menuIsOpen!==undefined?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:e.props.value!==undefined?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:r!==undefined?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return gr(r,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return this.props[e]!==undefined?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var e=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,Dr(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return t().createElement(Da,De({},r,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),r}(e.Component),Sa.defaultProps=xa,Ea),_a=n(73),Pa=n.n(_a),ja=function(e,t,n,r,o){if(e){r(e.props.name,o.activateValidation(n,e.node));var a=window[t];t&&a&&(window.flatpickr.prototype.constructor.l10ns[t]=a["default"][t],e.flatpickr.set("locale",t))}},Ta=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!!.")))},Aa=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 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 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"},s.length?l():f()))};function Ia(e){return(Ia="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 Na=function(e,t,n){if("mf-captcha-challenge"!==e&&"g-recaptcha-response"!==e&&"right-answer"!==e&&"wrong-answer"!==e&&"quiz-marks"!==e&&"total-question"!==e){var r=n.getValue(e);n.formContainerRef.current.querySelectorAll("input").forEach((function(t){t.name==e&&"password"===t.type&&(r=".".repeat(r.length))})),Array.isArray(r)&&(r=r.join(", ")),"object"===Ia(r)&&r.name&&(r=r.name);if(function(e){return"File"in window&&e instanceof File}(r[0])&&"object"===Ia(r)&&(r=Object.keys(r).map((function(e){return r[e].name})).join(", ")),"string"==typeof r&&r.includes("data:image")&&(r=React.createElement("img",{src:r,alt:e})),!r)return"";var o=function(e,t,n){var r,o=null==n||null===(r=n.formContainerRef)||void 0===r?void 0:r.current,a=null==o?void 0:o.querySelector('[name="'+e+'"]'),i=a?a.closest(".mf-input-wrapper").querySelector("label"):null;return i?i.innerText.replace(/\*/g,"").trim():t}(e,e,n);return React.createElement("li",{key:t},React.createElement("strong",null," ",o," ")," ",React.createElement("span",null," ",r," "))}},Ra=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}))}))}}))};function La(e){return(La="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)}window.mfMapLocation=Ra;var Va,Fa=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"===La(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=D(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=y(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(y(t,0).id){case"Tuple":return function(e){var t=y(e,0);return g(e,1,{id:"Expr",expr:t})}(t);case"OpenTuple":case"Comma":return b(t,n);case"Assign":case"Sums":return function(e,t){var n=y(e,1),r=y(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 b(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=y(e,1),n=y(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=y(t,3),r=y(t,2),o=y(t,1),a=y(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=y(e,0);e=g(e,1,{id:"Value",token:t}),"Var"===t.id&&(e.scope[t.value]=t);return e}(t)}return t}function y(e,t){return t===undefined&&(t=0),e.stack[e.stack.length-(t+1)]}function b(e,t){var n=y(e,2),r=y(e,1),o=y(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=y(e,2),o=y(e,1),a=y(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=y(e,2),r=y(e,1),o=y(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,k=["Space","Number","Plus","Minus","Mul","Div","Mod","Pow","LParen","RParen","Eq","Comma","Var"];function D(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=k.length;s<u;s++){var c=o[s+1];if(c!==undefined)return{id:k[s],string:c,pos:n,end:n+c.length,value:E(k[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}(),Ha="";Va=jQuery,Element.prototype.getElSettings=function(e){if("settings"in this.dataset)return JSON.parse(this.dataset.settings.replace(/("\;)/g,'"'))[e]||""},Ha=function(e,t){var n=e.find(".mf-multistep-container");0===n.find(".elementor-section-wrap").length&&n.find('div[data-elementor-type="wp-post"]').addClass("elementor-section-wrap");var r=n.find(".e-container--column").length>0?".e-container--column":n.find(".e-con").length>0?".e-con":".elementor-top-section";if(n.length){var o=[];n.find('div[data-elementor-type="wp-post"] '.concat(r,":first-child")).parent().find("> ".concat(r)).each((function(e){var t=this.getElSettings("metform_multistep_settings_title")||"Step-"+Va(this).data("id"),r=this.getElSettings("metform_multistep_settings_icon"),a="",i="";r&&(a="svg"===r.library?'<img class="metform-step-svg-icon" src="'+r.value.url+'" alt="SVG Icon" />':r.value.length?'<i class="metform-step-icon '+r.value+'"></i>':""),0===e?(i="active",n.hasClass("mf_slide_direction_vertical")&&Va(this).parents(".elementor-section-wrap").css("height",Va(this).height())):1===e&&(i="next"),t&&o.push("<li class='metform-step-item "+i+"' id='metform-step-item-"+Va(this).attr("data-id")+"' data-value='"+Va(this).attr("data-id")+"'>"+a+'<span class="metform-step-title">'+t+"</span></li>")})),o&&(n.find(".metform-form-content .metform-form-main-wrapper > .elementor").before("<ul class='metform-steps'>"+o.join("")+"</ul>"),n.find("".concat(r,":first-of-type")).addClass("active"),n.find(".mf-progress-step-bar span").attr("data-portion",100/o.length).css("width",100/o.length+"%"))}n.find("".concat(r," .metform-btn")).attr("type","button"),n.find(".mf-input").on("keypress",(function(e){13!==e.which||Va(this).hasClass("mf-textarea")||n.find(".metform-step-item.next").trigger("click")})),n.find(r).on("keydown",(function(e){var t=Va(this),n=Va(":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,o=this,a=Va(this).parents(".mf-form-wrapper").eq(0),i=a.find("".concat(r,".active .mf-input")),s=(Va("body").hasClass("rtl")?100:-100)*Va(this).index()+"%",u=(a.find(".mf-progress-step-bar").attr("data-total"),Va(this.nextElementSibling).hasClass("active")),c=[];Va(this).hasClass("prev","progress")&&Va(this).removeClass("progress"),i.each((function(){var e=Va(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&&c.push(t)})),e=function(e){e&&(a.find("".concat(r,".active .metform-btn")).attr("type","button"),(Va(o).hasClass("prev")||Va(o).hasClass("next"))&&(Va(o).addClass("active").removeClass("next prev").prev().addClass("prev").siblings().removeClass("prev").end().end().next().addClass("next").siblings().removeClass("next").end().end().siblings().removeClass("active"),a.find("".concat(r,'[data-id="')+Va(o).data("value")+'"]').addClass("active").siblings().removeClass("active"),n.hasClass("mf_slide_direction_vertical")?(a.find(".elementor-section-wrap ".concat(r)).css({transform:"translateY("+s+")"}),a.find(".elementor-section-wrap").css("height","calc("+a.find("".concat(r,'[data-id="')+Va(o).data("value")+'"]').height()+"px)")):a.find(".elementor-section-wrap").css({transform:"translateX("+s+")"})),a.find(".mf-progress-step-bar span").css("width",(Va(o).index()+1)*a.find(".mf-progress-step-bar span").attr("data-portion")+"%"),a.find("".concat(r,".active")).find(".metform-submit-btn").length&&setTimeout((function(){a.find("".concat(r,".active")).find(".metform-submit-btn").attr("type","submit")}),0))},u?e(!0):(t.doValidate(c).then(e),"yes"===Va(this).closest("div[data-previous-steps-style]").attr("data-previous-steps-style")&&setTimeout((function(){Va(o).hasClass("active")&&Va(o).prevAll().addClass("progress")}),0))}))};function za(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],u=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(l){c=!0,o=l}finally{try{if(!u&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||Ba(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 Ua(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ba(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(s)throw a}}}}function Wa(e){return function(e){if(Array.isArray(e))return Ya(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ba(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 Ba(e,t){if(e){if("string"==typeof e)return Ya(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)?Ya(e,t):void 0}}function Ya(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 qa(e){return(qa="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 Ka(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,ni(r.key),r)}}function Qa(e,t){return(Qa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ga(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=Xa(e);if(t){var o=Xa(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $a(this,n)}}function $a(e,t){if(t&&("object"===qa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ja(e)}function Ja(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xa(e){return(Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Za(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 ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(n),!0).forEach((function(t){ti(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ti(e,t,n){return(t=ni(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){var t=function(e,t){if("object"!==qa(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||"default");if("object"!==qa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===qa(t)?t:String(t)}var ri=new(xe())({tolerance:200}),oi=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qa(e,t)}(a,React.Component);var t,n,r,o=Ga(a);function a(e){var t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),ti(Ja(n=o.call(this,e)),"handleFormSubmit",(function(e,t){var r;t.preventDefault(),n.setState(ei(ei({},n.state),{},{errors:[]})),n.handleDefaultValues();var o=n.state,a=o.formData,i=o.defaultData,s=n.props,u=s.action,c=s.wpNonce,l=s.validation,f=l.reset,d=new FormData,p=ei(ei({},i),a);for(var h in jQuery(n.mfRefs.mainForm.parentElement).trigger("metform/before_submit",p),jQuery(n.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!0),p)if("object"==qa(p[h])){var m=p[h][0];if(Blob&&m instanceof Blob)for(var g=p[h].length,v=0;v<g;v++)d.append(h+"[]",p[h][v]);else d.append(h,p[h])}else d.append(h,p[h]);r="mf_success_duration"in n.props.widgetSettings?n.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){var o,a;(n.formSubmitResponse=e,e.status)?(n.setState({success:"true"===n.props.quizSummery&&Object.keys(n.state.answers).length&&e.data.message?"".concat(e.data.message," You have got ").concat(n.state.formData["quiz-marks"]," Marks. Right Answer ").concat(null===(o=n.state.formData)||void 0===o?void 0:o["right-answer"].length,".\n\t\t\t\t\tWrong Answer ").concat(null===(a=n.state.formData)||void 0===a?void 0:a["wrong-answer"].length,"."):e.data.message?e.data.message:"",form_res:1},(function(){n.resetReCAPTCHA(),l.clearErrors("g-recaptcha-response")})),e.status&&e.data.hide_form&&(n.formRef.current.setAttribute("class","mf-close-this-form"),setTimeout((function(){n.formRef.current.innerHTML=""}),600)),n.setState({formData:{}}),jQuery(t.target).trigger("reset"),jQuery(t.target).find(".m-signature-pad .btn.clear").trigger("click"),jQuery(t.target).find(".mf-repeater-select-field").val(null).trigger("change"),0!=jQuery(t.target).find(".mf-repater-range-input").length&&jQuery(t.target).find(".mf-repater-range-input").asRange("set","0"),0!=jQuery(t.target).find(".g-recaptcha-response-v3").length&&grecaptcha.ready((function(){grecaptcha.execute(jQuery(t.target).find("#recaptcha_site_key_v3")[0].dataset.sitekey,{action:"submit"}).then((function(e){jQuery(t.target).find(".g-recaptcha-response-v3").val(e)}))})),n.setState(ei(ei({},n.state),{},{defaultData:{form_nonce:n.state.defaultData.form_nonce}})),f(),setTimeout((function(){n.setState({errors:[],form_res:0})}),r)):n.setState({errors:Wa(e.error),form_res:1},(function(){n.resetReCAPTCHA(),n.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")}));if(e.data.store&&"stripe"===e.data.store["mf-payment-method"]&&n.stripePayment(e),jQuery(n.mfRefs.mainForm.parentElement).trigger("metform/after_submit",{data:p,response:e}),(e.data.store&&"stripe"!==e.data.store["mf-payment-method"]||0==e.store_entries&&e.status&&""!==e.data.redirect_to.trim())&&e.status&&e.data.redirect_to.trim()){e.data.entry_id;var i=e.data.redirect_to;setTimeout((function(){window.location.href=i}),1500)}setTimeout((function(){e.data.hide_form||e.data.store&&"stripe"!==e.data.store["mf-payment-method"]&&n.setState({success:"",errors:[],form_res:0})}),r)}))["catch"]((function(e){n.setState({errors:["Something went wrong"],form_res:1},(function(){n.resetReCAPTCHA(),n.setValue("mf-captcha-challenge","",!0),l.clearErrors("g-recaptcha-response")})),console.error(e.message),setTimeout((function(){n.setState({errors:[],form_res:0})}),r)}))["finally"]((function(){if(n.state.submitted=!0,jQuery(n.mfRefs.mainForm).find(".metform-submit-btn").attr("disabled",!1),!n.props.stopVerticalEffect){var e=n.mfRefs.mainForm.querySelector(".mf-main-response-wrap");ri.move(e)}setTimeout((function(){n.setState({mobileWidget:{}}),localStorage.removeItem("metform-".concat(n.props.formId)),jQuery(n.mfRefs.mainForm).find(".mf-toggle-select-input").each((function(){jQuery(this).removeAttr("checked")})),n.state.hasOwnProperty(["QuizInfo"])&&(n.state.formData["total-question"]=n.state.QuizInfo.totalQuestion,n.state.formData["right-answer"]=n.state.QuizInfo.rightAnswer,n.state.formData["wrong-answer"]=n.state.QuizInfo.wrongAnswer,n.state.formData["quiz-marks"]=n.state.QuizInfo.marks)}),350)}))})),ti(Ja(n),"handleCalculations",(function(e,t){var r=e.target.calc_behavior,o=ReactDOM.findDOMNode(Ja(n)),a=o.length?o.querySelectorAll(".mf-input-calculation"):[];for(var i in t)if(Array.isArray(t[i])){var s=t[i].map((function(e){return isNaN(e)?e:Number(e)}));t[i]=s}for(var u in a.forEach((function(e){var o=parseInt(e.dataset.fraction);o=o<0||o>99?2:o;var a=n.MfMathCalc.parse(e.dataset.equation,t,r)||0;if("NaN"!==a){var i=a.toString().split(".");i.length>1&&(i[1]=i[1].slice(0,o),i[1].length||i.pop()),t[e.name]=i.join(".")}})),t)if(Array.isArray(t[u]))for(var c=0;c<t[u].length;c++)"number"==typeof t[u][c]&&(t[u][c]=t[u][c]+"")})),ti(Ja(n),"handleConditionals",(function(e){var t=n.state,r=t.formData,o=t.defaultData,a=n.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(t){t.name=t.mf_conditional_logic_form_if,t.value=r[t.name]||o[t.name]||"",t.match=isNaN(t.mf_conditional_logic_form_value)?t.mf_conditional_logic_form_value:+t.mf_conditional_logic_form_value,t.operator=n.decodeEntities(t.mf_conditional_logic_form_comparison_operators),Array.isArray(t.value)&&-1!==t.value.indexOf(t.match)&&(t.value=t.value[t.value.indexOf(t.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}}(t.value,t.match,t.operator));var a=t.mf_conditional_logic_form_if,i=jQuery("input[name = ".concat(a,"]")).closest(".elementor-element[mf-condition-hidden]").attr("mf-condition-hidden");e.parentCondition=i})),e.isValidated=e.validatedValues.some((function(e){return!0===e})),"and"===e.operator&&(e.isValidated=e.validatedValues.every((function(e){return!0===e})));var t=e.settings.mf_input_name;if(e.isValidated&&"show"===e.action){var a;e.el.setAttribute("mf-condition-hidden",!1),e.el.classList.remove("mf-condition--hidden"),null===(a=e.el.closest(".e-container, .e-con, .elementor-top-section"))||void 0===a||a.classList.remove("mf-condition--hidden"),e.parentCondition!==undefined&&e.el.setAttribute("mf-condition-hidden",e.parentCondition),"noval"===c(t)&&l(t,undefined)}else{var s,u,f;if(e.el.setAttribute("mf-condition-hidden",!0),!e.el.closest(".elementor-inner-section")&&!e.el.closest(".e-container")&&!e.el.closest(".e-con"))Array.isArray(null===(s=Object.values(e.el.closest(".elementor-widget-wrap"))[1])||void 0===s?void 0:s.children)||e.el.closest(".elementor-top-section").classList.add("mf-condition--hidden");if(e.el.closest(".e-container"))(null===(u=Object.values(e.el.closest(".e-container"))[1])||void 0===u||null===(f=u.children)||void 0===f?void 0:f.length)<=2&&e.el.closest(".e-container").classList.add("mf-condition--hidden");e.el.classList.add("mf-condition--hidden"),Object.values(e.el.classList).indexOf("elementor-widget-mf-select")>-1&&l(t,"noval")}}))})),ti(Ja(n),"getValue",(function(e){return e in n.state.formData?n.state.formData[e]:""})),ti(Ja(n),"getFileLabel",(function(e,t){var r=n.state.formData[e],o="";if(r&&(null==r?void 0:r.length)>1){for(var a=0;a<(null==r?void 0:r.length);a++)o+=r[a].name+",";o=o.slice(0,-1)}else 1==(null==r?void 0:r.length)&&(o=r?r[0].name:"");return r?o:n.decodeEntities(t)})),ti(Ja(n),"getInputLabel",(function(e,t){var r=ReactDOM.findDOMNode(Ja(n)).querySelector('[name="'+e+'"]'),o=r?r.closest(".mf-input-wrapper").querySelector("label"):null;return o?o.innerText.replace(/\*/g,"").trim():t})),ti(Ja(n),"decodeEntities",(function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value})),ti(Ja(n),"setDefault",(function(e){if(null!==e){var t=e.name,r=e.value,o=n.state.defaultData;o[t]=r,n.setState({defaultData:o})}})),ti(Ja(n),"isNumeric",(function(e){return!isNaN(parseFloat(e))&&isFinite(e)})),ti(Ja(n),"setStateValue",(function(e,t){n.setState({name:e,value:t})})),ti(Ja(n),"handleCardNumber",(function(e){var t=e.target,r=t.name,o=t.value,a=n.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}n.setValue(r,u,!0),n.handleChange(e),e.target.value=u,n.handleCardType(s,e.target.name)})),ti(Ja(n),"handleCardType",(function(e,t){var r="blank",o=t+"--type";r=e.startsWith("34")||e.startsWith("37")?"amex":e.startsWith("4")?"visa":e.startsWith("5")?"master":e.startsWith("6")?"discover":"custom";var a=n.state.formData;a[o]=r,n.setState({formData:a})})),ti(Ja(n),"handleCardMonth",(function(e){var t=e.target,r=t.name,o=t.value,a=parseInt(o.replace(/-/g,""))||"",i=parseInt(a.toString().substring(0,1))||"";1<i&&i<10?n.setValue(r,i,!0):n.setValue(r,a>12?12:a,!0),n.handleChange(e)})),ti(Ja(n),"handleSubVal",(function(e,t){var r=e.target,o=r.name,a=r.value,i=parseInt(a.replace(/-/g,"").substring(0,t))||"";n.setValue(o,i,!0),e.target.value=i,n.handleChange(e)})),ti(Ja(n),"handleSaveProgress",(function(e,t){if(!elementorFrontend.isEditMode()&&"true"===n.props.saveProgress&&!(document.getElementsByName(e)[0].className.includes("mf-captcha-input")||document.getElementsByName(e)[0].className.includes("g-recaptcha-response")||document.getElementsByName(e)[0].className.includes("g-recaptcha-response-v3")||"password"==document.getElementsByName(e)[0].type||document.getElementsByName(e)[0].closest(".mf-credit-card-wrapper")||"file"===document.getElementsByName(e)[0].type)){var r=new Date;r.setMinutes(r.getMinutes()+120),null===localStorage.getItem("metform-".concat(n.props.formId))&&localStorage.setItem("metform-".concat(n.props.formId),JSON.stringify({expireTime:r.getTime()})),setTimeout((function(){var r,o,a=null===(r=document.getElementsByClassName("mf-input-calculation")[0])||void 0===r?void 0:r.value,i=null===(o=document.getElementsByClassName("mf-input-calculation")[0])||void 0===o?void 0:o.name,s=JSON.parse(localStorage.getItem("metform-".concat(n.props.formId)));for(var u in a&&(s[i]=a),s[e]=t,s)""===s[u]&&delete s[u];localStorage.setItem("metform-".concat(n.props.formId),JSON.stringify(s))}),0)}})),ti(Ja(n),"compareArrays",(function(e,t){if(!e||!t)return!1;if(e.length!==t.length)return!1;var n=e.sort(),r=t.sort();return n.map((function(e,t){return r[t]===e})).every((function(e){return e}))})),ti(Ja(n),"handleIncorrectAnswer",(function(e,t,n,r,o,a){var i,s,u;null!==(i=e.formData["wrong-answer"])&&void 0!==i&&i.includes(n)||(t["wrong-answer"]=t["wrong-answer"]?[].concat(Wa(t["wrong-answer"]),[n]):[n],t["quiz-marks"]=(t["quiz-marks"]?t["quiz-marks"]:0)-(!(null!==(u=t["right-answer"])&&void 0!==u&&u.includes(n))&&(a||0)));if(null!==(s=t["right-answer"])&&void 0!==s&&s.includes(n)){var c=t["right-answer"].indexOf(n);t["quiz-marks"]=t["quiz-marks"]-o,t["quiz-marks"]=t["quiz-marks"]-(a||0),t["right-answer"].splice(c,1)}return t})),ti(Ja(n),"handleCorrectAnswer",(function(e,t,r,o){var a,i;e["quiz-marks"]=(e["quiz-marks"]?e["quiz-marks"]:0)+r,e["quiz-marks"]=(e["quiz-marks"]?e["quiz-marks"]:0)+(o||0),e["right-answer"]=e["right-answer"]?[].concat(Wa(e["right-answer"]),[t]):[t];var s=null===(a=e["wrong-answer"])||void 0===a?void 0:a.indexOf(t);null===(i=e["wrong-answer"])||void 0===i||i.splice(s,1),n.setState({formData:e})})),ti(Ja(n),"handleChange",(function(e){var t=e.target,r=t.name,o=t.value,a=t.type,i=n.state.formData;i[r]="number"===a&&"mobile"!==a?Number(o):o,n.handleCalculations(e,i),n.setState({formData:i});var s=e.target;if(s.className!==undefined&&-1!==s.className.indexOf("mf-repeater-type-simple")||n.trigger(r),n.handleSaveProgress(r,o),"quiz-form"===n.props.formType&&Object.keys(n.state.answers).includes(r)){var u=parseFloat(n.state.answers[r].correctPoint),c=parseFloat(n.state.answers[r].incorrectPoint);if("multiselect"===a||"checkbox"===a){var l=n.handleIncorrectAnswer(n.state,i,r,o,u,c);n.compareArrays(o,n.state.answers[r].answer)&&n.handleCorrectAnswer(l,r,u,c)}else if("text"===a||"radio"===a){var f=n.handleIncorrectAnswer(n.state,i,r,o,u,c);(null==o?void 0:o.toLowerCase())===n.state.answers[r].answer.toLowerCase()&&n.handleCorrectAnswer(f,r,u,c)}else if("select"===a){var d=n.handleIncorrectAnswer(n.state,i,r,o,u,c);o===n.state.answers[r].answer&&n.handleCorrectAnswer(d,r,u,c)}}})),ti(Ja(n),"handleDateTime",(function(e){var t=e.target,r=t.name,o=t.value;n.setValue(r,o,!0),n.handleChange(e)})),ti(Ja(n),"handleSelect",(function(e,t){var r=e.value;e.target={name:t,value:r,type:"select"},n.setValue(t,r,!0),n.handleChange(e)})),ti(Ja(n),"handleRadioDefault",(function(e){var t=n.state.formData;if(e&&e.dataset.checked){var r=e.name;e.setAttribute("checked",!0),r in t||n.handleChange({target:{name:r,value:e.value}})}})),ti(Ja(n),"handleCheckbox",(function(e,t){if(!e)return!1;var r=n.state.formData,o=!1;if("onLoad"===t){var a=e.querySelectorAll(".mf-checkbox-input"),i=[];a.forEach((function(e){o||(o=e.name),e.checked&&i.push(e.value)})),!r[o]&&i.length&&n.handleChange({target:{name:o,value:i}})}if("onClick"===t){o||(o=e.name);var s=new Set(r[o]);e.checked&&s.add(e.value),e.checked||s["delete"](e.value),n.handleChange({target:{name:o,value:Array.from(s),type:"checkbox"}})}})),ti(Ja(n),"handleSwitch",(function(e){e.target.value=e.target.nextElementSibling.getAttribute("data-disable"),e.target.checked&&(e.target.value=e.target.nextElementSibling.getAttribute("data-enable")),n.handleChange(e)})),ti(Ja(n),"handleOptin",(function(e){e.target.checked||(e.target.value="Declined"),e.target.checked&&(e.target.value="Accepted"),n.handleChange(e)})),ti(Ja(n),"handleFileUpload",(function(e){n.handleChange({target:{name:e.target.name,value:e.target.files}})})),ti(Ja(n),"handleMultiStepBtns",(function(e){var t=jQuery(e.currentTarget).parents(".elementor-top-section.active").length>0?".elementor-top-section":jQuery(e.currentTarget).parents(".e-container--column.active").length>0?".e-container--column":".e-con",r=jQuery(e.currentTarget).parents("".concat(t,".active")),o=e.currentTarget.dataset.direction,a=r.prev()[0]?r.prev()[0].dataset:"",i=r.next()[0]?r.next()[0].dataset:"",s=("next"===o?i:a).id;if(!s)return!1;var u=jQuery(e.currentTarget).parents(".metform-form-content").find('.metform-step-item[data-value="'+s+'"]'),c=[];r.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&&c.push(t)})),jQuery(e.currentTarget).parents(".mf-scroll-top-yes").length&&ri.move(n.mfRefs.mainForm),"next"===o?n.trigger(c).then((function(e){e&&u.trigger("click")})):u.trigger("click")})),ti(Ja(n),"handleImagePreview",(function(e){var t=e.target,n=e.clientX,r=e.clientY,o=e.type,a=t.nextElementSibling,i=t.closest(".mf-image-select"),s=i.getBoundingClientRect(),u=r-s.top,c=n-s.left;if(a){if(t.closest(".mf-multistep-container")&&(r=u+50,n=c+30),"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||r+2*i.clientHeight>window.innerHeight?(a.className="mf-select-hover-image mf-preview-top",r-=55):a.className="mf-select-hover-image",a.style.top=r+30+"px",a.style.left=n-28+"px"}})),ti(Ja(n),"handleSignature",(function(e){e.target={name:e.props.name,value:e.toDataURL()},n.handleChange(e),n.setValue(e.target.name,e.target.value,!0)})),ti(Ja(n),"refreshCaptcha",(function(e){n.setState({captcha_img:n.state.captcha_path+Date.now()})})),ti(Ja(n),"resetReCAPTCHA",(function(){n.getValue("mf-captcha-challenge")&&n.refreshCaptcha(),n.getValue("g-recaptcha-response")&&n.handleReCAPTCHA("reset")})),ti(Ja(n),"handleReCAPTCHA",(function(e){"reset"===e&&(e="",grecaptcha.reset());var t={target:{name:"g-recaptcha-response",value:(e=e||"")||""}};n.handleChange(t)})),ti(Ja(n),"activateValidation",(function(e,t,r){var o,a,i=n.state.formData,s=n.props.validation.register,u=e.type,c=e.required,l=e.message,f=e.minLength,d=e.maxLength,p=e.expression,h={};if(t&&c&&t.closest(".elementor-element")&&"true"===t.closest(".elementor-element").getAttribute("mf-condition-hidden"))h.required=!1;else{if((u&&"none"!==u||c)&&(h.required=!!c&&l),t&&t.classList&&t.classList.contains("mf-credit-card-number")&&(i[t.name]&&"amex"===i[t.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})),t&&"file"===t.type&&t.files.length>0){var m=e.file_types,g=e.size_limit,v=t.files[0].name.substr(t.files[0].name.lastIndexOf(".")+1);h.validate={fileType:function(){return v=v.toLowerCase(),!(m!==[]&&!m.includes("."+v))||e.type_message},fileSize:function(){return!(-1!==g&&t.files[0].size>1024*parseInt(g))||e.limit_message}}}t&&"email"===t.type?h.pattern={value:/^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,message:e.emailMessage}:t&&"url"===t.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=t&&"number"===t.type?"min":"minLength",a=t&&"number"===t.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 n.handleWordValidate(e,f,d,l)}}:"by_expresssion_based"===u&&(h.validate={expression:function(e){return n.handleExpressionValidate(e,p,l)}})}return"function"==typeof r&&r(),t?s(t,h):h})),ti(Ja(n),"handleWordValidate",(function(e,t,n,r){var o=e.trim().split(/\s+/).length;return!!(n?o>=t&&o<=n:o>=t)||r})),ti(Ja(n),"handleExpressionValidate",(function(e,t,n){if(t)return!!new RegExp(t).test(e)||n})),ti(Ja(n),"colorChange",(function(e,t){n.handleChange({target:{name:t,value:e.hex}})})),ti(Ja(n),"colorChangeInput",(function(e){n.handleChange({target:{name:e.target.name,value:e.target.value}})})),ti(Ja(n),"multiSelectChange",(function(e,t){if("string"==typeof e)try{e=JSON.parse(e)}catch(o){return}var r=[];if(null!==e)try{e.filter((function(e){return r.push(e.value?e.value:e.mf_input_option_value)}))}catch(a){return}n.handleChange({target:{name:t,value:r,type:"multiselect"}})})),ti(Ja(n),"handleRangeChange",(function(e,t){n.handleChange({target:{name:t,value:Number(e.toFixed(2)),type:"range"}}),n.props.validation.setValue(t,Number(e.toFixed(2)))})),ti(Ja(n),"handleMultipileRangeChange",(function(e,t){n.handleChange({target:{name:t,value:[e.min,e.max],calc_behavior:"decrease_first_value"}})})),ti(Ja(n),"handleOnChangePhoneInput",(function(e,t,r){var o="";r&&e!==r.dialCode&&(o=e),n.setState({mobileWidget:ei(ei({},n.state.mobileWidget),{},ti({},t,e))}),n.handleChange({target:{name:t,value:o,type:"mobile"}})})),ti(Ja(n),"setFormData",(function(e,t){n.state.formData[e]=t})),ti(Ja(n),"getParams",(function(){for(var e,t=window.location.search,n={},r=/[?&]?([^=]+)=([^&]*)/g;e=r.exec(t);)n[decodeURIComponent(e[1])]=decodeURIComponent(e[2]);return n})),ti(Ja(n),"setParamValueState",(function(){var e=n.state.formData,t=n.getParams(),r=n.props.widgets,o=function(o){var a=t[o].split(","),i=function(){var t=r[s].el,i=jQuery(t),u=i.data().settings,c=u.mf_input_list,l=[];function f(e){return i.find(e).length>0}function d(){var t=a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)})),n=Wa(new Set(t));n.length>0&&(e[o]=n)}function p(t){e[o]=t}if(u.mf_input_name===o&&"yes"===u.mf_input_get_params_enable){if(c&&c.length>0){for(var h=0;h<c.length;h++)l.push(c[h].mf_input_option_value||c[h].value);if((f(".mf-input-select")||f("input.mf-radio-input:radio")||f("input.mf-image-select-input:radio")||f("input.mf-toggle-select-input:radio"))&&(function(){var t=a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)}))[0];t&&(e[o]=t)}(),f("input.mf-toggle-select-input:radio"))){var m=a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)}))[0];m&&i.find("input.mf-toggle-select-input:radio").each((function(){jQuery(this).prop("checked",!1),m.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)}))}if(f("input.mf-checkbox-input:checkbox")||f("input.mf-image-select-input:checkbox")||f("input.mf-toggle-select-input:checkbox"))d(),a.filter((function(e){return e.length>0&&l.length>0&&l.includes(e)})).length>0&&(i.find("input.mf-checkbox-input:checkbox").each((function(){jQuery(this).prop("checked",!1),a.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)})),i.find("input.mf-toggle-select-input:checkbox").each((function(){jQuery(this).prop("checked",!1),a.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)})));f(".mf-input-multiselect")&&d()}else{var g=a[0];if(f("input[type=email]")&&(p(g),i.find("input[type=email]").val(g)),f("input[type=checkbox]")&&"on"===g&&(p(g),i.find("input[type=checkbox]")[0].checked=!0),f("input[type=number]")){p(Number(g)),i.find("input[type=number]").val(Number(g));var v=i.find("input[type=number]")[0];v.addEventListener("click",(function(t){n.handleCalculations(t,e)})),v.click()}if(f(".range-slider")){var y=u.mf_input_min_length_range;u.mf_input_max_length_range>=Number(g)&&y<=Number(g)&&p(Number(g))}if(f(".mf-ratings"))u.mf_input_rating_number>=Number(g)&&0<=Number(g)&&p(Number(g));if(f("input.mf-input-switch-box:checkbox")){var b=u.mf_swtich_enable_text;b===g&&(p(b),i.find("input.mf-input-switch-box:checkbox")[0].checked=!0)}if(f("input.mf-payment-method-input:radio")){var w=["paypal","stripe"],C=a.filter((function(e){return e.length>0&&w.includes(e)}))[0];C&&p(C),C&&i.find("input.mf-payment-method-input:radio").each((function(){jQuery(this).prop("checked",!1),a.includes(jQuery(this).val())&&jQuery(this).prop("checked",!0)}))}if(f("input[type=text]")||f("input[type=password]")||f("input[type=tel")||f("textarea.mf-input")||f("input[type=url]")){var O=n.getParams()[o];if(f("input.flatpickr-input")){(g.match(/^[0-3]?[0-9].[0-3]?[0-9].(?:[0-9]{2})?[0-9]{2}$/)||g.match(/^(?:[0-9]{2})?[0-9]{2}.[0-3]?[0-9].[0-3]?[0-9]$/))&&p(O)}else p(O),i.find("input[type=text").val(O),i.find("input[type=password").val(O),i.find("input[type=tel").val(O),i.find("textarea.mf-input").val(O),i.find("input[type=url]").val(O)}}n.setState({formData:e})}};for(var s in r)i()};for(var a in t)o(a)})),n.storageData=JSON.parse(localStorage.getItem("metform-".concat(e.formId)))||{},(null===(t=n.storageData)||void 0===t?void 0:t.expireTime)<new Date&&(localStorage.removeItem("metform-".concat(e.formId)),n.storageData={}),n.state={formData:"true"===n.props.saveProgress?n.storageData:{},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:{},mobileWidget:{},formId:e.formId,answers:{},submitted:!1},n.formSubmitResponse,n.MfMathCalc=new Fa,n.setValue=e.validation.setValue,n.trigger=e.validation.trigger,n.formRef=React.createRef(),n.formContainerRef=React.createRef(),n.interval=null,n.mfRefs={},setTimeout((function(){if(!elementorFrontend.isEditMode()&&"true"===e.saveProgress){var t,r=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,o=n.state.formData,a=document.getElementsByClassName("mf-input-repeater")[0],i=null===(t=document.getElementsByClassName("mf-input-repeater-items attr-items")[0])||void 0===t?void 0:t.outerHTML,s=function(){if("string"==typeof o[u]&&r.test(o[u].split(",")[1])){var e,t=(null===(e=document.getElementsByName("".concat(u))[0])||void 0===e?void 0:e.parentElement.getElementsByTagName("canvas")[0]).getContext("2d"),n=new Image;n.onload=function(){t.drawImage(n,0,0)},n.src=o[u]}if(u.match(/\[[^\]]*\]/g)&&2===u.match(/\[[^\]]*\]/g).length){var s=u.match(/\d+/)[0];if(document.getElementsByName(u)[0]!==undefined)document.getElementsByName(u)[0].value=o[u];else{var c,l=(new DOMParser).parseFromString(i,"text/html");l.getElementsByClassName("mf-input-repeater-items")[0].dataset.index=s,l.getElementsByClassName("mf-input-repeater-items")[0].removeAttribute("style"),l.getElementsByClassName("mf-input attr-form-control")[0].name=u;var f=null===(c=l.getElementsByClassName("mf-input-repeater-items")[0])||void 0===c?void 0:c.outerHTML;a.insertAdjacentHTML("beforeend",f),document.getElementsByName(u)[0].value=o[u]}}};for(var u in o)s()}}),1e3),window["handleReCAPTCHA_"+n.state.recaptcha_uid]=n.handleReCAPTCHA;var r=e.templateEl.innerHTML,i=n.replaceWith([["‘","'"],["’","'"],["“",'"'],["”",'"'],["–","--"]],r);return n.jsx=new Function("parent","props","state","validation","register","setValue","html",i),e.templateEl.remove(),jQuery(document).on("click",".remove-btn",(function(e){var t=jQuery(e.target).parent().siblings(".mf-input-repeater-content").find(".mf-repeater-field")[0].name;n.state.formData[t]!==undefined&&(delete n.state.formData[t],n.setState({formData:n.state.formData}))})),n}return t=a,(n=[{key:"replaceWith",value:function(e,t){var n,r=t,o=Ua(e);try{for(o.s();!(n=o.n()).done;){var a=za(n.value,2),i=a[0],s=a[1];r=r.replaceAll(i,s)}}catch(u){o.e(u)}finally{o.f()}return r}},{key:"handleDefaultValues",value:function(){var e,t=this.mfRefs.mainForm,n={},r=Ua(new FormData(t));try{for(r.s();!(e=r.n()).done;){var o=za(e.value,2),a=o[0],i=o[1];n[a]=i}}catch(s){r.e(s)}finally{r.f()}this.setState({defaultData:ei(ei({},this.state.defaultData),n)})}},{key:"stripePayment",value:function(e){var t,n=e.data.payment_data,r=this;if(n.keys&&""!==n.keys)return(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?e.redirect_url?window.location.href=e.redirect_url:"success"===e.status?r.setState({success:"Payment Successful!",errors:[],form_res:1}):r.setState({success:"",errors:[e.message],form_res:1}):alert(e.message)}))):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()})),{type:"error",redirect_url:"",message:"Payment Unsuccessful!"};alert("Please set your Stripe Keys in form settings.")}},{key:"renderReCaptcha",value:function(e,t){var n=window.grecaptcha,r=document.querySelectorAll(".g-recaptcha"),o=document.querySelectorAll(".recaptcha_site_key_v3");r.length?n.render("g-recaptcha",{sitekey:r[0].dataset.sitekey}):o.length&&n.ready((function(){n.execute(o[0].dataset.sitekey,{action:"submit"}).then((function(t){e.querySelectorAll(".g-recaptcha-response-v3").forEach((function(e){e.value=t}))}))}))}},{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"))&&ri.move(e.parentElement.parentElement)}},{key:"componentDidMount",value:function(e){var t=this,n=window.grecaptcha,r=ReactDOM.findDOMNode(this),o=r.length?r.querySelectorAll(".elementor-element"):[];this.mfRefs.mainForm=r;var a=this.state.formData,i=r.querySelectorAll(".recaptcha_site_key_v3");i.length>0&&(this.interval=setInterval((function(){n.ready((function(){n.execute(i[0].dataset.sitekey,{action:""}).then((function(e){i.forEach((function(t){t.querySelector(".g-recaptcha-response-v3").value=e}))}))}))}),108e3));var s=r.getElementsByTagName("input");for(var u in s)"email"===s[u].type&&""!==s[u].value&&this.setDefault(s[u]);if(o.forEach((function(e){var n=e.getAttribute("data-element_type"),r=e.getAttribute("data-widget_type"),o=null===r?n:r;e.dataset&&e.dataset.settings&&(e.dataset.settings=e.dataset.settings.replace(/"/g,'"'));var a=window.elementorFrontend.hooks;if(a?a.doAction("frontend/element_ready/"+o,jQuery(e)):jQuery(window).on("elementor/frontend/init",(function(){(a=window.elementorFrontend.hooks).doAction("frontend/element_ready/"+o,jQuery(e))})),e.className.search("elementor-widget-mf-")>0&&e.dataset.settings){var i=JSON.parse(e.dataset.settings),s=i.mf_input_name+"-"+e.getAttribute("data-id");t.props.widgets[s]={el:e,settings:i},i.mf_conditional_logic_form_enable&&t.props.conditionalRefs.push(s)}})),Object.keys(this.state.answers).length&&"quiz-form"===this.props.formType){var c=this.state.answers,l=this.state;a["right-answer"]=[],a["wrong-answer"]=[],a["quiz-marks"]=0,l.QuizInfo={totalQuestion:0,rightAnswer:[],wrongAnswer:[],marks:0},Object.keys(c).forEach((function(e){"string"==typeof c[e].answer&&""===c[e].answer||"object"===qa(c[e].answer)&&0===c[e].answer.length?(a["right-answer"]=[].concat(Wa(t.state.formData["right-answer"]),[e]),a["quiz-marks"]=a["quiz-marks"]+parseFloat(c[e].correctPoint)):(a["wrong-answer"]=[].concat(Wa(t.state.formData["wrong-answer"]),[e]),a["quiz-marks"]=a["quiz-marks"]-parseFloat(c[e].incorrectPoint))})),a["total-question"]=Object.keys(c).length,l.QuizInfo.rightAnswer=a["right-answer"],l.QuizInfo.wrongAnswer=a["wrong-answer"],l.QuizInfo.marks=a["quiz-marks"],l.QuizInfo.totalQuestion=Object.keys(c).length}for(var f in window.onload=function(e){t.renderReCaptcha(r,e)},this.handleConditionals(),this.props.formId&&fetch(mf.restURI+this.props.formId,{method:"POST",headers:{"X-WP-Nonce":this.props.wpNonce}}),Ra(),Ha(jQuery(r).parents(".mf-multistep-container").parent(),{doValidate:this.trigger}),jQuery(r).on("change asRange::change",".mf-repeater-field, .mf-repater-range-input, .mf-repeater-checkbox",this.handleChange),jQuery(r).trigger("metform/after_form_load",a),a)this.setValue(f,a[f]);this.setParamValueState()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{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))}}])&&Ka(t.prototype,n),r&&Ka(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(),ai=function(e){var t=za(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=r.saveProgress,l=r.formType,f=r.quizSummery,d=za(e.find(".mf-template"),1)[0];if(d)ReactDOM.render(React.createElement((n=oi,function(e){var t=ei(ei({},ye()),{},{ErrorMessage:Ce});return React.createElement(n,ei({validation:t},e))}),{formId:s,templateEl:d,action:o,wpNonce:a,formNonce:i,saveProgress:c,formType:l,quizSummery:f,widgets:{},conditionalRefs:[],stopVerticalEffect:u,widgetSettings:e.data("settings")||{},Select:Ma,InputColor:sr,Flatpickr:ke.Z,InputRange:cr(),ReactPhoneInput:fr(),SignaturePad:Pa(),moveTo:ri,ResponseDummyMarkup:Ta,SubmitResponseMarkup:Aa,SummaryWidget:Na,DateWidget:ja}),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",ai)}))):ai(elementorFrontend.elements.$body)})).on("load",(function(){document.querySelectorAll(".mf-form-shortcode").forEach((function(e){ai(jQuery(e))}))}))}()}(); -
metform/trunk/readme.txt
r2896914 r2907471 1 1 === Metform Elementor Contact Form Builder - Flexible and Design-Friendly Contact Form builder plugin for WordPress=== 2 2 Contributors: xpeedstudio, ataurr, emranio 3 3 Tags: Form builder, contact form, Elementor contact form, contact form builder, elementor forms builder, drag and drop builder 4 4 Requires at least: 4.8 5 5 Tested up to: 6.2 6 Stable tag: 3.3. 06 Stable tag: 3.3.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 11 Metform, the contact form is an addon for elementor builder, build any kind of fast and secure contact form or email form with elementor. It can manage multiple contact forms, and you can customize the form with an elementor builder. 12 12 13 13 == Description == 14 14 15 15 16 16 MetForm, the contact form builder is an addon for Elementor, build any fast and secure contact form on the fly with its drag and drop builder. It can manage multiple contact forms, and you can customize the form with an Elementor builder. 17 17 18 18 MetForm is not only a secure contact form plugin, but also it is also a complete drag & drop form builder for Elementor. You can build any fancy contact form in Just minutes with this real-time form builder. You don’t even have to be, a programmer or developer. Because it is a perfect builder for WordPress beginners. Add as many fields as you want and after that, rearrange them according to your needs. 19 19 20 20 Apart from that, you can manually create survey forms and post-survey forms on your site with a simple drag and drop option. You don’t require any survey widget to build these eCommerce smart survey forms. As a result, you can collect customers’ survey feedback to get an idea about your buyers. 21 21 This free online survey software allows you to embed survey forms anywhere on your site and gather survey feedback. It means you can sell with survey by acquiring knowledge about your buyers. Moreover, you can discover and work for new business opportunities by using this customer survey feedback. 22 22 Also, it will save the progress of the form if the internet somehow gets disconnected. Again, your forms will be saved on google Sheets from where you can save them to google drive. 23 23 24 24 Again, you can customize survey forms as you like by adding custom survey fields and designs to your survey forms. Therefore, you can beautify survey forms that will be more appealing to your customers and encourage your customers to fill up the survey form. This customization option is also 100% user-friendly for WordPress beginners. 25 25 26 26 27 27 <iframe width="560" height="315" src="https://www.youtube.com/embed/8R4-Q14cu-w" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> 28 28 29 29 == Flexibility == 30 30 MetForm, the contact form builder gives you full flexibility to build any form on the fly with Elementor. For example, you can create a referral form to get referral feedback from your users. This makes MetForm a referral marketing solution. Also, you can collect feedback scores by manually creating a client feedback form where your customers can give scores on your products. As a result, you can find out which products or features, your customers prefer the most. Through this, you will also get an idea of users' journey which help you to unlock new services for providing a better user experience. The exciting part is that MetForm’s lite version offers all these facilities. That’s why the lite version of MetForm becomes beneficial as well. 31 31 32 32 Want to make any complex form with a lite version of a plugin? or complex style? no problem you can build any type of form with MetForm’s lite version. Like you want to use an image or video under a form and want to show the user, you can do so… use any Elementor addons inside the MetForm builder form without any restrictions. 33 33 34 34 MetForm built with Elementor. Every field is an Elementor widget that can be rearranged by dragging and dropping. Moreover, you will find lots of demos of multi-step, conditional, feedback, event, job application, booking, custom social signup, product registration, etc forms in this WordPress beginner-friendly form builder. Again, you can collect testimonials through WordPress testimonial forms. 35 35 36 36 37 37 38 38 ###USEFUL LINKS### 39 39 > **[Landing Page + Form Demo](https://products.wpmet.com/metform/)** | **[Need Support?](http://wpmet.com/support-help/)** | **[Documentation](https://wpmet.com/knowledgebase/metform/)** | **[Video Tutorials](https://www.youtube.com/watch?v=zg1QIouKO_Q&list=PL3t2OjZ6gY8NoB_48DwWKUDRtBEuBOxSc&ab_channel=Wpmet)** | [ **Buy Pro** ](https://products.wpmet.com/metform/pricing/) | **[Request a Feature](https://wpmet.com/plugin/metform/roadmaps#ideas)** 40 40 41 41 42 42 Metform allows you to create any beautiful WordPress custom contact forms, feedback forms, subscription forms, quote forms, query forms, survey forms, order forms, booking forms, testimonial forms, social signup forms or lead generation forms, inquiry forms, donation forms, campaign monitor forms and other types of forms for your site in minutes, not hours! That’s why this form building software can be called WordPress contact, quote, feedback, subscription, query, and survey form builder. Have full flexibility on your own hand by using this form-building software. 43 43 44 44 45 45 == Mobile-Friendly and Responsive == 46 46 Metform builds with elementor and it will work with elementor without any issue. and responsive can control from the elementor page builder. and Your smart order or any online form will look great on all resolutions and devices: mobile, tablet, and desktop. 47 47 48 48 Therefore, your users can easily fill up your added smart order or any other online form. Furthermore, through these online forms, you can keep records of your online leads. It will also help you to know more about your online leads. Again, you can build versatile order forms like for eCommerce business, you can build custom t-shirt order forms. You can also make changes to your added custom t-shirt order form any time you want. 49 49 50 50 51 51 == Embed anywhere == 52 52 You can metform anywhere with elementor also you can use it with any editor with built-in form shortcode. 53 53 54 54 == Manage Submissions == 55 55 Your online form submission data can be saved in admin and also sent to the user a confirmation email it will send data to form admin. 56 56 57 57 == File Upload == 58 58 Want to give users to upload files from your online form? no worry we have file upload filed with our form building software. 59 59 60 60 == Export form entries as CSV == 61 61 Want to Export form entries as CSV? Yes, you can do that too with metform elementor addon. 62 62 63 63 == Free HubSpot Integration == 64 64 Now Free HubSpot integration is also available in MetForm. It ensures flawless customer relationship management. Because of MetForm’s HubSpot integration, you can store all the data properly in the HubSpot account and get access to any data in the shortest possible time. 65 65 66 66 == Mailchimp Integration == 67 67 You can use MailChimp in your contact form so that, you can collect and send leads from WordPress to MailChimp. Also, create MailChimp signup or lead generation forms and boxes with custom style and expand your lead list. 68 68 69 69 == Features == 70 70 - **Built with Elementor:** With the most powerful Elementor form builder, create your impressive forms without any experience and professional knowledge with the easiest drag and drop feature. Most importantly, this real-time form builder is budget-friendly and time-saving. We are providing every possible functionality that you want to create a booking form or any other form with an Elementor page builder. 71 71 Sometimes, you might need to build inquiry forms to collect reporting. By using MetForm, you can get inquiry reports and bring inquiry management solutions through inquiry forms. 72 72 73 73 - **Elementor Input fields:** To create your desirable lead generation forms, We have designed a lot of Elementor widgets fields to build your form and any style you want with Text field, Email field, Number field, Date field Time field, Select field, Textarea field, Checkbox field, Radio field, Switcher field, Range slider field, URL field, Password field, Response Message, Opt-in, reCAPTCHA, Rating, File Upload, and many more. 74 74 75 75 - **User confirmation email:** A confirmation email can be sent when a user registers or enters their data to confirm their registration. Besides, you can also send emails or notices to your users after the end of the campaign. 76 76 77 77 - **Admin notification email:** Notify admin after user submission is completed or any type of customer data is processed. Therefore, you can get success order notifications from your customers after each form submission. 78 78 79 79 80 80 - **Saved entries in the admin panel:** Save all the data that users give to fill up the form and display in the admin panel. 81 81 82 82 - **Export entries as CSV:** Export multiple data from your MetForm that user entries in a single CSV file and download in a spreadsheet. 83 83 - **Export to Google Sheets:** MetForm allows you to export all your users’ personal contact, database, and message on Google sheets. Therefore, all your users’ personal databases will be saved, secured, and organized in the Google sheets. Besides, you can access this contact form database, any time you need. That’s why you can easily track users’ information with this drag and drop form builder. 84 84 85 85 86 86 - **Required Login to submit the form:** This feature of the secure contact form, will show all the required fields to fill up the form by giving a simple red star icon and providing an error message if needed. 87 87 88 88 - **Capture User Browser Data:** Displays the user’s browsers information like Web browser, Visited URL, Title, Visit Time, Visit Count, User Profile, etc. 89 89 90 90 91 91 - **Hide Form After Submission:** Able to hide your public form after the user fills all the necessary fields and hits on the submit button. 92 92 93 93 94 94 - **Limit Total Entries:** Enable limit to the number of submission entries to your MetForm and give an error message after getting crossed. 95 95 96 96 97 97 - **Redirect after successful form submission:** Simply add desired destination URL and redirect to that page after successfully submitting the form. 98 98 99 99 100 100 - **MailChimp integration:** Easily integrates MailChimp to create and manage a mailing list, automated mailing, newsletter, send leads, and many other options. 101 101 - **WordPress ZoHo CRM integration:** Manage customers’ relationships and speed up marketing and sales with the ZoHo integration of MetForm. 102 102 - **HubSpot integration:** store all the contacts inside your HubSpot account without having fear of losing them. As a result, you can easily manage your visitors’ or clients’ information. 103 103 - **FluentCRM integration:** View all the embedding web form submission data inside FluentCRM and manage them for successful email marketing and growth hacking. 104 104 - **HelpScout integration:** Build a successful bond and manage the relationship with the customers better than ever with the HelpScout form. This contact form dynamic CRM integration lets you sort all contacts without any ticket or case number. As a result, you can save a lot of time by integrating your WordPress site with HelpScout. 105 105 - **Twilio integration:** Connect with your clients, customers, or visitors via calls or messages by integrating your WordPress site with Twilio. 106 106 - **ConvertKit integration:** Successfully manage all the newsletters by integrating with ConvertKit which is built on the simplest interface. 107 107 - **ActiveCampaign integration:** Boost your conversion and sales with ActiveCampaign which MetForm allows you to do. It integrates WordPress with ActiveCampaign by adding new users' information to contact from the ActiveCampaign dashboard. Therefore, your contact list management will be super easy as ActiveCampaign keeps all the form submissions organized. 108 108 - **Aweber integration:** Simply integrate with Aweber, the email marketing service provider, and build Aweber forms that let you keep in touch with your subscribers. Besides, Aweber form let you nurture them for a bigger marketing campaign. 109 109 - **GetResponse integration:** It is another newsletter integration like others to keep your email marketing list sorted. 110 110 - **MailPoet Integration:** Connect your WordPress site with MailPoet for building your simple and easy contact us form by the easiest drag and drop feature. 111 111 112 112 113 113 114 114 - **Slack integration:** Redirect all the form data to integrate with Slack and get the customer information in a team faster. 115 115 116 116 - **Google reCAPTCHA integration:** Allow you to integrate Google reCAPTCHA to keep your site safe from unwanted spam and abusive traffic. 117 117 118 118 119 119 120 120 - **Validate required fields:** Help you to validate your form’s required field and give an error message if needed for making your form standard and way more professional. 121 121 122 122 123 123 - **Form submission via AJAX without page refreshes:** Permit you to submit your contact us simple form without loading your page via AJAX to make it more user-friendly and time-saving. Therefore, online visitors can fill up the form using AJAX without page loading. 124 124 125 125 126 126 127 127 - **Supports multiple-column layout:** Specify multiple column layouts as many as you would like to display. Simply add the column in just one click. 128 128 129 129 130 130 - **Shortcode support:** Add powerful features with a simple Shortcode without any knowledge of technical, complicated, and lengthy code. 131 131 132 132 133 133 - **Editable successful form submission message:** Gives access to edit your successful form submission message so you can personalize your own message. 134 134 135 135 - **Translation ready:** Our plugin supports multiple languages which means you can easily translate a language into your language. 136 136 - **Top-notch user support:** MetForm is enriched with docs, faqs, and blogs. You will find answers to your problems in these faqs and docs. Somehow, if you don’t get your answers and need help, our dedicated support team is always one call away. You will have the experience of the best user support from our team. 137 137 138 138 139 139 140 140 141 141 == Supported fields== 142 142 - **Form Text Input Field:** Display content, links to your form with different styles. 143 143 - **Email Input Field:** Make sure that the user enters the valid email address to your Form with an Email Input field. 144 144 145 145 - **Number Input Field:** This Input field will ensure that users enter a valid Number with numeric input. 146 146 - **Telephone Input Field:** Allow users to give their valid Telephone number to make connections with this real-time form builder. 147 147 148 148 - **Date Input Field:** Use this Input field to select Date from the drop-down calendar for your form to make it more user-friendly. 149 149 - **Time Input Field:** Helps users to pick up their preferred Time from the drop-down timer. 150 150 - **Select Input Field:** Simple drop-down function allows you to select items of your own choice. 151 151 152 152 - **Multi-Select Input Field:** Select Multiple items from the drop-down at a time. It will reduce the form abandonment rate and boost the completion rate. 153 153 154 154 - **Textarea:** Helps to add large number of content, review, and comment to your form. 155 155 156 156 - **Checkbox:** Permit users to select multiple items to your form at a time with Checkbox. 157 157 158 158 - **Radio Button:** Allow users to select only one exclusive item from the multiple options. 159 159 160 160 - **Switch Input Field:** Easily control the Yes/No or On/Off toggle Switch checkbox input just like a light switch. 161 161 - **Range Slider:** Set your max or min range value to your form by using a super cool Range slider. All you have to do is just drag both ends until your appropriate value comes. 162 162 163 163 - **URL Input Field:** Simply add URL to your form using our URL Input Field. It ensures that users input a valid URL to the form field. 164 164 165 165 - **Password Input Field:** If you want your user to give a strong password, use our Password Input Field. It makes sure that users get a protected password and can be able to change it when needed. 166 166 167 167 - **First Name (Listing):** Allow users to give their First Name to show them in a listing method on the Mailchimp list. 168 168 169 169 - **Last Name (Listing):** Allow users to give their Last Name to show them in a listing method on the Mailchimp list. 170 170 - **Opt-in (Listing):** Use the opt-in field to your form and make your user a subscribed Mailchimp contact the user by clicking the checkbox “Subscribe to our newsletter”. 171 171 172 172 - **GDPR:** Enable GDPR (General Data Protection Regulation) compliant for your form before collecting user data as it explains how you are usually using the user data to stay safe from the action of law. 173 173 174 174 - **reCAPTCHA:** Allow you to integrate Google reCAPTCHA to keep your site safe from unwanted spam and abusive traffic. 175 175 - **Simple CAPTCHA:** Protects your site from unwanted bots and spam, and enjoy with simple Flexible CAPTCHA. This amazing CAPTCHA will make your site anti-spam responsive. 176 176 - **Rating:** Helps to get customer reviews and build up a good bonding between owner and customer with this real-time online form builder. 177 177 178 178 - **File Upload:** Permits users to upload important files, images, and attachments to your form. 179 179 180 180 - **Form Summary:** Provide a summary before subscription to build up good communication with your customer. 181 181 182 182 183 183 184 184 ==Our Premium Input fileds== 185 185 - **Phone no Input Field:** Our premium Phone no Input Field permits the user to select the prefix country code Phone number from the drop-down. You can also select your position, enable or disable the level and change the Mobile number if you want. 186 186 187 187 188 188 - **Image Select Input Field:** Are you looking for a form that allows users to select Images from multiple Images? By using our premium Image Select Input Field, you can upload your image both vertically or horizontally. 189 189 - Select your Image 190 190 - Show or hide the label section 191 191 - Give title, thumbnail, and preview 192 192 - Select option value that will store/mail to the desired person 193 193 - Give option status Active/Disable If want to restrict 194 194 - Customize Label, input, PlaceHolder 195 195 196 196 - **Toggle Select Input Field:** With our most powerful Toggle Select, you can activate one section from multiple sections at a time both vertically or horizontally. If you select one section active, then another section will automatically get deactivated. 197 197 - Add/Delete section 198 198 - Show/Hide label 199 199 - Select Position, Input, label 200 200 - Give label name and change if needed 201 201 - Give option value, option status 202 202 - Customizable Label and Toggle 203 203 204 204 - **Simple Repeater Input Field:** If you want to use a group of fields several times, you don’t need to create the field again and again. Our simple Repeater has an easy solution for that. All you have to do is just click the “Add” button and the new field will appear automatically. Besides, you can rearrange fields by simply dragging and dropping which is perfect for WordPress beginners. 205 205 - Add/Delete options 206 206 - Show/Hide label 207 207 - Editable position, layout, label name 208 208 - Enable/Disable icon inside button 209 209 - Add/Remove button text and button icon 210 210 - Styleable Repeater label, Field Label, Field input and Button 211 211 212 212 - **Google Map Location Input Field:** Do you want to see the location of your user so that you can track user easily? Use our premium Google Map Location to pinpoint the exact location of your users on your form with customizable content and styles. 213 213 214 214 215 215 - **Color Picker Input Field:** Easily select any color from the drop-down color palette to design your form in an eye-catching way. You just have to click on the choosable color and the color will appear accordingly. 216 216 - Show/Hide label 217 217 - Editable position, layout, name, placeholder 218 218 - Required option toggle 219 219 - Conditional Logic 220 220 - Styles in label, input, and placeholder 221 221 - **Calculation Fields List:** Do you want to perform calculations among Form Fields to display automatically calculated values? Our premium calculation Field will help you to perform your calculations and display the results within seconds. 222 222 - Show / Hide section with simple radio button 223 223 - Select position with dropdown 224 224 - Editable level, name, placeholder, help text section 225 225 - You can use Prefix before the calculation total to secure payment processing. 226 226 227 227 - Enable or disable the required field 228 228 - Expression with operation & inputs 229 229 230 230 - **Payment Method Input Field:** Make user’s payment policy easy using payment method to your form. With our Payment Method input field, you can choose your payment gateway for your WordPress forms like Paypal and Stripe. The payment method feature of this free online form builder will help you to secure payment processing more than any other payment gateway. 231 231 232 232 - Show/Hide label 233 233 - Editable position, layout, name, placeholder 234 234 - Payment display option: Vertical/Horizontal 235 235 - Add/Delete Payment method with this free online form builder. 236 236 237 237 - Required option toggle 238 238 - Conditional Logic 239 239 - Styles in label and Image using this online form builder. 240 240 - **Signature Input Field:** Would you like to get users’ realistic signatures on your form before they hit upon the submit button? We offer you our Signature Input Field which will help you to collect realistic signatures for agreements, low-risk transactions and for other contracts. 241 241 - Show/Hide label 242 242 - Editable position, layout, name 243 243 - Display option: Vertical/Horizontal 244 244 - Required option toggle 245 245 - Conditional Logic 246 246 - Styles in Input label and toggle 247 247 - **Like-Dislike Input Field:** It’s really important to get feedback from the user for better improvement. Allow users to provide their reaction using like and dislike input fields. 248 248 Counts Like/Dislike number from user 249 249 - Easy to configure 250 250 - Editable position, layout, name 251 251 - Required option toggle 252 252 - Styles in Input label 253 253 254 254 ==Our Premium Features== 255 255 - **Multi-Step Form:** Divide your large form into multiple sections to make it more user-friendly for customers to increase the completion rate. Use our premium and fully customizable Multi-Step Form with many unique features. As a result, you can cut down long forms into multiple steps which are good for marketing and conversion optimization. It will successfully eliminate the form abandonment rate. 256 256 Drag & Drop form builder 257 257 - Add unlimited step as many as you want to shorten long-form content 258 258 259 259 - Easily understandable functionalities 260 260 - Enable or disable the Multi-Step Form to optimize long-form content 261 261 262 262 - Select your validation type by character length, by word length, or by expression-based. 263 263 - Select your position, level, help text at your choice 264 264 - Editable warning message section 265 265 - **Conditional logic:** Give your questions in category-wise. Conditional Logic allows a user to select one category and the given question will appear only for that section otherwise it will remain invisible. Here comes our most unique field “Conditional Logic”. 266 266 - Enable or Disable Conditional Logic area 267 267 - Select condition match criteria And/OR 268 268 - Select action: Show /Hide your field 269 269 [ **Conditional logic** ](https://www.youtube.com/watch?v=UDQOCwO7lhI) - [ **Conditional logic demo 1** ](https://products.wpmet.com/metform/pro-demos/conditional-form-1/) - [ **Conditional logic demo 2** ](https://products.wpmet.com/metform/pro-demos/conditional-form-2/) - [ **Conditional logic demo 3** ](https://products.wpmet.com/metform/pro-demos/conditional-form-3/) - [ **Conditional logic demo 4** ](https://products.wpmet.com/metform/pro-demos/conditional-form-4/) 270 270 271 271 - **Calculation:** Do you want to perform calculations among Form Fields to display automatically calculated values? Our premium calculation Field will help you to perform your calculations and display the results within seconds. 272 272 - Store Entries: Save and Calculate submitted form data 273 273 - Calculate the form views 274 274 [ **Calculation video** ](https://www.youtube.com/watch?v=20nsox2cZYc) - [ **Calculation demo 1** ](https://products.wpmet.com/metform/pro-demos/calculation-form-1/) - [ **Calculation demo 2** ](https://products.wpmet.com/metform/pro-demos/calculation-form-2/) 275 275 276 276 - **REST API Support:** If you want to get data in different third-party apps that users give input to fill out your form, use our most premium features Rest API Support. You can get form submission data and submission notification to Third Party API URL or Webhook by integrating our Rest API very easily. 277 277 - Enable/Disable Rest API 278 278 - Give Rest API URL/Webhook 279 279 - Select “Get” from the drop-down for requesting data from a specified URL 280 280 - Select “Post” from the drop-down for sending data from a specified URL 281 281 - **WooCommerce checkout:** It shows you the add to cart product and checkout form on a single page. Also, you can complete orders and payments without leaving the page with this new feature of MetForm. 282 282 - **Auto Populate Field:** This allows you to make additional settings for your form field. For example, you want to add a switch to your service signup form and want to show it enabled whenever someone fills up the form. You can successfully add that to your service signup form by using the Auto Populate field feature of MetForm. 283 283 284 284 285 285 - **Zapier Integration:** MetForm helps you integrate Zapier with your forms. Zapier integration in your forms allows you to connect with thousands of popular apps without any coding. 286 286 Connect with Gmail, Slack, Mailchimp, and many more. It helps to post Trello cards in WordPress. Also, Zapier integration which is a social connector allows you to connect with thousands of apps and social media. 287 287 288 288 - Clickable Enable/Disable Toggle 289 289 - Enter desired Zapier Webhook 290 290 291 291 - **Payment Method:** Get payments from your form. With our WordPress Payment Method features, you can choose your payment gateway like Paypal and Stripe. These payment methods for WordPress make the payment system super easy for beginners. 292 292 - Redirect to successful URL If passed 293 293 - Redirect to Failure/Cancel URL If failed 294 294 - Integrate Paypal with Yes/No toggle 295 295 296 296 - **Webhook**: [ **Webhook video** ](https://www.youtube.com/watch?v=2NpbK_dybWg) 297 297 298 298 299 299 **Migrations are coming soon in these forms. Contact Form 7, Caldera Forms, Ninja Forms, Gravity Forms, fluent forms, wp forms, Forminator & Formidable Form Builder, Everest Forms** 300 300 301 301 == Changelog == 302 303 Version 3.3.1 // 2023-05-03 304 Fixed: Form editor popup conflict with Elementor version update. 305 Improved: Security, nonce and authorization checking. 302 306 303 307 Version 3.3.0 // 2023-04-10 304 308 Added: Compatibility with Google Place autocomplete plugin with MetForm. 305 309 Fixed: Multi step form issue for any type of changes in Elementor. 306 310 Fixed: Recaptcha V3 form submit issue. 307 311 Fixed: File upload fatal error. 308 312 Fixed: Zapier integration email field issue. 309 313 Fixed: HubSpot list fetching and token saving issue. 310 314 Fixed: Filtering entries in dashboard. 311 315 Fixed: Simple repeater data in email. 312 316 Improved: Simple repeater field name with static name. 313 317 314 318 Version 3.2.4 // 2023-03-12 315 319 Fixed: Something went wrong message when upload file field is empty. 316 320 317 321 Version 3.2.3 // 2023-03-06 318 322 Fixed: Select field was not working in Safari browser. 319 323 Fixed: Conditional calculation issues. 320 324 Fixed: Conditional display for form fields. 321 325 Fixed: Summary widget password issue. 322 326 Fixed: Range input default value issue. 323 327 Fixed: CSV URL was not working. 324 328 Fixed: Escaping issue in signature field. 325 329 Fixed: Form submission for not logged in users condition. 326 330 Fixed: Reset after submission in when multiple form. 327 331 328 332 Version 3.2.2 // 2023-02-21 329 333 Added: New notice if permalink saved as plain to change permalink to postname. 330 334 Improved: Entry ID auto increement by one and will be serialized. 331 335 Improved: Security in google recaptcha and simple recaptcha field. 332 336 Improved: Demo templates. 333 337 Improved: GDPR consent message from on to accepted. 334 338 Fixed: Simple repeater issue. 335 339 Fixed: Redirection after submission was not working. 336 340 Fixed: All fields gone blank when recaptch was wrong. 337 341 Fixed: The compatibility issue with ElementsKit sticky option. 338 342 Fixed: Security permission issue for REST API endpoint. 339 343 Fixed: field validation message color for some fields. 340 344 Fixed: Layout compatibility issue in IOS devices. 341 345 Fixed: Hubspot integration form feilds mapping settings. 342 346 Fixed: Big commented entries breaking the design. 343 347 344 348 Version 3.2.1 // 2023-01-10 345 349 Fixed: Compatibility with Elementor 3.10.0. 346 350 347 351 Version 3.2.0 // 2023-01-08 348 352 Imrpoved: Security and sanitization. 349 353 350 354 Version 3.1.2 // 2022-12-20 351 355 Removed: Sweetalert success message. 352 356 353 357 Version 3.1.1 // 2022-12-6 354 358 Fixed: MultiStep form does't work properly issue. 355 359 356 360 Version 3.1.0 // 2022-11-17 357 361 Tweaked: CSS and JS. 358 362 Compatibility: Wordpress version 6.1 359 363 360 364 Version 3.0.1 // 2022-10-27 361 365 Fixed: Fixed php method not found. 362 366 363 367 Version 3.0.0 // 2022-10-26 364 368 Added: A new popup form creator in the admin dashboard for creating forms. 365 369 Added: New form type select field was added to create different types of forms. 366 370 Added: Filtering form template using form type select field added. 367 371 Tweaked: Save & close button design on the page. 368 372 Tweaked: HubSpot error massage. 369 373 Fixed: Multiselect default value doesn't work properly for calculation. 370 374 Fixed: Multiselect default value doesn't remove after form submission. 371 375 Fixed: Save & close button issue on the page. 372 376 Fixed: Compatibility issue with elementor flexbox container. 373 377 374 378 Version 2.2.1 // 2022-08-03 375 379 Added: Meaningful error message for SMTP setup. 376 380 Added: New control for select field. 377 381 Added: HubSpot integration. 378 382 Fixed: Entries file not showing. 379 383 Fixed: Conditional field parent section height issue. 380 384 Fixed: Select option’s double quotation issue. 381 385 Fixed: Widget Label tab conditional logic. 382 386 Tweaked: Email field validation. 383 387 Tweaked: Switch widget space issue. 384 388 Improved: Search engine form indexing issue. 385 389 386 390 Version 2.2.0 // 2022-06-21 387 391 Added: Stp and stl file support inside file-upload widget. 388 392 Added: Default alert method enabled for form submit response. 389 393 Added: Input field name validation. 390 394 Fixed: File upload bites issue. 391 395 Fixed: Multiple file upload issue. 392 396 Fixed: Payment method default value issue. 393 397 Fixed: Error message not shown after form submit. 394 398 Fixed: Type error problem. 395 399 Fixed: Summary widget error when upload a file. 396 400 Fixed: Repeater field value delete issue. 397 401 Fixed: Editor-mode console warning for page. 398 402 Fixed: Require massage issue for select widget. 399 403 Fixed: Hubspot minor issues. 400 404 Tweaked: Update hook and entries. 401 405 Tweaked: Improved file data validation. 402 406 Tweaked: Improved Auto-populate field. 403 407 404 408 Version 2.1.6 // 2022-04-21 405 409 Added: Set value from UTM. 406 410 Added: Multiple file uploading support. 407 411 Added: Select field option import from CSV local/remote. 408 412 Added: Option for hiding form sending to user after form submition. 409 413 Fixed: Calculation filed reuse issues. 410 414 Fixed: Multistep form wrapper issue with elementor latest version. 411 415 412 416 Version 2.1.5 // 2022-04-20 413 417 Fixed: Form view count was not working. 414 418 415 419 Version 2.1.4 // 2022-04-20 416 420 Fixed: Security issue. 417 421 Tweaked: CSS and JS improved 418 422 419 423 Version 2.1.3 // 2022-03-28 420 424 Added: Success message from sweetalert. 421 425 Fixed: Calculation widget issue to calculate from default value on load ( specially range slider). 422 426 Fixed: Sorting issue in csv. 423 427 Fixed: Background color issue in multi-select widget. 424 428 Fixed: Time Field issue on IOS device. 425 429 Tweaked: Change link of integration. 426 430 Tweaked: CSS and JS improved 427 431 428 432 Version 2.1.2 // 2022-01-30 429 433 Fixed: Image carousel compatibility issue with metform 430 434 Tweaked: CSS and JS improved. 431 435 432 436 Version 2.1.1 // 2022-01-22 433 437 Added: Some minor issues. 434 438 Tweaked: CSS and JS improved. 435 439 436 440 Version 2.1.0 // 2022-01-06 437 441 Added: New button added for ask for rating library 438 442 Improved: Added icon for rating 439 443 Fixed: Some spelling issue 440 444 Fixed: Checkbox Option is getting marked by default 441 445 Fixed: Checkbox not saved issue 442 446 Tweaked: CSS and JS improved 443 447 444 448 Version 2.0.1 // 2021-12-12 445 449 Added: File upload widget uppercase extension support 446 450 Fixed: Multiple checkbox default select issue 447 451 Fixed: Form hidden field issue 448 452 Tweaked: CSS and JS improved 449 453 450 454 Version 2.0.0 // 2021-11-28 451 455 Tweaked: Heavily improved core CSS and JS 452 456 Fixed: Text widget diacritic character issue 453 457 Fixed: Range Slider widget issue with Conditional logic feature 454 458 Fixed: Range Slider error on empty steps field 455 459 456 460 Version 1.6.0 // 2021-11-10 457 461 Added: Onboarding Integration 458 462 Tweaked: CSS and JS improved 459 463 Removed: Unnecessary image files 460 464 461 465 Version 1.5.6 // 2021-11-07 462 466 Fixed: Elementor Default Text Editor Preview and Frontend Encoding Problem. 463 467 Tweaked: CSS and JS improved 464 468 Compatibility: checked/fixed some compatibility issues 465 469 466 470 Version 1.5.5 // 2021-09-29 467 471 Added: Multi Select input placeholder control 468 472 Added: New control to set current date as minimum date for date widget 469 473 Fixed: Time widget placeholder does not work in mobile browsers 470 474 Fixed: reCaptcha support for Elementor Popups. 471 475 Fixed: Minor Markup Validation for Form Rendering. 472 476 Fixed: Metform Entry Filtering with Form Name 473 477 474 478 Version 1.5.4 475 479 Fixed: Date widget localization issue 476 480 Fixed: Compatibility issue with Woodmart-6.1.4 477 481 Fixed: Number widget input alignment issue 478 482 Removed: Deprecated Elementor PHP Methods from Widgets. 479 483 480 484 Version 1.5.3 481 485 Fixed: Shortcode was not working. 482 486 483 487 Version 1.5.2 484 488 Removed: Summary widget’s react library warning 485 489 Fixed : Performance issue 486 490 Tweaked: Optimize CSS and JS files 487 491 488 492 Version 1.5.1 489 493 Fixed: Multistep form minor issue 490 494 491 495 Version 1.5.0 492 496 Improved: responsive message default time 5 seconds 493 497 Fixed: Custom script tag issue 494 498 Fixed: Form and Response message opening & closing animation 495 499 Fixed: Widget style controls conflicts with conditional feature on editor mode. 496 500 Fixed: Conditionally hidden field doesn't show in Elementor editor 497 501 Fixed: Simple Captcha and reCaptcha values are removed from Summary Widget. 498 502 Fixed: multistep scroll and spacing issue 499 503 500 504 Version 1.4.10 501 505 Fixed: File Upload widget file Size Limit and File Type validation 502 506 503 507 Version 1.4.9 504 508 Fixed: Form Settings Vertical Scrolling option not showing proper value 505 509 506 510 Version 1.4.8 507 511 Fix: Ranged Slider console log error 508 512 Fix: Form Settings Style Fix 509 513 Fix: File Upload Widget size limit validation 510 514 Fix: File Upload Widget file type validation 511 515 Fix: Elementor `_register_controls` is soft deprecated 512 516 Fix: Form picker button alignment style 513 517 Removed: Unnecessary duplicate stylesheet removed 514 518 Fix: Form Picker "No forms created yet" duplicate message 515 519 New: File Uploads Info support for API/Webhook. 516 520 517 521 Version 1.4.7 518 522 Fix: Fixed Scheme Namespace debug log issue 519 523 Fix: Rest api integration form broken 520 524 Fix: Required check for character length validation. 521 525 522 526 Version 1.4.6 523 527 Fix: Date widget js minification 524 528 525 529 Version 1.4.5 526 530 added: Added pre-defined control for checkbox widget 527 531 added: Added pre-defined control for radio widget 528 532 Fix: Display position left for checkbox widget 529 533 Fix: Display position left for radio widget 530 534 fix: Opt-in widget style controls 531 535 fix: GDPR widget style controls 532 536 fix: File-upload widget input padding, position left control 533 537 534 538 Version 1.4.4 535 539 Fix: Showing response message on the screen after form submission 536 540 Fix: MailChimp multiple audience saving issue 537 541 Tweak: Changed Form widget settings on elementor 538 542 539 543 Version 1.4.3 540 544 New: Hook 'metform/after_form_load' added to triggers after form load. 541 545 Fix: Backward & Free Verson support for success message style 542 546 Fix: Calculate widget 543 547 544 548 Version 1.4.2 545 549 Fix: Backend entry fields color conflict 546 550 Fix: Multi file upload empty field error 547 551 Tweak: Backend entries File section beautify 548 552 Fix: Backend File section download button now direct downloads instead of new tab open 549 553 Fix: Multiple form ReCAPTCHA validation issue 550 554 Fix: Help text multiline error 551 555 Fix: Multiselect & Checkbox NaN value issue 552 556 Fix: Form submit - HideForm not working issue (null value) 553 557 554 558 Version 1.4.1 555 559 Fix: Few minor bug fix 556 560 Imported: Few UI improvements 557 561 558 562 Version 1.4.0 559 563 Fix: Select Widget conditional required when hidden issue 560 564 Fix: Repeater bug fix 561 565 Fix: Creating form bug 562 566 Improve: Core libraries update 563 567 Fix: Minor other bug fix. 564 568 565 569 Version 1.3.17 566 570 Fix: 'Something went wrong' problem fix 567 571 568 572 Version 1.3.16 569 573 Added: Form submission error handling 570 574 571 575 Version 1.3.15 572 576 Fix: Google Map Error 573 577 Fix: Text Input field removing leading 0 574 578 Fix: Plugin activation Error 575 579 Fix: Tabbing issue fix & jquery-ui-core added 576 580 Fix: Jargon removal 577 581 Fix: Google ReCaptcha & Select widget validation 578 582 Improve: Update notice and rating system 579 583 580 584 Version 1.3.14 581 585 Improve: Updated core libraries 582 586 583 587 Version 1.3.13 584 588 Fix: Updated Facebook Community links 585 589 586 590 Version 1.3.12 587 591 Fix: Default Value for Email input issue 588 592 Fix: Checkbox option left side label cursor fix 589 593 Fix: Rating widget star blinking issue 590 594 Fix: Select widget Option disabling issue 591 595 Fix: Summary widget shows Image (base64) values with <img> element 592 596 Added: Summary title gets label if available. getInputLabel() API. 593 597 Fix: Checkbox option text Typography issue 594 598 Added: Input Warning Text color & Typography in common-controls, Checkbox, GDPR Consent, Radio, Recaptcha, Simple Captcha 595 599 Removed: Word Length Validation on Telephone Widget & Email Widget 596 600 Fix: Text area line break properly shows on E-Mail & Entry 597 601 Fix: Metform New form Selector button position sticky 598 602 Fix: "Hubspot" spelling in multiple places 599 603 Tweak: Overall code improvements 600 604 Fix: File upload issue 601 605 Fix: Calculation field with woocommerce cart add conflict issue 602 606 Tweak: Multiple file add backend entry formattings 603 607 New: Styling Controls for Like Dislike Widget. 604 608 Fix: Active value not working in Like Dislike Widget 605 609 Fix: Line break support for Textarea Widget in Form Entry View. 606 610 607 611 Version 1.2.11 608 612 Fix : Minor bug fix 609 613 610 614 Version 1.3.10 611 615 Fix : Minor bug fix 612 616 613 617 Version 1.3.9 614 618 Fix : Rating notification bug fix 615 619 616 620 Version 1.3.8 617 621 Fix : Multiselect and checkbox multiple condition issues 618 622 Tweak: Added a control for enabling scroll to top feature for multistep form 619 623 Improve: added some css improvement on mobile widget 620 624 621 625 Version 1.3.7 622 626 Fix : Typography issue of input label of the gdpr consent field 623 627 624 628 Version 1.3.6 625 629 Fix: Banner issues 626 630 627 631 Version 1.3.5 628 632 Fix: Rating notice issues 629 633 Added: CSS optimization. 630 634 631 635 Version 1.3.4 632 636 Fix: Stripe issue 633 637 Added: Custom JS event for developer 634 638 Tweak: Improved rating system. 635 639 636 640 Version 1.3.3 637 641 Fix: WordPress latest version api issues fixed 638 642 Fix: 'file upload' widget disappear issues fixed 639 643 Fix: 'rating' widget star rating issues fixed 640 644 Fix: 'range' widget default value issues fixed 641 645 Fix: 'simple-repeater' widget is now working perfectly on multistep 642 646 Fix: subtraction issues fixed on 'calculation' widget 643 647 Fix: multistep rtl issues fixed 644 648 Tweak: Improved js file size 645 649 646 650 Version 1.3.2 647 651 Fix: ISS server plugin.php error 648 652 649 653 Version 1.3.2 650 654 Fix: number validation fixed in the back-end 651 655 Fix: recaptcha error message fixed after form submitting 652 656 Fix: 24hrs fixed on time widget 653 657 Fix: shortcode Null Coalescing Operator error fixed for old php support 654 658 655 659 Version 1.3.1 656 660 New: added 24H control on Date widget 657 661 New: added scroll to top when changing the step on multistep 658 662 Fix: prev and next step issues fixed 659 663 Fix: improved css and js 660 664 661 665 Version 1.3.0 662 666 New: Localization Option for Date Field 663 667 New: added calculation numberFormat() function 664 668 Fix: HTML Entites for File Upload 665 669 Fix: active campaign error fixed 666 670 Fix: improved calculation 667 671 fix: Multistep pressing enter to change the step fix 668 672 fix: stripe payment issue fixed 669 673 670 674 Version 1.3.0-beta6 671 675 Fix: mobile datepicker issues fixed 672 676 Fix: next and prev issues fixed on multistep 673 677 Fix: multistep tab title issue fixed 674 678 675 679 Version 1.3.0-beta5 676 680 Added: Spinner animation for Submit Button when submitting 677 681 Added: Disable state for Submit Button to prevent multiple form submission 678 682 Fix: admin settings page fixed 679 683 Fix: Submit Button causes JS error after empty form submited 680 684 Fix: Integration Settings causes JS error after updated 681 685 682 686 Version 1.3.0-beta4 683 687 New: Responsive Width control for Submit Button 684 688 Fix: form settings issues 685 689 Fix: HTML entities support for Input Label, Placeholder and Help Text 686 690 687 691 Version 1.3.0-beta3 688 692 New: Option('Stop Vertical Scrolling') added for enabling or disabling vertical scrolling when form submit 689 693 New: Form submitting failed notification added 690 694 Tweak: Improved demo proviews 691 695 Fix: Improved design on form settings 692 696 Fix: Multistep broken issues 693 697 Fix: Form inline style issues 694 698 Fix: 'Select' widget placeholder added 695 699 Fix: Fixed 'date' and 'time' disappearing issues on multistep 696 700 Fix: Form redirection issue has been fixed 697 701 Fix: 'Hide Form After Submission' issue has been fixed 698 702 699 703 Version 1.3.0-beta2 700 704 Added New pot file for translation 701 705 remove: 'Response message' widget has been removed 702 706 New: Added Response message at the top of the form by default 703 707 704 708 Version 1.3.0-beta1 705 709 New: All form widgets are supported by ReactJS 706 710 Huge optimization 707 711 ""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"" 708 712 709 713 Version v1.2.3 710 714 New: .pot file added 711 715 New: forms can be now exported & imported using elementor's json files. 712 716 Fix: Block multiple form submission 713 717 Tweak: JS improvement 714 718 Tweak: CSS Improvement 715 719 716 720 Version v1.2.2 717 721 New: Setting dashboard design 718 722 New: Added new default template preview 719 723 Tweak: added admin pro notice 720 724 Fix: Date and time widget issues fixed on iPhone 721 725 Fix: iframe error fixed 722 726 Fix: Fontawesome icon missing issues 723 727 Tweak: JS improvement 724 728 Tweak: CSS Improvement 725 729 726 730 Version 1.2.1 727 731 New: GDPR consent input field 728 732 Tweak: Email template included uploaded file 729 733 Tweak: Email template design improvement 730 734 Tweak: Validation options fixed 731 735 Fix: Date store issue 732 736 733 737 Version 1.2.0 734 738 add: Global settings page 735 739 fix: Simple captcha 736 740 add: google recaptcha v3 737 741 simple captcha and google recaptcha in different widget 738 742 fix: shortcode form submission issue 739 743 html support in checkbox and opt in text 740 744 add: form summary widget 741 745 742 746 Version 1.1.9 743 747 Added Simple captcha 744 748 Added conversion and views in entries tabs 745 749 Fixed Recaptcha version 2 issue 746 750 Improve validation 747 751 Re-arranged controls 748 752 749 753 750 754 751 755 Version 1.1.8 752 756 Fix: Updated input default color 753 757 Fix: CSS bug fixed 754 758 Fix: JS bug fixed 755 759 Fix: Added default value of some widget controls 756 760 Fix: Organized the widget controls 757 761 Fix: Improved table UI 758 762 759 763 760 764 761 765 Version: 1.1.5 762 766 3rd party plugin compatibility 763 767 Rest API Data submit improvement 764 768 765 769 Version: 1.1.4 766 770 Now users can add 3rd party API to get form data 767 771 Now date input supports time selection too 768 772 Can disable specific date, range date in date picker. 769 773 Mail template design improvement 770 774 Added utf8 support in email template 771 775 Now user can redesign the upload button 772 776 Select widget support default select from option 773 777 Added some do_action hooks to extend it’s functionality 774 778 775 779 Version: 1.1.3 776 780 Added Option to change checkbox and radio color 777 781 Added help text with style condition 778 782 779 783 Version: 1.1.2 780 784 Fixed recaptcha issue 781 785 782 786 783 787 1.1 784 788 Added telephone widget 785 789 Added widget area to edit save use from same page. 786 790 787 791 788 792 789 793 790 794 791 795 == Upgrade Notice == 792 796 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 793 797 794 798 == Installation == 795 799 796 800 797 801 798 802 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly. 799 803 2. Activate the plugin through the 'Plugins' screen in WordPress 800 804 3. All Settings will be found in Admin sidebar -> MetForm 801 805 802 806 eg. This plugin requires an elementor builder. 803 807 804 808 == Frequently Asked Questions == 805 809 806 810 807 811 =Where found the documentation?= 808 812 809 813 Check our [Documentation section here](https://help.wpmet.com/docs-cat/metform/) to understand the alpha and omega of MetForm. 810 814 811 815 But you can see this video https://www.youtube.com/watch?v=rvawKRgLC14
Note: See TracChangeset
for help on using the changeset viewer.